Detailed Explanation
When \( x \) and \( y \) are both given in terms of a third variable (a parameter) like \( t \), we say the curve is defined parametrically. To find \( \frac{dy}{dx} \) we do NOT try to eliminate \( t \). Instead we differentiate both \( x \) and \( y \) separately with respect to \( t \), and then use the chain rule to combine them. This works because \( \frac{dy}{dx} = \frac{dy/dt}{dx/dt} \), provided \( \frac{dx}{dt} \ne 0 \).
Formula Used
\[ \frac{dy}{dx} = \frac{\dfrac{dy}{dt}}{\dfrac{dx}{dt}} \]
Solution
- Step 1: Write down the given parametric equations. \[ x = a\left(\cos t + \log \tan \frac{t}{2}\right) \] \[ y = a \sin t \]
- Step 2: Differentiate \( y \) with respect to \( t \). Since \( a \) is constant, \[ \frac{dy}{dt} = a \cos t \]
- Step 3: Differentiate \( x \) with respect to \( t \). We need \( \frac{d}{dt}(\cos t) = -\sin t \) and \( \frac{d}{dt}\left(\log \tan \frac{t}{2}\right) \). For the log term, use the chain rule: \[ \frac{d}{dt}\left(\log \tan \frac{t}{2}\right) = \frac{1}{\tan \frac{t}{2}} \cdot \sec^2 \frac{t}{2} \cdot \frac{1}{2} \]
- Step 4: Simplify the log term. Write it using sine and cosine of \( \frac{t}{2} \). \[ \frac{1}{\tan \frac{t}{2}} \cdot \sec^2 \frac{t}{2} \cdot \frac{1}{2} = \frac{\cos \frac{t}{2}}{\sin \frac{t}{2}} \cdot \frac{1}{\cos^2 \frac{t}{2}} \cdot \frac{1}{2} \] This becomes \[ \frac{1}{2 \sin \frac{t}{2} \cos \frac{t}{2}} = \frac{1}{\sin t} \] using the identity \( 2 \sin \frac{t}{2} \cos \frac{t}{2} = \sin t \).
- Step 5: Combine to get \( \frac{dx}{dt} \). \[ \frac{dx}{dt} = a\left(-\sin t + \frac{1}{\sin t}\right) \] Take common denominator \( \sin t \): \[ \frac{dx}{dt} = a\left(\frac{-\sin^2 t + 1}{\sin t}\right) = a \cdot \frac{\cos^2 t}{\sin t} \] since \( 1 - \sin^2 t = \cos^2 t \).
- Step 6: Apply the parametric formula \( \frac{dy}{dx} = \frac{dy/dt}{dx/dt} \). \[ \frac{dy}{dx} = \frac{a \cos t}{\; a \cdot \dfrac{\cos^2 t}{\sin t} \;} \]
- Step 7: Simplify. Cancel \( a \) and one factor of \( \cos t \). \[ \frac{dy}{dx} = \cos t \cdot \frac{\sin t}{\cos^2 t} = \frac{\sin t}{\cos t} = \tan t \]
Final Answer
\[ \frac{dy}{dx} = \tan t \]
Common Mistake
A common mistake is forgetting the chain rule when differentiating \( \log \tan \frac{t}{2} \). Students often write \( \frac{d}{dt}\left(\log \tan \frac{t}{2}\right) = \frac{1}{\tan \frac{t}{2}} \) and forget to multiply by \( \sec^2 \frac{t}{2} \cdot \frac{1}{2} \), which leads to a wrong \( \frac{dx}{dt} \).