Just as we can perform operations on polynomials, we can also perform operations on different functions by adding, subtracting, or multiplying them provided we follow specific rules. We will use our tools to extend to different functions.
Operations with functions are defined using special notation:
Sum: \left(f+g\right)\left(x\right)=f\left(x\right)+g\left(x\right)
Difference: \left(f-g\right)\left(x\right)=f\left(x\right)-g\left(x\right)
Product: \left(f\cdot g\right)\left(x\right)=f\left(x\right)\cdot g\left(x\right)
With each operation, the domain of the new function becomes the intersection or overlap of the domains of the original functions.
In addition to the ways in which we can combine two functions, as above, we can also create a composite function using an operation that combines two functions f and g and produces a function h such that h\left(x\right)=g\left(f\left(x\right)\right), where the function g is applied to the result of applying the function f to x.
The output, or function values, of the function f\left(x\right) have become the input, or x-values, of the function g\left(x\right). We introduce a new symbol \circ to represent this new function.
In a composition of functions, the inner function is evaluated first, followed by the outer function. For example, in the composition g\left(f\left(x\right)\right), the function f is applied first, followed by the function g. This means that \left(g \circ f\right)\left(x\right) is not necessarily equal to \left(f \circ g\right)\left(x\right).
The domain of \left(g \circ f\right)\left(x\right) is restricted to all x-values in the domain of f whose range values, f\left(x\right), are in the domain of g.
Consider the following pair of functions:
\begin{aligned} f\left(x\right) & = -5x+5\\\ g\left(x\right) & = 2x^2+3x-10 \end{aligned}
Find \left(f+g\right)\left(x\right)
Find \left(f-g\right)\left(x\right)
Find \left(f \cdot g\right)\left(x\right)
Find \left(f \circ g\right)\left(x\right)
The projected birth rate of a city's population, in ten-thousands, is b\left(t\right) = 3t^2 and the projected death rate, in ten-thousands, is d\left(t\right) = t, for each year, t. The graph below shows the functions:
Create a function equation to represent the net rate of population change, due to births and deaths, as a function of time t. Then, graph the function.
Find n\left(5\right) and explain what it tells us about the town's population.
The price of a stock at the end of the nth trading day is given by S\left(n\right) = \dfrac{1}{n+1}. A trader decides to purchase stocks, and the number of stocks they own at the end of the nth trading day is approximated by B\left(n\right) = \left(n + 1\right)^2.
Find the equation for the value, V\left(n\right), of the trader’s stocks at day n.
Sketch the graph of V\left(n\right).
Explain what the new function tells us about the stocks.
A cylindrical tank initially contains 200 \text{ in}^3 of grain and starts being filled at a constant rate of 40 \text{ in}^3 per second.
The radius of the tank is 12 inches. Let g be the amount of grain in the container after t seconds.
State the function for h\left(g\right), the height of the grain in the container, in terms of g.
State the function for g\left(t\right), the amount of grain in the tank after t seconds.
The function A\left(t\right) is defined as A\left(t\right)=\left( h \circ g \right)\left(t\right). Form an equation for A\left(t\right) in terms of t.
Explain what A\left(t \right) represents.
If the barrel can hold 10\,000 \text{ in}^3 of grain, determine the domains of g\left(t\right), h\left(g\right) and A\left(t\right).
Operations with functions are defined using special notation:
Sum: \left(f+g\right)\left(x\right)=f\left(x\right)+g\left(x\right)
Difference: \left(f-g\right)\left(x\right)=f\left(x\right)-g\left(x\right)
Product: \left(f\cdot g\right)\left(x\right)=f\left(x\right)\cdot g\left(x\right)
Composition:\left(f \circ g\right)\left(x\right)= f\left(g\left(x\right)\right)