Class 12 Maths, Worked in Full Past papersGet updates
Chapter 6 · Application of Derivatives

Exercise 6.3 · Q11: Find aa when x4−62x2+ax+9x^4-62x^2+ax+9 is greatest at x=1x=1 on [0,2][0,2]

Exercise 6.3Absolute maximum · Theorem 6 · Section 6.4.1
The question

It is given that at x=1x = 1⁠, the function x4−62x2+ax+9x^4 - 62x^2 + ax + 9 attains its maximum value, on the interval [0,2][0, 2]⁠. Find the value of aa⁠.

Exam answer

Let f(x)=x4−62x2+ax+9f(x) = x^4 - 62x^2 + ax + 9⁠. Then f′(x)=4x3−124x+af'(x) = 4x^3 - 124x + a⁠.

ff attains its maximum on [0,2][0, 2] at the interior point x=1x = 1⁠, so f′(1)=0f'(1) = 0⁠.

f′(1)=4−124+a=0⇒a=120\begin{aligned} f'(1) &= 4 - 124 + a = 0 \\ \Rightarrow a &= 120 \end{aligned}

∴ a=120\therefore\ a = 120⁠.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

If a differentiable function reaches its greatest value at a point strictly inside an interval, the graph must be flat there: the derivative is 0 (Theorem 6, Section 6.4.1). Since x=1x = 1 lies inside [0,2][0, 2]⁠, the condition f′(1)=0f'(1) = 0 gives one equation for the one unknown aa⁠. Because that condition is only necessary, we then check that the value of aa we find really makes f(1)f(1) the largest value on [0,2][0, 2]⁠.

Given, to find, and the plan
Given
f(x)=x4−62x2+ax+9f(x) = x^4 - 62x^2 + ax + 9 on the closed interval [0,2][0, 2]⁠, and its maximum value on this interval is attained at x=1x = 1⁠.
To find
The constant aa⁠.
Plan
Note that x=1x = 1 is an interior point and ff is differentiable; apply Theorem 6 to get f′(1)=0f'(1) = 0⁠; solve for aa⁠; then, with this aa⁠, use the working rule of Section 6.4.1 (critical points and end points) to confirm that f(1)f(1) is the greatest value.

Basics you need

1Interior maximum means a flat tangent (Theorem 6)

If ff is differentiable on a closed interval and attains its absolute maximum value at an interior point cc⁠, then f′(c)=0f'(c) = 0⁠. Lesson: absolute extrema on a closed interval

2Power rule

ddxxn=nxn−1\frac{d}{dx}x^n = nx^{n-1}⁠; a constant term differentiates to 0, and ddx(ax)=a\frac{d}{dx}(ax) = a because aa is a constant. Basics: rate of change as a derivative

3Factorising a cubic

If p(1)=0p(1) = 0⁠, then x−1x - 1 is a factor of p(x)p(x) (factor theorem); divide it out and factorise the quadratic that is left. Basics: factorising

4The working rule for a closed interval

The greatest value of a continuous function on [a,b][a, b] is the largest of its values at the critical points inside and at the two end points (Theorem 5 and the Working Rule, Section 6.4.1). Lesson: absolute extrema

Solution

  1. Why the derivative must vanish at x=1x = 1

    Write f(x)=x4−62x2+ax+9f(x) = x^4 - 62x^2 + ax + 9⁠. It is a polynomial, so it is differentiable at every real number, in particular on [0,2][0, 2]⁠. The point x=1x = 1 is an interior point of [0,2][0, 2] (it is not an end point: 0<1<20 < 1 < 2⁠). We are told that ff attains its maximum value on [0,2][0, 2] at x=1x = 1⁠. By Theorem 6(i), Section 6.4.1,

    f′(1)=0.f'(1) = 0.
    Near an interior point we can move a little to the left and a little to the right and stay inside the interval. If the tangent at x=1x = 1 had a positive slope, moving right would raise ff⁠; if negative, moving left would raise ff⁠. Either way f(1)f(1) would not be the greatest value. So the slope must be 0. At an end point this argument fails, which is why "interior" matters.
    Theorem 6 needs two things: ff differentiable on the closed interval, and cc an interior point. Both hold here. Lesson: absolute extrema
  2. Differentiate and solve for aa

    f′(x)=4x3−124x+a.f'(x) = 4x^3 - 124x + a.

    Put x=1x = 1⁠:

    f′(1)=4−124+a=a−120.f'(1) = 4 - 124 + a = a - 120.

    So f′(1)=0f'(1) = 0 gives

    a=120.a = 120.
    The power rule gives 4x34x^3 from x4x^4 and −124x-124x from −62x2-62x^2 (since 62×2=12462 \times 2 = 124⁠); axax gives aa⁠, and the constant 9 gives 0. The unknown aa survives differentiation, which is what lets one condition fix it.
    ddx(−62x2)=−62⋅2x=−124x\frac{d}{dx}(-62x^2) = -62 \cdot 2x = -124x⁠. Basics: derivatives
  3. The condition was only necessary: check it really is the maximum

    Theorem 6 says "if greatest at an interior point, then f′=0f' = 0 there"; the converse is false (a flat point can be a minimum or neither). So we check, with a=120a = 120⁠:

    f(x)=x4−62x2+120x+9,f(x) = x^4 - 62x^2 + 120x + 9, f′(x)=4x3−124x+120=4(x3−31x+30).\begin{aligned} f'(x) &= 4x^3 - 124x + 120 \\ &= 4(x^3 - 31x + 30). \end{aligned}

    Since 1−31+30=01 - 31 + 30 = 0⁠, x−1x - 1 is a factor, and dividing gives

    x3−31x+30=(x−1)(x2+x−30)=(x−1)(x−5)(x+6).\begin{aligned} x^3 - 31x + 30 &= (x - 1)(x^2 + x - 30) \\ &= (x - 1)(x - 5)(x + 6). \end{aligned} f′(x)=4(x−1)(x−5)(x+6).f'(x) = 4(x - 1)(x - 5)(x + 6).
    Expanding checks the factorisation: (x−1)(x2+x−30)(x - 1)(x^2 + x - 30) is x3+x2−30x−x2−x+30x^3 + x^2 - 30x - x^2 - x + 30⁠, which is x3−31x+30x^3 - 31x + 30⁠, and x2+x−30=(x−5)(x+6)x^2 + x - 30 = (x - 5)(x + 6) because −5×6=−30-5 \times 6 = -30 and −5+6=1-5 + 6 = 1⁠.
    Factor theorem: p(1)=0p(1) = 0 means (x−1)(x - 1) divides p(x)p(x)⁠. Basics: factorising
  4. Working rule on [0,2][0, 2]

    The critical points are x=1,5,−6x = 1, 5, -6⁠; only x=1x = 1 lies in [0,2][0, 2]⁠. Evaluate ff there and at both end points:

    xxworkingf(x)f(x)
    0 (end point)0−0+0+90 - 0 + 0 + 99
    1 (critical)1−62+120+91 - 62 + 120 + 968
    2 (end point)16−248+240+916 - 248 + 240 + 917

    The largest of 9, 68 and 17 is 68, at x=1x = 1⁠. So with a=120a = 120 the maximum value of ff on [0,2][0, 2] is indeed attained at x=1x = 1⁠, as the question says.

    ff is continuous on the closed interval [0,2][0, 2]⁠, so it has a greatest value (Theorem 5), and by Theorem 6 that value occurs at a critical point inside or at an end point. Comparing the three candidates therefore finds it. At x=2x = 2⁠: 24=162^4 = 16⁠, 62×4=24862 \times 4 = 248⁠, 120×2=240120 \times 2 = 240⁠.
    Working Rule, Section 6.4.1: critical points in the interval, end points, compare values. Lesson: absolute extrema
  5. The picture: rising, then falling

    On [0,2][0, 2] the factor x+6x + 6 is positive and x−5x - 5 is negative. So the sign of f′(x)=4(x−1)(x−5)(x+6)f'(x) = 4(x - 1)(x - 5)(x + 6) is the opposite of the sign of x−1x - 1⁠:

    • for 0<x<10 < x < 1⁠: x−1<0x - 1 < 0⁠, so f′(x)>0f'(x) > 0 and ff is increasing;
    • for 1<x<21 < x < 2⁠: x−1>0x - 1 > 0⁠, so f′(x)<0f'(x) < 0 and ff is decreasing.
    0.5 1 1.5 2 20 40 60 80 x f(x) f(0) = 9 f(2) = 17 largest: f(1) = 68 f′ > 0 f′ < 0
    f(x)=x4−62x2+120x+9f(x) = x^4 - 62x^2 + 120x + 9 on [0,2][0, 2]⁠. It climbs from f(0)=9f(0) = 9 to f(1)=68f(1) = 68⁠, then descends to f(2)=17f(2) = 17⁠. Filled dots: the end points belong to the interval.

    Also f′′(x)=12x2−124f''(x) = 12x^2 - 124⁠, so f′′(1)=−112<0f''(1) = -112 < 0⁠: the second derivative test agrees that x=1x = 1 is a point of local maxima.

    This is a second, independent confirmation: the sign pattern ++ then −- shows f(1)f(1) beats every other value on [0,2][0, 2]⁠, not just nearby ones (Theorem 1, Section 6.3).
    Sign of a product: count the negative factors. Basics: sign of a product
  6. No other value of aa works

    If a≠120a \ne 120⁠, then f′(1)=a−120≠0f'(1) = a - 120 \ne 0⁠, and by Theorem 6 the maximum value on [0,2][0, 2] cannot be attained at the interior point x=1x = 1⁠. So a=120a = 120 is the only possible value, and Step 4 showed that it does work.

    "Find the value" asks for every value that satisfies the condition. This step shows no other value can work; Step 4 shows this one does. Together they settle the question completely.
    A necessary condition narrows the candidates; a check shows the candidate is genuine. Lesson: maxima and minima
Result

a=120a = 120⁠. Then f(x)=x4−62x2+120x+9f(x) = x^4 - 62x^2 + 120x + 9⁠, and its maximum value on [0,2][0, 2] is f(1)=68f(1) = 68⁠. (Textbook answer: a=120a = 120⁠.)

Check it with numbers

With a=120a = 120⁠: f(0.9)=67.4361f(0.9) = 67.4361 (from 0.6561−50.22+108+90.6561 - 50.22 + 108 + 9⁠) and f(1.1)=67.4441f(1.1) = 67.4441 (from 1.4641−75.02+132+91.4641 - 75.02 + 132 + 9⁠), both just below f(1)=68f(1) = 68⁠. A computer search over x=0,0.0001,0.0002,…,2x = 0, 0.0001, 0.0002, \dots, 2 finds no value above 68. With a different value, say a=110a = 110⁠, the same search finds the greatest value about 58.44 at x≈0.91x \approx 0.91⁠, not at x=1x = 1⁠.

Common mistakes
  1. Setting f(1)f(1) equal to something. We are not told the maximum value, only where it occurs; the usable information is f′(1)=0f'(1) = 0⁠.
  2. Differentiating axax to 0. aa is a constant multiplier of xx⁠, so ddx(ax)=a\frac{d}{dx}(ax) = a⁠; only the constant term 9 disappears.
  3. Stopping at a=120a = 120⁠. f′(1)=0f'(1) = 0 is necessary but not sufficient; the table of values (or the sign of f′f'⁠) proves the maximum really is at x=1x = 1⁠.
  4. Forgetting the end points. On a closed interval the greatest value could sit at an end point; here f(0)=9f(0) = 9 and f(2)=17f(2) = 17 are smaller.
What to take away
  1. An extreme value at an interior point of a differentiable function forces f′=0f' = 0 there; use it as an equation when a constant is unknown.
  2. Always confirm the candidate: compare values (working rule) or read the sign of f′f'⁠.
  3. The same working rule, with numbers instead of a letter, is used in Exercise 6.3, Question 10 and Example 27.

Every fact used, and where it comes from

FactUsed inSource
Interior absolute maximum of a differentiable function: f′(c)=0f'(c) = 0Steps 1, 6Theorem 6(i), Section 6.4.1 (Lesson: absolute extrema)
Power rule; derivative of a constant multipleStep 2Chapter 5 (Basics: derivatives)
Factor theorem; factorising a quadraticStep 3Algebra (Basics: factorising)
A continuous function on [a,b][a, b] has a greatest and a least valueStep 4Theorem 5, Section 6.4.1
Working rule for absolute maximum and minimumStep 4Working Rule, Section 6.4.1 (Lesson: absolute extrema)
Sign of f′f' decides increasing or decreasingStep 5Theorem 1, Section 6.3 (Lesson: increasing and decreasing)
Second derivative testStep 5Theorem 4, Section 6.4 (Lesson: derivative tests)
Answer a=120a = 120ResultAnswers to Exercise 6.3, Question 11
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →