Answers>Maths>IB>Article

How does Euclid's algorithm give solutions to equations?

Euclid's algorithm is really useful to be able to, firstly, see if two numbers are co-prime, in other words to see if they share any common factors, but also to find solutions to equations. Say we have two integers that satisfy: 32x + 24y = 16 Then we use Euclid's algorithm to first calculate the greatest common divisor (gcd) of 32 and 24. Hopefully, the method of this is ok? So we get gcd(32,24) = 8. Now, we can reverse what we did to get our solutions to the equation above. But don't forget that we had the equation equal to 16, not 8. This is often used in exams to trip up students, so look out for that.

AR

Related Maths IB answers

All answers ▸

The quadratic equation x^2 - 2kx + (k - 1) = 0 has roots α and β such that α^2 + β^2 = 4. Without solving the equation, find the possible values of the real number k.


Given the function f(x)=λx^3 + 9, for λ other than zero, find the inflection point of the graph in terms of λ. How does the slope of the line tangent to the inflection point changes as λ varies from 0 to 1?


How do radians work? Why can't we just keep working with degrees in school?


Given two functions f and g where f(x)=3x-5 and g(x)=x-2. Find: a) the inverse f^-1(x), b) given g^-1(x)=x+2, find (g^-1 o f)(x), c) given also that (f^-1 o g)(x)=(x+3)/3, solve (f^-1 o g)(x)=(g^-1 o f)(x)