Difference between revisions of "Completing the square"

(Nice article, should we add an example?)
(Applications of Adding and Factoring)
Line 21: Line 21:
  
 
Another common usage is in conic sections. The equations for conic sections typically contain a squared term such as <math>(x-3)^2</math>. 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.
 
Another common usage is in conic sections. The equations for conic sections typically contain a squared term such as <math>(x-3)^2</math>. 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, and completing the square is just one. The follow solution to AIME 1987 #5 is but one.
 +
 +
===Instructive Problem: AIME 1987 #5===
 +
Problem:m, n are integers such that <math>m^2 + 3m^2n^2 = 30n^2 + 517</math>. Find <math>3m^2n^2</math>.
 +
 +
Outline Solution:
 +
We use the techinique of adding to factor.
 +
 +
Rearrange to <math>m^2 + 3m^2n^2 -30n^2= 517</math>. The key step is changing the equation to <math>m^2 + 3m^2n^2 -30n^2-10= 507</math>, where the equation factors to <math>(3n^2 + 1)(m^2 - 10) = 507 = 3*13^2</math>, from which the problem is trivial to solve by applying some simple number theory.

Revision as of 18:00, 17 June 2006

Motivations

Quadratic equations are usally hard to solve, if they do not factor. Some of them, in forms $(x+a)^2=b$, are easy to solve by taking the squareroot of b and subracting a. Completing the square is a technique to munipulate every quadratic into the easily solve-able form above.

General Solution For A Monic Quadratic

Let the quadratic be in the form $x^2+xa+b=0$.

Moving be to the other side, we obtain

$x^2+xa=-b$

Then, adding a^2/4 to each side and factoring, we get

$(x+1/2a)^2=-b+a^2/4$

Which is solvable as described above.

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 $(x-3)^2$. 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, and completing the square is just one. The follow solution to AIME 1987 #5 is but one.

Instructive Problem: AIME 1987 #5

Problem:m, n are integers such that $m^2 + 3m^2n^2 = 30n^2 + 517$. Find $3m^2n^2$.

Outline Solution: We use the techinique of adding to factor.

Rearrange to $m^2 + 3m^2n^2 -30n^2= 517$. The key step is changing the equation to $m^2 + 3m^2n^2 -30n^2-10= 507$, where the equation factors to $(3n^2 + 1)(m^2 - 10) = 507 = 3*13^2$, from which the problem is trivial to solve by applying some simple number theory.