Variables in algebra

Recommended for You

Not sure where to start? These are the lessons and games we recommend most to students, parents and teachers on Basic-mathematics.com. Each lesson explains the topic in plain language, walks you through worked examples step by step, and ends with practice so you can check your understanding. Pick one below, or use the menu to find lessons on fractions, algebra, geometry, statistics and more.

Variables in algebra are letters such as x, y, v, g, or call it any letter you want, that can be used to represent unknown numbers. 

Variables in algebra

Basically, whenever we do not know the value of a number, we use a variable until we figure out what the number is. The variables that we often use are x and y with x perhaps being the most popular.

Once the value of the variable is known, you can replace the variable or the letter with the known value.

In the figure above, x is a variable in the equation 3x - 4 = 11 because we have no idea what the value of x is at the moment.

Let us figure it out.

3x - 4 = 11

3x - 4 + 4 = 11 + 4

3x = 15

x = 15/5

x = 5

Now that we know the value of x, we can replace it in the equation with 5.

Notice that x represents a variable that has a value that cannot change. 

x will always equal to 5 for the equation 3x - 4 = 11.

You may have recognized the equation C = 2πr. It is the equation that we use to find the circumference of a circle.

This equation has two variables and these are r and C.

Unlike x in the equation 3x - 4 = 11 that has a value that cannot change, r and C can take on values that can change.

This makes sense since the radius of the circle (r) can be any length.

The value of the circumference (C) will change based of the value of r.

How to graph variables in algebra

Once you know the value of a variable, you can graph it since all numbers can be graphed on a number line. Just locate the value on the number line and put a dot. 

For example, graphing x  = 4 gives the following graph:

Other examples:

Graph x  = -6 on the number line.

Just locate -6 on the number line and draw a circle at -6.

Graph x = 0

Just locate 0 on the number line and draw a circle.

Now, write a statement of equality for each of the following graphs. Use x as the variable.

Graph #1:

Answer: x = -2

Graph # 2:

Answer: x = 8