SOLUTION: Solving linear diophantine equation where c is greatly larger. (ax+by=c)
3x + 4y = 478
This seems pretty impossible to find the x and y using euclids algorithm..
Is it pos
Algebra.Com
Question 1019656: Solving linear diophantine equation where c is greatly larger. (ax+by=c)
3x + 4y = 478
This seems pretty impossible to find the x and y using euclids algorithm..
Is it possible?
Answer by mathmate(429) (Show Source): You can put this solution on YOUR website!
Question:
Solving linear diophantine equation where c is greatly larger. (ax+by=c)
3x + 4y = 478
This seems pretty impossible to find the x and y using euclids algorithm..
Is it possible?
Solution:
Since GCF(3,4)=1, and 1|478, yes, there are infinite solutions.
One possible solution by inspection is x=-478, y=478, which gives in general
x=-478+4k
y=478-3k
We see that k≥478/4=120 and k≤478/3=159 for both x and y to be non-negative.
Hence the valid values for x and y are 120≤k≤159.
For example,
k=120, x=2, y=118
k=121, x=6, y=115
k=122, x=10, y=112
...
k=159, x=158, y=1
are all solutions to the given problem.
For a more detailed explanation, see answer to problem 1019647, or
http://math.stackexchange.com/questions/20717/how-to-find-solutions-of-linear-diophantine-ax-by-c
RELATED QUESTIONS
This diophantine equation seems impossible for me..
"A dealer spent $10000 buying... (answered by robertb,mathmate)
Toni is solving this equation by completing the square.
ax^2 + bx + c = 0 (where a is... (answered by nerdybill,rothauserc,Theo)
Find a linear inequality with the following two solution sets. Each grid line represents... (answered by richwmiller)
Given an equation of a line in the Ax + By = C by solving for y, Use this information to... (answered by jim_thompson5910)
Find the slope and y-intercept of the graph of the equation Ax+By=C where B is not equal... (answered by jim_thompson5910)
My problem is Find the equation of the line that contains the point (-2,3)(4,2).
I'm... (answered by jim_thompson5910)
A Linear Equation of the form Ax+By=C, where A and B are not both zero, is in the... (answered by tutorcecilia)
I have been given this math riddle and it is worth some points, but I am confused how to... (answered by ikleyn)
I just learned that this riddle possibly counts as more than one question, so please... (answered by ikleyn)