Find the absolute maximum value of \( f(x) = cos\ x+sin^2\ x,x\in[0,\pi]\)
CBSE Class 12 Maths · Application of Derivatives
CBSE Class 12 Maths · Application of Derivatives
Imagine you are walking up and down a hilly road that starts and ends at fixed gates. You want to find the highest point on that road. The function \( f(x) = \cos x + \sin^2 x \) is like that hilly road on the interval from \( 0 \) to \( \pi \). We check where the road stops climbing (those are called critical points) and also peek at both gates. Comparing all those heights, the tallest one wins. Here, the highest point turns out to be \( \dfrac{5}{4} \), reached at \( x = \dfrac{\pi}{3} \).
Answer: The absolute maximum value is \(\dfrac{5}{4}\), attained at \(x = \dfrac{\pi}{3}\).
To find the absolute (global) maximum of a continuous function on a closed interval \([a, b]\), we use the Closed Interval Method. Since a continuous function on a closed interval always attains its maximum and minimum, these extreme values occur either at critical points inside the interval (where \(f'(x) = 0\) or is undefined) or at the endpoints. So the plan is: differentiate the function, find the critical points that lie inside the interval, and then compare the values of \(f\) at all critical points and both endpoints. The largest of these values is the absolute maximum. Here we also use the identity \(\sin^2 x = 1 - \cos^2 x\) to simplify differentiation.
Closed Interval Method: compare \(f\) at all critical points (where \(f'(x)=0\)) and at the endpoints \(a\) and \(b\). Identity used: \(\sin^2 x = 1 - \cos^2 x\).
The absolute maximum value is \(\dfrac{5}{4}\), attained at \(x = \dfrac{\pi}{3}\).
A common mistake is to forget to check the endpoints \(x = 0\) and \(x = \pi\), or to stop at solving \(f'(x) = 0\) without comparing the function values. The absolute maximum on a closed interval can occur at an endpoint, so you must always evaluate and compare \(f\) at every critical point AND both endpoints.
The absolute maximum value is \(\dfrac{5}{4}\), attained at \(x = \dfrac{\pi}{3}\).
One common mistake: forgetting to check the endpoints \( x = 0 \) and \( x = \pi \) — students sometimes only evaluate \( f \) at the interior critical point \( x = \dfrac{\pi}{3} \) and incorrectly declare it the absolute maximum without confirming that the endpoint values are smaller.
Answer: The absolute maximum value is \(\dfrac{5}{4}\), attained at \(x = \dfrac{\pi}{3}\).
Question: Find the absolute maximum value of \( f(x) = \sin x + \cos^2 x \) on \( \left[0, \pi\right] \).
Solution: Step 1: Differentiate f(x). \[ f(x) = \sin x + \cos^2 x \] \[ f'(x) = \cos x + 2\cos x(-\sin x) = \cos x - 2\sin x \cos x = \cos x(1 - 2\sin x) \] Step 2: Set f'(x) = 0. \[ \cos x(1 - 2\sin x) = 0 \] So either \( \cos x = 0 \) or \( 1 - 2\sin x = 0 \). From \( \cos x = 0 \): in \( [0, \pi] \), we get \( x = \dfrac{\pi}{2} \). From \( 1 - 2\sin x = 0 \), i.e., \( \sin x = \dfrac{1}{2} \): in \( [0, \pi] \), we get \( x = \dfrac{\pi}{6} \) and \( x = \dfrac{5\pi}{6} \). Step 3: Evaluate f at the critical points and endpoints. At \( x = 0 \): \[ f(0) = \sin 0 + \cos^2 0 = 0 + 1 = 1 \] At \( x = \dfrac{\pi}{6} \): \[ f\!\left(\frac{\pi}{6}\right) = \sin\frac{\pi}{6} + \cos^2\frac{\pi}{6} = \frac{1}{2} + \frac{3}{4} = \frac{5}{4} \] At \( x = \dfrac{\pi}{2} \): \[ f\!\left(\frac{\pi}{2}\right) = \sin\frac{\pi}{2} + \cos^2\frac{\pi}{2} = 1 + 0 = 1 \] At \( x = \dfrac{5\pi}{6} \): \[ f\!\left(\frac{5\pi}{6}\right) = \sin\frac{5\pi}{6} + \cos^2\frac{5\pi}{6} = \frac{1}{2} + \frac{3}{4} = \frac{5}{4} \] At \( x = \pi \): \[ f(\pi) = \sin\pi + \cos^2\pi = 0 + 1 = 1 \] Step 4: Compare all values. The values are 1, \( \dfrac{5}{4} \), 1, \( \dfrac{5}{4} \), 1. The largest value is \( \dfrac{5}{4} \), attained at \( x = \dfrac{\pi}{6} \) and \( x = \dfrac{5\pi}{6} \).
Answer: The absolute maximum value is \( \dfrac{5}{4} \).
Question: Find the absolute maximum value of \( g(x) = 2\cos x + \sin 2x \) on \( \left[0, \dfrac{\pi}{2}\right] \).
Solution: Step 1: Differentiate g(x). \[ g(x) = 2\cos x + \sin 2x \] \[ g'(x) = -2\sin x + 2\cos 2x \] Step 2: Set g'(x) = 0. \[ -2\sin x + 2\cos 2x = 0 \] \[ \cos 2x = \sin x \] Using the identity \( \cos 2x = 1 - 2\sin^2 x \): \[ 1 - 2\sin^2 x = \sin x \] \[ 2\sin^2 x + \sin x - 1 = 0 \] Factorising: \[ (2\sin x - 1)(\sin x + 1) = 0 \] So \( \sin x = \dfrac{1}{2} \) or \( \sin x = -1 \). In \( \left[0, \dfrac{\pi}{2}\right] \), \( \sin x = -1 \) has no solution. From \( \sin x = \dfrac{1}{2} \): \( x = \dfrac{\pi}{6} \). Step 3: Evaluate g at the critical point and endpoints. At \( x = 0 \): \[ g(0) = 2\cos 0 + \sin 0 = 2 + 0 = 2 \] At \( x = \dfrac{\pi}{6} \): \[ g\!\left(\frac{\pi}{6}\right) = 2\cos\frac{\pi}{6} + \sin\frac{\pi}{3} = 2 \cdot \frac{\sqrt{3}}{2} + \frac{\sqrt{3}}{2} = \sqrt{3} + \frac{\sqrt{3}}{2} = \frac{3\sqrt{3}}{2} \] At \( x = \dfrac{\pi}{2} \): \[ g\!\left(\frac{\pi}{2}\right) = 2\cos\frac{\pi}{2} + \sin\pi = 0 + 0 = 0 \] Step 4: Compare all values. We have \( \dfrac{3\sqrt{3}}{2} \approx 2.598 \), which is greater than 2 and 0. Therefore, the absolute maximum value is \( \dfrac{3\sqrt{3}}{2} \), attained at \( x = \dfrac{\pi}{6} \).
Answer: The absolute maximum value is \( \dfrac{3\sqrt{3}}{2} \).
Question: Find the absolute maximum value of \(f(x) = \sin x + \cos^2 x\) on \(\left[0, \pi\right]\).
Answer: The absolute maximum value is \(\dfrac{5}{4}\), attained at \(x = \dfrac{\pi}{6}\) and \(x = \dfrac{5\pi}{6}\).