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 a function $f$ is defined by $f(x) = \begin{cases} \frac{1-\sqrt{2} \sin x}{\pi-4 x}, & x \neq \frac{\pi}{4} \\ k, & x = \frac{\pi}{4} \end{cases}$ and is continuous at $x = \frac{\pi}{4}$,then $k = $

Let $f(x) = \begin{cases} \frac{x - 4}{|x - 4|} + a, & x < 4 \\ a + b, & x = 4 \\ \frac{x - 4}{|x - 4|} + b, & x > 4 \end{cases}$. Then $f(x)$ is continuous at $x = 4$ when

If $f(x) = \begin{cases} \frac{1-\sin^3 x}{3 \cos^2 x}, & x < \frac{\pi}{2} \\ \alpha, & x = \frac{\pi}{2} \\ \frac{\beta(1-\sin x)}{(\pi-2 x)^2}, & x > \frac{\pi}{2} \end{cases}$ is continuous at $x = \frac{\pi}{2}$,then $\alpha \beta =$

Let $R$ be the set of all real numbers and $\alpha \in R$ be positive. Define a function $f: R \rightarrow R$ by $f(0)=0$ and $f(x)=|x|^\alpha \sum \limits_{n=0}^{\infty}\left(1+x^2\right)^{-n}$,for $x \neq 0$. Then the set of real numbers $\alpha$ for which $f$ is continuous at $x = 0$ has

If the function $f(x) = \frac{1 - \cos 4x}{8x^2}$ for $x \ne 0$ and $f(x) = k$ for $x = 0$ is a continuous function at $x = 0$,then the value of $k$ is:

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