KCET · Maths · Continuity and Differentiability
If \(f(x)=\left\{\begin{array}{ll}x, & \text { if } x \text { is irrational } \\ 0, & \text { if } x \text { is rational }\end{array}\right.\), then \(f\) is
- A continuous everywhere
- B discontinuous everywhere
- C continuous only at \(x=0\)
- D continuous at all rational numbers
Answer & Solution
Correct Answer
(C) continuous only at \(x=0\)
Step-by-step Solution
Detailed explanation
Given, \(f(x)= \begin{cases}x, & \text { if } x \text { is irrational } \\ 0, & \text { if } x \text { is rational }\end{cases}\)
\(\begin{aligned}
&\mathrm{LHL}=\lim _{x \rightarrow 0^{-}} f(x)=\lim _{x \rightarrow 0^{-}} x=0 \\
&\mathrm{RHL}=\lim _{x \rightarrow 0^{+}} f(x)=\lim _{x \rightarrow 0^{+}} x=0
\end{aligned}\)
and \(f(0)=0\) Hence, \(f(x)\) is continuous at \(x=0\).
\(\begin{aligned}
&\mathrm{LHL}=\lim _{x \rightarrow 0^{-}} f(x)=\lim _{x \rightarrow 0^{-}} x=0 \\
&\mathrm{RHL}=\lim _{x \rightarrow 0^{+}} f(x)=\lim _{x \rightarrow 0^{+}} x=0
\end{aligned}\)
and \(f(0)=0\) Hence, \(f(x)\) is continuous at \(x=0\).
See the Complete Solution
Get step-by-step explanations for this and 2.5 Lakh+ more JEE, NEET & CET questions.
- Unlock all solutions
- Practice the full chapter
- Track accuracy across PYQs
4.8 rated on Google Play · 14,000+ reviews
More questions from Maths
- If \(f(x)=a x+b\), where \(a\) and \(b\) are integers, \(f(-1)=-5\) and \(f(\beta)=3\), then \(a\) and \(b\) are respectivelyKCET 2023 Easy
- If \(m\) and \(n\) are degree and order of \(\left(1+y_{1}^{2}\right)^{2 / 3}=y_{2}\), then the value of \(\frac{m+n}{m-n}\) isKCET 2011 Easy
- Solution of \(e^{d y / d x}=x\) when \(x=1\) and \(y=0\) isKCET 2012 Medium
- The area of the region bounded by the curve \(y^2 = x^3\), the \(y\)-axis and the lines \(y = 1\) and \(y = 8\) isKCET 2026 Easy
- The equation \(\frac{x^{2}}{2-\lambda}-\frac{y^{2}}{\lambda-5}-1=0\) represents an ellipse, ifKCET 2008 Easy
- \(\cos 12^{\circ} \cot 102^{\circ}+\cot 102^{\circ} \cot 66^{\circ}\) \(+\cot 66^{\circ} \cot 12^{\circ}\) isKCET 2010 Medium
More PYQs from KCET
- For the redox reaction
\( \mathrm{xMnO}_{4}^{-}+\mathrm{yH}_{2} \mathrm{C}_{2} \mathrm{O}_{4}+\mathrm{zH}^{+} \rightarrow \mathrm{mMn}^{2+}+\mathrm{nCO}_{2}+\mathrm{pH}_{2} \mathrm{O} \)
The values of \( \mathrm{x}, \mathrm{y}, \mathrm{m} \) and \( \mathrm{n} \) areKCET 2018 Medium - The branch of biology that deals with study of fossil animals is known asKCET 2013 Medium
- Identify the most infectious and fatal type of malarial parasite.KCET 2022 Easy
- For a body moving along a straight line, the following \(v\) - \(t\) graph is obtained.

According to the graph, the displacement duringKCET 2021 Easy - A ray of light passes through four transparent media with refractive index \( n_{1}, n_{2}, n_{3} \) and \( n_{4} \) as
shown. The surfaces of all media are parallel
If the emergent ray \( D E \) is parellel to incident ray \( A B \), thenKCET 2016 Hard - Roquefort cheese is ripened byKCET 2023 Easy