Let $f : R \rightarrow R$ and $g : R \rightarrow R$ be defined as $f(x) = \begin{cases} x+a, & x < 0 \\ |x-1|, & x \geq 0 \end{cases}$ and $g(x) = \begin{cases} x+1, & x < 0 \\ (x-1)^2+b, & x \geq 0 \end{cases}$ where $a, b$ are non-negative real numbers. If $(g \circ f)(x)$ is continuous for all $x \in R$,then $a+b$ is equal to ......

  • A
    $2$
  • B
    $1$
  • C
    $4$
  • D
    $3$

Explore More

Similar Questions

Let $R$ be the set of real numbers and the functions $f: R \rightarrow R$ and $g: R \rightarrow R$ be defined by $f(x) = x^{2} + 2x - 3$ and $g(x) = x + 1$. Then, the value of $x$ for which $f(g(x)) = g(f(x))$ is

If $f(x)=2^{100} x+1$ and $g(x)=3^{100} x+1$, then the set of real numbers $x$ such that $f(g(x))=x$ is

Let $R$ be the set of real numbers and the mapping $f: R \rightarrow R$ and $g: R \rightarrow R$ be defined by $f(x) = 5 - x^2$ and $g(x) = 3x - 4$, then the value of $(f \circ g)(-1)$ is

Let $f(x) = \log_e(\sin x)$ for $0 < x < \pi$ and $g(x) = \sin^{-1}(e^{-x})$ for $x \ge 0$. If $\alpha$ is a positive real number such that $a = (fog)'(\alpha)$ and $b = (fog)(\alpha)$,then which of the following is true?

If $f: R \rightarrow R$ and $g: R \rightarrow R$ are defined by $f(x) = \begin{cases} x+2, & x>0 \\ 2-x, & x \leq 0 \end{cases}$ and $g(x) = \begin{cases} x^2-2x-2, & 1 \leq x < 2 \\ x-7, & x \geq 2 \\ x+5, & x < 1 \end{cases}$, then $\lim _{x \rightarrow 0} g(f(x))$

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