Compute the derivative of \(f(x)=sin^2\ x.\)
CBSE Class 11 Maths · Limits and Derivatives
CBSE Class 11 Maths · Limits and Derivatives
Imagine you are multiplying something by itself, like a number times itself. Here, we have \( \sin x \) multiplied by \( \sin x \). To find how fast this changes, we use a rule for multiplying two things together. Each copy of \( \sin x \) gives us a \( \cos x \) when we differentiate it. Adding both results gives us two identical pieces, which we write as \( 2 \sin x \cos x \). A handy shortcut from trigonometry then turns this into the much neater form \( \sin 2x \).
Answer: \[ f'(x) = 2 \sin x \cos x = \sin 2x \]
The function \( f(x) = \sin^{2} x \) means \( (\sin x)^{2} \), that is \( \sin x \) multiplied by itself. To differentiate it using only Class 11 tools, we write it as a product \( \sin x \cdot \sin x \) and apply the product rule. The product rule states that if \( f(x) = u(x) \cdot v(x) \), then \( f'(x) = u'(x) v(x) + u(x) v'(x) \). We also use the standard derivative \( \frac{d}{dx}(\sin x) = \cos x \). Finally, we simplify using the double-angle identity \( 2 \sin x \cos x = \sin 2x \), which is part of the trigonometry chapter.
\[ \frac{d}{dx}\left( u \cdot v \right) = u' v + u v' \] and \[ \frac{d}{dx}(\sin x) = \cos x \]
\[ f'(x) = 2 \sin x \cos x = \sin 2x \]
A common mistake is to write \( \frac{d}{dx}(\sin^{2} x) = \cos^{2} x \) by wrongly treating \( \sin^{2} x \) as \( \sin(x^2) \) or by just squaring the derivative. Remember \( \sin^{2} x \) means \( (\sin x)^{2} \), so you must use the product rule (or chain rule), giving \( 2 \sin x \cos x \), not \( \cos^{2} x \).
\[ f'(x) = 2 \sin x \cos x = \sin 2x \]
One common mistake: Students often forget to apply the product rule entirely and instead write \( f'(x) = 2 \sin x \) by treating the exponent like a simple power of \( x \) — remember, the base \( \sin x \) is itself a function, so the product rule (or chain rule) must be used, not just the power rule alone.
Answer: \[ f'(x) = 2 \sin x \cos x = \sin 2x \]
Question: Compute the derivative of \( f(x) = \cos^{2}x \) using first principles.
Solution: We use the first-principles definition of the derivative: \[f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}\] Here \( f(x) = \cos^{2}x \), so \( f(x+h) = \cos^{2}(x+h) \). Thus \[f'(x) = \lim_{h \to 0} \frac{\cos^{2}(x+h) - \cos^{2}x}{h}\] We use the identity \( A^{2} - B^{2} = (A-B)(A+B) \) with \( A = \cos(x+h) \) and \( B = \cos x \): \[f'(x) = \lim_{h \to 0} \frac{[\cos(x+h) - \cos x][\cos(x+h) + \cos x]}{h}\] Now apply the sum-to-product formula. Using \( \cos C - \cos D = -2\sin\!\left(\frac{C+D}{2}\right)\sin\!\left(\frac{C-D}{2}\right) \) with \( C = x+h \) and \( D = x \): \[\cos(x+h) - \cos x = -2\sin\!\left(x + \frac{h}{2}\right)\sin\!\left(\frac{h}{2}\right)\] And using \( \cos C + \cos D = 2\cos\!\left(\frac{C+D}{2}\right)\cos\!\left(\frac{C-D}{2}\right) \): \[\cos(x+h) + \cos x = 2\cos\!\left(x + \frac{h}{2}\right)\cos\!\left(\frac{h}{2}\right)\] Substituting: \[f'(x) = \lim_{h \to 0} \frac{\left[-2\sin\!\left(x+\frac{h}{2}\right)\sin\!\left(\frac{h}{2}\right)\right]\left[2\cos\!\left(x+\frac{h}{2}\right)\cos\!\left(\frac{h}{2}\right)\right]}{h}\] \[f'(x) = \lim_{h \to 0} \frac{-4\sin\!\left(x+\frac{h}{2}\right)\cos\!\left(x+\frac{h}{2}\right)\sin\!\left(\frac{h}{2}\right)\cos\!\left(\frac{h}{2}\right)}{h}\] Using \( 2\sin\theta\cos\theta = \sin 2\theta \) on each pair: \[f'(x) = \lim_{h \to 0} \frac{-\sin\!\left(2x+h\right)\cdot\sin h}{h}\] Because \( 4\sin\!\left(x+\frac{h}{2}\right)\cos\!\left(x+\frac{h}{2}\right) = \sin(2x+h) \) and \( 2\sin\!\left(\frac{h}{2}\right)\cos\!\left(\frac{h}{2}\right) = \sin h \). Now using \( \lim_{h \to 0}\frac{\sin h}{h} = 1 \): \[f'(x) = -\sin(2x+0) \cdot 1 = -\sin 2x\]
Answer: \( f'(x) = -\sin 2x \)
Question: Find the derivative of \( g(x) = \tan^{2}x \) from first principles.
Solution: By the first-principles definition: \[g'(x) = \lim_{h \to 0} \frac{g(x+h) - g(x)}{h} = \lim_{h \to 0} \frac{\tan^{2}(x+h) - \tan^{2}x}{h}\] Factor using \( A^{2} - B^{2} = (A - B)(A + B) \): \[g'(x) = \lim_{h \to 0} \frac{[\tan(x+h) - \tan x][\tan(x+h) + \tan x]}{h}\] Step 1: Simplify \( \tan(x+h) - \tan x \). \[\tan(x+h) - \tan x = \frac{\sin(x+h)}{\cos(x+h)} - \frac{\sin x}{\cos x} = \frac{\sin(x+h)\cos x - \sin x\cos(x+h)}{\cos(x+h)\cos x}\] Using the sine difference formula \( \sin A\cos B - \cos A\sin B = \sin(A - B) \): \[\tan(x+h) - \tan x = \frac{\sin h}{\cos(x+h)\cos x}\] Step 2: Substitute back: \[g'(x) = \lim_{h \to 0} \frac{\sin h}{h} \cdot \frac{\tan(x+h) + \tan x}{\cos(x+h)\cos x}\] Step 3: Apply the limit. As \( h \to 0 \), \( \frac{\sin h}{h} \to 1 \), \( \tan(x+h) \to \tan x \), and \( \cos(x+h) \to \cos x \): \[g'(x) = 1 \cdot \frac{\tan x + \tan x}{\cos x \cdot \cos x} = \frac{2\tan x}{\cos^{2}x}\] Step 4: Write \( \tan x = \frac{\sin x}{\cos x} \): \[g'(x) = \frac{2\sin x}{\cos^{3}x}\] This can also be written as \( 2\tan x \sec^{2}x \), since \( \frac{1}{\cos^{2}x} = \sec^{2}x \): \[g'(x) = 2\tan x\sec^{2}x\]
Answer: \( g'(x) = 2\tan x\sec^{2}x \)
Question: Compute the derivative of \( f(x) = \cos^{2}x \) using the chain rule (or first principles). Simplify your answer as far as possible.
Answer: \[ f'(x) = -2\sin x \cos x = -\sin 2x \]