Quadratic extrema and sign

Connect completed squares and discriminants to strict sign conditions, model restrictions and feasible quadratic extrema.

More
Reading settingsKeep track of this lesson

Read offline with Premium

Save lessons and their figures on this device to read without an internet connection. Offline saving is included with Premium.

Connect at least once every 30 days to confirm Premium. Topic checks, coaching and sync need a connection.

Find this activity in your course
On this page

Reading settings

Colour theme, text size, line spacing and reading width for your lessons.

Colour theme
Text size
Line spacing
Reading width
Revision Mode

Keep just the revision notes by hiding embedded questions and activities, including worked examples. Your choice follows your account across both subjects and devices. Turn off to show the full lesson again.

Checking Premium access…

Explore Premium

Live preview

Take a moment to read at your own pace. Choose the text size and spacing that feel comfortable for you.

Pause after each idea, then explain it in your own words before moving on.

Narrower lines take effect when the screen has room.

Enlarged diagram

Factor the leading coefficient before completing the square

Completing the square exposes a quadratic’s distance from its vertex. A square cannot be negative, so the coefficient outside the square tells us whether moving away from the vertex raises or lowers the output. This gives an extremum without testing a long list of input values.

For q(x) = 2x²-8x + 9, first factor 2 from the terms involving x:

q(x) = 2(x²-4x) + 9.

Inside the brackets, x² − 4x = (x − 2)² − 4. The outside 2 multiplies both parts:

q(x) = 2[(x-2)²-4] + 9 = 2(x-2)² + 1.

The square is smallest at x = 2, where it is zero. Thus q has minimum 1 at x = 2, and its vertex is (2,1). Every other input adds a positive amount to that output, so q is strictly positive for every real x.

Writing 2(x-2)² + 5 would expand to 2x² − 8x + 13. It has the right x² and x terms but the wrong constant. Check all three coefficients; a plausible vertex is not a substitute for an algebraically equal expression.

In general, for a ≠ 0,

ax² + bx + c = a(x + b/(2a))² + c-b²/(4a).

The vertex input is −b/(2a), and its output is c − b²/(4a). A positive a gives a minimum; a negative a gives a maximum. For example, −2x² + 12x − 11 = −2(x − 3)² + 7, so its maximum is 7 at x = 3. It does not have a minimum over all real inputs: its outputs decrease without bound as the square grows.

A root condition and an orientation work together

“Always positive” means greater than zero at every real input, including the vertex. Having a positive leading coefficient only tells us which way the parabola opens. It does not tell us whether its minimum is above, on or below the axis.

For x² + 2x + k = (x + 1)² + k − 1, the minimum is k − 1. It is always positive exactly when k > 1. At k = 1 it touches zero at x = −1; at k < 1 it takes negative values near that input.

An upward-opening quadratic can stay above, touch or cross the axis

The solid k = 2 curve is strictly positive. The dashed k = 1 curve is non-negative but equals zero at its vertex. The dotted k = 0 curve is negative between two roots even though its x² coefficient is positive.

Scroll across the figure to read all labels.

The solid k = 2 curve is strictly positive. The dashed k = 1 curve is non-negative but equals zero at its vertex. The dotted k = 0 curve is negative between two roots even though its x² coefficient is positive.The solid k = 2 curve is strictly positive. The dashed k = 1 curve is non-negative but equals zero at its vertex. The dotted k = 0 curve is negative between two roots even though its x² coefficient is positive.
The curves are x² + 2x + k for k = 2, 1 and 0. Their shared vertex input is −1; their minimum outputs are 1, 0 and −1 respectively. The middle curve touches zero, while the lowest crosses at x = −2 and x = 0.
Open full-size graphOpen full-size graph
What to noticeAll three curves have the same positive leading coefficient. Their different vertical positions decide strict positivity; opening upward alone does not. Only the displayed portions are drawn. Use the completed squares for conclusions about every real input.
View figure data
Figure data: An upward-opening quadratic can stay above, touch or cross the axis
Input x (dimensionless)k = 2: minimum 1k = 1: minimum 0k = 0: minimum -1
-3.05.004.003.00
-2.94.613.612.61
-2.84.243.242.24
-2.73.892.891.89
-2.63.562.561.56
-2.53.252.251.25
-2.42.961.960.96
-2.32.691.690.69
-2.22.441.440.44
-2.12.211.210.21
-2.02.001.000.00
-1.91.810.81-0.19
-1.81.640.64-0.36
-1.71.490.49-0.51
-1.61.360.36-0.64
-1.51.250.25-0.75
-1.41.160.16-0.84
-1.31.090.09-0.91
-1.21.040.04-0.96
-1.11.010.01-0.99
-1.01.000.00-1.00
-0.91.010.01-0.99
-0.81.040.04-0.96
-0.71.090.09-0.91
-0.61.160.16-0.84
-0.51.250.25-0.75
-0.41.360.36-0.64
-0.31.490.49-0.51
-0.21.640.64-0.36
-0.11.810.81-0.19
0.02.001.000.00
0.12.211.210.21
0.22.441.440.44
0.32.691.690.69
0.42.961.960.96
0.53.252.251.25
0.63.562.561.56
0.73.892.891.89
0.84.243.242.24
0.94.613.612.61
1.05.004.003.00

The discriminant D = b² − 4ac expresses the same boundary through roots. For a genuine quadratic:

Claim for every real xConditions
ax² + bx + c > 0a > 0 and D < 0
ax² + bx + c ≥ 0a > 0 and D ≤ 0
ax² + bx + c < 0a < 0 and D < 0
ax² + bx + c ≤ 0a < 0 and D ≤ 0

The vertex output is −D/(4a), so the completed square and discriminant tests agree. A zero discriminant permits equality with zero and cannot establish a strict claim. Also D < 0 alone does not choose the sign: x² + 1 is always positive, whereas −x² − 1 is always negative, and both have discriminant −4.

Check your understanding 1 Check the equality case in an “always” claim

A claim says that 2x²-8x + k is always positive when k ≥ 8. Find the correct condition for strict positivity, then the condition for non-negativity. Use an original input to test the boundary k = 8.

Show answer

The expression is 2(x − 2)² + k − 8, with minimum k − 8. Strict positivity requires k > 8; non-negativity requires k ≥ 8. At k = 8 and x = 2 the original expression is 8 − 16 + 8 = 0, disproving strict positivity at that parameter boundary.

A model has an input interval

A stated height model is h(t) = -5t² + 20t + 1 metres for 0 ≤ t ≤ 4 seconds. Here t is the numerical elapsed time in seconds. Completing the square gives h(t) = −5(t − 2)² + 21, so the maximum is 21 m at 2 s. The vertex is allowed, and substituting t = 2 into the original expression returns that height.

If the task instead concerns only 3 ≤ t ≤ 4, the vertex is unavailable. In that interval (t − 2)² grows from 1 to 4, so multiplying it by −5 makes the height decrease. The greatest allowed height is h(3) = 16 m, rather than the unrestricted vertex height 21 m. The formula and the task’s permitted interval must both be used.

Check your understanding 2 Strict and non-strict claims differ

Find the maximum of -3x² + 12x-7 over all real inputs and decide whether it is always negative. Explain why the sign of its leading coefficient is insufficient.

Show answer

The expression is -3(x-2)² + 5, with maximum 5 at x = 2. It is not always negative because it takes positive values near that vertex. A negative leading coefficient alone is insufficient.

Check a restricted interval

For q(x) = 2(x − 2)² + 1 above, suppose only 3 ≤ x ≤ 5 is allowed. The vertex x = 2 is unavailable. The square (x − 2)² is smallest at x = 3 and largest at x = 5, giving least value q(3) = 3 and greatest value q(5) = 19 on that interval.

On a closed interval, compare distances from the vertex rather than assuming an endpoint must win. An upward-opening quadratic is smallest at a closest permitted input and largest at a farthest one; a downward-opening quadratic reverses those choices. If the vertex is allowed, its distance is zero. Check included endpoints, and for integer-only inputs compare the feasible integers nearest the continuous vertex too, keeping any ties.

Try it yourself 1

Choose the dimensions of a plot

Minimal support

Problem

A rectangular plot sits against a straight wall. Exactly 43 m of fencing encloses the other three sides: two equal depths x and the far side y. Neglect fence thickness. The depth must be a whole number of metres from 4 to 18 inclusive.

Sketch and label the arrangement, form its area model, then find the allowed dimensions giving the greatest area. Explain why a continuous vertex calculation alone does not finish the task, and check that the chosen dimensions use the available fencing.

Write your answer, then compare it with the solution

Hints

Hint 1

Identify the three lengths that use fencing

The wall supplies one side of the rectangle. Express the remaining far-side length using the two equal depths, then decide which values of the area model the task actually permits.

Show full solution
  1. Form the constraint and area

    Method

    Use 2x + y = 43, so y = 43 − 2x.

    Reason

    The two depths both consume fencing; the side against the wall does not.

    Working

    Answer

    The area is A = x(43-2x) = -2x² + 43x square metres. The stated integers 4 through 18 give positive far-side lengths, so all are feasible.
  2. Locate the continuous vertex and enforce the allowed inputs

    Method

    Complete the square and compare the nearest permitted integers.

    Reason

    The largest continuous output need not be attainable by a whole-metre depth.

    Working

    Answer

    A = -2(x-43/4)² + 1849/8. The continuous vertex is at x = 10.75, with area 231.125, but that depth is not permitted. Of the allowed integers, 11 is closest to 10.75; comparing gives A(10) = 230 and A(11) = 231. Every other allowed integer is farther from the vertex and gives a smaller area.
  3. Return to the original lengths

    Method

    Recover y and verify the fence total.

    Reason

    An extremum of the algebraic model must still describe a permitted rectangle.

    Working

    Answer

    At x = 11 m, y = 43 − 22 = 21 m. The greatest allowed area is 11 × 21 = 231 m², and 2(11) + 21 = 43 m uses the full fence. Reporting the continuous area 231.125 m² would ignore the integer-depth condition.

Keep track of this lesson

Mark the lesson done when you have worked through it.

Lesson progress is optional and kept on this device.

Your lesson mark records your own study. Checks are kept separately in My Learning.