Completing the square among other things

  • Thread starter scaez
  • Start date
  • Tags
    Square
In summary: You can check this out by multiplying through by a and simplifying. Doing it this way, you’ve just solved for x in terms of the other coefficients.In summary, completing the square is a method for solving quadratic equations by manipulating the equation to get a perfect square on one side, and a constant on the other. It involves factoring out the leading coefficient, adding and subtracting a term inside the parentheses, and solving for x by taking the square root. It is an important tool in algebra and can be used to solve a variety of problems involving quadratic equations.
  • #1
scaez
2
0
I need to know how to complete the square.. every website I go to about this is completely complicated.. my math teacher does it like so:
y = x^2 + 6x -7
y = x^2 + 6x + 3^2 - 9 - 7
y = (x + 3)^2 - 16

that I understand but..

if it were to say y = 2x^2 + 6x - 7

that's where I get confused because of the 2 infront of the x^2

I appreciate any help... -scaez
 
Mathematics news on Phys.org
  • #2
Factor it out.

y = 2(x^2 + 3x + 7/2)

Leave the 2 out front and complete the square of x^2 + 3x + 7/2.

cookiemonster
 
  • #3
(x+a)<sup>2</sup>= x<sup>2</sup>+ 2ax+ a<sup>2</sup>.

To complete a square such as x<sup>2</sup>+ 3x, compare with that: we must have
2ax= 3x or a= 3/2. That gives a<sup>2</sup>= 9/4. We complete the square in x<sup>2</sup>+ 3x by adding 9/4: x<sup>2</sup>+ 3x+ 9/4= (x+ 3/2)<sup>2</sup>.

I would be inclined to complete the square in 2x<sup>2</sup>+ 6x+ 7 by factoring the 2 out of the first two terms only: 2(x<sup>2</sup>+ 3x)+ 7. As before, to complete the square, add and subtract 9/4: 2(x<sup>2</sup>+ 3x+ 9/4- 9/4)+ 7/2. Since I ignored the "2", both 9/4s are inside the parentheses. I'll need to take -9/4 out of the parentheses and multiply by 2:
2x<sup>2</sup>+ 6x+ 7= 2(x<sup>2</sup>+ 3x+ 9/4- 9/4)+ 7= 2(x<sup>2</sup>+ 3x+ 9/4)- 9/2+ 7= (x+ 3/2)<sup>2</sup>+ 5/2.
 
  • #4
If yu like you can also put the factor back in the brackets:

y = 2x^2 + 3x + 7 = 2(x + 3/2)^2 + 5/4 = (sqrt(2)x + 3/sqrt(2))^2 + 5/4
 
  • #5
You start with a polynomial

ax^2 + bx + c = 0

You factor “a” out of any terms with x

[tex] a(x^2 + \frac{b}{a}x) + c = 0 [/tex]

Then you divide b/a by ½ and square it.

So [tex] (\frac{b}{2a}})^2 [/tex]

Then you add that number inside the parenthesizes and subtract it multiplied by “a” (to keep the equation balanced)

[tex] a(x^2 + \frac{b}{a} x + (\frac{b}{2a})^2 ) + c -a{\frac{b}{2a}}^2 = 0 [/tex]

For example if you wanted to do the completing the square method for [tex]2x^2 + 16x +17 = -15[/tex]

First you factor out a
[tex] 2(x^2 + 8x) +17 = -15[/tex]

then divide your b/a term by ½ and square it
(8/2)^2 = 16

add it to the inside and subtract it from the outside (multiply the outside one by “a”)

[tex] 2(x^2 +8x + 16) - 32 + 17 = -15 [/tex]

factor and simplify

[tex] 2(x+4)(x+4) = 0 [/tex]

x=-4
 
  • #6
Here's another, maybe simpler way to look at it:

Starting with the general quadratic equation: (note - I lost my superscripts in translation here - I hope this doesn't confuse you!)

ax2 + bx+ c = 0

Subtract c from both sides:

ax2 + bx = -c

Divide both sides by a (we can do this since we know a does not equal 0. If it did, we wouldn’t have a quadratic equation)

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

Now comes the part where most people get confused. But, for now we’ll just do this. I’ll explain it in a second. Divide b/a by 2, and add the square of that to the right hand side of the equation. Then, change the left hand side of the equation so that it looks like this:

(x +b/2a)2 = b2/4a2 – c/a

Ok, all this comes from examining what happens when we square a binomial:
Consider:

(a + d) = 0

Squaring both sides:

(a+d)2 = 0

Which gives us: (Use the FOIL method – First, Outer, Inner, Last)

a2 + 2ad + d2 = 0

Notice the factor of 2 in the middle term on the left. So, if we want the middle term in our original equation (x2 + (b/a)x = -c/a) to come out right, the second term in the binomial we want to square has to be b/2a; half of b/a Now also notice that if we square (x+ b/2a) we will get a final term of b2/4a2 which didn’t appear in our original equation. But that’s easily fixed – just add it to the right hand side also.

So, moving on, we can add the two fractions on the right hand side of our new equation and get:

(x + b/2a)2 = (b2 – 4ac)/2a

And you have completed the square!

Note, that if you solve this for x you get the famous general solution for the quadratic equation.
 

FAQ: Completing the square among other things

What is completing the square?

Completing the square is a mathematical technique used to solve quadratic equations by manipulating the equation to create a perfect square trinomial.

Why is completing the square useful?

Completing the square is useful because it allows us to solve quadratic equations that cannot be easily solved using other methods, such as factoring or the quadratic formula.

How do you complete the square?

To complete the square, follow these steps:
1. Move the constant term to the right side of the equation.
2. Divide the coefficient of the x^2 term by 2, square the result, and add it to both sides of the equation.
3. Factor the left side of the equation into a perfect square trinomial.
4. Take the square root of both sides of the equation.
5. Solve for x by adding or subtracting the square root of the constant term.
6. Check your answer by plugging it back into the original equation.

How do you use completing the square to solve word problems?

When solving a word problem using completing the square, first identify the quadratic equation that represents the problem. Then, follow the steps for completing the square to solve for the unknown variable.

Can completing the square be used for other types of equations?

Completing the square can only be used for quadratic equations, which have the form ax^2 + bx + c = 0. It cannot be used for equations with higher degrees or equations that do not have a variable with an exponent of 2.

Similar threads

Replies
2
Views
867
Replies
13
Views
1K
Replies
1
Views
1K
Replies
7
Views
2K
Replies
3
Views
952
Replies
24
Views
2K
Back
Top