# NCERT Solutions for Class 12 Maths Chapter 5: Continuity and Differentiability

In this page we have NCERT Solutions for Class 12 Maths Chapter 5: Continuity and Differentiability for EXERCISE 5.1 . Hope you like them and do not forget to like , social share and comment at the end of the page.

Main Idea of the Exercise
A function is continuous at x = c if the function is defined at x = c and if the value of the function at x = c equals the limit of the function at x = c. If f is not continuous at c, we say f is discontinuous at c and c is called a point of discontinuity of f
Question 1
Prove that the function f(x) = 5x – 3 is continuous at x = 0, at x = – 3 and at x = 5.
Solution
At x=0
f (0) = 5(0) – 3=-3

Therefore, limit and f (0) are same. So, it is continuous
At x=-3
f(-3) = 5(-3) – 3=-18

Therefore, limit and f (-3) are same. So, it is continuous
At x=5
f(5) = 5(5) – 3=22

Therefore limit and f(5) are same. So, it is continuous
Question 2.
Examine the continuity of the function f(x) = 2x2 – 1 at x = 3.
Solution
At x=3
f(3) = 2x2 – 1 =2(9) – 1=17

Therefore limit and f(3) are same. So, it is continuous at x=3
Question 3.
Examine the following functions for continuity.
(a) f (x) = x – 5
(b) f (x) =1/(x-5) , x ≠5
(c) f (x) = (x2 -25)/ (x+5), x ≠-5
(d) f (x) = | x – 5|
Solution
a) f (x) = x – 5
The function is clearly defined at every point and f (c) =c-5 for every real number c.
Also,

Since

So, function is continuous at every real number
b) f (x) =1/(x-5)  , x ≠5
The function is clearly defined at every point except x=5 and f (c) =1/(c-5) for every real number c except c=5

Since

So, function is continuous at every real number in its domain
c) f (x) = (x2 -25)/ (x+5), x ≠-5
The function is clearly defined at every point except x=-5 and f (c) = (c2 -25)/ (c+5), for every real number c except c=-5

Since

So, function is continuous at every real number in its domain
d)  f (x) = | x – 5|
This function can re-written as
f(x) =
This function f is defined at all points of the real line.
For continuity in these type of question, we must look for the continuity at the common point and point outside the common point
Let c be a point on a real line. Then, c < 5 or c = 5 or c > 5
Case 1 c < 5
f (x) = 5 – x
f (c) = 5 – c

Since

Function is continuous at   c< 5
Case 2 c > 5
f (x) = x – 5
f (c) = c – 5

Since

Function is continuous at   c > 5
Case 3 c = 5
f (x) = x – 5
f (5) = 5 – 5=0

Since
Function is continuous at   c =5
Hence, f is continuous at every real number and therefore, it is a continuous function.
Question 4.
Prove that the function f (x) = xn is continuous at x = n, where n is a positive integer.
Solution
The given function is f (x) = xn
It is evident that f is defined at all positive integers, n, and its value at n is nn

Therefore, f is continuous at n, where n is a positive integer.
Question 5.
Is the function f defined by?

continuous at x = 0? At x = 1? At x = 2?
Solution
At x = 0,
f(0) = 0.

Therefore, f is continuous at x = 0
At x = 1,
f(1) = 1.
The left-hand limit of f at x = 1 is,

The right-hand limit of  f at x = 1 is,

Therefore, function is not continuous at x=1
At x = 2,
f(2) = 5.

Therefore, f is continuous at x = 2

### Find all points of discontinuity of f, where f is defined by

Question 6.

Solution
This function f is defined at all points of the real line.
For continuity in these type of question, we must look for the continuity at the common point and point outside the common point
Let c be a point on a real line. Then, c < 2 or c = 2 or c > 2
It can be easily proved for c < 2 and c> 2. We have seen that in lot of previous example
For c=2
f(2) =2(2)+3=7
The left-hand limit of f at x = 2 is,

The right-hand limit of f at x = 2 is,

It is observed that the left and right hand limit of f at x = 2 do not coincide.
Therefore, f is not continuous at x = 2
Hence, x = 2 is the only point of discontinuity of f.
Question 7.

Solution
For   x≤ -3
F(x) = |x| +3
Since x is negative in that, we can re-write this as
F(x) = 3-x
This function f is defined at all points of the real line.
For continuity in these type of question, we must look for the continuity at the common point and point outside the common point
Let c be a point on a real line. Then, c < -3 or c = -3 or -3 < c  < 3 or c=3 or c> 3
It can be easily proved for c < -3 , -3 <  c  < 3 And c> 3  We have seen that in lot of previous example, we will look at common points
For c=-3
f(-3) =3-(-3) =6
The left-hand limit of f at x = -3 is,

The right-hand limit of f at x = -3 is,

Therefore, f is continuous at x = -3
For c=3
f(3) =6(3)+2 =20
The left-hand limit of f at x = 3 is,

The right-hand limit of f at x = 3 is,

It is observed that the left and right hand limit of f at x = 3 do not coincide.
Therefore, f is not continuous at x = 3
Hence, x = 3 is the only point of discontinuity of f.
Question 8.

Solution
We know for x < 0 , |x|=-x  and x> 0, |x|=x, So this function can be written as

This function f is defined at all points of the real line.
For continuity in these type of question, we must look for the continuity at the common point and point outside the common point
Let c be a point on a real line. Then, c < 0 or c = 0 or  c> 0
It can be easily proved for c < 0 And c> 0  We have seen that in lot of previous example, we will look at common points
For c=0
F(0) =0
The left-hand limit of f at x = 0 is,

The right-hand limit of f at x = 0 is,

It is observed that the left and right hand limit of f at x = 0 do not coincide.
Therefore, f is not continuous at x = 0
Hence, x = 0 is the only point of discontinuity of f.
Question 9.

Solution
We know for x <  0 , |x|=-x  So this function can be written as
F(x) =-1 if x < 0
And
F(x) =-1 if x≥0
This function f is defined at all points of the real line.
For continuity in these type of question, we must look for the continuity at the common point and point outside the common point
Let c be a point on a real line. Then, c < 0 or c = 0 or  c> 0
It can be easily proved for c < 0 And c> 0 . We have seen that in lot of previous example, we will look at common points
For c=0
F(0) =0
The left-hand limit of f at x = 0 is,

The right-hand limit of f at x = 0 is,

Therefore, f is continuous at x = 0
Hence, there is no point of discontinuity of  f.
Question 10.

Solution
This function f is defined at all points of the real line.
For continuity in these type of question, we must look for the continuity at the common point and point outside the common point
Let c be a point on a real line. Then, c < 1 or c = 1 or c> 1
It can be easily proved for c < 1 And c> 1 .We have seen that in lot of previous example, we will look at common points
For c=1
f(1) =1+1=2
The left-hand limit of f at x = 1 is,

The right-hand limit of f at x = 1 is,

Therefore, f is continuous at x = 1
Hence, there is no point of discontinuity of f.
Question 11.

Solution
This function f is defined at all points of the real line.
For continuity in these type of question, we must look for the continuity at the common point and point outside the common point
Let c be a point on a real line. Then, c < 2 or c = 2 or  c> 2
It can be easily proved for c < 2 And c> 2  .We have seen that in lot of previous example, we will look at common points
For c=2
f(1) =x3 -3 =8-3=5
The left-hand limit of f at x = 2 is,

The right-hand limit of f at x = 2 is,

Therefore, f is continuous at x = 2
Hence, there is no point of discontinuity of f.
Question 12.

Solution
This function f is defined at all points of the real line.
For continuity in these type of question, we must look for the continuity at the common point and point outside the common point
Let c be a point on a real line. Then, c < 1 or c = 1 or  c> 1
It can be easily proved for c < 1 And c> 1 . We have seen that in lot of previous example, we will look at common points
For c=1
F(1) =x10 -1 =0
The left-hand limit of f at x = 1 is,

The right-hand limit of f at x = 1 is,

Therefore, f is discontinuous at x = 1
Hence, x = 1 is the only point of discontinuity of f.
Question 13. Is the function defined by

a continuous function?
Solution
This function f is defined at all points of the real line.
For continuity in these type of question, we must look for the continuity at the common point and point outside the common point
Let c be a point on a real line. Then, c < 1 or c = 1 or   c> 1
It can be easily proved for c < 1 And c> 1.  We have seen that in lot of previous example, we will look at common points
For c=1
f(1) =x+5 =6
The left-hand limit of f at x = 1 is,

The right-hand limit of f at x = 1 is,

Therefore, f is discontinuous at x = 1
Hence, x = 1 is the only point of discontinuity of f.

### Discuss the continuity of the function f, where f is defined by

Question 14.

Solution
The given function is defined at all points of the interval [0,10].
For continuity in these type of question, we must look for the continuity at the common point and point outside the common point
Let c be a point on a real line. Then, 0 ≤ c < 1 or c = 1 or   1<c < 3 or c=3 or  3 <c < 10
It can be easily proved for 0 ≤ c < 1   ,  1< c < 3 , 3 <c < 10  We have seen that in lot of previous example, we will look at common points
For c=1
f(1) = 3
The left-hand limit of   f at x = 1 is,

The right-hand limit of  f at x = 1 is,

Therefore, f is discontinuous at x = 1
For c=3
f(3)= 5
The left-hand limit of  f at x = 3 is,

The right-hand limit of  f at x = 3 is,

Therefore, f is discontinuous at x = 3
Hence, f is not continuous at x = 1 and x = 3
Question 15.

Solution
This can be solved similarly above
Answer is f is not continuous only at x = 1

Question 16.

Solution
This can be solved similarly above
Answer is f is continuous at all the points
Question 17.
Find the relationship between a and b so that the function f defined by

is continuous at x = 3.
Solution
When the function is continuous at any point, it Left-hand limit, right-hand limit and function value are equal

F(3) =3a+1

So
3a+1= 3a+1= 3b+3
Or a =b + (2/3)
Question 18.
For what value of λ is the function defined by

continuous at x = 0? What about continuity at x = 1?
Solution
If f is continuous at x=0, then

f(0) =0

Since Left hand limit is not equal to right hand limit, Therefore, there is no value of λ for which the function f is continuous at x=0.
At x=1,
f(1)=4x+1=4×1+1=5

Therefore, for any values of λ, f is continuous at x=1.
Question 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
This function g is defined at all integral points
Let n be an integer.
Then,
g(n)=n−[n]=n−n=0
Then left hand limit of f at x=n is

Then right hand limit of f at x=n is,

So, Left hand limit and Right hand limit are not equal
Therefore, f is not continuous at x=n
Hence, g is discontinuous at all integral points.
Question 20.
Is the function defined by f(x) = x2 – sin x + 5 continuous at x = π?
Solution
At x=π, f(x)=f(π)= π2−sinπ+5=π2 −0+5=π2+5
Consider

Put x=π+h
If x→π, then it is evident that h→0

2+5
So, function is continuous at x = π
Question 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
It is known that if g and h are two continuous functions, then g+ h , g − h ,g.h are also continuous functions
.So, It has to prove first that g (x) = sin x and h (x) = cos x are continuous functions.
Let g (x) = sin x
It is evident that g (x) = sin x is defined for every real number.
g(c) =sin(c)
Let c be a real number. Put x = c + h
If x → c, then h → 0

So, g(x) is continuous function
Now
Let h (x) = cos x
It is evident that h (x) = cos x is defined for every real number.
h(c) =cos(c)
Let c be a real number. Put x = c + h
If x → c, then h → 0

So, h(x) is a continuous function
Therefore, it can be concluded that
(a) f (x) = g (x) + h (x) = sin x + cos x is a continuous function
(b) f (x) = g (x) − h (x) = sin x − cos x is a continuous function
(c) f (x) = g (x) × h (x) = sin x × cos x is a continuous function
Question 22. Discuss the continuity of the cosine, cosecant, secant and cotangent functions.
Solution
Now these functions can be rewritten as
Cosec (x)   = 1/ sin (x)   sin(x) ≠0
Sec (x) = 1/cos (x)       cos (x) ≠0
Cot(x) = cos(x)/sin(x) sin(x) ≠0
It is known to us that if g and h are two continuous functions, then

Comparing to this, we have h(x) = cos (x) and g(x) =sin(x)
We have already proved the previous question about continuity of these function
So, we can say that
Cosec (x) is continuous at all the point except where sin(x) ≠0
i.e x ≠nπ where n ∈ Z
sec (x) is continuous at all the point except where cos(x) ≠0
i.e x ≠(2n+1)π/2    where n ∈ Z
Cot(x) is continuous at all the point except where sin(x) ≠0
i.e x ≠nπ where n ∈ Z
Question 23.
Find all points of discontinuity of f, where

Solution
This function f is defined at all points of the real line.
For continuity in these type of question, we should look for the continuity at the common point and point outside the common point
Let c be a point on a real line. Then, c < 0 or c = 0 or  c> 0
It can be easily proved for c < 0 And c> 0. We have seen that in lot of previous example, we will look at common points
At c=0
f(0) = 0+1=1
The left-hand limit of f at x = 0 is,

The right-hand limit of f at x = 0 is,

Therefore, f is continuous at x = 1
Hence, There is no point of discontinuity of f.
Question 24.
Determine if f defined by

is a continuous function?
Solution
This function f is defined at all points of the real line.
For continuity in these type of question, we must look for the continuity at the common point and point outside the common point
Let c be a point on a real line. Then, c < 0 or c = 0 or   c> 0
It can be easily proved for c < 0 And c> 0. We have seen that in lot of previous example, we will look at common points
At c=0
f(0) = 0
The left-hand limit of f at x = 0 is,

Now we know that, for x≠0

Multiplying by x2
(No change in direction as + is multiplied)

Or

So

Similarly   The right-hand limit of f at x = 0 can be proved

Therefore, f is continuous at x = 0
Hence, There is no point of discontinuity of f.
Question 25.
Examine the continuity of f, where f is defined by

Solution
This function f is defined at all points of the real line.
For continuity in these type of question, we must look for the continuity at the common point and point outside the common point
Let c be a point on a real line. Then, c < 0 or c = 0 or   c> 0
It can be easily proved for c < 0 And c> 0. We have seen that in lot of previous example, we will look at common points
At c=0
f(0)=-1
The left-hand limit of f at x = 0 is,

The right-hand limit of f at x = 0 is,

Therefore, f is continuous at x = 0
From the above observations, it can be concluded that f is continuous at every point of the real line.
Thus, f is a continuous function.

### Find the values of k so that the function f is continuous at the indicated point in Exercises 26 to 29.

Question 26.

Solution
For the function to be continuous at x=π/2, we have

F(π/2) =3

Let x = π/2 + h
When x → π/2, then h → 0

Now k/2=3
K=6
Question 27.

Solution
For the function to be continuous at x=2, we have

F(2) =4k
The left-hand limit of f at x = 2 is,

The right-hand limit of f at x = 2 is,

Now
4k=4k=3
Or
K=3/4
Question 28.

Solution
For the function to be continuous at x=π, we have

F(π) =k π+1
The left-hand limit of f at x = π is,

The right-hand limit of f at x = π  is,

Now
k π+1=-1
k=-2/ π
Question 29.

Solution
For the function to be continuous at x=5, we have

F(5) =5k+1
The left-hand limit of f at x = 5 is,

The right-hand limit of f at x = 5  is,

Now
5k+1=10
k=9/5
Question 30.
Find the values of a and b such that the function defined by

is a continuous function.
Solution
The function is defined for all the real values and it is given as continuous
It is also continuous at x=2 and x=10
Let’s check the continuity at those values
At x=2
f(2)=5
The left-hand limit of f at x = 2 is,

The right-hand limit of f at x = 2  is,

Now
2a+b=5  -(P)
At x=10
F(10)=21
The left-hand limit of f at x = 10 is,

The right-hand limit of f at x = 10 is,

Now
10a+b=21 --(Q)
From (p) and (q)
a=2 and b=1
Question 31.
Show that the function defined by f (x) = cos (x2) is a continuous function.
Solution
This function f is defined for every real number and f can be written as the composition of two functions, as,
f = g o h, where g (x) = cos x and h (x) = x2
Because g o h =g[h(x)] =cos (x2)
Now It is known that for real valued functions g and h, such that (g o h) is defined at c, if g is
continuous at c and if f is continuous at g (c), then (f o g) is continuous at c.
So, we just need to prove that g(x) =cos(x) and h(x) =x2 are continuous function
First let us prove for g(x)=cos (x)
It is evident that g (x) = cos x is defined for every real number.
g(c) =cos(c)
Let c be a real number. Put x = c + h
If x → c, then h → 0

So, g(x) is continuous
Now h (x) = x2
It is evident that h (x) = x2 is defined for every real number.
h(c) =c2

So, h(x) is continuous
Since both g(x) and h(x) are continuous. F(x) is continuous function

Question 32.
Show that the function defined by f(x) = | cos x | is a continuous function.
Solution
This function f is defined for every real number and f can be written as the composition
of two functions, as,
f = g o h, where g (x) = |x| and h (x) = cos x
Because g o h =g[h(x)] =| cos x |
Now It is known that for real valued functions g and h, such that (g o h) is defined at c, if g is
continuous at c and if f is continuous at g (c), then (f o g) is continuous at c.
So, we just need to prove that g(x) =|x| and h(x) =cos(x) are continuous function
First let us prove for g(x)=|x|
It can be re-written as
g(x) = -x   for x < 0
=+x for x ≥0
It is evident that g (x) is defined for every real number.
For c < 0
g(c) =-c

So, it is continuous
For c = 0
g(c) =0

So, it is continuous
For c > 0
g(c) =c

So, it is continuous
let us prove for h(x)=cos (x)
It is evident that h (x) = cos x is defined for every real number.
h(c) =cos(c)
Let c be a real number. Put x = c + h
If x → c, then h → 0

Since both g(x) and h(x) are continuous. F(x) is continuous function
Question 33.
Examine that sin | x | is a continuous function.
Solution
This function f is defined for every real number and f can be written as the composition
of two functions, as,
f = g o h, where g (x) = sin(x) and h (x) = |x|
Because g o h =g[h(x)] = sin | x |
Now It is known that for real valued functions g and h, such that (g o h) is defined at c, if g is
continuous at c and if f is continuous at g (c), then (f o g) is continuous at c.
So, we just need to prove that g(x) =sin (x) and h(x) =|x| are continuous function
Let g (x) = sin x
It is evident that g (x) = sin x is defined for every real number.
g(c) =sin(c)
Let c be a real number. Put x = c + h
If x → c, then h → 0

So, g(x) is continuous function
Now let us prove for h(x)=|x|
It can be re-written as
h(x) = -x   for x < 0
=+x for x ≥0
It is evident that h (x) is defined for every real number.
For c < 0
h(c) =-c

So, it is continuous
For c = 0
h(c) =0

So, it is continuous
For c > 0
h(c) =c

So, it is continuous
So h(x) is continous
Since both g(x) and h(x) are continuous. F(x) is continuous function
Question 34.
Find all the points of discontinuity of f defined by f (x) = | x | – |x + 1|.
Solution
The two functions, g and h, are defined as
g(x) =|x|
h(x) =|x+1|
Then, f = g – h
It is known that if g and h are two continuous functions, then g + h,g − h,g.h are also continuous functions.
So, we just need to prove that g(x) and h(x) is continuous
The continuity of g and h is examined first.
First let us prove for g(x)=|x|
It can be re-written as
g(x) = -x   for x < 0
=+x for x ≥0
It is evident that g (x)  is defined for every real number.
For c < 0
g(c) =-c

So, it is continuous
For c = 0
g(c) =0

So, it is continuous
For c > 0
g(c) =c

So, it is continuous
Now let us look
h(x)= |x+1|
It can be re-written as
h(x) = -(x+1)   for x < -1
=x+1 for x ≥-1
It is evident that h (x) is defined for every real number.
For c < -1
h(c) =-(c+1)

So, it is continuous
For c = -1
h(-1) =0

So it is continuous
For c > -1
h(c) =c+1

So, it is continuous
So, both g(x) and h(x) are continuous
Therefore, f = g − h is also a continuous function.
Therefore, f has no point of discontinuity.