Difference between revisions of "Completing the square"
m |
(some style issues in lead) |
||
Line 1: | Line 1: | ||
− | + | The idea of '''completing the square''' is to add something to an equation to make that equation a [[perfect square]]. This makes solving a lot of equations easy. In fact, all [[quadratic equation]]s can be solved by completing the square. | |
− | The idea of completing the square is to add something to an equation to make that equation a [[perfect square]]. This makes solving a lot of equations easy. In fact, all [[quadratic equation]]s can be solved by completing the square. | ||
− | + | As an example, we have the equation <math>x^2-6x+2=0</math>. Look at the <math>x^2-6x</math> part. If 9 was added to this, then we would have a [[perfect square]], <math>(x-3)^2=x^2-6x+9</math>. To do this, add 7 to each side of the equation to get | |
− | |||
− | |||
<math>x^2-6x+9=7\Rightarrow(x-3)^2=7\Rightarrow x=3\pm\sqrt{7}</math> | <math>x^2-6x+9=7\Rightarrow(x-3)^2=7\Rightarrow x=3\pm\sqrt{7}</math> | ||
Line 45: | Line 42: | ||
===Intermediate=== | ===Intermediate=== | ||
*Find <math>3x^2 y^2</math> if <math>x</math> and <math>y</math> are [[integer]]s such that <math>y^2 + 3x^2 y^2 = 30x^2 + 517</math>. ([[1987 AIME Problems/Problem 5|Source]]) | *Find <math>3x^2 y^2</math> if <math>x</math> and <math>y</math> are [[integer]]s such that <math>y^2 + 3x^2 y^2 = 30x^2 + 517</math>. ([[1987 AIME Problems/Problem 5|Source]]) | ||
− | |||
===Olympiad=== | ===Olympiad=== | ||
[[Category:Elementary algebra]] | [[Category:Elementary algebra]] |
Revision as of 19:23, 10 March 2008
The idea of completing the square is to add something to an equation to make that equation a perfect square. This makes solving a lot of equations easy. In fact, all quadratic equations can be solved by completing the square.
As an example, we have the equation . Look at the part. If 9 was added to this, then we would have a perfect square, . To do this, add 7 to each side of the equation to get
Contents
Motivations
All quadratic equations in the form can be solved by taking the square root of and subtracting . Completing the square is a technique to manipulate every quadratic into the easily solvable form above.
General Solution For A Quadratic by Completing the Square
Let the quadratic be in the form , with ..
Subtracting from both sides of the equation, we obtain
.
Dividing by and adding to both sides yields
.
Factoring the LHS gives
As described above, an equation in this form can be solved, yielding
.
This formula is also called the quadratic formula.
Applications of Adding and Factoring
Other degrees of polynomials may be solved by adding constant terms and factoring.
Another common usage is in conic sections. The equations for conic sections typically contain a squared term such as . However, the problem may be posed as to convert from an expanded form to a factored perfect square. Completing the square is the standard method.
All kinds of exotic factoring techniques are used on the AIME, including completing the square.