Analyzing the Setup
We are given two piecewise functions:
g(x)={x+1,(x−1)2+b,x<0x≥0
Our objective is to determine the values of a and b such that the composite function g(f(x)) is continuous for all x∈R. The continuity of g(f(x)) depends on the behavior of f(x) relative to the transition point of g(x), which occurs at 0.
Mapping the Terrain
We must track the sign of f(x) to determine which branch of g to apply. For x<0, f(x)=x+a.
If
x<−a, then
f(x)<0, and we use the first branch of
g:
g(f(x))=f(x)+1=x+a+1
If
−a≤x<0, then
f(x)≥0, and we use the second branch of
g:
g(f(x))=(f(x)−1)2+b=(x+a−1)2+b
For
x≥0,
f(x)=∣x−1∣. Since
∣x−1∣≥0, we always use the second branch of
g:
g(f(x))=(∣x−1∣−1)2+b
The Junctions of Continuity
The function g(f(x)) potentially changes its definition at x=−a and x=0. We enforce continuity at these points by equating the left-hand limit (LHL) and the right-hand limit (RHL).
At
x=−a:
LHL=x→−a−lim(x+a+1)=1
RHL=x→−a+lim((x+a−1)2+b)=(−a+a−1)2+b=1+b
Setting LHL=RHL gives 1=1+b, which implies b=0.
At
x=0:
LHL=x→0−lim((x+a−1)2+b)=(a−1)2+b
RHL=x→0+lim((∣x−1∣−1)2+b)=(∣0−1∣−1)2+b=0+b
Substituting b=0 into the continuity condition (a−1)2+0=0, we find (a−1)2=0, which implies a=1.
Final Calculation
Having determined the constants, we calculate the required sum:
The value of a+b that ensures the continuity of the composite function g(f(x)) is 1.