Elementary Functions
Part 1, Functions Lecture 1.5a, Function Composition
- Dr. Ken W. Smith
Sam Houston State University
2013
Smith (SHSU) Elementary Functions 2013 1 / 20
The algebra of functions
Given two functions, say f(x) = x2 and g(x) = x + 1, we can, in obvious ways, add, subtract, multiply and divide these functions. For example, the function f + g is defined simply by (f + g)(x) = x2 + (x + 1); the function f − g is defined simply by (f − g)(x) = x2 − (x + 1). Similarly (f · g)(x) = (x2) · (x + 1) and (f g )(x) = x2 x + 1.
Smith (SHSU) Elementary Functions 2013 2 / 20
The algebra of functions
Given two functions, say f(x) = x2 and g(x) = x + 1, we can divide g by f ( g f )(x) = x + 1 x2 .
- r divide f by g:
(f g )(x) = x2 x + 1. If we are dividing one function by another, the quotient is not defined whenever the denominator is zero. So ( g f )(x) = x + 1 x2 does not have zero in its domain. Similarly we cannot plug in x = −1 to the quotient (f g )(x) = x2 x + 1.
Smith (SHSU) Elementary Functions 2013 3 / 20
Function Composition
A more important operation between functions is the operation of function composition. If f is a function from X into Y and g is a function from Y into Z then g ◦ f is a function from X into Z defined by first allowing f to map elements of X into Y and then allowing elements of Y to be mapped by g into Z.
Smith (SHSU) Elementary Functions 2013 4 / 20