Quadratic formula: Difference between revisions
IntrepidMath (talk | contribs) Copied From completing the Square. |
m Formatting |
||
| (32 intermediate revisions by 17 users not shown) | |||
| Line 1: | Line 1: | ||
The '''quadratic formula''' is a general [[expression]] for the [[root (polynomial)|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. | |||
== Statement == | |||
For any quadratic equation <math>ax^2+bx+c=0</math>, the following equation holds. | |||
<cmath>x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}</cmath> | |||
=== Proof === | |||
We start with | |||
<cmath>ax^{2}+bx+c=0</cmath> | |||
<math> | Dividing by <math>a</math>, we get | ||
<cmath>x^{2}+\frac{b}{a}x+\frac{c}{a}=0</cmath> | |||
<math> | Add <math>\frac{b^{2}}{4a^{2}}</math> to both sides in order to complete the square: | ||
<cmath>\left(x^{2}+\frac{b}{a}x+\frac{b^{2}}{4a^{2}}\right)+\frac{c}{a}=\frac{b^{2}}{4a^{2}}</cmath> | |||
Complete the square: | |||
<cmath>\left(x+\frac{b}{2a}\right)^{2}+\frac{c}{a}=\frac{b^{2}}{4a^{2}}</cmath> | |||
Move <math>\frac{c}{a}</math> to the other side: | |||
<cmath>\left(x+\frac{b}{2a}\right)^{2}=\frac{b^{2}}{4a^{2}}-\frac{c}{a}=\frac{ab^{2}-4a^{2}c}{4a^{3}}=\frac{b^{2}-4ac}{4a^{2}}</cmath> | |||
Take the square root of both sides: | |||
<cmath>x+\frac{b}{2a}=\pm\sqrt{\frac{b^{2}-4ac}{4a^{2}}}=\frac{\pm\sqrt{b^{2}-4ac}}{2a}</cmath> | |||
Finally, move the <math>\frac{b}{2a}</math> to the other side: | |||
<cmath>x=-\frac{b}{2a}+\frac{\pm\sqrt{b^{2}-4ac}}{2a}=\frac{-b\pm\sqrt{b^{2}-4ac}}{2a}</cmath> | |||
This is the quadratic formula, and we are done. | |||
=== Variation === | |||
In some situations, it is preferable to use this variation of the quadratic formula: | |||
<cmath>\frac{2c}{-b\mp\sqrt{b^2-4ac}}</cmath> | |||
== See Also == | |||
* [[Quadratic equation]] | |||
[[Category:Algebra]] | |||
[[Category:Quadratic equations]] | |||
{{stub}} | |||
Latest revision as of 09:11, 2 February 2025
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.
Statement
For any quadratic equation
, the following equation holds.
Proof
We start with
Dividing by
, we get
Add
to both sides in order to complete the square:
Complete the square:
Move
to the other side:
Take the square root of both sides:
Finally, move the
to the other side:
This is the quadratic formula, and we are done.
Variation
In some situations, it is preferable to use this variation of the quadratic formula:
See Also
This article is a stub. Help us out by expanding it.