Detailed Explanation
The function \( y = \dfrac{\cos x - \sin x}{\cos x + \sin x} \) looks like it needs the quotient rule. But differentiating directly is messy. A smarter approach is to first simplify the expression into a single tangent function. If we divide the numerator and denominator by \( \cos x \), the ratio becomes \( \dfrac{1 - \tan x}{1 + \tan x} \). This matches the tangent subtraction identity, letting us write \( y \) as \( \tan\left(\dfrac{\pi}{4} - x\right) \). Once simplified, differentiating a single \( \tan \) function using the chain rule is fast and clean.
Formula Used
\( \tan\left(\dfrac{\pi}{4} - x\right) = \dfrac{1 - \tan x}{1 + \tan x} \) and \( \dfrac{d}{dx}\tan u = \sec^2 u \cdot \dfrac{du}{dx} \)
Solution
- Step 1: Start with the given function: \[ y = \frac{\cos x - \sin x}{\cos x + \sin x} \] Divide both numerator and denominator by \( \cos x \) to introduce \( \tan x \).
- Step 2: After dividing, we get: \[ y = \frac{1 - \tan x}{1 + \tan x} \] This is done because it now matches a standard tangent identity.
- Step 3: Recall the identity \( \tan\left(\dfrac{\pi}{4} - x\right) = \dfrac{\tan\frac{\pi}{4} - \tan x}{1 + \tan\frac{\pi}{4}\tan x} \). Since \( \tan\dfrac{\pi}{4} = 1 \), this becomes exactly \( \dfrac{1 - \tan x}{1 + \tan x} \). So: \[ y = \tan\left(\frac{\pi}{4} - x\right) \]
- Step 4: Now differentiate using the chain rule. With \( u = \dfrac{\pi}{4} - x \), we have \( \dfrac{du}{dx} = -1 \). \[ \frac{dy}{dx} = \sec^2\left(\frac{\pi}{4} - x\right) \cdot \frac{d}{dx}\left(\frac{\pi}{4} - x\right) \]
- Step 5: Substitute \( \dfrac{d}{dx}\left(\dfrac{\pi}{4} - x\right) = -1 \): \[ \frac{dy}{dx} = -\sec^2\left(\frac{\pi}{4} - x\right) \]
Final Answer
\( \dfrac{dy}{dx} = -\sec^2\left(\dfrac{\pi}{4} - x\right) \), which is option (A).
Common Mistake
A common mistake is forgetting the negative sign from the chain rule. Since \( \dfrac{d}{dx}\left(\dfrac{\pi}{4} - x\right) = -1 \), the answer must carry a minus sign, giving \( -\sec^2\left(\dfrac{\pi}{4} - x\right) \), not \( \sec^2\left(\dfrac{\pi}{4} - x\right) \).