100% FREE Updated: Apr 2026 Calculus Differentiation

Derivative basics

Comprehensive study notes on Derivative basics for CMI BS Hons preparation. This chapter covers key concepts, formulas, and examples needed for your exam.

Derivative basics

This chapter establishes the foundational concepts of derivatives, starting with the formal definition and progressing through essential computational techniques, including standard formulas and composite function rules. A thorough understanding of these principles is critical for success in subsequent calculus topics and is frequently assessed in CMI examinations.

---

Chapter Contents

|

| Topic |

|---|-------| | 1 | Derivative from first principles | | 2 | Standard derivative formulas | | 3 | One-sided derivatives | | 4 | Derivative of composite functions |

---

We begin with Derivative from first principles.

Part 1: Derivative from first principles

Derivative from First Principles

Overview

The derivative from first principles is the foundational definition of differentiation. Before using shortcut rules like the power rule or product rule, we define the derivative as the limiting value of the average rate of change. In CMI-style questions, this topic tests algebraic simplification, limit handling, and geometric understanding together. ---

Learning Objectives

By the End of This Topic

After studying this topic, you will be able to:

  • State the derivative definition from first principles.

  • Compute derivatives directly using the limit definition.

  • Interpret the derivative as slope of the tangent and instantaneous rate of change.

  • Use algebraic simplification correctly before taking the limit.

  • Identify points where the derivative may fail to exist.

---

Core Idea

📖 Derivative from First Principles

Let f(x)f(x) be a function. The derivative of ff at x=ax=a is defined by

f(a)=limh0f(a+h)f(a)h\qquad f'(a)=\lim_{h\to 0}\dfrac{f(a+h)-f(a)}{h}

provided this limit exists.

This is called the derivative from first principles or the first-principles definition of derivative.

📖 Derivative as a Function

If the limit exists for general xx, then

f(x)=limh0f(x+h)f(x)h\qquad f'(x)=\lim_{h\to 0}\dfrac{f(x+h)-f(x)}{h}

This gives the derivative as a function of xx.

---

Meaning of the Formula

Geometric Meaning

The quotient

f(a+h)f(a)h\qquad \dfrac{f(a+h)-f(a)}{h}

is the slope of the secant line joining the two points

(a,f(a))and(a+h,f(a+h))\qquad (a,f(a)) \quad \text{and} \quad (a+h,f(a+h))

When h0h\to 0, the second point approaches the first, and the secant slope approaches the slope of the tangent line.

So f(a)f'(a) is the slope of the tangent to the curve at x=ax=a.

Rate of Change Meaning

If ff represents a changing quantity, then

f(a+h)f(a)h\qquad \dfrac{f(a+h)-f(a)}{h}

is the average rate of change over a short interval, and

f(a)\qquad f'(a)

is the instantaneous rate of change at x=ax=a.

---

Equivalent Forms

📐 Two Standard Forms

The derivative at x=ax=a may be written as

f(a)=limh0f(a+h)f(a)h\qquad f'(a)=\lim_{h\to 0}\dfrac{f(a+h)-f(a)}{h}

or, by writing x=a+hx=a+h,

f(a)=limxaf(x)f(a)xa\qquad f'(a)=\lim_{x\to a}\dfrac{f(x)-f(a)}{x-a}

Both forms are equivalent.

---

Standard First-Principles Computations

📐 General Process

To compute f(a)f'(a) from first principles:

  • Write f(a+h)f(a+h)

  • Form f(a+h)f(a)f(a+h)-f(a)

  • Divide by hh

  • Simplify completely

  • Take the limit as h0h\to 0

---

Minimal Worked Examples

Example 1 Find the derivative of f(x)=x2f(x)=x^2 from first principles. We use f(x)=limh0f(x+h)f(x)h\qquad f'(x)=\lim_{h\to 0}\dfrac{f(x+h)-f(x)}{h} Now, f(x+h)=(x+h)2=x2+2xh+h2\qquad f(x+h)=(x+h)^2=x^2+2xh+h^2 So, f(x+h)f(x)h=x2+2xh+h2x2h\qquad \dfrac{f(x+h)-f(x)}{h}=\dfrac{x^2+2xh+h^2-x^2}{h} =2xh+h2h=2x+h\qquad =\dfrac{2xh+h^2}{h}=2x+h Taking limit as h0h\to 0, f(x)=limh0(2x+h)=2x\qquad f'(x)=\lim_{h\to 0}(2x+h)=2x So the derivative is 2x\boxed{2x}. --- Example 2 Find the derivative of f(x)=1xf(x)=\dfrac{1}{x} from first principles. We compute f(x)=limh01x+h1xh\qquad f'(x)=\lim_{h\to 0}\dfrac{\dfrac{1}{x+h}-\dfrac{1}{x}}{h} Combine the fractions: 1x+h1x=x(x+h)x(x+h)=hx(x+h)\qquad \dfrac{1}{x+h}-\dfrac{1}{x}=\dfrac{x-(x+h)}{x(x+h)}=\dfrac{-h}{x(x+h)} So, f(x+h)f(x)h=hx(x+h)1h=1x(x+h)\qquad \dfrac{f(x+h)-f(x)}{h}=\dfrac{-h}{x(x+h)}\cdot \dfrac{1}{h}=-\dfrac{1}{x(x+h)} Taking limit as h0h\to 0, f(x)=1x2\qquad f'(x)=-\dfrac{1}{x^2} So the derivative is 1x2\boxed{-\dfrac{1}{x^2}}. ---

Standard Results That Come from First Principles

📐 Basic Derivatives

Using first principles, one can derive:

    • ddx(c)=0\dfrac{d}{dx}(c)=0

    • ddx(x)=1\dfrac{d}{dx}(x)=1

    • ddx(x2)=2x\dfrac{d}{dx}(x^2)=2x

    • ddx(x3)=3x2\dfrac{d}{dx}(x^3)=3x^2

    • more generally, ddx(xn)=nxn1\dfrac{d}{dx}(x^n)=nx^{n-1} for positive integers nn

But in this topic, the goal is to understand where these rules come from, not just to use them. ---

When the Derivative May Not Exist

⚠️ Derivative Does Not Always Exist

The derivative may fail to exist if:

  • the function has a corner or sharp turn

  • the function has a cusp

  • the tangent is vertical

  • the function is discontinuous at that point


Example:
For f(x)=xf(x)=|x| at x=0x=0,

    • right-hand slope is 11

    • left-hand slope is 1-1


Since these are unequal, f(0)f'(0) does not exist.

---

Right-Hand and Left-Hand Derivatives

📐 One-Sided Derivatives

The right-hand derivative at x=ax=a is

limh0+f(a+h)f(a)h\qquad \lim_{h\to 0^+}\dfrac{f(a+h)-f(a)}{h}

The left-hand derivative at x=ax=a is

limh0f(a+h)f(a)h\qquad \lim_{h\to 0^-}\dfrac{f(a+h)-f(a)}{h}

The derivative exists only if both exist and are equal.

---

Common Algebra Required

💡 Algebra You Must Control

In first-principles problems, most of the work is algebraic. Common tools are:

    • expansion of (x+h)2, (x+h)3(x+h)^2,\ (x+h)^3

    • factorisation

    • rationalisation

    • cancellation of hh after simplification


You cannot substitute h=0h=0 before simplifying, because the expression usually gives 00\dfrac{0}{0} first.

---

Common Mistakes

⚠️ Avoid These Errors
    • ❌ Substituting h=0h=0 too early
✅ Simplify first, then take the limit
    • ❌ Forgetting to divide the entire numerator by hh
✅ Form the difference quotient carefully
    • ❌ Expanding (x+h)2(x+h)^2 incorrectly
(x+h)2=x2+2xh+h2(x+h)^2=x^2+2xh+h^2
    • ❌ Concluding differentiability without checking both sides at a corner point
✅ For piecewise or absolute value functions, compare left and right derivatives
---

CMI Strategy

💡 How to Attack First-Principles Problems

  • Start from the exact definition, not from a memorized rule.

  • Expand or simplify the numerator fully.

  • Look for a factor of hh in the numerator.

  • Cancel only after factorisation is valid.

  • For non-smooth functions, compute left and right derivatives separately.

  • Use geometry to check whether the answer makes sense.

---

Practice Questions

:::question type="MCQ" question="Using first principles, the derivative of f(x)=x2f(x)=x^2 at x=1x=1 is" options=["11","22","33","44"] answer="B" hint="Compute f(1)f'(1) from the definition or use the known result after deriving it." solution="Using first principles, f(1)=limh0(1+h)21h\qquad f'(1)=\lim_{h\to 0}\dfrac{(1+h)^2-1}{h} Expand: (1+h)2=1+2h+h2\qquad (1+h)^2=1+2h+h^2 So, (1+h)21h=2h+h2h=2+h\qquad \dfrac{(1+h)^2-1}{h}=\dfrac{2h+h^2}{h}=2+h Taking the limit as h0h\to 0, we get f(1)=2\qquad f'(1)=2 Hence the correct option is B\boxed{B}." ::: :::question type="NAT" question="Find f(2)f'(2) from first principles for f(x)=x23x+1f(x)=x^2-3x+1." answer="1" hint="Use f(a)=limh0f(a+h)f(a)hf'(a)=\lim_{h\to 0}\dfrac{f(a+h)-f(a)}{h} with a=2a=2." solution="We compute f(2)=limh0f(2+h)f(2)h\qquad f'(2)=\lim_{h\to 0}\dfrac{f(2+h)-f(2)}{h} Now, f(2+h)=(2+h)23(2+h)+1\qquad f(2+h)=(2+h)^2-3(2+h)+1 =4+4h+h263h+1\qquad =4+4h+h^2-6-3h+1 =h2+h1\qquad =h^2+h-1 Also, f(2)=2232+1=46+1=1\qquad f(2)=2^2-3\cdot 2+1=4-6+1=-1 So, f(2+h)f(2)h=(h2+h1)(1)h\qquad \dfrac{f(2+h)-f(2)}{h}=\dfrac{(h^2+h-1)-(-1)}{h} =h2+hh=h+1\qquad =\dfrac{h^2+h}{h}=h+1 Taking limit as h0h\to 0, f(2)=1\qquad f'(2)=1 Therefore the answer is 1\boxed{1}." ::: :::question type="MSQ" question="Which of the following statements are true?" options=["f(a)=limh0f(a+h)f(a)hf'(a)=\lim_{h\to0}\dfrac{f(a+h)-f(a)}{h}, if the limit exists","The derivative at a point represents the slope of the tangent there","A function can be differentiable at a point without being continuous there","For f(x)=xf(x)=|x|, the derivative at x=0x=0 does not exist"] answer="A,B,D" hint="Recall the definition and the continuity-differentiability relation." solution="1. True. This is the first-principles definition.
  • True. The derivative gives the slope of the tangent line.
  • False. Differentiability implies continuity.
  • True. For x|x|, left and right derivatives at 00 are different.
  • Hence the correct answer is A,B,D\boxed{A,B,D}." ::: :::question type="SUB" question="Using first principles, find the derivative of f(x)=2x+5f(x)=2x+5." answer="22" hint="Start from f(x+h)f(x)h\dfrac{f(x+h)-f(x)}{h}." solution="We use f(x)=limh0f(x+h)f(x)h\qquad f'(x)=\lim_{h\to 0}\dfrac{f(x+h)-f(x)}{h} Now, f(x+h)=2(x+h)+5=2x+2h+5\qquad f(x+h)=2(x+h)+5=2x+2h+5 So, f(x+h)f(x)h=(2x+2h+5)(2x+5)h\qquad \dfrac{f(x+h)-f(x)}{h}=\dfrac{(2x+2h+5)-(2x+5)}{h} =2hh=2\qquad =\dfrac{2h}{h}=2 Taking the limit, f(x)=2\qquad f'(x)=2 Hence the derivative is 2\boxed{2}." ::: ---

    Summary

    Key Takeaways for CMI

    • The derivative from first principles is defined through a limit of difference quotients.

    • It gives both the slope of the tangent and the instantaneous rate of change.

    • Most first-principles problems are really tests of algebra plus limits.

    • Never put h=0h=0 before simplifying.

    • One-sided derivatives are essential for checking non-smooth points.

    • This definition is the foundation of all derivative rules.

    ---

    💡 Next Up

    Proceeding to Standard derivative formulas.

    ---

    Part 2: Standard derivative formulas

    Standard Derivative Formulas

    Overview

    Standard derivative formulas are the basic tools used in almost every differentiation problem. In CMI-style questions, these formulas are rarely tested in isolation; instead, they appear inside simplification, tangent problems, monotonicity, rate of change, and approximation arguments. So the real goal is not just memorisation, but fast and correct recognition. ---

    Learning Objectives

    By the End of This Topic

    After studying this topic, you will be able to:

    • Recall the standard derivatives of algebraic, trigonometric, exponential, and logarithmic functions.

    • Apply these formulas quickly in direct differentiation problems.

    • Use the formulas together with sum, constant multiple, product, quotient, and chain rules.

    • Avoid common sign mistakes and invalid simplifications.

    • Recognise which standard derivative is hidden inside a given expression.

    ---

    Core Idea

    📖 Derivative as instantaneous rate of change

    If y=f(x)y=f(x), then the derivative of ff at xx is written as

    f(x)\qquad f'(x)

    and measures the instantaneous rate of change of ff with respect to xx.

    In practice, many derivatives are found using standard formulas rather than from first principles.

    ---

    Most Important Standard Formulas

    📐 Basic Algebraic Derivatives

    For constants cc and suitable real nn:

      • ddx(c)=0\dfrac{d}{dx}(c)=0

      • ddx(x)=1\dfrac{d}{dx}(x)=1

      • ddx(xn)=nxn1\dfrac{d}{dx}(x^n)=n x^{n-1}


    Special cases:
      • ddx(x2)=2x\dfrac{d}{dx}(x^2)=2x

      • ddx(x3)=3x2\dfrac{d}{dx}(x^3)=3x^2

      • ddx(1x)=ddx(x1)=x2=1x2\dfrac{d}{dx}\left(\dfrac{1}{x}\right)=\dfrac{d}{dx}(x^{-1})=-x^{-2}=-\dfrac{1}{x^2}

      • ddx(x)=ddx(x1/2)=12x\dfrac{d}{dx}(\sqrt{x})=\dfrac{d}{dx}(x^{1/2})=\dfrac{1}{2\sqrt{x}}

    📐 Trigonometric Derivatives
      • ddx(sinx)=cosx\dfrac{d}{dx}(\sin x)=\cos x
      • ddx(cosx)=sinx\dfrac{d}{dx}(\cos x)=-\sin x
      • ddx(tanx)=sec2x\dfrac{d}{dx}(\tan x)=\sec^2 x
      • ddx(cotx)=csc2x\dfrac{d}{dx}(\cot x)=-\csc^2 x
      • ddx(secx)=secxtanx\dfrac{d}{dx}(\sec x)=\sec x\tan x
      • ddx(cscx)=cscxcotx\dfrac{d}{dx}(\csc x)=-\csc x\cot x
    📐 Exponential and Logarithmic Derivatives
      • ddx(ex)=ex\dfrac{d}{dx}(e^x)=e^x
      • ddx(ax)=axlna\dfrac{d}{dx}(a^x)=a^x\ln a for a>0, a1a>0,\ a\ne1
      • ddx(lnx)=1x\dfrac{d}{dx}(\ln x)=\dfrac{1}{x} for x>0x>0
      • ddx(logax)=1xlna\dfrac{d}{dx}(\log_a x)=\dfrac{1}{x\ln a} for x>0, a>0, a1x>0,\ a>0,\ a\ne1
    ---

    Supporting Rules Used with Standard Formulas

    📐 Linearity Rules

    If uu and vv are differentiable and cc is a constant, then

      • ddx(u+v)=u+v\dfrac{d}{dx}(u+v)=u'+v'

      • ddx(uv)=uv\dfrac{d}{dx}(u-v)=u'-v'

      • ddx(cu)=cu\dfrac{d}{dx}(cu)=c\,u'

    📐 Product, Quotient, and Chain Rule
      • ddx(uv)=uv+uv\dfrac{d}{dx}(uv)=u'v+uv'
      • ddx(uv)=uvuvv2\dfrac{d}{dx}\left(\dfrac{u}{v}\right)=\dfrac{u'v-uv'}{v^2}, where v0v\ne0
      • ddx(f(g(x)))=f(g(x))g(x)\dfrac{d}{dx}(f(g(x)))=f'(g(x))\cdot g'(x)
    These rules are what make standard formulas actually useful in real questions. ---

    High-Value Derived Forms

    📐 Frequently Used Quick Results
      • ddx(ax+b)=a\dfrac{d}{dx}(ax+b)=a
      • ddx((ax+b)n)=n(ax+b)n1a\dfrac{d}{dx}((ax+b)^n)=n(ax+b)^{n-1}\cdot a
      • ddx(sin(ax+b))=acos(ax+b)\dfrac{d}{dx}(\sin(ax+b))=a\cos(ax+b)
      • ddx(cos(ax+b))=asin(ax+b)\dfrac{d}{dx}(\cos(ax+b))=-a\sin(ax+b)
      • ddx(eax+b)=aeax+b\dfrac{d}{dx}(e^{ax+b})=a e^{ax+b}
      • ddx(ln(ax+b))=aax+b\dfrac{d}{dx}(\ln(ax+b))=\dfrac{a}{ax+b}
    These come from combining the standard formulas with the chain rule. ---

    Domain and Validity

    Check Before Using a Formula

    • ddx(x)=12x\dfrac{d}{dx}(\sqrt{x})=\dfrac{1}{2\sqrt{x}} is valid for x>0x>0
      • ddx(1x)=1x2\dfrac{d}{dx}\left(\dfrac{1}{x}\right)=-\dfrac{1}{x^2} is valid for x0x\ne0

      • ddx(lnx)=1x\dfrac{d}{dx}(\ln x)=\dfrac{1}{x} is valid for x>0x>0

      • ddx(logax)=1xlna\dfrac{d}{dx}(\log_a x)=\dfrac{1}{x\ln a} is valid for x>0x>0

      • Quotient rule requires denominator nonzero

    ---

    Common Mistakes

    ⚠️ Avoid These Errors
      • ddx(cosx)=sinx\dfrac{d}{dx}(\cos x)=\sin x
    ✅ Correct: ddx(cosx)=sinx\dfrac{d}{dx}(\cos x)=-\sin x
      • ddx(xn)=xn1\dfrac{d}{dx}(x^n)=x^{n-1}
    ✅ Correct: ddx(xn)=nxn1\dfrac{d}{dx}(x^n)=n x^{n-1}
      • ddx(eu)=eu\dfrac{d}{dx}(e^{u})=e^u
    ✅ Correct: ddx(eu)=euu\dfrac{d}{dx}(e^u)=e^u\cdot u'
      • ddx(lnu)=1u\dfrac{d}{dx}(\ln u)=\dfrac{1}{u}
    ✅ Correct: ddx(lnu)=uu\dfrac{d}{dx}(\ln u)=\dfrac{u'}{u}
      • ❌ derivative of a quotient as quotient of derivatives
    ✅ Use the quotient rule
    ---

    Minimal Worked Examples

    Example 1 Differentiate f(x)=x53x2+7f(x)=x^5-3x^2+7. Using standard algebraic formulas, f(x)=5x46x\qquad f'(x)=5x^4-6x --- Example 2 Differentiate g(x)=sin(3x)g(x)=\sin(3x). Using chain rule, g(x)=cos(3x)3=3cos(3x)\qquad g'(x)=\cos(3x)\cdot 3=3\cos(3x) ---

    Formula Table for Fast Revision

    | Function | Derivative | |---|---| | cc | 00 | | xnx^n | nxn1n x^{n-1} | | 1x\dfrac{1}{x} | 1x2-\dfrac{1}{x^2} | | x\sqrt{x} | 12x\dfrac{1}{2\sqrt{x}} | | sinx\sin x | cosx\cos x | | cosx\cos x | sinx-\sin x | | tanx\tan x | sec2x\sec^2 x | | exe^x | exe^x | | axa^x | axlnaa^x\ln a | | lnx\ln x | 1x\dfrac{1}{x} | ---

    CMI Strategy

    💡 How to Use Standard Formulas Efficiently

    • First identify the outermost function.

    • Then check whether sum rule, product rule, quotient rule, or chain rule is needed.

    • Keep sign-checking in mind, especially for cosx\cos x, cotx\cot x, and cscx\csc x.

    • For composite expressions, differentiate the outer function first and multiply by the derivative of the inside.

    • In medium-hard problems, the difficulty is usually structure recognition, not formula recall.

    ---

    Practice Questions

    :::question type="MCQ" question="The derivative of cosx\cos x is" options=["sinx\sin x","sinx-\sin x","cosx\cos x","cosx-\cos x"] answer="B" hint="This is one of the most common sign traps." solution="The standard derivative formula is ddx(cosx)=sinx\qquad \dfrac{d}{dx}(\cos x)=-\sin x. Hence the correct option is B\boxed{B}." ::: :::question type="NAT" question="Find the value of ddx(x42x2+5)\dfrac{d}{dx}(x^4-2x^2+5) at x=2x=2." answer="24" hint="Differentiate first, then substitute x=2x=2." solution="Differentiate: ddx(x42x2+5)=4x34x\qquad \dfrac{d}{dx}(x^4-2x^2+5)=4x^3-4x Now substitute x=2x=2: 4(23)4(2)=328=24\qquad 4(2^3)-4(2)=32-8=24 Therefore the answer is 24\boxed{24}." ::: :::question type="MSQ" question="Which of the following statements are true?" options=["ddx(ex)=ex\dfrac{d}{dx}(e^x)=e^x","ddx(lnx)=1x\dfrac{d}{dx}(\ln x)=\dfrac{1}{x} for x>0x>0","ddx(sinx)=cosx\dfrac{d}{dx}(\sin x)=-\cos x","ddx(xn)=nxn1\dfrac{d}{dx}(x^n)=n x^{n-1}"] answer="A,B,D" hint="Check each standard formula carefully." solution="1. True.
  • True for x>0x>0.
  • False, because ddx(sinx)=cosx\dfrac{d}{dx}(\sin x)=\cos x.
  • True.
  • Hence the correct answer is A,B,D\boxed{A,B,D}." ::: :::question type="SUB" question="Differentiate f(x)=x3+1xlnxf(x)=x^3+\dfrac{1}{x}-\ln x." answer="3x21x21x3x^2-\dfrac{1}{x^2}-\dfrac{1}{x}" hint="Differentiate term by term." solution="Using standard formulas term by term: ddx(x3)=3x2\qquad \dfrac{d}{dx}(x^3)=3x^2 ddx(1x)=1x2\qquad \dfrac{d}{dx}\left(\dfrac{1}{x}\right)=-\dfrac{1}{x^2} ddx(lnx)=1x\qquad \dfrac{d}{dx}(\ln x)=\dfrac{1}{x} So, f(x)=3x21x21x\qquad f'(x)=3x^2-\dfrac{1}{x^2}-\dfrac{1}{x} Hence the derivative is 3x21x21x\boxed{3x^2-\dfrac{1}{x^2}-\dfrac{1}{x}}." ::: ---

    Summary

    Key Takeaways for CMI

    • Standard derivative formulas are the base layer of all differentiation.

    • The power rule, trigonometric derivatives, and exponential-logarithmic derivatives must be instant recall.

    • Real questions usually combine formulas with chain, product, or quotient rule.

    • Sign errors and domain restrictions are common traps.

    • The best way to improve is to recognise structure quickly before differentiating.

    ---

    💡 Next Up

    Proceeding to One-sided derivatives.

    ---

    Part 3: One-sided derivatives

    One-sided Derivatives

    Overview

    One-sided derivatives are local rate-of-change limits taken from only one side of a point. They become important when:
    • the function is piecewise-defined,
    • the point is a boundary point,
    • the left and right behaviour are different.
    In CMI-style questions, one-sided derivatives are often used to test whether a function is differentiable, whether continuity follows, and how to handle functions like x|x| or piecewise formulas. ---

    Learning Objectives

    By the End of This Topic

    After studying this topic, you will be able to:

    • Define right and left derivatives correctly.

    • Compute one-sided derivatives for standard and piecewise functions.

    • Relate one-sided derivatives to differentiability.

    • Understand what kind of continuity follows from one-sided differentiability.

    • Detect common traps using examples like x|x| and x\sqrt{x}.

    ---

    Definitions

    📖 Right derivative

    The right derivative of ff at x=ax=a is

    f+(a)=limh0+f(a+h)f(a)h\qquad f'_+(a)=\lim_{h\to 0^+}\dfrac{f(a+h)-f(a)}{h}

    provided this limit exists as a finite real number.

    📖 Left derivative

    The left derivative of ff at x=ax=a is

    f(a)=limh0f(a+h)f(a)h\qquad f'_-(a)=\lim_{h\to 0^-}\dfrac{f(a+h)-f(a)}{h}

    provided this limit exists as a finite real number.

    Differentiability Criterion

    At an interior point aa, the ordinary derivative f(a)f'(a) exists if and only if

    f(a)\qquad f'_-(a) and f+(a)f'_+(a) both exist and are equal.

    In that case,

    f(a)=f(a)=f+(a)\qquad f'(a)=f'_-(a)=f'_+(a)

    ---

    Immediate Consequences

    📐 What follows from differentiability?

    If ff is differentiable at x=ax=a, then:

      • ff has a right derivative at aa

      • ff has a left derivative at aa

      • ff is continuous at aa

    ⚠️ But the converse fails

    The reverse statements are not always true:

      • having a right derivative does not guarantee full continuity

      • continuity does not guarantee existence of a right derivative

      • having one-sided derivatives separately does not guarantee differentiability unless they are equal

    ---

    Right derivative implies right continuity

    📐 A very useful fact

    If the right derivative of ff at aa exists, then ff is right-continuous at aa.

    That means

    limxa+f(x)=f(a)\qquad \lim_{x\to a^+} f(x)=f(a)

    Why? If f(a+h)f(a)hL\qquad \dfrac{f(a+h)-f(a)}{h}\to L as h0+h\to 0^+, then f(a+h)f(a)=hf(a+h)f(a)h0\qquad f(a+h)-f(a)=h\cdot \dfrac{f(a+h)-f(a)}{h}\to 0 as h0+h\to 0^+. So the function values from the right approach f(a)f(a).
    Careful

    This gives only right continuity, not necessarily full two-sided continuity.
    If the left side behaves badly, the function may still fail to be continuous at aa.

    ---

    Most Common Examples

    1. Smooth function

    For f(x)=x2f(x)=x^2 at any point aa, f+(a)=f(a)=2a\qquad f'_+(a)=f'_-(a)=2a So ff is differentiable everywhere. ---

    2. Absolute value at the origin

    For f(x)=xf(x)=|x| at x=0x=0, Right derivative: f+(0)=limh0+h0h=limh0+hh=1\qquad f'_+(0)=\lim_{h\to 0^+}\dfrac{|h|-0}{h}=\lim_{h\to 0^+}\dfrac{h}{h}=1 Left derivative: f(0)=limh0h0h=limh0hh=1\qquad f'_-(0)=\lim_{h\to 0^-}\dfrac{|h|-0}{h}=\lim_{h\to 0^-}\dfrac{-h}{h}=-1 Since the one-sided derivatives are unequal, x|x| is not differentiable at 00. But it does have both one-sided derivatives. ---

    3. Continuous but no finite right derivative

    Consider f(x)=xf(x)=\sqrt{x} at x=0x=0 on [0,)[0,\infty). It is continuous at 00, but f+(0)=limh0+h0h=limh0+1h\qquad f'_+(0)=\lim_{h\to 0^+}\dfrac{\sqrt{h}-0}{h}=\lim_{h\to 0^+}\dfrac{1}{\sqrt{h}} which is not finite. So continuity does not force existence of a finite right derivative. ---

    Piecewise Functions

    💡 Main exam pattern

    For a piecewise function, compute one-sided derivatives using the correct branch on each side.

    If
    <br>f(x)=<br>{<br>g(x),x<a<br>c,x=a<br>h(x),x>a<br><br>\qquad <br>f(x)= <br>\begin{cases}<br>g(x), & x<a \\ <br>c, & x=a \\ <br>h(x), & x>a <br>\end{cases} <br>

    then

    f(a)=limh0g(a+h)ch\qquad f'_-(a)=\lim_{h\to 0^-}\dfrac{g(a+h)-c}{h}

    f+(a)=limh0+h(a+h)ch\qquad f'_+(a)=\lim_{h\to 0^+}\dfrac{h(a+h)-c}{h}

    A small mistake in choosing the branch gives the wrong answer.

    ---

    Endpoint view

    📖 Derivative at an endpoint

    If the domain begins at aa, then the meaningful derivative notion at that endpoint is often the right derivative.

    Similarly, if the domain ends at bb, the relevant notion is the left derivative there.

    This is why one-sided derivatives are not just technical details; they are natural for boundary points. ---

    Minimal Worked Examples

    Example 1 Let $\qquad f(x)= \begin{cases} 0, & x<0 \\ x, & x\ge 0 \end{cases} $ at x=0x=0. Right derivative: f+(0)=limh0+h0h=1\qquad f'_+(0)=\lim_{h\to 0^+}\dfrac{h-0}{h}=1 Left derivative: f(0)=limh000h=0\qquad f'_-(0)=\lim_{h\to 0^-}\dfrac{0-0}{h}=0 So ff is continuous at 00, but not differentiable there. --- Example 2 Let $\qquad f(x)= \begin{cases} 0, & x\le 1 \\ (x-1)^2, & x>1 \end{cases} $ Find the right derivative at x=1x=1. f+(1)=limh0+(1+h1)20h\qquad f'_+(1)=\lim_{h\to 0^+}\dfrac{(1+h-1)^2-0}{h} =limh0+h2h=limh0+h=0\qquad = \lim_{h\to 0^+}\dfrac{h^2}{h}=\lim_{h\to 0^+}h=0 So the right derivative is 0\boxed{0}. ---

    Common Mistakes

    ⚠️ Avoid These Errors
      • ❌ Assuming continuity implies existence of one-sided derivatives.
      • ❌ Assuming a right derivative implies full continuity.
      • ❌ Forgetting that differentiability requires both one-sided derivatives to exist and be equal.
      • ❌ Using the wrong branch in a piecewise function.
      • ❌ Forgetting that endpoint questions naturally use one-sided derivatives.
    ---

    CMI Strategy

    💡 How to Solve These Fast

    • Write the definition first.

    • Decide whether you need the left derivative, the right derivative, or both.

    • For piecewise functions, choose the correct formula on each side.

    • Simplify the quotient before taking the limit.

    • After finding one-sided derivatives, compare them only if differentiability is being asked.

    • Separate clearly:

    - one-sided derivative
    - differentiability
    - continuity

    ---

    Practice Questions

    :::question type="MCQ" question="For the function f(x)=xf(x)=|x| at x=0x=0, which statement is correct?" options=["Both one-sided derivatives are equal","The right derivative exists and equals 11","The left derivative exists and equals 11","The function is differentiable at 00"] answer="B" hint="Compute from the right and from the left separately." solution="For f(x)=xf(x)=|x|, f+(0)=1\qquad f'_+(0)=1 and f(0)=1\qquad f'_-(0)=-1 So the one-sided derivatives are not equal. Hence ff is not differentiable at 00. Therefore the correct option is B\boxed{B}." ::: :::question type="NAT" question="Find the right derivative of f(x)=xf(x)=|x| at x=0x=0." answer="1" hint="For h>0h>0, h=h|h|=h." solution="By definition, f+(0)=limh0+h0h\qquad f'_+(0)=\lim_{h\to 0^+}\dfrac{|h|-0}{h} Since h>0h>0, we have h=h|h|=h. So f+(0)=limh0+hh=1\qquad f'_+(0)=\lim_{h\to 0^+}\dfrac{h}{h}=1 Hence the answer is 1\boxed{1}." ::: :::question type="MSQ" question="Which of the following statements are true?" options=["If ff is differentiable at x=ax=a, then ff has a right derivative at x=ax=a","f(x)=xf(x)=|x| has a right derivative at x=0x=0","If ff has a right derivative at x=ax=a, then ff must be continuous at x=ax=a","If ff is continuous at x=ax=a, then ff must have a right derivative at x=ax=a"] answer="A,B" hint="Think carefully about right continuity versus full continuity." solution="1. True. Differentiability implies existence of both one-sided derivatives.
  • True. For x|x| at 00, the right derivative is 11.
  • False. A right derivative implies right continuity, not necessarily full continuity.
  • False. Continuity alone does not guarantee existence of a finite right derivative. For example, x\sqrt{x} is continuous at 00 on [0,)[0,\infty), but its right derivative at 00 is not finite. Hence the correct answer is A,B\boxed{A,B}." ::: :::question type="SUB" question="Let $\qquad f(x)= \begin{cases} 0, & x<0 \\ x, & x\ge 0 \end{cases} $ Find the left and right derivatives at x=0x=0, and determine whether ff is differentiable at 00." answer="Left derivative =0=0, right derivative =1=1, so not differentiable at 00" hint="Use the branch valid on each side of 00." solution="For h>0h>0, f(h)=h,f(0)=0\qquad f(h)=h,\quad f(0)=0 So the right derivative is f+(0)=limh0+h0h=1\qquad f'_+(0)=\lim_{h\to 0^+}\dfrac{h-0}{h}=1 For h<0h<0, f(h)=0,f(0)=0\qquad f(h)=0,\quad f(0)=0 So the left derivative is f(0)=limh000h=0\qquad f'_-(0)=\lim_{h\to 0^-}\dfrac{0-0}{h}=0 Since f(0)f+(0)\qquad f'_-(0)\ne f'_+(0), the function is not differentiable at 00. Thus the result is f(0)=0, f+(0)=1, not differentiable at 0\qquad \boxed{f'_-(0)=0,\ f'_+(0)=1,\ \text{not differentiable at }0}." ::: ---

    Summary

    Key Takeaways for CMI

    • One-sided derivatives are limits taken from only one side of a point.

    • Differentiability at an interior point means both one-sided derivatives exist and are equal.

    • x|x| at 00 is the standard example where one-sided derivatives exist but are unequal.

    • A right derivative gives right continuity, not necessarily full continuity.

    • Continuity alone does not guarantee existence of a finite one-sided derivative.

    • Piecewise and endpoint questions are the natural home of one-sided derivatives.

    ---

    💡 Next Up

    Proceeding to Derivative of composite functions.

    ---

    Part 4: Derivative of composite functions

    Derivative of Composite Functions

    Overview

    A composite function is a function inside another function. In differentiation, this topic is governed by the chain rule, one of the most important rules in calculus. In CMI-style questions, the chain rule is often not tested in a direct “differentiate this” way. Instead, it appears inside related rates, parametrised motion, arc-length problems, implicit dependence, and expressions where one quantity depends on another which itself depends on time or another variable. ---

    Learning Objectives

    By the End of This Topic

    After studying this topic, you will be able to:

    • Recognise composite functions correctly.

    • Apply the chain rule to two-layer and multi-layer compositions.

    • Differentiate expressions involving powers, radicals, exponentials, logarithms, and trigonometric composites.

    • Handle related-rate situations where one variable depends on another which depends on time.

    • Convert geometric or motion-based information into a chain-rule calculation.

    ---

    Core Idea

    📖 Composite Function

    If
    y=f(g(x))\qquad y = f(g(x))
    then yy is called a composite function.

    Here:

      • g(x)g(x) is the inner function

      • ff acts on the output of g(x)g(x), so ff is the outer function

    📐 Chain Rule

    If
    y=f(g(x))\qquad y=f(g(x))
    then

    dydx=f(g(x))g(x)\qquad \dfrac{dy}{dx} = f'(g(x))\cdot g'(x)

    This means:
  • differentiate the outer function
  • keep the inner part unchanged
  • multiply by the derivative of the inner part
  • ---

    Why the Chain Rule Matters

    Main Use

    Whenever a quantity depends on another variable, which itself depends on something else, the chain rule appears.

    Typical examples:

      • (3x2+1)5(3x^2+1)^5

      • sin(x3)\sin(x^3)

      • ex2+1e^{x^2+1}

      • ln(1+x4)\ln(1+x^4)

      • s(u(t))s(u(t))

      • f(g(h(x)))f(g(h(x)))

    ---

    Standard Chain-Rule Forms

    📐 Power-Type Composite

    If
    y=(u(x))n\qquad y=(u(x))^n
    then

    dydx=n(u(x))n1u(x)\qquad \dfrac{dy}{dx}=n(u(x))^{n-1}\cdot u'(x)

    📐 Trigonometric Composite
      • ddx(sin(u))=cos(u)u\dfrac{d}{dx}\big(\sin(u)\big)=\cos(u)\cdot u'
      • ddx(cos(u))=sin(u)u\dfrac{d}{dx}\big(\cos(u)\big)=-\sin(u)\cdot u'
      • ddx(tan(u))=sec2(u)u\dfrac{d}{dx}\big(\tan(u)\big)=\sec^2(u)\cdot u'
    📐 Exponential and Logarithmic Composite
      • ddx(eu)=euu\dfrac{d}{dx}\big(e^{u}\big)=e^u\cdot u'
      • ddx(au)=auln(a)u\dfrac{d}{dx}\big(a^{u}\big)=a^u\ln(a)\cdot u'
      • ddx(lnu)=uu\dfrac{d}{dx}\big(\ln u\big)=\dfrac{u'}{u}
    📐 Radical and Reciprocal Composite
      • ddx(u)=u2u\dfrac{d}{dx}\big(\sqrt{u}\big)=\dfrac{u'}{2\sqrt{u}}
          • ddx(1u)=uu2\dfrac{d}{dx}\left(\dfrac{1}{u}\right)=-\dfrac{u'}{u^2}
    ---

    Two-Layer and Multi-Layer Composition

    📐 Nested Composition

    If
    y=f(g(h(x)))\qquad y=f(g(h(x)))
    then

    dydx=f(g(h(x)))g(h(x))h(x)\qquad \dfrac{dy}{dx}=f'(g(h(x)))\cdot g'(h(x))\cdot h'(x)

    Each layer contributes a derivative factor. For example, if y=sin((x2+1)3)\qquad y=\sin\big((x^2+1)^3\big) then the layers are:
    • outer: sin()\sin(\cdot)
    • middle: ()3(\cdot)^3
    • inner: x2+1x^2+1
    So dydx=cos((x2+1)3)3(x2+1)22x\qquad \dfrac{dy}{dx}=\cos\big((x^2+1)^3\big)\cdot 3(x^2+1)^2\cdot 2x ::: ---

    Minimal Worked Examples

    Example 1 Differentiate y=(2x+1)7\qquad y=(2x+1)^7 Using chain rule, dydx=7(2x+1)62\qquad \dfrac{dy}{dx}=7(2x+1)^6\cdot 2 =14(2x+1)6\qquad = 14(2x+1)^6 --- Example 2 Differentiate y=ln(1+x2)\qquad y=\ln(1+x^2) Outer function is ln()\ln(\cdot) and inner function is 1+x21+x^2. So, dydx=11+x22x\qquad \dfrac{dy}{dx}=\dfrac{1}{1+x^2}\cdot 2x =2x1+x2\qquad = \dfrac{2x}{1+x^2} ---

    Composite Functions in Related Rates

    📖 Related Rates Structure

    If one variable depends on another, and that variable depends on time, then use chain rule.

    If
    s=s(u)\qquad s=s(u)
    and
    u=u(t)\qquad u=u(t)

    then

    dsdt=dsdududt\qquad \dfrac{ds}{dt}=\dfrac{ds}{du}\cdot \dfrac{du}{dt}

    This is one of the most important applications of the chain rule. ---

    PYQ-Type Insight: Spider Problem Structure

    How the Given PYQ Uses the Chain Rule

    In the PYQ, the spider moves along the curve
    y=x3\qquad y=x^3

    At time tt, the spider is at
    (u,u3)\qquad (u,u^3)

    Two quantities depend on uu:

    • the straight thread length

    s=u2+u6\qquad s=\sqrt{u^2+u^6}

    • the curve length from origin to the point

    (u)=0u1+9x4dx\qquad \ell(u)=\int_0^u \sqrt{1+9x^4}\,dx

    Since the spider runs along the curve at constant speed 1010 unit/second,

    ddt=10\qquad \dfrac{d\ell}{dt}=10

    Now apply chain rule:

    ddt=ddududt\qquad \dfrac{d\ell}{dt}=\dfrac{d\ell}{du}\cdot \dfrac{du}{dt}

    By the Fundamental Theorem of Calculus,

    ddu=1+9u4\qquad \dfrac{d\ell}{du}=\sqrt{1+9u^4}

    So,

    10=1+9u4dudt\qquad 10=\sqrt{1+9u^4}\cdot \dfrac{du}{dt}

    Hence,

    dudt=101+9u4\qquad \dfrac{du}{dt}=\dfrac{10}{\sqrt{1+9u^4}}

    Next, for the thread length,

    dsdt=dsdududt\qquad \dfrac{ds}{dt}=\dfrac{ds}{du}\cdot \dfrac{du}{dt}

    This is exactly the chain-rule structure the question is testing.

    ---

    Important Formula Patterns for This Topic

    📐 Frequently Used Derivatives
      • ddx(ax+b)n=n(ax+b)n1a\dfrac{d}{dx}(ax+b)^n = n(ax+b)^{n-1}\cdot a
      • ddxsin(ax+b)=acos(ax+b)\dfrac{d}{dx}\sin(ax+b)=a\cos(ax+b)
      • ddxcos(ax+b)=asin(ax+b)\dfrac{d}{dx}\cos(ax+b)=-a\sin(ax+b)
      • ddxeg(x)=eg(x)g(x)\dfrac{d}{dx}e^{g(x)}=e^{g(x)}g'(x)
      • ddxln(g(x))=g(x)g(x)\dfrac{d}{dx}\ln(g(x))=\dfrac{g'(x)}{g(x)}
      • ddxg(x)=g(x)2g(x)\dfrac{d}{dx}\sqrt{g(x)}=\dfrac{g'(x)}{2\sqrt{g(x)}}
    ---

    How to Identify the Inner Function

    💡 Fast Recognition Method

    Look for the expression that:

    • is repeated as a block, and

    • becomes simpler if you temporarily treat it as one symbol


    Examples:
      • in (x2+1)5(x^2+1)^5, inner function is x2+1x^2+1

      • in sin(3x2)\sin(3x^2), inner function is 3x23x^2

      • in ln(1+x)\ln(1+\sqrt{x}), inner function is 1+x1+\sqrt{x}, but inside that there is another layer x\sqrt{x}

    ---

    Common Mistakes

    ⚠️ Avoid These Errors
      • ❌ Differentiating only the outer function and forgetting the inner derivative
    ✅ Always multiply by the derivative of the inside
      • ❌ Writing
    ddxsin(x2)=cos(x2)\dfrac{d}{dx}\sin(x^2)=\cos(x^2) ✅ Correct: ddxsin(x2)=cos(x2)2x\dfrac{d}{dx}\sin(x^2)=\cos(x^2)\cdot 2x
      • ❌ Writing
    ddxln(1+x2)=11+x2\dfrac{d}{dx}\ln(1+x^2)=\dfrac{1}{1+x^2} ✅ Correct: 2x1+x2\dfrac{2x}{1+x^2}
      • ❌ In related rates, using ordinary differentiation without respecting dependence on time
    ✅ If s=s(u(t))s=s(u(t)), then use dsdt=dsdududt\dfrac{ds}{dt}=\dfrac{ds}{du}\dfrac{du}{dt}
      • ❌ Missing one layer in a multi-layer function
    ✅ Differentiate one layer at a time
    ---

    CMI Strategy

    💡 How to Solve Chain-Rule Problems

    • First identify the outermost function.

    • Keep peeling inward layer by layer.

    • For related rates, decide which variable is the bridge variable.

    • If a quantity is given as an integral with variable upper limit, use the Fundamental Theorem of Calculus first.

    • In geometric problems, write every relevant quantity in terms of one variable, then differentiate systematically.

    ---

    Practice Questions

    :::question type="MCQ" question="The derivative of (x2+1)4(x^2+1)^4 is" options=["4(x2+1)34(x^2+1)^3","8x(x2+1)38x(x^2+1)^3","4x(x2+1)34x(x^2+1)^3","8(x2+1)38(x^2+1)^3"] answer="B" hint="Use chain rule with outer function ()4(\cdot)^4." solution="Let y=(x2+1)4\qquad y=(x^2+1)^4 Then dydx=4(x2+1)3ddx(x2+1)\qquad \dfrac{dy}{dx}=4(x^2+1)^3\cdot \dfrac{d}{dx}(x^2+1) =4(x2+1)32x=8x(x2+1)3\qquad = 4(x^2+1)^3\cdot 2x = 8x(x^2+1)^3 Hence the correct option is B\boxed{B}." ::: :::question type="NAT" question="Find the value of ddxln(1+x2)\dfrac{d}{dx}\ln(1+x^2) at x=1x=1." answer="1" hint="Differentiate first, then substitute x=1x=1." solution="We have ddxln(1+x2)=2x1+x2\qquad \dfrac{d}{dx}\ln(1+x^2)=\dfrac{2x}{1+x^2} At x=1x=1, 22=1\qquad \dfrac{2}{2}=1 Hence the answer is 1\boxed{1}." ::: :::question type="MSQ" question="Which of the following are correct?" options=["ddxsin(x3)=3x2cos(x3)\dfrac{d}{dx}\sin(x^3)=3x^2\cos(x^3)","ddxex2=ex2\dfrac{d}{dx}e^{x^2}=e^{x^2}","ddx1+x=121+x\dfrac{d}{dx}\sqrt{1+x}=\dfrac{1}{2\sqrt{1+x}}","If s=s(u)s=s(u) and u=u(t)u=u(t), then dsdt=dsdududt\dfrac{ds}{dt}=\dfrac{ds}{du}\dfrac{du}{dt}"] answer="A,C,D" hint="Check chain rule carefully in each case." solution="1. True.
  • False. The derivative is
  • ex22x\qquad e^{x^2}\cdot 2x
  • True.
  • True. This is the chain rule in related-rates form.
  • Hence the correct answer is A,C,D\boxed{A,C,D}." ::: :::question type="SUB" question="Differentiate y=cos((2x1)3)y=\cos\big((2x-1)^3\big)." answer="6(2x1)2sin((2x1)3)-6(2x-1)^2\sin\big((2x-1)^3\big)" hint="There are two layers inside the cosine." solution="Let y=cos((2x1)3)\qquad y=\cos\big((2x-1)^3\big) Differentiate outer function first: dydx=sin((2x1)3)ddx((2x1)3)\qquad \dfrac{dy}{dx}=-\sin\big((2x-1)^3\big)\cdot \dfrac{d}{dx}\big((2x-1)^3\big) Now differentiate the inner cube: ddx((2x1)3)=3(2x1)22=6(2x1)2\qquad \dfrac{d}{dx}\big((2x-1)^3\big)=3(2x-1)^2\cdot 2=6(2x-1)^2 So, dydx=6(2x1)2sin((2x1)3)\qquad \dfrac{dy}{dx}=-6(2x-1)^2\sin\big((2x-1)^3\big) Hence the derivative is 6(2x1)2sin((2x1)3)\boxed{-6(2x-1)^2\sin\big((2x-1)^3\big)}." ::: ---

    Summary

    Key Takeaways for CMI

    • The derivative of a composite function is found using the chain rule.

    • In f(g(x))f(g(x)), differentiate the outer function and multiply by the derivative of the inner function.

    • Multi-layer compositions produce multiple derivative factors.

    • Related rates are chain rule in disguise.

    • In PYQ-style motion and geometry problems, first express all quantities through one variable, then differentiate carefully.

    Chapter Summary

    Derivative basics — Key Points

    The derivative is fundamentally defined as a limit, representing the instantaneous rate of change or the slope of the tangent line to a curve.
    Differentiability at a point requires the existence and equality of both left-hand and right-hand derivatives.
    A function must be continuous at a point to be differentiable there, though continuity alone does not guarantee differentiability.
    Proficiency in standard differentiation formulas (e.g., power, exponential, logarithmic, trigonometric) is essential.
    * The Chain Rule is critical for differentiating composite functions, extending the basic rules to more complex expressions.

    Chapter Review Questions

    :::question type="MCQ" question="Using first principles, evaluate the derivative of f(x)=x2f(x) = x^2 at x=3x=3." options=["2x2x", "66", "33", "99"] answer="6" hint="Recall the definition dfdx=limh0f(x+h)f(x)h\frac{df}{dx} = \lim_{h \to 0} \frac{f(x+h)-f(x)}{h}." solution="The derivative using first principles at x=3x=3 is given by:

    f(3)=limh0f(3+h)f(3)hf'(3) = \lim_{h \to 0} \frac{f(3+h)-f(3)}{h}

    f(3)=limh0(3+h)232hf'(3) = \lim_{h \to 0} \frac{(3+h)^2 - 3^2}{h}

    f(3)=limh0(9+6h+h2)9hf'(3) = \lim_{h \to 0} \frac{(9+6h+h^2) - 9}{h}

    f(3)=limh06h+h2hf'(3) = \lim_{h \to 0} \frac{6h+h^2}{h}

    f(3)=limh0(6+h)=6f'(3) = \lim_{h \to 0} (6+h) = 6
    "
    :::

    :::question type="NAT" question="If y=esin(x)y = e^{\sin(x)}, determine the value of dydx\frac{dy}{dx} at x=0x=0." answer="1" hint="Apply the chain rule ddxg(f(x))=g(f(x))f(x)\frac{d}{dx} g(f(x)) = g'(f(x)) \cdot f'(x)." solution="Given y=esin(x)y = e^{\sin(x)}, we apply the chain rule.
    Let u=sin(x)u = \sin(x), then y=euy = e^u.
    dydu=eu\frac{dy}{du} = e^u and dudx=cos(x)\frac{du}{dx} = \cos(x).
    So, dydx=dydududx=esin(x)cos(x)\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx} = e^{\sin(x)} \cdot \cos(x).
    Now, evaluate at x=0x=0:
    dydxx=0=esin(0)cos(0)=e01=11=1\frac{dy}{dx}\Big|_{x=0} = e^{\sin(0)} \cdot \cos(0) = e^0 \cdot 1 = 1 \cdot 1 = 1."
    :::

    :::question type="MCQ" question="For the function f(x)={x2x12x1x>1f(x) = \begin{cases} x^2 & x \le 1 \\ 2x-1 & x > 1 \end{cases}, which statement is true about its differentiability at x=1x=1?" options=["The function is continuous but not differentiable at x=1x=1.", "The function is differentiable at x=1x=1.", "The left-hand derivative exists, but the right-hand derivative does not.", "The function is neither continuous nor differentiable at x=1x=1."] answer="The function is differentiable at x=1x=1." hint="First, check continuity at x=1x=1. Then, evaluate the left-hand and right-hand derivatives at x=1x=1." solution="1. Check for Continuity at x=1x=1:
    f(1)=12=1f(1) = 1^2 = 1.
    limx1f(x)=limx1x2=12=1\lim_{x \to 1^-} f(x) = \lim_{x \to 1^-} x^2 = 1^2 = 1.
    limx1+f(x)=limx1+(2x1)=2(1)1=1\lim_{x \to 1^+} f(x) = \lim_{x \to 1^+} (2x-1) = 2(1)-1 = 1.
    Since f(1)=limx1f(x)=limx1+f(x)f(1) = \lim_{x \to 1^-} f(x) = \lim_{x \to 1^+} f(x), the function is continuous at x=1x=1.

    2. Check for Differentiability at x=1x=1:
    We need to evaluate the left-hand derivative (fL(1)f'_L(1)) and the right-hand derivative (fR(1)f'_R(1)).
    For x<1x < 1, f(x)=ddx(x2)=2xf'(x) = \frac{d}{dx}(x^2) = 2x.
    fL(1)=limx12x=2(1)=2f'_L(1) = \lim_{x \to 1^-} 2x = 2(1) = 2.
    For x>1x > 1, f(x)=ddx(2x1)=2f'(x) = \frac{d}{dx}(2x-1) = 2.
    fR(1)=limx1+2=2f'_R(1) = \lim_{x \to 1^+} 2 = 2.
    Since fL(1)=fR(1)=2f'_L(1) = f'_R(1) = 2, the function is differentiable at x=1x=1.

    Therefore, the function is differentiable at x=1x=1."
    :::

    What's Next?

    💡 Continue Your CMI Journey

    This chapter provided the fundamental tools for understanding instantaneous rates of change. Future chapters will build upon these foundational concepts, exploring applications in optimization, curve sketching, and laying the groundwork for integral calculus and multivariable differentiation.

    🎯 Key Points to Remember

    • Master the core concepts in Derivative basics before moving to advanced topics
    • Practice with previous year questions to understand exam patterns
    • Review short notes regularly for quick revision before exams

    Related Topics in Calculus

    More Resources

    Why Choose MastersUp?

    🎯

    AI-Powered Plans

    Personalized study schedules based on your exam date and learning pace

    📚

    15,000+ Questions

    Verified questions with detailed solutions from past papers

    📊

    Smart Analytics

    Track your progress with subject-wise performance insights

    🔖

    Bookmark & Revise

    Save important questions for quick revision before exams

    Start Your Free Preparation →

    No credit card required • Free forever for basic features