Sign In
| | 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.
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.
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.
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.
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.
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.
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.
| 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.