MatheramaMatherama
← Quadratic Equations
Quadratic Equations·Section 4·5 min read

Transforming a quadratic expression

Transforming a quadratic expression into a different form, specifically by completing the square, is a crucial technique in algebra. This transformation simplifies the analysis of the quadratic expression. In its standard form, ax2+bx+cax^2 + bx + c, the expression can be difficult to analyze because it has two terms that depend on xx. By completing the square, we transform the expression into a form that clearly shows its characteristics, such as the vertex and axis of symmetry.

!!! Note info "Why Transform Quadratic Expressions?"

The primary goal of this transformation is to make it easier to understand the behavior of the quadratic function. It helps in finding the range, maximum and minimum values, and understanding the conditions for the output to increase or decrease.

Steps to Complete the Square§

  1. Start with the General Form: The quadratic expression is given by: ax2+bx+cax^2 + bx + c

  2. Factor Out aa from the First Two Terms (if a≠1a \neq 1): Factor aa out of the first two terms to get: a(x2+bax)+ca(x^2 + \frac{b}{a}x) + c

  3. Add and Subtract (b2a)2\left(\frac{b}{2a}\right)^2: To form a perfect square trinomial, add and subtract (b2a)2\left(\frac{b}{2a}\right)^2: a(x2+bax+(b2a)2−(b2a)2)+ca\left(x^2 + \frac{b}{a}x + \left(\frac{b}{2a}\right)^2 - \left(\frac{b}{2a}\right)^2\right) + c

  4. Rearrange the Expression: Rearrange to form the perfect square: a(x2+bax+(b2a)2)−a(b2a)2+ca\left(x^2 + \frac{b}{a}x + \left(\frac{b}{2a}\right)^2\right) - a\left(\frac{b}{2a}\right)^2 + c

  5. Form the Perfect Square: The expression inside the brackets is now a perfect square: a(x+b2a)2−a(b2a)2+ca\left(x + \frac{b}{2a}\right)^2 - a\left(\frac{b}{2a}\right)^2 + c

  6. Simplify the Expression: Simplify to get the final form: a(x+b2a)2−b24a+ca\left(x + \frac{b}{2a}\right)^2 - \frac{b^2}{4a} + c

  7. One last thing: Add the last two terms and incorporate the this term called as discriminant Δ=b2−4ac\Delta = b^2 - 4ac: a(x+b2a)2−Δ4aa\left(x + \frac{b}{2a}\right)^2 - \frac{\Delta}{4a}

Completed square Form

The completed square form of the quadratic expression is: a(x+b2a)2−Δ4aa\left(x + \frac{b}{2a}\right)^2 - \frac{\Delta}{4a}

This form makes it easier to analyze the quadratic function's properties, including its range, graph, maximum/minimum values. It also provides insights into the nature of its roots through the discriminant term Δ\Delta.

Example Let us apply it to the expression 2x2−5x−12x^2 - 5x - 1. Completing the square for the quadratic expression 2x2−5x−12x^2 - 5x - 1 involves several steps to transform it into a more analyzable form. This method helps in understanding the function's behavior more clearly.

Steps to Complete the Square for 2x2−5x−12x^2 - 5x - 1

  1. Start with the Original Expression: 2x2−5x−12x^2 - 5x - 1

  2. Factor Out the Coefficient of x2x^2: Since the coefficient of x2x^2 is 2, we factor it out from the first two terms: 2(x2−52x)−12(x^2 - \frac{5}{2}x) - 1

  3. Add and Subtract the Square of Half the Coefficient of xx: Add and subtract (−52×2)2\left(\frac{-5}{2 \times 2}\right)^2 inside the bracket: 2(x2−52x+(−54)2−(−54)2)−12\left(x^2 - \frac{5}{2}x + \left(\frac{-5}{4}\right)^2 - \left(\frac{-5}{4}\right)^2\right) - 1

  4. Rearrange the Expression: Keep the perfect square inside the bracket and move the subtracted term outside: 2(x2−52x+(−54)2)−2(−54)2−12\left(x^2 - \frac{5}{2}x + \left(\frac{-5}{4}\right)^2\right) - 2\left(\frac{-5}{4}\right)^2 - 1

  5. Form the Perfect Square: The expression inside the bracket is now a perfect square: 2(x−54)2−2(−54)2−12\left(x - \frac{5}{4}\right)^2 - 2\left(\frac{-5}{4}\right)^2 - 1

  6. Simplify the Expression: Simplify the terms outside the perfect square: 2(x−54)2−258−1=2\left(x - \frac{5}{4}\right)^2 - \frac{25}{8} - 1 = 2(x−54)2−3382\left(x - \frac{5}{4}\right)^2 - \frac{33}{8}

Final Transformed Expression

The completed square form of the expression 2x2−5x−12x^2 - 5x - 1 is: 2(x−54)2−3382\left(x - \frac{5}{4}\right)^2 - \frac{33}{8}

Comparing the two forms of the quadratic expression 2x2−5x−12x^2 - 5x - 1 highlights the advantages of the completed square form, especially in terms of simplifying the expression's dependence on xx.

Original Form: 2x2−5x−12x^2 - 5x - 1

  • In this standard form, the expression has two terms that depend on xx: 2x22x^2 and −5x-5x.
  • It is not immediately clear how the value of xx influences the entire expression.

Completed Square Form: 2(x−54)2−3382\left(x - \frac{5}{4}\right)^2 - \frac{33}{8}

  • After completing the square, the expression becomes 2(x−54)2−3382\left(x - \frac{5}{4}\right)^2 - \frac{33}{8}.
  • Here, there is only one term that depends on xx, namely (x−54)2\left(x - \frac{5}{4}\right)^2.
  • This form clearly shows that the expression's value is influenced primarily by how xx deviates from 54\frac{5}{4}. It's easier to see the effect of changing xx on the whole expression.

Conclusion

  • The transformation into the completed square form simplifies the expression, reducing it to a single xx-dependent term, which makes it much easier to analyze and understand.
  • It provides how changes in xx affect the function's value. (if not, then let us wait for the upcoming sections)

Thus, while the original form is useful for certain types of analysis and solving, the completed square form offers a more direct insight into the function's graphical characteristics and behavior.

!!! Note question "Practice Problems" Convert the Following Quadratic Expressions into Completed Square Form

Convert each of the following quadratic expressions into its completed square form:

  1. x2+6x+5x^2 + 6x + 5
  2. 3x2−12x+73x^2 - 12x + 7
  3. −2x2+8x−5-2x^2 + 8x - 5
  4. 4x2−16x+154x^2 - 16x + 15

Answers

  1. x2+6x+5x^2 + 6x + 5: Completed Square Form: (x+3)2−4(x + 3)^2 - 4

  2. 3x2−12x+73x^2 - 12x + 7: Completed Square Form: 3(x−2)2−53(x - 2)^2 - 5

  3. −2x2+8x−5-2x^2 + 8x - 5: Completed Square Form: −2(x−2)2+3-2(x - 2)^2 + 3

  4. 4x2−16x+154x^2 - 16x + 15: Completed Square Form: 4(x−2)2+14(x - 2)^2 + 1

Section 4 of 13 · Quadratic Equations

Mark this section complete when you have worked through its proofs.