02
CLASS 12 · MATHEMATICS · CHAPTER 5

Differentiability of
a Function

When a function has a well-defined tangent slope at every point — smooth, no sharp corners.

1

What is Differentiability?

A function is differentiable at a point if it has a unique, well-defined derivative (slope) there. Geometrically, the graph must be smooth — no sharp corners or cusps.

📘 Definition

A function f(x) is differentiable at x = a if the following limit exists and is finite:

Derivative from First Principles
f'(a) = lim f(a+h) − f(a)
      h→0 ————————————
                h
2

Left & Right Hand Derivatives

Just like limits, derivatives can be approached from both sides.

LHD and RHD
LHD = f'(a⁻) = lim f(a−h) − f(a) / (−h)
              h→0⁺

RHD = f'(a⁺) = lim f(a+h) − f(a) / h
              h→0⁺

💡 f(x) is differentiable at x = a if and only if LHD = RHD (both exist and are equal).

✏️ Example — f(x) = |x| at x = 0
Check differentiability of f(x) = |x| at x = 0
1

LHD = lim(h→0⁺) [|0−h| − |0|] / (−h) = lim h/(−h) = −1

2

RHD = lim(h→0⁺) [|0+h| − |0|] / h = lim h/h = +1

LHD ≠ RHD → NOT differentiable at x = 0 (sharp corner at origin)

💡 |x| is continuous at x = 0 but NOT differentiable — this shows continuity does NOT guarantee differentiability.

3

Relation: Continuity vs Differentiability

⭐ Golden Rule

Differentiable ⟹ Continuous
But Continuous ⟹ Differentiable is NOT always true

✅ Continuous

  • No breaks or holes
  • LHL = RHL = f(a)
  • Graph is unbroken
  • May have sharp corners

✅ Differentiable

  • Smooth, no sharp corners
  • LHD = RHD exists
  • Always continuous too
  • Unique tangent at every point

⚠️ If NOT continuous → NOT differentiable. Discontinuity is a stronger condition — it immediately rules out differentiability.

4

Standard Derivatives (First Principles)

These are derived from the limit definition and must be memorised:

f(x)f'(x) = d/dx [f(x)]
xⁿnxⁿ⁻¹
sin xcos x
cos x−sin x
tan xsec²x
cot x−cosec²x
sec xsec x · tan x
cosec x−cosec x · cot x
ln x1/x
constant c0
5

Rules of Differentiation

📌 Key Rules

Sum/Difference: d/dx [f ± g] = f' ± g'
Product Rule: d/dx [fg] = f'g + fg'
Quotient Rule: d/dx [f/g] = (f'g − fg') / g²
Chain Rule: d/dx [f(g(x))] = f'(g(x)) · g'(x)
Scalar: d/dx [kf] = k·f'

✏️ Chain Rule Example
Find d/dx [sin(x²)]
1

Outer function: sin(u), Inner: u = x²

2

d/dx[sin(x²)] = cos(x²) · d/dx[x²]

3

= cos(x²) · 2x = 2x cos(x²)

✏️ Product Rule Example
Find d/dx [x² · sin x]
1

f = x², g = sin x → f' = 2x, g' = cos x

2

= f'g + fg' = 2x·sin x + x²·cos x

= 2x sin x + x² cos x