Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Algebra and Number Theory Question

Comments

  • Closed Accounts Posts: 667 ✭✭✭aequinoctium


    4 divides 22972 so multiply x & y be this quotient.
    there's one answer.


  • Registered Users, Registered Users 2 Posts: 107 ✭✭seandoiler


    4 divides 22972 so multiply x & y be this quotient.
    there's one answer.

    4 = 244.29 - 272.26

    so x=-26, y=29 in part (i), as in quote, divide 22972 by gcd(244,272)=4 and multiply the x and y by this number, now this gives a particular solution to (ii) ie x_0=-149318 and y_0=166547, now to obtain a full solution, we simply extend this solution to x=-149318 + 61n, y=166547 - 68n

    in general for an equation a*x + b*y = c, the solution set is given by
    { x_0 +( (n*b) / gcd(a,b) ) , y_0 - ( (n*a) / gcd(a,b)) }, where {x_0,y_0} is a known particular solution of the equation and n is an integer


  • Closed Accounts Posts: 1,080 ✭✭✭eamoss


    Sorry when i said the 2nd bit it was talking about the 2nd bit of 1(i) how to find x & y.


  • Registered Users, Registered Users 2 Posts: 107 ✭✭seandoiler


    eamoss wrote:
    Sorry when i said the 2nd bit it was talking about the 2nd bit of 1(i) how to find x & y.

    but you have this answered already on the page you showed us....you can just work backwards from the calculation of the gcd
    4 = 20 -8*2
    = 20 - (28 -20)*2 ...using next line up
    = ... etc
    = 244*29 - 272*26

    you just seem to work it out slightly slightly differently, you start with 28 = 272 -244 and you then let 272 = a and 244 = b, so 28 = 272 -244 = a - b,
    now 20 = 244 - 28*8 = b - (a - b)*8 = 9*b - 8*a
    now 8 = 28 - 20 = (a - b) -(9*b - 8*a) = 9*a - 10*b
    now 4 = 20 - 8*2 = 9*b - 8*a - (9*a - 10*b)*2 = 29*b-26*a


  • Closed Accounts Posts: 6,081 ✭✭✭LeixlipRed


    eamoss, dunno if you're interested but I tutor for the Maths Dept in Maynooth and I'm giving grinds for the repeats. PM me if you need help


  • Advertisement
Advertisement