Math Core

Lesson 5.4 · Expressions

Evaluating expressions

An expression like 2g+152g + 15 describes a phone bill for any amount of data. But when the bill arrives, you want an actual number. Finding that number is called evaluating the expression.

Substitute, then simplify

How to evaluate an expression

  1. Substitute: replace each variable with its value. Put the value in parentheses so you remember to multiply.
  2. Simplify: follow the order of operations.

For example, to evaluate 2g+152g + 15 when g=8g = 8, write 2(8)+152(8) + 15. Multiply first to get 16+15=3116 + 15 = 31. The bill is $31.

Common mistake

When a number replaces a variable next to a coefficient, you must multiply, not just write the digits side by side. If g=8g = 8, then 2g2g is 2×8=162 \times 8 = 16, not 28. Writing 2(8)2(8) with parentheses keeps you from making this mistake.

Worked example: One variable, with an exponent

Evaluate 3x2+43x^2 + 4 when x=5x = 5.

3x2+4=3(5)2+4substitute=3(25)+4exponent first=75+4multiply=79add\begin{aligned} 3x^2 + 4 &= 3(5)^2 + 4 && \text{substitute} \\ &= 3(25) + 4 && \text{exponent first} \\ &= 75 + 4 && \text{multiply} \\ &= 79 && \text{add} \end{aligned}

The exponent belongs to xx only, so you square 5 before multiplying by 3.

Worked example: Two variables

Evaluate a+b4+ab\dfrac{a + b}{4} + ab when a=9a = 9 and b=3b = 3.

a+b4+ab=9+34+(9)(3)substitute=124+27top of the fraction; multiply=3+27divide=30add\begin{aligned} \dfrac{a + b}{4} + ab &= \dfrac{9 + 3}{4} + (9)(3) && \text{substitute} \\ &= \dfrac{12}{4} + 27 && \text{top of the fraction; multiply} \\ &= 3 + 27 && \text{divide} \\ &= 30 && \text{add} \end{aligned}

Fractions and decimals

Variables can stand for fractions and decimals, too. The steps are exactly the same.

Worked example: A fraction value

Evaluate 6y−16y - 1 when y=23y = \dfrac{2}{3}.

6y−1=6(23)−1=123−1=4−1=36y - 1 = 6\left(\dfrac{2}{3}\right) - 1 = \dfrac{12}{3} - 1 = 4 - 1 = 3

Formulas

A formula is an expression (or equation) that gives a rule for finding a quantity. Many formulas come from geometry. Evaluating a formula works just like evaluating any expression.

quantityformula
area of a rectangleA=ℓwA = \ell w (length times width)
perimeter of a rectangleP=2ℓ+2wP = 2\ell + 2w
area of a squareA=s2A = s^2
volume of a cubeV=s3V = s^3
distance traveledd=rtd = rt (rate times time)

Worked example: Perimeter of a rectangle

A garden is 12.512.5 meters long and 88 meters wide. Use P=2ℓ+2wP = 2\ell + 2w to find its perimeter.

P=2(12.5)+2(8)=25+16=41P = 2(12.5) + 2(8) = 25 + 16 = 41

The perimeter is 41 meters.

A rectangle 12.5 m long and 8 m wide.

Tip

After you evaluate, ask yourself if the answer makes sense. A garden that is about 12 m by 8 m should have a perimeter a bit more than 2(12)+2(8)=402(12) + 2(8) = 40 meters. An answer of 41 fits.

Practice

Practice 1

Evaluate 4n+34n + 3 when n=5n = 5.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 2

Evaluate k6+2\dfrac{k}{6} + 2 when k=30k = 30.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 3

Evaluate 2x2+42x^2 + 4 when x=4x = 4.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 4

Evaluate 5a−2b5a - 2b when a=9a = 9 and b=6b = 6.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 5

Evaluate 8m+38m + 3 when m=12m = \dfrac{1}{2}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 6

Evaluate p+q2+pq\dfrac{p + q}{2} + pq when p=1.5p = 1.5 and q=6q = 6.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 7

The volume of a cube is V=s3V = s^3. Find the volume, in cubic centimeters, of a cube with edges 77 cm long.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 8

A car travels at a rate of 65 miles per hour. Use d=rtd = rt to find how many miles it travels in 2.52.5 hours.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.