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
Consider the following three functions. f(x) &= 3x - 4 g(x) &= mx + 1 h(x) &= 3x + 1 Determine the value of g(3)- f(g(3)) given that g(h(x))=f(g(x)).
To find the required value, we need to know the explicit function rule of g(x), for which we have to know the value of m. g(x) = mx+1 We will use the fact that g(h(x))=f(g(x)) to find the value of m. Let's start by performing the left-hand side composition, which is equivalent to evaluating g(x) at h(x).
Next, on the right-hand side, we will substitute h(x) for its function rule.
Let's perform the composition f(g(x)) by following the same procedure.
Our next step is to equate the two expressions that we wrote. g(h(x))=f(g(x)) ⇓ 3mx + m + 1 = 3mx - 1 Finally, let's solve this equation for m. Note that the linear terms are equal, which means that they will cancel out.
We found that the value of m is -2. This allows us to write the explicit function rule of g(x). g(x) = -2x + 1 ✓ Finally, we can find the value of g(3)- f(g(3)). From the previous computations, we have that f(g(x))=3mx-1 and since m=-2, we get that f(g(x))=-6x-1. Now we are ready to find the required value.
Consider the function f(x)=ax + b, where a and b are real numbers. The function f(x) satisfies the following equation. f(f(f(x))) = 64x + 189 Determine the explicit function rule that defines f(x).
To determine the function rule that defines f(x), we need to find the values of a and b involved in the general form of f(x). f(x) = ax + b We can find these values by using the given equation. f(f(f(x))) = 64x + 189 The left-hand side of the equation implies that we need to perform the composition of f(x) with itself twice. Let's start by finding f(f(x)). To do so, we substitute f(x) for x in the general function rule.
Next, on the right-hand side, we will substitute ax+b for f(x).
To find f(f(f(x))), let's evaluate f(x) at f(f(x)). f( f(f(x))) = a f(f(x)) + b Now, on the right-hand side, we change f(f(x)) for the expression we found before.
We know that this last expression is equal to 64x + 189. In order for the expressions to be equal, the coefficients of the x-terms and the constant terms must be the same on both sides. Let's highlight them. a^3x + a^2b + ab + b = 64x+189 From this equation, a^3 has to be equal to 64 and a^2b+ab+b has to be equal to 189. The only number that makes a^3 equal to 64 is 4. 4^3 = 64 Therefore, a=4. With this information, we can find b.
Now that we know the values of a and b, we can write the function rule that defines f(x). f(x) = ax+b ⇒ f(x) = 4x + 9