DoAssignment.ca

A2.2 · Find a quadratic maximum or minimum algebraically

Learn to find a quadratic maximum or minimum algebraically through clear examples and targeted practice.

Ontario Grade 11 Mathematics

Characteristics of Functions

MCR3U – A2.2 | Quadratic Functions

Every time you throw a ball in the air, track profit over time, or design an arch, the situation follows a curved path called a parabola. The highest or lowest point on that curve — called the vertex — holds the maximum or minimum value of the function. In this lesson you will learn how to find that exact point using only algebra, without graphing. The key tool is a technique called completing the square, which rewrites a quadratic function in a form that makes the vertex easy to read off directly.

What you will learn

Prerequisite Bridge: Standard Form and Vertex Form

A quadratic function written as f(x)=ax2+bx+cf(x) = ax^2 + bx + c is in standard form. You worked with this in Grade 10. The values aa, bb, and cc are constants, and a≠0a \neq 0.
The same function can also be written as f(x)=a(x−h)2+kf(x) = a(x - h)^2 + k, which is called vertex form. In vertex form the vertex of the parabola is the point (h,k)(h, k). The vertex is either the highest point (maximum) or the lowest point (minimum) of the parabola.
The sign of aa tells you which one it is. When a>0a > 0 the parabola opens upward, so the vertex is the lowest point and kk is the minimum value. When a<0a < 0 the parabola opens downward, so the vertex is the highest point and kk is the maximum value. This lesson focuses on converting from standard form to vertex form so you can find hh and kk algebraically.
f(x)=a(x−h)2+kf(x) = a(x - h)^2 + k

The Core Method: Completing the Square

Completing the square is a step-by-step algebraic process that rewrites ax2+bx+cax^2 + bx + c in vertex form. Each step is reversible, so the rewritten function is exactly equal to the original — nothing changes except how it looks.
Here is the general process. First, if a≠1a \neq 1, factor aa out of the first two terms only, leaving cc outside the brackets. Second, look at the coefficient of xx inside the brackets. Take half of it, then square that result. Add and subtract that square inside the brackets so the overall expression stays equal. Third, the first three terms inside the brackets now form a perfect-square trinomial, which you can write as a squared binomial. Finally, multiply the subtracted value by aa and combine it with cc to get kk.
A perfect-square trinomial has the pattern x2+2mx+m2=(x+m)2x^2 + 2mx + m^2 = (x + m)^2. Recognising this pattern is the heart of the method. You are engineering that pattern by choosing exactly the right number to add and subtract.
x2+2mx+m2=(x+m)2x^2 + 2mx + m^2 = (x + m)^2

Reading the Vertex and Stating the Optimal Value

Once you have vertex form f(x)=a(x−h)2+kf(x) = a(x - h)^2 + k, reading the vertex is straightforward. The xx-coordinate of the vertex is hh, which is the value that makes the bracket equal to zero. The yy-coordinate is kk, which is the value of f(x)f(x) at that point.
Be careful with the sign of hh. If vertex form shows (x−3)2(x - 3)^2, then h=3h = 3. If it shows (x+3)2(x + 3)^2, rewrite it as (x−(−3))2(x - (-3))^2, so h=−3h = -3.
The optimal value is simply kk. You state the maximum or minimum value of the function as kk, and it occurs when x=hx = h. In a word problem you may also need to interpret what hh and kk represent in context — for example, the time at which height is greatest, and what that greatest height is.

Connecting Vertex Form Back to Standard Form

It is good practice to verify your algebra by expanding vertex form and checking that you recover the original standard form. Expand a(x−h)2+ka(x - h)^2 + k and collect like terms. If the result matches ax2+bx+cax^2 + bx + c, your completing-the-square work is correct.
You can also use the vertex coordinates as a partial check: substitute x=hx = h into the original standard-form function and confirm that the output equals kk. This is a fast, reliable arithmetic check that catches sign errors.
For example, if completing the square gives vertex (2,−5)(2, -5), substitute x=2x = 2 into the original function. The output should be exactly −5-5. If it is not, re-examine every step for a sign or arithmetic error.

Summary: Reading the Vertex from Vertex Form

FeatureWhen a > 0 (opens up)When a < 0 (opens down)
Direction of parabolaUpwardDownward
Vertex is a …MinimumMaximum
Optimal valuekk is the minimum valuekk is the maximum value
Where it occursAt x=hx = hAt x=hx = h
Value of (x−h)2(x - h)^2 at vertex00 (smallest possible)00 (makes kk as large as possible)

Worked example

Example 1 — Finding a Minimum Value (a > 0)

Find the minimum value of f(x)=x2−6x+11f(x) = x^2 - 6x + 11 algebraically. State the vertex and explain what it tells you.
  1. Check the leading coefficient
    The coefficient of x2x^2 is 11, so a=1>0a = 1 > 0. The parabola opens upward, meaning the vertex will be a minimum. Because a=1a = 1, there is no need to factor anything out before completing the square.
    a=1>0a = 1 > 0
  2. Identify the x-term coefficient and halve it
    The coefficient of xx is −6-6. Half of −6-6 is −3-3. Squaring −3-3 gives 99. This value, 99, is what you will add and subtract inside the expression.
    (−62)2=(−3)2=9(\frac{-6}{2})^2 = (-3)^2 = 9
  3. Add and subtract 9 to keep the expression equivalent
    Write the function with +9+9 and −9-9 inserted after the xx-term. Adding and subtracting the same number changes nothing about the value of the expression — it is the same as adding zero.
    f(x)=x2−6x+9−9+11f(x) = x^2 - 6x + 9 - 9 + 11
  4. Factor the perfect-square trinomial
    The first three terms x2−6x+9x^2 - 6x + 9 form a perfect-square trinomial. They factor as (x−3)2(x - 3)^2. Collect the remaining constants: −9+11=2-9 + 11 = 2.
    f(x)=(x−3)2+2f(x) = (x - 3)^2 + 2
  5. Read the vertex and state the minimum
    Vertex form is f(x)=(x−3)2+2f(x) = (x - 3)^2 + 2, so h=3h = 3 and k=2k = 2. The vertex is (3,2)(3, 2). Because a>0a > 0, this vertex is a minimum. The minimum value of the function is 22, and it occurs when x=3x = 3.
    (h,k)=(3,2)(h, k) = (3, 2)
Answer: The minimum value of f(x)f(x) is 22, occurring at x=3x = 3. The vertex is (3,2)(3, 2).
Check: Substitute x=3x = 3 into the original function: f(3)=(3)2−6(3)+11=9−18+11=2f(3) = (3)^2 - 6(3) + 11 = 9 - 18 + 11 = 2. This matches k=2k = 2, confirming the answer.

Worked example

Example 2 — Finding a Maximum in Context (a < 0)

A model rocket is launched from the ground. Its height in metres after tt seconds is given by h(t)=−5t2+40th(t) = -5t^2 + 40t. Find the maximum height the rocket reaches and when it reaches that height.
  1. Check the leading coefficient
    The coefficient of t2t^2 is −5-5, so a=−5<0a = -5 < 0. The parabola opens downward, so the vertex will be a maximum — exactly what is needed to find the greatest height.
    a=−5<0a = -5 < 0
  2. Factor out -5 from the first two terms
    There is no constant term cc here, but the process is the same. Factor −5-5 from −5t2+40t-5t^2 + 40t. Dividing each term inside by −5-5: −5t2÷(−5)=t2-5t^2 \div (-5) = t^2 and 40t÷(−5)=−8t40t \div (-5) = -8t.
    h(t)=−5(t2−8t)h(t) = -5(t^2 - 8t)
  3. Find the value to add and subtract inside the brackets
    The coefficient of tt inside the brackets is −8-8. Half of −8-8 is −4-4. Squaring −4-4 gives 1616. Add and subtract 1616 inside the brackets.
    (−82)2=(−4)2=16(\frac{-8}{2})^2 = (-4)^2 = 16
  4. Insert +16 and -16 inside the brackets
    Write the expression with +16+16 and −16-16 placed inside the brackets. The overall value has not changed because +16−16=0+16 - 16 = 0.
    h(t)=−5(t2−8t+16−16)h(t) = -5(t^2 - 8t + 16 - 16)
  5. Separate the subtracted term and factor the trinomial
    Bring −16-16 outside the brackets by multiplying it by −5-5: −5×(−16)=+80-5 \times (-16) = +80. The remaining trinomial t2−8t+16t^2 - 8t + 16 factors as (t−4)2(t - 4)^2.
    h(t)=−5(t−4)2+80h(t) = -5(t - 4)^2 + 80
  6. Read the vertex and answer in context
    Vertex form is h(t)=−5(t−4)2+80h(t) = -5(t - 4)^2 + 80, giving vertex (4,80)(4, 80). So h=4h = 4 and k=80k = 80. Because a<0a < 0, this is a maximum. The rocket reaches a maximum height of 8080 metres at t=4t = 4 seconds.
    (h,k)=(4,80)(h, k) = (4, 80)
Answer: The rocket reaches a maximum height of 8080 metres at t=4t = 4 seconds.
Check: Substitute t=4t = 4 into the original function: h(4)=−5(4)2+40(4)=−5(16)+160=−80+160=80h(4) = -5(4)^2 + 40(4) = -5(16) + 160 = -80 + 160 = 80. This matches k=80k = 80, confirming the answer.

Common mistakes and how to avoid them

Forgetting to multiply the added/subtracted constant by aa when a≠1a \neq 1. For example, adding 1616 inside the brackets of −5(t2−8t+16−16)-5(t^2 - 8t + 16 - 16) but writing +16+16 instead of +80+80 when moving the term outside.
Correction: Whatever you add inside the brackets must be multiplied by the factor outside when you bring it out. If you add 1616 inside −5(…)-5(\ldots), the equivalent outside the bracket is −5×16=−80-5 \times 16 = -80, so you add +80+80 to compensate for the −80-80 carried outside.
Getting the sign of hh wrong. Students often read (x−h)2(x - h)^2 and write hh as negative when the bracket shows subtraction.
Correction: Set the bracket equal to zero to find hh. For (x−3)2(x - 3)^2: x−3=0x - 3 = 0 gives x=3x = 3, so h=3h = 3. For (x+3)2=(x−(−3))2(x + 3)^2 = (x - (-3))^2: x+3=0x + 3 = 0 gives x=−3x = -3, so h=−3h = -3.
Adding the completing-the-square value without also subtracting it, changing the value of the expression.
Correction: Always add and subtract the same number in the same step. Adding 99 and subtracting 99 is the same as adding zero, so the function stays equivalent.
Concluding that the vertex is a maximum just because the value of kk is large, or a minimum because kk is small.
Correction: The type of optimal value (maximum or minimum) depends only on the sign of aa, not on the size of kk. Always check whether a>0a > 0 or a<0a < 0 first.
Skipping the check step and not verifying by substituting x=hx = h into the original function.
Correction: Always substitute x=hx = h back into the original standard-form function. If the output is not equal to kk, there is an error in the completing-the-square steps.

Lesson summary

Check your understanding

Question 1

What is the vertex of f(x)=2(x−5)2−3f(x) = 2(x - 5)^2 - 3, and does it represent a maximum or a minimum?
  1. Vertex (5,−3)(5, -3); minimum because a=2>0a = 2 > 0
  2. Vertex (−5,−3)(-5, -3); minimum because a=2>0a = 2 > 0
  3. Vertex (5,−3)(5, -3); maximum because a=2>0a = 2 > 0
  4. Vertex (5,3)(5, 3); minimum because a=2>0a = 2 > 0
Show answer and explanation
Vertex (5,−3)(5, -3); minimum because a=2>0a = 2 > 0
In f(x)=2(x−5)2−3f(x) = 2(x - 5)^2 - 3, we have h=5h = 5 and k=−3k = -3, giving vertex (5,−3)(5, -3). Since a=2>0a = 2 > 0 the parabola opens upward, so the vertex is a minimum.

Question 2

Which step comes immediately after factoring out aa from the first two terms when completing the square?
  1. Factor the resulting trinomial as a perfect square.
  2. Add and subtract the square of half the inner xx-coefficient.
  3. Expand the expression to check it.
  4. Move the constant cc inside the brackets.
Show answer and explanation
Add and subtract the square of half the inner xx-coefficient.
After factoring out aa, you look at the coefficient of xx inside the brackets, take half of it, square the result, and then add and subtract that square inside the brackets. This is what creates the perfect-square trinomial.

Question 3

Complete the square to find the maximum or minimum value of g(x)=x2+4x−1g(x) = x^2 + 4x - 1.
  1. Minimum value of −5-5 at x=−2x = -2
  2. Minimum value of −1-1 at x=4x = 4
  3. Maximum value of −5-5 at x=−2x = -2
  4. Minimum value of 33 at x=2x = 2
Show answer and explanation
Minimum value of −5-5 at x=−2x = -2
Half of 44 is 22; squaring gives 44. So g(x)=x2+4x+4−4−1=(x+2)2−5g(x) = x^2 + 4x + 4 - 4 - 1 = (x + 2)^2 - 5. Vertex is (−2,−5)(-2, -5). Since a=1>0a = 1 > 0, this is a minimum. Check: g(−2)=(−2)2+4(−2)−1=4−8−1=−5g(-2) = (-2)^2 + 4(-2) - 1 = 4 - 8 - 1 = -5. ✓

Question 4

A function is written as f(x)=−3(x+1)2+7f(x) = -3(x + 1)^2 + 7 after completing the square. What is the maximum value of f(x)f(x) and at what xx does it occur?
  1. Maximum value of 77 at x=1x = 1
  2. Maximum value of −3-3 at x=−1x = -1
  3. Maximum value of 77 at x=−1x = -1
  4. Minimum value of 77 at x=−1x = -1
Show answer and explanation
Maximum value of 77 at x=−1x = -1
Written as f(x)=−3(x−(−1))2+7f(x) = -3(x - (-1))^2 + 7, the vertex is (−1,7)(-1, 7). Since a=−3<0a = -3 < 0 the parabola opens downward, making the vertex a maximum. The maximum value is 77 and it occurs at x=−1x = -1.

Key terms

Standard form
A quadratic function written as f(x)=ax2+bx+cf(x) = ax^2 + bx + c, where aa, bb, and cc are constants and a≠0a \neq 0.
Vertex form
A quadratic function written as f(x)=a(x−h)2+kf(x) = a(x - h)^2 + k, where the vertex of the parabola is the point (h,k)(h, k).
Vertex
The point on a parabola where it changes direction — the highest point if the parabola opens down, or the lowest point if it opens up.
Completing the square
An algebraic technique that rewrites a quadratic expression in standard form as a perfect-square binomial plus a constant, revealing the vertex directly.
Perfect-square trinomial
A three-term polynomial that can be written as the square of a binomial, following the pattern x2+2mx+m2=(x+m)2x^2 + 2mx + m^2 = (x + m)^2.
Maximum value
The greatest output value of a function. For a downward-opening parabola, it equals kk in vertex form.
Minimum value
The smallest output value of a function. For an upward-opening parabola, it equals kk in vertex form.
Optimal value
A general term for either the maximum or the minimum value of a function, depending on context.

Continue through MCR3U

View the complete Ontario Grade 11 Mathematics learning path

About this lesson

Published by DoAssignment. This AI-assisted lesson follows Ontario Grade 11 Mathematics (MCR3U), expectation A2.2. It is a study resource, not an official curriculum publication.

Official curriculum reference

Report a correction or ask a question