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

Exercise 6.3 · Q2: Maximum and minimum values of ∣x+2∣−1|x+2|-1⁠, −∣x+1∣+3-|x+1|+3⁠, sin⁡2x+5\sin 2x+5⁠, ∣sin⁡4x+3∣|\sin 4x+3|⁠, x+1x+1 on (−1,1)(-1,1)

Exercise 6.3Maximum and minimum values · Section 6.4
The question

2. Find the maximum and minimum values, if any, of the following functions given by

(i) f(x)=∣x+2∣−1f(x)=|x+2|-1    (ii) g(x)=−∣x+1∣+3g(x)=-|x+1|+3

(iii) h(x)=sin⁡(2x)+5h(x)=\sin(2x)+5    (iv) f(x)=∣sin⁡4x+3∣f(x)=|\sin 4x+3|

(v) h(x)=x+1, x∈(−1,1)h(x)=x+1,\ x\in(-1,1)

Exam answer

(i) For all xx⁠, f(x)=∣x+2∣−1≥−1f(x) = |x + 2| - 1 \ge -1⁠, and f(−2)=−1f(-2) = -1⁠. Also f(x)→∞f(x) \to \infty as x→∞x \to \infty⁠.

Minimum value −1-1⁠; no maximum value.

(ii) For all xx⁠, g(x)=−∣x+1∣+3≤3g(x) = -|x + 1| + 3 \le 3⁠, and g(−1)=3g(-1) = 3⁠. Also g(x)→−∞g(x) \to -\infty as x→∞x \to \infty⁠.

Maximum value 33⁠; no minimum value.

(iii) As −1≤sin⁡2x≤1-1 \le \sin 2x \le 1⁠, we get 4≤h(x)≤64 \le h(x) \le 6⁠.

Also h(π4)=6h\left(\frac{\pi}{4}\right) = 6 and h(3π4)=4h\left(\frac{3\pi}{4}\right) = 4⁠.

Minimum value 44⁠; maximum value 66⁠.

(iv) As −1≤sin⁡4x≤1-1 \le \sin 4x \le 1⁠, we get 2≤sin⁡4x+3≤42 \le \sin 4x + 3 \le 4⁠. So f(x)=sin⁡4x+3f(x) = \sin 4x + 3⁠.

Also f(π8)=4f\left(\frac{\pi}{8}\right) = 4 and f(3π8)=2f\left(\frac{3\pi}{8}\right) = 2⁠.

Minimum value 22⁠; maximum value 44⁠.

(v) For −1<x<1-1 < x < 1⁠, 0<h(x)<20 < h(x) < 2⁠. For any cc in (−1,1)(-1, 1)⁠, the points c−12\frac{c - 1}{2} and c+12\frac{c + 1}{2} are also in (−1,1)(-1, 1)⁠, and

h(c−12)<h(c)<h(c+12)h\left(\frac{c - 1}{2}\right) < h(c) < h\left(\frac{c + 1}{2}\right)

So hh has neither a maximum nor a minimum value.

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

The one idea this problem is built on

Each function is built from a piece whose range we already know: ∣t∣|t| is never negative, and sin⁡t\sin t always lies between −1-1 and 11⁠. Shifting, flipping and adding constants moves these bounds in a predictable way. A bound is an extreme value only if some xx actually reaches it; in (v) the bounds 00 and 22 sit at end points that are left out of the interval, so they are never reached.

Given, to find, and the plan
Given
Five functions. In (i)–(iv) the domain is all of R\R⁠; in (v) it is the open interval (−1,1)(-1,1)⁠.
To find
The maximum value and the minimum value of each (Definition 3, Section 6.4), or a proof that they do not exist.
Plan
(1) Start from ∣t∣≥0|t|\ge0 or −1≤sin⁡t≤1-1\le\sin t\le1⁠. (2) Transform to get bounds for the function. (3) Find an xx that reaches each bound. (4) If a bound is not reached, or the function is unbounded, show that every candidate point is beaten.

Basics you need

1Maximum and minimum value (Definition 3)

The maximum value of ff on I is f(c)f(c) for some cc in I with f(c)≥f(x)f(c)\ge f(x) for all xx in I; similarly the minimum with ≤\le⁠. (The book prints >\gt and <\lt⁠; since x=cx=c is in I, they must be read as ≥\ge and ≤\le⁠.) Lesson: maxima and minima

2Absolute value

∣t∣≥0|t|\ge0 for every real tt⁠, with ∣t∣=0|t|=0 only when t=0t=0⁠. Also ∣t∣=t|t|=t when t≥0t\ge0⁠. Basics: signs

3Range of sine

−1≤sin⁡t≤1-1\le\sin t\le1 for every tt⁠. sin⁡t=1\sin t=1 exactly when t=π2+2nπt=\frac{\pi}{2}+2n\pi⁠, and sin⁡t=−1\sin t=-1 exactly when t=3π2+2nπt=\frac{3\pi}{2}+2n\pi (nn an integer). Basics: sin and cos on the unit circle

4Open intervals

(−1,1)(-1,1) contains every number strictly between −1-1 and 11 but not −1-1 or 11 themselves. Basics: interval notation

Part (i): f(x)=∣x+2∣−1f(x)=|x+2|-1

  1. Minimum value −1-1⁠, at x=−2x=-2

    Since ∣x+2∣≥0|x+2|\ge0 for all xx⁠, subtracting 11 gives

    f(x)=∣x+2∣−1 ≥ −1for all x∈R.f(x)=|x+2|-1\ \ge\ -1\quad\text{for all } x\in\R.

    Equality needs ∣x+2∣=0|x+2|=0⁠, i.e. x=−2x=-2⁠, and f(−2)=0−1=−1f(-2)=0-1=-1⁠. So the minimum value is −1-1⁠, at x=−2x=-2.

    This is Example 15 (∣x∣|x| has minimum 00 at 00⁠) moved 22 units left and 11 unit down. Moving a graph does not change its shape, so the corner simply moves to (−2,−1)(-2,-1)⁠.
    ∣t∣≥0|t|\ge0⁠, equality only at t=0t=0⁠. Basics: signs
  2. No maximum value

    f(x)=d−1f(x)=d-1⁠, where d=∣x+2∣d=|x+2| is the distance from xx to −2-2⁠. For any point cc⁠, move one unit further from −2-2⁠: x=c+1x=c+1 if c≥−2c\ge-2⁠, x=c−1x=c-1 if c<−2c\lt-2⁠. The distance grows by 11⁠, so f(x)=f(c)+1>f(c)f(x)=f(c)+1\gt f(c)⁠. No candidate survives: there is no maximum value.

    The graph is a V whose arms go up for ever. To be completely rigorous we beat an arbitrary cc⁠, not just "large xx".
  3. Cross-check: a corner, not a zero derivative

    For x<−2x\lt-2⁠, f(x)=−(x+2)−1f(x)=-(x+2)-1⁠, so f′(x)=−1<0f'(x)=-1\lt0⁠. For x>−2x\gt-2⁠, f(x)=(x+2)−1f(x)=(x+2)-1⁠, so f′(x)=1>0f'(x)=1\gt0⁠. At x=−2x=-2⁠, ff is not differentiable (the two slopes differ), so −2-2 is a critical point. f′f' changes from negative to positive there and ff is continuous at −2-2⁠, so by the first derivative test (Theorem 3(ii)) x=−2x=-2 is a point of local minima.

    Theorem 2 says an extreme point inside an open interval has f′(c)=0f'(c)=0 or is a point where ff is not differentiable. Here it is the second kind, exactly as in Example 19 (3+∣x∣3+|x|⁠).
    Theorem 2, the Note on critical points, Theorem 3, Example 19. Lesson: first and second derivative tests
x y O −4 −2 2 −1 1 3 (−2, −1)
f(x)=∣x+2∣−1f(x)=|x+2|-1⁠: a V with its corner at (−2,−1)(-2,-1) on the dashed line y=−1y=-1⁠. Both arms rise without end.

Part (ii): g(x)=−∣x+1∣+3g(x)=-|x+1|+3

  1. Maximum value 33⁠, at x=−1x=-1

    From ∣x+1∣≥0|x+1|\ge0 we get −∣x+1∣≤0-|x+1|\le0⁠, so

    g(x)=3−∣x+1∣ ≤ 3for all x∈R,g(x)=3-|x+1|\ \le\ 3\quad\text{for all } x\in\R,

    with equality only at x=−1x=-1⁠, where g(−1)=−0+3=3g(-1)=-0+3=3⁠. So the maximum value is 33⁠, at x=−1x=-1.

    The minus sign turns the V upside down, so the corner becomes the highest point.
    Multiplying an inequality by −1-1 reverses it. Basics: signs
  2. No minimum value

    g(x)=3−dg(x)=3-d with d=∣x+1∣d=|x+1|⁠. For any point cc⁠, the point one unit further from −1-1 (c+1c+1 if c≥−1c\ge-1⁠, c−1c-1 if c<−1c\lt-1⁠) gives the value g(c)−1<g(c)g(c)-1\lt g(c)⁠. So there is no minimum value.

    The arms of the upside-down V fall without end.
  3. Cross-check with the first derivative test

    For x<−1x\lt-1⁠: g(x)=(x+1)+3g(x)=(x+1)+3⁠, g′(x)=1>0g'(x)=1\gt0⁠. For x>−1x\gt-1⁠: g(x)=−(x+1)+3g(x)=-(x+1)+3⁠, g′(x)=−1<0g'(x)=-1\lt0⁠. gg is continuous at −1-1 and g′g' changes from positive to negative there, so x=−1x=-1 is a point of local maxima (Theorem 3(i)). ✓

    For x<−1x\lt-1⁠, x+1<0x+1\lt0 and ∣x+1∣=−(x+1)|x+1|=-(x+1)⁠; for x>−1x\gt-1⁠, ∣x+1∣=x+1|x+1|=x+1⁠. That is how each side's formula was written.
    Theorem 3 (First Derivative Test). Lesson: first and second derivative tests
x y O −4 −1 2 −1 1 3 (−1, 3)
g(x)=−∣x+1∣+3g(x)=-|x+1|+3⁠: an upside-down V with its peak at (−1,3)(-1,3) on the dashed line y=3y=3⁠. Both arms fall without end.

Part (iii): h(x)=sin⁡(2x)+5h(x)=\sin(2x)+5

  1. Bounds from the range of sine

    For every xx⁠, −1≤sin⁡2x≤1-1\le\sin 2x\le1⁠. Adding 55 throughout,

    4 ≤ h(x)=sin⁡2x+5 ≤ 6for all x∈R.4\ \le\ h(x)=\sin 2x+5\ \le\ 6\quad\text{for all } x\in\R.
    Whatever the angle 2x2x is, its sine lies in [−1,1][-1,1]⁠. Adding the same number to all three parts of an inequality keeps it true.
    −1≤sin⁡t≤1-1\le\sin t\le1⁠. Basics: sin and cos on the unit circle
  2. Both bounds are reached

    h(x)=6h(x)=6 needs sin⁡2x=1\sin 2x=1⁠: 2x=π2+2nπ2x=\frac{\pi}{2}+2n\pi⁠, so x=π4+nπx=\frac{\pi}{4}+n\pi⁠. For example h ⁣(π4)=sin⁡π2+5=6h\!\left(\frac{\pi}{4}\right)=\sin\frac{\pi}{2}+5=6⁠.

    h(x)=4h(x)=4 needs sin⁡2x=−1\sin 2x=-1⁠: 2x=3π2+2nπ2x=\frac{3\pi}{2}+2n\pi⁠, so x=3π4+nπx=\frac{3\pi}{4}+n\pi⁠. For example h ⁣(3π4)=sin⁡3π2+5=4h\!\left(\frac{3\pi}{4}\right)=\sin\frac{3\pi}{2}+5=4⁠.

    So the maximum value is 66 and the minimum value is 44.

    Definition 3 asks for one point where the value is reached; we have infinitely many, one in every stretch of length π\pi⁠. The value is the same at all of them.
    Definition 3, Section 6.4. Lesson: maxima and minima
  3. Cross-check with derivatives

    By the chain rule, h′(x)=2cos⁡2xh'(x)=2\cos 2x and h′′(x)=−4sin⁡2xh''(x)=-4\sin 2x⁠. At x=π4x=\frac{\pi}{4}⁠: h′=2cos⁡π2=0h'=2\cos\frac{\pi}{2}=0⁠, h′′=−4<0h''=-4\lt0⁠, a point of local maxima. At x=3π4x=\frac{3\pi}{4}⁠: h′=2cos⁡3π2=0h'=2\cos\frac{3\pi}{2}=0⁠, h′′=−4(−1)=4>0h''=-4(-1)=4\gt0⁠, a point of local minima (Theorem 4). ✓

    Inner function 2x2x (derivative 22⁠), outer function sin⁡\sin (derivative cos⁡\cos⁠). The derivative test confirms the shape; the range argument already proved the values.
    Theorem 4 (Second Derivative Test). Lesson: tests
x y O π/4 3π/4 5π/4 7π/4 4 5 6 y = 6 y = 4
h(x)=sin⁡2x+5h(x)=\sin 2x+5 for 0≤x≤2π0\le x\le 2\pi (the pattern repeats every π\pi⁠): the wave stays between the dashed lines y=4y=4 and y=6y=6 and touches each one.

Part (iv): f(x)=∣sin⁡4x+3∣f(x)=|\sin 4x+3|

  1. The absolute value changes nothing here

    From −1≤sin⁡4x≤1-1\le\sin 4x\le1⁠, adding 33⁠:

    2 ≤ sin⁡4x+3 ≤ 4.2\ \le\ \sin 4x+3\ \le\ 4.

    So sin⁡4x+3\sin 4x+3 is always positive, and the absolute value of a positive number is the number itself: f(x)=sin⁡4x+3f(x)=\sin 4x+3 for every xx⁠.

    The modulus only matters when the inside can be negative. Checking the sign first saves us from splitting into cases that never happen.
    ∣t∣=t|t|=t when t≥0t\ge0⁠. Basics: signs
  2. Both bounds are reached

    f(x)=4f(x)=4 when sin⁡4x=1\sin 4x=1⁠: 4x=π2+2nπ4x=\frac{\pi}{2}+2n\pi⁠, x=π8+nπ2x=\frac{\pi}{8}+\frac{n\pi}{2}⁠. Check: f ⁣(π8)=∣sin⁡π2+3∣=4f\!\left(\frac{\pi}{8}\right)=|\sin\frac{\pi}{2}+3|=4⁠.

    f(x)=2f(x)=2 when sin⁡4x=−1\sin 4x=-1⁠: 4x=3π2+2nπ4x=\frac{3\pi}{2}+2n\pi⁠, x=3π8+nπ2x=\frac{3\pi}{8}+\frac{n\pi}{2}⁠. Check: f ⁣(3π8)=∣−1+3∣=2f\!\left(\frac{3\pi}{8}\right)=|-1+3|=2⁠.

    So the maximum value is 44 and the minimum value is 22.

    Dividing 4x=π2+2nπ4x=\frac{\pi}{2}+2n\pi by 44 divides the spacing 2nπ2n\pi by 44 as well, giving nπ2\frac{n\pi}{2}⁠.
    sin⁡t=±1\sin t=\pm1 at t=π2+2nπt=\frac{\pi}{2}+2n\pi⁠, 3π2+2nπ\frac{3\pi}{2}+2n\pi⁠. Basics: sin and cos on the unit circle
x y O π/8 3π/8 5π/8 7π/8 2 3 4 y = 4 y = 2
f(x)=∣sin⁡4x+3∣f(x)=|\sin 4x+3| for 0≤x≤π0\le x\le\pi⁠: the inside is always between 22 and 44⁠, so the modulus does nothing; the graph touches y=4y=4 and y=2y=2 twice each in this stretch.

Part (v): h(x)=x+1, x∈(−1,1)h(x)=x+1,\ x\in(-1,1)

  1. The values fill (0,2)(0,2) but never reach 00 or 22

    For −1<x<1-1\lt x\lt1⁠, adding 11 gives 0<h(x)<20\lt h(x)\lt2⁠. The bounds 00 and 22 would need x=−1x=-1 or x=1x=1⁠, which are not in the domain.

    This is Example 16 of the book (f(x)=xf(x)=x on (0,1)(0,1)⁠) shifted: a strictly increasing function on an open interval heads towards its end values but the end points are not available.
    Open interval: end points excluded. Basics: interval notation
  2. Every candidate point is beaten

    Take any c∈(−1,1)c\in(-1,1)⁠.

    • No maximum: the midpoint x1=c+12x_1=\frac{c+1}{2} of cc and 11 lies in (c,1)(c,1)⁠, so it is in the domain and h(x1)=x1+1>c+1=h(c)h(x_1)=x_1+1\gt c+1=h(c)⁠.
    • No minimum: the midpoint x2=c−12x_2=\frac{c-1}{2} of −1-1 and cc lies in (−1,c)(-1,c)⁠, so h(x2)<h(c)h(x_2)\lt h(c)⁠.

    So no point gives the largest value and none gives the smallest: hh has neither a maximum nor a minimum value.

    Check the midpoints really are inside: c<c+12<1c\lt\frac{c+1}{2}\lt1 because c<1c\lt1⁠, and −1<c−12<c-1\lt\frac{c-1}{2}\lt c because c>−1c\gt-1⁠. Between any point and an excluded end point there is always room for another point.
    Definition 3, Section 6.4; compare Example 16. Lesson: maxima and minima
x y O −1 1 2 (1, 2) (−1, 0)
h(x)=x+1h(x)=x+1 on (−1,1)(-1,1)⁠: the open circles at (−1,0)(-1,0) and (1,2)(1,2) are not part of the graph, so there is no lowest and no highest point.
Result

(i) Minimum value −1-1 (at x=−2x=-2⁠); no maximum value.

(ii) Maximum value 33 (at x=−1x=-1⁠); no minimum value.

(iii) Minimum value 44⁠, maximum value 66⁠.

(iv) Minimum value 22⁠, maximum value 44⁠.

(v) Neither a maximum nor a minimum value.

(Textbook answer: (i) Minimum Value = −1; No maximum value (ii) Maximum Value = 3; No minimum value (iii) Minimum Value = 4; Maximum Value = 6 (iv) Minimum Value = 2; Maximum Value = 4 (v) Neither minimum nor Maximum Value.)

Check it with numbers

(i) f(−2.1)=f(−1.9)=−0.9>−1=f(−2)f(-2.1)=f(-1.9)=-0.9\gt-1=f(-2)⁠. ✓ (ii) g(−1.1)=g(−0.9)=2.9<3g(-1.1)=g(-0.9)=2.9\lt3⁠. ✓

(iii) h(0.8)=sin⁡1.6+5≈5.99957h(0.8)=\sin1.6+5\approx5.99957⁠, just below 66⁠; h(π/4)=6h(\pi/4)=6⁠. ✓

(iv) f(0.4)=∣sin⁡1.6+3∣≈3.99957f(0.4)=|\sin1.6+3|\approx3.99957⁠, just below 44⁠; f(π/8)=4f(\pi/8)=4⁠. ✓

(v) c=0.9c=0.9⁠: h(0.95)=1.95>1.9=h(0.9)h(0.95)=1.95\gt1.9=h(0.9)⁠; c=−0.9c=-0.9⁠: h(−0.95)=0.05<0.1h(-0.95)=0.05\lt0.1⁠. ✓

Common mistakes
  1. Looking for f′(x)=0f'(x)=0 in (i) and (ii). The derivative is never zero there; the extreme point is a corner where ff is not differentiable.
  2. Splitting (iv) into cases for the modulus. sin⁡4x+3≥2>0\sin4x+3\ge2\gt0 always, so ∣sin⁡4x+3∣=sin⁡4x+3|\sin4x+3|=\sin4x+3⁠.
  3. Giving 22 and 00 as the maximum and minimum in (v). Those values need x=±1x=\pm1⁠, which are excluded from (−1,1)(-1,1)⁠.
  4. Writing 66 and 44 without showing they are reached. A bound is the maximum value only if some xx attains it, here x=π4x=\frac{\pi}{4} and x=3π4x=\frac{3\pi}{4}⁠.
What to take away
  1. Known ranges (∣t∣≥0|t|\ge0⁠, −1≤sin⁡t≤1-1\le\sin t\le1⁠) give extreme values quickly; then exhibit a point that reaches each bound.
  2. Extreme points can be corners where the derivative does not exist (Theorem 2 allows both kinds).
  3. On an open interval, a strictly increasing function has no maximum and no minimum value: the end values are approached, never reached.

Every fact used, and where it comes from

FactUsed inSource
Maximum and minimum value on I (printed with >\gt⁠, <\lt⁠; read as ≥\ge⁠, ≤\le⁠)Every partDefinition 3, Section 6.4 (Lesson: maxima and minima)
∣t∣≥0|t|\ge0⁠, equality only at 00⁠; ∣x∣|x| has minimum 00 and no maximumParts (i), (ii), Step 1; Part (iv), Step 1Definition of modulus; Example 15, Section 6.4
Critical point (f′=0f'=0 or not differentiable); first derivative test at a cornerPart (i), Step 3; Part (ii), Step 3Theorem 2, Note on critical points, Theorem 3, Example 19 (Section 6.4)
−1≤sin⁡t≤1-1\le\sin t\le1⁠; where sin⁡t=±1\sin t=\pm1Parts (iii), (iv)Class XI, Chapter 3 (Trigonometric Functions) (Basics)
Second derivative testPart (iii), Step 3Theorem 4, Section 6.4
Strictly increasing function on an open interval has no maximum or minimum valuePart (v)Example 16 and the Remark after it, Section 6.4
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 →