JEE Main 202116 Mar, Evening shiftMathematicsHardLimit, Continuity and Differentiability420× since 2002
Let f : R
→ R and g : R
→ R be defined as
f(x)={x+a,∣x−1∣,x<0x≥0 and
g(x)={x+1,(x−1)2+b,x<0x≥0,
where a, b are non-negative real numbers. If (gof) (x) is continuous for all x
∈ R, then a + b is equal to ____________.