Skip to content
Miscellaneous Exercise · Q1

Q.Find the derivative of the following functions from first principle:

(i) −x-x
(ii) (−x)−1(-x)^{-1}
(iii) sin⁡(x+1)\sin(x + 1)
(iv) cos⁡(x−π8)\cos\left(x - \dfrac{\pi}{8}\right)
Odisha ChseTextbookSubjective· 3mImportance★★★★★est
38% · 66/175 Questions
✓ Free question

The derivative from first principles uses the limit definition f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \lim_{h \to 0} \frac{f(x+h)-f(x)}{h}. For (i) −x-x, the derivative is −1-1; for (ii) (−x)−1(-x)^{-1}, it is 1x2\frac{1}{x^2}; for (iii) sin⁡(x+1)\sin(x+1), it is cos⁡(x+1)\cos(x+1); for (iv) cos⁡(x−π8)\cos\left(x - \frac{\pi}{8}\right), it is −sin⁡(x−π8)-\sin\left(x - \frac{\pi}{8}\right).

The first principle of differentiation is the very definition of a derivative. It tells us that the derivative of a function f(x)f(x) at a point xx is the limit of the slope of the secant line as the two points get infinitely close. Formally:

f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}

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)=−xf(x) = -x

Step 1: Write the definition.

We need:

f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}

Step 2: Substitute the function.

f(x+h)=−(x+h)=−x−hf(x+h) = -(x+h) = -x - h and f(x)=−xf(x) = -x. So:

f(x+h)−f(x)h=(−x−h)−(−x)h=−x−h+xh=−hh\frac{f(x+h) - f(x)}{h} = \frac{(-x - h) - (-x)}{h} = \frac{-x - h + x}{h} = \frac{-h}{h}

Step 3: Simplify and take the limit.

For h≠0h \neq 0, −hh=−1\frac{-h}{h} = -1. This is constant — it doesn't depend on hh at all. So:

lim⁡h→0(−1)=−1\lim_{h \to 0} (-1) = -1

Watch out

A common mistake here is to forget that hh cancels completely before taking the limit. If you try to plug h=0h=0 directly into −hh\frac{-h}{h}, you get 00\frac{0}{0}, which is indeterminate. Always simplify first.

Step 4: State the result.

The derivative of −x-x is −1-1. This makes perfect sense: the graph of y=−xy = -x is a straight line with slope −1-1, so its derivative (the slope at every point) is constant −1-1.

✓Final answer

The derivative of −x-x from first principles is −1\boxed{-1}.


(ii) f(x)=(−x)−1f(x) = (-x)^{-1}

First, note that (−x)−1=1−x=−1x(-x)^{-1} = \frac{1}{-x} = -\frac{1}{x}, provided x≠0x \neq 0. We'll use the form f(x)=1−xf(x) = \frac{1}{-x}.

Step 1: Write the definition.

f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}

Step 2: Substitute.

f(x+h)=1−(x+h)=−1x+hf(x+h) = \frac{1}{-(x+h)} = -\frac{1}{x+h} and f(x)=−1xf(x) = -\frac{1}{x}. So:

f(x+h)−f(x)h=−1x+h+1xh\frac{f(x+h) - f(x)}{h} = \frac{-\frac{1}{x+h} + \frac{1}{x}}{h}

Step 3: Combine the numerator into a single fraction.

The numerator is −1x+h+1x=−x+(x+h)x(x+h)=hx(x+h)-\frac{1}{x+h} + \frac{1}{x} = \frac{-x + (x+h)}{x(x+h)} = \frac{h}{x(x+h)}.

So the whole expression becomes:

hx(x+h)h=hx(x+h)⋅1h=1x(x+h)\frac{\frac{h}{x(x+h)}}{h} = \frac{h}{x(x+h)} \cdot \frac{1}{h} = \frac{1}{x(x+h)}

Step 4: Take the limit as h→0h \to 0.

lim⁡h→01x(x+h)=1x(x+0)=1x2\lim_{h \to 0} \frac{1}{x(x+h)} = \frac{1}{x(x+0)} = \frac{1}{x^2}

Tip

Notice that the derivative of 1−x\frac{1}{-x} came out positive 1x2\frac{1}{x^2}, not negative. This is because the negative sign in the denominator flips the usual derivative of 1x\frac{1}{x} (which is −1x2-\frac{1}{x^2}). Always check signs carefully.

✓Final answer

The derivative of (−x)−1(-x)^{-1} from first principles is 1x2\boxed{\frac{1}{x^2}}.


(iii) f(x)=sin⁡(x+1)f(x) = \sin(x + 1)

Step 1: Write the definition.

f′(x)=lim⁡h→0sin⁡(x+h+1)−sin⁡(x+1)hf'(x) = \lim_{h \to 0} \frac{\sin(x + h + 1) - \sin(x + 1)}{h}

Step 2: Use the sine difference identity.

Recall: sin⁡A−sin⁡B=2cos⁡(A+B2)sin⁡(A−B2)\sin A - \sin B = 2 \cos\left(\frac{A+B}{2}\right) \sin\left(\frac{A-B}{2}\right).

Here, A=x+h+1A = x + h + 1 and B=x+1B = x + 1. So:

sin⁡(x+h+1)−sin⁡(x+1)=2cos⁡((x+h+1)+(x+1)2)sin⁡((x+h+1)−(x+1)2)\sin(x+h+1) - \sin(x+1) = 2 \cos\left(\frac{(x+h+1)+(x+1)}{2}\right) \sin\left(\frac{(x+h+1)-(x+1)}{2}\right)

Simplify the arguments:

  • A+B2=2x+h+22=x+h2+1\frac{A+B}{2} = \frac{2x + h + 2}{2} = x + \frac{h}{2} + 1
  • A−B2=h2\frac{A-B}{2} = \frac{h}{2}

So the difference becomes:

2cos⁡(x+h2+1)sin⁡(h2)2 \cos\left(x + \frac{h}{2} + 1\right) \sin\left(\frac{h}{2}\right)

Step 3: Substitute back into the limit.

sin⁡(x+h+1)−sin⁡(x+1)h=2cos⁡(x+h2+1)sin⁡(h2)h\frac{\sin(x+h+1) - \sin(x+1)}{h} = \frac{2 \cos\left(x + \frac{h}{2} + 1\right) \sin\left(\frac{h}{2}\right)}{h}

Step 4: Rewrite to use the standard limit lim⁡θ→0sin⁡θθ=1\lim_{\theta \to 0} \frac{\sin \theta}{\theta} = 1.

Multiply numerator and denominator by 12\frac{1}{2}:

=cos⁡(x+h2+1)⋅sin⁡(h2)h2= \cos\left(x + \frac{h}{2} + 1\right) \cdot \frac{\sin\left(\frac{h}{2}\right)}{\frac{h}{2}}

Step 5: Take the limit as h→0h \to 0.

As h→0h \to 0, h2→0\frac{h}{2} \to 0, so sin⁡(h/2)h/2→1\frac{\sin(h/2)}{h/2} \to 1. Also, cos⁡(x+h2+1)→cos⁡(x+1)\cos\left(x + \frac{h}{2} + 1\right) \to \cos(x + 1).

Therefore:

f′(x)=cos⁡(x+1)f'(x) = \cos(x + 1)

Important

The derivative of sin⁡(anything)\sin(\text{anything}) is cos⁡(anything)\cos(\text{anything}) times the derivative of "anything" (chain rule). Here, the "anything" is x+1x+1, whose derivative is 11, so the result is just cos⁡(x+1)\cos(x+1). The first-principles derivation confirms this.

✓Final answer

The derivative of sin⁡(x+1)\sin(x+1) from first principles is cos⁡(x+1)\boxed{\cos(x+1)}.


(iv) f(x)=cos⁡(x−π8)f(x) = \cos\left(x - \frac{\pi}{8}\right)

Step 1: Write the definition.

f′(x)=lim⁡h→0cos⁡(x+h−π8)−cos⁡(x−π8)hf'(x) = \lim_{h \to 0} \frac{\cos\left(x + h - \frac{\pi}{8}\right) - \cos\left(x - \frac{\pi}{8}\right)}{h}

Step 2: Use the cosine difference identity.

Recall: cos⁡A−cos⁡B=−2sin⁡(A+B2)sin⁡(A−B2)\cos A - \cos B = -2 \sin\left(\frac{A+B}{2}\right) \sin\left(\frac{A-B}{2}\right).

Here, A=x+h−π8A = x + h - \frac{\pi}{8} and B=x−π8B = x - \frac{\pi}{8}. So:

cos⁡A−cos⁡B=−2sin⁡((x+h−π8)+(x−π8)2)sin⁡((x+h−π8)−(x−π8)2)\cos A - \cos B = -2 \sin\left(\frac{(x+h-\frac{\pi}{8})+(x-\frac{\pi}{8})}{2}\right) \sin\left(\frac{(x+h-\frac{\pi}{8})-(x-\frac{\pi}{8})}{2}\right)

Simplify the arguments:

  • A+B2=2x+h−π42=x+h2−π8\frac{A+B}{2} = \frac{2x + h - \frac{\pi}{4}}{2} = x + \frac{h}{2} - \frac{\pi}{8}
  • A−B2=h2\frac{A-B}{2} = \frac{h}{2}

So the difference becomes:

−2sin⁡(x+h2−π8)sin⁡(h2)-2 \sin\left(x + \frac{h}{2} - \frac{\pi}{8}\right) \sin\left(\frac{h}{2}\right)

Step 3: Substitute back into the limit.

cos⁡(x+h−π8)−cos⁡(x−π8)h=−2sin⁡(x+h2−π8)sin⁡(h2)h\frac{\cos(x+h-\frac{\pi}{8}) - \cos(x-\frac{\pi}{8})}{h} = \frac{-2 \sin\left(x + \frac{h}{2} - \frac{\pi}{8}\right) \sin\left(\frac{h}{2}\right)}{h}

Step 4: Rewrite to use lim⁡θ→0sin⁡θθ=1\lim_{\theta \to 0} \frac{\sin \theta}{\theta} = 1.

=−sin⁡(x+h2−π8)⋅sin⁡(h2)h2= -\sin\left(x + \frac{h}{2} - \frac{\pi}{8}\right) \cdot \frac{\sin\left(\frac{h}{2}\right)}{\frac{h}{2}}

Step 5: Take the limit as h→0h \to 0.

As h→0h \to 0, sin⁡(h/2)h/2→1\frac{\sin(h/2)}{h/2} \to 1, and sin⁡(x+h2−π8)→sin⁡(x−π8)\sin\left(x + \frac{h}{2} - \frac{\pi}{8}\right) \to \sin\left(x - \frac{\pi}{8}\right).

Therefore:

f′(x)=−sin⁡(x−π8)f'(x) = -\sin\left(x - \frac{\pi}{8}\right)

Watch out

A common pitfall: forgetting the negative sign in the cosine difference identity. The identity cos⁡A−cos⁡B=−2sin⁡(A+B2)sin⁡(A−B2)\cos A - \cos B = -2 \sin(\frac{A+B}{2}) \sin(\frac{A-B}{2}) has a minus sign in front. If you use cos⁡A−cos⁡B=2sin⁡(A+B2)sin⁡(B−A2)\cos A - \cos B = 2 \sin(\frac{A+B}{2}) \sin(\frac{B-A}{2}) 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)\cos\left(x - \frac{\pi}{8}\right) from first principles is −sin⁡(x−π8)\boxed{-\sin\left(x - \frac{\pi}{8}\right)}.

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.