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

Exercise 6.3 · Q5: Absolute maximum and minimum of x3x^3⁠, sin⁡x+cos⁡x\sin x+\cos x⁠, 4x−12x24x-\tfrac12x^2⁠, (x−1)2+3(x-1)^2+3 on closed intervals

Exercise 6.3Absolute extrema on a closed interval · Section 6.4.1
The question

5. Find the absolute maximum value and the absolute minimum value of the following functions in the given intervals:

(i) f(x)=x3, x∈[−2,2]f(x)=x^3,\ x\in[-2,2]    (ii) f(x)=sin⁡x+cos⁡x, x∈[0,π]f(x)=\sin x+\cos x,\ x\in[0,\pi]

(iii) f(x)=4x−12x2, x∈[−2,92]f(x)=4x-\dfrac12x^2,\ x\in\left[-2,\dfrac92\right]    (iv) f(x)=(x−1)2+3, x∈[−3,1]f(x)=(x-1)^2+3,\ x\in[-3,1]

Exam answer

(i) f′(x)=3x2=0f'(x) = 3x^2 = 0 gives x=0x = 0⁠, which lies in [−2,2][-2, 2]⁠.

f(−2)=−8f(0)=0f(2)=8\begin{aligned} f(-2) &= -8 \\ f(0) &= 0 \\ f(2) &= 8 \end{aligned}

Absolute maximum value f(2)=8f(2) = 8⁠; absolute minimum value f(−2)=−8f(-2) = -8⁠.

(ii) f′(x)=cos⁡x−sin⁡x=0f'(x) = \cos x - \sin x = 0 gives tan⁡x=1\tan x = 1⁠, so x=π4x = \frac{\pi}{4} in [0,π][0, \pi]⁠.

f(0)=1f(π4)=2f(π)=−1\begin{aligned} f(0) &= 1 \\ f\left(\tfrac{\pi}{4}\right) &= \sqrt2 \\ f(\pi) &= -1 \end{aligned}

Absolute maximum value f(π4)=2f\left(\frac{\pi}{4}\right) = \sqrt2⁠; absolute minimum value f(π)=−1f(\pi) = -1⁠.

(iii) f′(x)=4−x=0f'(x) = 4 - x = 0 gives x=4x = 4⁠, which lies in [−2,92]\left[-2, \frac92\right]⁠.

f(−2)=−10f(4)=8f(92)=638\begin{aligned} f(-2) &= -10 \\ f(4) &= 8 \\ f\left(\tfrac92\right) &= \tfrac{63}{8} \end{aligned}

Absolute maximum value f(4)=8f(4) = 8⁠; absolute minimum value f(−2)=−10f(-2) = -10⁠.

(iv) f′(x)=2(x−1)=0f'(x) = 2(x - 1) = 0 gives x=1x = 1⁠, the right end point of [−3,1][-3, 1]⁠.

f(−3)=19f(1)=3\begin{aligned} f(-3) &= 19 \\ f(1) &= 3 \end{aligned}

Absolute maximum value f(−3)=19f(-3) = 19⁠; absolute minimum value f(1)=3f(1) = 3⁠.

For (iv) the answer key prints "Absolute minimum value = 19, absolute maximum value = 3", with maximum and minimum interchanged.

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

The one idea this problem is built on

On a closed interval a continuous function always has a greatest and a least value (Theorem 5). Each one occurs either at an end point or at an interior point; at an interior one the derivative must be zero (Theorem 6). So the only candidates are the end points and the critical points inside. Evaluate ff at all of them: the largest value is the absolute maximum, the smallest is the absolute minimum. No second derivative test is needed.

Given, to find, and the plan
Given
Four functions, each differentiable (hence continuous) on the stated closed interval.
To find
The absolute maximum value and the absolute minimum value of each on its interval.
Plan
The Working Rule of Section 6.4.1: step 1, critical points in the interval; step 2, the end points; step 3, the value of ff at every one of these; step 4, pick the largest and the smallest.

Basics you need

1Theorems 5 and 6 (Section 6.4.1)

Theorem 5: a continuous function on [a,b][a,b] has an absolute maximum value and an absolute minimum value, each attained at least once. Theorem 6: if ff is differentiable on the closed interval and attains its absolute maximum or minimum at an interior point cc⁠, then f′(c)=0f'(c)=0⁠. Lesson: absolute extrema on a closed interval

2The Working Rule

Rule step 1: critical points of ff in the interval. Rule step 2: the end points. Rule step 3: values of ff at all these points. Rule step 4: the largest is the absolute maximum value, the smallest the absolute minimum value.

3Closed intervals

[a,b][a,b] includes both end points, so they are genuine candidates. A critical point outside the interval is thrown away. Basics: interval notation

4Exact values

sin⁡π4=cos⁡π4=22\sin\frac{\pi}{4}=\cos\frac{\pi}{4}=\frac{\sqrt2}{2}⁠, sin⁡π=0\sin\pi=0⁠, cos⁡π=−1\cos\pi=-1⁠, 2≈1.414\sqrt2\approx1.414⁠. Basics: sin and cos on the unit circle

Part (i): f(x)=x3f(x)=x^3 on [−2,2][-2,2]

  1. Critical points in the interval

    f′(x)=3x2=0f'(x)=3x^2=0 only at x=0x=0⁠, which lies in [−2,2][-2,2]⁠.

    x3x^3 is a polynomial, so it is differentiable (and continuous) everywhere: Theorems 5 and 6 apply, and there are no points of non-differentiability to add.
    Working Rule, step 1. Lesson: absolute extrema
  2. Tabulate and compare

    xx−2-2 (end)00 (critical)22 (end)
    f(x)=x3f(x)=x^3−8-80088

    Absolute maximum value 88 (at x=2x=2⁠); absolute minimum value −8-8 (at x=−2x=-2⁠).

    The critical point x=0x=0 gives neither: x3x^3 only pauses there (Q1(iv) and the Remark after Theorem 2). That is fine; the rule just needs it in the list.
    Working Rule, steps 2–4.
x y O −2 −1 1 2 −8 8 max (2, 8) min (−2, −8)
y=x3y=x^3 on [−2,2][-2,2]⁠: the extremes are at the two end points; the flat point (0,0)(0,0) is neither.

Part (ii): f(x)=sin⁡x+cos⁡xf(x)=\sin x+\cos x on [0,π][0,\pi]

  1. Critical points in [0,π][0,\pi]

    f′(x)=cos⁡x−sin⁡xf'(x)=\cos x-\sin x⁠. If cos⁡x=0\cos x=0 (at x=π2x=\frac{\pi}{2}⁠) then f′=−1≠0f'=-1\ne0⁠, so at any zero of f′f' we may divide by cos⁡x\cos x⁠: tan⁡x=1\tan x=1⁠. In [0,π][0,\pi] this gives only x=π4x=\frac{\pi}{4} (the next solution, 5π4\frac{5\pi}{4}⁠, is beyond π\pi⁠).

    tan⁡x=1\tan x=1 needs sin⁡x\sin x and cos⁡x\cos x equal and non-zero: first or third quadrant. Only the first-quadrant angle lies in [0,π][0,\pi]⁠.
    tan⁡π4=1\tan\frac{\pi}{4}=1⁠. Basics: signs of sin and cos
  2. Tabulate and compare

    xx00 (end)π4\frac{\pi}{4} (critical)π\pi (end)
    sin⁡x+cos⁡x\sin x+\cos x0+1=10+1=122+22=2\frac{\sqrt2}{2}+\frac{\sqrt2}{2}=\sqrt20+(−1)=−10+(-1)=-1

    Since 2≈1.414>1>−1\sqrt2\approx1.414\gt1\gt-1⁠: absolute maximum value 2\sqrt2 (at x=π4x=\frac{\pi}{4}⁠); absolute minimum value −1-1 (at x=πx=\pi⁠).

    The minimum is at an end point. Without the end points in the list we would miss it, which is why step 2 of the rule matters.
    Working Rule, steps 2–4.
x y O π/4 π/2 π −1 1 max √2 at π/4 min −1 at π
sin⁡x+cos⁡x\sin x+\cos x on [0,π][0,\pi]⁠: starts at 11⁠, peaks at 2\sqrt2 when x=π4x=\frac{\pi}{4}⁠, ends lowest at −1-1 when x=πx=\pi⁠.

Part (iii): f(x)=4x−12x2f(x)=4x-\frac12x^2 on [−2,92]\left[-2,\frac92\right]

  1. Critical points in the interval

    f′(x)=4−xf'(x)=4-x⁠, zero at x=4x=4⁠. Since −2≤4≤92=4.5-2\le4\le\frac92=4.5⁠, it is in the interval.

    Always check that the critical point lies in the given interval before using it.
    Working Rule, step 1.
  2. Tabulate and compare

    xx−2-2 (end)44 (critical)92\frac92 (end)
    4x−12x24x-\frac12x^2−8−2=−10-8-2=-1016−8=816-8=818−818=63818-\frac{81}{8}=\frac{63}{8}

    638=7.875\frac{63}{8}=7.875⁠, so the values are −10-10⁠, 88⁠, 7.8757.875⁠: absolute maximum value 88 (at x=4x=4⁠); absolute minimum value −10-10 (at x=−2x=-2⁠).

    At x=92x=\frac92⁠: 4⋅92=184\cdot\frac92=18 and 12⋅814=818\frac12\cdot\frac{81}{4}=\frac{81}{8}⁠, so 18−818=144−818=63818-\frac{81}{8}=\frac{144-81}{8}=\frac{63}{8}⁠. It is close to 88 but smaller, so the peak is at the critical point.
    Working Rule, steps 2–4.
x y O −2 2 4 8 max (4, 8) min −10 (9/2, 63/8)
4x−12x24x-\frac12x^2 on [−2,92]\left[-2,\frac92\right]⁠: from (−2,−10)(-2,-10) up to the peak (4,8)(4,8)⁠, then down a little to (92,638)\left(\frac92,\frac{63}{8}\right)⁠.

Part (iv): f(x)=(x−1)2+3f(x)=(x-1)^2+3 on [−3,1][-3,1]

  1. Critical points

    f′(x)=2(x−1)f'(x)=2(x-1)⁠, zero only at x=1x=1⁠, which is the right end point of [−3,1][-3,1]⁠. So there is no critical point strictly inside; the candidates are just the end points −3-3 and 11⁠.

    Inside (−3,1)(-3,1)⁠, x−1<0x-1\lt0⁠, so f′(x)<0f'(x)\lt0⁠: ff is decreasing all the way along the interval. That already tells us the left end is highest and the right end lowest.
    Theorem 1, Section 6.3. Lesson: increasing and decreasing
  2. Tabulate and compare

    xx−3-3 (end)11 (end, critical)
    (x−1)2+3(x-1)^2+316+3=1916+3=190+3=30+3=3

    Absolute maximum value 1919 (at x=−3x=-3⁠); absolute minimum value 33 (at x=1x=1⁠).

    Direct check: for −3≤x≤1-3\le x\le1⁠, −4≤x−1≤0-4\le x-1\le0⁠, so 0≤(x−1)2≤160\le(x-1)^2\le16 and 3≤f(x)≤193\le f(x)\le19⁠, with 33 reached at x=1x=1 and 1919 at x=−3x=-3⁠.
    Working Rule, steps 2–4.
  3. A note on the answer key

    The book's answer for (iv) reads "Absolute minimum value = 19, absolute maximum value = 3". The two numbers are right but the words are swapped: a minimum value cannot be larger than the maximum value, and the table shows f(−3)=19f(-3)=19 is the largest value and f(1)=3f(1)=3 the smallest.

    In parts (i)–(iii) the key lists the minimum first and the maximum second, as here; in (iv) the two numbers were simply put in the wrong order.
x y O −3 −1 1 3 11 19 max (−3, 19) min (1, 3)
(x−1)2+3(x-1)^2+3 on [−3,1][-3,1] is the left half of a parabola: it falls from (−3,19)(-3,19) to its bottom (1,3)(1,3)⁠, which is also the right end point.
Result

(i) Absolute maximum value 88⁠, absolute minimum value −8-8⁠.

(ii) Absolute maximum value 2\sqrt2⁠, absolute minimum value −1-1⁠.

(iii) Absolute maximum value 88⁠, absolute minimum value −10-10⁠.

(iv) Absolute maximum value 1919⁠, absolute minimum value 33⁠.

(Textbook answer: (i) −8 and 8, (ii) −1 and √2, (iii) −10 and 8, as above. (iv) The key prints "Absolute minimum value = 19, absolute maximum value = 3", with maximum and minimum interchanged; see Part (iv), Step 3.)

Check it with numbers

(i) f(1.9)=6.859<8f(1.9)=6.859\lt8⁠, f(−1.9)=−6.859>−8f(-1.9)=-6.859\gt-8⁠. ✓

(ii) f(0.7)≈1.409060f(0.7)\approx1.409060⁠, below 2≈1.414214\sqrt2\approx1.414214⁠; f(3)≈0.141120−0.989992f(3)\approx0.141120-0.989992 =−0.848872>−1=-0.848872\gt-1⁠. ✓

(iii) f(3.9)=15.6−7.605=7.995<8f(3.9)=15.6-7.605=7.995\lt8⁠, f(−1.9)=−7.6−1.805=−9.405>−10f(-1.9)=-7.6-1.805=-9.405\gt-10⁠. ✓

(iv) f(−2.9)=18.21<19f(-2.9)=18.21\lt19⁠, f(0.9)=3.01>3f(0.9)=3.01\gt3⁠. ✓

Common mistakes
  1. Forgetting the end points. In (i), (ii) and (iv) at least one extreme is at an end point.
  2. Using a critical point outside the interval. In (ii), 5π4\frac{5\pi}{4} also solves tan⁡x=1\tan x=1 but is not in [0,π][0,\pi]⁠.
  3. Using the second derivative test for absolute extremes. It only gives local information; the rule is to compare values.
  4. Copying the key's wording in (iv). 1919 is the maximum and 33 the minimum.
What to take away
  1. On a closed interval: list the end points and the interior critical points, evaluate, compare.
  2. A table of values makes the comparison clear and easy to check.
  3. A critical point need not be an extreme (part (i)); it just has to be checked.

Every fact used, and where it comes from

FactUsed inSource
A continuous function on [a,b][a,b] has absolute maximum and minimum valuesEvery partTheorem 5, Section 6.4.1 (Lesson: absolute extrema)
At an interior absolute extreme, f′(c)=0f'(c)=0Every partTheorem 6, Section 6.4.1
Working Rule (critical points, end points, values, compare)Every partWorking Rule, Section 6.4.1; compare Examples 27 and 28
f′<0f'\lt0 on (a,b)(a,b) ⇒ ff decreasing on [a,b][a,b]Part (iv), Step 1Theorem 1, Section 6.3
Values of sin⁡\sin⁠, cos⁡\cos⁠, tan⁡\tan at 00⁠, π4\frac{\pi}{4}⁠, π2\frac{\pi}{2}⁠, π\piPart (ii)Class XI, Chapter 3 (Basics)
Answer for (iv) with maximum and minimum interchangedPart (iv), Step 3Answers, Exercise 6.3, Q5(iv)
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 →