Compute the derivative of \(tan\ x.\)
CBSE Class 11 Maths · Limits and Derivatives
CBSE Class 11 Maths · Limits and Derivatives
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\]
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.
Quotient rule: \[\frac{d}{dx}\left(\frac{u}{v}\right) = \frac{v \frac{du}{dx} - u \frac{dv}{dx}}{v^2}\]
\[\frac{d}{dx}(\tan x) = \sec^{2}x\]
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.
\[\frac{d}{dx}(\tan x) = \sec^{2}x\]
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.
Answer: \[\frac{d}{dx}(\tan x) = \sec^{2}x\]
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 \)
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 \)
Question: Compute the derivative of \( \cot x \) from first principles.
Answer: \[\frac{d}{dx}(\cot x) = -\csc^{2} x\]