topic badge

1.01 Algebraic expressions

Algebraic expressions

An expression is a mathematical statement that contains one or more numbers and variables joined together by operators and grouping symbols. An expression does not contain an equal sign or inequality symbol.

An algebraic expression is an expression that includes at least one variable.

Variable

A symbol used to represent an unknown quantity

Example:

Expression: 3x-y+2

Variables: x and y

Term

A number, variable, product, or quotient in an expression of sums and/or differences

Example:

Expression: 3x-y+2

Terms: 3x,\,-y and 2

Coefficient

The numerical factor in a term

Example:

Expression: 3x-y+1

Coefficient: 3

Constant term

A term that has a fixed value and as a result does not contain a variable

Example:

Expression: 3x-y+2

Constant: 2

Like terms

Terms that have the same variables and exponents

Example:

Expression:

3x+5x^2 -2x -8

Terms:

3x,\,5x^2,\,-2x,\, and -8

Like terms: 3x and -2x

Like terms: 2x^{3}y and 6x^{3}y

Exponent

The number of times the base is used as a factor

Example:

2^3

The exponent is 3

Base

The number that is used in the repeated multiplication indicated by an exponent

Example:

2^3

The base is 2

Factor

A number or expression that another number or expression can be divided by with no remainder

Example:

2x\left(x+1\right)

The factors are 2,\,x,\, and (x+1)

Exploration

In order to write an expression that can be used to model the total cost of buying new school supplies, Mr. Okware defines the following variables:

Let x represent the cost of a folder, y represent the cost of a calculator, and z represent the cost of a pencil pack.

  1. What could the following expressions represent in this context?

    • x+y
    • x+y+z
    • 5y
    • 2x+10z
    • x+3y+4z
    • 4\left(4x + y + 2z\right)
  2. In this context, what do the coefficients describe?

  3. What expressions could we write that wouldn't make sense in this context?

Expressions and parts of expressions, like factors and coefficients, all have unique meanings in a given context. Viewing expressions in parts and as a whole while paying attention to the quantities represented by the variables can explain the relationships described by the expressions.

We can use algebra tiles to help us visualize algebraic expressions. The tile x represents an unknown number. The tile +1 represents adding one unit and -1 represents subtracting one unit.

Table with x tiles and +1 -1 tiles.

This table demonstrates how expressions can be built using the tiles:

A table with column titles: Word expression, Algebraic expression, Representative with algebra tiles. Ask your teacher for more information.

Examples

Example 1

Create a model using algebra tiles for the following algebraic expression:

-7 + 5(1-3x)

Worked Solution
Create a strategy

Algebra tiles use tiles with +1, -1, +x, and -x to represent the individual terms. The number outside of the parentheses for the distributive property represents how many groups of identical expressions will be made.

Apply the idea

We will need the -x, +1, and -1 tiles to make our model. The 5 outside of the parentheses means we will need 5 groups of 1-3x.

Seven -1 algebra tiles, five rows or groups each consisting of one +1 tile and three -x tiles.

Example 2

Vincenzo runs a removalist company that charges \$ 37.50 per hour plus a one-off truck hire fee of \$ 150.00.

Write an expression that models how much he charges for a job that lasts a hours.

Worked Solution
Create a strategy

We need to look at the two values that affect the price of the job; the cost per hour of \$ 37.50 and the truck hire fee of \$ 150.00.

For each hour worked, Vincenzo charges an additional \$37.50. Let's consider a few cases:

Cost of working 1 hour: \$150+\$37.50

Cost of working 2 hours: \$150+\$37.50+\$37.50

Cost of working 3 hours: \$150+\$37.50+\$37.50+\$37.50

Notice that for each additional hour worked, we add an additional \$37.50. Multiplication is repeated addition, so we can multiply \$37.50 by the number of hours instead of adding repeatedly.

Apply the idea

Since the \$150 is a one-time fee, this value will remain constant. Next, we multiply \$37.50 by the number of hours which is a.

\text{Cost: } 37.5a+150

Reflect and check

For this problem, we would replace a with the number of hours Vincenzo works on a particular job, and the result would be the amount of money he makes on that job.

Example 3

If the area of a square is given by the expression (2x - 1)^2, explain what 2x-1 represents in the context of the problem.

Worked Solution
Create a strategy

First, we need to remember the formula for the area of a square.

We know that the area of a square is given by s^2 where s represents the side length.

Apply the idea
\displaystyle \text{Area}\displaystyle =\displaystyle s^2
\displaystyle =\displaystyle (2x-1)^2

Therefore, we have:

\displaystyle s\displaystyle =\displaystyle 2x-1

This shows that s which represents the side length is given by 2x-1. Thus, the side length of the square is 2x-1.

Reflect and check

From here, we could easily use algebraic expressions to determine the perimeter or other useful measurements of the square.

Idea summary

Expressions can be used to represent mathematical relationships. In an expression, sums often represent totals, coefficients and factors represent multiplication, and exponents represent repeated multiplication. When interpreting an expression in context, we can use the units to help understand the meaning.

Evaluate expressions

In life, the order in which we do things is important. For example, we put on socks then shoes, rather than shoes and then socks.

The order of operations tells us the steps to evaluate expressions with multiple operations, so that the same numerical result is achieved. The order goes:

  1. Complete all operations within grouping symbols such as brackets [\ldots], parentheses (\ldots) or absolute values |\ldots|. If there are grouping symbols within other grouping symbols, do the innermost operation first.
  2. Evaluate all exponents, such as squares and cubes.
  3. Multiply and/or divide in order from left to right.
  4. Add or subtract in order from left to right.

We often want to substitute values for the variables in an algebraic expression. That way we can evaluate the expression to yield a numerical result.

As an example, a concession stand sells bags of popcorn for \$2.50 each and hot dogs for \$1.50 each. The total cost of buying p bags of popcorn and h hot dogs can be represented by the expression 2.50p + 1.50h.

Riley goes the concession stand every Saturday and buys 2 bags of popcorn and 4 hot dogs for her friends, and wants to determine the total cost of her order 3 Saturdays in a row.

Since the same order will be repeated 3 times, the distributive property will be used to rewrite the expression. By substituting the values p=2 and h=4 into the new expression, we see that

\displaystyle \text{Total Spent}\displaystyle =\displaystyle 3\left(2.50p+1.50h\right)Rewrite expression.
\displaystyle =\displaystyle 3\left(2.50 \cdot 2 +1.50 \cdot 4 \right)Substitute values
\displaystyle =\displaystyle 3(5+6)Evaluate the multiplication
\displaystyle =\displaystyle 3 \cdot 11Evaluate the addition

The total cost of Riley's purchase is \$33.

Examples

Example 4

Evaluate: \left(u+v\right) \left(w-y\right)when u=5,\,v=8,\,w=2,\, and y=10.

Worked Solution
Create a strategy

We will replace each variable in the expression with their given value. Then we will use the order of operations to evaluate the numerical expression.

Apply the idea
\displaystyle \left(u+v\right) \left(w-y\right)\displaystyle =\displaystyle \left(5+8\right) \left(2-10\right)Substitute u=5,\,v=8,\,w=2,\, and y=10
\displaystyle \text{ }\displaystyle =\displaystyle \left(13\right)\left(-8\right)Evaluate the operations in the parentheses
\displaystyle \text{ }\displaystyle =\displaystyle -104Evaluate the multiplication

Example 5

Find the value of: \dfrac{x^2}{3}+\dfrac{y^3}{2}when x=-4 and y=3.

Worked Solution
Create a strategy

We will replace each variable in the expression with their given value. Then we will use the order of operations to evaluate the numerical expression.

Apply the idea
\displaystyle \dfrac{x^2}{3}+\dfrac{y^3}{2}\displaystyle =\displaystyle \dfrac{\left(-4\right)^2}{3}+\dfrac{3^3}{2}Substitute x=-4 and y=3
\displaystyle \text{ }\displaystyle =\displaystyle \dfrac{16}{3}+\dfrac{27}{2}Evaluate the exponents
\displaystyle \text{ }\displaystyle =\displaystyle \dfrac{16\cdot2}{3\cdot2} + \dfrac{27\cdot3}{2\cdot3}Find a common denominator
\displaystyle \text{ }\displaystyle =\displaystyle \dfrac{32}{6} + \dfrac{81}{6}Evaluate the multiplication
\displaystyle \text{ }\displaystyle =\displaystyle \dfrac{113}{6}Evaluate the addition
Reflect and check

We can apply the order of operations to problems with any type of real number such as integers, fractions, or decimals.

Example 6

For x=5 and y=4, evaluate: \sqrt{2x^2+4y+6}correct to two decimal places.

Worked Solution
Create a strategy

We will replace each variable in the expression with their given value. Then we will use the order of operations to evaluate the numerical expression.

Apply the idea
\displaystyle \sqrt{2x^2+4y+6}\displaystyle =\displaystyle \sqrt{2\left(5\right)^2+4\left(4\right)+6}Substitute x=5 and y=4
\displaystyle =\displaystyle \sqrt{2\left(25\right)+4\left(4\right)+6}Evaluate the exponent
\displaystyle =\displaystyle \sqrt{50+16+6}Evaluate the multiplication
\displaystyle =\displaystyle \sqrt{72}Evaluate the addition
\displaystyle =\displaystyle 8.49Use a calculator to calculate the square root
Idea summary

Substitute the given value for each variable and then apply the order of operations:

  1. Complete all operations within grouping symbols such as brackets [\ldots], parentheses (\ldots) or absolute values |\ldots|. If there are grouping symbols within other grouping symbols, do the innermost operation first.
  2. Evaluate all exponents such as squares and cubes.
  3. Multiply and/or divide in order from left to right.
  4. Add or subtract in order from left to right.

Outcomes

A.EO.1

The student will represent verbal quantitative situations algebraically and evaluate these expressions for given replacement values of the variables.

A.EO.1a

Translate between verbal quantitative situations and algebraic expressions, including contextual situations.

A.EO.1b

Evaluate algebraic expressions which include absolute value, square roots, and cube roots for given replacement values to include rational numbers, without rationalizing the denominator.

What is Mathspace

About Mathspace