# Quadratic Equation: Sum and Product of Roots

Quadratic Equation: Sum and Product of Roots:

A general quadratic equation is given by $$ax^2~+~bx~+~c~=~0$$, where $$a, b$$ and $$c$$ are constants with $$a~≠~0$$. The solutions or the roots of the above quadratic equation can be given by quadratic formula as :

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

$$\Rightarrow~x~=~-\frac{b}{2a}~±~\frac{\sqrt{b^2~-~4ac}}{2a}$$

The term $$b^2~-~4ac$$ is the discriminant of the equation $$ax^2~+~bx~+~c~=~0$$ and is denoted by D or Δ.

$$\Rightarrow~x~=~-\frac{b}{2a}~±~\frac{\sqrt{D}}{2a}$$

If the roots of this equation are given by $$α$$ and $$β$$, then there exists a relationship between the roots of quadratic equation and the coefficients $$a,b$$ and $$c$$. The relationship is given as:

$$α~+~β~=~-\frac{b}{a}$$

$$αβ~=~\frac{c}{a}$$

Sum of Roots

Thus, the sum of roots of a quadratic equation is given by the negative ratio of coefficient of $$x$$ and $$x^2$$. The product of roots is given by ratio of the constant term and the coefficient of $$x^2$$.

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 $$\frac{\sqrt{D}}{2a}~=~n$$. Roots can be also given as

$$α~=~-\frac{b}{2a-n}$$—(1)

$$β~=~-\frac{b}{2a+n}$$—(2)

Graphically, it can be shown as:

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

$$α~+~β~=~-\frac{2b}{2a}$$

$$⇒α~+~β~=~-\frac{b}{a}$$

Also,

$$α~=~\frac{-b~-~\sqrt{b^2~-~4ac}}{2a}$$

$$β~=~\frac{-b~+~\sqrt{b^2~-~4ac}}{2a}$$

Multiplying both these equations we get

$$αβ~=~\frac{-b~-~\sqrt{b^2~-~4ac}}{2a}~\times~\frac{-b~+~\sqrt{b^2~-~4ac}}{2a}$$

$$⇒~αβ~=\frac{(-b)^2~-~(b^2~-~4ac)}{4a^2}$$

$$⇒αβ~=~\frac{c}{a}$$

Consider the general form of quadratic equation $$ax^2~+~bx~+~c~=~0$$.

Dividing both sides by $$‘a’$$, we get,

$$\frac{a}{a}~x^2~+~\frac{b}{a}~x~+~\frac{c}{a}~=~0$$

$$⇒~x^2~+~\frac{b}{a} ~x~+\frac{c}{a}~=~0$$

Since,

$$α~+~β~=~-\frac{b}{a}$$

$$αβ~=~\frac{c}{a}$$

$$⇒~x^2~-~(α~+~β)~x~+~αβ~=~0$$

Thus by using roots, the equation can be obtained.

Consider the following two equations:

$$x^2~+~2x~-~3~=~0$$ and $$2x^2~+~4x~-~6~=~0$$.

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 $$a_1,b_1,c_1$$ and $$a_2,b_2,c_2$$. Then, the following relation holds true

$$\frac{a_1}{b_1}~ =~\frac{a_2}{b_2}~ =~\frac{c_1}{c_2}$$

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 $$n^{th}$$ order function and see how roots and coefficients are related to each other.

For a function $$f(x)~=~a_n x^n~+~a_{n-1}~ x^{n-1}~+⋯..+~a_1 x~+~a_0$$, if the roots are given by $$α_{n-1},α_{n-2}……α_0$$ ,

then, $$f(x)~=~α_n (x~-~α_{n-1})(x-α_{n-2})………(x-α_0)$$

$$⇒a_n x^n~+~a_{n-1} x^{n-1}~+⋯..~+~a_1 x~+~a_0~=~α_n (x~-~α_{n-1})(x~-~α_{n-2})………(x-α_0)$$

On comparing coefficients of $$x^{n-1}$$,we get:

$$S_1~=~α_{n-1}~+~α_{n-2}~+~⋯~+~α_0~=~∑_{i=0}^{n-1}α_i ~=~-\frac{a_{n-1}}{a_n}~ =~(-1)^1$$$$\frac{coefficient~ of~x^{n-1}}{coefficient~ of~x^n}$$

On comparing coefficients of $$x^{n-2}$$, we get:

$$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}$$

On comparing coefficients of $$x^{n-3}$$, we get:

$$S_2~=~(α_{n-1})(α_{n-2})(α_{n-3})~+~(α_{n-2})(α_{n-3})(α_{n-4})~+~⋯~=~\sum\limits_{i≠j≠k}{α_i α_j α_k}$$

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

Similarly,

$$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}$$

Thus, for a quadratic equation of the form $$ax^2~+~bx~+~c~=~0$$, having roots $$α$$ and $$β$$,

$$α~+~β~=~-\frac{b}{a}$$

$$αβ~=~\frac{c}{a}$$

For cubic equation of the form $$ax^3~+~bx^2~+~cx~+~d~=~0$$, having roots α,β and γ,

$$α~+~β~+~γ~=~-\frac{b}{a}$$

$$αβ~+~βγ~+~γα~=~\frac{c}{a}$$

$$αβγ~=~-\frac{d}{a}$$

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

$$ax^4~+~bx^3~+~cx^2~+~dx~+~e~=~0$$

If its roots are $$α,β,γ$$ and $$δ$$ then

$$α~+~β~+~γ~+~δ~=~-\frac{b}{a}$$

$$αβ~+~αγ~+~αδ~+~βγ~+~γδ~+~δβ~=~\frac{c}{a}$$

$$αβγ~+~βγδ~+~γδα~+~αβδ~=~-\frac{d}{a}$$

$$αβγδ~=~\frac{e}{a}$$

Thus, this process can be continued to find out the relationship between the roots and the coefficients of any equation of $$n^{th}$$ degree. Thus, sum and product of roots can be found out easily.’