Differentiate the functions given in Exercises 1 to 11 \(w.r.t. x.\) \(x^{x\ cos\ x}+\dfrac{x^2+1}{x^2-1}\)
CBSE Class 12 Maths · Continuity and Differentiability
CBSE Class 12 Maths · Continuity and Differentiability
Imagine you have two different jars and you want to find how fast each jar's contents are changing. One jar has a tricky label where the power itself keeps changing, like a shape-shifting exponent. To handle that jar, we use a clever trick: take the logarithm to bring the exponent down to a normal level. The other jar is a simple fraction, handled by a straightforward division rule. Add both results together and you get the final answer.
Answer: \[ \frac{dy}{dx} = x^{x\cos x}\left(\cos x\log x - x\sin x\log x + \cos x\right) - \frac{4x}{(x^2-1)^2}. \]
The given function has two parts joined by a plus sign, so we differentiate each part separately and add the results. The first part \( x^{x\cos x} \) has a variable in both the base and the exponent, so ordinary power rule and exponential rule do not apply directly. We use logarithmic differentiation: take the natural logarithm of both sides, use the log property \( \log(a^b) = b\log a \), and then differentiate implicitly. The second part \( \dfrac{x^2+1}{x^2-1} \) is a quotient of two polynomials, so we apply the quotient rule.
Logarithmic differentiation: if \( u = f(x)^{g(x)} \), then \( \dfrac{1}{u}\dfrac{du}{dx} = \dfrac{d}{dx}\big(g(x)\log f(x)\big) \). Quotient rule: \( \dfrac{d}{dx}\left(\dfrac{p}{q}\right) = \dfrac{p'q - pq'}{q^2} \). Product rule: \( (fg)' = f'g + fg' \).
\[ \frac{dy}{dx} = x^{x\cos x}\left(\cos x\log x - x\sin x\log x + \cos x\right) - \frac{4x}{(x^2-1)^2}. \]
A common mistake is trying to use the power rule \( \frac{d}{dx}x^n = nx^{n-1} \) directly on \( x^{x\cos x} \). This is wrong because the exponent is not a constant. Whenever the exponent contains \( x \), you must use logarithmic differentiation, not the ordinary power rule.
\[ \frac{dy}{dx} = x^{x\cos x}\left(\cos x\log x - x\sin x\log x + \cos x\right) - \frac{4x}{(x^2-1)^2}. \]
One common mistake: When differentiating \( x\cos x \cdot \log x \) in Step 3, students often forget to apply the product rule to \( x\cos x \) itself (treating it as a single block without differentiating it), leading to a missing \( -x\sin x\log x \) term in the final answer.
Answer: \[ \frac{dy}{dx} = x^{x\cos x}\left(\cos x\log x - x\sin x\log x + \cos x\right) - \frac{4x}{(x^2-1)^2}. \]
Question: Differentiate the function with respect to \( x \): \[ y = x^{x \sin x} + \frac{x^2 - 1}{x^2 + 4} \]
Solution: Let \( y = u + v \), where \( u = x^{x \sin x} \) and \( v = \dfrac{x^2 - 1}{x^2 + 4} \). Step 1: Differentiate \( u = x^{x \sin x} \) using logarithmic differentiation. Taking natural log on both sides: \[ \ln u = x \sin x \cdot \ln x \] Differentiating both sides with respect to \( x \): \[ \frac{1}{u} \frac{du}{dx} = \frac{d}{dx}(x \sin x) \cdot \ln x + x \sin x \cdot \frac{d}{dx}(\ln x) \] Now, \( \frac{d}{dx}(x \sin x) = \sin x + x \cos x \) and \( \frac{d}{dx}(\ln x) = \frac{1}{x} \). Substituting: \[ \frac{1}{u} \frac{du}{dx} = (\sin x + x \cos x) \ln x + x \sin x \cdot \frac{1}{x} \] \[ \frac{1}{u} \frac{du}{dx} = (\sin x + x \cos x) \ln x + \sin x \] Therefore: \[ \frac{du}{dx} = x^{x \sin x} \left[ (\sin x + x \cos x) \ln x + \sin x \right] \] Step 2: Differentiate \( v = \dfrac{x^2 - 1}{x^2 + 4} \) using the quotient rule. Let \( p = x^2 - 1 \) and \( q = x^2 + 4 \), so \( p' = 2x \) and \( q' = 2x \). \[ \frac{dv}{dx} = \frac{p'q - pq'}{q^2} = \frac{2x(x^2 + 4) - (x^2 - 1)(2x)}{(x^2 + 4)^2} \] \[ = \frac{2x\left[(x^2 + 4) - (x^2 - 1)\right]}{(x^2 + 4)^2} = \frac{2x(5)}{(x^2 + 4)^2} = \frac{10x}{(x^2 + 4)^2} \] Step 3: Combine the results. \[ \frac{dy}{dx} = x^{x \sin x} \left[ (\sin x + x \cos x) \ln x + \sin x \right] + \frac{10x}{(x^2 + 4)^2} \]
Answer: \( \dfrac{dy}{dx} = x^{x \sin x} \left[ (\sin x + x \cos x) \ln x + \sin x \right] + \dfrac{10x}{(x^2 + 4)^2} \)
Question: Differentiate the function with respect to \( x \): \[ y = (\sin x)^{x} + \frac{3x^2 + 2}{x^2 - 5} \]
Solution: Let \( y = u + v \), where \( u = (\sin x)^{x} \) and \( v = \dfrac{3x^2 + 2}{x^2 - 5} \). Step 1: Differentiate \( u = (\sin x)^{x} \) using logarithmic differentiation. Taking natural log on both sides: \[ \ln u = x \ln(\sin x) \] Differentiating both sides with respect to \( x \): \[ \frac{1}{u} \frac{du}{dx} = \frac{d}{dx}(x) \cdot \ln(\sin x) + x \cdot \frac{d}{dx}\left(\ln(\sin x)\right) \] Now, \( \frac{d}{dx}(x) = 1 \) and \( \frac{d}{dx}(\ln(\sin x)) = \dfrac{\cos x}{\sin x} = \cot x \). Substituting: \[ \frac{1}{u} \frac{du}{dx} = \ln(\sin x) + x \cot x \] Therefore: \[ \frac{du}{dx} = (\sin x)^{x} \left[ \ln(\sin x) + x \cot x \right] \] Step 2: Differentiate \( v = \dfrac{3x^2 + 2}{x^2 - 5} \) using the quotient rule. Let \( p = 3x^2 + 2 \) and \( q = x^2 - 5 \), so \( p' = 6x \) and \( q' = 2x \). \[ \frac{dv}{dx} = \frac{p'q - pq'}{q^2} = \frac{6x(x^2 - 5) - (3x^2 + 2)(2x)}{(x^2 - 5)^2} \] Expanding the numerator: \[ = \frac{6x^3 - 30x - 6x^3 - 4x}{(x^2 - 5)^2} = \frac{-34x}{(x^2 - 5)^2} \] Step 3: Combine the results. \[ \frac{dy}{dx} = (\sin x)^{x} \left[ \ln(\sin x) + x \cot x \right] + \frac{-34x}{(x^2 - 5)^2} \] \[ \frac{dy}{dx} = (\sin x)^{x} \left[ \ln(\sin x) + x \cot x \right] - \frac{34x}{(x^2 - 5)^2} \]
Answer: \( \dfrac{dy}{dx} = (\sin x)^{x} \left[ \ln(\sin x) + x \cot x \right] - \dfrac{34x}{(x^2 - 5)^2} \)
Question: Differentiate the following function with respect to \( x \): \[ y = x^{x \sin x} + \frac{x^2 + 3}{x^2 - 3} \]
Answer: \[ \frac{dy}{dx} = x^{x \sin x}\left( \sin x \log x + x \cos x \log x + \sin x \right) - \frac{12x}{(x^2 - 3)^2} \]