Skip to main content
Chapter 9 of 15
NCERT Solutions

Continuity and Differentiability — NCERT Solutions

CBSE · Class 12 · Mathematics

NCERT Solutions for Continuity and Differentiability, CBSE Class 12 Mathematics: 39 textbook questions solved step by step. Covers Exercise 5.1.

114 questions54 flashcards17 formulas & key relations5 concepts

Interactive on Super Tutor

Studying Continuity and Differentiability? Get the full interactive chapter.

Quizzes, flashcards, AI doubt-solver and a step-by-step study plan — built for NCERT solutions and more.

Free trial, no card needed.

A step-by-step flowchart for applying logarithmic differentiation to functions of the form y = u(x)^v(x) or complex products/quotients.
Super Tutor

Learn better with visuals Super Tutor pairs illustrations like this with notes and quizzes for Continuity and Differentiability.

Get started
39 Questions Solved · 1 Section

The first 20 solutions are open to read. The other 19 are free with a Super Tutor account. Unlock all 39 free in Super Tutor

Exercise 5.1

1Prove that the function f(x)=5x−3f(x) = 5x - 3 is continuous at x=0x = 0, at x=−3x = -3 and at x=5x = 5.Show solution

For any real number cc,

lim⁡x→c(5x−3)=5c−3=f(c).\lim_{x\to c}(5x-3)=5c-3=f(c).

So f(x)=5x−3f(x)=5x-3 is continuous at every real number. Hence it is continuous at x=0x=0, x=−3x=-3 and x=5x=5.

Not sure why a step works? check your working in Super Tutor

2Examine the continuity of the function f(x)=2x2−1f(x) = 2x^2 - 1 at x=3x = 3.Show solution

At x=3x=3,

f(3)=2(3)2−1=18−1=17.f(3)=2(3)^2-1=18-1=17.

Also,

lim⁡x→3(2x2−1)=2(3)2−1=17.\lim_{x\to 3}(2x^2-1)=2(3)^2-1=17.

Since lim⁡x→3f(x)=f(3)\lim_{x\to 3}f(x)=f(3), the function is continuous at x=3x=3.

Not sure why a step works? check your working in Super Tutor

3(a)f(x)=x−5f(x) = x - 5Show solution

The function is a polynomial:

f(x)=x−5.f(x)=x-5.

Every polynomial function is continuous at every real number. So ff is continuous everywhere.

Not sure why a step works? check your working in Super Tutor

3(b)f(x)=1x−5,x≠5f(x) = \frac{1}{x - 5}, x \neq 5Show solution

The function is

f(x)=1x−5,x≠5.f(x)=\frac{1}{x-5},\quad x\ne 5.

This is a rational function, so it is continuous wherever it is defined. Since it is not defined at x=5x=5, it is continuous for all x≠5x\ne 5.

Not sure why a step works? check your working in Super Tutor

3(c)f(x)=x2−25x+5,x≠−5f(x) = \frac{x^2 - 25}{x + 5}, x \neq -5Show solution

For x≠−5x\ne -5,

f(x)=x2−25x+5=(x−5)(x+5)x+5=x−5.f(x)=\frac{x^2-25}{x+5}=\frac{(x-5)(x+5)}{x+5}=x-5.

So the function agrees with the polynomial x−5x-5 wherever it is defined. Hence it is continuous for all x≠−5x\ne -5.

Not sure why a step works? check your working in Super Tutor

3(d)f(x)=∣x−5∣f(x) = |x - 5|Show solution

We know

f(x)=∣x−5∣f(x)=|x-5|

and the modulus function is continuous everywhere. Since x−5x-5 is a polynomial and continuous everywhere, ∣x−5∣|x-5| is also continuous everywhere.

Not sure why a step works? check your working in Super Tutor

4Prove that the function f(x)=xnf(x) = x^n is continuous at x=nx = n, where nn is a positive integer.Show solution

Let p(x)=xnp(x)=x^n, where nn is a positive integer. A polynomial function is continuous at every real number. Therefore p(x)=xnp(x)=x^n is continuous at x=nx=n.

Not sure why a step works? check your working in Super Tutor

5Is the function ff defined by

f(x)={x,if x≤15,if x>1f(x) = \begin{cases} x, & \text{if } x \leq 1 \\ 5, & \text{if } x > 1 \end{cases}

Show solution

For x≤1x\le 1, f(x)=xf(x)=x and for x>1x>1, f(x)=5f(x)=5.

  • At x=0x=0, the function is given by f(x)=xf(x)=x, so f(0)=0f(0)=0 and

lim⁡x→0f(x)=lim⁡x→0x=0=f(0). \lim_{x\to 0}f(x)=\lim_{x\to 0}x=0=f(0).
Hence it is continuous at x=0x=0.

  • At x=1x=1,

f(1)=1, f(1)=1,
but
lim⁡x→1−f(x)=lim⁡x→1−x=1,lim⁡x→1+f(x)=lim⁡x→1+5=5. \lim_{x\to 1^-}f(x)=\lim_{x\to 1^-}x=1, \qquad \lim_{x\to 1^+}f(x)=\lim_{x\to 1^+}5=5.
Since the left and right limits are not equal, the function is discontinuous at x=1x=1.

  • At x=2x=2, since 2>12>1, f(x)=5f(x)=5 in a neighbourhood of 2. Thus

lim⁡x→2f(x)=5=f(2), \lim_{x\to 2}f(x)=5=f(2),
so it is continuous at x=2x=2.

So the function is continuous at x=0x=0 and x=2x=2, and discontinuous at x=1x=1.

Not sure why a step works? check your working in Super Tutor

6f(x)={2x+3,if x≤22x−3,if x>2f(x) = \begin{cases} 2x + 3, & \text{if } x \leq 2 \\ 2x - 3, & \text{if } x > 2 \end{cases}Show solution

Given

f(x)={2x+3,x≤22x−3,x>2f(x)=\begin{cases}2x+3,& x\le 2\\2x-3,& x>2\end{cases}

For x<2x<2, ff is linear, so continuous. For x>2x>2, it is also linear, so continuous.

Check x=2x=2:

  • Left value: f(2)=2(2)+3=7f(2)=2(2)+3=7
  • Right hand limit: lim⁡x→2+(2x−3)=1\lim_{x\to 2^+}(2x-3)=1

Since these are not equal, the function is discontinuous at x=2x=2.

So the only point of discontinuity is x=2x=2.

Not sure why a step works? check your working in Super Tutor

7f(x)={∣x∣+3,if x≤−3−2x,if −3<x<36x+2,if x≥3f(x) = \begin{cases} |x| + 3, & \text{if } x \leq -3 \\ -2x, & \text{if } -3 < x < 3 \\ 6x + 2, & \text{if } x \geq 3 \end{cases}Show solution

The function is

f(x)={∣x∣+3,x≤−3−2x,−3<x<36x+2,x≥3f(x)=\begin{cases}|x|+3,& x\le -3\\-2x,& -3<x<3\\6x+2,& x\ge 3\end{cases}

Each branch is continuous on its interval. So only the boundary points need checking.

At x=−3x=-3:

  • f(−3)=∣−3∣+3=6f(-3)=|-3|+3=6
  • Right hand limit from −2x-2x is −2(−3)=6-2(-3)=6

So it is continuous at x=−3x=-3.

At x=3x=3:

  • Left hand limit from −2x-2x is −2(3)=−6-2(3)=-6
  • f(3)=6(3)+2=20f(3)=6(3)+2=20

These do not match, so it is discontinuous at x=3x=3.

Hence the only point of discontinuity is x=3x=3.

Not sure why a step works? check your working in Super Tutor

8f(x)={∣x∣x,if x≠00,if x=0f(x) = \begin{cases} \frac{|x|}{x}, & \text{if } x \neq 0 \\ 0, & \text{if } x = 0 \end{cases}Show solution

For x>0x>0, ∣x∣x=1\frac{|x|}{x}=1; for x<0x<0, ∣x∣x=−1\frac{|x|}{x}=-1.

At x=0x=0, the function value is defined as 00.

The left hand limit at 00 is −1-1 and the right hand limit at 00 is 11, so the limits are not equal. Therefore the function is discontinuous at x=0x=0.

Not sure why a step works? check your working in Super Tutor

9f(x)={x∣x∣,if x<0−1,if x≥0f(x) = \begin{cases} \frac{x}{|x|}, & \text{if } x < 0 \\ -1, & \text{if } x \geq 0 \end{cases}Show solution

For x<0x<0,

x∣x∣=x−x=−1.\frac{x}{|x|}=\frac{x}{-x}=-1.

For x≥0x\ge 0, the function is also −1-1.

So the function is constant equal to −1-1 on its whole domain, hence continuous wherever it is defined. Since it is defined for all real numbers, it is continuous everywhere.

Not sure why a step works? check your working in Super Tutor

10f(x)={x+1,if x≥1x2+1,if x<1f(x) = \begin{cases} x + 1, & \text{if } x \geq 1 \\ x^2 + 1, & \text{if } x < 1 \end{cases}Show solution

The function is

f(x)={x+1,x≥1x2+1,x<1f(x)=\begin{cases}x+1,& x\ge 1\\x^2+1,& x<1\end{cases}

Each branch is continuous on its interval. Check the joining point x=1x=1:

  • Left hand limit: lim⁡x→1−(x2+1)=2\lim_{x\to 1^-}(x^2+1)=2
  • Right hand limit: lim⁡x→1+(x+1)=2\lim_{x\to 1^+}(x+1)=2
  • Value: f(1)=1+1=2f(1)=1+1=2

Since all three are equal, the function is continuous at x=1x=1 and hence everywhere.

Not sure why a step works? check your working in Super Tutor

11f(x)={x3−3,if x≤2x2+1,if x>2f(x) = \begin{cases} x^3 - 3, & \text{if } x \leq 2 \\ x^2 + 1, & \text{if } x > 2 \end{cases}Show solution

The function is

f(x)={x3−3,x≤2x2+1,x>2f(x)=\begin{cases}x^3-3,& x\le 2\\x^2+1,& x>2\end{cases}

Each branch is continuous on its interval. Check x=2x=2:

  • Left value: f(2)=23−3=5f(2)=2^3-3=5
  • Right hand limit: lim⁡x→2+(x2+1)=5\lim_{x\to 2^+}(x^2+1)=5

They are equal, so the function is continuous at x=2x=2.

Therefore the function is continuous everywhere.

Not sure why a step works? check your working in Super Tutor

12f(x)={x10−1,if x≤1x2,if x>1f(x) = \begin{cases} x^{10} - 1, & \text{if } x \leq 1 \\ x^2, & \text{if } x > 1 \end{cases}Show solution

The function is

f(x)={x10−1,x≤1x2,x>1f(x)=\begin{cases}x^{10}-1,& x\le 1\\x^2,& x>1\end{cases}

Each piece is continuous on its interval. Check at x=1x=1:

  • Left value: 110−1=01^{10}-1=0
  • Right hand limit: lim⁡x→1+x2=1\lim_{x\to 1^+}x^2=1

Since these are not equal, the function is not continuous at x=1x=1.

So it is continuous at all points except x=1x=1.

Not sure why a step works? check your working in Super Tutor

13Is the function defined by

f(x)={x+5,if x≤1x−5,if x>1f(x) = \begin{cases} x + 5, & \text{if } x \leq 1 \\ x - 5, & \text{if } x > 1 \end{cases}

Show solution

We check the point where the definition changes, i.e. x=1x=1.

For x≤1x\le 1, f(x)=x+5f(x)=x+5, so
f(1)=1+5=6. f(1)=1+5=6.
Now,
lim⁡x→1−f(x)=lim⁡x→1−(x+5)=6, \lim_{x\to 1^-}f(x)=\lim_{x\to 1^-}(x+5)=6,
and
lim⁡x→1+f(x)=lim⁡x→1+(x−5)=−4. \lim_{x\to 1^+}f(x)=\lim_{x\to 1^+}(x-5)=-4.
These two limits are not equal, so the function is not continuous at x=1x=1.

Everywhere else each part is a linear function, so it is continuous there. Therefore the function is not a continuous function.

Not sure why a step works? check your working in Super Tutor

14f(x)={3,if 0≤x≤14,if 1<x<35,if 3≤x≤10f(x) = \begin{cases} 3, & \text{if } 0 \leq x \leq 1 \\ 4, & \text{if } 1 < x < 3 \\ 5, & \text{if } 3 \leq x \leq 10 \end{cases}

Discuss the continuity of the function ff, where ff is defined by

Show solution

The function is
f(x)={3,0≤x≤14,1<x<35,3≤x≤10 f(x)=\begin{cases} 3, & 0\le x\le 1\\ 4, & 1<x<3\\ 5, & 3\le x\le 10 \end{cases}
Its domain is [0,10][0,10].

  • On each open interval where it is constant, the function is continuous.
  • At x=0x=0, continuity is checked by the right-hand limit:

lim⁡x→0+f(x)=3=f(0). \lim_{x\to 0^+}f(x)=3=f(0).

  • At x=10x=10, continuity is checked by the left-hand limit:

lim⁡x→10−f(x)=5=f(10). \lim_{x\to 10^-}f(x)=5=f(10).

  • At x=1x=1,

f(1)=3,lim⁡x→1−f(x)=3,lim⁡x→1+f(x)=4. f(1)=3,\quad \lim_{x\to 1^-}f(x)=3,\quad \lim_{x\to 1^+}f(x)=4.
Since the one-sided limits are different, it is discontinuous at x=1x=1.

  • At x=3x=3,

lim⁡x→3−f(x)=4,f(3)=5,lim⁡x→3+f(x)=5. \lim_{x\to 3^-}f(x)=4,\quad f(3)=5,\quad \lim_{x\to 3^+}f(x)=5.
Since the left-hand limit is not equal to the value, it is discontinuous at x=3x=3.

Hence the function is continuous everywhere in its domain except at x=1x=1 and x=3x=3.

Not sure why a step works? check your working in Super Tutor

15f(x)={2x,if x<00,if 0≤x≤14x,if x>1f(x) = \begin{cases} 2x, & \text{if } x < 0 \\ 0, & \text{if } 0 \leq x \leq 1 \\ 4x, & \text{if } x > 1 \end{cases}

Discuss the continuity of the function ff, where ff is defined by

Show solution

The function is
f(x)={2x,x<00,0≤x≤14x,x>1 f(x)=\begin{cases} 2x, & x<0\\ 0, & 0\le x\le 1\\ 4x, & x>1 \end{cases}

  • For x<0x<0, f(x)=2xf(x)=2x, a linear function, so it is continuous there.
  • For 0<x<10<x<1, f(x)=0f(x)=0, a constant function, so it is continuous there.
  • For x>1x>1, f(x)=4xf(x)=4x, a linear function, so it is continuous there.

Now check the junctions.

At x=0x=0:
lim⁡x→0−f(x)=lim⁡x→0−2x=0,lim⁡x→0+f(x)=lim⁡x→0+0=0, \lim_{x\to 0^-}f(x)=\lim_{x\to 0^-}2x=0, \qquad \lim_{x\to 0^+}f(x)=\lim_{x\to 0^+}0=0,
and
f(0)=0. f(0)=0.
So the function is continuous at x=0x=0.

At x=1x=1:
f(1)=0,lim⁡x→1−f(x)=0,lim⁡x→1+f(x)=lim⁡x→1+4x=4. f(1)=0, \qquad \lim_{x\to 1^-}f(x)=0, \qquad \lim_{x\to 1^+}f(x)=\lim_{x\to 1^+}4x=4.
Since the left and right limits are different, the function is discontinuous at x=1x=1.

So the function is continuous for all x≠1x\neq 1 and discontinuous at x=1x=1.

Not sure why a step works? check your working in Super Tutor

16f(x)={−2,if x≤−12x,if −1<x≤12,if x>1f(x) = \begin{cases} -2, & \text{if } x \leq -1 \\ 2x, & \text{if } -1 < x \leq 1 \\ 2, & \text{if } x > 1 \end{cases}

Discuss the continuity of the function ff, where ff is defined by

Show solution

The function is
f(x)={−2,x≤−12x,−1<x≤12,x>1 f(x)=\begin{cases} -2, & x\le -1\\ 2x, & -1<x\le 1\\ 2, & x>1 \end{cases}

  • For x<−1x<-1, it is constant, so continuous.
  • For −1<x<1-1<x<1, it is linear, so continuous.
  • For x>1x>1, it is constant, so continuous.

Now check the boundary points.

At x=−1x=-1:
f(−1)=−2,lim⁡x→−1−f(x)=−2,lim⁡x→−1+f(x)=lim⁡x→−1+2x=−2. f(-1)=-2, \qquad \lim_{x\to -1^-}f(x)=-2, \qquad \lim_{x\to -1^+}f(x)=\lim_{x\to -1^+}2x=-2.
Hence the function is continuous at x=−1x=-1.

At x=1x=1:
f(1)=2,lim⁡x→1−f(x)=lim⁡x→1−2x=2,lim⁡x→1+f(x)=2. f(1)=2, \qquad \lim_{x\to 1^-}f(x)=\lim_{x\to 1^-}2x=2, \qquad \lim_{x\to 1^+}f(x)=2.
Hence the function is continuous at x=1x=1.

So, in fact, the function is continuous at all points in its domain, i.e. everywhere.

Not sure why a step works? check your working in Super Tutor

17Find the relationship between aa and bb so that the function ff defined by

f(x)={ax+1,if x≤3bx+3,if x>3f(x) = \begin{cases} ax + 1, & \text{if } x \leq 3 \\ bx + 3, & \text{if } x > 3 \end{cases}

Show solution

For continuity at x=3x=3, the left-hand value and right-hand limit must be equal.

From the first part,
f(3)=3a+1. f(3)=3a+1.
From the second part,
lim⁡x→3+f(x)=3b+3. \lim_{x\to 3^+}f(x)=3b+3.
Set them equal:
3a+1=3b+3. 3a+1=3b+3.
So
3a−3b=2⇒3(a−b)=2⇒a−b=23. 3a-3b=2 \quad\Rightarrow\quad 3(a-b)=2 \quad\Rightarrow\quad a-b=\frac{2}{3}.
Thus the relationship is
a−b=23. \boxed{a-b=\frac{2}{3}}.

Not sure why a step works? check your working in Super Tutor

18For what value of λ\lambda is the function defined by

f(x)={λ(x2−2x),if x≤04x+1,if x>0f(x) = \begin{cases} \lambda(x^2 - 2x), & \text{if } x \leq 0 \\ 4x + 1, & \text{if } x > 0 \end{cases}

Free with a Super Tutor account

19Show that the function defined by g(x)=x−[x]g(x) = x - [x] is discontinuous at all integral points. Here [x][x] denotes the greatest integer less than or equal to xx.

Free with a Super Tutor account

20Is the function defined by f(x)=x2−sin⁡x+5f(x) = x^2 - \sin x + 5 continuous at x=πx = \pi?

Free with a Super Tutor account

21(a)f(x)=sin⁡x+cos⁡xf(x) = \sin x + \cos x

Discuss the continuity of the following functions:

Free with a Super Tutor account

21(b)f(x)=sin⁡x−cos⁡xf(x) = \sin x - \cos x

Discuss the continuity of the following functions:

Free with a Super Tutor account

21(c)f(x)=sin⁡x⋅cos⁡xf(x) = \sin x \cdot \cos x

Discuss the continuity of the following functions:

Free with a Super Tutor account

22Discuss the continuity of the cosine, cosecant, secant and cotangent functions.

Free with a Super Tutor account

23Find all points of discontinuity of ff, where

f(x)={sin⁡xx,if x<0x+1,if x≥0f(x) = \begin{cases} \frac{\sin x}{x}, & \text{if } x < 0 \\ x + 1, & \text{if } x \geq 0 \end{cases}

Free with a Super Tutor account

24Determine if ff defined by

f(x)={x2sin⁡1x,if x≠00,if x=0f(x) = \begin{cases} x^2 \sin \frac{1}{x}, & \text{if } x \neq 0 \\ 0, & \text{if } x = 0 \end{cases}

Free with a Super Tutor account

25Examine the continuity of ff, where ff is defined by

f(x)={sin⁡x−cos⁡x,if x≠0−1,if x=0f(x) = \begin{cases} \sin x - \cos x, & \text{if } x \neq 0 \\ -1, & \text{if } x = 0 \end{cases}

Free with a Super Tutor account

26f(x)={kcos⁡xπ−2x,if x≠π23,if x=π2at x=π2f(x) = \begin{cases} \frac{k \cos x}{\pi - 2x}, & \text{if } x \neq \frac{\pi}{2} \\ 3, & \text{if } x = \frac{\pi}{2} \end{cases} \quad \text{at } x = \frac{\pi}{2}

Find the values of kk so that the function ff is continuous at the indicated point in Exercises 26 to 29.

Free with a Super Tutor account

27f(x)={kx2,if x≤23,if x>2at x=2f(x) = \begin{cases} kx^2, & \text{if } x \leq 2 \\ 3, & \text{if } x > 2 \end{cases} \quad \text{at } x = 2

Find the values of kk so that the function ff is continuous at the indicated point in Exercises 26 to 29.

Free with a Super Tutor account

28f(x)={kx+1,if x≤πcos⁡x,if x>πat x=πf(x) = \begin{cases} kx + 1, & \text{if } x \leq \pi \\ \cos x, & \text{if } x > \pi \end{cases} \quad \text{at } x = \pi

Find the values of kk so that the function ff is continuous at the indicated point in Exercises 26 to 29.

Free with a Super Tutor account

29f(x)={kx+1,if x≤53x−5,if x>5at x=5f(x) = \begin{cases} kx + 1, & \text{if } x \leq 5 \\ 3x - 5, & \text{if } x > 5 \end{cases} \quad \text{at } x = 5

Find the values of kk so that the function ff is continuous at the indicated point in Exercises 26 to 29.

Free with a Super Tutor account

30Find the values of aa and bb such that the function defined by

f(x)={5,if x≤2ax+b,if 2<x<1021,if x≥10f(x) = \begin{cases} 5, & \text{if } x \leq 2 \\ ax + b, & \text{if } 2 < x < 10 \\ 21, & \text{if } x \geq 10 \end{cases}

Free with a Super Tutor account

31Show that the function defined by f(x)=cos⁡(x2)f(x) = \cos(x^2) is a continuous function.

Free with a Super Tutor account

32Show that the function defined by f(x)=∣cos⁡x∣f(x) = |\cos x| is a continuous function.

Free with a Super Tutor account

33Examine that sin⁡∣x∣\sin|x| is a continuous function.

Free with a Super Tutor account

34Find all the points of discontinuity of ff defined by f(x)=∣x∣−∣x+1∣f(x) = |x| - |x + 1|.

Free with a Super Tutor account

19 more solved questions in Continuity and Differentiability

They are free with a Super Tutor account, along with practice quizzes and flashcards for this chapter. Free to start, no card needed.

Frequently Asked Questions

What are the important topics in Continuity and Differentiability for CBSE Class 12 Mathematics?
Key topics in Continuity and Differentiability include Continuity at a Point and on an Interval, Standard Continuous Functions and Algebra of Continuity, Differentiability and Its Relation to Continuity, Chain Rule and Derivatives of Composite Functions. Study these first, then practise questions on each for the CBSE Class 12 board exam.
Are these NCERT Solutions for Continuity and Differentiability free?
The first 20 of the 39 solutions on this page are open to read. The other 19 are free with a Super Tutor account — signing up is free and needs no card.
How should I revise Continuity and Differentiability for the CBSE Class 12 board exam?
Learn the core ideas first, then work through the 114 practice questions on Continuity and Differentiability. Revise definitions regularly and use flashcards for quick recall before the exam.

Sources & Official References

Content is aligned to the official syllabus. Refer to the board website for the latest curriculum.

For serious students

Get the full Continuity and Differentiability chapter — start free.

Quizzes, flashcards, an AI doubt solver and a study plan for CBSE Class 12 Mathematics. Free to start, no card needed.