Jump to content

Solving Quadratic Equations

From Wikiversity

In this lesson we will learn to how solve the quadratic equation: for where all coefficients , and are real numbers. In addition, we suppose that is different from zero, otherwise the equation would be linear.

First, we compute the determinant . We distinguish three cases:

If the determinant is positive, then equation admits two solutions:

If the determinant is zero, then equation admits the single solution:

If the determinant is negative, there are no real value satisfying the quadratic equation.

Example:

[edit | edit source]

Solve for . The determinant is,

The equation admits therefore two solutions, namely:

The two solutions are thus and (the order is not important).

Verification

[edit | edit source]

Indeed, this can be verified substituting and in the original equation:

and

Alternative solution

[edit | edit source]

The equation can also be solved by "completing the square":

Divide by 2 so that is alone:

Subtract

We want to apply the binomial formula on the left side of the equation. If is , then is and is :

Apply the binomial formula:

Or

Let's take the square root:

Solve for

The solutions are thus and .

The previous approach can be uses to proof the general formula.