Learning Objectives: At the end of this lesson, you should be able to evaluate functions
Solution for Example 3
To find š 1 and š ā2, evaluate them separately and then subtract the results. š 1 = 30, š ā2 = -8. Therefore, š 1 ā š ā2 = 30 - (-8) = 38
Evaluating Functions
To evaluate a function means to replace (or substitute) the variable in the function with a given number or expression. In simplifying a series of operations, we use the GEMDAS Rule
Solution for Example 1
The expression š 2 means evaluating the function š š„ = 2š„ + 7 using š„ = 2. Replace š„ in the function with 2: š 2 = 2(2) + 7 = 4 + 7 = 11
Solution for Example 2
The expression š ā3 means evaluating the function š š„ = š„0 + 4š„ ā 5 using ļæ½ļæ½ = ā3. Replace ļæ½ļæ½ with ā3: šā3 = ā3(0) + 4(-3) - 5 = -8
In the previous examples, we evaluated functions by replacing the variable in the function by a number. In some cases, we evaluate a function by replacing the variable in the function by some expressions
Evaluating š 1
1. š š„ = 3 š„ + 9
2. š 1 = 3 1 + 9 = 3 10 = 30
If š» š = š ļæ½ļæ½ ā š and ļæ½ļæ½ ļæ½ļæ½ = ļæ½ļ潚ļæ½ļæ½ ā šš + š, what is the value of š» š ā š½ āš ?
To solve for šš„ + ā, we need to replace the variable š„ in the function š š„ = š„0 +4š„ ā 6 with the expression š„ + ā. š š„ + ā = š„ + ā 0 + 4 š„ + ā ā 6
Evaluating Functions
In order to find the value š 1 ā š ā2, we need to evaluate ļæ½ļæ½ 1 and ļæ½ļæ½ ā2 separately, and then subtract the results
Example 5
Given that š š„ = š„0 + 4š„ ā 6, solve for šš„ + ā
Solution for Example 4
The expression š 2š„ + 1 means that we are going to replace the variable š„ in the function š š„ = 3š„ + 4 with 2š„ + 1. ļæ½ļæ½ 2ļæ½ļæ½ + 1 = 3 2š„ + 1 +4 =6š„ + 3 + 4 = 6š„ + 7
The Wealth of Nations was written
1776
Given that ļæ½ļæ½ š = šļæ½ļæ½ ā ļæ½ļ潚 + š, solve for š š + š
To solve for šš„ + ā, we need to replace the variable š„ in the function š š„ = š„0 +4š„ ā 6 with the expression š„ + ā
Evaluating š 2
1. Identify the location of š„ =2
2. Locate where š„ = 2 lies in the piecewise function
3. Identify the value of š 2 by using the expression 5š„0 + 4
Solving for š š„ + ā
1. Replace š„ in š š„ = š„0 + 4š„ ā 6 with š„ + ā
2. Simplify the algebraic expression to get the result š š„ + ā = š„0 + 2āš„ + ā0 + 4š„ + 4ā ā 6 = š„š + šāš„ + āš + šš„ + šā ā š
Evaluating š 0
Identify the location of š„ =0 in the piecewise function
In the next examples, we are going to learn how to evaluate piecewise functions
Given the piecewise function š š„ = E š„F + 1, if š„ ā¤ 1, evaluate š 2 and š 0