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

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: \(h(x)=sin\ x + cos\ x,0 \)\(< x < \dfrac{\pi}{2}\)

CBSE Class 12 Maths · Application of Derivatives

Solution

👶 Simple Explanation

Simple Explanation

Imagine walking up and down a hill. The very top of the hill is the highest point nearby — that is called a local maximum. The function \( h(x) = \sin x + \cos x \) behaves like a hill between \( x = 0 \) and \( x = \dfrac{\pi}{2} \). The top of this hill happens exactly at \( x = \dfrac{\pi}{4} \). At that peak, the function reaches the value \( \sqrt{2} \). There is no valley (local minimum) anywhere inside this region — only the one hilltop.

Answer: The function has a local maximum at \( x = \dfrac{\pi}{4} \), and the local maximum value is \( \sqrt{2} \). There is no local minimum in the open interval \( 0 < x < \dfrac{\pi}{2} \).

📖 Local Maxima and Minima of h(x) = sin x + cos x

Detailed Explanation

To find local maxima and minima of a differentiable function, we first find its critical points, where the first derivative equals zero. These are the candidates for maxima or minima. We then use the second derivative test: if \( h''(c) < 0 \) at a critical point \( c \), the function has a local maximum there; if \( h''(c) > 0 \), it has a local minimum. We must also make sure the critical point lies inside the given open interval \( 0 < x < \dfrac{\pi}{2} \).

Formula Used

Critical points: \( h'(x) = 0 \). Second derivative test: \( h''(c) < 0 \Rightarrow \) local maximum, \( h''(c) > 0 \Rightarrow \) local minimum.

Solution

  1. Step 1: We are given \( h(x) = \sin x + \cos x \) for \( 0 < x < \dfrac{\pi}{2} \). Differentiate with respect to \( x \): \[ h'(x) = \cos x - \sin x \]
  2. Step 2: To find the critical points, set the first derivative equal to zero: \[ \cos x - \sin x = 0 \] This gives \[ \cos x = \sin x \] which means \[ \tan x = 1 \]
  3. Step 3: In the interval \( 0 < x < \dfrac{\pi}{2} \), the solution of \( \tan x = 1 \) is \[ x = \dfrac{\pi}{4} \] So the only critical point inside the interval is \( x = \dfrac{\pi}{4} \).
  4. Step 4: Apply the second derivative test. Differentiate \( h'(x) \) again: \[ h''(x) = -\sin x - \cos x \] Now evaluate at \( x = \dfrac{\pi}{4} \): \[ h''\left(\dfrac{\pi}{4}\right) = -\sin\dfrac{\pi}{4} - \cos\dfrac{\pi}{4} = -\dfrac{1}{\sqrt{2}} - \dfrac{1}{\sqrt{2}} = -\sqrt{2} \]
  5. Step 5: Since \( h''\left(\dfrac{\pi}{4}\right) = -\sqrt{2} < 0 \), the function has a local maximum at \( x = \dfrac{\pi}{4} \).
  6. Step 6: Find the local maximum value by substituting \( x = \dfrac{\pi}{4} \) into \( h(x) \): \[ h\left(\dfrac{\pi}{4}\right) = \sin\dfrac{\pi}{4} + \cos\dfrac{\pi}{4} = \dfrac{1}{\sqrt{2}} + \dfrac{1}{\sqrt{2}} = \sqrt{2} \]

Final Answer

The function has a local maximum at \( x = \dfrac{\pi}{4} \), and the local maximum value is \( \sqrt{2} \). There is no local minimum in the open interval \( 0 < x < \dfrac{\pi}{2} \).

Common Mistake

A common mistake is to consider other solutions of \( \tan x = 1 \) (such as \( x = \dfrac{5\pi}{4} \)) that lie outside the given interval \( 0 < x < \dfrac{\pi}{2} \). Only critical points inside the interval should be tested.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Write down the given function and differentiate it with respect to \( x \). The function is \( h(x) = \sin x + \cos x \) on \( 0 < x < \dfrac{\pi}{2} \). Differentiating term by term: \[h'(x) = \cos x - \sin x\] Reason: The first derivative tells us the rate of change of \( h \), and its zeros give us the candidates for local extrema.
  2. Step 2: Set the first derivative equal to zero to find critical points: \[\cos x - \sin x = 0\] This simplifies to \( \cos x = \sin x \), so dividing both sides by \( \cos x \) (which is non-zero in \( 0 < x < \dfrac{\pi}{2} \)) gives \[\tan x = 1\] Reason: Critical points occur where \( h'(x) = 0 \); rewriting as \( \tan x = 1 \) makes the equation easy to solve.
  3. Step 3: Solve \( \tan x = 1 \) within the open interval \( 0 < x < \dfrac{\pi}{2} \). The unique solution in this interval is \[x = \dfrac{\pi}{4}\] Reason: We restrict the solution to the given interval because we are only interested in critical points that actually lie inside the domain of the problem.
  4. Step 4: Differentiate \( h'(x) \) once more to obtain the second derivative: \[h''(x) = -\sin x - \cos x\] Reason: The second derivative test requires evaluating \( h''(x) \) at the critical point to determine whether it is a maximum or a minimum.
  5. Step 5: Evaluate \( h''(x) \) at \( x = \dfrac{\pi}{4} \): \[h''\!\left(\dfrac{\pi}{4}\right) = -\sin\dfrac{\pi}{4} - \cos\dfrac{\pi}{4} = -\dfrac{1}{\sqrt{2}} - \dfrac{1}{\sqrt{2}} = -\dfrac{2}{\sqrt{2}} = -\sqrt{2}\] Since \( h''\!\left(\dfrac{\pi}{4}\right) = -\sqrt{2} < 0 \), the function has a local maximum at \( x = \dfrac{\pi}{4} \). Reason: A negative second derivative confirms the curve is concave downward at that point, confirming a local maximum.
  6. Step 6: Calculate the local maximum value by substituting \( x = \dfrac{\pi}{4} \) into \( h(x) \): \[h\!\left(\dfrac{\pi}{4}\right) = \sin\dfrac{\pi}{4} + \cos\dfrac{\pi}{4} = \dfrac{1}{\sqrt{2}} + \dfrac{1}{\sqrt{2}} = \dfrac{2}{\sqrt{2}} = \sqrt{2}\] Since \( x = \dfrac{\pi}{4} \) is the only critical point in the interval and it is a maximum, there is no local minimum in \( 0 < x < \dfrac{\pi}{2} \). Reason: We substitute the critical point back into the original function to find the actual maximum value, and note that the absence of any other critical point means no local minimum exists inside this open interval.

Final Answer

The function has a local maximum at \( x = \dfrac{\pi}{4} \), and the local maximum value is \( \sqrt{2} \). There is no local minimum in the open interval \( 0 < x < \dfrac{\pi}{2} \).

Common Mistake

One common mistake: students sometimes forget to check whether the critical point actually lies inside the given open interval, or they confuse the sign rule — a negative second derivative means a local maximum, not a minimum.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Given \( h(x) = \sin x + \cos x \), differentiate: \[ h'(x) = \cos x - \sin x \] Set \( h'(x) = 0 \): \[ \cos x = \sin x \Rightarrow \tan x = 1 \Rightarrow x = \dfrac{\pi}{4} \in \left(0, \dfrac{\pi}{2}\right) \]
  2. Step 2: Second derivative: \[ h''(x) = -\sin x - \cos x \] Evaluate at \( x = \dfrac{\pi}{4} \): \[ h''\!\left(\dfrac{\pi}{4}\right) = -\dfrac{1}{\sqrt{2}} - \dfrac{1}{\sqrt{2}} = -\sqrt{2} < 0 \]
  3. Step 3: Local maximum value: \[ h\!\left(\dfrac{\pi}{4}\right) = \sin\dfrac{\pi}{4} + \cos\dfrac{\pi}{4} = \dfrac{1}{\sqrt{2}} + \dfrac{1}{\sqrt{2}} = \sqrt{2} \]

Answer: The function has a local maximum at \( x = \dfrac{\pi}{4} \), and the local maximum value is \( \sqrt{2} \). There is no local minimum in the open interval \( 0 < x < \dfrac{\pi}{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 the interval \( 0 < x < 2\pi \). Also find the local maximum and 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 \] Dividing both sides by \( \cos x \) (where \( \cos x \ne 0 \)): \[ 1 + \tan x = 0 \implies \tan x = -1 \] In \( (0,\, 2\pi) \), the solutions are \( x = \dfrac{3\pi}{4} \) and \( x = \dfrac{7\pi}{4} \). Step 3: Find the second derivative. \[ f''(x) = -\sin x + \cos x \] Step 4: Apply the Second Derivative Test. At \( x = \dfrac{3\pi}{4} \): \[ 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} < 0 \] Since \( f''\!\left(\dfrac{3\pi}{4}\right) < 0 \), there is a local maximum at \( x = \dfrac{3\pi}{4} \). The local maximum value is: \[ 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} \] At \( x = \dfrac{7\pi}{4} \): \[ f''\!\left(\frac{7\pi}{4}\right) = -\sin\frac{7\pi}{4} + \cos\frac{7\pi}{4} = -\left(-\frac{1}{\sqrt{2}}\right) + \frac{1}{\sqrt{2}} = \frac{2}{\sqrt{2}} = \sqrt{2} > 0 \] Since \( f''\!\left(\dfrac{7\pi}{4}\right) > 0 \), there is a local minimum at \( x = \dfrac{7\pi}{4} \). The local minimum value is: \[ 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} \]

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

Example 2

Question: Find the local maxima and local minima, if any, of the function \( g(x) = 2\sin x - x \) on the interval \( -\dfrac{\pi}{2} < x < \dfrac{\pi}{2} \). Also find the local maximum and minimum values.

Solution: We are given \( g(x) = 2\sin x - x \) on \( \left(-\dfrac{\pi}{2},\, \dfrac{\pi}{2}\right) \). Step 1: Find the first derivative. \[ g'(x) = 2\cos x - 1 \] Step 2: Set \( g'(x) = 0 \) to find critical points. \[ 2\cos x - 1 = 0 \implies \cos x = \frac{1}{2} \] In \( \left(-\dfrac{\pi}{2},\, \dfrac{\pi}{2}\right) \), the solution is \( x = \dfrac{\pi}{3} \). (Note: \( x = -\dfrac{\pi}{3} \) also satisfies \( \cos x = \dfrac{1}{2} \) and lies in the interval.) So the critical points are \( x = \dfrac{\pi}{3} \) and \( x = -\dfrac{\pi}{3} \). Step 3: Find the second derivative. \[ g''(x) = -2\sin x \] Step 4: Apply the Second Derivative Test. At \( x = \dfrac{\pi}{3} \): \[ g''\!\left(\frac{\pi}{3}\right) = -2\sin\frac{\pi}{3} = -2 \cdot \frac{\sqrt{3}}{2} = -\sqrt{3} < 0 \] Since \( g''\!\left(\dfrac{\pi}{3}\right) < 0 \), there is a local maximum at \( x = \dfrac{\pi}{3} \). The local maximum value is: \[ g\!\left(\frac{\pi}{3}\right) = 2\sin\frac{\pi}{3} - \frac{\pi}{3} = 2 \cdot \frac{\sqrt{3}}{2} - \frac{\pi}{3} = \sqrt{3} - \frac{\pi}{3} \] At \( x = -\dfrac{\pi}{3} \): \[ g''\!\left(-\frac{\pi}{3}\right) = -2\sin\left(-\frac{\pi}{3}\right) = -2 \cdot \left(-\frac{\sqrt{3}}{2}\right) = \sqrt{3} > 0 \] Since \( g''\!\left(-\dfrac{\pi}{3}\right) > 0 \), there is a local minimum at \( x = -\dfrac{\pi}{3} \). The local minimum value is: \[ g\!\left(-\frac{\pi}{3}\right) = 2\sin\left(-\frac{\pi}{3}\right) - \left(-\frac{\pi}{3}\right) = -\sqrt{3} + \frac{\pi}{3} = \frac{\pi}{3} - \sqrt{3} \]

Answer: Local maximum at \( x = \dfrac{\pi}{3} \) with value \( \sqrt{3} - \dfrac{\pi}{3} \); local minimum at \( x = -\dfrac{\pi}{3} \) with value \( \dfrac{\pi}{3} - \sqrt{3} \).

🎯 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 \) on the interval \( 0 < x < \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 Equal to Zero: To find critical points, solve \( f'(x) = 0 \): \[ \cos x + \sin x = 0 \]\nThis gives \( \sin x = -\cos x \), so \( \tan x = -1 \).\nIn the interval \( (0, \pi) \), the solution is \( x = \dfrac{3\pi}{4} \).
  3. Step 3: Find the Second Derivative: Differentiate \( f'(x) = \cos x + \sin x \) with respect to \( x \): \[ f''(x) = -\sin x + \cos x \]
  4. Step 4: Apply the Second Derivative Test: Evaluate \( f''(x) \) at \( x = \dfrac{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} \]\nSince \( f''\\!\left(\dfrac{3\pi}{4}\right) = -\sqrt{2} < 0 \), the function has a local maximum at \( x = \dfrac{3\pi}{4} \).
  5. Step 5: Find the Local Maximum Value: Compute \( f\\!\left(\dfrac{3\pi}{4}\right) \): \[ 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} \]\nSo the local maximum value is \( \sqrt{2} \).
  6. Step 6: Check for Local Minima: There is only one critical point \( x = \dfrac{3\pi}{4} \) in \( (0, \pi) \), and it corresponds to a local maximum. Therefore, there is no local minimum in the open interval \( (0, \pi) \).

Answer: The function \( f(x) = \sin x - \cos x \) has a local maximum at \( x = \dfrac{3\pi}{4} \) with local maximum value \( \sqrt{2} \). There is no local minimum in the open interval \( 0 < x < \pi \).

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)