SOLVER7 Study. Nothing Else.
Exercise 6.3 Q3(iv)

Find the local maxima and local minima, if any, of the following functions. Find also the local maximum and the local minimum values, as the case may be: \( f(x) = sin\ x\ –\ cos\ x, 0\)\(< x< 2\pi.\)

CBSE Class 12 Maths · Application of Derivatives

Solution

👶 Simple Explanation

Simple Explanation

Imagine a roller coaster ride. The highest point before it dips down is like a local maximum, and the lowest point before it climbs back up is a local minimum. For the ride described by \( \sin x - \cos x \), we look for where the ride momentarily flattens out. At \( x = \frac{3\pi}{4} \), the ride reaches a peak of \( \sqrt{2} \). At \( x = \frac{7\pi}{4} \), it dips to its lowest point of \( -\sqrt{2} \). Those are the special turning points of this mathematical roller coaster.

Answer: The function has a local maximum at \( x = \frac{3\pi}{4} \) with local maximum value \( \sqrt{2} \), and a local minimum at \( x = \frac{7\pi}{4} \) with local minimum value \( -\sqrt{2} \).

📖 Local Maxima and Minima of f(x) = sin x - cos x

Detailed Explanation

To find local maxima and minima of a differentiable function \( f(x) \), we first find the critical points by solving \( f'(x) = 0 \). These are the points where the tangent to the curve is horizontal. Then we use the second derivative test: if \( f''(c) < 0 \) at a critical point \( c \), the function has a local maximum there; if \( f''(c) > 0 \), it has a local minimum there. Here the function is \( f(x) = \sin x - \cos x \) on the open interval \( (0, 2\pi) \), so we only keep critical points lying strictly inside this interval.

Formula Used

Critical points: solve \( f'(x) = 0 \). Second derivative test: \( f''(c) < 0 \Rightarrow \) local maximum at \( c \); \( f''(c) > 0 \Rightarrow \) local minimum at \( c \). Also \( \frac{d}{dx}(\sin x) = \cos x \) and \( \frac{d}{dx}(\cos x) = -\sin x \).

Solution

  1. Step 1: Write the function and differentiate it. \[ f(x) = \sin x - \cos x \] Differentiating with respect to \( x \): \[ f'(x) = \cos x - (-\sin x) = \cos x + \sin x \]
  2. Step 2: Find the critical points by setting \( f'(x) = 0 \). \[ \cos x + \sin x = 0 \] This gives \[ \sin x = -\cos x \] Dividing both sides by \( \cos x \) (where it is non-zero): \[ \tan x = -1 \]
  3. Step 3: Solve \( \tan x = -1 \) in the interval \( (0, 2\pi) \). The tangent function is \( -1 \) in the second and fourth quadrants, so \[ x = \frac{3\pi}{4} \quad \text{and} \quad x = \frac{7\pi}{4} \] Both values lie strictly inside \( (0, 2\pi) \), so both are valid critical points.
  4. Step 4: Find the second derivative to apply the second derivative test. Differentiating \( f'(x) = \cos x + \sin x \): \[ f''(x) = -\sin x + \cos x \]
  5. Step 5: Test at \( x = \frac{3\pi}{4} \). Here \( \sin\frac{3\pi}{4} = \frac{1}{\sqrt{2}} \) and \( \cos\frac{3\pi}{4} = -\frac{1}{\sqrt{2}} \). \[ f''\left(\frac{3\pi}{4}\right) = -\frac{1}{\sqrt{2}} - \frac{1}{\sqrt{2}} = -\frac{2}{\sqrt{2}} = -\sqrt{2} \] Since \( f''\left(\frac{3\pi}{4}\right) < 0 \), there is a local maximum at \( x = \frac{3\pi}{4} \).
  6. Step 6: Compute the local maximum value. \[ f\left(\frac{3\pi}{4}\right) = \sin\frac{3\pi}{4} - \cos\frac{3\pi}{4} = \frac{1}{\sqrt{2}} - \left(-\frac{1}{\sqrt{2}}\right) = \frac{2}{\sqrt{2}} = \sqrt{2} \]
  7. Step 7: Test at \( x = \frac{7\pi}{4} \). Here \( \sin\frac{7\pi}{4} = -\frac{1}{\sqrt{2}} \) and \( \cos\frac{7\pi}{4} = \frac{1}{\sqrt{2}} \). \[ f''\left(\frac{7\pi}{4}\right) = -\left(-\frac{1}{\sqrt{2}}\right) + \frac{1}{\sqrt{2}} = \frac{2}{\sqrt{2}} = \sqrt{2} \] Since \( f''\left(\frac{7\pi}{4}\right) > 0 \), there is a local minimum at \( x = \frac{7\pi}{4} \).
  8. Step 8: Compute the local minimum value. \[ f\left(\frac{7\pi}{4}\right) = \sin\frac{7\pi}{4} - \cos\frac{7\pi}{4} = -\frac{1}{\sqrt{2}} - \frac{1}{\sqrt{2}} = -\frac{2}{\sqrt{2}} = -\sqrt{2} \]

Final Answer

The function has a local maximum at \( x = \frac{3\pi}{4} \) with local maximum value \( \sqrt{2} \), and a local minimum at \( x = \frac{7\pi}{4} \) with local minimum value \( -\sqrt{2} \).

Common Mistake

A common mistake is to include \( x = \frac{3\pi}{4} + n\pi \) values that fall outside the given interval \( (0, 2\pi) \), or to forget that the interval is open and mistakenly check the endpoints \( 0 \) and \( 2\pi \). Only critical points strictly inside \( (0, 2\pi) \) should be considered.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Write down the function and compute its first derivative. The given function is \( f(x) = \sin x - \cos x \) on the interval \( (0, 2\pi) \). Differentiating term by term: \[ f'(x) = \cos x + \sin x \] Reason: We need the first derivative to locate critical points, which are candidates for local extrema.
  2. Step 2: Set the first derivative equal to zero to find critical points: \[ \cos x + \sin x = 0 \] Rearranging gives \( \sin x = -\cos x \). Dividing both sides by \( \cos x \) (valid wherever \( \cos x \ne 0 \)): \[ \tan x = -1 \] Reason: Critical points occur where the slope of the tangent is zero, i.e., where \( f'(x) = 0 \).
  3. Step 3: Solve \( \tan x = -1 \) within \( (0, 2\pi) \). The tangent function is negative in the second and fourth quadrants. Using the reference angle \( \frac{\pi}{4} \): in the second quadrant, \( x = \pi - \frac{\pi}{4} = \frac{3\pi}{4} \), and in the fourth quadrant, \( x = 2\pi - \frac{\pi}{4} = \frac{7\pi}{4} \). Both values lie strictly inside \( (0, 2\pi) \), so the critical points are \( x = \frac{3\pi}{4} \) and \( x = \frac{7\pi}{4} \). Reason: We only accept critical points that fall within the given open interval.
  4. Step 4: Compute the second derivative to apply the second derivative test: \[ f''(x) = -\sin x + \cos x \] Reason: The sign of \( f''(x) \) at each critical point tells us whether the function is concave down (local max) or concave up (local min).
  5. Step 5: Evaluate \( f''(x) \) at \( x = \frac{3\pi}{4} \): \[ f''\!\left(\frac{3\pi}{4}\right) = -\sin\frac{3\pi}{4} + \cos\frac{3\pi}{4} = -\frac{\sqrt{2}}{2} - \frac{\sqrt{2}}{2} = -\sqrt{2} \] Since \( f''\!\left(\frac{3\pi}{4}\right) = -\sqrt{2} < 0 \), the function has a local maximum at \( x = \frac{3\pi}{4} \). Reason: A negative second derivative indicates the curve is concave downward at that point, confirming a local maximum.
  6. Step 6: Evaluate \( f''(x) \) at \( x = \frac{7\pi}{4} \): \[ f''\!\left(\frac{7\pi}{4}\right) = -\sin\frac{7\pi}{4} + \cos\frac{7\pi}{4} = \frac{\sqrt{2}}{2} + \frac{\sqrt{2}}{2} = \sqrt{2} \] Since \( f''\!\left(\frac{7\pi}{4}\right) = \sqrt{2} > 0 \), the function has a local minimum at \( x = \frac{7\pi}{4} \). Reason: A positive second derivative indicates the curve is concave upward at that point, confirming a local minimum.
  7. Step 7: Calculate the actual local maximum and minimum values by substituting back into \( f(x) \). At \( x = \frac{3\pi}{4} \): \[ f\!\left(\frac{3\pi}{4}\right) = \sin\frac{3\pi}{4} - \cos\frac{3\pi}{4} = \frac{\sqrt{2}}{2} - \left(-\frac{\sqrt{2}}{2}\right) = \sqrt{2} \] At \( x = \frac{7\pi}{4} \): \[ f\!\left(\frac{7\pi}{4}\right) = \sin\frac{7\pi}{4} - \cos\frac{7\pi}{4} = -\frac{\sqrt{2}}{2} - \frac{\sqrt{2}}{2} = -\sqrt{2} \] Reason: The value of \( f \) at the critical point gives the actual height (or depth) of the extremum.

Final Answer

The function has a local maximum at \( x = \frac{3\pi}{4} \) with local maximum value \( \sqrt{2} \), and a local minimum at \( x = \frac{7\pi}{4} \) with local minimum value \( -\sqrt{2} \).

Common Mistake

One common mistake: forgetting to check whether the critical points actually lie within the given open interval \( (0, 2\pi) \). Always verify that each solution of \( f'(x) = 0 \) is strictly inside the domain before classifying it as a local extremum.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Differentiate: \ \( f(x) = \sin x - \cos x \), so \( f'(x) = \cos x + \sin x \). Set \( f'(x) = 0 \): \( \tan x = -1 \), giving \( x = \frac{3\pi}{4} \) and \( x = \frac{7\pi}{4} \) in \( (0, 2\pi) \).
  2. Step 2: Second derivative: \( f''(x) = -\sin x + \cos x \). At \( x = \frac{3\pi}{4} \): \( f''\!\left(\frac{3\pi}{4}\right) = -\frac{1}{\sqrt{2}} - \frac{1}{\sqrt{2}} = -\sqrt{2} < 0 \) — local maximum.
  3. Step 3: At \( x = \frac{7\pi}{4} \): \( f''\!\left(\frac{7\pi}{4}\right) = \frac{1}{\sqrt{2}} + \frac{1}{\sqrt{2}} = \sqrt{2} > 0 \) — local minimum.
  4. Step 4: Values: \( f\!\left(\frac{3\pi}{4}\right) = \frac{1}{\sqrt{2}} + \frac{1}{\sqrt{2}} = \sqrt{2} \); \( f\!\left(\frac{7\pi}{4}\right) = -\frac{1}{\sqrt{2}} - \frac{1}{\sqrt{2}} = -\sqrt{2} \).

Answer: The function has a local maximum at \( x = \frac{3\pi}{4} \) with local maximum value \( \sqrt{2} \), and a local minimum at \( x = \frac{7\pi}{4} \) with local minimum value \( -\sqrt{2} \).

➕ More Examples

More Examples

Example 1

Question: Find the local maxima and local minima, if any, of the function \( f(x) = \sin x + \cos x \) on \( 0 < x < 2\pi \). Also find the local maximum and local minimum values.

Solution: We are given \( f(x) = \sin x + \cos x \) on \( (0,\, 2\pi) \). Step 1: Find the first derivative. \[ f'(x) = \cos x - \sin x \] Step 2: Set \( f'(x) = 0 \) to find critical points. \[ \cos x - \sin x = 0 \] This gives \( \cos x = \sin x \), i.e., \( \tan x = 1 \). Within \( (0,\, 2\pi) \), \( \tan x = 1 \) at \( x = \dfrac{\pi}{4} \) and \( x = \dfrac{5\pi}{4} \). So the critical points are \( x = \dfrac{\pi}{4} \) and \( x = \dfrac{5\pi}{4} \). Step 3: Find the second derivative. \[ f''(x) = -\sin x - \cos x \] Step 4: Apply the second derivative test. At \( x = \dfrac{\pi}{4} \): \[ f''\!\left(\frac{\pi}{4}\right) = -\sin\frac{\pi}{4} - \cos\frac{\pi}{4} = -\frac{1}{\sqrt{2}} - \frac{1}{\sqrt{2}} = -\frac{2}{\sqrt{2}} = -\sqrt{2} < 0 \] Since \( f''\!\left(\dfrac{\pi}{4}\right) < 0 \), \( f \) has a local maximum at \( x = \dfrac{\pi}{4} \). The local maximum value is: \[ f\!\left(\frac{\pi}{4}\right) = \sin\frac{\pi}{4} + \cos\frac{\pi}{4} = \frac{1}{\sqrt{2}} + \frac{1}{\sqrt{2}} = \frac{2}{\sqrt{2}} = \sqrt{2} \] At \( x = \dfrac{5\pi}{4} \): \[ f''\!\left(\frac{5\pi}{4}\right) = -\sin\frac{5\pi}{4} - \cos\frac{5\pi}{4} = -\left(-\frac{1}{\sqrt{2}}\right) - \left(-\frac{1}{\sqrt{2}}\right) = \frac{1}{\sqrt{2}} + \frac{1}{\sqrt{2}} = \sqrt{2} > 0 \] Since \( f''\!\left(\dfrac{5\pi}{4}\right) > 0 \), \( f \) has a local minimum at \( x = \dfrac{5\pi}{4} \). The local minimum value is: \[ f\!\left(\frac{5\pi}{4}\right) = \sin\frac{5\pi}{4} + \cos\frac{5\pi}{4} = -\frac{1}{\sqrt{2}} + \left(-\frac{1}{\sqrt{2}}\right) = -\frac{2}{\sqrt{2}} = -\sqrt{2} \]

Answer: Local maximum value \( \sqrt{2} \) at \( x = \dfrac{\pi}{4} \); Local minimum value \( -\sqrt{2} \) at \( x = \dfrac{5\pi}{4} \).

Example 2

Question: Find the local maxima and local minima, if any, of the function \( f(x) = 2\sin x - \cos 2x \) on \( 0 < x < 2\pi \). Also find the local maximum and local minimum values.

Solution: We are given \( f(x) = 2\sin x - \cos 2x \) on \( (0,\, 2\pi) \). Step 1: Find the first derivative. \[ f'(x) = 2\cos x + 2\sin 2x \] Using the identity \( \sin 2x = 2\sin x\cos x \): \[ f'(x) = 2\cos x + 4\sin x\cos x = 2\cos x\,(1 + 2\sin x) \] Step 2: Set \( f'(x) = 0 \). \[ 2\cos x\,(1 + 2\sin x) = 0 \] This gives either \( \cos x = 0 \) or \( \sin x = -\dfrac{1}{2} \). Case 1: \( \cos x = 0 \) in \( (0,\, 2\pi) \) gives \( x = \dfrac{\pi}{2} \) and \( x = \dfrac{3\pi}{2} \). Case 2: \( \sin x = -\dfrac{1}{2} \) in \( (0,\, 2\pi) \) gives \( x = \dfrac{7\pi}{6} \) and \( x = \dfrac{11\pi}{6} \). So the critical points are \( x = \dfrac{\pi}{2},\, \dfrac{3\pi}{2},\, \dfrac{7\pi}{6},\, \dfrac{11\pi}{6} \). Step 3: Find the second derivative. \[ f''(x) = -2\sin x + 4\cos 2x \] Step 4: Apply the second derivative test at each critical point. At \( x = \dfrac{\pi}{2} \): \[ f''\!\left(\frac{\pi}{2}\right) = -2\sin\frac{\pi}{2} + 4\cos\pi = -2(1) + 4(-1) = -2 - 4 = -6 < 0 \] So \( f \) has a local maximum at \( x = \dfrac{\pi}{2} \). The local maximum value is: \[ f\!\left(\frac{\pi}{2}\right) = 2\sin\frac{\pi}{2} - \cos\pi = 2(1) - (-1) = 2 + 1 = 3 \] At \( x = \dfrac{3\pi}{2} \): \[ f''\!\left(\frac{3\pi}{2}\right) = -2\sin\frac{3\pi}{2} + 4\cos 3\pi = -2(-1) + 4(-1) = 2 - 4 = -2 < 0 \] So \( f \) has a local maximum at \( x = \dfrac{3\pi}{2} \). The local maximum value is: \[ f\!\left(\frac{3\pi}{2}\right) = 2\sin\frac{3\pi}{2} - \cos 3\pi = 2(-1) - (-1) = -2 + 1 = -1 \] At \( x = \dfrac{7\pi}{6} \): \[ f''\!\left(\frac{7\pi}{6}\right) = -2\sin\frac{7\pi}{6} + 4\cos\frac{7\pi}{3} \] Now, \( \sin\dfrac{7\pi}{6} = -\dfrac{1}{2} \) and \( \cos\dfrac{7\pi}{3} = \cos\!\left(2\pi + \dfrac{\pi}{3}\right) = \cos\dfrac{\pi}{3} = \dfrac{1}{2} \). So: \[ f''\!\left(\frac{7\pi}{6}\right) = -2\!\left(-\frac{1}{2}\right) + 4\!\left(\frac{1}{2}\right) = 1 + 2 = 3 > 0 \] So \( f \) has a local minimum at \( x = \dfrac{7\pi}{6} \). The local minimum value is: \[ f\!\left(\frac{7\pi}{6}\right) = 2\sin\frac{7\pi}{6} - \cos\frac{7\pi}{3} = 2\!\left(-\frac{1}{2}\right) - \frac{1}{2} = -1 - \frac{1}{2} = -\frac{3}{2} \] At \( x = \dfrac{11\pi}{6} \): \[ f''\!\left(\frac{11\pi}{6}\right) = -2\sin\frac{11\pi}{6} + 4\cos\frac{11\pi}{3} \] Now, \( \sin\dfrac{11\pi}{6} = -\dfrac{1}{2} \) and \( \cos\dfrac{11\pi}{3} = \cos\!\left(4\pi - \dfrac{\pi}{3}\right) = \cos\dfrac{\pi}{3} = \dfrac{1}{2} \). So: \[ f''\!\left(\frac{11\pi}{6}\right) = -2\!\left(-\frac{1}{2}\right) + 4\!\left(\frac{1}{2}\right) = 1 + 2 = 3 > 0 \] So \( f \) has a local minimum at \( x = \dfrac{11\pi}{6} \). The local minimum value is: \[ f\!\left(\frac{11\pi}{6}\right) = 2\sin\frac{11\pi}{6} - \cos\frac{11\pi}{3} = 2\!\left(-\frac{1}{2}\right) - \frac{1}{2} = -1 - \frac{1}{2} = -\frac{3}{2} \]

Answer: Local maxima: value \( 3 \) at \( x = \dfrac{\pi}{2} \), and value \( -1 \) at \( x = \dfrac{3\pi}{2} \). Local minima: value \( -\dfrac{3}{2} \) at \( x = \dfrac{7\pi}{6} \) and at \( x = \dfrac{11\pi}{6} \).

🎯 Try a Similar Question

Try a Similar Question

Question: Find the local maxima and local minima, if any, of the function \( f(x) = \sin x + \cos x \), where \( 0 < x < 2\pi \). Also find the local maximum and local minimum values.

Solution

  1. Step 1: Find the First Derivative: Differentiate \( f(x) = \sin x + \cos x \) with respect to \( x \): \[ f'(x) = \cos x - \sin x \]
  2. Step 2: Set the First Derivative to Zero: Set \( f'(x) = 0 \) to find critical points: \[ \cos x - \sin x = 0 \] This gives \( \cos x = \sin x \), or equivalently \( \tan x = 1 \). In the interval \( (0, 2\pi) \), the solutions are: \[ x = \frac{\pi}{4} \quad \text{and} \quad x = \frac{5\pi}{4} \]
  3. Step 3: Find the Second Derivative: Differentiate \( f'(x) = \cos x - \sin x \): \[ f''(x) = -\sin x - \cos x \]
  4. Step 4: Apply the Second Derivative Test at \( x = \frac{\pi}{4} \): Evaluate \( f''\left(\frac{\pi}{4}\right) \): \[ f''\left(\frac{\pi}{4}\right) = -\sin\frac{\pi}{4} - \cos\frac{\pi}{4} = -\frac{1}{\sqrt{2}} - \frac{1}{\sqrt{2}} = -\frac{2}{\sqrt{2}} = -\sqrt{2} \] Since \( f''\left(\frac{\pi}{4}\right) = -\sqrt{2} < 0 \), the function has a local maximum at \( x = \frac{\pi}{4} \). The local maximum value is: \[ f\left(\frac{\pi}{4}\right) = \sin\frac{\pi}{4} + \cos\frac{\pi}{4} = \frac{1}{\sqrt{2}} + \frac{1}{\sqrt{2}} = \frac{2}{\sqrt{2}} = \sqrt{2} \]
  5. Step 5: Apply the Second Derivative Test at \( x = \frac{5\pi}{4} \): Evaluate \( f''\left(\frac{5\pi}{4}\right) \): \[ f''\left(\frac{5\pi}{4}\right) = -\sin\frac{5\pi}{4} - \cos\frac{5\pi}{4} = -\left(-\frac{1}{\sqrt{2}}\right) - \left(-\frac{1}{\sqrt{2}}\right) = \frac{1}{\sqrt{2}} + \frac{1}{\sqrt{2}} = \sqrt{2} \] Since \( f''\left(\frac{5\pi}{4}\right) = \sqrt{2} > 0 \), the function has a local minimum at \( x = \frac{5\pi}{4} \). The local minimum value is: \[ f\left(\frac{5\pi}{4}\right) = \sin\frac{5\pi}{4} + \cos\frac{5\pi}{4} = -\frac{1}{\sqrt{2}} + \left(-\frac{1}{\sqrt{2}}\right) = -\frac{2}{\sqrt{2}} = -\sqrt{2} \]
  6. Step 6: Conclusion: The function \( f(x) = \sin x + \cos x \) has a local maximum at \( x = \frac{\pi}{4} \) with local maximum value \( \sqrt{2} \), and a local minimum at \( x = \frac{5\pi}{4} \) with local minimum value \( -\sqrt{2} \).

Answer: The function \( f(x) = \sin x + \cos x \) has a local maximum at \( x = \frac{\pi}{4} \) with local maximum value \( \sqrt{2} \), and a local minimum at \( x = \frac{5\pi}{4} \) with local minimum value \( -\sqrt{2} \).

Everything you get with Solver7

More questions in Application of Derivatives

Chapter 6 Examples Q1 Chapter 6 Examples Q2 Chapter 6 Examples Q3 Chapter 6 Examples Q4 65/1/1 2024 / Section A Q4 Chapter 6 Examples Q5 65(B) 2026 / Section A Q5 65/2/1 2024 / Section A Q5 65/3/1 2024 / Section A Q5 Chapter 6 Examples Q6 65/4/1 2026 / Section A Q6 Chapter 6 Examples Q7 65/1/1 2026 / Section A Q7 Chapter 6 Examples Q8 Chapter 6 Examples Q9(i) 65/3/1 2026 / Section A Q9 65/5/1 2026 / Section A Q9 Chapter 6 Examples Q9(ii) Chapter 6 Examples Q9(iii) Chapter 6 Examples Q10 Chapter 6 Examples Q11 65/2/3 2026 / Section A Q13 Chapter 6 Examples Q12 Chapter 6 Examples Q13 Chapter 6 Examples Q14 65/1/1 2023 / Section A Q16 Chapter 6 Examples Q15 Chapter 6 Examples Q16 65/4/2 2024 / Section A Q18 Chapter 6 Examples Q17 65(B) 2026 / Section A Q19 Chapter 6 Examples Q18 Chapter 6 Examples Q19 65/4/2 2024 / Section B Q21 Chapter 6 Examples Q20 65/3/1 2026 / Section B Q22 Chapter 6 Examples Q21 65(B) 2026 / Section B Q22(a) 65/1/1 2024 / Section B Q22 65/1/1 2026 / Section B Q22 65/3/1 2023 / Section B Q23 Chapter 6 Examples Q22 65(B) 2026 / Section B Q22(b) 65/4/1 2023 / Section B Q23 65/4/1 2026 / Section B Q23 65/4/2 2024 / Section B Q23 65/5/1 2026 / Section B Q23 Chapter 6 Examples Q23 65/2/1 2024 / Section B Q23 65/2/3 2026 / Section B Q24(a) Chapter 6 Examples Q24 65/2/3 2026 / Section B Q24(b) Chapter 6 Examples Q25 65/1/1 2023 / Section B Q25 65/2/1 2024 / Section B Q25 65/2/2 2023 / Section B Q25 Chapter 6 Examples Q26 Chapter 6 Examples Q27 Chapter 6 Examples Q28 65/3/1 2024 / Section C Q27(a)