How to Complete the Square: Walkthroughs for Finding Vertex and X-Intercepts

  • Thread starter schlynn
  • Start date
  • Tags
    Square
In summary, completing the square involves taking out the leading coefficient, manipulating the quadratic expression and then solving for the vertex and intercepts. This method can be useful for finding the vertex and intercepts of any quadratic function.
  • #1
schlynn
88
0

Homework Statement


I need to know how to complete the square, I need to know how to do this to get
(this is to find the vertex of the quadratic function and the x intercept(s)
f(x)=aX2+bX+c to f(x)=a(x-h)2+k
It would be helpfull to see walkthroughs for when a=1 and when "a" does not equal 1.
questions:
-3x2+9x+(1/4)
and
x2-6x-2

Homework Equations


I don't think there's any, just that to get y set x=0 and to get x set y=0, for the intersepts that is.
h=horizontal shift in the graph
k=verticle shift in the graph

there is this shortcut too...
f(x)=a(x-h)2+k
and the vertex will be
((-b/2a),c-(b2/4a))

The Attempt at a Solution


Well, I'm learning this all out of school, and the book doesn't really explain how to do this very well, so I have no idea what do to. Could someone make walkthroughs on how to solve both of the question? This will help me tremendusly as I have been stuck on what to do now.
 
Physics news on Phys.org
  • #2
Here's a quadratic with leading coefficient one.

[tex]
g(x) = x^2 + 6x -120
[/tex]

  • Here [tex] b = 6 [/tex]. Start by calculating half it

    [tex]
    \frac b 2 = 3
    [/tex]
  • Add and immediately subtract the square of 3, as shown here. (I've grouped the terms
    together for easier reading.) This changes the look of the right-hand-side, but since 9-9=0,
    no numerical change has occurred

    [tex]
    g(x) = \left( x^2 + 6x + 3^2 \right) - 3^2 - 120
    [/tex]
  • The portion in parentheses is [tex] (x-3)^2 [/tex], so we have

    [tex]
    g(x) = (x-3)^2 - 129
    [/tex]
  • The vertex is the point [tex] (3,-129) [/tex]. The final step is to find the intercepts.
    [tex]
    \begin{align*}
    (x-3)^2 - 129 & = 0\\
    (x-3)^2 & = 129 \\
    x-3 & = \pm \sqrt{\, 129} \\
    x & = 3 \pm \sqrt{\, 120}
    \end{align*}
    [/tex]

    The intercepts are [tex] (3 \pm \sqrt{\, 129}, 0 ) [/tex].

For the second question

[tex]
h(x) = 3x^2 + 12x - 111
[/tex]

Here is the work to complete the square.

[tex]
\begin{align*}
h(x) & = 3x^2 + 12x - 111 \\
& = 3 \left(x^2 + 4x \right) - 111\\
& = 3 \left( \left(x^2 + 4x + 2^2\right) - 2^2 \right) - 111 \\
& = 3 ((x+2)^2 - 4) - 111 \\
& = 3(x+2)^2 - 12 - 111 = 3(x+2)^2 - 123
\end{align*}
[/tex]

The vertex is the point [tex] (-2, -123) [/tex]. To find the intercepts

[tex]
\begin{align*}
3(x+2)^2 - 123 & = 0\\
3(x+2)^2 & = 123\\
(x+2)^2 & = \frac{123} 3 = 41\\
x+2 & = \pm \sqrt{\, 41}\\
x & = -2 \pm \sqrt{\, 41}
\end{align*}
[/tex]

The two intercepts are [tex] (-2 \pm \sqrt{\, 41}, 0) [/tex].
 
  • #3
statdad said:
[tex]
g(x) = \left( x^2 + 6x + 3^2 \right) - 3^2 - 120
[/tex]

[*] The portion in parentheses is [tex] (x-3)^2 [/tex], so we have

[tex]
g(x) = (x-3)^2 - 129
[/tex]

[*] The vertex is the point [tex] (3,-129) [/tex].
Just a minor sign error there, Statdad.
 
  • #4
[tex] ax^2 + bx + c = a(x^2 + \frac{b}{a} + \frac{c}{a})[/tex]
[tex] ax^2 + bx + c = a((x + \frac{b}{2a})^2 +\frac{c}{a})- \left[\frac{b}{2a}\right]^2[/tex]
[tex] ax^2 + bx + c =a(x + \frac{b}{2a})^2 - \left[\frac{b}{2a}\right]^2 + c[/tex]

Vertex for any function like
[tex] (x+a)^2 + b= \left[\stackrel{-a}{ b}\right][/tex]

The reason for this is because for the function to be at its lowest value, given that the first part is squared it has to be equal to 0. The x value for this co-ordinate therefore has to be the negative of a. b is more obvious.

Intercepts

You can do this two ways (assuming that because you have completed the square therefore you cannot factorise) using the quadratic formula or an easier way, manipulating the completed square you have.

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

What if b is positive

[tex] (x+a)^2 + b = 0 [/tex]

If b is positive then there is no solution for the function = 0. This is because [tex](x+a)^2 [/tex] does not intersect the x-axis but touches it at (-a,0). Any increment to such a function will not have real roots.

You can prove this using the discriminant of the quadratic [tex]b^2 - 4ac[/tex].

Edit:

[tex]-3x^2+9x+\frac{1}{4}[/tex]

1. Take out the -3 for all the expressions
[tex] ax^2 + bx + c = a(x^2 + \frac{b}{a} + \frac{c}{a})[/tex]

2. Now complete the square within the brackets remembering that the co-efficient of x, b is now actually [tex] \frac{b}{a} [/tex] and becomes [tex]\frac{b}{2a}[/tex].
[tex] ax^2 + bx + c = a((x + \frac{b}{2a})^2 +\frac{c}{a}) - \left[\frac{b}{2a}\right]^2[/tex]

3. You can now muliply the constant out to get.
[tex] ax^2 + bx + c =a(x + \frac{b}{2a})^2 - \left[\frac{b}{2a}\right]^2 + c[/tex]


[tex]x^2-6x-2[/tex] You will be able to do now.
 
Last edited:

1. How do I find the vertex of a quadratic equation using the Completing the Square method?

The vertex of a quadratic equation can be found by following these steps:

  1. Write the equation in the form y = ax2 + bx + c.
  2. Divide both sides of the equation by a to make the coefficient of x2 equal to 1.
  3. Move the constant term (c) to the right side of the equation.
  4. Calculate (b/2)2 and add it to both sides of the equation.
  5. Factor the left side of the equation and simplify the right side.
  6. The resulting equation will be in the form y = a(x - h)2 + k, where (h, k) is the coordinates of the vertex.

2. Is Completing the Square necessary to find the x-intercepts of a quadratic equation?

No, Completing the Square is not necessary to find the x-intercepts of a quadratic equation. It is only one of the methods that can be used to find the x-intercepts. Other methods include factoring, using the quadratic formula, and graphing the equation.

3. Can Completing the Square be used for all quadratic equations?

Yes, Completing the Square can be used for all quadratic equations, regardless of the values of a, b, and c. However, it may be easier to use other methods for certain equations, such as factoring for equations with simple coefficients.

4. Can I use Completing the Square to solve for a variable other than x in a quadratic equation?

Yes, Completing the Square can be used to solve for any variable in a quadratic equation. The steps remain the same, but the variable used for x may be different.

5. Are there any tips or shortcuts for completing the square more quickly?

Yes, there are a few tips and shortcuts that can make Completing the Square easier and faster. For example:

  • If the coefficient of x2 is not equal to 1, divide both sides of the equation by it first.
  • If the constant term (c) is negative, factor out a -1 from the equation and use it in the Completing the Square process.
  • If the coefficient of x is even, divide it by 2 and use it in the Completing the Square process.

Similar threads

  • General Math
Replies
1
Views
1K
  • Precalculus Mathematics Homework Help
Replies
15
Views
11K
  • Precalculus Mathematics Homework Help
Replies
4
Views
1K
  • Precalculus Mathematics Homework Help
Replies
12
Views
3K
  • Precalculus Mathematics Homework Help
Replies
1
Views
2K
  • Precalculus Mathematics Homework Help
Replies
5
Views
2K
  • Precalculus Mathematics Homework Help
Replies
1
Views
2K
  • Precalculus Mathematics Homework Help
Replies
2
Views
3K
  • Precalculus Mathematics Homework Help
Replies
10
Views
6K
  • Precalculus Mathematics Homework Help
Replies
7
Views
4K
Back
Top