Quadratic equation: Difference between revisions
imported>Barry R. Smith (mentioned graph -- you learn graphing before quadratic equations) |
imported>Barry R. Smith No edit summary |
||
Line 15: | Line 15: | ||
In this article, we are assuming as above that the coefficients of the quadratic polynomial are real. Quadratic equations can occur involving many other types coefficients, and the quadratic formula, interpreted correctly, can be applied in many of these other situations as well. See the [[quadratic equation/Advanced|advanced subpage]] for information about these more general quadratic equations. | In this article, we are assuming as above that the coefficients of the quadratic polynomial are real. Quadratic equations can occur involving many other types coefficients, and the quadratic formula, interpreted correctly, can be applied in many of these other situations as well. See the [[quadratic equation/Advanced|advanced subpage]] for information about these more general quadratic equations. | ||
==Quadratic equations in applications == | |||
==The problem== | ==The problem== |
Revision as of 11:02, 4 December 2008
In mathematics, or more specifically algebra, a quadratic equation is one involving only polynomials of the second degree. Quadratic equations are a common part of mathematical solutions to real-world problems in a huge variety of situations. Fortunately, then, there exists a simple closed formula for finding the roots of such an equation, the quadratic formula.
Every polynomial equation can be put into the form:
with a, b and c real and . The quadratic formula specifies the roots of this equation as
Here, there are actually two roots being given, although the notation obscures this somewhat. One root is obtained by replacing the appearing in the formula by a + sign, and the other is obtained by replacing it with a - sign. The formula is guaranteed to work for all quadratic polynomials, but sometimes the roots will be complex numbers even when every other part of the problem deals only with real numbers. Looking at the quadratic formula, we see that the roots will be complex precisely when the discriminant is negative.
There are other less frequently used techniques for solving quadratic equations. Completing the square is just as general as the quadratic formula (in fact, it is used to derive the formula below). Otherwise, if the polynomial has no linear term, or if it is easy to factor, there are faster methods than using the quadratic formula.
In this article, we are assuming as above that the coefficients of the quadratic polynomial are real. Quadratic equations can occur involving many other types coefficients, and the quadratic formula, interpreted correctly, can be applied in many of these other situations as well. See the advanced subpage for information about these more general quadratic equations.
Quadratic equations in applications
The problem
Any real second-degree polynomial in the variable will be of the form
where , , and are real constants and is not zero (if it was, the polynomial would only be first-degree). The graph of the function a parabola, and the roots that the quadratic equation will give us are the values of at which the parabola crosses the -axis. This means that the roots of the polynomial are the particular values of for which the polynomial equals zero.
The problem that the quadratic formula solves is to find those roots.
The solution
The Fundamental Theorem of Algebra tells us that we should expect there to be two roots for a second-degree polynomial, although they might be equal in some cases, and may not be real even when the coefficients and variable are. If we call the roots and then what we are saying is that we have the quadratic equation
This is where the quadratic formula comes in. It tells us that the solutions and can always be found as
Looking at the above result, it is clear that the discriminant is of interest for two reasons. First it is the part of the solution that is either positive or negative depending on whether you are looking at the root or , so it determines whether there are two different roots or just one. Second it is under a square root, so we must wonder what happens when it is negative. This gives us three cases to look at.
Here we have two distinct real roots, since the square root of will also be real and greater than zero, meaning that we have
and
These can be seen graphically as the two red dots in Figure 1. In this case we can rewrite the polynomial in terms of its roots as
and it is easy to see that indeed if we set or then the polynomial well be equal to zero.
Now there is only one distinct root. It is still real, and is said to have a multiplicity of 2. This is because the root is given by
and the polynomial can be expressed as
This case occurs when the parabola described by the polynomial just touches the -axis at exactly one point, the red dot shown in Figure 2. Again, setting in the polynomial makes it vanish.
For negative values of the discriminant there are no real roots to the polynomial. Graphically this corresponds to the situation where the lowest point on the parabola is above the -axis (or the highest point is below it, if is negative) as shown in Figure 3. In this case the roots still exist, as guaranteed by the fundamental theorem of algebra, but they are complex so cannot be shown on the real number line.
Proof
The simplest way to show that the values are in fact roots to the polynomial above is to substitute them into the equation
as desired. Notice that this proof is valid even in the case where is less than zero.
Derivation of the quadratic formula
To derive the quadratic formula stated above, we must start with the quadratic equation
and then complete the square. We start by subtracting from both sides and then writing the left-hand side of the equation as a complete square plus a constant term,
By re-arranging this and taking either the positive or negative value of the square root we can isolate the term containing ,
Finally we divide through by the square root of and have arrived at the quadratic formula,