Find (f∘g)(x) and (g∘f)(x) and the domain of each.f(x)=x+17,g(x)=x−17(f∘g)(x)=x (Simplify your answer.)(g∘f)(x)=x (Simplify your answer.)The domain of (f∘g)(x) is(Type your answer in interval notation.)
The domain of (f∘g)(x) and (g∘f)(x) is (−∞,∞)
Step 1 :(f∘g)(x)=f(g(x))
Step 2 :(f∘g)(x)=f(x−17)=(x−17)+17
Step 3 :(f∘g)(x)=x
Step 4 :(g∘f)(x)=g(f(x))
Step 5 :(g∘f)(x)=g(x+17)=(x+17)−17
Step 6 :(g∘f)(x)=x
Step 7 :The domain of (f∘g)(x) and (g∘f)(x) is (−∞,∞)