Differentiate w.r.t. x the function in Exercises 1 to \( cos (a\ cos\ x + b\ sin\ x), \) for some constant \(a\) and \(b.\)
CBSE Class 12 Maths · Continuity and Differentiability
CBSE Class 12 Maths · Continuity and Differentiability
Imagine peeling an onion — there is an outer layer and an inner layer. Here, the outer layer is the cosine function and the inner layer is \( a\cos x + b\sin x \). To find how fast the whole thing changes, we first find how fast the outer layer changes, then multiply by how fast the inner layer changes. The constants \( a \) and \( b \) just stay along for the ride. Multiplying those two rates together gives the final answer.
Answer: \[ \frac{dy}{dx} = (a\sin x - b\cos x)\,\sin(a\cos x + b\sin x). \]
The given function is a composite function: an outer function \( \cos(u) \) where the inner function is \( u = a\cos x + b\sin x \). To differentiate a composite function we use the chain rule, which says that the derivative of the outer function (evaluated at the inner function) is multiplied by the derivative of the inner function. Here \( a \) and \( b \) are constants, so when we differentiate the inner function they simply stay as multipliers. We also use the standard results \( \frac{d}{dx}(\cos x) = -\sin x \) and \( \frac{d}{dx}(\sin x) = \cos x \).
Chain rule: \( \frac{d}{dx}\big[\cos(u)\big] = -\sin(u)\cdot \frac{du}{dx} \), with \( u = a\cos x + b\sin x \).
\[ \frac{dy}{dx} = (a\sin x - b\cos x)\,\sin(a\cos x + b\sin x). \]
A common mistake is forgetting to differentiate the inner function \( a\cos x + b\sin x \) (i.e. omitting \( \frac{du}{dx} \)) and simply writing \( -\sin(a\cos x + b\sin x) \). Another frequent error is mishandling the signs: \( \frac{d}{dx}(a\cos x) = -a\sin x \), not \( +a\sin x \).
\[ \frac{dy}{dx} = (a\sin x - b\cos x)\,\sin(a\cos x + b\sin x). \]
One common mistake: Students often forget to multiply by the derivative of the inner function \( u = a\cos x + b\sin x \) — they write only \( -\sin(a\cos x + b\sin x) \) and omit the factor \( (-a\sin x + b\cos x) \), which is an incomplete application of the chain rule.
Answer: \[ \frac{dy}{dx} = (a\sin x - b\cos x)\,\sin(a\cos x + b\sin x). \]
Question: Differentiate with respect to x the function \( y = \sin(p\sin x + q\cos x) \), where p and q are constants.
Solution: Let \( u = p\sin x + q\cos x \), so \( y = \sin(u) \). Using the Chain Rule: \[ \frac{dy}{dx} = \cos(u) \cdot \frac{du}{dx} \] Now we find \( \frac{du}{dx} \): \[ \frac{du}{dx} = p\cos x - q\sin x \] Substituting back: \[ \frac{dy}{dx} = \cos(p\sin x + q\cos x) \cdot (p\cos x - q\sin x) \] Therefore: \[ \frac{dy}{dx} = (p\cos x - q\sin x)\cos(p\sin x + q\cos x) \]
Answer: \( \frac{dy}{dx} = (p\cos x - q\sin x)\cos(p\sin x + q\cos x) \)
Question: Differentiate with respect to x the function \( y = \cos(3\sin x - 5\cos x) \).
Solution: Let \( u = 3\sin x - 5\cos x \), so \( y = \cos(u) \). Using the Chain Rule: \[ \frac{dy}{dx} = -\sin(u) \cdot \frac{du}{dx} \] Now we find \( \frac{du}{dx} \): \[ \frac{du}{dx} = 3\cos x - 5(-\sin x) = 3\cos x + 5\sin x \] Substituting back: \[ \frac{dy}{dx} = -\sin(3\sin x - 5\cos x) \cdot (3\cos x + 5\sin x) \] Therefore: \[ \frac{dy}{dx} = -(3\cos x + 5\sin x)\sin(3\sin x - 5\cos x) \]
Answer: \( \frac{dy}{dx} = -(3\cos x + 5\sin x)\sin(3\sin x - 5\cos x) \)
Question: Differentiate the following function with respect to \( x \): \[ y = \sin(p\sin x + q\cos x) \] where \( p \) and \( q \) are constants.
Answer: \[ \frac{dy}{dx} = (p\cos x - q\sin x)\cos(p\sin x + q\cos x) \]