Differentiate the following \(w.r.t. x:\)
\(sin(log\ x),x>0\)
CBSE Class 12 Maths · Continuity and Differentiability
CBSE Class 12 Maths · Continuity and Differentiability
Imagine you have a machine inside another machine. The inner machine takes a number and computes \( \log x \). The outer machine then takes that result and applies sine. To find how fast the final output changes, you multiply the rates of change of both machines together. The outer machine changes at a rate of \( \cos(\log x) \), and the inner machine changes at a rate of \( \frac{1}{x} \). Multiplying them gives the answer.
Answer: \[ \frac{d}{dx}\left[\sin(\log x)\right] = \frac{\cos(\log x)}{x} \]
The function \( \sin(\log x) \) is a composite function, meaning one function is placed inside another. Here the outer function is \( \sin \) and the inner function is \( \log x \). To differentiate such functions, we use the Chain Rule. The Chain Rule says that if \( y = f(g(x)) \), then we differentiate the outer function while keeping the inner function unchanged, and then multiply by the derivative of the inner function. Since \( x > 0 \), \( \log x \) is well defined. Note that in Class 12, \( \log x \) means the natural logarithm \( \ln x \), whose derivative is \( \frac{1}{x} \).
Chain Rule: \( \frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx} \). Also \( \frac{d}{dx}(\sin u) = \cos u \) and \( \frac{d}{dx}(\log x) = \frac{1}{x} \).
\[ \frac{d}{dx}\left[\sin(\log x)\right] = \frac{\cos(\log x)}{x} \]
A common mistake is forgetting to multiply by the derivative of the inner function \( \log x \). Students often write only \( \cos(\log x) \) and miss the extra factor \( \frac{1}{x} \), which comes from the Chain Rule.
\[ \frac{d}{dx}\left[\sin(\log x)\right] = \frac{\cos(\log x)}{x} \]
One common mistake: Students often forget to multiply by the derivative of the inner function \( \log x \), writing the answer as simply \( \cos(\log x) \) instead of \( \frac{\cos(\log x)}{x} \). Always remember the Chain Rule requires that extra factor \( \frac{du}{dx} \).
Answer: \[ \frac{d}{dx}\left[\sin(\log x)\right] = \frac{\cos(\log x)}{x} \]
Question: Differentiate \(\cos(\ln x)\) with respect to \(x\), where \(x > 0\).
Solution: Let \(y = \cos(\ln x)\). Here the outer function is \(\cos(\cdot)\) and the inner function is \(\ln x\). Applying the Chain Rule: \[\frac{dy}{dx} = \frac{d}{dx}\left[\cos(\ln x)\right]\] \[\frac{dy}{dx} = -\sin(\ln x) \cdot \frac{d}{dx}(\ln x)\] Now, \(\frac{d}{dx}(\ln x) = \frac{1}{x}\). Substituting: \[\frac{dy}{dx} = -\sin(\ln x) \cdot \frac{1}{x}\] Therefore, \[\frac{dy}{dx} = \frac{-\sin(\ln x)}{x}\]
Answer: \(\dfrac{dy}{dx} = \dfrac{-\sin(\ln x)}{x}\)
Question: Differentiate \(\ln(\sin x)\) with respect to \(x\), where \(\sin x > 0\).
Solution: Let \(y = \ln(\sin x)\). Here the outer function is \(\ln(\cdot)\) and the inner function is \(\sin x\). Applying the Chain Rule: \[\frac{dy}{dx} = \frac{d}{dx}\left[\ln(\sin x)\right]\] \[\frac{dy}{dx} = \frac{1}{\sin x} \cdot \frac{d}{dx}(\sin x)\] Now, \(\frac{d}{dx}(\sin x) = \cos x\). Substituting: \[\frac{dy}{dx} = \frac{1}{\sin x} \cdot \cos x\] Simplifying: \[\frac{dy}{dx} = \frac{\cos x}{\sin x} = \cot x\]
Answer: \(\dfrac{dy}{dx} = \cot x\)
Question: Differentiate the following with respect to \(x\): \[\cos(\log x), \quad x > 0\]
Answer: \[\frac{d}{dx}\left[\cos(\log x)\right] = \frac{-\sin(\log x)}{x}\]