- #1
thereddevils
- 438
- 0
Homework Statement
Function f and g are defined as follows :
f(R)=R , f(x)=x^2 , g(R)=R , g(x)=x+1,x>=0 , -x , x<0 (its a piecewise function) . Find fg(x) and gf(x) .
Homework Equations
The Attempt at a Solution
fg(x)=
(x+1)^2 , x>=0
x^2 , x<0
gf(x)=
x^2+1 , x>=0
-x^2 , x<0
Am i correct ? What are the things i will need to look into when face questions like this ? Cheking the domain ?