Find the compositions of these functions?

  • Thread starter Thread starter thereddevils
  • Start date Start date
  • Tags Tags
    Functions
AI Thread Summary
The discussion centers on finding the composition of two functions, f(x) = x^2 + 3 and g(x) = |x| - 5, resulting in gf(x) = x^2 - 2. Participants debate whether the range of gf(x) is the same as that of g(x), concluding that they are not equal due to the different outputs of the functions. It is clarified that the range of gf(x) is a subset of the range of g(x), as the range of f does not cover the entire domain of g. The domain of gf(x) is confirmed to be the same as that of f(x), provided the range of f is within the domain of g. The conversation emphasizes the importance of understanding function composition and the implications for range and domain.
thereddevils
Messages
436
Reaction score
0
Given two functions , f(x)=x^2+3 , where x is real , g(x)=|x|-5 , x is real , find gf(x).

i found gf(x)=x^2-2

is it true that the range of gf(x) is the same as the range of g(x) ? If so,

the range of g(x) is [-5 , infinity) and the range of gf(x) is [-2 , infinity)

why arent they the same ?
 
Physics news on Phys.org


I think everything is correct, why would you think the range of g(f(x)) is the same as the range of g(x)?
 


I'll pose the reverse question: why should they be the same? g(x) and gf(x) are different functions.
 


Take a look at the diagram i attached . Isn't that the image of gf(x) the same as the image function g(x) ?
 


The range of f needn't be the whole of the domain of g so some of the images under g may not occur in gf. You only have range(gf)\subseteq range(g). In fact you could say they're not equal because you have yourself provided a counterexample.
 


Martin Rattigan said:
The range of f needn't be the whole of the domain of g so some of the images under g may not occur in gf. You only have range(gf)\subseteq range(g). In fact you could say they're not equal because you have yourself provided a counterexample.

thanks Martin , how about the domains , is the domain of f(x) the same as domain gf(x) because both of them started from the same set or it needn't also be the same in this case.
 


Yes, dom(gf)=dom(f), assuming you only define the composition gf when range(f)\subseteq dom(g).
 


Martin Rattigan said:
Yes, dom(gf)=dom(f), assuming you only define the composition gf when range(f)\subseteq dom(g).

thanks again Martin !
 
Back
Top