SOLVER7 Study. Nothing Else.
Exercise 6.3 Q5(ii)

Find the absolute maximum value and the absolute minimum value of the following functions in the given intervals: \(f(x) = sin\ x + cos\ x , x \in [0, \pi]\)

CBSE Class 12 Maths · Application of Derivatives

Solution

👶 Simple Explanation

Simple Explanation

Imagine riding a roller coaster between two stations. You want to know the highest hill and the lowest dip along the ride. The function \( f(x) = \sin x + \cos x \) is like the height of the ride. We check a special middle point where the ride momentarily levels off, plus both end stations. Comparing all these heights tells us the tallest point is \( \sqrt{2} \) and the lowest dip reaches \( -1 \). The peak occurs at \( x = \frac{\pi}{4} \) and the lowest point at \( x = \pi \).

Answer: The absolute maximum value is \(\sqrt{2}\), attained at \(x = \frac{\pi}{4}\), and the absolute minimum value is \(-1\), attained at \(x = \pi\).

📖 Absolute Maxima and Minima of sin x + cos x on [0, π]

Detailed Explanation

For a continuous function on a closed interval \([a, b]\), the absolute (global) maximum and minimum values always exist and occur either at a critical point (where \(f'(x) = 0\)) inside the interval or at the endpoints. So our strategy is: first find the critical points inside the interval by solving \(f'(x) = 0\), then evaluate \(f\) at these critical points and at both endpoints, and finally compare all these values. The largest is the absolute maximum and the smallest is the absolute minimum.

Formula Used

If \(f\) is continuous on \([a, b]\), then the absolute extrema are found among: \(f(a)\), \(f(b)\), and \(f(c)\) where \(c \in (a, b)\) satisfies \(f'(c) = 0\). Here \(\frac{d}{dx}(\sin x) = \cos x\) and \(\frac{d}{dx}(\cos x) = -\sin x\).

Solution

  1. Step 1: We are given \(f(x) = \sin x + \cos x\) on the closed interval \([0, \pi]\). Since sine and cosine are continuous everywhere, \(f\) is continuous on this closed interval, so absolute maximum and minimum values are guaranteed to exist.
  2. Step 2: Differentiate the function to find critical points. \[f'(x) = \cos x - \sin x\]
  3. Step 3: Set \(f'(x) = 0\) to locate critical points. \[\cos x - \sin x = 0\] This gives \[\sin x = \cos x \Rightarrow \tan x = 1\] In the interval \([0, \pi]\), the solution is \[x = \frac{\pi}{4}\]
  4. Step 4: Evaluate \(f\) at the critical point \(x = \frac{\pi}{4}\). \[f\left(\frac{\pi}{4}\right) = \sin\frac{\pi}{4} + \cos\frac{\pi}{4} = \frac{1}{\sqrt{2}} + \frac{1}{\sqrt{2}} = \sqrt{2}\]
  5. Step 5: Evaluate \(f\) at the endpoints of the interval. At \(x = 0\): \[f(0) = \sin 0 + \cos 0 = 0 + 1 = 1\] At \(x = \pi\): \[f(\pi) = \sin \pi + \cos \pi = 0 + (-1) = -1\]
  6. Step 6: Compare all computed values: \(f\left(\frac{\pi}{4}\right) = \sqrt{2} \approx 1.414\), \(f(0) = 1\), and \(f(\pi) = -1\). The largest value is \(\sqrt{2}\) and the smallest value is \(-1\).

Final Answer

The absolute maximum value is \(\sqrt{2}\), attained at \(x = \frac{\pi}{4}\), and the absolute minimum value is \(-1\), attained at \(x = \pi\).

Common Mistake

A common mistake is to check only the critical point \(x = \frac{\pi}{4}\) and forget to evaluate the function at the endpoints \(x = 0\) and \(x = \pi\). On a closed interval the absolute extrema can occur at the boundary, so the endpoints must always be tested.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Identify the function and confirm continuity: We are given \(f(x) = \sin x + \cos x\) on the closed interval \([0, \pi]\). Since sine and cosine are continuous everywhere on \(\mathbb{R}\), their sum \(f\) is also continuous on \([0, \pi]\). — Reason: Confirming continuity on a closed interval guarantees, by the Extreme Value Theorem, that absolute maximum and minimum values must exist and can be found by our method.
  2. Step 2: Differentiate to prepare for finding critical points: Differentiate \(f(x)\) term by term: \[f'(x) = \cos x - \sin x\] — Reason: Critical points occur where the derivative equals zero (or is undefined). We need \(f'(x)\) before we can set it to zero.
  3. Step 3: Solve f'(x) = 0 to locate critical points: Set the derivative equal to zero: \[\cos x - \sin x = 0\] This rearranges to \(\sin x = \cos x\), and dividing both sides by \(\cos x\) gives \(\tan x = 1\). Within \([0, \pi]\), the unique solution is \[x = \frac{\pi}{4}\] — Reason: We solve for \(x\) in the interval because only interior critical points are relevant; values outside \([0, \pi]\) (such as \(x = \frac{5\pi}{4}\)) are discarded.
  4. Step 4: Evaluate f at the critical point: Substitute \(x = \frac{\pi}{4}\) into \(f\): \[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}\] — Reason: We record the function value at every critical point so it can be compared against the endpoint values in the final step.
  5. Step 5: Evaluate f at the left endpoint: Substitute \(x = 0\) into \(f\): \[f(0) = \sin 0 + \cos 0 = 0 + 1 = 1\] — Reason: Endpoints are always candidate locations for absolute extrema on a closed interval, so both must be checked.
  6. Step 6: Evaluate f at the right endpoint: Substitute \(x = \pi\) into \(f\): \[f(\pi) = \sin\pi + \cos\pi = 0 + (-1) = -1\] — Reason: This completes our list of candidate values; we now have all three values needed for comparison.
  7. Step 7: Compare all candidate values and identify the extrema: The three candidate values are: \(f\!\left(\frac{\pi}{4}\right) = \sqrt{2} \approx 1.414\), \(f(0) = 1\), and \(f(\pi) = -1\). Ordering them: \[-1 < 1 < \sqrt{2}\] The largest value is \(\sqrt{2}\) and the smallest is \(-1\). — Reason: The Closed Interval Method says the absolute maximum is the largest of these values and the absolute minimum is the smallest; no further testing is needed.

Final Answer

The absolute maximum value is \(\sqrt{2}\), attained at \(x = \frac{\pi}{4}\), and the absolute minimum value is \(-1\), attained at \(x = \pi\).

Common Mistake

One common mistake: students forget to check the endpoints \(x = 0\) and \(x = \pi\) and only evaluate \(f\) at the critical point \(x = \frac{\pi}{4}\). This leads them to miss the absolute minimum at \(x = \pi\), where \(f(\pi) = -1\).

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Given: \( f(x) = \sin x + \cos x \) on \( [0, \pi] \). Differentiate: \( f'(x) = \cos x - \sin x \).
  2. Step 2: Set \( f'(x) = 0 \): \( \cos x = \sin x \Rightarrow \tan x = 1 \Rightarrow x = \dfrac{\pi}{4} \) in \( [0, \pi] \).
  3. Step 3: Evaluate at critical point and endpoints: \( f\!\left(\dfrac{\pi}{4}\right) = \dfrac{1}{\sqrt{2}} + \dfrac{1}{\sqrt{2}} = \sqrt{2} \), \( f(0) = 0 + 1 = 1 \), \( f(\pi) = 0 + (-1) = -1 \).
  4. Step 4: Compare values: \( \sqrt{2} > 1 > -1 \). Absolute maximum \( = \sqrt{2} \) at \( x = \dfrac{\pi}{4} \); absolute minimum \( = -1 \) at \( x = \pi \).

Answer: The absolute maximum value is \(\sqrt{2}\), attained at \(x = \frac{\pi}{4}\), and the absolute minimum value is \(-1\), attained at \(x = \pi\).

➕ More Examples

More Examples

Example 1

Question: Find the absolute maximum value and the absolute minimum value of the function \( f(x) = 2\sin x - \cos 2x \) on the interval \( \left[0, \frac{\pi}{2}\right] \).

Solution: We are given \( f(x) = 2\sin x - \cos 2x \) on \( \left[0, \frac{\pi}{2}\right] \). Step 1: Differentiate f(x). \[ 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 \] So either \( \cos x = 0 \) or \( 1 + 2\sin x = 0 \). From \( \cos x = 0 \): \( x = \frac{\pi}{2} \), which is an endpoint. From \( 1 + 2\sin x = 0 \): \( \sin x = -\frac{1}{2} \), which gives \( x = -\frac{\pi}{6} \) (not in the interval). So the only critical point in the open interval \( \left(0, \frac{\pi}{2}\right) \) does not exist from the second factor. We check the endpoints and the boundary critical point. Step 3: Evaluate f(x) at the relevant points. At \( x = 0 \): \[ f(0) = 2\sin 0 - \cos 0 = 0 - 1 = -1 \] At \( x = \frac{\pi}{6} \) (checking whether f'(x) changes sign — we note \( f'(x) > 0 \) for \( x \in \left(0, \frac{\pi}{2}\right) \), so f is increasing on the interval). Let us verify by testing \( x = \frac{\pi}{6} \): \[ f\!\left(\frac{\pi}{6}\right) = 2\sin\frac{\pi}{6} - \cos\frac{\pi}{3} = 2 \cdot \frac{1}{2} - \frac{1}{2} = 1 - \frac{1}{2} = \frac{1}{2} \] At \( x = \frac{\pi}{2} \): \[ f\!\left(\frac{\pi}{2}\right) = 2\sin\frac{\pi}{2} - \cos\pi = 2(1) - (-1) = 2 + 1 = 3 \] Step 4: Compare all computed values. The values are: \( f(0) = -1 \), \( f\!\left(\frac{\pi}{6}\right) = \frac{1}{2} \), \( f\!\left(\frac{\pi}{2}\right) = 3 \). Absolute maximum value is \( 3 \) at \( x = \frac{\pi}{2} \). Absolute minimum value is \( -1 \) at \( x = 0 \).

Answer: Absolute maximum value = 3 (at \( x = \frac{\pi}{2} \)); Absolute minimum value = −1 (at \( x = 0 \))

Example 2

Question: Find the absolute maximum value and the absolute minimum value of the function \( f(x) = \sin x - \sqrt{3}\cos x \) on the interval \( \left[0, \pi\right] \).

Solution: We are given \( f(x) = \sin x - \sqrt{3}\cos x \) on \( [0, \pi] \). Step 1: Differentiate f(x). \[ f'(x) = \cos x + \sqrt{3}\sin x \] Step 2: Set \( f'(x) = 0 \). \[ \cos x + \sqrt{3}\sin x = 0 \] \[ \sqrt{3}\sin x = -\cos x \] \[ \tan x = -\frac{1}{\sqrt{3}} \] In the interval \( [0, \pi] \), \( \tan x = -\frac{1}{\sqrt{3}} \) gives: \[ x = \pi - \frac{\pi}{6} = \frac{5\pi}{6} \] So the critical point is \( x = \frac{5\pi}{6} \), which lies in \( (0, \pi) \). Step 3: Evaluate f(x) at the critical point and at the endpoints. At \( x = 0 \): \[ f(0) = \sin 0 - \sqrt{3}\cos 0 = 0 - \sqrt{3}(1) = -\sqrt{3} \] At \( x = \frac{5\pi}{6} \): \[ f\!\left(\frac{5\pi}{6}\right) = \sin\frac{5\pi}{6} - \sqrt{3}\cos\frac{5\pi}{6} \] \[ = \frac{1}{2} - \sqrt{3}\left(-\frac{\sqrt{3}}{2}\right) = \frac{1}{2} + \frac{3}{2} = 2 \] At \( x = \pi \): \[ f(\pi) = \sin\pi - \sqrt{3}\cos\pi = 0 - \sqrt{3}(-1) = \sqrt{3} \] Step 4: Compare all values. The values are: \( f(0) = -\sqrt{3} \approx -1.732 \), \( f\!\left(\frac{5\pi}{6}\right) = 2 \), \( f(\pi) = \sqrt{3} \approx 1.732 \). Absolute maximum value is \( 2 \) at \( x = \frac{5\pi}{6} \). Absolute minimum value is \( -\sqrt{3} \) at \( x = 0 \).

Answer: Absolute maximum value = 2 (at \( x = \frac{5\pi}{6} \)); Absolute minimum value = \( -\sqrt{3} \) (at \( x = 0 \))

🎯 Try a Similar Question

Try a Similar Question

Question: Find the absolute maximum value and the absolute minimum value of \( f(x) = 2\sin x - \cos 2x \) on the interval \( \left[0, \dfrac{\pi}{2}\right] \).

Solution

  1. Step 1: Differentiate f(x): We have \( f(x) = 2\sin x - \cos 2x \). Differentiating with respect to \( x \): \[ f'(x) = 2\cos x + 2\sin 2x \] Using \( \sin 2x = 2\sin x\cos x \), we can write: \[ f'(x) = 2\cos x + 4\sin x\cos x = 2\cos x(1 + 2\sin x) \]
  2. Step 2: Find Critical Points: Set \( f'(x) = 0 \): \[ 2\cos x(1 + 2\sin x) = 0 \] This gives either \( \cos x = 0 \) or \( 1 + 2\sin x = 0 \). From \( \cos x = 0 \) in \( \left[0, \dfrac{\pi}{2}\right] \): \( x = \dfrac{\pi}{2} \) (this is an endpoint). From \( 1 + 2\sin x = 0 \), we get \( \sin x = -\dfrac{1}{2} \), which has no solution in \( \left[0, \dfrac{\pi}{2}\right] \) since \( \sin x \ge 0 \) on this interval. So the only interior critical point to check comes from \( \cos x = 0 \), which gives the endpoint \( x = \dfrac{\pi}{2} \).
  3. Step 3: Evaluate f at the Endpoints and Critical Points: We evaluate \( f \) at \( x = 0 \) and \( x = \dfrac{\pi}{2} \). At \( x = 0 \): \[ f(0) = 2\sin 0 - \cos 0 = 0 - 1 = -1 \] At \( x = \dfrac{\pi}{2} \): \[ f\\!\left(\frac{\pi}{2}\right) = 2\sin\frac{\pi}{2} - \cos\pi = 2(1) - (-1) = 2 + 1 = 3 \]
  4. Step 4: Check for any Interior Critical Point: From Step 2, there are no interior critical points in \( \left(0, \dfrac{\pi}{2}\right) \). Therefore, we compare only the endpoint values: \( f(0) = -1 \) and \( f\\!\left(\dfrac{\pi}{2}\right) = 3 \).
  5. Step 5: Identify Absolute Maximum and Minimum: Comparing all values: the largest is \( 3 \) at \( x = \dfrac{\pi}{2} \) and the smallest is \( -1 \) at \( x = 0 \). Therefore, the absolute maximum value of \( f \) on \( \left[0, \dfrac{\pi}{2}\right] \) is \( 3 \), attained at \( x = \dfrac{\pi}{2} \), and the absolute minimum value is \( -1 \), attained at \( x = 0 \).

Answer: The absolute maximum value is \( 3 \), attained at \( x = \dfrac{\pi}{2} \), and the absolute minimum value is \( -1 \), attained at \( x = 0 \).

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)