Sign In
Functions and their notations play a pivotal role in algebra. This lesson delves into the nuances of how functions can be combined, not just through basic operations like addition or subtraction, but also through compositions. Compositions of functions involve evaluating one function using another, offering a layered approach to understanding mathematical relationships. Function notation, on the other hand, provides a standardized way to represent these relationships. It is essential to grasp these concepts as they form the foundation for more advanced mathematical studies. By mastering function notation and understanding compositions, one can tackle complex problems with ease and confidence.
Show less Show more expand_more| Student Learning Objectives: |
|---|
|
| | 10 Theory slides |
| | 9 Exercises - Grade E - A |
| | Each lesson is meant to take 1-2 classroom sessions |
As with algebraic expressions, functions can also be evaluated at a specific input. In the following applet, drag a function into each empty box to explore the outputs obtained when a function is evaluated at another function.
There are different ways to represent a function — using tables of values, mapping diagrams, graphs, and equations. However, aside from these, one of the most common ways is using function notation.
Function notation is a special way to write functions that explicitly shows that y is a function of x — in other words, that y depends on x. Function notation is symbolically expressed as y=f(x) and read y equals f of x.
Equations that are functions can be written using function notation.
ccc
Equation & & Function Notation [1ex]
y=-5x+4 & & f(x) = -5x+4
Notice that y has been replaced by f(x). In function notation, x represents an element of the domain and f(x) represents the element of the range that corresponds to x. When written in function notation, the expression that describes how to convert an input into an output — the right-hand side expression — is called the function rule.
Besides f, other letters such as g or h can be used to name the function. Similarly, letters other than x can name the independent variable.
In the same way that an expression can be evaluated at a particular x-value, functions can also be evaluated at a specific input. Furthermore, it is also possible to determine the input that produces a specific output.
Evaluating a function involves determining the value of the function when its independent variable is set to a specific value. This is done by substituting the given input value for the variable and evaluating the function rule. As an example, consider the value of the following function when x=4. f(x)=3x+4 To evaluate a function for a particular input, there are two steps to follow.
As shown, when the input is 4, the output of the function is 16.
Given a function, it is possible to find the input that produces a certain output. This is done by substituting the given output value for the dependent variable and then solving for the independent variable. For the following function, try finding the x-value for which f(x)=21. f(x)=4x-3 To find the input that produces a certain output, there are two steps to follow.
For the last few days of the long holiday, Izabella and Emily visited a city they did not know. Before returning home, they went into a souvenir shop where all the souvenirs were priced the same. After picking out some gifts and just before paying, Emily found a $3 gift card in her purse.
The function C(s)=4.5s-3 represents the cost, in dollars, of buying s souvenirs with a $3 gift card.
How much will the girls pay if they buy ten souvenirs?
How many souvenirs can the girls buy with $69?
Find the value of s for which the output is 69. Substitute 69 for C(s) and solve the resulting equation for s.
Based on the given information, finding how much will the girls pay for buying ten souvenirs is equivalent to finding C(10). This can be done by substituting 10 for s into the function rule and simplifying the right-hand side.
s= 10
Multiply
Subtract term
The statement C(10)=42 shows that when the input is s=10, the output is 42. In this context, it means that the girls will pay $42 for ten souvenirs.
In this context, C(s) gives the cost of buying s souvenirs. Therefore, asking how many souvenirs the girls can buy with $69 is the same as asking for which value of s the output of C is equal to 69.
C(s)=69 To find such value of s, in the function rule, substitute 69 for C(s) and solve the resulting equation for s.
C(s)= 69
LHS+3=RHS+3
.LHS /4.5.=.RHS /4.5.
Calculate quotient
Rearrange equation
As shown, the output is 69 when s=16. In other words, the girls can buy 16 souvenirs with $69.
While walking downtown, Emily and Izabella walked into a craft store and saw a beautiful wooden jewelry box. The craftsman said that the price of the box is half its volume, which is given by the function V(x)=9(x+1)-3(3-x), where x is the length of an inner side of the box — a measure that the girls have to provide.
Emily wants to buy a box where the length of the inner side of the box is 1 inch. How much will she pay for this box?
Izabella paid $10.50 for her box. What is the length of the inner side of the box she asked for?
Start by finding the volume of the box for the measure Emily chose. To do this, find V(1). The price is half the volume.
Use the given price to find the volume of Izabella's box. Then, substitute this volume for V(x) in the function rule and solve the resulting equation for x.
Since the price depends on the volume, the volume of the box needs to be calculated first. Note that the volume of a box where the inner side is 1 inch long is given by V(1). Substitute 1 for x into the function rule and simplify the right-hand side.
x= 1
Add and subtract terms
Multiply
Subtract term
Therefore, the volume of the box Emily wants is 12 cubic inches. Since the price is half the volume, Emily will pay $6 for such a box.
To find the length of the inner side of Izabella's box, the volume of the box needs to be calculated first. If the price is half the volume of the box, then the volume of the box is twice the price paid. Therefore, the volume of the box will be found using the fact that Izabella paid $ 10.50 for the box.
2* 10.50 = 21 in^3 The volume of Izabella's box is 21 cubic inches. The next step is to find the value of x that produced this volume. To do so, substitute V(x) for 21 in the function rule and solve the equation for x.
V(x)= 21
Distribute 9 and -3
Add and subtract terms
.LHS /12.=.RHS /12.
Calculate quotient
Rearrange equation
Consequently, the output is 21 when x=1.75. Therefore, the length of the inner side of the box Izabella asked for is 1.75 inches.
Two functions f(x) and g(x) can be combined into a sum, a difference, a product, or a quotient through the following formulas. (f+g)(x) &= f(x)+g(x) (f-g)(x) &= f(x)-g(x) (f* g)(x) &= f(x)* g(x) [0.1cm] (f/g) (x) &= f(x)/g(x), g(x)≠ 0 However, apart from these four operations, two functions can also be combined into a composition.
A composite function, or a composition of functions, combines two or more functions, which produces a new function. In a composition, the outputs produced by one function are the inputs of the other function. The composition of the functions f and g is denoted as f(g(x)) or (f∘ g)(x).
x= g(x)
f(g(x))= h(x)
g(x)= x-5
Distribute 2
Add terms
Izabella and Emily are shopping for pants. Both girls have a $3 discount coupon for the store. After choosing a pair of pants each, they discovered that the pants are 25 % off the marked price. The girls could not agree which order of discount would save them more money, so the cashier allowed them to apply the discounts in whichever order they wanted.
The function f(x)=x-3 represents the effect of applying only the coupon to the marked price, while g(x)= 34x represents the effect of applying only the store's sale discount to the marked price. In both functions, x represents the marked price.
Write a function I(x) that represents how much Izabella will pay if she uses the coupon first and then applies the store's sale discount.
Write a function E(x) that represents how much Emily will pay if she uses the store's discount first and then applies the coupon.
Which of them saved more money?
Applying the coupon first means to apply f to the marked price. Then, g must be applied to the resulting output. Therefore, I(x) is equal to g(f(x)). To find how much Izabella paid, evaluate I(31).
This time, apply the store's discount first — that is, start by applying g to the marked price. Then, apply f to the resulting output. In other words, E(x) equals f(g(x)). To determine the marked price, equate E(x) to the amount paid by Izabella. Then, solve the resulting equation for x.
Compare the total amount paid by each girl and the marked price of the chosen pair of pants.
Since Izabella decided to apply the coupon first, the function f will be applied first to the marked price.
The store's sale discount will be applied to the resulting output. This means that g will be applied to the previous output.
Therefore, the composition of g and f represents the cost that Izabella will pay, based on her decision. This means that I(x)=g(f(x)). To find this composition, in g(x)= 34x, substitute f(x) for x.
x= f(x)
g(f(x))= I(x)
f(x)= x-3
Izabella chose a pair of pants with a marked price of $31. To find how much she paid for them, evaluate I(x) at x= 31.
x= 31
Subtract term
a/c* b = a* b/c
Calculate quotient
Consequently, Izabella paid $21 for the pair of pants she chose.
Emily decided to apply the discounts in the opposite order — that is, she chose to apply the store's sale discount first. For her purchase, the function g will be applied to the marked price.
Next, the coupon will be applied. Therefore, the function f will be applied to the previous output.
Consequently, the composition of f and g represents the cost that Emily will pay, based on the order she of discounts she chose — E(x)=f(g(x)). To calculate this composition, evaluate f(x) at g(x).
x= g(x)
f(g(x))= E(x)
g(x)= 3/4x
Emily paid the same amount as Izabella, which means that Emily paid $21. To determine the original cost of the pair of pants that Emily chose, substitute 21 for E(x) and solve the resulting equation for x.
E(x)= 21
LHS+3=RHS+3
LHS * 4=RHS* 4
.LHS /3.=.RHS /3.
Rearrange equation
In conclusion, the marked price of the pants Emily chose was $32.
To determine who saved more money, it would help to organize the results obtained in a table.
| Marked Price | Amount Paid | |
|---|---|---|
| Izabella's Pants | $31 | $21 |
| Emily's Pants | $32 | $21 |
As shown, both girls paid the same amount of money, but the pair of pants that Emily chose was more expensive. As such, Emily saved more money from the discounts. In fact, if Izabella had applied the discounts as Emily did, she could have paid $20.25 for the same pair of pants. E(31) = 3/4(31)-3 = 20.25 In contrast, if Emily had applied the discounts as Izabella did, she would have paid $21.75. Regardless of who applied the discounts better, both girls got a big discount on their purchase and went home happy.
As shown, the composition of functions is not commutative, implying that, in general, f(g(x))≠ g(f(x)). However, for those functions that do commute, there is a special case. Consider, for example, the following pair of functions. f(x) = 3x - 6 and g(x) = 1/3x + 2 For these two functions, start by finding f(g(x)).
Distribute 1/3
a * 1/a=1
a * 1=a
a/c* b = a* b/c
Calculate quotient
Add terms
According to the instructions, the distance can be calculated using function d(h)=3h, where d is the distance between the projector and the wall and h is the height of the projected image.
We know that Diego wants to project an image 2 meters high, which means that h=2.
To determine the distance at which he should place the projector, we evaluate the function d at h=2.
This means that Diego should place the projector 6 meters away from the wall to get an image 2 meters high.
We are told that Diego placed the projector 7.2 meters away from the wall and we want to calculate the height of the projected image.
In other words, we need to find the value of h that produces a distance of 7.2 meters. This means that we are asked for what value of h the output d is equal to 7.2. d(h) = 7.2 To find the value of h, we will substitute 7.2 for d(h) in the function rule and solve the resulting equation for h.
We found that the output is 7.2 when h=2.4. In other words, if Diego places the projector 7.2 meters from the wall, the resulting projected image will be 2.4 meters high.
We know that Emily jogged for 25 minutes. Therefore, we need to evaluate the distance function at t=25 to determine how far from home she is at that moment.
After jogging for 25 minutes, Emily will be 3050 meters away from her house.
We are told that the stadium is 4026 meters from Emily's house and we want to calculate the amount of time time it would take her to get there. In other words, we need to find the value of t that produces a distance of 4026 meters in the function rule. In mathematical terms, we are asked for what value of t is the output d equal to 4026. d(t) = 4026 To find the value of t, we will substitute 4026 for d(t) into the function rule and solve the resulting equation for t.
We found that the output is 4026 when t=33. In other words, it would take Emily 33 minutes to jog from her house to the stadium.
We need to find the composition f(g(x)), so let's start by writing the corresponding function rules. f(x) & = 2x-5 [0.15cm] g(x) & = x+5/2+1 In this case, the required composition is equivalent to evaluating the function f(x) at g(x), which is done by substituting g(x) for x. Thus, let's do it!
Next, on the right-hand side, we substitute the x+52+1 for g(x) and simplify. Note that we do not need to make the substitution on the left-hand side expression.
In this case, we need to find the composition g(f(x)). We will proceed as in the previous part, but this time, in g(x)= x+52+1, we substitute x with f(x).
Next, on the right-hand side, we change f(x) for its function rule, which is 2x-5. Again, we do not need to make this change on the left-hand side expression.
We need to evaluate the functions we found in the previous parts at x=4. f(g(x)) &= x + 2 [1ex] g(f(x)) &= x + 1 Let's start with f(g(x)).
In a similar fashion, let's evaluate g(f(x)) at x=4.
Finally, we subtract g(f(4)) from f(g(4)). f(g(4)) - g(f(4)) = 6 - 5 ⇓ f(g(4)) - g(f(4)) = 1
Note that finding f(g(4)) is the same as finding g(4) and then, substituting the resulting value into f(x).
Now we have to evaluate f(x) at 112.
The value of g(f(4)) can be found by following the same procedure. We start by finding f(4).
Next, we evaluate g(x) at 3.
We have obtained that f(g(4))=6 and g(f(4))=5. Therefore, f(g(4)) - g(f(4)) = 1.
We need to find the composition f(g(x)). In this case, this is equivalent to evaluating the function f(x) at g(x), so let's do it.
Next, on the right-hand side, we substitute 3x+4 for g(x) and simplify.
In this case, we need to find the composition g(f(x)). We will proceed as in the previous part, but this time, in g(x)=3x+4, we substitute x for f(x).
Next, on the right-hand side, we change f(x) for its function rule, which is 6-7x.
We need to evaluate the functions we found in the previous parts at x=-1. f(g(x)) &= -21x - 22 [1ex] g(f(x)) &= -21x + 22 Let's start with f(g(x)).
In a similar fashion, let's evaluate g(f(x)) at x=-1.
Finally, let's add f(g(-1)) and g(f(-1)). f(g(-1)) + g(f(-1)) = -1 + 43 ⇓ f(g(-1)) + g(f(-1)) = 42
Having computed the compositions f(g(x)) and g(f(x)) is really helpful in order to find f(g(-1))+g(f(-1)). However, it can still be done without using the functions found in Parts A and B. Note that finding f(g(-1)) is the same as finding g(-1) and then substituting the resulting value into f(x).
Now we have to evaluate f(x) at 1.
We got that f(g(-1))=-1. The value of g(f(-1)) can be found following the same procedure. We will start by finding f(-1).
Next, we evaluate g(x) at 13.
Consequently, g(f(-1))=43. Therefore, f(g(-1)) + g(f(-1))=42.