Completing the Square

Team Maths - Examples.com
Created by: Team Maths - Examples.com, Last Updated: May 3, 2024

Completing the Square

Completing the Square is an algebraic method used to solve quadratic equations by transforming them into a perfect square trinomial. It is essential in understanding the relationship between rational and irrational numbers, as the process often reveals the nature of a quadratic equation’s roots. This technique involves manipulating integers, square and square roots to rewrite the equation in a simpler form, which aids in finding exact solutions. In statistics, it’s useful for least squares methods, providing insights into the numerical behavior of data. The method also helps in visualizing quadratic functions, revealing their minimum or maximum values.

What is Completing the Square?

Completing the Square is a method used to rewrite a quadratic equation of the form π‘Žπ‘₯Β²+𝑏π‘₯+𝑐 = 0 into a perfect square form (π‘₯βˆ’π‘)Β² = π‘ž. This transformation makes it easier to solve for the roots of the equation by isolating π‘₯. The process involves adding and subtracting a specific value derived from the coefficient of π‘₯ to create a perfect square trinomial. Once in this form, the equation can be solved by taking the square root on both sides and then isolating π‘₯.

Completing the Square Method

Completing the Square is often used to factorize quadratic equations and identify their roots or zeros, especially when traditional factorization methods fail. A quadratic equation like π‘Žπ‘₯Β²+𝑏π‘₯+𝑐=0 can sometimes be challenging to factor due to its complexity. In such cases, completing the square offers a viable solution.

Consider an example to understand this better:

If you have a quadratic equation that can’t be easily factorized, completing the square can rearrange it into a more manageable form. This approach involves rewriting π‘Žπ‘₯Β²+𝑏π‘₯+𝑐 as a perfect square trinomial, making it easier to solve for π‘₯.

Completing the Square Steps

  1. Standard Form: Start with a quadratic equation in standard form: π‘Žπ‘₯Β²+𝑏π‘₯+𝑐 = 0.
  2. Isolate π‘₯Β² and π‘₯: If π‘Ž (the coefficient of π‘₯Β²) is not 1, divide the entire equation by π‘Ža to make the coefficient of π‘₯Β² equal to 1.
  3. Move 𝑐c: Move the constant term 𝑐c to the right side of the equation.
  4. Find the Completing Term: Take half of the coefficient of π‘₯, 𝑏/2​, and then square it to get the completing term: (𝑏/2)Β².
  5. Add and Subtract the Completing Term: Add this completing term to both sides of the equation to keep the equation balanced.
  6. Form a Perfect Square: The left side of the equation can now be factored into a perfect square trinomial, (π‘₯+𝑏/2)Β², which is equal to the right side.
  7. Solve for π‘₯: Take the square root of both sides and solve for π‘₯. Remember to consider both the positive and negative square roots.
  8. Simplify the Solution: Isolate π‘₯ to find the solution(s).

How to Apply Completing the Square Method?

Here’s an example with a different quadratic equation:

Example: Complete the square for 3π‘₯Β²+12π‘₯+9

Step 1:
Factor out the coefficient of π‘₯2x2, which is 33:
3π‘₯Β²+12π‘₯+9 = 3(π‘₯Β²+4π‘₯+3)
Now, the coefficient of π‘₯Β² is 1.

Step 2:
Find half of the coefficient of π‘₯x in the factored expression.
Here, the coefficient of π‘₯ is . Half of 4 is 2.

Step 3:
Square this number to find (4/2)Β² = 4.

Step 4:
Add and subtract 4 after the π‘₯ term inside the parentheses:
3(π‘₯Β²+4π‘₯+4βˆ’4+3)

Step 5:
Factorize the perfect square trinomial formed by the first three terms:
π‘₯Β²+4π‘₯+4 = (π‘₯+2)Β²
So the expression becomes:
3((π‘₯+2)Β²βˆ’4+3)

Step 6:
Simplify the constant terms:
βˆ’4+3 = βˆ’1
So, the final expression is:
3((π‘₯+2)Β²βˆ’1) = 3(π‘₯+2)Β²βˆ’3

This completes the square for the expression 3π‘₯Β²+12π‘₯+9 as:
3(π‘₯+2)Β²βˆ’3

To summarize:

  1. Ensure the coefficient of π‘₯Β² is 1.
  2. Add and subtract (𝑏/2π‘Ž)Β² inside the parentheses.
  3. Factorize the perfect square trinomial.
  4. Simplify the expression to obtain the result.

Completing the Square Formula

The formula for completing the square simplifies the process of converting a quadratic equation into its vertex form. For a quadratic expression π‘Žπ‘₯Β²+𝑏π‘₯+𝑐, we can rewrite it using the formula π‘Ž(π‘₯+π‘š)Β²+𝑛, where π‘š and 𝑛n are calculated as π‘š = 𝑏/2π‘Žβ€‹ and 𝑛 = π‘βˆ’π‘Β²/4π‘Žβ€‹. This approach allows us to quickly identify the vertex of the parabola represented by the quadratic equation. By substituting the values of π‘šm and 𝑛n back into the formula, we transform the equation into a format that highlights the parabola’s vertex. For example, given 2π‘₯Β²+8π‘₯+5, we find π‘š = 2 and 𝑛 = βˆ’3, which results in the equivalent form 2(π‘₯+2)Β²βˆ’3. This method provides a streamlined way to manipulate quadratic expressions and understand their geometric properties.

Completing the Square Formula Examples

Example 1:

Given 3π‘₯Β²+12π‘₯+7

  1. Calculate π‘š:
    π‘š = 12/2Γ—3 = 12/6=2
  2. Calculate 𝑛:
    𝑛 = 7βˆ’12Β²/4Γ—3 = 7βˆ’144/12 = 7βˆ’12 = βˆ’5
  3. Substitute into the Formula:
    Substitute π‘š and 𝑛 into the formula:
    3π‘₯Β²+12π‘₯+7 = 3(π‘₯+2)Β²βˆ’5

Example 2:

Given βˆ’2π‘₯Β²+4π‘₯βˆ’1

  1. Calculate π‘š:
    π‘š = 4/2Γ—βˆ’2 = 4/βˆ’4 = βˆ’1
  2. Calculate 𝑛
    𝑛 = βˆ’1βˆ’4Β²/4Γ—βˆ’2 = βˆ’1βˆ’16/βˆ’8 = βˆ’1+2 = 1
  3. Substitute into the Formula:
    Substitute π‘šm and 𝑛 into the formula:
    βˆ’2π‘₯Β²+4π‘₯βˆ’1 = βˆ’2(π‘₯βˆ’1)Β²+1

Derivation of Completing the Square Formula

To complete the square in the expression π‘Žπ‘₯Β²+𝑏π‘₯+𝑐a, we follow these steps:

  • Normalize the Coefficient of π‘₯2:
    Factor out π‘Ža to make the coefficient of π‘₯Β² equal to 1:
    π‘Žπ‘₯Β²+𝑏π‘₯+𝑐 = π‘Ž[π‘₯Β²+π‘π‘Žπ‘₯+π‘π‘Ž]
  • Analyze the First Two Terms:
    Consider the terms π‘₯Β² and (𝑏/π‘Ž)π‘₯. The term π‘₯Β² represents the area of a square with side length π‘₯. The term (𝑏/π‘Ž)π‘₯ represents the area of a rectangle with length 𝑏/π‘Žβ€‹ and breadth π‘₯.
  • Visualize the Problem Geometrically:
    Draw a square with side length π‘₯, giving it an area of π‘₯Β². Then, add a rectangle next to it with length π‘π‘Žab​ and breadth π‘₯, forming a new composite shape.
  • Adjust the Rectangle into Two Identical Parts:
    The rectangle’s length 𝑏/π‘Žβ€‹ can be split into two halves of 𝑏/2π‘Žβ€‹ each. Attach these halves on either side of the original square to create a new shape.
  • Create a New Larger Square:
    To complete the larger square, we need to fill in the missing square in the corner. The missing square’s side length is 𝑏/2π‘Žβ€‹, and its area is (𝑏/2π‘Ž)Β² = 𝑏²/4π‘ŽΒ²β€‹.
  • Add and Subtract the Missing Area:
    Add and subtract the missing area inside the factored expression: π‘Ž[π‘₯2+(𝑏/π‘Ž)π‘₯+𝑏²/4π‘ŽΒ²βˆ’π‘Β²/4π‘ŽΒ²+𝑐/π‘Ž]​
  • Factor the Perfect Square Trinomial:
    The first three terms form a perfect square trinomial: π‘Ž[(π‘₯+𝑏/2π‘Ž)Β²βˆ’π‘Β²/4π‘ŽΒ²+𝑐/π‘Ž]
  • Simplify the Expression:
    Simplify the expression further: π‘Žπ‘₯Β²+𝑏π‘₯+𝑐 = π‘Ž(π‘₯+𝑏/2π‘Ž)Β²+π‘Ž(𝑐/π‘Žβˆ’π‘Β²/4π‘ŽΒ²)
Square-Formula
Square-Formula-1
Square-Formula-2

To complete the square for a quadratic expression like π‘Žπ‘₯Β²+𝑏π‘₯+𝑐, the first step is to factor out π‘Ža to normalize the coefficient of π‘₯Β² to 1. This transforms the equation into π‘Ž[π‘₯Β²+π‘π‘Žπ‘₯+π‘π‘Ž]. Focusing on the first two terms, π‘₯Β² and (𝑏/π‘Ž)π‘₯, we then calculate half the coefficient of π‘₯, which is 𝑏/2π‘Žβ€‹. Squaring this value yields 𝑏²/4π‘ŽΒ²β€‹. We add and subtract this square inside the expression, creating a perfect square trinomial. The equation now looks like π‘₯Β²+(𝑏/π‘Ž)π‘₯ = (π‘₯+𝑏/2π‘Ž)Β²βˆ’π‘Β²4π‘ŽΒ²β€‹. By substituting this back into the original equation, we obtain π‘Žπ‘₯Β²+𝑏π‘₯+𝑐 = π‘Ž[(π‘₯+𝑏/2π‘Ž)Β²βˆ’π‘Β²4π‘ŽΒ²]+𝑐. Expanding this and simplifying gives the quadratic equation in completed square form: π‘Ž(π‘₯+𝑏/2π‘Ž)Β²+(π‘βˆ’π‘Β²/4π‘Ž). This transformation provides an easy way to see the vertex of the parabola described by the quadratic equation and simplifies further calculations.

Trick to Learn Completing the Square Method

  • Normalize the Quadratic Coefficient:
    If the coefficient of π‘₯Β² isn’t 1, factor it out of the first two terms to ensure the quadratic coefficient is 1.
  • Add and Subtract the Missing Square:
    Take half the coefficient of π‘₯, square it, and add and subtract this value after the π‘₯ term. This completes the square inside the expression.
  • Simplify into Completed Square Form:
    Rewrite the expression in the form (π‘₯+π‘š)Β² by factoring the trinomial and adjust the constants outside to find the final expression in the form π‘Ž(π‘₯+π‘š)Β²+𝑛.

FAQs

What is the purpose of the completing the square method?

The purpose of completing the square is to rewrite a quadratic expression in a different form, specifically π‘Ž(π‘₯+π‘š)Β²+𝑛. This transformation makes it easier to solve quadratic equations and identify the vertex of a parabola.

How do you handle a quadratic equation if the coefficient of π‘₯Β²is not 1?

If the coefficient of π‘₯Β² isn’t 1, factor out that coefficient from the quadratic and linear terms to normalize it to 1. For example, with 4π‘₯Β²+8π‘₯, factor out 4 to get 4(π‘₯Β²+2π‘₯).

What does adding and subtracting the square achieve in the completing the square method?

Adding and subtracting the square helps create a perfect square trinomial. This trinomial can then be rewritten as a squared binomial, which is essential to putting the quadratic equation into the desired completed square form.

How does completing the square relate to the quadratic formula?

Completing the square is a method that can be used to derive the quadratic formula. It transforms the quadratic equation into a form where taking the square root directly reveals the values of π‘₯.

Is completing the square useful for equations beyond simple quadratics?

AI Generator

Text prompt

Add Tone

10 Examples of Public speaking

20 Examples of Gas lighting