Skip to content
NCERT Exemplar · Q43

Q.Differentiate with respect to xx using first principle: cos⁡(x2+1)\cos(x^2 + 1).

Tripura TbseLong· 3mImportance★★★★★est
79% · 138/175 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

First-principle differentiation means building the limit lim⁡h→0f(x+h)−f(x)h\lim_{h \to 0} \frac{f(x+h) - f(x)}{h} from scratch. For f(x)=cos⁡(x2+1)f(x) = \cos(x^2 + 1), we use the cosine difference identity to simplify the numerator, then carefully take the limit to obtain −2xsin⁡(x2+1)\boxed{-2x \sin(x^2 + 1)}.

Why first principles?

The definition of the derivative is the instantaneous rate of change, captured by the limit of the difference quotient. When we differentiate "from first principles," we're not allowed to use shortcut rules like the chain rule—we must return to the foundational limit and manipulate it algebraically until the limit can be evaluated.

For f(x)=cos⁡(x2+1)f(x) = \cos(x^2 + 1), the challenge is that cosine doesn't simplify nicely under addition in the argument. The key tool is the cosine difference identity:

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)

This identity converts a difference of cosines into a product of sines, which behaves much better in limits.


Step-by-step derivation

1. Write the definition of the derivative.

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

For our function f(x)=cos⁡(x2+1)f(x) = \cos(x^2 + 1), substitute:

f′(x)=lim⁡h→0cos⁡[(x+h)2+1]−cos⁡(x2+1)hf'(x) = \lim_{h \to 0} \frac{\cos\left[(x+h)^2 + 1\right] - \cos(x^2 + 1)}{h}

2. Expand (x+h)2(x+h)^2.

(x+h)2=x2+2xh+h2(x+h)^2 = x^2 + 2xh + h^2

So the numerator becomes:

cos⁡(x2+2xh+h2+1)−cos⁡(x2+1)\cos(x^2 + 2xh + h^2 + 1) - \cos(x^2 + 1)

3. Apply the cosine difference identity.

Let A=x2+2xh+h2+1A = x^2 + 2xh + h^2 + 1 and B=x2+1B = x^2 + 1. Then:

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)

Compute the averages and differences:

A+B2=(x2+2xh+h2+1)+(x2+1)2=2x2+2xh+h2+22=x2+xh+h22+1\frac{A + B}{2} = \frac{(x^2 + 2xh + h^2 + 1) + (x^2 + 1)}{2} = \frac{2x^2 + 2xh + h^2 + 2}{2} = x^2 + xh + \frac{h^2}{2} + 1

A−B2=(x2+2xh+h2+1)−(x2+1)2=2xh+h22=xh+h22\frac{A - B}{2} = \frac{(x^2 + 2xh + h^2 + 1) - (x^2 + 1)}{2} = \frac{2xh + h^2}{2} = xh + \frac{h^2}{2}

4. Substitute back into the difference quotient.

f′(x)=lim⁡h→0−2sin⁡(x2+xh+h22+1)sin⁡(xh+h22)hf'(x) = \lim_{h \to 0} \frac{-2 \sin\left(x^2 + xh + \frac{h^2}{2} + 1\right) \sin\left(xh + \frac{h^2}{2}\right)}{h}

Factor out the −2-2:

f′(x)=−2lim⁡h→0sin⁡(x2+xh+h22+1)sin⁡(xh+h22)hf'(x) = -2 \lim_{h \to 0} \frac{\sin\left(x^2 + xh + \frac{h^2}{2} + 1\right) \sin\left(xh + \frac{h^2}{2}\right)}{h}

5. Separate the limit using the product rule for limits.

f′(x)=−2[lim⁡h→0sin⁡(x2+xh+h22+1)][lim⁡h→0sin⁡(xh+h22)h]f'(x) = -2 \left[\lim_{h \to 0} \sin\left(x^2 + xh + \frac{h^2}{2} + 1\right)\right] \left[\lim_{h \to 0} \frac{\sin\left(xh + \frac{h^2}{2}\right)}{h}\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.