Two functions $f: R \rightarrow R, g: R \rightarrow R$ are defined as follows: $f(x) = \begin{cases} 0, & x \text{ is rational} \\ 1, & x \text{ is irrational} \end{cases}$ and $g(x) = \begin{cases} -1, & x \text{ is rational} \\ 0, & x \text{ is irrational} \end{cases}$. Then,$(f \circ g)(\pi) + (g \circ f)(e)$ is equal to:

  • A
    $0$
  • B
    $-1$
  • C
    $2$
  • D
    $1$

Explore More

Similar Questions

If $f(x) = \begin{cases} \sin x, & x \neq n\pi, n \in \mathbb{Z} \\ 0, & \text{otherwise} \end{cases}$ and $g(x) = \begin{cases} x^2 + 1, & x \neq 0, 2 \\ 4, & x = 0 \\ 5, & x = 2 \end{cases}$,then $\lim_{x \to 0} g(f(x)) = $

If $f(x) = \frac{4x + 3}{6x - 4}$, $x \neq \frac{2}{3}$ and $(f \circ f)(x) = g(x)$ where $g : R - \{\frac{2}{3}\} \to R - \{\frac{2}{3}\}$, then $(g \circ g \circ g \circ g \circ g)(3) = $

Let $f, g :(1, \infty) \rightarrow \mathbb{R}$ be defined as $f(x) = \frac{2x+3}{5x+2}$ and $g(x) = \frac{2-3x}{1-x}$. If the range of the function $f \circ g : [2, 4] \rightarrow \mathbb{R}$ is $[\alpha, \beta]$,then $\frac{1}{\beta-\alpha}$ is equal to

If $f(x) = \log_a x$ and $F(x) = a^x$,then $F[f(x)]$ is

Let $(g \circ f)(x) = \sin x$ and $(f \circ g)(x) = (\sin \sqrt{x})^2$. Then,

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