PYQ Vault

CBSE Class 12 Maths · Continuity and Differentiability

Continuity at a Point and Continuous Functions

A function is continuous at a point when its left hand limit, its right hand limit and its value there are all equal; this page also covers finding a constant that makes a function continuous and building continuous functions from simpler ones.

Why this matters

93 questions, thirty-four of them from board papers from 2023 to 2026. The board most often asks for a constant that makes a function continuous: k for (1 − cos x)/2x² (2023), c and a pair a, b (2024), a for sin² ax/x² and k for a limit with logarithms (2025), k for (x² − 4x − 5)/(x + 1) and for (sin x)/x + cos x (2026). It also asks you to check continuity at a join (2024 to 2026), where [x] is continuous (2023, 2025), whether x sin(1/x) or x² sin(1/x) is continuous at 0 (2024 to 2026, one of them an assertion-reason item) and which sums of modulus functions are continuous (2024, 2025). The textbook adds Examples 1 to 20 and all of Exercise 5.1.

Concept 1 of 4: Continuity at a point: left hand limit, right hand limit and value

A function is continuous at a point if you can draw its graph through that point without lifting the pen. In symbols: the values just to the left, the values just to the right and the value at the point itself all agree.

Definition

  • Continuity at c: f is continuous at x=cx = c if f is defined at c and lim⁡x→c−f(x)=lim⁡x→c+f(x)=f(c)\lim_{x \to c^-} f(x) = \lim_{x \to c^+} f(x) = f(c).
  • If the two one-sided limits differ, or if their common value differs from f(c)f(c), f is discontinuous at c, and c is a point of discontinuity.
  • A continuous function is one that is continuous at every point of its domain.
  • Piecewise functions: each piece is continuous on its own interval, so only the joins need checking. At a join, take f(c)f(c) from the piece whose condition contains c (the one written with ≤\le or ≥\ge).
  • Board layout: write f(c)f(c), then the left hand limit (LHL), then the right hand limit (RHL), each on its own line, then the conclusion.

Continuity at x = c

lim⁡x→c−f(x)=lim⁡x→c+f(x)=f(c)\lim_{x \to c^-} f(x) = \lim_{x \to c^+} f(x) = f(c)

Worked example

Check the continuity of f(x)={5x−4,x≤14x2−3x,x>1f(x) = \begin{cases} 5x - 4, & x \le 1 \\ 4x^2 - 3x, & x > 1 \end{cases} at x=1x = 1.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2026 · 65/1/1 · 21 (a)Moderate

Example 1 · Continuity and Differentiability · Continuity

Check whether function f(x) defined as f(x)={∣x−3∣2(x−3),x<3x−66,x≥3f(x) = \begin{cases} \frac{\left| x - 3 \right|}{2(x - 3)}, & x < 3 \\ \frac{x - 6}{6}, & x \geq 3 \end{cases} is continuous at x=3x = 3 or not ?

Checking one side only

A limit exists only when both one-sided limits exist and are equal. At every join, write the LHL and the RHL separately before you compare them with the value.

The wrong piece for the value

At a join, f(c)f(c) comes from the piece whose condition includes c. For pieces on x≤1x \le 1 and x>1x > 1, the value at 1 comes from the first piece.

Assertion-reason code (D) in Mathematics

In the CBSE Mathematics paper, option (D) means the Assertion is false and the Reason is true. Judge each statement on its own first, then ask whether the Reason explains the Assertion.

Concept 2 of 4: Finding a constant that makes a function continuous

When a function is defined in pieces with an unknown constant, continuity at the join gives an equation. Find the limit from each side, set it equal to the value, and solve.

Definition

  • Set LHL == RHL =f(c)= f(c) at the join and solve for the constant. Two unknowns need two equations: use two joins, or the two sides of one join together with the value.
  • If the limit has the form 00\dfrac{0}{0}, simplify first: factorise and cancel, rationalise a root, or use a standard limit.
  • Standard limits: lim⁡x→0sin⁡xx=1\lim_{x \to 0} \dfrac{\sin x}{x} = 1, lim⁡x→01−cos⁡xx=0\lim_{x \to 0} \dfrac{1 - \cos x}{x} = 0, and 1−cos⁡x=2sin⁡2x21 - \cos x = 2\sin^2\dfrac{x}{2} turns a 1−cos⁡x1 - \cos x limit into a sine limit. Board 2025 also used lim⁡x→0log⁡(1+x)x=1\lim_{x \to 0} \dfrac{\log(1 + x)}{x} = 1.
  • Write both roots. An equation such as a2=1a^2 = 1 gives a=±1a = \pm 1, and both values make the function continuous.
  • No value is possible when the left and right limits do not depend on the constant and are unequal.

Standard limit

lim⁡x→0sin⁡xx=1\lim_{x \to 0} \frac{\sin x}{x} = 1

Worked example

Find k so that f(x)={sin⁡5x2x,x≠0k,x=0f(x) = \begin{cases} \dfrac{\sin 5x}{2x}, & x \ne 0 \\ k, & x = 0 \end{cases} is continuous at x=0x = 0.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2023 · 65/5/3 · 21 (a)Moderate

Example 2 · Continuity and Differentiability · Continuity

Find the value of k for which the function f given as f(x)={1−cos⁡x2x2,if x≠0k,if x=0f(x) = \begin{cases} \dfrac{1 - \cos x}{2x^2}, & \text{if } x \ne 0 \\ k, & \text{if } x = 0 \end{cases} is continuous at x=0x = 0.

Substituting into 0/0

Putting x=0x = 0 into sin⁡5x2x\dfrac{\sin 5x}{2x} gives 00\dfrac{0}{0}, which is not a value. Simplify, or use a standard limit, before you substitute.

Dropping a root

When the limit gives a2=1a^2 = 1 or λ2=1\lambda^2 = 1, write both 1 and −1-1. The board's answer in 2023 and 2025 was ±1\pm 1, and a single root loses the mark.

Forcing a value that cannot exist

If the left piece is λ\lambda times a polynomial that is zero at the join, and the right piece is not zero there, the left limit is zero for every λ\lambda while the right limit is not. No λ\lambda works, and 'no value' is the answer.

Concept 3 of 4: Building continuous functions: sums, products, quotients and composites

You do not need limits for every function. Polynomials, sine, cosine and the modulus function are continuous, and continuity survives adding, subtracting, multiplying, dividing (where the bottom is not zero) and composing.

Definition

  • Theorem 1 (algebra of continuous functions): if f and g are continuous at c, then f+gf + g, f−gf - g and f⋅gf \cdot g are continuous at c, and fg\dfrac{f}{g} is continuous at c when g(c)≠0g(c) \ne 0.
  • Theorem 2 (composite functions): if g is continuous at c and f is continuous at g(c)g(c), then f∘gf \circ g is continuous at c.
  • Every polynomial, sin⁡x\sin x, cos⁡x\cos x and ∣x∣|x| is continuous at every real number. So ∣cos⁡x∣|\cos x|, sin⁡∣x∣\sin |x|, cos⁡(x2)\cos(x^2) and ∣1−x+∣x∣∣|1 - x + |x|| are continuous.
  • A bounded factor times something that tends to 0 tends to 0: ∣xsin⁡1x∣≤∣x∣\left|x\sin\dfrac{1}{x}\right| \le |x|, so xsin⁡1x→0x\sin\dfrac{1}{x} \to 0 as x→0x \to 0. NCERT's Exercise 5.1 Q24 asks this for x2sin⁡1xx^2\sin\dfrac{1}{x}.
  • Continuous does not mean differentiable: ∣x∣+∣x−2∣|x| + |x - 2| is continuous everywhere but has corners at 0 and 2.

Composite of continuous functions

g continuous at c, f continuous at g(c)⇒f∘g continuous at cg \text{ continuous at } c,\ f \text{ continuous at } g(c) \Rightarrow f \circ g \text{ continuous at } c

Worked example

Show that f(x)=∣sin⁡x∣+cos⁡(x2)f(x) = |\sin x| + \cos(x^2) is a continuous function.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2024 · 65/3/1 · Q4Moderate

Example 3 · Continuity and Differentiability · Continuity

A function f(x)=∣1−x+∣x∣∣f(x) = \left| 1 - x + |x| \right| is :

A quotient where the bottom is zero

A quotient of continuous functions is continuous only where the denominator is not zero. Check the denominator before you write 'continuous everywhere'.

sin(1/x) on its own

sin⁡1x\sin\dfrac{1}{x} has no limit at 0: it keeps swinging between −1-1 and 1. Only the factor x in front forces the product to 0, so say in your answer that the sine is bounded.

Continuous is not differentiable

∣x∣+∣x−1∣|x| + |x - 1| is continuous at 0 and at 1 but not differentiable there. When an MCQ asks about both, decide continuity and differentiability separately.

Concept 4 of 4: Where common functions are continuous

A handful of standard functions come up again and again. Learn where each is continuous, and remember that a point outside the domain is not a point of discontinuity.

Definition

  • A function is judged only at points of its domain. 1x\dfrac{1}{x} is not defined at 0, so 0 is not a point of discontinuity, and 1x\dfrac{1}{x} is a continuous function (NCERT Example 9).
  • Greatest integer function [x][x]: continuous at every non-integer and discontinuous at every integer n, because the left hand limit at n is n−1n - 1 while the value is n (NCERT Example 15).
  • In an open interval such as 0<x<30 < x < 3, count only the integers inside it.
FunctionContinuous atNot continuous at
A polynomial, sin x, cos x, |x|Every real numberNo point
A rational function p(x)/q(x)Every x with q(x) not zeroNo point of its domain (it is not defined where q(x) = 0)
tan x and sec xEvery point of the domainNo point of the domain (not defined at odd multiples of π/2)
Greatest integer function [x]Every x that is not an integerEvery integer
Board 2023 asked at which of four points [x] is continuous; Board 2025 asked about x = 2.
x − [x]Every x that is not an integerEvery integer (NCERT Exercise 5.1 Q19)
1/xEvery x other than 0No point of its domain (0 is not in the domain)
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2023 · 65/5/1 · Q7Easy

Example 4 · Continuity and Differentiability · Continuity

The function f(x)=[x]f(x) = [x], where [x][x] denotes the greatest integer less than or equal to xx, is continuous at

Counting the end points

0<x<30 < x < 3 leaves out 0 and 3, so [x][x] has only two points of discontinuity there: 1 and 2.

Calling a missing point a discontinuity

A point where the function is not defined is not a point of discontinuity in NCERT's sense. Say that the point is outside the domain.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (3)

Reference tables (1)

Where common functions are continuous6 rows
FunctionContinuous atNot continuous at
A polynomial, sin x, cos x, |x|Every real numberNo point
A rational function p(x)/q(x)Every x with q(x) not zeroNo point of its domain (it is not defined where q(x) = 0)
tan x and sec xEvery point of the domainNo point of the domain (not defined at odd multiples of π/2)
Greatest integer function [x]Every x that is not an integerEvery integer
Board 2023 asked at which of four points [x] is continuous; Board 2025 asked about x = 2.
x − [x]Every x that is not an integerEvery integer (NCERT Exercise 5.1 Q19)
1/xEvery x other than 0No point of its domain (0 is not in the domain)

Watch out for (11)

Test yourself on Continuity and Differentiability

20 past CBSE Class 12 questions from this chapter, timed at 30 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.