# What is the general method to construct a quadratic equation given the roots.

### 1 Answer | Add Yours

A quadratic equation has two roots. Take the roots of the equation that has to be constructed as `x_1` and `x_2` . The quadratic equation is `(x - x_1)(x - x_2) = 0`

=> `x^2 - x_1*x + x_2*x + x_1*x_2 = 0`

=> `x^2 - (x_1 + x_2)*x + x_1*x_2 = 0`

**The general form of a quadratic equation with roots `x_1` and `x_2` is `x^2 - (x_1 + x_2)*x + x_1*x_2 = 0` **