függvényösszetétel
Függvényösszetétel, often translated as function composition, is a mathematical operation that takes two functions and produces a new function. The output of the first function becomes the input of the second function. If we have two functions, f and g, the composition of f with g is denoted as f ∘ g, which is read as "f composed with g". The resulting function (f ∘ g)(x) is defined as f(g(x)). This means we first apply the function g to the input x, and then we apply the function f to the result of g(x).
The domain and range of the composed function are important. The domain of (f ∘ g) consists of