Let $g(x) = 1 + x - [x]$ and $f(x) = \begin{cases} -1, & \text{if } x < 0 \\ 0, & \text{if } x = 0 \\ 1, & \text{if } x > 0 \end{cases}$. Then for all values of $x$,the value of $f(g(x))$ is:

  • A
    $x$
  • B
    $1$
  • C
    $f(x)$
  • D
    $g(x)$

Explore More

Similar Questions

Let $N$ be the set of natural numbers and two functions $f$ and $g$ be defined as $f, g : N \to N$ such that $f(n) = \begin{cases} \frac{n+1}{2} & \text{if } n \text{ is odd} \\ \frac{n}{2} & \text{if } n \text{ is even} \end{cases}$ and $g(n) = n - (-1)^n$. Then $fog$ is

Let $f$ and $g$ be two functions defined by $f(x) = \begin{cases} x+1, & x < 0 \\ |x-1|, & x \geq 0 \end{cases}$ and $g(x) = \begin{cases} x+1, & x < 0 \\ 1, & x \geq 0 \end{cases}$. Then $(g \circ f)(x)$ is

For $x \in R$,two real-valued functions $f(x)$ and $g(x)$ are such that $g(x) = \sqrt{x} + 1$ and $(f \circ g)(x) = x + 3 - \sqrt{x}$. Then $f(0)$ is equal to:

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:

Let $f(x)$ and $g(x)$ be two real polynomials of degree $2$ and $1$ respectively. If $f(g(x)) = 8x^2 - 2x$ and $g(f(x)) = 4x^2 + 6x + 1$,then the value of $f(2) + g(2)$ 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