## Completing the Square

Say we have a simple expression like x2 + bx. Having x twice in the same expression can make life hard. What can we do?

Well, with a little inspiration from Geometry we can convert it, like this:

As you can see x2 + bx can be rearranged **nearly** into a square ...

Bạn đang xem: If a^2+b^2=0, what are the possible values of a and b?

... Và we can **complete the square** with (b/2)2

In Algebra it looks lượt thích this:

So, by adding (b/2)2 we can complete the square.

The result of (x+b/2)2 has x only once, which is easier to use.

## Keeping the Balance

Now ... We can"t just **add** (b/2)2 without also **subtracting** it too! Otherwise the whole value changes.

So let"s see how to do it properly with an example:

Start with: | |

("b" is 6 in this case) | |

Complete the Square: | |

Also | |

Simplify it and we are done. | |

The result:

x2 + 6x + 7 = (x+3)2 − 2

And now x only appears once, and our job is done!

## A Shortcut Approach

Here is a quick way to lớn get an answer. You may like this method.

First think about the result we want: (x+d)2 + e

After expanding (x+d)2 we get: x2 + 2dx + d2 + e

Now see if we can turn our example into that khung to discover d and e

### Example: try to lớn fit x2 + 6x + 7 into x2 + 2dx + d2 + e

matches x^2 + (2dx) +Now we can "force" an answer:

We know that 6x must over up as 2dx, so**d**

**must be 3**Next we see that 7 must become d2 + e = 9 + e, so

**e**

**must be −2**

And we get the same result (x+3)2 − 2 as above!

Now, let us look at a useful application: solving Quadratic Equations ...

## Solving General Quadratic Equations by Completing the Square

We can complete the square lớn **solve** a Quadratic Equation (find where it is equal to lớn zero).

But a general Quadratic Equation can have a coefficient of a in front of x2:

ax2 + bx + c = 0

But that is easy to deal with ... Just divide the whole equation by "a" first, then carry on:

x2 + (b/a)x + c/a = 0

## Steps

Now we can **solve** a Quadratic Equation in 5 steps:

**Step 1**Divide all terms by

**a**(the coefficient of

**x2**).

**Step 2**Move the number term (

**c/a**) to the right side of the equation.

**Step 3**Complete the square on the left side of the equation and balance this by adding the same value to lớn the right side of the equation.

We now have something that looks lượt thích (x + p)2 = q, which can be solved rather easily:

**Step 4**Take the square root on both sides of the equation.

**Step 5**Subtract the number that remains on the left side of the equation lớn find

**x**.

## Examples

OK, some examples will help!

### Example 1: Solve x2 + 4x + 1 = 0

**Step 1** can be skipped in this example since the coefficient of x2 is 1

**Step 2** Move the number term to lớn the right side of the equation:

x2 + 4x = -1

**Step 3** Complete the square on the left side of the equation & balance this by adding the same number to lớn the right side of the equation.

(b/2)2 = (4/2)2 = 22 = 4

x2 + 4x + 4 = -1 + 4

(x + 2)2 = 3

**Step 4** Take the square root on both sides of the equation:

x + 2 = ±√3 = ±1.73 (to 2 decimals)

**Step 5** Subtract 2 from both sides:

x = ±1.73 – 2 = -3.73 or -0.27

And here is an interesting và useful thing. At the end of step 3 we had the equation: (x + 2)2 = 3 It gives us the |

### Example 2: Solve 5x2 – 4x – 2 = 0

**Step 1** Divide all terms by 5

x2 – 0.8x – 0.4 = 0

**Step 2** Move the number term khổng lồ the right side of the equation:

x2 – 0.8x = 0.4

**Step 3** Complete the square on the left side of the equation and balance this by adding the same number to the right side of the equation:

(b/2)2 = (0.8/2)2 = 0.42 = 0.16

x2 – 0.8x + 0.16 = 0.4 + 0.16

(x – 0.4)2 = 0.56

**Step 4** Take the square root on both sides of the equation:

x – 0.4 = ±√0.56 = ±0.748 (to 3 decimals)

**Step 5** Subtract (-0.4) from both sides (in other words, showroom 0.4):

x = ±0.748 + 0.4 = -0.348 or 1.148

## Why "Complete the Square"?

Why complete the square when we can just use the Quadratic Formula khổng lồ solve a Quadratic Equation?

Well, one reason is given above, where the new form not only shows us the vertex, but makes it easier to solve.

There are also times when the size **ax2 + bx + c** may be part of a **larger** question và rearranging it as **a(x+d)2 + e** makes the solution easier, because **x** only appears once.

For example "x" may itself be a function (like cos(z)) & rearranging it may xuất hiện up a path khổng lồ a better solution.

Also Completing the Square is the first step in the Derivation of the Quadratic Formula

Just think of it as another tool in your mathematics toolbox.

Xem thêm: Top 8 Bài Văn Tả Cha Mẹ Lớp 5 Ngắn Gọn Nhưng Thật Xúc Động, Tả Người Mẹ Yêu Quý Của Em (97 Mẫu)

364, 1205, 365, 2331, 2332, 3213, 3896, 3211, 3212, 1206

### Footnote: Values of "d" & "e"

How did I get the values of **d** and **e** from the đứng top of the page?

Start with | |

Divide the equation by a | |

Put c/a on other side | |

Add (b/2a)2 khổng lồ both sides | |

"Complete the Square" | |

Now bring everything back... | |

... To lớn the left side | |

... Lớn the original multiple a of x2 |

and you will notice that we have:

a(x+d)2 + e = 0

Where:d =

*b*

**2a**

and:e = c −

*b2*

**4a**

Just like at the vị trí cao nhất of the page!

Quadratic Equations Factoring Quadratics Graphing Quadratic Equations Real World Examples of Quadratic Equations Derivation of Quadratic Equation Quadratic Equation Solver Algebra Index