Two functions $f: R \rightarrow R$ and $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

Let $f(x)=\sqrt{x^{2}-3x+2}$ and $g(x)=\sqrt{x}$ be two given functions. If $S$ is the domain of $f \circ g$ and $T$ is the domain of $g \circ f$,then:

If $f(x) = \frac{2x+3}{3x-2}$,$x \neq \frac{2}{3}$,then the function $f \circ f$ is

Let $f(x) = x^3$ and $g(x) = 3^x$,then the quadratic equation whose roots are solutions of the equation $(f \circ g)(x) = (g \circ f)(x)$ (for $x \neq 0$) is

If $f(x) = \frac{2x - 3}{3x - 2}$ and $f_n(x) = (f \circ f \circ f \circ \dots \circ f)(x)$ ($n$ times),then $f_{32}(x) = $

Let $f: \{2, 3, 4, 5\} \rightarrow \{3, 4, 5, 9\}$ and $g: \{3, 4, 5, 9\} \rightarrow \{7, 11, 15\}$ be functions defined as $f(2)=3, f(3)=4, f(4)=f(5)=5$ and $g(3)=g(4)=7$ and $g(5)=g(9)=11$. Find $g \circ f$.

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