2.2 Completing The Square
Loading...
...
Learning Objectives
- Understand the concept of completing the square
- Express quadratic expressions in the form a(x + p)² + q
- Use completing the square to solve quadratic equations
- Find the vertex of a quadratic function using completing the square
- Determine the minimum or maximum value of a quadratic function
Key Concepts
Introduction to Completing the Square
Completing the square is a technique used to rewrite a quadratic expression in the form a(x + p)² + q.
This form is particularly useful for finding the vertex of a parabola, determining minimum or maximum values, and solving quadratic equations.
The technique is based on the algebraic identity (x + p)² = x² + 2px + p².
The Process of Completing the Square
To complete the square for a quadratic expression in the form x² + bx + c:
1. Take half the coefficient of x and square it: (b/2)²
2. Add and subtract this value to maintain equality: x² + bx + (b/2)² - (b/2)² + c
3. Rewrite the first three terms as a perfect square: (x + b/2)² - (b/2)² + c
4. Simplify: (x + b/2)² + (c - (b/2)²)
Example 1
Express x² + 6x + 5 in the form (x + p)² + q.
Solution:
Step 1: Take half the coefficient of x: 6/2 = 3 Step 2: Square this value: 3² = 9 Step 3: Add and subtract this value: x² + 6x + 9 - 9 + 5 Step 4: Rewrite as a perfect square: (x + 3)² - 9 + 5 Step 5: Simplify: (x + 3)² - 4 So, x² + 6x + 5 = (x + 3)² - 4
Example 2
Express x² - 8x + 7 in the form (x + p)² + q.
Solution:
Step 1: Take half the coefficient of x: -8/2 = -4 Step 2: Square this value: (-4)² = 16 Step 3: Add and subtract this value: x² - 8x + 16 - 16 + 7 Step 4: Rewrite as a perfect square: (x - 4)² - 16 + 7 Step 5: Simplify: (x - 4)² - 9 So, x² - 8x + 7 = (x - 4)² - 9
Completing the Square for ax² + bx + c (a ≠ 1)
When the coefficient of x² is not 1, we need to factor it out first:
1. Factor out a from the first two terms: a(x² + (b/a)x) + c
2. Complete the square inside the parentheses: a((x + (b/2a))² - (b/2a)²) + c
3. Simplify: a(x + (b/2a))² - a(b/2a)² + c = a(x + (b/2a))² + (c - b²/4a)
Example 1
Express 2x² - 12x + 13 in the form a(x + p)² + q.
Solution:
Step 1: Factor out the coefficient of x²: 2(x² - 6x) + 13 Step 2: Take half the coefficient of x inside the parentheses: -6/2 = -3 Step 3: Square this value: (-3)² = 9 Step 4: Add and subtract this value inside the parentheses: 2(x² - 6x + 9 - 9) + 13 Step 5: Rewrite as a perfect square: 2((x - 3)² - 9) + 13 Step 6: Simplify: 2(x - 3)² - 18 + 13 = 2(x - 3)² - 5 So, 2x² - 12x + 13 = 2(x - 3)² - 5
Example 2
Express 3x² + 6x - 2 in the form a(x + p)² + q.
Solution:
Step 1: Factor out the coefficient of x²: 3(x² + 2x) - 2 Step 2: Take half the coefficient of x inside the parentheses: 2/2 = 1 Step 3: Square this value: 1² = 1 Step 4: Add and subtract this value inside the parentheses: 3(x² + 2x + 1 - 1) - 2 Step 5: Rewrite as a perfect square: 3((x + 1)² - 1) - 2 Step 6: Simplify: 3(x + 1)² - 3 - 2 = 3(x + 1)² - 5 So, 3x² + 6x - 2 = 3(x + 1)² - 5
Solving Quadratic Equations by Completing the Square
Completing the square can be used to solve quadratic equations:
1. Rewrite the equation in the form ax² + bx + c = 0
2. Complete the square to get a(x + p)² + q = 0
3. Solve for (x + p)² by subtracting q from both sides and dividing by a
4. Take the square root of both sides
5. Solve for x
Example 1
Solve x² + 4x - 5 = 0 by completing the square.
Solution:
Step 1: Rearrange to get x² + 4x = 5 Step 2: Take half the coefficient of x and square it: (4/2)² = 4 Step 3: Add and subtract this value: x² + 4x + 4 - 4 = 5 Step 4: Rewrite as a perfect square: (x + 2)² - 4 = 5 Step 5: Solve for (x + 2)²: (x + 2)² = 9 Step 6: Take the square root: x + 2 = ±3 Step 7: Solve for x: x = -2 ± 3 So, x = 1 or x = -5
Example 2
Solve 2x² - 4x - 3 = 0 by completing the square.
Solution:
Step 1: Rearrange to get 2x² - 4x = 3 Step 2: Factor out the coefficient of x²: 2(x² - 2x) = 3 Step 3: Take half the coefficient of x inside the parentheses: -2/2 = -1 Step 4: Square this value: (-1)² = 1 Step 5: Add and subtract this value inside the parentheses: 2(x² - 2x + 1 - 1) = 3 Step 6: Rewrite as a perfect square: 2((x - 1)² - 1) = 3 Step 7: Simplify: 2(x - 1)² - 2 = 3 Step 8: Solve for (x - 1)²: 2(x - 1)² = 5 Step 9: Divide by 2: (x - 1)² = 5/2 Step 10: Take the square root: x - 1 = ±√(5/2) Step 11: Solve for x: x = 1 ± √(5/2) So, x = 1 + √(5/2) or x = 1 - √(5/2)
Finding the Vertex of a Quadratic Function
The vertex of a quadratic function f(x) = ax² + bx + c is the point where the function reaches its minimum (if a > 0) or maximum (if a < 0) value.
By completing the square to write f(x) = a(x - h)² + k, the vertex is at the point (h, k).
Alternatively, the x-coordinate of the vertex is given by x = -b/(2a), and the y-coordinate can be found by substituting this value into the function.
Example 1
Find the vertex of the quadratic function f(x) = x² - 6x + 8.
Solution:
Step 1: Complete the square: f(x) = (x - 3)² - 1 Step 2: From this form, we can see that the vertex is at (3, -1) Alternatively, using the formula x = -b/(2a): x = -(-6)/(2(1)) = 6/2 = 3 f(3) = 3² - 6(3) + 8 = 9 - 18 + 8 = -1 So, the vertex is at (3, -1)
Example 2
Find the vertex of the quadratic function f(x) = -2x² + 8x - 7.
Solution:
Step 1: Complete the square: f(x) = -2(x - 2)² + 1 Step 2: From this form, we can see that the vertex is at (2, 1) Alternatively, using the formula x = -b/(2a): x = -(8)/(2(-2)) = -8/(-4) = 2 f(2) = -2(2)² + 8(2) - 7 = -2(4) + 16 - 7 = -8 + 16 - 7 = 1 So, the vertex is at (2, 1)
Determining Minimum and Maximum Values
When a quadratic function is written in the form f(x) = a(x - h)² + k, the value k is the minimum value of the function if a > 0, or the maximum value if a < 0.
This is because (x - h)² is always non-negative, and its minimum value is 0 when x = h.
Therefore, the minimum or maximum value of f(x) occurs at the vertex (h, k).
Example 1
Find the minimum value of f(x) = 2x² - 8x + 9.
Solution:
Step 1: Complete the square: f(x) = 2(x - 2)² + 1 Step 2: Since the coefficient of x² is positive (a = 2 > 0), the function has a minimum value. Step 3: The minimum value is the constant term in the completed square form, which is 1. So, the minimum value of f(x) is 1, occurring at x = 2.
Example 2
Find the maximum value of f(x) = -3x² + 12x - 5.
Solution:
Step 1: Complete the square: f(x) = -3(x - 2)² + 7 Step 2: Since the coefficient of x² is negative (a = -3 < 0), the function has a maximum value. Step 3: The maximum value is the constant term in the completed square form, which is 7. So, the maximum value of f(x) is 7, occurring at x = 2.
Test Your Knowledge
Ready to test your understanding of 2.2 Completing The Square?