Using Variables and Algebraic Notation

Learning Outcomes

  • Use variables to represent unknown quantities in algebraic expressions
  • Identify the variables and constants in an algebraic expression
  • Use symbols and words to represent algebraic operations on variables and constants
  • Use inequality symbols to compare two quantities
  • Translate between words and inequality notation

Use Variables and Algebraic Symbols

Greg and Alex have the same birthday, but they were born in different years. This year Greg is [latex]20[/latex] years old and Alex is [latex]23[/latex], so Alex is [latex]3[/latex] years older than Greg. When Greg was [latex]12[/latex], Alex was [latex]15[/latex]. When Greg is [latex]35[/latex], Alex will be [latex]38[/latex]. No matter what Greg’s age is, Alex’s age will always be [latex]3[/latex] years more, right?

In the language of algebra, we say that Greg’s age and Alex’s age are variable and the three is a constant. The ages change, or vary, so age is a variable. The [latex]3[/latex] years between them always stays the same, so the age difference is the constant.

In algebra, letters of the alphabet are used to represent variables. Suppose we call Greg’s age [latex]g[/latex]. Then we could use [latex]g+3[/latex] to represent Alex’s age. See the table below.

Greg’s age Alex’s age
[latex]12[/latex] [latex]15[/latex]
[latex]20[/latex] [latex]23[/latex]
[latex]35[/latex] [latex]38[/latex]
[latex]g[/latex] [latex]g+3[/latex]

Letters are used to represent variables. Letters often used for variables are [latex]x,y,a,b,\text{ and }c[/latex].

Variables and Constants

A variable is a letter that represents a number or quantity whose value may change.
A constant is a number whose value always stays the same.

To write algebraically, we need some symbols as well as numbers and variables. There are several types of symbols we will be using. Earlier, you were introduced to the symbols for the four basic arithmetic operations: addition, subtraction, multiplication, and division. We will summarize them here, along with words we use for the operations and the result.

Operation Notation Say: The result is…
Addition [latex]a+b[/latex] [latex]a\text{ plus }b[/latex] the sum of [latex]a[/latex] and [latex]b[/latex]
Subtraction [latex]a-b[/latex] [latex]a\text{ minus }b[/latex] the difference of [latex]a[/latex] and [latex]b[/latex]
Multiplication [latex]a\cdot b,\left(a\right)\left(b\right),\left(a\right)b,a\left(b\right)[/latex] [latex]a\text{ times }b[/latex] The product of [latex]a[/latex] and [latex]b[/latex]
Division [latex]a\div b,a/b,\frac{a}{b},b\overline{)a}[/latex] [latex]a[/latex] divided by [latex]b[/latex] The quotient of [latex]a[/latex] and [latex]b[/latex]

In algebra, the cross symbol, [latex]\times [/latex], is no longer used to show multiplication because that symbol may cause confusion with the letter x, or variable [latex]x[/latex]. Does 3xy mean [latex]3\times y[/latex] (three times [latex]y[/latex] ) or [latex]3\cdot x\cdot y[/latex] (three times [latex]x\text{ times }y[/latex] )? To make it clear to everyone, we use a • or parentheses to represent multiplication in algebra.

We perform these operations on two numbers. When translating from symbolic form to words, or from words to symbolic form, pay attention to the words of or and to help you find the numbers.

  • The sum of [latex]5[/latex] and [latex]3[/latex] means add [latex]5[/latex] plus [latex]3[/latex], which we write as [latex]5+3[/latex].
  • The difference of [latex]9[/latex] and [latex]2[/latex] means subtract [latex]9[/latex] minus [latex]2[/latex], which we write as [latex]9 - 2[/latex].
  • The product of [latex]4[/latex] and [latex]8[/latex] means multiply [latex]4[/latex] times [latex]8[/latex], which we can write as [latex]4\cdot 8[/latex].
  • The quotient of [latex]20[/latex] and [latex]5[/latex] means divide [latex]20[/latex] by [latex]5[/latex], which we can write as [latex]20\div 5[/latex].

Exercises

Translate from algebra to words:

  1. [latex]12+14[/latex]
  2. [latex]\left(30\right)\left(5\right)[/latex]
  3. [latex]64\div 8[/latex]
  4. [latex]x-y[/latex]

Solution:

1.
[latex]12+14[/latex]
[latex]12[/latex] plus [latex]14[/latex]
the sum of twelve and fourteen
2.
[latex]\left(30\right)\left(5\right)[/latex]
[latex]30[/latex] times [latex]5[/latex]
the product of thirty and five
3.
[latex]64\div 8[/latex]
[latex]64[/latex] divided by [latex]8[/latex]
the quotient of sixty-four and eight
4.
[latex]x-y[/latex]
[latex]x[/latex] minus [latex]y[/latex]
the difference of [latex]x[/latex] and [latex]y[/latex]

TRY IT

When two quantities have the same value, we say they are equal and connect them with an equal sign.

Equality Symbol

[latex]a=b[/latex] is read [latex]a[/latex] is equal to [latex]b[/latex]
The symbol [latex]=[/latex] is called the equal sign.

An inequality is used in algebra to compare two quantities that may have different values. The number line can help you understand inequalities. Remember that on the number line the numbers get larger as they go from left to right. So if we know that [latex]b[/latex] is greater than [latex]a[/latex], it means that [latex]b[/latex] is to the right of [latex]a[/latex] on the number line. We use the symbols [latex]\text{<}[/latex] and [latex]\text{>}[/latex] for inequalities.

[latex]a<b[/latex] is read [latex]a[/latex] is less than [latex]b[/latex]
[latex]a[/latex] is to the left of [latex]b[/latex] on the number line

The figure shows a horizontal number line that begins with the letter a on the left then the letter b to its right.
[latex]a>b[/latex] is read [latex]a[/latex] is greater than [latex]b[/latex]
[latex]a[/latex] is to the right of [latex]b[/latex] on the number line

The figure shows a horizontal number line that begins with the letter b on the left then the letter a to its right.

The expressions [latex]a<b\text{ and }a>b[/latex] can be read from left-to-right or right-to-left, though in English we usually read from left-to-right. In general,

[latex]\begin{array}{l}a<b\text{ is equivalent to }b>a.\text{ For example, }7<11\text{ is equivalent to }11>7.\hfill \\ a>b\text{ is equivalent to }b<a.\text{ For example, }17>4\text{ is equivalent to }4<17.\hfill \end{array}[/latex]

When we write an inequality symbol with a line under it, such as [latex]a\le b[/latex], it means [latex]a<b[/latex] or [latex]a=b[/latex]. We read this [latex]a[/latex] is less than or equal to [latex]b[/latex]. Also, if we put a slash through an equal sign, [latex]\ne[/latex], it means not equal.

We summarize the symbols of equality and inequality in the table below.

Algebraic Notation Say
[latex]a=b[/latex] [latex]a[/latex] is equal to [latex]b[/latex]
[latex]a\ne b[/latex] [latex]a[/latex] is not equal to [latex]b[/latex]
[latex]a<b[/latex] [latex]a[/latex] is less than [latex]b[/latex]
[latex]a>b[/latex] [latex]a[/latex] is greater than [latex]b[/latex]
[latex]a\le b[/latex] [latex]a[/latex] is less than or equal to [latex]b[/latex]
[latex]a\ge b[/latex] [latex]a[/latex] is greater than or equal to [latex]b[/latex]

Inequality Symbols [latex]<[/latex] and [latex]>[/latex]

The symbols [latex]<[/latex] and [latex]>[/latex] each have a smaller side and a larger side.

smaller side [latex]<[/latex] larger side

larger side [latex]>[/latex] smaller side

The smaller side of the symbol faces the smaller number and the larger faces the larger number.

Exercises

Translate from algebra to words:

  1. [latex]20\le 35[/latex]
  2. [latex]11\ne 15 - 3[/latex]
  3. [latex]9>10\div 2[/latex]
  4. [latex]x+2<10[/latex]

TRY IT

In the following video we show more examples of how to write inequalities as words.

Exercises

The information in the table below compares the fuel economy in miles-per-gallon (mpg) of several cars. Write the appropriate symbol [latex]\text{=},\text{<},\text{ or }\text{>}[/latex] in each expression to compare the fuel economy of the cars.

(credit: modification of work by Bernard Goldbach, Wikimedia Commons)

This table has two rows and six columns. The first column is a header column and it labels each row. The first row is labeled "Cars" , and the second row is labeled "fuel economy (mpg)". The second column shows a Prius, which gets 48 miles per gallon (mpg). The third column shows a Mini Cooper, which gets 27 miles per gallon. The fourth column shows a Toyota Corolla, which gets 28 miles per gallon. The fifth column shows a Versa, which gets 26 miles per gallon. The last (sixth) column shows a Honda Fit, which gets 27 miles per gallon.
  1. MPG of Prius_____ MPG of Mini Cooper
  2. MPG of Versa_____ MPG of Fit
  3. MPG of Mini Cooper_____ MPG of Fit
  4. MPG of Corolla_____ MPG of Versa
  5. MPG of Corolla_____ MPG of Prius

 

TRY IT

Grouping Symbols

Grouping symbols in algebra are much like the commas, colons, and other punctuation marks in written language. They indicate which expressions are to be kept together and separate from other expressions.

The table below lists three of the most commonly used grouping symbols in algebra.

Common Grouping Symbols
parentheses ( )
brackets [ ]
braces { }

Here are some examples of expressions that include grouping symbols. We will simplify expressions like these later in this section.

[latex]\begin{array}{cc}8\left(14 - 8\right)21 - 3\\\left[2+4\left(9 - 8\right)\right]\\24\div \left\{13 - 2\left[1\left(6 - 5\right)+4\right]\right\}\end{array}[/latex]