Quadratic-calculator
Quadratic equation is a 2nd degree polynomial euqtion, generally represented as a x 2 + b x + c = 0, where a ≠ 0. Let's calculate the roots of the equation and nature of the roots.
a x 2 + b x + c = 0; where a ≠ 0
on divinding with 'a' on both sides we get
x 2 + x + = 0
x 2 + 2 . x + = 0
let's add and subtract to form a perfect squre with the first two terms
x 2 + 2 . x + - + = 0
using (a+b)2 = a 2 + 2.a.b. + b 2 formula
root1 = and root2 =
where D = b 2 - 4ac is called discriminant.
If D > 0 then the equationhas two distict real roots mentioned above.
If D=0 then two equal roots.
If D < 0 then roots are complex numbers
This algebraic equation has application in almost all the branches of science in one form or the other, and very basic equation.
another way of looking at the roots of the equation is as follows.
Let p and q be the roots of the equation a x 2 + b x + c = 0, where a ≠ 0.
Then sum of the roots p + q = -
and product of the roots is pq =