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)=2x^{2}+bx+c$,$f(0)=3$ and $f(2)=1$,then $(f \circ f)(1)=$

If $f:[-6,6] \rightarrow R$ is defined by $f(x)=x^2-3$ for $x \in R$,then $(f \circ f \circ f)(-1)+(f \circ f \circ f)(0)+(f \circ f \circ f)(1)$ is equal to

Let $f(x) = 2^{10} \cdot x + 1$ and $g(x) = 3^{10} \cdot x - 1$. If $(f \circ g)(x) = x$,then $x$ is equal to

Find $g \circ f$ and $f \circ g,$ if $f(x)=|x|$ and $g(x)=|5x-2|.$

If $f(x) = \frac{2x+3}{3x-2}$,$x \neq \frac{2}{3}$,then $(f \circ f)(x)$ 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