Quadratic equation: Difference between revisions
imported>Michael Underwood mNo edit summary |
imported>Michael Underwood No edit summary |
||
Line 1: | Line 1: | ||
{{subpages}} | {{subpages}} | ||
In [[mathematics]], or more specifically [[algebra]], the '''quadratic equation''' is a formula for finding the [[root_(mathematics)|root]]s of a second-degree [[polynomial]]. It is therefore very useful for [[factoring]]. | |||
The equation is guaranteed to work for all quadratic polynomials, but sometimes the roots will be [[complex number]]s even when every other part of the problem deals only with [[real number]]s. | |||
For those keen on jumping to the answer, the quadratic equation states that the solutions to the equation <math>ax^2+bx+c=0</math> are given by | |||
:<math>x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}\ .</math> | |||
For a more in-depth discussion of the problem, its solution, and their interpretations, read on. | |||
==The problem== | |||
Any second-degree polynomial in the variable <math>x</math> will be of the form | Any second-degree polynomial in the variable <math>x</math> will be of the form | ||
:<math>ax^2+bx+c\,</math> | :<math>ax^2+bx+c\,</math> | ||
where <math>a</math>, <math>b</math>, and <math>c</math> are | where <math>a</math>, <math>b</math>, and <math>c</math> are real constants and <math>a</math> is not zero (if it was, the polynomial | ||
would only be first-degree). | would only be first-degree). | ||
In general the constant coefficients <math>a</math>, <math>b</math>, and <math>c</math> and the variable <math>x</math> can be | In general the constant coefficients <math>a</math>, <math>b</math>, and <math>c</math> and the variable <math>x</math> can be complex, however the quadratic equation is most frequently applied and learnt in the case of real coefficients and a real variable | ||
so that is the case we will look at here. | so that is the case we will look at here. | ||
A polynomial of this form corresponds to a [[parabola]], and the roots that the quadratic equation will give us are the values of <math>x</math> at which the parabola crosses the <math>x</math>-axis. | A polynomial of this form corresponds to a [[parabola]], and the roots that the quadratic equation will give us are the values of <math>x</math> at which the parabola crosses the <math>x</math>-axis. | ||
This means that the roots of the polynomial are the particular values of <math>x</math> for which the polynomial | |||
equals zero. | |||
The problem that the quadratic equation 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 might not even be real even when the coefficients and variable are. If we call the roots <math>x_+</math> and <math>x_-</math> then what we are saying is that | although they might be equal in some cases, and might not even be real even when the coefficients and variable are. If we call the roots <math>x_+</math> and <math>x_-</math> then what we are saying is that | ||
:<math>ax_\pm^2+bx_\pm+c=0\ .</math> | :<math>ax_\pm^2+bx_\pm+c=0\ .</math> | ||
Line 21: | Line 31: | ||
This gives us three cases to look at. | This gives us three cases to look at. | ||
[[Image:parabola_two_real_roots.jpg|thumb|260px|Figure 1: A parabola with two real roots. This corresponds to a second-degree (real) polynomial with a positive discriminant.]] | [[Image:parabola_two_real_roots.jpg|thumb|260px|Figure 1: A parabola with two real roots. This corresponds to a second-degree (real) polynomial with a positive discriminant.]] | ||
[[Image:Parabola_one_real_root.jpg|thumb|260px|Figure 2: A parabola with two only one real root, but of multiplicity 2. This corresponds to a second-degree (real) polynomial with a discriminant equal to zero.]] | [[Image:Parabola_one_real_root.jpg|thumb|260px|Figure 2: A parabola with two only one real root, but of multiplicity 2. This corresponds to a second-degree (real) polynomial with a discriminant equal to zero.]] |
Revision as of 16:39, 12 October 2007
In mathematics, or more specifically algebra, the quadratic equation is a formula for finding the roots of a second-degree polynomial. It is therefore very useful for factoring. The equation 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. For those keen on jumping to the answer, the quadratic equation states that the solutions to the equation are given by
For a more in-depth discussion of the problem, its solution, and their interpretations, read on.
The problem
Any 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). In general the constant coefficients , , and and the variable can be complex, however the quadratic equation is most frequently applied and learnt in the case of real coefficients and a real variable so that is the case we will look at here. A polynomial of this form corresponds to 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 equation 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 might not even be real even when the coefficients and variable are. If we call the roots and then what we are saying is that
This is where the quadratic equation comes in. It tells us that the solutions and can always be found from the equation
Looking at the above result it is clear that the quantity (called the discriminant) is of interest, for two reasons. First it is part of the quantity that is either positive or negative depending on whether you are looking at the root or , so it is this quantity that is responsible for whether we have two different roots or not. 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
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.
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.