198k views
3 votes
How is the composition of function related to the order of operations

User Reuns
by
8.0k points

1 Answer

6 votes

Solution:- Let f and g be the functions such that


f:X\rightarrow  Y\\and\\ g:Y\rightarrow Z

can be used to form a function which maps x in X to
g(f(x)) in Z.

If z is a function of y, and y is a function of x, then z is a function of x. (transitive property)

Hence the composite function is given by


g of : X\rightarrow Z , defined by
(gof)(x)=( g(f(x)) x) for x in X.

Now , for the function g(x) into the function for f(x), we have to work from the inside out by substituting the expression. So by this way composition of function related to order of operations.

User Nurp
by
8.3k points