Chapter 0 ยท Preparing for Geometry

Evaluating and Simplifying Expressions

Use the order of operations and substitution to evaluate expressions and geometric formulas, then simplify by distributing and combining like terms.

25 min read

You will compute expressions all through geometry, whenever you find a length, an area or a volume. A numerical expression combines numbers with operations, such as addition and multiplication, and has no equals sign. To evaluate an expression means to find the one number it names.

Take 2+3โ‹…42 + 3 \cdot 4. Adding first gives 2020, but multiplying first gives 1414. The meaning settles it: 3โ‹…43 \cdot 4 is three groups of 44, so the expression says 2+4+4+42 + 4 + 4 + 4, which is 1414. In the same way, a positive whole-number exponent tells how many times to use its base as a factor, so 323^2 means 3โ‹…33 \cdot 3. Exponents are built from multiplication, and whole-number multiplication is built from addition. That is why exponents come before multiplication, and multiplication comes before addition.

The order of operations keeps this pattern for all numbers. It is a convention, meaning an agreement, not a theorem, which is a statement you prove. Because everyone follows it, an expression has the same value for every reader.

The order of operations: work from the top row down.
RankOperationsHow to work
1
Grouping symbols: parentheses, brackets, fraction bars, square root signs
Finish each group first, innermost first. Inside a group, use this same order.
2
Exponents and roots
An exponent applies only to its base: the number, letter or group in parentheses just before it.
3
Multiplication and division
Same rank: work left to right. A divisor (the number you divide by) must be nonzero; division by zero is undefined.
4
Addition and subtraction
Same rank: work left to right.

Worked example

Evaluating a numerical expression

Evaluate 30โˆ’12รท2โ‹…3+(1+3)230 - 12 \div 2 \cdot 3 + (1 + 3)^2.

  1. Grouping symbols come first in the order of operations, so add inside the parentheses.

    30โˆ’12รท2โ‹…3+4230 - 12 \div 2 \cdot 3 + 4^2
  2. Exponents come next. By the definition of an exponent, the base 4 is used as a factor twice: 4 times 4 is 16.

    30โˆ’12รท2โ‹…3+1630 - 12 \div 2 \cdot 3 + 16
  3. Multiplication and division share a rank, so work left to right. The division comes first here. Its divisor, 2, is nonzero, so the division is defined.

    30โˆ’6โ‹…3+1630 - 6 \cdot 3 + 16
  4. Do the remaining multiplication, because it comes before addition and subtraction.

    30โˆ’18+1630 - 18 + 16
  5. Addition and subtraction share a rank, so work left to right: subtract first, then add.

    12+16=2812 + 16 = 28

Answer

The value of 30โˆ’12รท2โ‹…3+(1+3)230 - 12 \div 2 \cdot 3 + (1 + 3)^2 is 2828.

A variable is a letter that stands for a number. An algebraic expression is an expression with at least one variable, such as x2โˆ’2yx^2 - 2y. A number written next to a variable means multiplication, so 2y2y means 2โ‹…y2 \cdot y.

To evaluate an algebraic expression, you substitute: you replace each variable with its given value. The substitution property of equality makes this valid. It says that if two quantities are equal, you may replace one with the other in any expression without changing the expression's value. Write each value in parentheses so that it stays together as one number, and then follow the order of operations.

After you substitute, check each denominator, the bottom part of a fraction. A fraction bar means division, so a denominator is a divisor and must be nonzero. If a denominator equals 00, the expression is undefined for those values, which means it has no value to report.

Worked example

Substituting a negative value

Given x=โˆ’4x = -4 and y=2y = 2, evaluate x2โˆ’2yx+y\dfrac{x^2 - 2y}{x + y}.

  1. By the substitution property of equality, replace x with -4 and y with 2. Parentheses keep each value together as one number.

    (โˆ’4)2โˆ’2(2)(โˆ’4)+(2)\dfrac{(-4)^2 - 2(2)}{(-4) + (2)}
  2. A fraction bar is a grouping symbol, so finish the numerator (the top) and the denominator (the bottom) separately. In the numerator, the exponent comes first: -4 times -4 is 16, because the product of two negative numbers is positive.

    16โˆ’2(2)(โˆ’4)+(2)\dfrac{16 - 2(2)}{(-4) + (2)}
  3. In the numerator, multiply before you subtract.

    16โˆ’4(โˆ’4)+(2)=12(โˆ’4)+(2)\dfrac{16 - 4}{(-4) + (2)} = \dfrac{12}{(-4) + (2)}
  4. Add in the denominator to get -2. This is nonzero, so the fraction is defined. If y were 4 instead, the denominator would be 0 and the expression would be undefined.

    12โˆ’2\dfrac{12}{-2}
  5. Divide by the nonzero denominator. A positive number divided by a negative number is negative.

    12โˆ’2=โˆ’6\dfrac{12}{-2} = -6

Answer

When x=โˆ’4x = -4 and y=2y = 2, the expression has the value โˆ’6-6.

Key concept

One expression, one value

Once every variable has a value and every operation is defined, which requires every denominator to be nonzero, an expression names exactly one number. Substitution puts the values in, and the order of operations makes that number the same for everyone. The rest of this lesson builds on this idea: measures in geometry come from expressions like these, and rewriting an expression must never change the number it names.

A formula is an equation that shows how to compute one quantity from others. You evaluate a formula the same way you evaluate any algebraic expression, with substitution and the order of operations. The difference is that the values are now measures, so three more habits apply:

  • Use only values that are given or marked. Never take a measure from how a drawing looks.
  • Check that each length, area and volume is positive, and that each denominator is nonzero. A coordinate may be negative, because it names a position rather than a measure.
  • Keep the units. Lengths use units such as cm\text{cm}, areas use square units such as cm2\text{cm}^2, and volumes use cubic units such as cm3\text{cm}^3.

The symbol ฯ€\pi is not a variable. It names one fixed number, about 3.141593.14159. Keep it as a factor for an exact answer, or replace it with a decimal for an approximate answer.

Worked example

Evaluating a volume formula

Given: a cone has a circular base with radius r=3r = 3 cm and a height of h=8h = 8 cm, measured perpendicular to the base. Find: its volume from V=13ฯ€r2hV = \frac{1}{3}\pi r^2 h, as an exact value and rounded to the nearest tenth.

  1. Check the given values. A radius and a height are lengths, so both must be positive, and they are. The only denominator, 3, is nonzero.

    r=3>0,h=8>0r = 3 > 0, \quad h = 8 > 0
  2. Substitute the values, using the substitution property of equality.

    V=13ฯ€(3)2(8)V = \frac{1}{3}\pi(3)^2(8)
  3. The exponent comes before multiplication in the order of operations.

    V=13ฯ€(9)(8)V = \frac{1}{3}\pi(9)(8)
  4. Only multiplication remains. The commutative and associative properties of multiplication let you reorder and group the number factors.

    V=(13โ‹…9โ‹…8)ฯ€=(3โ‹…8)ฯ€=24ฯ€V = \left(\frac{1}{3} \cdot 9 \cdot 8\right)\pi = (3 \cdot 8)\pi = 24\pi
  5. Keep the exact value, then replace pi with about 3.14159 and round to the nearest tenth. Square centimeters times centimeters give cubic centimeters. The result is positive, as a volume must be.

    V=24ฯ€ย cm3โ‰ˆ75.4ย cm3V = 24\pi\text{ cm}^3 \approx 75.4\text{ cm}^3

Answer

The cone's volume is exactly 24ฯ€24\pi cubic centimeters, which is about 75.475.4 cubic centimeters.

Other formulas, same routine. Values are given, denominators are nonzero, and each result is a positive measure.
MeasureFormulaGiven valuesSubstituteEvaluate
Perimeter of a rectangle with length โ„“\ell and width ww
P=2(โ„“+w)P = 2(\ell + w)
โ„“=7\ell = 7 m, w=4w = 4 m
P=2(7+4)P = 2(7 + 4)
P=2(11)=22P = 2(11) = 22 m
Area of a triangle with base bb and height hh to that base
A=12bhA = \frac{1}{2}bh
b=10b = 10 cm, h=6h = 6 cm
A=12(10)(6)A = \frac{1}{2}(10)(6)
A=5(6)=30ย cm2A = 5(6) = 30\text{ cm}^2
Area of a circle with radius rr
A=ฯ€r2A = \pi r^2
r=5r = 5 m
A=ฯ€(5)2A = \pi(5)^2
A=25ฯ€ย m2โ‰ˆ78.5ย m2A = 25\pi\text{ m}^2 \approx 78.5\text{ m}^2
Distance between points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2)
d=(x2โˆ’x1)2+(y2โˆ’y1)2d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}
(x1,y1)=(โˆ’1,2)(x_1, y_1) = (-1, 2), (x2,y2)=(2,6)(x_2, y_2) = (2, 6)
d=(2โˆ’(โˆ’1))2+(6โˆ’2)2d = \sqrt{(2 - (-1))^2 + (6 - 2)^2}
d=32+42=9+16=25=5d = \sqrt{3^2 + 4^2} = \sqrt{9 + 16} = \sqrt{25} = 5 units

You can also rewrite an expression without changing the number it names. Two expressions are equivalent when they have the same value for all values of the variables where both are defined, so no denominator equals 00. To simplify an expression in this lesson means to write an equivalent expression with no parentheses left to multiply out and with all like terms combined.

A term is a number, a variable, or a product of numbers and variables. Addition and subtraction signs outside grouping symbols separate terms, and a subtraction sign stays with the term after it, so 6xโˆ’4x6x - 4x has the terms 6x6x and โˆ’4x-4x. The number factor in a term is its coefficient. Like terms have the same variables with the same exponents. You can combine them because they count the same kind of thing: 3x+2x3x + 2x is three groups of xx plus two groups of xx, which makes five groups of xx, or 5x5x.

TermsLike terms?Reason
6x6x and โˆ’4x-4x
Yes
Same variable, same exponent: xx to the first power
2x22x^2 and 7x27x^2
Yes
Same variable, same exponent: xx to the second power
55 and โˆ’3-3
Yes
Both are numbers with no variable
2x22x^2 and 2x2x
No
Same variable, but the exponents are 22 and 11
3x3x and 3y3y
No
Different variables

Distributing has a meaning you can picture. Imagine a rectangle with width aa and length b+cb + c, where all three are positive. Its area is a(b+c)a(b + c). Cut it into two rectangles with the same width aa and with lengths bb and cc. Their areas are abab and acac. The Area Addition Postulate, a statement accepted without proof, says that a region's area is the sum of the areas of its non-overlapping parts. So the two results must match.

This rectangle shows the meaning only for positive lengths. The general fact is the distributive property, a basic property of numbers that is also accepted without proof. It holds for all real numbers aa, bb and cc, which means any numbers on the number line, including negatives and zero:

a(b+c)=ab+aca(b + c) = ab + ac

Read from left to right, this equation removes parentheses, which is called distributing: 2(x+3)=2x+62(x + 3) = 2x + 6. Read from right to left, it collects a shared factor, which is how like terms combine: 3x+2x=(3+2)x=5x3x + 2x = (3 + 2)x = 5x. You add the coefficients and keep the variable part. The commutative property of multiplication, ab=baab = ba, lets the shared factor stand on either side.

Subtraction fits too. By the definition of subtraction, bโˆ’c=b+(โˆ’c)b - c = b + (-c), so a(bโˆ’c)=a(b+(โˆ’c))=abโˆ’aca(b - c) = a(b + (-c)) = ab - ac.

Worked example

Distributing and combining like terms

Given: the expression 2x(x+3)โˆ’4(xโˆ’5)2x(x + 3) - 4(x - 5). Find: an equivalent simplified expression. Then check it at x=2x = 2.

  1. By the definition of subtraction, subtracting a number means adding its opposite. So the outside factor is -4, and x - 5 is x + (-5).

    2x(x+3)+(โˆ’4)(x+(โˆ’5))2x(x + 3) + (-4)(x + (-5))
  2. Use the distributive property from left to right on each product.

    2xโ‹…x+2xโ‹…3+(โˆ’4)(x)+(โˆ’4)(โˆ’5)2x \cdot x + 2x \cdot 3 + (-4)(x) + (-4)(-5)
  3. Multiply each pair, grouping number factors by the commutative and associative properties. By the definition of an exponent, x times x is x squared. Two negative factors give a positive product, and adding -4x is written as subtracting 4x.

    2x2+6xโˆ’4x+202x^2 + 6x - 4x + 20
  4. The terms 6x and -4x are like terms. Use the distributive property from right to left to combine them. The term with x squared has a different exponent, so it stays separate, and so does the number 20.

    2x2+(6โˆ’4)x+20=2x2+2x+202x^2 + (6 - 4)x + 20 = 2x^2 + 2x + 20
  5. Check the original expression at x = 2, using substitution and the order of operations.

    2(2)((2)+3)โˆ’4((2)โˆ’5)=4(5)โˆ’4(โˆ’3)=20+12=322(2)((2) + 3) - 4((2) - 5) = 4(5) - 4(-3) = 20 + 12 = 32
  6. Evaluate the simplified expression at x = 2. Both values are 32, so the check finds no mistake.

    2(2)2+2(2)+20=8+4+20=322(2)^2 + 2(2) + 20 = 8 + 4 + 20 = 32

Answer

The simplified form of 2x(x+3)โˆ’4(xโˆ’5)2x(x + 3) - 4(x - 5) is 2x2+2x+202x^2 + 2x + 20, and the check at x=2x = 2 gives 3232 for both forms.

Here is the central idea: an expression names one number once its variables have values and its operations are defined. To find that number, substitute each value in parentheses, check that denominators are nonzero and measures are positive, and follow the order of operations. To simplify, distribute and combine like terms. The new form looks different, but it names the same number wherever both forms are defined.