Problem:
Give all the positive whole number solutions to the equation x3−y3=602
Solution:
Here is really just a replication of my answer on math.stackexchange.com:
Note that (x−y)2=x2−2xy+y2, we can write
x3−y3=(x−y)(x2+xy+y2)=(x−y)((x−y)2+3xy)
For simplicity, let z=x−y, we have
602=z(z2+3xy)
Suppose for a moment that z is known, now we can calculate
z2+3xy=602z
3xy=602z−z2
3(x−y+y)y=602z−z2
3(z+y)y=602z−z2
3zy+3y2=602z−z2
3y2+3zy+z2−602z=0
Despite the deceiving complexity, since z is assumed to be known, we can easily find y using the quadratic formula.
Now we have 602=2×7×43, so z can only be these options
* 1
* 2
* 7
* 43
* 2×7
* 2×43
* 7×43
* 2×7×43
And the negative of these values
Out of these 16 choices, we can easily enumerate the solutions. Of course, many of these choices does not generate integer solution, just ignore them.
For example, if I choose z=2, we get 113−93=602 and also (−9)3−(−11)3=602.
Give all the positive whole number solutions to the equation x3−y3=602
Solution:
Here is really just a replication of my answer on math.stackexchange.com:
Note that (x−y)2=x2−2xy+y2, we can write
x3−y3=(x−y)(x2+xy+y2)=(x−y)((x−y)2+3xy)
For simplicity, let z=x−y, we have
602=z(z2+3xy)
Suppose for a moment that z is known, now we can calculate
z2+3xy=602z
3xy=602z−z2
3(x−y+y)y=602z−z2
3(z+y)y=602z−z2
3zy+3y2=602z−z2
3y2+3zy+z2−602z=0
Despite the deceiving complexity, since z is assumed to be known, we can easily find y using the quadratic formula.
Now we have 602=2×7×43, so z can only be these options
* 1
* 2
* 7
* 43
* 2×7
* 2×43
* 7×43
* 2×7×43
And the negative of these values
Out of these 16 choices, we can easily enumerate the solutions. Of course, many of these choices does not generate integer solution, just ignore them.
For example, if I choose z=2, we get 113−93=602 and also (−9)3−(−11)3=602.
No comments:
Post a Comment