Completing the Square (DP IB Analysis & Approaches (AA): HL): Revision Note

Guided study available on this topic

Understand this topic with deeper explanations and understanding checks.

Completing the square

Why is completing the square for quadratics useful?

  • Completing the square gives the maximum or minimum of a quadratic function

    • This can be used to define the range of the function

  • It gives the vertex when drawing the graph

  • It can be used to solve quadratic equations

  • It can be used to derive the quadratic formula

How do I complete the square for a monic quadratic of the form x2+bx+c?

  • Halve the value of b and write down (x+b2)2

    • This is because (x+b2)2=x2+bx+(b2)2

      • so it is similar to x2+bx+c

  • Subtract the unwanted (b2)2 term and add on the constant c

    • (x+b2)2−(b2)2+c

  • For example, x2−4x+5

    • (x−2)2=x2−4x+4

    • x2−4x+5=(x−2)2−4+5=(x−2)2+1

How do I complete the square for a non-monic quadratic of the form ax2+bx+c?

  • Factorise out the a from the terms involving x

    • a(x2+bax)+c 

    • Leaving the c un-factorised will avoid working with lots of fractions

  • Complete the square on the quadratic term inside the bracket

    • Halve ba and write (x+b2a)2

      • This is because (x+b2a)2=x2+bax+(b2a)2

    • Subtract the unwanted (b2a)2 term

  • Multiply through by a and add on c

    • a[(x+b2a)2−(b2a)2]+c

    • a(x+b2a)2−b24a+c

  • For example, 2x2+12x−3

    • 2(x2+6x)−3

    • 2[(x+3)2−9]−3

    • 2(x+3)2−18−3=2(x+3)2−21

Examiner Tips and Tricks

Some questions may not use the phrase "completing the square" so ensure you can recognise a quadratic expression or equation written in the form a(x−h)2+k (=0)

How do I use completing the square to optimise with quadratics?

  • You can use the completed square form to find the maximum or minimum of an expression

    • The optimal value of a(x−h)2+k is k

      • It is a minimum if a is positive

      • It is a maximum if a is negative

    • The optimal value occurs when x=h

  • For example, suppose P=0.5(x−50)2+3000 is the profit in dollars when x units are sold

    • The maximum profit is $3000

    • This is achieved when 50 units are sold

Worked Example

Complete the square on the following expressions.

(i) x2−8x+3.

Answer:

2-2-2-ib-aa-sl-complete-square-a-we-solution

(ii) 3x2+12x−5.

Answer:

2-2-2-ib-aa-sl-complete-square-b-we-solution

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Build on this topic

Dan Finlay

Author: Dan Finlay

Expertise: Portfolio Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.

Jamie Wood

Reviewer: Jamie Wood

Expertise: Curriculum Expert

Jamie graduated in 2014 from the University of Bristol with a degree in Electronic and Communications Engineering. He has worked as a teacher for 8 years, in secondary schools and in further education; teaching GCSE and A Level. He is passionate about helping students fulfil their potential through easy-to-use resources and high-quality questions and solutions.