Prove that the only integer solution pairs to the diophantine equation x3+2x2y=2xy2+4y3+1x^3+2x^2y=2xy^2+4y^3+1x3+2x2y=2xy2+4y3+1 is (x,y)=(1,0),(1,−1) and (−3,2)(x,y)=(1,0),(1,-1)\text{ and }(-3,2)(x,y)=(1,0),(1,−1) and (−3,2).
Note by Daniel Liu 7 years ago
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
_italics_
**bold**
__bold__
- bulleted- list
1. numbered2. list
paragraph 1paragraph 2
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
This is a quote
# I indented these lines # 4 spaces, and now they show # up as a code block. print "hello world"
\(
\)
\[
\]
2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
First, rewrite
x3+2x2y=2xy2+4y3+1x^3+2x^2y=2xy^2+4y^3+1x3+2x2y=2xy2+4y3+1
as
x3+2x2y−2xy2−4y3=1x^3+2x^2y-2xy^2-4y^3=1x3+2x2y−2xy2−4y3=1.
We find that
x3+2x2y−2xy2−4y3=x2(x+2y)−2y2(x+2y)=(x2−2y2)(x+2y)x^3+2x^2y-2xy^2-4y^3=x^2(x+2y)-2y^2(x+2y)=(x^2-2y^2)(x+2y)x3+2x2y−2xy2−4y3=x2(x+2y)−2y2(x+2y)=(x2−2y2)(x+2y),
so
(x2−2y2)(x+2y)=1 (x^2-2y^2)(x+2y)=1(x2−2y2)(x+2y)=1.
We check 222 cases:
x2−2y2=1x^2-2y^2=1x2−2y2=1 and x+2y=1x+2y=1x+2y=1. From the second equation, we get x=−2y+1x=-2y+1x=−2y+1. Substituting that into the first equation gives (−2y+1)2−2y2=1⇒4y2−4y+1−2y2=1⇒2y2−4y+1=1 (-2y+1)^2-2y^2=1\Rightarrow 4y^2-4y+1-2y^2=1\Rightarrow 2y^2-4y+1=1(−2y+1)2−2y2=1⇒4y2−4y+1−2y2=1⇒2y2−4y+1=1. Subtracting 111 from both sides gives 2y2−4y=02y^2-4y=02y2−4y=0, and dividing both sides by 222 gives y2−2y=0y^2-2y=0y2−2y=0. Factoring the left side shows that y(y−2)=0y(y-2)=0y(y−2)=0, so y={2,0}y=\{2,0\}y={2,0} and x={−3,1}x=\{-3,1\}x={−3,1}. The two solution pairs that we get are (−3,2) and (1,0) (-3,2) \space\text{and}\space (1,0)(−3,2) and (1,0).
x2−2y2=−1x^2-2y^2=-1x2−2y2=−1 and x+2y=−1x+2y=-1x+2y=−1. From the second equation, we get x=−2y−1x=-2y-1x=−2y−1. Substituting that into the first equation gives (−2y−1)2−2y2=−1⇒4y2+4y+1−2y2=−1⇒2y2+4y+1=−1 (-2y-1)^2-2y^2=-1\Rightarrow 4y^2+4y+1-2y^2=-1\Rightarrow 2y^2+4y+1=-1(−2y−1)2−2y2=−1⇒4y2+4y+1−2y2=−1⇒2y2+4y+1=−1. Adding 111 to both sides gives 2y2+4y+2=02y^2+4y+2=02y2+4y+2=0, and dividing both sides by 222 gives y2+2y+1=0y^2+2y+1=0y2+2y+1=0. The left side is actually (y+1)2 (y+1)^2(y+1)2, so (y+1)2=0 (y+1)^2=0(y+1)2=0. The only solution here is y=−1y=-1y=−1 and x=1x=1x=1, and the pair that we get is (1,−1) (1,-1)(1,−1).
We do not need to consider neither if x+2y=abx+2y=\frac{a}{b}x+2y=ba (where aaa and bbb are integers and ∣a∣≠∣b∣)|a|\neq|b|)∣a∣=∣b∣) nor if x2−2y2=abx^2-2y^2=\frac{a}{b}x2−2y2=ba because both will have non-integer solution pairs (Basically, in this case, if xxx is an integer, yyy is not, and if yyy is an integer, xxx is not). Therefore, the only integer solution pairs are (1,0),(1,−1) and (−3,2)\boxed{(1,0),(1,-1)\space\text{and}\space(-3,2)}(1,0),(1,−1) and (−3,2).
Log in to reply
i loved the approach....... so you mean if I replace that "1" over there by an integer "n" then all I had to do is split it according to fundamental theorem of arithmetic and do the rest?... :)
I am not going to post a solution since that would copy Jeff's solution, but a motivation for his solution is to note that the coefficient pattern is 1:2 and 2:4 so it could be "factored". Then we see that the ratio of the terms is also the same and we try to factor. We continue by noting we have two integers multiplying to 1, consider cases, and done.
thts a nice approach.......... could you please generalize that observation and let in a more general rule for factorization :)...(need help)
@Daniel Liu , we want you as a problem writer for Proofathon. Email [email protected] if you're interested.
Good for you @Daniel Liu! :D
Problem Loading...
Note Loading...
Set Loading...
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
First, rewrite
x3+2x2y=2xy2+4y3+1
as
x3+2x2y−2xy2−4y3=1.
We find that
x3+2x2y−2xy2−4y3=x2(x+2y)−2y2(x+2y)=(x2−2y2)(x+2y),
so
(x2−2y2)(x+2y)=1.
We check 2 cases:
x2−2y2=1 and x+2y=1. From the second equation, we get x=−2y+1. Substituting that into the first equation gives (−2y+1)2−2y2=1⇒4y2−4y+1−2y2=1⇒2y2−4y+1=1. Subtracting 1 from both sides gives 2y2−4y=0, and dividing both sides by 2 gives y2−2y=0. Factoring the left side shows that y(y−2)=0, so y={2,0} and x={−3,1}. The two solution pairs that we get are (−3,2) and (1,0).
x2−2y2=−1 and x+2y=−1. From the second equation, we get x=−2y−1. Substituting that into the first equation gives (−2y−1)2−2y2=−1⇒4y2+4y+1−2y2=−1⇒2y2+4y+1=−1. Adding 1 to both sides gives 2y2+4y+2=0, and dividing both sides by 2 gives y2+2y+1=0. The left side is actually (y+1)2, so (y+1)2=0. The only solution here is y=−1 and x=1, and the pair that we get is (1,−1).
We do not need to consider neither if x+2y=ba (where a and b are integers and ∣a∣=∣b∣) nor if x2−2y2=ba because both will have non-integer solution pairs (Basically, in this case, if x is an integer, y is not, and if y is an integer, x is not). Therefore, the only integer solution pairs are (1,0),(1,−1) and (−3,2).
Log in to reply
i loved the approach....... so you mean if I replace that "1" over there by an integer "n" then all I had to do is split it according to fundamental theorem of arithmetic and do the rest?... :)
I am not going to post a solution since that would copy Jeff's solution, but a motivation for his solution is to note that the coefficient pattern is 1:2 and 2:4 so it could be "factored". Then we see that the ratio of the terms is also the same and we try to factor. We continue by noting we have two integers multiplying to 1, consider cases, and done.
Log in to reply
thts a nice approach.......... could you please generalize that observation and let in a more general rule for factorization :)...(need help)
@Daniel Liu , we want you as a problem writer for Proofathon. Email [email protected] if you're interested.
Log in to reply
Good for you @Daniel Liu! :D