SOLVER7 Study. Nothing Else.
Chapter 12 Examples Q18

Compute the derivative of \(f(x)=sin^2\ x.\)

CBSE Class 11 Maths · Limits and Derivatives

Solution

👶 Simple Explanation

Simple Explanation

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 \]

📖 Derivative of sin squared x

Detailed Explanation

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.

Formula Used

\[ \frac{d}{dx}\left( u \cdot v \right) = u' v + u v' \] and \[ \frac{d}{dx}(\sin x) = \cos x \]

Solution

  1. Step 1: Rewrite the function as a product so the product rule can be applied. We have \[ f(x) = \sin^{2} x = \sin x \cdot \sin x. \]
  2. Step 2: Choose the two factors for the product rule. Let \( u = \sin x \) and \( v = \sin x \). Then their derivatives are \( u' = \cos x \) and \( v' = \cos x \), using the standard result \( \frac{d}{dx}(\sin x) = \cos x \).
  3. Step 3: Apply the product rule \( f'(x) = u' v + u v' \). Substituting the values gives \[ f'(x) = \cos x \cdot \sin x + \sin x \cdot \cos x. \]
  4. Step 4: Combine the two identical terms. Since both terms are \( \sin x \cos x \), we get \[ f'(x) = 2 \sin x \cos x. \]
  5. Step 5: Simplify using the double-angle identity \( 2 \sin x \cos x = \sin 2x \). This gives the neat form \[ f'(x) = \sin 2x. \]

Final Answer

\[ f'(x) = 2 \sin x \cos x = \sin 2x \]

Common Mistake

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 \).

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Rewrite \( \sin^{2} x \) explicitly as a product: \[ f(x) = \sin^{2} x = \sin x \cdot \sin x \] — Reason: The product rule requires the function to be expressed as two separate multiplied parts, so we make that structure visible before differentiating.
  2. Step 2: Label the two factors as \( u = \sin x \) and \( v = \sin x \), then find their derivatives: \( u' = \cos x \) and \( v' = \cos x \) — Reason: Identifying \( u \) and \( v \) separately keeps the substitution into the product rule organised, and both derivatives follow directly from the standard result \( \frac{d}{dx}(\sin x) = \cos x \).
  3. Step 3: Apply the product rule \( f'(x) = u' v + u v' \) by substituting the values found above: \[ f'(x) = \cos x \cdot \sin x + \sin x \cdot \cos x \] — Reason: This is the direct mechanical application of the product rule formula; every term must be written out fully before simplifying.
  4. Step 4: Observe that both terms are identical, so combine them: \[ f'(x) = 2 \sin x \cos x \] — Reason: Adding two equal quantities \( \sin x \cos x + \sin x \cos x \) gives \( 2 \sin x \cos x \), just as \( a + a = 2a \).
  5. Step 5: Apply the double-angle identity \( 2 \sin x \cos x = \sin 2x \) to write the answer in its simplest form: \[ f'(x) = 2 \sin x \cos x = \sin 2x \] — Reason: The double-angle identity condenses the expression into a single trigonometric term, which is the standard compact form expected in CBSE answers.

Final Answer

\[ f'(x) = 2 \sin x \cos x = \sin 2x \]

Common Mistake

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.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Rewrite: \[ f(x) = \sin^{2} x = \sin x \cdot \sin x \]
  2. Step 2: Apply product rule with \( u = \sin x \), \( v = \sin x \), \( u' = \cos x \), \( v' = \cos x \): \[ f'(x) = \cos x \cdot \sin x + \sin x \cdot \cos x \]
  3. Step 3: Combine and simplify using \( 2\sin x \cos x = \sin 2x \): \[ f'(x) = 2\sin x \cos x = \sin 2x \]

Answer: \[ f'(x) = 2 \sin x \cos x = \sin 2x \]

➕ More Examples

More Examples

Example 1

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 \)

Example 2

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 \)

🎯 Try a Similar Question

Try a Similar Question

Question: Compute the derivative of \( f(x) = \cos^{2}x \) using the chain rule (or first principles). Simplify your answer as far as possible.

Solution

  1. Step 1: Rewrite the function: Write \( f(x) = \cos^{2}x \) as \( f(x) = [\cos x]^{2} \). This clearly shows the outer function (squaring) and the inner function (\( \cos x \)).
  2. Step 2: Apply the Chain Rule: Let \( u = \cos x \), so \( f = u^{2} \). By the chain rule, \( f'(x) = \frac{d}{du}(u^{2}) \cdot \frac{du}{dx} \). We get \( \frac{d}{du}(u^{2}) = 2u \) and \( \frac{du}{dx} = -\sin x \).
  3. Step 3: Substitute back: Substituting \( u = \cos x \) back: \[ f'(x) = 2\cos x \cdot (-\sin x) \] which simplifies to \[ f'(x) = -2\sin x \cos x \]
  4. Step 4: Use the double angle identity: Recall the double angle identity \( \sin 2x = 2\sin x \cos x \). Therefore: \[ f'(x) = -2\sin x \cos x = -\sin 2x \]

Answer: \[ f'(x) = -2\sin x \cos x = -\sin 2x \]

Everything you get with Solver7

More questions in Limits and Derivatives