Global Extrema Difference of a Sixth-Degree Trigonometric Function
Board: JEE Foundation | Grade: Class 12 | Chapter: Applications of Derivatives
Problem
Let $M$ and $m$ denote respectively the global maximum and global minimum values of the function $$f(x) = \sin^6 x + \cos^6 x + \sin x \cos x \qquad (x \in \mathbb{R}).$$ Find the exact value of $M - m$.
Step-by-Step Textbook Solution
Step 1: Reduce to a single variable
Using $a^3 + b^3 = (a + b)^3 - 3ab(a + b)$ with $a = \sin^2 x$ and $b = \cos^2 x$:
$$\sin^6 x + \cos^6 x = 1 - 3\sin^2 x \cos^2 x.$$
Let $t = \sin x \cos x = \frac{1}{2}\sin 2x$. Since $\sin 2x \in [-1, 1]$, we have $t \in \left[-\frac{1}{2}, \frac{1}{2}\right]$.
The function becomes:
$$g(t) = 1 - 3t^2 + t, \qquad t \in \left[-\frac{1}{2}, \frac{1}{2}\right].$$
Step 2: Optimize $g(t)$ on the closed interval
Differentiating: $g'(t) = -6t + 1 = 0 \implies t = \frac{1}{6}$, which lies inside $\left[-\frac{1}{2}, \frac{1}{2}\right]$.
Evaluate $g(t)$ at the critical point and endpoints:
- $g\left(\frac{1}{6}\right) = 1 - 3\left(\frac{1}{36}\right) + \frac{1}{6} = 1 - \frac{1}{12} + \frac{2}{12} = \frac{13}{12}$.
- $g\left(\frac{1}{2}\right) = 1 - \frac{3}{4} + \frac{1}{2} = \frac{3}{4}$.
- $g\left(-\frac{1}{2}\right) = 1 - \frac{3}{4} - \frac{1}{2} = -\frac{1}{4}$.
Step 3: Compute $M - m$
Thus $M = \frac{13}{12}$ and $m = -\frac{1}{4}$, so:
$$M - m = \frac{13}{12} - \left(-\frac{1}{4}\right) = \frac{16}{12} = \frac{4}{3}.$$
Final Answer: $\frac{4}{3}$.
NityaDhi Solution (Intuitive Method)
NityaDhi Vertex + Distance-Squared Shortcut:
Write $g(t) = -3\left(t - \frac{1}{6}\right)^2 + \frac{13}{12}$ on $\left[-\frac{1}{2}, \frac{1}{2}\right]$. The maximum is at the vertex $t = \frac{1}{6}$, and the minimum occurs at the endpoint farthest from $\frac{1}{6}$, namely $t = -\frac{1}{2}$ (distance $\frac{2}{3}$). Thus $M - m$ is simply $3 \times \left(\text{max distance from vertex}\right)^2 = 3 \cdot \left(\frac{2}{3}\right)^2 = \frac{4}{3}$!
Common Mistakes to Avoid
- Forgetting the domain restriction $t = \frac{1}{2}\sin 2x \in [-\frac{1}{2}, \frac{1}{2}]$ and concluding the quadratic has no minimum.
- Using $\sin^6 x + \cos^6 x = 1 - 2\sin^2 x\cos^2 x$ (which is for $\sin^4 x + \cos^4 x$) instead of $1 - 3\sin^2 x\cos^2 x$.