What if the paycheck for your summer job were represented by the algebraic expression 10h+25, where h is the number of hours you work? If you worked 20 hours last week, how could you find the value of your paycheck? After completing this Concept, you'll be able to evaluate algebraic expressions like this one.
CK-12 Foundation: 0102s evaluate algebraic expressions
When we are given an algebraic expression, one of the most common things we might have to do with it is evaluate it for some given value of the variable. The following example illustrates this process.
Let x=12. Find the value of 2x−7.
To find the solution, we substitute 12 for x in the given expression. Every time we see x, we replace it with 12.
Note: At this stage of the problem, we place the substituted value in parentheses. We do this to make the written-out problem easier to follow, and to avoid mistakes. (If we didn’t use parentheses and also forgot to add a multiplication sign, we would end up turning 2x into 212 instead of 2 times 12!)
Let y=−2. Find the value of 7y−11y+2.
Many expressions have more than one variable in them. For example, the formula for the perimeter of a rectangle in the introduction has two variables: length (l) and width (w). In these cases, be careful to substitute the appropriate value in the appropriate place.
The area of a trapezoid is given by the equation A=h2(a+b). Find the area of a trapezoid with bases a=10 cm and b=15 cm and height h=8 cm.
To find the solution to this problem, we simply take the values given for the variables a, b, and h, and plug them in to the expression for A:
A=h2(a+b)Substitute 10 for a, 15 for b, and 8 for h.A=82(10+15)Evaluate piece by piece. 10+15=25; 82=4.A=4(25)=100
The area of the trapezoid is 100 square centimeters.
Watch this video for help with the Examples above.
CK-12 Foundation: Evaluate Algebraic Expressions
- When given an algebraic expression, one of the most common things we might have to do with it is evaluate it for some given value of the variable. We substitute the value in for the variable and simplify the expression.
Let x=3 and y=−2. Find the value of 3xy+6y−2x.
Evaluate 1-8 using a=−3, b=2, c=5, and d=−4.
For 9-11, the weekly cost C of manufacturing x remote controls is given by the formula C=2000+3x, where the cost is given in dollars.
- What is the cost of producing 1000 remote controls?
- What is the cost of producing 2000 remote controls?
- What is the cost of producing 2500 remote controls?