Find the derivative of \(f(x)\) from the first principle, where \(f(x)\) is \(sin\ x+cos\ x\)
CBSE Class 11 Maths · Limits and Derivatives
CBSE Class 11 Maths · Limits and Derivatives
Imagine you are watching a car and want to know exactly how fast it is moving at one tiny moment. A derivative does exactly that for any math function. The function here is \( \sin x + \cos x \), which is like two waves added together. By zooming in really closely using a special limit trick, we find how fast this combined wave changes at any point. The answer turns out to be \( \cos x - \sin x \), meaning the cosine wave grows while the sine wave shrinks the total.
Answer: \[f'(x) = \cos x - \sin x\]
The derivative from the first principle measures the instantaneous rate of change of a function. Instead of using ready-made derivative rules, we go back to the definition of the derivative as a limit. For a function \( f(x) \), the first principle definition uses the change in the function value over a tiny change \( h \) in \( x \), and takes the limit as \( h \) approaches 0. To handle trigonometric expressions like \( \sin(x+h) \) and \( \cos(x+h) \), we use the sum formulae for sine and cosine, and then apply two standard trigonometric limits.
First principle: \[f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}\] Standard limits used: \[\lim_{h \to 0} \frac{\sin h}{h} = 1\] \[\lim_{h \to 0} \frac{\cos h - 1}{h} = 0\]
\[f'(x) = \cos x - \sin x\]
A common mistake is using the wrong sign in the cosine sum formula. Remember \( \cos(x+h) = \cos x \cos h - \sin x \sin h \) (with a minus sign), not a plus. A wrong sign here leads to an incorrect final answer.
\[f'(x) = \cos x - \sin x\]
One common mistake: Students forget to subtract the full \( f(x) = \sin x + \cos x \) in the numerator and only subtract one of the two terms (e.g. only \( \sin x \)), which causes an incorrect grouping and a wrong final answer.
Answer: \[f'(x) = \cos x - \sin x\]
Question: Find the derivative of \( f(x) = \sin x - \cos x \) from first principles.
Solution: We use the definition of the derivative: \[f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}\] Now, \( f(x+h) = \sin(x+h) - \cos(x+h) \) and \( f(x) = \sin x - \cos x \). So the numerator becomes: \[f(x+h) - f(x) = \bigl[\sin(x+h) - \cos(x+h)\bigr] - \bigl[\sin x - \cos x\bigr]\] \[= \bigl[\sin(x+h) - \sin x\bigr] - \bigl[\cos(x+h) - \cos x\bigr]\] Applying the sum-to-product identity for \( \sin(x+h) - \sin x \): \[\sin(x+h) - \sin x = 2 \cos\left(x + \frac{h}{2}\right) \sin\left(\frac{h}{2}\right)\] Applying the sum-to-product identity for \( \cos(x+h) - \cos x \): \[\cos(x+h) - \cos x = -2 \sin\left(x + \frac{h}{2}\right) \sin\left(\frac{h}{2}\right)\] Substituting back: \[f(x+h) - f(x) = 2\cos\left(x + \frac{h}{2}\right)\sin\left(\frac{h}{2}\right) - \left[-2\sin\left(x + \frac{h}{2}\right)\sin\left(\frac{h}{2}\right)\right]\] \[= 2\sin\left(\frac{h}{2}\right)\left[\cos\left(x + \frac{h}{2}\right) + \sin\left(x + \frac{h}{2}\right)\right]\] Dividing by \( h \): \[\frac{f(x+h)-f(x)}{h} = \frac{2\sin\left(\frac{h}{2}\right)}{h}\left[\cos\left(x+\frac{h}{2}\right) + \sin\left(x+\frac{h}{2}\right)\right]\] \[= \frac{\sin\left(\frac{h}{2}\right)}{\frac{h}{2}} \cdot \left[\cos\left(x+\frac{h}{2}\right) + \sin\left(x+\frac{h}{2}\right)\right]\] Taking the limit as \( h \to 0 \): \[f'(x) = \lim_{h \to 0} \frac{\sin\left(\frac{h}{2}\right)}{\frac{h}{2}} \cdot \lim_{h \to 0}\left[\cos\left(x+\frac{h}{2}\right) + \sin\left(x+\frac{h}{2}\right)\right]\] \[= 1 \cdot \left[\cos x + \sin x\right]\] \[= \cos x + \sin x\]
Answer: \( f'(x) = \cos x + \sin x \)
Question: Find the derivative of \( f(x) = 2\sin x + 3\cos x \) from first principles.
Solution: We use the definition of the derivative: \[f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}\] Now, \( f(x+h) = 2\sin(x+h) + 3\cos(x+h) \) and \( f(x) = 2\sin x + 3\cos x \). The numerator is: \[f(x+h) - f(x) = 2\bigl[\sin(x+h) - \sin x\bigr] + 3\bigl[\cos(x+h) - \cos x\bigr]\] Applying the sum-to-product identity for \( \sin(x+h) - \sin x \): \[\sin(x+h) - \sin x = 2\cos\left(x + \frac{h}{2}\right)\sin\left(\frac{h}{2}\right)\] Applying the sum-to-product identity for \( \cos(x+h) - \cos x \): \[\cos(x+h) - \cos x = -2\sin\left(x + \frac{h}{2}\right)\sin\left(\frac{h}{2}\right)\] Substituting: \[f(x+h) - f(x) = 2 \cdot 2\cos\left(x+\frac{h}{2}\right)\sin\left(\frac{h}{2}\right) + 3 \cdot \left[-2\sin\left(x+\frac{h}{2}\right)\sin\left(\frac{h}{2}\right)\right]\] \[= 4\cos\left(x+\frac{h}{2}\right)\sin\left(\frac{h}{2}\right) - 6\sin\left(x+\frac{h}{2}\right)\sin\left(\frac{h}{2}\right)\] \[= 2\sin\left(\frac{h}{2}\right)\left[2\cos\left(x+\frac{h}{2}\right) - 3\sin\left(x+\frac{h}{2}\right)\right]\] Dividing by \( h \): \[\frac{f(x+h)-f(x)}{h} = \frac{\sin\left(\frac{h}{2}\right)}{\frac{h}{2}} \cdot \left[2\cos\left(x+\frac{h}{2}\right) - 3\sin\left(x+\frac{h}{2}\right)\right]\] Taking the limit as \( h \to 0 \): \[f'(x) = \lim_{h \to 0}\frac{\sin\left(\frac{h}{2}\right)}{\frac{h}{2}} \cdot \lim_{h \to 0}\left[2\cos\left(x+\frac{h}{2}\right) - 3\sin\left(x+\frac{h}{2}\right)\right]\] \[= 1 \cdot \left[2\cos x - 3\sin x\right]\] \[= 2\cos x - 3\sin x\]
Answer: \( f'(x) = 2\cos x - 3\sin x \)
Question: Find the derivative of \( f(x) = 2\sin x - 3\cos x \) from first principles.
Answer: \[f'(x) = 3\sin x + 2\cos x\]