Below, we present a problem from the 2/25 Algebra and Number Theory set, along with 3 student submitted solution. You may vote up for the solutions that you think should be featured, and should vote down for those solutions that you think are wrong.
Integrally rational How many ordered triples of positive integers with are there such that has a rational solution?
You may try the problem by clicking on the above link.
All solutions may have LaTeX edits to make the math appear properly. The exposition is presented as is, and has not been edited.
If you think that all these solutions are essentially the same, read VERY carefully. They differ in one important area. Most submitted solutions were not marked correct.
There are 2 parts to this question. The first part involves arguing that a solution occurs if and only if is a perfect square, and the second part involves actually counting the number of possibilities. Most students did not do the first part well.
Solution A - This solution didn't do the second part. If you look at his logical implications, he only showed that "If has a rational number", then " is the square of an integer". He then proceeds to state that the number of cases where is 13. This doesn't answer the original question, and merely shows that the answer is at most 13.
Solution B - This logical deductions in this solution does not hold. It is not true that " (A) To make has a rational solution", "(B) must be an integer", "(C) or must be a perfect square. In fact, all that (A) implies is " must be a rational number". We then need to show that "since is an integer, hence is a perfect square". Likewise, this does not explain why those 13 cases satisfy the original conditions.
Solution C - This statement of " one of these numbers is rational if and only if " is the only correct solution. It has an error in Case 5 as pointed out by Bob. This solution is presented by Sreejato.
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
Solution B - The solutions of ax2+bx+c are 2a−b±b2−4ac To make ax2+bx+c has a rational solution, b2−4ac must be an integer or b2−4ac must be a perfect square We divide it into 5 cases
Case 1 : b=1 b2−4ac is a perfect square 1−4ac is a perfect square Since 1≤a,b,c≤5, then 1−4ac≤1−4(1)(1)<0 Therefore, 1−4ac cannot be a perfect square
Case 2: b=2 b2−4ac is a perfect square 4−4ac is a perfect square The greatest possible value of 4−4ac is 4−4(1)(1)=0 To make 4−4ac a perfect square, 4−4ac must be equal to 0 So, a=c=1 In case 2, there is 1 triple positive integer (a,b,c)
Case 3: b=3 b2−4ac is a perfect square 9−4ac is a perfect square The greatest possible value of 9−4ac is 9−4(1)(1)=5 To make 9−4ac a perfect square, 9−4ac must be equal to 0,1, or 4 Since 9−4ac is an odd number, then 9−4ac must be 1 or ac=2 The possible values of (a,b,c) in this case are (1,3,2),(2,3,1) In case 3, there are 2 triple positive integers (a,b,c)
Case 4: b=4 b2−4ac is a perfect square 16−4ac is a perfect square The greatest possible value of 16−4ac is 16−4(1)(1)=12 To make 16−4ac a perfect square, 16−4ac must be equal to 0,1,4 or 9 Since 16−4ac is an even number, then 16−4ac must be 0 or 4 When 16−4ac=0, ac=4 The possible values of (a,b,c) are (1,4,4),(2,4,2),(4,4,1) When 16−4ac=4, ac=3 The possible values of (a,b,c) are (1,4,3),(3,4,1) In case 4, there are 2+3=5 triple positive integers (a,b,c)
Case 5: b=5 b2−4ac is a perfect square 25−4ac is a perfect square The greatest possible value of 25−4ac is 25−4(1)(1)=21 To make 25−4ac a perfect square, 25−4ac must be equal to 0,1,4,9 or 16 Since 25−4ac is an odd number, then 25−4ac must be 1 or 9 When 25−4ac=1, ac=6 The possible values of (a,b,c) are (2,5,3),(3,5,2) When 25−4ac=9, ac=4 The possible values of (a,b,c) are (1,5,4),(4,5,1),(2,5,2) In case 5, there are 2+3=5 triple positive integers (a,b,c)
Therefore, from all cases, there are 0+1+2+5+5=13 triple positive integers (a,b,c)
Remarks have been added.
Solution C - We know that the roots of ax2+bx+c are (−b+b2−4ac)/2a and (−b−b2−4ac)/2a. Now it can easily be proved that one of these numbers is rational if and only if b2−4ac=k2 for some integer k. The given problem can now be divided into 5 cases:- b=1,b=2,b=3,b=4, and b=5.
Case 1 b=1
The equation now becomes 1−4ac=k2. This obviously has no solution over the integers since 1−4ac≤1−4∗1∗1=−3<0, but the square of a real number has to be non-negative.
Case 2 b=2
The equation now becomes 4−4ac=k2 , or 4(1−ac)=k2. Since 4 is a perfect square and so is k2, 1−ac must also be a perfect square. Since 1−ac≤1 (a and c being positive integers) and k2≥0, the only possible value for 1−ac is 0, which implies ac=1. This has one solution over the integers, which is (a,c)=1. So case 2 gives one solution over the integers.
Case 3 b=3
The equation now becomes 9−4ac=k2. Since 9≡1(mod4) and 4ac≡0(mod4) so k2≡1(mod4). Also 9−4ac≤9−4∗1∗1=5. The only perfect square less than 5 and congruent to 1mod 4 is 1. So 9−4ac=1, or ac=2. This has two solutions over the integers, which are (a, c)= (1, 2) and (a, c)= (2,1). So case 3 gives two solutions over the integers.
Case 4 b=4
The equation now becomes 16−4ac=k2, or 4(4−ac)=k2. Since 4 is a perfect square and so is k2, 4−ac must also be a perfect square. This gives 2 possible values for ac:- ac=4 and ac=3. The case ac=4 has 3 solutions over the integers, and the case ac=3 has 2 solutions over the integers. So case 4 gives 5 solutions over the integers.
Case 5 b=5
The equation now becomes 25−4ac=k2. Since 25≡1(mod4) and 4ac≡1(mod4), k2≡1(mod4). Also k2<25. The only perfect squares less than 25 and congruent to 1 mod 4 are 9 and 1. The case k2=9 gives ac=4, which has 3 solutions over the integers. The case k2=1 gives ac=6, which has 4 solutions over the integers. So case 5 gives 7 solutions over the integers.
Note that no solutions will overlap from different cases since the value of b is different in different cases. So adding we get that the number of solutions is 13.
Log in to reply
Wait a second....adding the numbers from the casework gets 0+1+2+5+7=13? Last time I checked, it didn't. Either this is a typo, or it's a flaw that the author just decided to glance over. The key is that in case 5, there are only 5 solutions. If ac=6, a and c must be 2 or 3 and no other numbers; niether can be 6 by the bounds mentioned in the problem. Proofreading is a crucial step to a solid proof.
Log in to reply
That's correct, you spotted 1 mistake with this proof. Like you said, ac=6 doesn't have 4 solutions, because 1×6,6×1 is not valid.
it isnt right... the qeu asks for rational solutions and not for integral solution... so it is not necessary for b^2−4ac to be a perfect square
Log in to reply
Correct, b^2-4ac doesn't have to be a perfect square, it just needs to be the square of a rational number. However, since a, b, and c are all integers defined by the problem, b^2-4ac must also be an integer. And so if one looks for rational solutions, b^2-4ac must be a square.
Log in to reply
yup agreed.
Solution A - Assume that the equation ax2+bx+c=0 has a rational number, namely, qp ( p,q∈Z+), which means ap2+bpq+cq2=0⇔(2ap+bq)2=q2(b2−4ac) ⇒b2−4ac is a square of a rational number .Since b2−4ac∈Z , we imply that: b2−4ac is a square of a integer. In short: b2−4ac=x2 for some positive integers x. As b ranges from 1 to 5 .We can find number of triples and our desired number is 13.
Log in to reply
If I did not know how to do the problem, after reading this I would still not know how to do the problem.