# Quadratic Equation: Sum and Product of Roots

Quadratic Equation: Sum and Product of Roots:

A general quadratic equation is given by

$$\begin{array}{l}ax^2~+~bx~+~c~=~0\end{array}$$
, where
$$\begin{array}{l}a, b\end{array}$$
and
$$\begin{array}{l}c\end{array}$$
are constants with
$$\begin{array}{l}a~â‰ ~0\end{array}$$
. The solutions or the roots of the above quadratic equation can be given by quadratic formula as :

$$\begin{array}{l}x~=~\frac{-b~Â±~\sqrt{b^2~-~4ac}}{2a}\end{array}$$

$$\begin{array}{l}\Rightarrow~x~=~-\frac{b}{2a}~Â±~\frac{\sqrt{b^2~-~4ac}}{2a}\end{array}$$

The term

$$\begin{array}{l}b^2~-~4ac\end{array}$$
is the discriminant of the equation
$$\begin{array}{l}ax^2~+~bx~+~c~=~0\end{array}$$
and is denoted by D or Î”.

$$\begin{array}{l}\Rightarrow~x~=~-\frac{b}{2a}~Â±~\frac{\sqrt{D}}{2a}\end{array}$$

If the roots of this equation are given by

$$\begin{array}{l}Î±\end{array}$$
and
$$\begin{array}{l}Î²\end{array}$$
, then there exists a relationship between the roots of quadratic equation and the coefficients
$$\begin{array}{l}a,b\end{array}$$
and
$$\begin{array}{l}c\end{array}$$
. The relationship is given as:

$$\begin{array}{l}Î±~+~Î²~=~-\frac{b}{a}\end{array}$$

$$\begin{array}{l}Î±Î²~=~\frac{c}{a}\end{array}$$

Sum of Roots

Thus, the sum of roots of a quadratic equation is given by the negative ratio of coefficient of

$$\begin{array}{l}x\end{array}$$
and
$$\begin{array}{l}x^2\end{array}$$
. The product of roots is given by ratio of the constant term and the coefficient of
$$\begin{array}{l}x^2\end{array}$$
.

Let us try to prove this graphically.

We know that the graph of a quadratic function is represented using a parabola. If Î± and Î² are the real roots of a quadratic equation, then the point of intersection of the plot of this function with x-axis represents its roots.

Let us assume that

$$\begin{array}{l}\frac{\sqrt{D}}{2a}~=~n\end{array}$$
. Roots can be also given as

$$\begin{array}{l}Î±~=~-\frac{b}{2a-n}\end{array}$$
—(1)

$$\begin{array}{l}Î²~=~-\frac{b}{2a+n}\end{array}$$
—(2)

Graphically, it can be shown as:

Adding equations (1) and (2), we get

$$\begin{array}{l}Î±~+~Î²~=~-\frac{2b}{2a}\end{array}$$

$$\begin{array}{l}â‡’Î±~+~Î²~=~-\frac{b}{a}\end{array}$$

Also,

$$\begin{array}{l}Î±~=~\frac{-b~-~\sqrt{b^2~-~4ac}}{2a}\end{array}$$

$$\begin{array}{l}Î²~=~\frac{-b~+~\sqrt{b^2~-~4ac}}{2a}\end{array}$$

Multiplying both these equations we get

$$\begin{array}{l}Î±Î²~=~\frac{-b~-~\sqrt{b^2~-~4ac}}{2a}~\times~\frac{-b~+~\sqrt{b^2~-~4ac}}{2a}\end{array}$$

$$\begin{array}{l}â‡’~Î±Î²~=\frac{(-b)^2~-~(b^2~-~4ac)}{4a^2}\end{array}$$

$$\begin{array}{l}â‡’Î±Î²~=~\frac{c}{a}\end{array}$$

Consider the general form of quadratic equation

$$\begin{array}{l}ax^2~+~bx~+~c~=~0\end{array}$$
.

Dividing both sides by

$$\begin{array}{l}â€˜aâ€™\end{array}$$
, we get,

$$\begin{array}{l}\frac{a}{a}~x^2~+~\frac{b}{a}~x~+~\frac{c}{a}~=~0\end{array}$$

$$\begin{array}{l}â‡’~x^2~+~\frac{b}{a} ~x~+\frac{c}{a}~=~0\end{array}$$

Since,

$$\begin{array}{l}Î±~+~Î²~=~-\frac{b}{a}\end{array}$$

$$\begin{array}{l}Î±Î²~=~\frac{c}{a}\end{array}$$

$$\begin{array}{l}â‡’~x^2~-~(Î±~+~Î²)~x~+~Î±Î²~=~0\end{array}$$

Thus by using roots, the equation can be obtained.

Consider the following two equations:

$$\begin{array}{l}x^2~+~2x~-~3~=~0\end{array}$$
and
$$\begin{array}{l}2x^2~+~4x~-~6~=~0\end{array}$$
.

The roots of these equations are equal i.e. 1 and -3. Graphically, these equations intersect thex-axis at the same points as shown below.

If the coefficients of two quadratic equations having same roots is given by

$$\begin{array}{l}a_1,b_1,c_1\end{array}$$
and
$$\begin{array}{l}a_2,b_2,c_2\end{array}$$
. Then, the following relation holds true

$$\begin{array}{l}\frac{a_1}{b_1}~ =~\frac{a_2}{b_2}~ =~\frac{c_1}{c_2}\end{array}$$

The relationship between roots and coefficients of an equation can be established for higher order equations too. We know that the degree specifies how many roots an equation can have. The number of roots of an equation is equal to its degree. Let us take an

$$\begin{array}{l}n^{th}\end{array}$$
order function and see how roots and coefficients are related to each other.

For a function

$$\begin{array}{l}f(x)~=~a_n x^n~+~a_{n-1}~ x^{n-1}~+â‹¯..+~a_1 x~+~a_0\end{array}$$
, if the roots are given by
$$\begin{array}{l}Î±_{n-1},Î±_{n-2}â€¦â€¦Î±_0\end{array}$$
,

then,

$$\begin{array}{l}f(x)~=~Î±_n (x~-~Î±_{n-1})(x-Î±_{n-2})â€¦â€¦â€¦(x-Î±_0)\end{array}$$

$$\begin{array}{l}â‡’a_n x^n~+~a_{n-1} x^{n-1}~+â‹¯..~+~a_1 x~+~a_0~=~Î±_n (x~-~Î±_{n-1})(x~-~Î±_{n-2})â€¦â€¦â€¦(x-Î±_0)\end{array}$$

On comparing coefficients of

$$\begin{array}{l}x^{n-1}\end{array}$$
,we get:

$$\begin{array}{l}S_1~=~Î±_{n-1}~+~Î±_{n-2}~+~â‹¯~+~Î±_0~=~âˆ‘_{i=0}^{n-1}Î±_i ~=~-\frac{a_{n-1}}{a_n}~ =~(-1)^1\end{array}$$
$$\begin{array}{l}\frac{coefficient~ of~x^{n-1}}{coefficient~ of~x^n}\end{array}$$

On comparing coefficients of

$$\begin{array}{l}x^{n-2}\end{array}$$
, we get:

$$\begin{array}{l}S_2~=~(Î±_{n-1})(Î±_{n-2})~+~(Î±_{n-2})(Î±_{n-3})~+~â‹¯~=~\sum\limits_{i~\neq~j}{Î±_iÎ±_j}~=~\frac{a_{n-2}}{a_n}~ =~(-1)^{2}\frac{coefficient~ of~x^{n-2}}{coefficient~ of~x^n}\end{array}$$

On comparing coefficients of

$$\begin{array}{l}x^{n-3}\end{array}$$
, we get:

$$\begin{array}{l}S_2~=~(Î±_{n-1})(Î±_{n-2})(Î±_{n-3})~+~(Î±_{n-2})(Î±_{n-3})(Î±_{n-4})~+~â‹¯~=~\sum\limits_{iâ‰ jâ‰ k}{Î±_i Î±_j Î±_k}\end{array}$$

=

$$\begin{array}{l}-\frac{a_{n-3}}{a_n}~ =~(-1)^3 ~\frac{coefficient~ of~x^{n-3}}{coefficient ~of~x^n}\end{array}$$

Similarly,

$$\begin{array}{l}S_n~=~(Î±_{n-1})(Î±_{n-2})(Î±_{n-3})~â€¦~Î±_0~=~(-1)^n~\frac{a_0}{a_n}~ =~(-1)^n~\frac{constant~ term}{coefficient ~of~x^n}\end{array}$$

Thus, for a quadratic equation of the form

$$\begin{array}{l}ax^2~+~bx~+~c~=~0\end{array}$$
, having roots
$$\begin{array}{l}Î±\end{array}$$
and
$$\begin{array}{l}Î²\end{array}$$
,

$$\begin{array}{l}Î±~+~Î²~=~-\frac{b}{a}\end{array}$$

$$\begin{array}{l}Î±Î²~=~\frac{c}{a}\end{array}$$

For cubic equation of the form

$$\begin{array}{l}ax^3~+~bx^2~+~cx~+~d~=~0\end{array}$$
, having roots Î±,Î² and Î³,

$$\begin{array}{l}Î±~+~Î²~+~Î³~=~-\frac{b}{a}\end{array}$$

$$\begin{array}{l}Î±Î²~+~Î²Î³~+~Î³Î±~=~\frac{c}{a}\end{array}$$

$$\begin{array}{l}Î±Î²Î³~=~-\frac{d}{a}\end{array}$$

For a fourth degree equation known as quartic equation in general form is given by:

$$\begin{array}{l}ax^4~+~bx^3~+~cx^2~+~dx~+~e~=~0\end{array}$$

If its roots are

$$\begin{array}{l}Î±,Î²,Î³\end{array}$$
and
$$\begin{array}{l}Î´\end{array}$$
then

$$\begin{array}{l}Î±~+~Î²~+~Î³~+~Î´~=~-\frac{b}{a}\end{array}$$

$$\begin{array}{l}Î±Î²~+~Î±Î³~+~Î±Î´~+~Î²Î³~+~Î³Î´~+~Î´Î²~=~\frac{c}{a}\end{array}$$

$$\begin{array}{l}Î±Î²Î³~+~Î²Î³Î´~+~Î³Î´Î±~+~Î±Î²Î´~=~-\frac{d}{a}\end{array}$$

$$\begin{array}{l}Î±Î²Î³Î´~=~\frac{e}{a}\end{array}$$

Thus, this process can be continued to find out the relationship between the roots and the coefficients of any equation of

$$\begin{array}{l}n^{th}\end{array}$$
degree. Thus, sum and product of roots can be found out easily.’