Continuity and Differentiability Class 12 Solutions | NCERT Maths Chapter 5 Skip to content
🪔 शुभ नवरात्रि! Navratri Mega Sale Up to 34% off every pack + extra 15% off on 2 or more Shop the sale
Smart Notes for Every Exam · instant PDF download after payment +91 88240 98091
Home › NCERT Solutions › Class 12 Maths › Chapter 5
NCERT Solutions · Class 12 Maths · NCERT Mathematics Part I and II Part I · Chapter 5

Chapter 5: Continuity and Differentiability (Calculus)

Step-by-step solutions to all exercises of Chapter 5, Continuity and Differentiability (NCERT Class 12 Maths Part I, 2026-27): Exercise 5.1 (continuity), 5.2 (chain rule), 5.3 (implicit and inverse trigonometric functions), 5.4 (exponential and log functions), 5.5 (logarithmic differentiation), 5.6 (parametric forms), 5.7 (second order derivatives) and the Miscellaneous Exercise. All 137 questions are answered, with the key answer highlighted.

NCERT textbook Chapter 5 (PDF)

Exam revision? Chapter 5 notes with key points, diagrams and practice questions: see the free sample · ₹199 for all 13 chapters

Free NCERT solutions by Notes Bazar · www.notesbazar.in/ncert-solutions/class-12-maths/chapter-5-continuity-and-differentiability

f is continuous at c if . Polynomials, sin, cos, |x|, eˣ are continuous everywhere; sums, products and compositions of continuous functions are continuous. Chain rule: . Parametric: . For , take logs: .

Exercise 5.1

1
Prove that the function f (x) = 5x – 3 is continuous at x = 0, at x = – 3 and at x = 5.
Solution

At : .

At : .

At : .

In each case the limit equals the value, so f is continuous at all three points.

Limit = value at each point, so f is continuous at x = 0, −3, 5.

2
Examine the continuity of the function f (x) = 2x² – 1 at x = 3.
Solution

and . They are equal.

f is continuous at x = 3.

3
Examine the following functions for continuity. (a) f (x) = x – 5 (b) , x ≠ 5 (c) , x ≠ –5 (d) f (x) = | x – 5 |
Solution

(a) A polynomial: for every real c, . Continuous.

(b) Domain is . For , . Continuous at every point of its domain.

(c) For , ; for every c in the domain, . Continuous.

(d) for and for . Each piece is continuous; at : LHL , RHL , . Continuous everywhere.

All four functions are continuous.

4
Prove that the function f (x) = xⁿ is continuous at x = n, where n is a positive integer.
Solution

(a polynomial's limit is its value). So f is continuous at .

, so continuous.

5
Is the function f defined by f(x) = x, if x ≤ 1; f(x) = 5, if x > 1 continuous at x = 0? At x = 1? At x = 2?
Solution

At x = 0: near 0, , so . Continuous.

At x = 1: LHL , RHL . LHL ≠ RHL, so not continuous.

At x = 2: near 2, , so . Continuous.

Continuous at x = 0 and x = 2; not continuous at x = 1.

6
Find all points of discontinuity of f, where f(x) = 2x + 3, if x ≤ 2; f(x) = 2x – 3, if x > 2.
Solution

Both pieces are polynomials, so the only doubtful point is .

LHL ; RHL . LHL ≠ RHL.

Discontinuous only at x = 2.

7
Find all points of discontinuity of f, where f(x) = |x| + 3, if x ≤ –3; f(x) = –2x, if –3 < x < 3; f(x) = 6x + 2, if x ≥ 3.
Solution

At x = −3: ; LHL ; RHL . Continuous.

At x = 3: LHL ; RHL . Not equal.

All other points lie inside one polynomial piece, so f is continuous there.

Discontinuous only at x = 3.

8
Find all points of discontinuity of f, where , if x ≠ 0; f(x) = 0, if x = 0.
Solution

For , ; for , . At : LHL , RHL , unequal.

Discontinuous only at x = 0.

9
Find all points of discontinuity of f, where , if x < 0; f(x) = –1, if x ≥ 0.
Solution

For , . So for every real x: a constant function, which is continuous everywhere.

No point of discontinuity.

10
Find all points of discontinuity of f, where f(x) = x + 1, if x ≥ 1; f(x) = x² + 1, if x < 1.
Solution

At : LHL , RHL . Equal, so continuous; elsewhere f is a polynomial.

No point of discontinuity.

11
Find all points of discontinuity of f, where f(x) = x³ – 3, if x ≤ 2; f(x) = x² + 1, if x > 2.
Solution

At : LHL , RHL . Continuous; elsewhere polynomial.

No point of discontinuity.

12
Find all points of discontinuity of f, where f(x) = x¹⁰ – 1, if x ≤ 1; f(x) = x², if x > 1.
Solution

At : LHL , RHL . Unequal.

Discontinuous only at x = 1.

13
Is the function defined by f(x) = x + 5, if x ≤ 1; f(x) = x – 5, if x > 1 a continuous function?
Solution

At : LHL , RHL . Unequal, so f is discontinuous at (and continuous everywhere else).

No; f is not continuous at x = 1.

14
Discuss the continuity of the function f, where f(x) = 3, if 0 ≤ x ≤ 1; f(x) = 4, if 1 < x < 3; f(x) = 5, if 3 ≤ x ≤ 10.
Solution

At x = 1: LHL , RHL . Discontinuous.

At x = 3: LHL , RHL . Discontinuous.

At all other points of , f is constant nearby, hence continuous.

Discontinuous at x = 1 and x = 3 only.

15
Discuss the continuity of the function f, where f(x) = 2x, if x < 0; f(x) = 0, if 0 ≤ x ≤ 1; f(x) = 4x, if x > 1.
Solution

At x = 0: LHL , , RHL . Continuous.

At x = 1: LHL , RHL . Discontinuous.

x = 1 is the only point of discontinuity.

16
Discuss the continuity of the function f, where f(x) = –2, if x ≤ –1; f(x) = 2x, if –1 < x ≤ 1; f(x) = 2, if x > 1.
Solution

At x = −1: LHL , RHL . Continuous.

At x = 1: LHL , RHL . Continuous.

f is continuous everywhere.

17
Find the relationship between a and b so that the function f defined by f(x) = ax + 1, if x ≤ 3; f(x) = bx + 3, if x > 3 is continuous at x = 3.
Solution

Need LHL = RHL = f(3): .

18
For what value of λ is the function defined by f(x) = λ(x² – 2x), if x ≤ 0; f(x) = 4x + 1, if x > 0 continuous at x = 0? What about continuity at x = 1?
Solution

At : LHL ; RHL . These are never equal, whatever λ is. So f is discontinuous at 0 for every λ.

At : near 1, , so . Continuous for every λ.

No value of λ makes f continuous at 0; f is continuous at x = 1 for every λ.

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

Let n be an integer. .

LHL: for , , so .

RHL: for , , so .

LHL ≠ RHL, so g is discontinuous at every integer.

LHL = 1, RHL = 0 at each integer, so g is discontinuous there.

20
Is the function defined by f (x) = x² – sin x + 5 continuous at x = π?
Solution

, and . Equal.

Yes, f is continuous at x = π.

21
Discuss the continuity of the following functions: (a) f (x) = sin x + cos x (b) f (x) = sin x – cos x (c) f (x) = sin x . cos x
Solution

sin x and cos x are continuous for all real x. The sum, difference and product of continuous functions are continuous.

(a), (b), (c) are all continuous everywhere.

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

cos x: for any c, . Continuous for all real x.

cosec x = 1/sin x: a quotient of continuous functions, continuous wherever , i.e. except .

sec x = 1/cos x: continuous except where , i.e. .

cot x = cos x/sin x: continuous except .

cos: everywhere; cosec, cot: except x = nπ; sec: except x = (2n + 1)π/2 (n ∈ Z).

23
Find all points of discontinuity of f, where , if x < 0; f(x) = x + 1, if x ≥ 0.
Solution

At : LHL ; RHL . Continuous. Elsewhere each piece is continuous.

No point of discontinuity.

24
Determine if f defined by , if x ≠ 0; f(x) = 0, if x = 0 is a continuous function?
Solution

For f is a product of continuous functions. At : . Both bounds → 0, so the limit is 0 .

Yes, f is continuous for all real x.

25
Examine the continuity of f, where f(x) = sin x – cos x, if x ≠ 0; f(x) = –1, if x = 0.
Solution

At : . Elsewhere continuous.

f is continuous for all real x.

26
Find the value of k so that , if x ≠ π/2; f(x) = 3, if x = π/2 is continuous at x = π/2.
Solution

Put : , .

.

k = 6

27
Find the value of k so that f(x) = kx², if x ≤ 2; f(x) = 3, if x > 2 is continuous at x = 2.
Solution

LHL , RHL . So .

28
Find the value of k so that f(x) = kx + 1, if x ≤ π; f(x) = cos x, if x > π is continuous at x = π.
Solution

.

29
Find the value of k so that f(x) = kx + 1, if x ≤ 5; f(x) = 3x – 5, if x > 5 is continuous at x = 5.
Solution

.

30
Find the values of a and b such that the function defined by f(x) = 5, if x ≤ 2; f(x) = ax + b, if 2 < x < 10; f(x) = 21, if x ≥ 10 is a continuous function.
Solution

At : . At : .

Subtracting: , then .

a = 2, b = 1

31
Show that the function defined by f (x) = cos (x²) is a continuous function.
Solution

with (polynomial) and , both continuous everywhere. A composite of continuous functions is continuous.

cos(x²) = (cos ∘ x²) is a composite of continuous functions, hence continuous.

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

with and , both continuous. So f is continuous.

Composite of continuous functions, hence continuous.

33
Examine that sin | x | is a continuous function.
Solution

with and , both continuous. So is continuous.

Continuous everywhere.

34
Find all the points of discontinuity of f defined by f (x) = | x | – | x + 1 |.
Solution

and are both continuous everywhere, so their difference is continuous everywhere.

(Piecewise: for , for , for ; checking : both sides give 1; : both sides give −1.)

There is no point of discontinuity.

Exercise 5.2

1
Differentiate sin (x² + 5) with respect to x.
Solution

2
Differentiate cos (sin x) with respect to x.
Solution

3
Differentiate sin (ax + b) with respect to x.
Solution

4
Differentiate with respect to x.
Solution

5
Differentiate with respect to x.
Solution

Quotient rule:

6
Differentiate cos x³ . sin² (x⁵) with respect to x.
Solution

Product rule:

7
Differentiate with respect to x.
Solution

Simplify: .

8
Differentiate with respect to x.
Solution

9
Prove that the function f given by f (x) = | x – 1 |, x ∈ R is not differentiable at x = 1.
Solution

LHD ≠ RHD, so f is not differentiable at .

LHD = −1, RHD = 1, so not differentiable at x = 1.

10
Prove that the greatest integer function defined by f (x) = [x], 0 < x < 3 is not differentiable at x = 1 and x = 2.
Solution

At x = 1: .

, which is not finite (→ +∞).

.

They are not equal, so f is not differentiable at 1.

At x = 2: similarly LHD does not exist, RHD . Not differentiable at 2.

One-sided derivatives differ at x = 1 and x = 2, so [x] is not differentiable there.

Exercise 5.3

1
Find dy/dx: 2x + 3y = sin x
Solution

2
Find dy/dx: 2x + 3y = sin y
Solution

.

3
Find dy/dx: ax + by² = cos y
Solution

.

4
Find dy/dx: xy + y² = tan x + y
Solution

.

5
Find dy/dx: x² + xy + y² = 100
Solution

.

6
Find dy/dx: x³ + x²y + xy² + y³ = 81
Solution

7
Find dy/dx: sin² y + cos xy = κ
Solution

8
Find dy/dx: sin² x + cos² y = 1
Solution

.

9
Find dy/dx:
Solution

Put (for , ): , so .

10
Find dy/dx: ,
Solution

Put , : and , so .

11
Find dy/dx: , 0 < x < 1
Solution

Put , : with . So .

12
Find dy/dx: , 0 < x < 1
Solution

, so by Q11, .

13
Find dy/dx: , –1 < x < 1
Solution

(by Q9).

14
Find dy/dx: ,
Solution

Put , : with . So .

15
Find dy/dx: ,
Solution

. Put , : with . So .

Exercise 5.4

1
Differentiate w.r.t. x:
Solution

, x ≠ nπ

2
Differentiate w.r.t. x:
Solution

, x ∈ (−1, 1)

3
Differentiate w.r.t. x:
Solution

4
Differentiate w.r.t. x: sin (tan⁻¹ e⁻ˣ)
Solution

5
Differentiate w.r.t. x: log (cos eˣ)
Solution

,

6
Differentiate w.r.t. x:
Solution

Differentiate each term by the chain rule: .

7
Differentiate w.r.t. x: , x > 0
Solution

8
Differentiate w.r.t. x: log (log x), x > 1
Solution

9
Differentiate w.r.t. x: , x > 0
Solution

10
Differentiate w.r.t. x: cos (log x + eˣ), x > 0
Solution

Exercise 5.5

1
Differentiate w.r.t. x: cos x . cos 2x . cos 3x
Solution

2
Differentiate w.r.t. x:
Solution

3
Differentiate w.r.t. x: (log x)^cos x
Solution

4
Differentiate w.r.t. x: xˣ – 2^sin x
Solution

Let : .

.

5
Differentiate w.r.t. x: (x + 3)² . (x + 4)³ . (x + 5)⁴
Solution

Numerator .

6
Differentiate w.r.t. x:
Solution

Let : ,

.

Let : ,

.

7
Differentiate w.r.t. x: (log x)ˣ + x^log x
Solution

: , .

: , .

8
Differentiate w.r.t. x: (sin x)ˣ + sin⁻¹ √x
Solution

: , .

.

9
Differentiate w.r.t. x: x^sin x + (sin x)^cos x
Solution

: , .

: , .

10
Differentiate w.r.t. x:
Solution

: ,

.

.

11
Differentiate w.r.t. x:
Solution

: ,

.

: ,

.

12
Find dy/dx: xʸ + yˣ = 1
Solution

and .

Sum : .

13
Find dy/dx: yˣ = xʸ
Solution

. Differentiate: .

14
Find dy/dx: (cos x)ʸ = (cos y)ˣ
Solution

. Differentiate:

15
Find dy/dx: xy = e^(x – y)
Solution

. Differentiate: .

16
Find the derivative of the function given by f (x) = (1 + x) (1 + x²) (1 + x⁴) (1 + x⁸) and hence find f ′(1).
Solution

.

17
Differentiate (x² – 5x + 8) (x³ + 7x + 9) in three ways: (i) by using product rule (ii) by expanding the product to obtain a single polynomial (iii) by logarithmic differentiation. Do they all give the same answer?
Solution

(i) Product rule:

.

(ii) Expanding: , so .

(iii) Log: ; multiplying by y gives exactly the expression in (i), .

Yes, all three give .

18
If u, v and w are functions of x, then show that in two ways — first by repeated application of product rule, second by logarithmic differentiation.
Solution

Product rule twice: .

Logarithmic: , so . Multiply by : .

Both methods give .

Exercise 5.6

1
Find dy/dx: x = 2at², y = at⁴
Solution

, , so .

2
Find dy/dx: x = a cos θ, y = b cos θ
Solution

3
Find dy/dx: x = sin t, y = cos 2t
Solution

4
Find dy/dx: x = 4t, y = 4/t
Solution

,

5
Find dy/dx: x = cos θ – cos 2θ, y = sin θ – sin 2θ
Solution

,

6
Find dy/dx: x = a (θ – sin θ), y = a (1 + cos θ)
Solution

7
Find dy/dx: ,
Solution

Using the quotient rule (the common factor cancels in the ratio):

8
Find dy/dx: , y = a sin t
Solution

; .

9
Find dy/dx: x = a sec θ, y = b tan θ
Solution

10
Find dy/dx: x = a (cos θ + θ sin θ), y = a (sin θ – θ cos θ)
Solution

; .

11
If , , show that .
Solution

, a constant. Differentiating w.r.t. x: .

Exercise 5.7

1
Find the second order derivative: x² + 3x + 2
Solution

, .

2

2
Find the second order derivative: x²⁰
Solution

, .

3
Find the second order derivative: x . cos x
Solution

, .

4
Find the second order derivative: log x
Solution

, .

5
Find the second order derivative: x³ log x
Solution

, .

6
Find the second order derivative: eˣ sin 5x
Solution

7
Find the second order derivative: e⁶ˣ cos 3x
Solution

8
Find the second order derivative: tan⁻¹ x
Solution

, .

9
Find the second order derivative: log (log x)
Solution

, .

10
Find the second order derivative: sin (log x)
Solution

, .

11
If y = 5 cos x – 3 sin x, prove that .
Solution

, .

, so .

12
If y = cos⁻¹ x, find in terms of y alone.
Solution

. .

.

13
If y = 3 cos (log x) + 4 sin (log x), show that x² y₂ + xy₁ + y = 0
Solution

, so .

Differentiate: .

Multiply by x: .

14
If y = Ae^mx + Be^nx, show that
Solution

, .

.

Shown: the expression equals 0.

15
If y = 500e^7x + 600e^–7x, show that
Solution

, .

16
If eʸ (x + 1) = 1, show that
Solution

.

, .

17
If y = (tan⁻¹ x)², show that (x² + 1)² y₂ + 2x (x² + 1) y₁ = 2
Solution

.

Differentiate: . Multiply by .

Miscellaneous Exercise on Chapter 5

1
Differentiate w.r.t. x: (3x² – 9x + 5)⁹
Solution

2
Differentiate w.r.t. x: sin³ x + cos⁶ x
Solution

3
Differentiate w.r.t. x:
Solution

4
Differentiate w.r.t. x: , 0 ≤ x ≤ 1
Solution

: .

5
Differentiate w.r.t. x: , –2 < x < 2
Solution

.

; .

6
Differentiate w.r.t. x: ,
Solution

For : and (as ).

The fraction , so .

7
Differentiate w.r.t. x: (log x)^log x, x > 1
Solution

8
Differentiate w.r.t. x: cos (a cos x + b sin x), for some constant a and b.
Solution

9
Differentiate w.r.t. x: (sin x – cos x)^(sin x – cos x), π/4 < x < 3π/4
Solution

Let (> 0 here). , so , with .

10
Differentiate w.r.t. x: xˣ + xᵃ + aˣ + aᵃ, for some fixed a > 0 and x > 0
Solution

, , , (constant).

11
Differentiate w.r.t. x: , for x > 3
Solution

: , .

: , .

12
Find dy/dx, if y = 12 (1 – cos t), x = 10 (t – sin t), –π/2 < t < π/2
Solution

, .

13
Find dy/dx, if , 0 < x < 1
Solution

For , put , : .

So , a constant.

14
If , for –1 < x < 1, prove that
Solution

. Squaring:

.

does not satisfy the original equation (it gives only at ), so .

15
If (x – a)² + (y – b)² = c², for some c > 0, prove that is a constant independent of a and b.
Solution

Put , .

, , so .

.

.

The expression equals −c, a constant independent of a and b.

16
If cos y = x cos (a + y), with cos a ≠ ± 1, prove that .
Solution

. Differentiate w.r.t. y:

17
If x = a (cos t + t sin t) and y = a (sin t – t cos t), find .
Solution

, , so .

.

,

18
If f (x) = | x |³, show that f ″(x) exists for all real x and find it.
Solution

for and for .

(), (); at 0, , so . Thus .

(), (); at 0, . So exists everywhere.

, i.e. 6x for x ≥ 0 and −6x for x < 0.

19
Using the fact that sin (A + B) = sin A cos B + cos A sin B and the differentiation, obtain the sum formula for cosines.
Solution

Take (variable) and B constant: .

Differentiate w.r.t. x: .

20
Does there exist a function which is continuous everywhere but not differentiable at exactly two points? Justify your answer.
Solution

Yes. is continuous everywhere (sum of continuous functions). At : LHD , RHD ; at : LHD , RHD . Everywhere else it is linear, hence differentiable.

Yes, e.g. f(x) = |x − 1| + |x − 2| (not differentiable only at x = 1, 2).

21
If , prove that
Solution

Expanding along : .

The brackets are constants, so , which is the expansion of the determinant with first row .

Proved.

22
If , –1 ≤ x ≤ 1, show that .
Solution

.

Differentiate: .

Multiply by : .

Cover of Complete Maths Notes for Class 12 (NCERT 2026-27, CBSE Board 2027)
Done with the answers?Now revise the whole chapter: Class 12 Mathematics notes
  • For NCERT Mathematics Class 12 Part I and Part II (2026-27 edition) - all 13 chapters, CBSE board 2027
  • Typed concept notes with every formula, theorem and method, with worked examples
  • NCERT exercise questions solved step by step
₹199₹24920% off · all 13 chapters · instant PDF
Read free sample

What is inside the Chapter 5 notes →

Board exam? Add the Class 12 Mathematics PYQ book (603 solved board questions) · ₹99

Found a mistake or need help with a question? Message us on WhatsApp. Free study tips and new solutions: join our WhatsApp Channel.