My Cart
Your Cart 0

    Your cart is empty.

  • Total (Amount) ₹0.00
NCERT · Class 12 · Maths · 2025-26

Chapter 5: Continuity and Differentiability

Practice each question, then open the answer or worked solution.

EXERCISE 5.1

Textbook page 116 · 34 questions
Q21Written answer
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 \cdot \cos x\)
Show solutionHide solution
Worked solution

We use the fact that the sine and cosine functions are continuous on the whole real line \(\mathbb{R}\). Also, sums, differences and products of continuous functions are continuous wherever they are defined.

(a) Let \(f(x)=\sin x+\cos x\). Both \(\sin x\) and \(\cos x\) are continuous for every \(x\in\mathbb{R}\). The sum of two continuous functions is continuous, so \(f\) is continuous on \(\mathbb{R}\).

(b) Let \(f(x)=\sin x-\cos x\). Again \(\sin x\) and \(\cos x\) are continuous on \(\mathbb{R}\), and the difference of two continuous functions is continuous. Hence \(f\) is continuous on \(\mathbb{R}\).

(c) Let \(f(x)=\sin x\cdot\cos x\). The product of two continuous functions is continuous, so \(f\) is continuous on \(\mathbb{R}\). Equivalently, using the double-angle identity, \[f(x)=\frac{1}{2}\sin 2x,\] which is continuous on \(\mathbb{R}\) because \(\sin 2x\) is continuous.

Thus all three functions are continuous everywhere on \(\mathbb{R}\).

Q22Written answer
Discuss the continuity of the cosine, cosecant, secant and cotangent functions.
Show solutionHide solution
Worked solution

We discuss each function on its natural domain, i.e. the largest set of real numbers on which the formula is defined.

1. Cosine function

The cosine function is defined for every real number. Let \(a\in\mathbb{R}\). For any \(x\),

\[ |\cos x-\cos a|=\left|-2\sin\frac{x+a}{2}\sin\frac{x-a}{2}\right|\le 2\left|\sin\frac{x-a}{2}\right|\le |x-a|. \]

Hence \(\cos x\to\cos a\) as \(x\to a\). Therefore \(\cos x\) is continuous at every \(a\in\mathbb{R}\), so it is continuous on \(\mathbb{R}\).

2. Cosecant function

We have \(\operatorname{cosec}x=\dfrac{1}{\sin x}\), defined wherever \(\sin x\ne 0\), i.e. for \(x\ne n\pi\), \(n\in\mathbb{Z}\). The sine function is continuous on \(\mathbb{R}\), and the reciprocal of a continuous non-zero function is continuous. Thus \(\operatorname{cosec}x\) is continuous on

\[ \mathbb{R}\setminus\{n\pi:n\in\mathbb{Z}\}. \]

At the points \(x=n\pi\) the function is not defined, so continuity there is not considered.

3. Secant function

We have \(\sec x=\dfrac{1}{\cos x}\), defined wherever \(\cos x\ne 0\), i.e. for \(x\ne \dfrac{(2n+1)\pi}{2}\), \(n\in\mathbb{Z}\). Since \(\cos x\) is continuous and non-zero on this set, \(\sec x\) is continuous on

\[ \mathbb{R}\setminus\left\{\frac{(2n+1)\pi}{2}:n\in\mathbb{Z}\right\}. \]

At the excluded points the function is undefined.

4. Cotangent function

We have \(\cot x=\dfrac{\cos x}{\sin x}\), defined wherever \(\sin x\ne 0\), i.e. for \(x\ne n\pi\), \(n\in\mathbb{Z}\). Both \(\cos x\) and \(\sin x\) are continuous, and the denominator is non-zero on this set, so the quotient is continuous. Hence \(\cot x\) is continuous on

\[ \mathbb{R}\setminus\{n\pi:n\in\mathbb{Z}\}. \]

At \(x=n\pi\) the function is undefined.

Conclusion. The cosine function is continuous on \(\mathbb{R}\). The cosecant and cotangent functions are continuous on \(\mathbb{R}\setminus\{n\pi:n\in\mathbb{Z}\}\), and the secant function is continuous on \(\mathbb{R}\setminus\left\{\frac{(2n+1)\pi}{2}:n\in\mathbb{Z}\right\}\). Each is discontinuous (indeed undefined) at the points excluded from its domain.

Q23Written answer
Find all points of discontinuity of \(f\), where \[f(x) = \begin{cases} \frac{\sin x}{x}, & \text{if } x < 0 \\ x + 1, & \text{if } x \geq 0 \end{cases}\]
Show solutionHide solution
Worked solution

We are given the piecewise function

\[f(x)=\begin{cases} \dfrac{\sin x}{x}, & x<0,\\\nx+1, & x\ge 0. \end{cases}\]

The only possible point of discontinuity is the point where the definition changes, namely \(x=0\). On \((-\infty,0)\), the function is \(\frac{\sin x}{x}\), which is continuous there; on \((0,\infty)\), it is \(x+1\), a polynomial, hence continuous. So we test continuity at \(x=0\).

Left-hand limit:

\[ \lim_{x\to 0^-} f(x)=\lim_{x\to 0^-}\frac{\sin x}{x}=1. \]

Right-hand limit:

\[ \lim_{x\to 0^+} f(x)=\lim_{x\to 0^+}(x+1)=1. \]

Thus the left-hand and right-hand limits both equal \(1\).

Value at \(x=0\): since the second line applies at \(x=0\),

\[ f(0)=0+1=1. \]

Therefore

\[ \lim_{x\to 0^-}f(x)=\lim_{x\to 0^+}f(x)=f(0)=1, \] so \(f\) is continuous at \(x=0\).

Since \(f\) is continuous at every other real number as well, it has no point of discontinuity.

Answer: \(f\) is continuous on \(\mathbb{R}\); there are no points of discontinuity.

Q24Written answer
Determine if \(f\) defined by \[f(x) = \begin{cases} x^2 \sin \frac{1}{x}, & \text{if } x \neq 0 \\ 0, & \text{if } x = 0 \end{cases}\] is a continuous function?
Show solutionHide solution
Worked solution

We are given

\[f(x)=\begin{cases} x^2\sin\dfrac1x, & x\neq 0,\\ 0, & x=0. \end{cases}\]

We must decide whether \(f\) is continuous. Since the two pieces agree at \(x=0\) by definition, the only possible point of discontinuity is \(x=0\). At every \(x\neq 0\), the function is a product and composition of continuous functions, so it is continuous there.

It remains to check continuity at \(0\). We need

\[\lim_{x\to 0} f(x)=f(0)=0.\]

For \(x\neq 0\),

\[|f(x)|=\left|x^2\sin\frac1x\right|=x^2\left|\sin\frac1x\right|.\]

Because \(\left|\sin\frac1x\right|\le 1\) for all \(x\neq 0\), we get

\[0\le |f(x)|\le x^2.\]

Now \(x^2\to 0\) as \(x\to 0\). By the squeeze theorem,

\[\lim_{x\to 0}|f(x)|=0,\]

hence

\[\lim_{x\to 0}f(x)=0=f(0).\]

Therefore \(f\) is continuous at \(0\). Since it is also continuous at every nonzero point, \(f\) is continuous on \(\mathbb R\).

Conclusion: Yes, the given function is continuous everywhere, in particular at \(x=0\).

Q25Written answer
Examine the continuity of \(f\), where \(f\) is defined by \[f(x)=\begin{cases}\sin x-\cos x, & \text{if } x\neq 0\\-1, & \text{if } x=0\end{cases}\]
Show solutionHide solution
Worked solution

We are given the piecewise function

\[f(x)=\begin{cases}\sin x-\cos x, & x\neq 0\\-1, & x=0\end{cases}\]

Continuity at \(x=0\) requires that the limit of \(f(x)\) as \(x\to 0\) equals the value \(f(0)\).

Step 1: Compute the limit. Since \(\sin x\) and \(\cos x\) are continuous everywhere,

\[\lim_{x\to 0}\bigl(\sin x-\cos x\bigr)=\sin 0-\cos 0=0-1=-1.\]

Thus the two one-sided limits are both \(-1\):

\[\lim_{x\to 0^-}f(x)=-1,\qquad \lim_{x\to 0^+}f(x)=-1.\]

Step 2: Compare with the function value. The definition gives

\[f(0)=-1.\]

Therefore

\[\lim_{x\to 0}f(x)=-1=f(0).\]

Conclusion. Since the limit exists and equals the value of the function at \(x=0\), \(f\) is continuous at \(x=0\). For every \(x\neq 0\), \(f(x)=\sin x-\cos x\), which is continuous as a difference of continuous functions. Hence \(f\) is continuous at all real numbers, i.e. continuous on \(\mathbb{R}\).

Q26Written answer

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

\(f(x)=\begin{cases}\dfrac{k\cos x}{\pi-2x}, & \text{if } x\neq \dfrac{\pi}{2}\\3, & \text{if } x=\dfrac{\pi}{2}\end{cases}\) at \(x=\dfrac{\pi}{2}\)
Show solutionHide solution
Worked solution

We are given

\[f(x)=\begin{cases}\dfrac{k\cos x}{\pi-2x}, & x\neq \dfrac{\pi}{2}\\ 3, & x=\dfrac{\pi}{2}\end{cases}\]

and we need the value of \(k\) for which \(f\) is continuous at \(x=\dfrac{\pi}{2}\).

Step 1: Continuity condition. For continuity at \(x=\dfrac{\pi}{2}\), we need

\[\lim_{x\to \frac{\pi}{2}} f(x)=f\!\left(\frac{\pi}{2}\right)=3.\]

Step 2: Evaluate the limit. For \(x\neq \dfrac{\pi}{2}\),

\[f(x)=\frac{k\cos x}{\pi-2x}.\]

Put \(t=x-\dfrac{\pi}{2}\), so \(t\to 0\) as \(x\to \dfrac{\pi}{2}\). Then

\[x=\frac{\pi}{2}+t,\qquad \cos x=\cos\!\left(\frac{\pi}{2}+t\right)=-\sin t,\]

and

\[\pi-2x=\pi-2\left(\frac{\pi}{2}+t\right)=-2t.\]

Hence

\[f(x)=\frac{k(-\sin t)}{-2t}=\frac{k}{2}\cdot\frac{\sin t}{t}.\]

Using the standard limit \(\displaystyle\lim_{t\to 0}\frac{\sin t}{t}=1\),

\[\lim_{x\to \frac{\pi}{2}} f(x)=\frac{k}{2}\cdot 1=\frac{k}{2}.\]

Step 3: Solve for \(k\). Continuity requires

\[\frac{k}{2}=3,\]

so

\[k=6.\]

Therefore, \(f\) is continuous at \(x=\dfrac{\pi}{2}\) when \(k=6\).

Q27Written answer

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

\(f(x)=\begin{cases}kx^2, & \text{if } x\leq 2\\3, & \text{if } x>2\end{cases}\) at \(x=2\)
Show solutionHide solution
Worked solution

We are given the piecewise function

\[f(x)=\begin{cases}kx^2, & \text{if } x\le 2\\3, & \text{if } x>2\end{cases}\]

and we must discuss continuity at \(x=2\).

Step 1: Value at the point. Since \(x=2\) falls in the first case \(x\le 2\),

\[f(2)=k(2)^2=4k.\]

Step 2: Left-hand limit. As \(x\to 2^-\), we have \(x\le 2\), so \(f(x)=kx^2\):

\[\lim_{x\to 2^-}f(x)=\lim_{x\to 2^-}kx^2=k(2)^2=4k.\]

Step 3: Right-hand limit. As \(x\to 2^+\), we have \(x>2\), so \(f(x)=3\):

\[\lim_{x\to 2^+}f(x)=\lim_{x\to 2^+}3=3.\]

Step 4: Continuity condition. The function is continuous at \(x=2\) exactly when the two one-sided limits exist, are equal, and equal the function value:

\[\lim_{x\to 2^-}f(x)=\lim_{x\to 2^+}f(x)=f(2).\]

This requires

\[4k=3.\]

Solving,

\[k=\frac{3}{4}.\]

Conclusion. The function is continuous at \(x=2\) if and only if

\[\boxed{k=\frac{3}{4}}.\]

For any other value of \(k\), the left-hand limit \(4k\) differs from the right-hand limit \(3\), so \(f\) has a jump discontinuity at \(x=2\).

Q28Written answer

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

\(f(x)=\begin{cases}kx+1, & \text{if } x\leq \pi\\\cos x, & \text{if } x>\pi\end{cases}\) at \(x=\pi\)
Show solutionHide solution
Worked solution

We are given

\[f(x)=\begin{cases}kx+1, & x\le \pi,\\\cos x, & x>\pi,\end{cases}\]

and we must discuss continuity at \(x=\pi\).

Step 1: Value at the point. Since \(x=\pi\) lies in the first piece,

\[f(\pi)=k\pi+1.\]

Step 2: Left-hand limit. As \(x\to\pi^-\), we use \(f(x)=kx+1\):

\[\lim_{x\to\pi^-}f(x)=\lim_{x\to\pi^-}(kx+1)=k\pi+1.\]

Step 3: Right-hand limit. As \(x\to\pi^+\), we use \(f(x)=\cos x\):

\[\lim_{x\to\pi^+}f(x)=\lim_{x\to\pi^+}\cos x=\cos\pi=-1.\]

Step 4: Continuity condition. The function is continuous at \(x=\pi\) exactly when the left-hand limit, right-hand limit and function value all agree:

\[k\pi+1=-1.\]

Solving,

\[k\pi=-2\quad\Longrightarrow\quad k=-\frac{2}{\pi}.\]

Conclusion. The function is continuous at \(x=\pi\) if and only if

\[\boxed{k=-\frac{2}{\pi}}.\]

For any other value of \(k\), the left-hand and right-hand limits differ, so \(f\) has a jump discontinuity at \(x=\pi\).

Q29Written answer

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

\(f(x)=\begin{cases}kx+1, & \text{if } x\leq 5\\3x-5, & \text{if } x>5\end{cases}\) at \(x=5\)
Show solutionHide solution
Worked solution

We are given the piecewise function

\[f(x)=\begin{cases}kx+1, & \text{if } x\le 5\\3x-5, & \text{if } x>5\end{cases}\]

and we want the value of \(k\) for which \(f\) is continuous at \(x=5\).

Step 1: Left-hand limit at \(x=5\).

For \(x\le 5\), the function is \(f(x)=kx+1\). Hence

\[\lim_{x\to 5^-}f(x)=\lim_{x\to 5^-}(kx+1)=5k+1.\]

Also, since the first formula applies at \(x=5\),

\[f(5)=5k+1.\]

Step 2: Right-hand limit at \(x=5\).

For \(x>5\), the function is \(f(x)=3x-5\). Hence

\[\lim_{x\to 5^+}f(x)=\lim_{x\to 5^+}(3x-5)=3(5)-5=15-5=10.\]

Step 3: Apply the continuity condition.

A function is continuous at \(x=5\) exactly when the left-hand limit, the right-hand limit, and the value of the function all agree:

\[\lim_{x\to 5^-}f(x)=\lim_{x\to 5^+}f(x)=f(5).\]

Therefore we need

\[5k+1=10.\]

Solving,

\[5k=10-1=9,\qquad k=\frac{9}{5}.\]

Check. With \(k=\frac95\),

\[5k+1=5\cdot\frac95+1=9+1=10,\]

which equals the right-hand limit \(10\). Thus \(f\) is continuous at \(x=5\).

Answer: \(k=\dfrac{9}{5}\).

Q30Written answer
Find the values of \(a\) and \(b\) such that the function defined by \[f(x)=\begin{cases}5, & \text{if } x\leq 2\\ax+b, & \text{if } 2<x<10\\21, & \text{if } x\geq 10\end{cases}\] is a continuous function.
Show solutionHide solution
Worked solution

For \(f\) to be continuous everywhere, it must be continuous at the two points where the definition changes, namely \(x=2\) and \(x=10\).

Continuity at \(x=2\). We need

\[ \lim_{x\to 2^-}f(x)=\lim_{x\to 2^+}f(x)=f(2). \] For \(x\le 2\), \(f(x)=5\), so \(f(2)=5\) and \(\lim_{x\to 2^-}f(x)=5\). For \(x>2\) (near \(2\)), \(f(x)=ax+b\), so \[ \lim_{x\to 2^+}f(x)=2a+b. \] Hence \[ 2a+b=5. \tag{1} \]

Continuity at \(x=10\). We need

\[ \lim_{x\to 10^-}f(x)=\lim_{x\to 10^+}f(x)=f(10). \] For \(x\ge 10\), \(f(x)=21\), so \(f(10)=21\) and \(\lim_{x\to 10^+}f(x)=21\). For \(x<10\) (near \(10\)), \(f(x)=ax+b\), so \[ \lim_{x\to 10^-}f(x)=10a+b. \] Hence \[ 10a+b=21. \tag{2} \]

Solving the system. Subtract (1) from (2):

\[ (10a+b)-(2a+b)=21-5 \;\Longrightarrow\; 8a=16 \;\Longrightarrow\; a=2. \] Substitute \(a=2\) into (1): \[ 2(2)+b=5 \;\Longrightarrow\; 4+b=5 \;\Longrightarrow\; b=1. \]

Check. With \(a=2,\ b=1\), the middle piece is \(2x+1\). At \(x=2\): \(2(2)+1=5\), matching the left value \(5\). At \(x=10\): \(2(10)+1=21\), matching the right value \(21\). Thus \(f\) is continuous at both junction points, and being a polynomial on each open interval, it is continuous everywhere.

Therefore,

\[ \boxed{a=2,\quad b=1}. \]