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
Q31Written answer
Show that the function defined by \(f(x)=\cos (x^2)\) is a continuous function.
Show solutionHide solution
Worked solution

We must show that \(f(x)=\cos(x^2)\) is continuous at every real number.

Recall the standard result: if \(g\) is continuous at \(a\) and \(h\) is continuous at \(g(a)\), then the composite function \(h\circ g\) is continuous at \(a\).

Write \(f\) as a composition. Let

\[g(x)=x^2,\qquad h(u)=\cos u,\]

so that

\[f(x)=h(g(x))=\cos(x^2).\]

Step 1: Continuity of \(g(x)=x^2\). The identity function \(x\mapsto x\) is continuous on \(\mathbb{R}\), and the product of continuous functions is continuous. Hence \(g(x)=x\cdot x\) is continuous at every \(a\in\mathbb{R}\). Equivalently,

\[\lim_{x\to a} x^2=a^2=g(a).\]

Step 2: Continuity of \(h(u)=\cos u\). The cosine function is continuous on \(\mathbb{R}\), so for every real \(u_0\),

\[\lim_{u\to u_0}\cos u=\cos u_0.\]

Step 3: Apply the composition rule. Fix any \(a\in\mathbb{R}\). Since \(g\) is continuous at \(a\), we have \(g(x)\to g(a)=a^2\) as \(x\to a\). Since \(h\) is continuous at \(u_0=a^2\), it follows that

\[\lim_{x\to a} f(x)=\lim_{x\to a}\cos(x^2)=\cos\!\left(\lim_{x\to a}x^2\right)=\cos(a^2)=f(a).\]

Thus the limit of \(f\) at \(a\) exists and equals the value of \(f\) at \(a\). Since \(a\) was an arbitrary real number, \(f(x)=\cos(x^2)\) is continuous on \(\mathbb{R}\).

Therefore \(f(x)=\cos(x^2)\) is a continuous function.

Q32Written answer
Show that the function defined by \(f(x)=|\cos x|\) is a continuous function.
Show solutionHide solution
Worked solution

We must show that \(f(x)=|\cos x|\) is continuous at every real number \(x\).

Step 1: Continuity of \(\cos x\). The cosine function is continuous on \(\mathbb{R}\). Hence for every \(a\in\mathbb{R}\),

\[\lim_{x\to a}\cos x=\cos a.\]

Step 2: Use continuity of the absolute value function. The function \(g(t)=|t|\) is continuous on \(\mathbb{R}\), because it is defined piecewise by \(g(t)=t\) for \(t\ge 0\) and \(g(t)=-t\) for \(t<0\), and these pieces agree at \(0\).

Since \(f(x)=g(\cos x)\), the composition of the continuous function \(\cos x\) with the continuous function \(g(t)=|t|\) is continuous. Therefore \(f\) is continuous on \(\mathbb{R}\).

Step 3: Direct verification at an arbitrary point. Let \(a\in\mathbb{R}\). By continuity of \(\cos x\) and of \(|\cdot|\),

\[\lim_{x\to a}f(x)=\lim_{x\to a}|\cos x|=\left|\lim_{x\to a}\cos x\right|=|\cos a|=f(a).\]

Thus \(\lim_{x\to a}f(x)=f(a)\) for every real \(a\), so \(f(x)=|\cos x|\) is continuous on \(\mathbb{R}\).

Alternative piecewise view. Since \(\cos x\ge 0\) on intervals where \(x\) lies in \(\left[-\frac{\pi}{2}+2k\pi,\frac{\pi}{2}+2k\pi\right]\) and \(\cos x<0\) on the complementary intervals, \(f(x)=\cos x\) or \(f(x)=-\cos x\) on each such interval. Both are continuous, and at the joining points where \(\cos x=0\), the two expressions both equal \(0\), so no jump occurs. Hence \(f\) is continuous everywhere.

Q33Written answer
Examine that \(\sin |x|\) is a continuous function.
Show solutionHide solution
Worked solution

We must examine the continuity of \(f(x)=\sin |x|\).

Step 1: Rewrite using the absolute value.

Recall that

\[ |x|=\begin{cases} x, & x\ge 0,\\ -x, & x<0. \end{cases} \] Hence \[ f(x)=\sin |x|=\begin{cases} \sin x, & x\ge 0,\\ \sin(-x)=-\sin x, & x<0. \end{cases} \]

Step 2: Continuity away from \(0\).

On \((0,\infty)\), \(f(x)=\sin x\), which is continuous because \(\sin x\) is continuous on \(\mathbb R\).

On \((-\infty,0)\), \(f(x)=-\sin x\), which is also continuous.

Therefore the only point needing special attention is \(x=0\).

Step 3: Check continuity at \(x=0\).

The value at \(0\) is

\[ f(0)=\sin|0|=\sin 0=0. \]

The left-hand limit is

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

The right-hand limit is

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

Thus

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

So \(f\) is continuous at \(0\).

Alternative argument using composition.

The function \(u(x)=|x|\) is continuous on \(\mathbb R\), and \(g(u)=\sin u\) is continuous on \(\mathbb R\). The composition of continuous functions is continuous, so

\[ f(x)=g(u(x))=\sin|x| \]

is continuous on \(\mathbb R\).

Conclusion. Since \(\sin|x|\) is continuous at every real number, including \(x=0\), it is a continuous function on \(\mathbb R\).

Q34Written answer
Find all the points of discontinuity of \(f\) defined by \(f(x)=|x|-|x+1|\).
Show solutionHide solution
Worked solution

Write \(f(x)=|x|-|x+1|\). The only possible points of discontinuity are where the expressions inside the absolute values change sign, namely at \(x=0\) and \(x=-1\). Between these points \(f\) is a polynomial, hence continuous. So we only need to test \(x=-1\) and \(x=0\).

At \(x=-1\): \(f(-1)=|-1|-|-1+1|=1-0=1\).

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

Both one-sided limits equal \(f(-1)=1\), so \(f\) is continuous at \(x=-1\).

At \(x=0\): \(f(0)=|0|-|0+1|=0-1=-1\).

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

Both one-sided limits equal \(f(0)=-1\), so \(f\) is continuous at \(x=0\) as well.

Since \(f\) is continuous at every real number, it has no points of discontinuity.

(Indeed, \(f\) can be written piecewise as \(f(x)=1\) for \(x\le -1\), \(f(x)=-2x-1\) for \(-1<x<0\), and \(f(x)=-1\) for \(x\ge 0\), which is continuous everywhere.)