MHB How to Form a Quadratic Equation with Coefficients in AP and Integer Roots?

AI Thread Summary
To form a quadratic equation with coefficients in arithmetic progression (AP) and integer roots, set \( a = 1 \) for simplicity. The coefficients \( b \) and \( c \) can be expressed as \( b = 1 + k \) and \( c = 1 + 2k \) for a nonzero integer \( k \). The condition for integer roots, \( b^2 - 4c \), simplifies to \( k^2 - 6k - 3 \) needing to be a perfect square. The first valid \( k \) is 7, leading to the equation \( x^2 + 8x + 15 = 0 \) with integer roots -5 and -3, and the coefficients 1, 8, and 15 in AP. Further exploration is needed to determine systematic ways to choose \( k \) and the existence of infinitely many solutions for \( a \neq 0 \).
kaliprasad
Gold Member
MHB
Messages
1,333
Reaction score
0
form a quadratic equation $ax^2 + bx + c = 0$ such that a,b,c are in AP and it has got integer roots
 
Mathematics news on Phys.org
[sp]
Set $a = 1$ for convenience. Then the quadratic has integer roots if and only if $b^2 - 4c$ is a perfect square. Furthermore we need $a$, $b$ and $c$ to be in arithmetic progression, so we must have $b = 1 + k$ and $c = 1 + 2k$ for some nonzero integer $k$. Thus we need $(1 + k)^2 - 4(1 + 2k) = k^2 - 6k - 3$ to be a perfect square. The first one that works is $k = 7$, since $7^2 - 6 \times 7 - 3 = 4 = 2^2$. Therefore a solution is:
$$x^2 + 8x + 15 = 0$$
Which has integer roots $-5$ and $-3$, and $1$, $8$, $15$ are in arithmetic progression.

TODO: find a systematic way to choose $k$, and prove/disprove there are infinitely many solutions for any $a \ne 0$.​
[/sp]
 
Bacterius said:
[sp]
Set $a = 1$ for convenience. Then the quadratic has integer roots if and only if $b^2 - 4c$ is a perfect square. Furthermore we need $a$, $b$ and $c$ to be in arithmetic progression, so we must have $b = 1 + k$ and $c = 1 + 2k$ for some nonzero integer $k$. Thus we need $(1 + k)^2 - 4(1 + 2k) = k^2 - 6k - 3$ to be a perfect square. The first one that works is $k = 7$, since $7^2 - 6 \times 7 - 3 = 4 = 2^2$. Therefore a solution is:
$$x^2 + 8x + 15 = 0$$
Which has integer roots $-5$ and $-3$, and $1$, $8$, $15$ are in arithmetic progression.

TODO: find a systematic way to choose $k$, and prove/disprove there are infinitely many solutions for any $a \ne 0$.​
[/sp]
[sp]In fact, assuming that $a$, $b$ and $c$ are integers there is only one other solution apart from $x^2 + 8x + 15 = 0$ or multiples of it.

If $a$ and $k$ have a common factor $d$ then $d$ will divide $a$, $b$ and $c$, and we can divide the equation $ax^2 + bx + c = 0$ by $d$ to get an equivalent version of the same equation. So we may assume that $a$ and $k$ are coprime. But the sum of the roots (which has to be an integer) is $\frac{-(a+k)}{a} = -1 -\frac ka$. If $a$ and $k$ are coprime that can only be an integer when $a=1$. So the equation becomes $x^2 + (1+k)x + (1+2k)$, with roots $\frac12\bigl( -1-k \pm\sqrt{(k+1)^2 - 4(2k+1)}\bigr).$

The expression under the square root is $k^2 - 6k - 3 = (k-3)^2 - 12$. That has to be the square of some integer $n$. If we write $k-3=m$ then $m$ and $n$ have to satisfy the condition $m^2 - 12 = n^2$. Then $m^2 - n^2 = (m+n)(m-n) = 12.$ The only factorisations of $12$ making $m$ and $n$ both integers are are $12 = (\pm6)(\pm2)$, giving $m = \pm4$ and $n = \pm2.$ If $m=4$ then $k=7$, giving the solution ground by Bacterius. If $m=-4$ then $k=-1$, giving the equation $x^2 + 0x + (-1) = 0$, or $x^2-1=0$, with solutions $x = \pm1.$[/sp]
 
my solution is same as above except the starting point

because the roots are integer say m and n then
$f(x) =l(x+m)(x+n)$

so for the case when gcd( coefficients of $x^2$, coefficients of x, constant) = 1 then coefficient of $x^2 = 1$
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...

Similar threads

Back
Top