1
$\begingroup$

I know that order of composition matters between two functions. But is there a case where you can not compose a function with another?

  • 0
    Yes. For example $f(x)= \sqrt{x}$ and $g(x)=-x^2-\sqrt{-x-1}$ cannot be composed.2017-02-02
  • 3
    More generally, the composition $f(g(x))$ doesn't make any sense if the intersection of the range of $g(x)$ and the domain of $f(x)$ are the empty set.2017-02-02
  • 0
    More properly most authors require for the [function composition](https://en.wikipedia.org/wiki/Function_composition) $f\circ g$ that the range of $g$ be contained in the domain of $f$.2017-02-02
  • 2
    You can always compose two functions. Sometimes this composition may be undefined everywhere. So, it depends what you're looking for in a composition.2017-02-02

0 Answers 0