Let f:R→R and g:R→R be defined as f(x)={x+a,x<0|x−1|,x≥0 and g(x)={x+1,x<0(x−1)2+b,x≥0,
where a,b are non-negative real numbers. If (gof)(x) is continuous for all x∈R, then a+b is equal to
A
1
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
1.00
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
1.0
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution
g[f(x)]={f(x)+1,f(x)<0(f(x)−1)2+b,f(x)≥0
⇒g[f(x)]=⎧⎪
⎪
⎪⎨⎪
⎪
⎪⎩x+a+1,x+a<0 and x<0|x−1|+1,|x−1|<0 and x≥0(x+a−1)2+b,x+a≥0 and x<0(|x−1|−1)2+b,|x−1|≥0 and x≥0
⇒g[f(x)]=⎧⎪
⎪
⎪⎨⎪
⎪
⎪⎩x+a+1,x∈(−∞,−a) and x∈(−∞,0)|x−1|+1,x∈ϕ(x+a−1)2+b,x∈[−a,∞) and x∈(−∞,0)(|x−1|−1)2+b,x∈R and x∈[0,∞)