Codomains of composite functions

AI Thread Summary
Composite functions do not need to have the same codomain, but the codomain of the inner function must align with the domain of the outer function for composition to be valid. If the codomain of g(x) does not fit within the domain of f(x), then the function composition f(g(x)) will be undefined for certain values. It is essential to restrict the domain of g(x) so that its codomain is a subset of f(x)'s domain. Additionally, there is a distinction between codomain and range, which is a common misconception. Understanding these relationships is crucial for correctly defining composite functions.
airborne18
Messages
25
Reaction score
0

Homework Statement


Hopefully simple. Do composite functions have to have the same Codomain? What if they do not, does the smaller Codomain get canceled out? f(x) : R ->R g(x) :Z->Z f(x) g(x) : R->R Is this correct? Or do I need to hit the books a bit more?


Homework Equations





The Attempt at a Solution

 
Physics news on Phys.org
The codomain of f(x) and g(x) are basically unrelated. If you want to define f(g(x)), the key aspect is that the codomain of g(x) and the domain of f(x) line up. If not, there will be values of x for which g(x) can't be plugged into f(x) and you fail to have a function. In such a case you have to restrict the domain of g(x) so that the codomain of g(x) is a subset of the domain of f(x)

Also, assuming that f(x) g(x) in your post means f(g(x)) (so we have function composition), then the domain has to be only the integers: you can't plug an arbitrary real number into g(x). Actually this is true even if you meant multiply the two functions
 
Office_Shredder said:
The codomain of f(x) and g(x) are basically unrelated. If you want to define f(g(x)), the key aspect is that the codomain of g(x) and the domain of f(x) line up. If not, there will be values of x for which g(x) can't be plugged into f(x) and you fail to have a function. In such a case you have to restrict the domain of g(x) so that the codomain of g(x) is a subset of the domain of f(x)

Also, assuming that f(x) g(x) in your post means f(g(x)) (so we have function composition), then the domain has to be only the integers: you can't plug an arbitrary real number into g(x). Actually this is true even if you meant multiply the two functions

Thanks. My assumption was that if there were values that were not valid for g(x), the function would simply be undefined for those values in R that are inconsistent with Z. That is what is screwing me up with this. My problem is that I always put Codomain = Range, and that has been a flaw in my thinking as well.
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...

Similar threads

Back
Top