Latest
  • Admissions openClass 11 Science, 2027‑28: JEE, NEET and MHT‑CET with junior college and hostel under one roofApply now
  • IMGSAT 2027Free scholarship and admission test for Class 10 students, every Saturday and Sunday at our Nashik campusRegister
  • Free Foundation 2026‑27Evening classes for Class 10 in Physics, Chemistry, Maths and Biology, taught by our IITian and doctor facultyJoin free

+91 70303 00666

Maths · Class 12 · Chapter 5

Continuity and Differentiability

This chapter makes precise what it means for a graph to have no break and no sharp corner, and then builds the full toolkit of differentiation: chain rule, implicit functions, inverse trigonometric, exponential and logarithmic functions, parametric forms and second derivatives. Calculus in the rest of Class 12 depends on doing these steps fast and correctly.

In this chapter: continuity at a point and on an interval, algebra of continuous functions, differentiability and its link with continuity, chain rule, implicit differentiation, derivatives of inverse trigonometric, exponential and logarithmic functions, logarithmic differentiation, parametric forms, second order derivatives, and Rolle's and mean value theorems.

Continuity

A real function f is continuous at x = c (c in the domain of f) if

limx→c⁻ f(x) = limx→c⁺ f(x) = f(c)left hand limit = right hand limit = value

All three must exist and be equal. f is called a continuous function if it is continuous at every point of its domain. Note the words "of its domain": f(x) = 1/x is a continuous function, because x = 0 is not in its domain and the question of continuity there does not arise.

Continuity and two kinds of discontinuity at x = cwww.iitmedicoguide.comxyc(a) Continuous at cLHL = RHL = f(c)xyc(b) Limit ≠ f(c)LHL = RHL, but ≠ f(c)f(c)xyc(c) Jump at cLHL ≠ RHLwww.iitmedicoguide.com
In (a) both one-sided limits equal f(c). In (b) the limit exists but f(c) has been given a different value. In (c) the left and right limits differ, so the limit itself does not exist.
  • Polynomials, sin x, cos x, ex and |x| are continuous everywhere. log x is continuous for x > 0; tan x is continuous at every point except odd multiples of π/2 (which are outside its domain).
  • The greatest integer function [x] is discontinuous at every integer: at x = 2, the left limit is 1 and the right limit is 2.
  • If f and g are continuous at c, so are f + g, f − g, fg, and f/g provided g(c) ≠ 0.
  • If g is continuous at c and f is continuous at g(c), then f∘g is continuous at c. This is why |sin x| or cos(x²) is continuous everywhere.
Worked example: Find k so that f(x) = kx + 1 for x ≤ 5 and f(x) = 3x − 5 for x > 5 is continuous at x = 5.
Solution: f(5) = LHL = 5k + 1. RHL = limx→5⁺(3x − 5) = 10. Continuity requires 5k + 1 = 10, so k = 9/5.

Differentiability

f is differentiable at c if the limit

f′(c) = limh→0 f(c + h) − f(c)h

exists, which means the left hand derivative (h → 0⁻) and the right hand derivative (h → 0⁺) are finite and equal. Every differentiable function is continuous, but the converse is false. The standard counterexample is |x| at 0.

y = |x| is continuous but not differentiable at 0www.iitmedicoguide.comxyO−3−2−1123slope = −1slope = +1y = |x|At x = 0:LHD = −1RHD = +1no break: continuouscorner: not differentiablewww.iitmedicoguide.com
y = |x| has no break at the origin, but the slope jumps from −1 to +1 there. A sharp corner is the typical sign of a point where a continuous function is not differentiable.

Other standard cases: [x] is not differentiable at integers (it is not even continuous there), and f(x) = x|x| is differentiable at 0 with f′(0) = 0. For a piecewise function, check continuity first, then compare LHD and RHD.

Rules of differentiation

Chain rule and implicit functions

If y = f(t) and t = g(x), then dy/dx = (dy/dt)(dt/dx). For example, d/dx sin(x²) = cos(x²) · 2x. When x and y are mixed in an equation, differentiate every term with respect to x, treating y as a function of x, and collect dy/dx. From x² + y² = 25: 2x + 2y(dy/dx) = 0, so dy/dx = −x/y.

Standard derivatives

f(x)f′(x)Valid for
sin−1x1/√(1 − x²)−1 < x < 1
cos−1x−1/√(1 − x²)−1 < x < 1
tan−1x1/(1 + x²)all real x
cot−1x−1/(1 + x²)all real x
sec−1x1/(|x|√(x² − 1))|x| > 1
cosec−1x−1/(|x|√(x² − 1))|x| > 1
exexall real x
ax (a > 0)ax log aall real x
log x1/xx > 0
logax1/(x log a)x > 0

Here log means the natural logarithm (base e), as in NCERT. The derivatives of the co-functions are simply the negatives, which follows from sin−1x + cos−1x = π/2 and the similar identities.

A trick worth knowing: substitute to simplify before differentiating. For y = sin−1(2x/(1 + x²)) with |x| ≤ 1, put x = tan θ; then y = sin−1(sin 2θ) = 2θ = 2 tan−1x, so dy/dx = 2/(1 + x²).

Logarithmic differentiation

Use it for a variable raised to a variable power, y = [u(x)]v(x), and for long products and quotients. Take log of both sides, then differentiate.

Worked example: Find dy/dx if y = xx, x > 0.
Solution: log y = x log x. Differentiating, (1/y)(dy/dx) = x · (1/x) + log x · 1 = 1 + log x. So dy/dx = xx(1 + log x). Neither the power rule (which would give x · xx − 1) nor the exponential rule (xx log x) alone is correct; the true answer is their sum.

Parametric form

If x = f(t) and y = g(t), then dy/dx = (dy/dt) ÷ (dx/dt), provided dx/dt ≠ 0. For the circle x = a cos θ, y = a sin θ, dy/dx = (a cos θ)/(−a sin θ) = −cot θ.

Second order derivative

d²y/dx² = d/dx (dy/dx), also written y″ or y2. In parametric form, do not divide second derivatives. Differentiate dy/dx with respect to the parameter and then divide by dx/dt once more.

Worked example: If x = at² and y = 2at, find d²y/dx².
Solution: dx/dt = 2at, dy/dt = 2a, so dy/dx = 1/t. Then d²y/dx² = (d/dt of 1/t) ÷ (dx/dt) = (−1/t²)/(2at) = −1/(2at³). The wrong method, (d²y/dt²)/(d²x/dt²) = 0/(2a) = 0, gives a completely different answer.

A common question type: if y = A sin x + B cos x, then y″ = −A sin x − B cos x = −y, so y″ + y = 0.

Rolle's theorem and the mean value theorem

These two theorems were removed from the rationalised NCERT book, but they are still in the MHT‑CET and JEE Advanced syllabus, so learn the statements and the method of finding c.

  • Rolle's theorem: if f is continuous on [a, b], differentiable on (a, b) and f(a) = f(b), then f′(c) = 0 for some c in (a, b). Geometrically, the graph has a horizontal tangent somewhere between a and b.
  • Mean value theorem (Lagrange): if f is continuous on [a, b] and differentiable on (a, b), then f′(c) = (f(b) − f(a))/(b − a) for some c in (a, b). The tangent at c is parallel to the chord joining the end points.

For f(x) = x² on [2, 4], the chord slope is (16 − 4)/2 = 6, and f′(c) = 2c = 6 gives c = 3, which lies in (2, 4).

Common mistakes: (1) Checking only one side of a limit when testing continuity of a piecewise function. (2) Assuming a continuous function must be differentiable. (3) Differentiating xx by the power rule. (4) Computing the parametric second derivative as (d²y/dt²)/(d²x/dt²). (5) Forgetting the inner derivative in the chain rule, for example writing d/dx tan−1(x²) = 1/(1 + x⁴) and dropping the 2x.

JEE and MHT‑CET focus

  • Finding constants that make a piecewise function continuous or differentiable at a given point.
  • Points of discontinuity and non-differentiability of functions built from |x|, [x] and max or min of two functions.
  • Derivatives of inverse trigonometric functions after a smart substitution (x = tan θ, sin θ, cos θ).
  • Logarithmic differentiation of uv and of long products.
  • Parametric and implicit derivatives, including second derivatives, and proving relations like y″ + y = 0.
  • Finding c in Rolle's theorem and the mean value theorem.

Practice questions

The function f(x) = |x| at x = 0 is:

  1. Discontinuous
  2. Continuous and differentiable
  3. Continuous but not differentiable
  4. Differentiable but not continuous
Show answer
C. LHD = −1 and RHD = 1, though there is no break in the graph.

For f(x) = (sin x)/x when x ≠ 0 and f(0) = k to be continuous at 0, k must be:

  1. 0
  2. 1
  3. −1
  4. Any real number
Show answer
B. limx→0 (sin x)/x = 1, so f(0) must equal 1.

The number of points in the open interval (0, 3) where f(x) = [x] is discontinuous is:

  1. 0
  2. 1
  3. 2
  4. 3
Show answer
C. The integers inside (0, 3) are 1 and 2.

d/dx [tan−1(x²)] is:

  1. 1/(1 + x⁴)
  2. 2x/(1 + x²)
  3. 2x/(1 + x⁴)
  4. 2x/(1 + x²)²
Show answer
C. 1/(1 + (x²)²) times the inner derivative 2x.

If y = xx, then dy/dx at x = 1 is:

  1. 0
  2. 1
  3. e
  4. 2
Show answer
B. dy/dx = xx(1 + log x) = 1 × (1 + 0) = 1.

If x = at² and y = 2at, then dy/dx is:

  1. t
  2. 1/t
  3. 2t
  4. −1/t²
Show answer
B. (dy/dt)/(dx/dt) = 2a/(2at) = 1/t.

d/dx [log(sin x)] equals:

  1. 1/sin x
  2. cot x
  3. tan x
  4. −cot x
Show answer
B. (1/sin x) · cos x = cot x.

For f(x) = x² − 4x + 3 on [1, 3], the value of c in Rolle's theorem is:

  1. 1.5
  2. 2
  3. 2.5
  4. 3
Show answer
B. f(1) = f(3) = 0, and f′(c) = 2c − 4 = 0 gives c = 2.
Call WhatsApp Apply
Chat with us on WhatsApp