MCQ
Let $f$ be defined on $[-5,5]$ as
$
f(x)=\left\{\begin{array}{l}
x \text { if } x \text { is rational } \\
-x \text { if } x \text { is irrational }
\end{array}\right.
$
Then $f(x)$ is
  • A
    continuous at every $x$ except $x=0$
  • discontinuous at every $x$ except $x=0$
  • C
    continuous everywhere
  • D
    discontinuous everywhere

Answer

Correct option: B.
discontinuous at every $x$ except $x=0$
(b) : As $x \rightarrow 0$ both $x$ and $-x$ tend to zero, $f(0)=0$
$\therefore f(x)$ is continuous at $x=0$.
For $x \neq 0, x \neq-x, f(x)$ is discontinuous.

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free

Similar questions

Let $I_n=\int_0^1 e^{-y} y^n d y$, where $n$ is a non-negative integer. Then, $\sum_{n=1}^{\infty} \frac{I_n}{n !}$ is
Find equation of line joining $(3,1)$ and $(9,3)$ using determinants
If a unit vector lies in $yz-$ plane and makes angles of ${30^o}$ and ${60^o}$ with the positive $y-$ axis and $z-$ axis respectively, then its components along the co-ordinate axes will be
Let  $f(x) = \int {{e^x}(x - 1)(x - 2)dx\,,} $ Then $f$ decreases in the interval -
If $y = \sin (2{\sin ^{ - 1}}x),$ then ${{dy} \over {dx}} = $
Let $f : R \to R$ be a function such that $f(2 - x)\, = f(2 + x)$ and $f(4 -x)\, = f(4 + x)$, for all $x \in  R$ and $\int\limits_0^2 {f\left( x \right)\,dx = 5} $ . Then the value of $\int\limits_{10}^{50} {f\left( x \right)\,\,dx} $ is
Let the area of the region $\left\{(x, y):|2 x-1| \leq y \leq\left|x^2-x\right|, 0 \leq x \leq 1\right\}$ be $A$. Then $(6 A +11)^2$ is equal to $.......$.
Statement $1$ : The degrees of the differential equations $\frac{{dy}}{{dx}} + {y^2} = x$ and $\frac{{{d^2}y}}{{d{x^2}}} + y = \sin \,x$ are equal

Statement $2$ : The degree of a differential equation, when it is a polynomial equation in derivatives, is the highest positive integral power of the highest order derivative involved in the differential equation, otherwise degree is not defined

If $\text{y}^\frac{1}{\text{n}}+\text{y}-^\frac{1}{\text{n}}=2\text{x}$ then find $(\text{x}^2-1)\text{y}_2+\text{xy}_1=$ 
  1. -n2y
  2. n2y
  3. 0
  4. None of these.
If $\left[ {\begin{array}{*{20}{c}}{2 + x}&3&4\\1&{ - 1}&2\\x&1&{ - 5}\end{array}} \right]$is a singular matrix, then $x$ is