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.

Answered by Abby R. Maths tutor

1262 Views

See similar Maths IB tutors

Related Maths IB answers

All answers ▸

A team of four is chosen from six married couples. If a husband and wife cannot both be on the team, in how many ways can the team be formed?


Prove by induction that 7^(8n+3) + 2 is divisible by 5, where n is a natural number.


What is proof by induction and how do I employ it?


What does it take to make a 7 in HL Math?


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

© MyTutorWeb Ltd 2013–2024

Terms & Conditions|Privacy Policy