Difference between revisions of "Quadratic formula"
Etmetalakret (talk | contribs) |
(→General Solution For A Quadratic by Completing the Square) |
||
Line 12: | Line 12: | ||
<math>x^2+\frac{b}{a}x+\frac{b^2}{4a^2}=-\frac{c}{a}+\frac{b^2}{4a^2}</math>. | <math>x^2+\frac{b}{a}x+\frac{b^2}{4a^2}=-\frac{c}{a}+\frac{b^2}{4a^2}</math>. | ||
− | Completing the square on the | + | Completing the square on the left-hand side gives |
<math>\left(x+\frac{b}{2a}\right)^2=\frac{b^2-4ac}{4a^2}</math> | <math>\left(x+\frac{b}{2a}\right)^2=\frac{b^2-4ac}{4a^2}</math> |
Revision as of 18:24, 12 December 2021
The quadratic formula is a general expression for the solutions to a quadratic equation. It is used when other methods, such as completing the square, factoring, and square root property do not work or are too tedious.
General Solution For A Quadratic by Completing the Square
Let the quadratic be in the form .
Moving to the other side, we obtain
Dividing by and adding to both sides yields
.
Completing the square on the left-hand side gives
As described above, an equation in this form can be solved, yielding
This formula is also called the quadratic formula.
Given the values we can find all real and complex solutions to the quadratic equation.
Variation
In some situations, it is preferable to use this variation of the quadratic formula: