# User:Nfgdayton/sandbox2

## Explanation of Derivation[edit]

The section "arranged by culture" on the Wikipedia page List of numeral system topics gives a feel for the different counting systems different cultures have come up with. A little practice doing calculations with other ancient number systems like the Roman numerals will show the advantages of Hindu-Arabic numerals. Mathematics before the introduction of Hindu-Arabic numerals and our notation for variables was expressed very differently. Much of the history of math is the story of extending existing notations or creating new notations to express mathematical ideas. The history section on the Wikipedia page Quadratic equations shows that methods like the one described below were known as early as 2,000 BC, and were still being published in journals as let as 1896.

The method for completing the square started with a geometric representation, but is even more powerful for transforming equations symbolically. With practice you will find it easy to use for solving and graphing quadratic functions, but it is also necessary for transforming equations in later mathematics classes you will take.

- In this drawing we've divided area a into unit squares that are . The term groups these units into the largest square possible while the term represents the remaining units to get to a. For instance if a=40 then x=6 and b=4/6 or if a=44 then x=6 and b= 8/6.

- Divide the term in front of the
*x*in half.

- And create two strips on the side of your square.

Multiply this back out to convince yourself that this works.

4. Therefore the *completed square* form of the quadratic is:

- or, multiplying through by a,

## Example[edit]

The best way to learn to complete a square is through an example. Suppose you want to solve the following equation for x.

2x^{2} + 24x + 23 = 0 |
Does not factor easily, so we complete the square. |

x^{2} + 12x + 23/2 = 0 |
Make coefficient of x^{2} a 1, by dividing all terms by 2. |

x^{2} + 12x = - 23/2 |
Add – 23/2 to both sides. |

x^{2} + 12x + 36 = - 23/2 + 36 |
Take half of 12 (coefficient of x), and square it. Add to both sides. |

(x + 6)^{2} = 49/2 |
Factor. Now we can take square roots to easily solve this form of the equation. |

√(x + 6)^{2} = √49/√2 |
Take the square root. |

x + 6 = 7/√2 | Simplify. |

x = -6 + (7√2)/2 | Rationalize the denominator. |

## Derivation[edit]

The purpose of "completing the square" is to either factor a prime quadratic equation or to more easily graph a parabola. The procedure to follow is as follows for a quadratic equation :

1. Divide everything by *a*, so that the number in front of is a perfect square (1):

2. Now we want to focus on the term in front of the *x*. Add the quantity to both sides:

3. Now notice that on the right, the first three terms factor into a perfect square:

Multiply this back out to convince yourself that this works.

4. Therefore the *completed square* form of the quadratic is:

- or, multiplying through by a,