SOLVER7 Study. Nothing Else.
Chapter 12 Examples Q17

Compute the derivative of \(tan\ x.\)

CBSE Class 11 Maths · Limits and Derivatives

Solution

👶 Simple Explanation

Simple Explanation

Imagine tan x is like a fraction — the top part is sin x and the bottom part is cos x. When you want to find how fast tan x is changing, you use a rule for fractions called the quotient rule. After applying it, the top of the result becomes \( \sin^{2}x + \cos^{2}x \), which always equals 1. So the answer simplifies to \( \frac{1}{\cos^{2}x} \), which is the same as \( \sec^{2}x \). It is a neat, clean result worth memorising.

Answer: \[\frac{d}{dx}(\tan x) = \sec^{2}x\]

📖 Derivative of tan x

Detailed Explanation

The function \( \tan x \) can be written in terms of sine and cosine as \( \tan x = \frac{\sin x}{\cos x} \). Since this is a ratio of two functions, we find its derivative using the quotient rule. We also use the known standard derivatives \( \frac{d}{dx}(\sin x) = \cos x \) and \( \frac{d}{dx}(\cos x) = -\sin x \), along with the Pythagorean identity \( \sin^{2}x + \cos^{2}x = 1 \). The final result is a clean, standard formula that is worth remembering.

Formula Used

Quotient rule: \[\frac{d}{dx}\left(\frac{u}{v}\right) = \frac{v \frac{du}{dx} - u \frac{dv}{dx}}{v^2}\]

Solution

  1. Step 1: Rewrite the function as a quotient. We know \( \tan x = \frac{\sin x}{\cos x} \). Take \( u = \sin x \) and \( v = \cos x \).
  2. Step 2: Find the derivatives of the numerator and denominator using standard results. \[\frac{du}{dx} = \cos x\] \[\frac{dv}{dx} = -\sin x\]
  3. Step 3: Apply the quotient rule. \[\frac{d}{dx}(\tan x) = \frac{\cos x \cdot \cos x - \sin x \cdot (-\sin x)}{\cos^{2}x}\]
  4. Step 4: Simplify the numerator. \[\frac{d}{dx}(\tan x) = \frac{\cos^{2}x + \sin^{2}x}{\cos^{2}x}\]
  5. Step 5: Use the identity \( \sin^{2}x + \cos^{2}x = 1 \) in the numerator. \[\frac{d}{dx}(\tan x) = \frac{1}{\cos^{2}x}\]
  6. Step 6: Since \( \frac{1}{\cos x} = \sec x \), we can write the result compactly. \[\frac{d}{dx}(\tan x) = \sec^{2}x\]

Final Answer

\[\frac{d}{dx}(\tan x) = \sec^{2}x\]

Common Mistake

A common mistake is dropping the sign while differentiating the denominator. Since \( \frac{d}{dx}(\cos x) = -\sin x \), the term \( -u \frac{dv}{dx} \) becomes \( -\sin x \cdot (-\sin x) = +\sin^{2}x \). Forgetting this double negative gives \( \cos^{2}x - \sin^{2}x \) in the numerator, which leads to a wrong answer.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Express \( \tan x \) as a fraction: \[\tan x = \frac{\sin x}{\cos x}\] — Reason: The quotient rule applies to ratios, so we must first write \( \tan x \) in the form \( \frac{u}{v} \) before differentiating.
  2. Step 2: Identify \( u \) and \( v \): let \( u = \sin x \) and \( v = \cos x \). — Reason: Clearly labelling the numerator and denominator prevents sign errors when applying the quotient rule formula.
  3. Step 3: Differentiate each part using standard results: \[\frac{du}{dx} = \cos x\] and \[\frac{dv}{dx} = -\sin x\] — Reason: These are known derivatives; note the negative sign for \( \frac{d}{dx}(\cos x) \), which is a frequent source of errors.
  4. Step 4: Substitute into the quotient rule formula: \[\frac{d}{dx}(\tan x) = \frac{\cos x \cdot \cos x - \sin x \cdot (-\sin x)}{\cos^{2}x}\] — Reason: We plug \( u \), \( v \), \( \frac{du}{dx} \), and \( \frac{dv}{dx} \) directly into \( \frac{v \frac{du}{dx} - u \frac{dv}{dx}}{v^{2}} \).
  5. Step 5: Simplify the numerator by expanding the double negative: \[\frac{d}{dx}(\tan x) = \frac{\cos^{2}x + \sin^{2}x}{\cos^{2}x}\] — Reason: Subtracting a negative turns into addition, giving us a recognisable expression in the numerator.
  6. Step 6: Apply the Pythagorean identity \( \sin^{2}x + \cos^{2}x = 1 \) to the numerator: \[\frac{d}{dx}(\tan x) = \frac{1}{\cos^{2}x}\] — Reason: This identity collapses the entire numerator to 1, making the expression much simpler.
  7. Step 7: Rewrite using the secant function, since \( \sec x = \frac{1}{\cos x} \), so \( \frac{1}{\cos^{2}x} = \sec^{2}x \): \[\frac{d}{dx}(\tan x) = \sec^{2}x\] — Reason: Expressing the result in terms of \( \sec x \) gives the compact standard form that is universally used and easier to recall.

Final Answer

\[\frac{d}{dx}(\tan x) = \sec^{2}x\]

Common Mistake

One common mistake: forgetting the negative sign in \( \frac{d}{dx}(\cos x) = -\sin x \), which causes the numerator to become \( \cos^{2}x - \sin^{2}x \) instead of \( \cos^{2}x + \sin^{2}x \), leading to an incorrect result.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Write \( \tan x = \frac{\sin x}{\cos x} \), so \( u = \sin x \), \( v = \cos x \), \( \frac{du}{dx} = \cos x \), \( \frac{dv}{dx} = -\sin x \).
  2. Step 2: Apply quotient rule: \[\frac{d}{dx}(\tan x) = \frac{\cos x \cdot \cos x - \sin x \cdot (-\sin x)}{\cos^{2}x} = \frac{\cos^{2}x + \sin^{2}x}{\cos^{2}x}\]
  3. Step 3: Use \( \sin^{2}x + \cos^{2}x = 1 \): \[\frac{d}{dx}(\tan x) = \frac{1}{\cos^{2}x} = \sec^{2}x\]

Answer: \[\frac{d}{dx}(\tan x) = \sec^{2}x\]

➕ More Examples

More Examples

Example 1

Question: Compute the derivative of \( \cot x \) from first principles.

Solution: Let \( f(x) = \cot x \). By the definition of the derivative, \[f'(x) = \lim_{h \to 0} \frac{f(x + h) - f(x)}{h}\] Substituting \( f(x) = \cot x \): \[f'(x) = \lim_{h \to 0} \frac{\cot(x + h) - \cot x}{h}\] Expressing cotangent in terms of sine and cosine: \[f'(x) = \lim_{h \to 0} \frac{1}{h} \left( \frac{\cos(x+h)}{\sin(x+h)} - \frac{\cos x}{\sin x} \right)\] Combining the fractions: \[f'(x) = \lim_{h \to 0} \frac{1}{h} \cdot \frac{\cos(x+h)\sin x - \cos x \sin(x+h)}{\sin(x+h)\sin x}\] The numerator can be recognised as a sine difference formula. Using \( \sin(A - B) = \sin A \cos B - \cos A \sin B \), we note: \[\cos(x+h)\sin x - \cos x \sin(x+h) = -\sin\bigl((x+h) - x\bigr) = -\sin h\] So: \[f'(x) = \lim_{h \to 0} \frac{-\sin h}{h \cdot \sin(x+h) \cdot \sin x}\] Separating the limit: \[f'(x) = -\lim_{h \to 0} \frac{\sin h}{h} \cdot \lim_{h \to 0} \frac{1}{\sin(x+h) \cdot \sin x}\] Using \( \lim_{h \to 0} \frac{\sin h}{h} = 1 \) and \( \lim_{h \to 0} \sin(x + h) = \sin x \): \[f'(x) = -1 \cdot \frac{1}{\sin x \cdot \sin x} = \frac{-1}{\sin^{2} x}\] Since \( \csc^{2} x = \frac{1}{\sin^{2} x} \), we conclude: \[f'(x) = -\csc^{2} x\]

Answer: \( \frac{d}{dx}(\cot x) = -\csc^{2} x \)

Example 2

Question: Compute the derivative of \( \sec x \) from first principles.

Solution: Let \( f(x) = \sec x = \frac{1}{\cos x} \). By the definition of the derivative, \[f'(x) = \lim_{h \to 0} \frac{f(x + h) - f(x)}{h}\] Substituting: \[f'(x) = \lim_{h \to 0} \frac{1}{h} \left( \frac{1}{\cos(x+h)} - \frac{1}{\cos x} \right)\] Combining the fractions: \[f'(x) = \lim_{h \to 0} \frac{\cos x - \cos(x+h)}{h \cdot \cos(x+h) \cdot \cos x}\] Using the identity for the difference of cosines, \( \cos A - \cos B = -2 \sin\!\left(\frac{A+B}{2}\right)\sin\!\left(\frac{A-B}{2}\right) \), with \( A = x \) and \( B = x + h \): \[\cos x - \cos(x+h) = -2 \sin\!\left(x + \frac{h}{2}\right) \sin\!\left(\frac{-h}{2}\right) = 2 \sin\!\left(x + \frac{h}{2}\right) \sin\!\left(\frac{h}{2}\right)\] Substituting back: \[f'(x) = \lim_{h \to 0} \frac{2 \sin\!\left(x + \frac{h}{2}\right) \sin\!\left(\frac{h}{2}\right)}{h \cdot \cos(x+h) \cdot \cos x}\] Rewrite \( \frac{2\sin\!\left(\frac{h}{2}\right)}{h} \) as \( \frac{\sin\!\left(\frac{h}{2}\right)}{\frac{h}{2}} \): \[f'(x) = \lim_{h \to 0} \frac{\sin\!\left(\frac{h}{2}\right)}{\frac{h}{2}} \cdot \frac{\sin\!\left(x + \frac{h}{2}\right)}{\cos(x+h) \cdot \cos x}\] As \( h \to 0 \), \( \frac{\sin\!\left(\frac{h}{2}\right)}{\frac{h}{2}} \to 1 \), \( \sin\!\left(x + \frac{h}{2}\right) \to \sin x \), and \( \cos(x + h) \to \cos x \). Therefore: \[f'(x) = 1 \cdot \frac{\sin x}{\cos x \cdot \cos x} = \frac{\sin x}{\cos^{2} x}\] This can be written as: \[f'(x) = \frac{1}{\cos x} \cdot \frac{\sin x}{\cos x} = \sec x \tan x\]

Answer: \( \frac{d}{dx}(\sec x) = \sec x \tan x \)

🎯 Try a Similar Question

Try a Similar Question

Question: Compute the derivative of \( \cot x \) from first principles.

Solution

  1. Step 1: Apply the definition of the derivative: Let \( f(x) = \cot x \). By first principles, \[f'(x) = \lim_{h \to 0} \frac{\cot(x + h) - \cot x}{h}\]
  2. Step 2: Expand using the definition of cot: Write \( \cot \theta = \frac{\cos \theta}{\sin \theta} \). So the expression becomes \[f'(x) = \lim_{h \to 0} \frac{1}{h} \left( \frac{\cos(x+h)}{\sin(x+h)} - \frac{\cos x}{\sin x} \right)\]
  3. Step 3: Combine into a single fraction: Taking the common denominator \( \sin(x+h) \cdot \sin x \), we get \[f'(x) = \lim_{h \to 0} \frac{\cos(x+h)\sin x - \cos x \sin(x+h)}{h \cdot \sin(x+h) \cdot \sin x}\]
  4. Step 4: Use the sine difference identity in the numerator: Recall that \( \sin A \cos B - \cos A \sin B = \sin(A - B) \). The numerator is \( \cos(x+h)\sin x - \cos x \sin(x+h) = -\sin(x+h - x) = -\sin h \). So \[f'(x) = \lim_{h \to 0} \frac{-\sin h}{h \cdot \sin(x+h) \cdot \sin x}\]
  5. Step 5: Separate the limit: Rewrite as \[f'(x) = -\lim_{h \to 0} \frac{\sin h}{h} \cdot \lim_{h \to 0} \frac{1}{\sin(x+h) \cdot \sin x}\]
  6. Step 6: Evaluate each limit: We know \( \lim_{h \to 0} \frac{\sin h}{h} = 1 \) and as \( h \to 0 \), \( \sin(x+h) \to \sin x \). Therefore \[f'(x) = -1 \cdot \frac{1}{\sin x \cdot \sin x} = \frac{-1}{\sin^{2} x}\]
  7. Step 7: Write the final answer in standard form: Since \( \frac{1}{\sin x} = \csc x \), we have \[f'(x) = -\csc^{2} x\]

Answer: \[\frac{d}{dx}(\cot x) = -\csc^{2} x\]

Everything you get with Solver7

More questions in Limits and Derivatives