ExamBro
ExamBro
JEE Mains · Maths · STD 12 - 1. relation and function

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

  1. A \(2\)
  2. B \(1\)
  3. C \(4\)
  4. D \(3\)
Verified Solution

Answer & Solution

Correct Answer

(B) \(1\)

Step-by-step Solution

Detailed explanation

\(g[f(x)]=\left[\begin{array}{cc}f(x)+1 & f(x)<0 \\ (f(x)-1)^{2}+b & f(x) \geq 0\end{array}\right.\)…