function


by thereddevils
Tags: function
thereddevils
thereddevils is offline
#1
May19-10, 04:44 AM
P: 442
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 ?
Phys.Org News Partner Science news on Phys.org
Cougars' diverse diet helped them survive the Pleistocene mass extinction
Cyber risks can cause disruption on scale of 2008 crisis, study says
Mantis shrimp stronger than airplanes
phyzguy
phyzguy is offline
#2
May19-10, 06:39 AM
P: 2,070
This looks correct to me.
D H
D H is online now
#3
May19-10, 06:54 AM
Mentor
P: 14,467
If you mean f(g(x)) and g(f(x)) then what you have for f(g(x)) is correct, but the other is not.

thereddevils
thereddevils is offline
#4
May19-10, 07:00 AM
P: 442

function


Quote Quote by D H View Post
If you mean f(g(x)) and g(f(x)) then what you have for f(g(x)) is correct, but the other is not.
thanks but why ? How did you see that ?
D H
D H is online now
#5
May19-10, 07:10 AM
Mentor
P: 14,467
Show your steps on how you derived g(f(x)).
thereddevils
thereddevils is offline
#6
May19-10, 07:30 AM
P: 442
Quote Quote by D H View Post
Show your steps on how you derived g(f(x)).
ok . Basically , i just substituted the function f(x) into the function g(x) , without doing any other checkings because i do not know what to check . Could you guide me on thsi ? Thanks .
D H
D H is online now
#7
May19-10, 07:35 AM
Mentor
P: 14,467
Hint: Is f(x) ever negative?
phyzguy
phyzguy is offline
#8
May19-10, 07:40 AM
P: 2,070
Ah, based on DH's hint, I now agree that you have done g(f(x)) incorrectly. Thereddevils, do you see it now?
thereddevils
thereddevils is offline
#9
May19-10, 07:47 AM
P: 442
Quote Quote by D H View Post
Hint: Is f(x) ever negative?
thanks !


Register to reply

Related Discussions
Square of the Riemann zeta-function in terms of the divisor summatory function. Linear & Abstract Algebra 6
Expansion of free space Green function in Bessel function Advanced Physics Homework 0
A seeming contrdiction in deriving wave function for delta function potential Quantum Physics 2
Graphing Potential(V) as a function of distance (r) help fitting a power function... General Physics 5
Determine a function that calculates the nth weight factor of a wave function Advanced Physics Homework 0