All lessons

Module 74: Continuity and differentiability · Lesson 74.1 · about 36 min

Continuity and differentiability

Continuity at a point and its three kinds of failure, functions with modulus and greatest integer, differentiability through left and right derivatives, counting points of non-differentiability, and every differentiation technique the exams use: chain rule, implicit, parametric, logarithmic, inverse trigonometric substitutions, the derivative of an inverse function, second derivatives and functional equations.

Key points, meanings and formulas on one page: choose "Save as PDF" in the print box.

Maths · Class 12 · about 36 minutes. By the end you will be able to test continuity and differentiability at any point, find constants that join pieces smoothly, count the corners of functions built from |x| and [x], and differentiate implicit, parametric and power-of-a-function expressions quickly and correctly.

A continuous function can be drawn without lifting the pen. A differentiable function can also be drawn without any sharp turn: zoom in on any point and the graph looks like a straight line. Differentiable is the stronger condition, so every differentiable function is continuous, but a graph can be continuous and still have a corner.

1. Continuity at a point

f is continuous at x = a when three things agree:

limx→a−⁡f(x)=limx→a+⁡f(x)=f(a)

That is: the left-hand limit (LHL), the right-hand limit (RHL) and the actual value are equal. There are three ways to fail:

Type What goes wrong Example at x = 0
Removable LHL = RHL, but f(a) differs or is undefined sin x / x, undefined at 0
Jump (first kind) LHL and RHL both exist but differ [x], or x/|x|
Essential (second kind) a one-sided limit does not exist sin(1/x), 1/x

Sums, products, quotients (where the denominator is not 0) and compositions of continuous functions are continuous. Polynomials, sin, cos, eˣ, and log x (for x > 0) are continuous everywhere on their domains.

Greatest integer and modulus. [x] jumps at every integer; [g(x)] can only jump where g(x) crosses an integer. |g(x)| is continuous wherever g is. To test [x] at an integer n, use [n − h] = n − 1 and [n + h] = n for small h > 0.

Finding constants for continuity. Set LHL = RHL = f(a) and solve. Example: f(x) = (x² − 9)/(x − 3) for x ≠ 3 and f(3) = k is continuous when k = lim (x + 3) = 6.

2. Differentiability

The derivative is the limit of the chord slope:

f′(a)=limh→0⁡f(a+h)−f(a)h
h
a small step away from a, positive or negative
RHD
right-hand derivative: the limit with h → 0⁺, the slope as you arrive from the right
LHD
left-hand derivative: the limit with h → 0⁻ (equivalently [f(a) − f(a − h)]/h with h → 0⁺)
Physical meaning
f is differentiable at a when LHD and RHD exist, are finite and are equal: the curve has one clear direction there. Equal but infinite means a vertical tangent (like ∛x at 0), which is not differentiable.

Watch the two chords in the figure as you shrink h:

Left chord (to −h) and right chord (to +h) from the point at x = 0. Differentiable means both chord slopes settle on one finite number.

“If f′(x) has a formula that works on both sides, f is differentiable at the join.” First check that the pieces actually meet. A function with a jump can have equal slopes on both sides and still fail, because it is not even continuous. Continuity first, then the slopes.

Joining two pieces smoothly. For f = g(x) on x ≤ a and h(x) on x > a, differentiability at a needs two equations: g(a) = h(a) (continuity) and g′(a) = h′(a) (equal slopes, valid when both pieces are differentiable near a).

3. Counting points of non-differentiability

  • |g(x)| has a corner at each simple root of g (where g crosses zero with nonzero slope). At a repeated root, like |x²| or |(x − 1)²|, there is no corner.
  • |x|3, x|x| and |x|sin⁡x are differentiable at 0: the extra factor that vanishes flattens the corner.
  • max and min of two functions have corners where the graphs cross with different slopes.
  • [g(x)] is discontinuous (so not differentiable) where g crosses an integer value, unless the jump is cancelled, as in (x − n)[x] at x = n, which is continuous but not differentiable there.
  • Product rule check: f(x) = |x − a|·g(x) is differentiable at a exactly when g(a) = 0.

4. Techniques of differentiation

Chain rule. ddxf(g(x))=f′(g(x))g′(x): differentiate the outside, keep the inside, multiply by the derivative of the inside.

Implicit differentiation. When x and y are mixed, like x³ + y³ = 3axy, differentiate both sides with respect to x, writing dy/dx every time you differentiate something in y, then solve for dy/dx: dydx=ay−x2y2−ax.

Parametric form. If x = f(t) and y = g(t), then

dydx=dy/dtdx/dt,d2ydx2=ddt(dydx)÷dxdt

“The second derivative in parametric form is (d²y/dt²) ÷ (d²x/dt²).” It is not. Differentiate dy/dx with respect to t, then divide by dx/dt once more. For x = at², y = 2at: dy/dx = 1/t, so d²y/dx² = (−1/t²) ÷ (2at) = −1/(2at³).

Logarithmic differentiation. For y = f(x)^g(x), or long products and quotients, take log first: log y = g log f, so dydx=y(g′log⁡f+gf′f). Example: y = xˣ gives dy/dx = xˣ(1 + log x).

Inverse trigonometric substitutions. Before differentiating something like tan−1⁡2x1−x2, put x = tan θ: it becomes 2θ = 2tan⁻¹x (for |x| < 1), with derivative 2/(1 + x²). Watch the range: for x > 1 the expression is 2tan⁻¹x − π, with the same derivative.

Derivative of an inverse function. If g is the inverse of f, then g′(y)=1f′(x) where y = f(x). To find g′(5) when f(x) = x³ + x + 3, solve f(x) = 5 (x = 1), then g′(5) = 1/f′(1) = 1/4.

Second derivatives. Differentiate twice; in implicit questions substitute dy/dx back in. A classic: if y = sin⁻¹x, then (1 − x²)y″ − xy′ = 0.

5. JEE Advanced level: functional equations and limit-defined functions

Functional equations. If f(x + y) = f(x) + f(y) for all x, y and f′(0) = k, then putting y = h:

f′(x)=limh→0⁡f(x+h)−f(x)h=limh→0⁡f(h)h=f′(0)=k

so f(x) = kx (since f(0) = 0). Similarly, f(x + y) = f(x)f(y) leads to f(x) = eᵏˣ, and f(xy) = f(x) + f(y) leads to f(x) = k log x. Always find f(0) or f(1) first by putting x = y = 0 or 1.

Functions defined by a limit. For example f(x)=limn→∞⁡x2n−1x2n+1 equals −1 for |x| < 1, 0 at |x| = 1 and 1 for |x| > 1. Work out the formula region by region first, then test continuity at the boundaries (here x = ±1, where it jumps).

Next: Continuity and differentiability: question types and traps.

  • Continuous at a: LHL = RHL = f(a). Failures are removable, jump or essential.
  • Differentiable at a: LHD = RHD, both finite. Differentiable implies continuous, not the reverse.
  • To join pieces smoothly, match values and slopes: two equations.
  • |g(x)| has corners at simple roots of g; |x − a|g(x) is differentiable at a only if g(a) = 0.
  • Parametric: dy/dx = (dy/dt)/(dx/dt); d²y/dx² = d/dt(dy/dx) ÷ dx/dt.
  • Use logs for f^g and long products; use trig substitutions before differentiating inverse-trig expressions.
  • f(x + y) = f(x) + f(y) with f′(0) = k gives f(x) = kx; find f(0) first.

Check yourself

1f(x) = |x − 2| at x = 2 is:
2If x = a cos t and y = a sin t, then dy/dx is:
3Which statement is always true?

Sources

  • NCERT Mathematics Class 12 (Continuity and differentiability): topics followed, no text copied
  • JEE Main and JEE Advanced 2026 syllabi: Limit, continuity and differentiability

Your ticks stay in this browser. Save them as a file on the course home.

Updated 2026-11-22. Syllabus and exam patterns follow the official notices checked on 2026-11-22; they can change every year, so check the official exam website. All questions are original fibub work, not copied from past papers or books. Nothing you do here is sent anywhere.