<meta http-equiv="refresh" content="1; url=/nojavascript/"> Definition of Variable | CK-12 Foundation
You are reading an older version of this FlexBook® textbook: CK-12 Algebra I Concepts Go to the latest version.

# 1.1: Definition of Variable

Difficulty Level: At Grade Created by: CK-12
%
Progress
Practice Definition of Variable
Progress
%

What if you had a jar filled with dimes and quarters? You know that the total of the coins in the jar is $8.60. How could you write an equation to represent this situation? After completing this Concept, you'll be able to use variables to write equations like this one with unknown quantities. ### Watch This ### Guidance No one likes doing the same problem over and over again—that’s why mathematicians invented algebra. Algebra takes the basic principles of math and makes them more general, so we can solve a problem once and then use that solution to solve a group of similar problems. In arithmetic, you’ve dealt with numbers and their arithmetical operations (such as $+, \ -, \ \times, \ \div$ ). In algebra, we use symbols called variables (which are usually letters, such as $x, \ y, \ a, \ b, \ c, \ \ldots$ ) to represent numbers and sometimes processes. For example, we might use the letter $x$ to represent some number we don’t know yet, which we might need to figure out in the course of a problem. Or we might use two letters, like $x$ and $y$ , to show a relationship between two numbers without needing to know what the actual numbers are. The same letters can represent a wide range of possible numbers, and the same letter may represent completely different numbers when used in two different problems. Using variables offers advantages over solving each problem “from scratch.” With variables, we can: • Formulate arithmetical laws such as $a + b = b + a$ for all real numbers $a$ and $b$ . • Refer to “unknown” numbers. For instance: find a number $x$ such that $3x + 1 = 10$ . • Write more compactly about functional relationships such as, “If you sell $x$ tickets, then your profit will be $3x - 10$ dollars, or “ $f(x) = 3x - 10$ ,” where “ $f$ ” is the profit function, and $x$ is the input (i.e. how many tickets you sell). #### Example A Write an algebraic equation for the perimeter and area of the rectangle below. To find the perimeter, we add the lengths of all 4 sides. We can still do this even if we don’t know the side lengths in numbers, because we can use variables like $l$ and $w$ to represent the unknown length and width. If we start at the top left and work clockwise, and if we use the letter $P$ to represent the perimeter, then we can say: $P = l + w + l + w$ We are adding $2 \ l$ ’s and $2 \ w$ 's, so we can say that: $P = 2 \cdot l + 2 \cdot w$ It's customary in algebra to omit multiplication symbols whenever possible. For example, $11x$ means the same thing as $11 \cdot x$ or $11 \times x$ . We can therefore also write: $P = 2l + 2w$ Area is length multiplied by width . In algebraic terms we get: $A = l \times w \to A = l \cdot w \to A = lw$ Note: $2l + 2w$ by itself is an example of a variable expression ; $P = 2l + 2w$ is an example of an equation . The main difference between expressions and equa tions is the presence of an equa ls sign (=). In the above example, we found the simplest possible ways to express the perimeter and area of a rectangle when we don’t yet know what its length and width actually are. Now, when we encounter a rectangle whose dimensions we do know, we can simply substitute (or plug in ) those values in the above equations. In this chapter, we will encounter many expressions that we can evaluate by plugging in values for the variables involved. #### Example B Eric has some money in his savings account. How much more money does he need in order to buy a game that costs$98?

Solution:

Let $M$ be the money that Eric still needs and let $S$ be the money that Eric has in his savings account. Then, by subtracting the money he already has from the total money needed, we can figure out how much money he still needs:

$M=98-S.$

#### Example C

Write an equation for the sum of 3 times some number and 5.

Solution:

Let $S$ be the total sum. Let $n$ be some number. Then 3 times some number is $3\cdot n$ and then the sum of that and 5 is:

$S=3n+5.$

Watch this video for help with the Examples above.

### Vocabulary

• We use symbols called variables (which are usually letters, such as $x, \ y, \ a, \ b, \ c, \ \ldots$ ) to represent numbers and sometimes processes.
• $2l + 2w$ by itself is an example of a variable expression ; $P = 2l + 2w$ is an example of an equation . The main difference between expressions and equa tions is the presence of an equa ls sign (=).

### Guided Practice

Alex has a certain amount of nickels and dimes in a jar. Write an algebraic equation for how much money she has, in terms of how many nickles and dimes she has.

Solution:

Let $n$ be the number of nickels and $d$ be the number of dimes that Alex has in the jar. Since each nickel is worth $0.05, the amount of money she has in nickels will be: $0.05\cdot n$ Since each dime is worth$0.10, the amount of money she has in dimes will be:

$0.10\cdot d$

This means that the total amount of money $M$ that Alex has will be:

$M=0.05 \cdot n +0.10 \cdot d.$

Simplifying the expressions, we get:

$M=0.05n +0.10d.$

### Practice

For 1-4, write the following in a more condensed form by leaving out a multiplication symbol.

1. $2 \times 11x$
2. $1.35 \cdot y$
3. $3 \times \frac { 1 } { 4 }$
4. $\frac { 1 } { 4 } \cdot z$

For 5-10, write an equation for the following situations.

1. The amount of money Andrea has in a jar full of quarters and dimes.
2. The amount of money Michelle has in her coin purse if it only contains quarters, dimes and pennies.
3. The sum of 7 and 6 times some number.
4. 4 less than 20 times some number.
5. The amount of money you will earn if you are paid $10.25 an hour and spend$4.00 round trip to get too and from work.
6. A father earns a \$2000 dividend from an oil investment and distributes it equally amongst his children.

## Date Created:

Aug 13, 2012

Nov 25, 2014
Files can only be attached to the latest version of Modality