For x∈R, two real valued functions f(x) and g(x) are such that, g(x)=x+1 and f∘g(x)=x+3−x. Then f(0) is equal to
Solutions · 1
Official solution
g(x)=x+1fog(x)=x+3−x=(x+1)2−3(x+1)+5=g2(x)−3g(x)+5⇒f(x)=x2−3x+5∴f(0)=5
But, if we consider the domain of the composite function f∘g(x) then in that case f(0) will be not defined as g(x) cannot be equal to zero.