The derivative from first principles uses the limit definition f′(x)=limh→0hf(x+h)−f(x). For (i) −x, the derivative is −1; for (ii) (−x)−1, it is x21; for (iii) sin(x+1), it is cos(x+1); for (iv) cos(x−8π), it is −sin(x−8π).
The first principle of differentiation is the very definition of a derivative. It tells us that the derivative of a function f(x) at a point x is the limit of the slope of the secant line as the two points get infinitely close. Formally:
f′(x)=limh→0hf(x+h)−f(x)
This is the foundation of all calculus. Every derivative rule — product rule, chain rule, quotient rule — is derived from this single limit. So when a problem asks you to find a derivative "from first principle," it means you must use this limit directly, without any shortcuts.
Let's work through each function one by one.
(i) f(x)=−x
Step 1: Write the definition.
We need:
f′(x)=limh→0hf(x+h)−f(x)
Step 2: Substitute the function.
f(x+h)=−(x+h)=−x−h and f(x)=−x. So:
hf(x+h)−f(x)=h(−x−h)−(−x)=h−x−h+x=h−h
Step 3: Simplify and take the limit.
For h=0, h−h=−1. This is constant — it doesn't depend on h at all. So:
limh→0(−1)=−1
A common mistake here is to forget that h cancels completely before taking the limit. If you try to plug h=0 directly into h−h, you get 00, which is indeterminate. Always simplify first.
Step 4: State the result.
The derivative of −x is −1. This makes perfect sense: the graph of y=−x is a straight line with slope −1, so its derivative (the slope at every point) is constant −1.
✓Final answer
The derivative of −x from first principles is −1.
(ii) f(x)=(−x)−1
First, note that (−x)−1=−x1=−x1, provided x=0. We'll use the form f(x)=−x1.
Step 1: Write the definition.
f′(x)=limh→0hf(x+h)−f(x)
Step 2: Substitute.
f(x+h)=−(x+h)1=−x+h1 and f(x)=−x1. So:
hf(x+h)−f(x)=h−x+h1+x1
Step 3: Combine the numerator into a single fraction.
The numerator is −x+h1+x1=x(x+h)−x+(x+h)=x(x+h)h.
So the whole expression becomes:
hx(x+h)h=x(x+h)h⋅h1=x(x+h)1
Step 4: Take the limit as h→0.
limh→0x(x+h)1=x(x+0)1=x21
Notice that the derivative of −x1 came out positive x21, not negative. This is because the negative sign in the denominator flips the usual derivative of x1 (which is −x21). Always check signs carefully.
✓Final answer
The derivative of (−x)−1 from first principles is x21.
(iii) f(x)=sin(x+1)
Step 1: Write the definition.
f′(x)=limh→0hsin(x+h+1)−sin(x+1)
Step 2: Use the sine difference identity.
Recall: sinA−sinB=2cos(2A+B)sin(2A−B).
Here, A=x+h+1 and B=x+1. So:
sin(x+h+1)−sin(x+1)=2cos(2(x+h+1)+(x+1))sin(2(x+h+1)−(x+1))
Simplify the arguments:
- 2A+B=22x+h+2=x+2h+1
- 2A−B=2h
So the difference becomes:
2cos(x+2h+1)sin(2h)
Step 3: Substitute back into the limit.
hsin(x+h+1)−sin(x+1)=h2cos(x+2h+1)sin(2h)
Step 4: Rewrite to use the standard limit limθ→0θsinθ=1.
Multiply numerator and denominator by 21:
=cos(x+2h+1)⋅2hsin(2h)
Step 5: Take the limit as h→0.
As h→0, 2h→0, so h/2sin(h/2)→1. Also, cos(x+2h+1)→cos(x+1).
Therefore:
f′(x)=cos(x+1)
The derivative of sin(anything) is cos(anything) times the derivative of "anything" (chain rule). Here, the "anything" is x+1, whose derivative is 1, so the result is just cos(x+1). The first-principles derivation confirms this.
✓Final answer
The derivative of sin(x+1) from first principles is cos(x+1).
(iv) f(x)=cos(x−8π)
Step 1: Write the definition.
f′(x)=limh→0hcos(x+h−8π)−cos(x−8π)
Step 2: Use the cosine difference identity.
Recall: cosA−cosB=−2sin(2A+B)sin(2A−B).
Here, A=x+h−8π and B=x−8π. So:
cosA−cosB=−2sin(2(x+h−8π)+(x−8π))sin(2(x+h−8π)−(x−8π))
Simplify the arguments:
- 2A+B=22x+h−4π=x+2h−8π
- 2A−B=2h
So the difference becomes:
−2sin(x+2h−8π)sin(2h)
Step 3: Substitute back into the limit.
hcos(x+h−8π)−cos(x−8π)=h−2sin(x+2h−8π)sin(2h)
Step 4: Rewrite to use limθ→0θsinθ=1.
=−sin(x+2h−8π)⋅2hsin(2h)
Step 5: Take the limit as h→0.
As h→0, h/2sin(h/2)→1, and sin(x+2h−8π)→sin(x−8π).
Therefore:
f′(x)=−sin(x−8π)
A common pitfall: forgetting the negative sign in the cosine difference identity. The identity cosA−cosB=−2sin(2A+B)sin(2A−B) has a minus sign in front. If you use cosA−cosB=2sin(2A+B)sin(2B−A) instead, you'll get the same result, but the sign is easy to mess up. Always double-check.
✓Final answer
The derivative of cos(x−8π) from first principles is −sin(x−8π).