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

In summary, to form a quadratic equation with integer roots and a, b, and c in arithmetic progression, we need b^2 - 4c to be a perfect square. The values of b and c can then be expressed as b = 1 + k and c = 1 + 2k, where k is a nonzero integer. The first value of k that satisfies this condition is k = 7, resulting in the equation x^2 + 8x + 15 = 0 with integer roots -5 and -3. While there may be infinitely many solutions for any a ≠ 0, assuming a, b, and c are integers, there is only one other solution apart from multiples of x^
  • #1
kaliprasad
Gold Member
MHB
1,335
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
  • #2
[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]
 
  • #3
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]
 
  • #4
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$
 
  • #5


One possible quadratic equation that satisfies the given conditions is $x^2 + 2x + 3 = 0$. This equation can be rewritten as $x^2 + (x+2)x + 3 = 0$, where $a=1$, $b=x+2$, and $c=3$. It is clear that $a$, $b$, and $c$ are in arithmetic progression with a common difference of 1.

To show that this equation has integer roots, we can use the quadratic formula:

$x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}$

Substituting in the values of $a$, $b$, and $c$, we get:

$x = \frac{-(x+2) \pm \sqrt{(x+2)^2 - 4(1)(3)}}{2(1)}$

$x = \frac{-x-2 \pm \sqrt{x^2+4x+4-12}}{2}$

$x = \frac{-x-2 \pm \sqrt{x^2+4x-8}}{2}$

Since we want the roots to be integers, the discriminant ($x^2+4x-8$) must be a perfect square. By trial and error, we can find that $x=-4$ and $x=2$ make the discriminant equal to $0$, which is a perfect square. This means that the roots of our equation are $x=-4$ and $x=2$, which are both integers.

Therefore, the quadratic equation $x^2 + 2x + 3 = 0$ satisfies the given conditions of having integer roots and its coefficients being in arithmetic progression.
 

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

What is a quadratic equation?

A quadratic equation is a mathematical equation in the form of ax^2 + bx + c = 0, where a, b, and c are constants and x is the variable. It is also known as a second degree polynomial equation.

How do you solve a quadratic equation?

There are several methods for solving a quadratic equation, including factoring, using the quadratic formula, and completing the square. The appropriate method to use depends on the specific equation and its coefficients.

What is the discriminant of a quadratic equation?

The discriminant of a quadratic equation is the part of the equation under the square root sign in the quadratic formula, b^2 - 4ac. It helps determine the nature of the solutions of the equation. If the discriminant is positive, there are two real solutions. If it is zero, there is one real solution. If it is negative, there are no real solutions.

Can a quadratic equation have imaginary solutions?

Yes, a quadratic equation can have imaginary solutions if the discriminant is negative. In this case, the solutions will be in the form of complex numbers, with a real and imaginary part.

In what real-life situations can quadratic equations be used?

Quadratic equations can be used to model various real-life situations, such as the path of a projectile, the shape of a parabolic antenna, or the profit and loss in business. They can also be used to solve optimization problems, such as finding the maximum or minimum value of a function.

Similar threads

Replies
6
Views
660
Replies
6
Views
2K
Replies
16
Views
4K
Replies
4
Views
2K
Replies
19
Views
2K
Replies
4
Views
1K
Back
Top