Let $f(x) = \begin{cases} x, & x \in \mathbb{Q} \\ 1 - x, & x \notin \mathbb{Q} \end{cases}$. Then at $x = \frac{1}{2}$,$f(x)$ is:

  • A
    continuous but non-differentiable
  • B
    discontinuous
  • C
    differentiable
  • D
    None of the above

Explore More

Similar Questions

If $f(x) = \begin{cases} x, & x > 1 \\ x^2, & x < 1 \end{cases}$,then $\lim_{x \to 1} f(x) = $

Statement-$1$: The equation $x \log x = 2 - x$ is satisfied by at least one value of $x$ lying between $1$ and $2$.
Statement-$2$: The function $f(x) = x \log x$ is an increasing function in $[1, 2]$ and $g(x) = 2 - x$ is a decreasing function in $[1, 2]$,and the graphs represented by these functions intersect at a point in $[1, 2]$.

Which of the following functions is not continuous at $x = 0$?

The function $f(x) = \begin{cases} sgn([x]) & x \notin I \\ [sgn(x)] & x \in I \end{cases}$ is (where $sgn()$ denotes the signum function and $[.]$ denotes the greatest integer function):

If the function $f(x) = \begin{cases} \frac{(e^{kx} - 1) \tan kx}{4x^2}, & x \neq 0 \\ 16, & x = 0 \end{cases}$ is continuous at $x = 0$,then $k = . . . . . .$.

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo