(adsbygoogle = window.adsbygoogle || []).push({}); 1. The problem statement, all variables and given/known data

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) .

2. Relevant equations

3. 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 ?

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: Piece-wise function problem

**Physics Forums | Science Articles, Homework Help, Discussion**