Skip to content
Gioi Toan
Start learning
Algebra tiles: one large square, two long bars and three small squares

What is Variable?

Short answer

A variable is a letter such as x, y, a, b in an algebraic expression, standing for any number and able to be replaced by different numbers.

Type
Definition
First learned
Grade 7
Also called
biến số
In English
variable

Explanation

A variable is a letter standing in place of a number in an algebraic expression. Each time you substitute a specific number for that letter, you get a value of the expression.

A variable helps write a general rule briefly. For example, the perimeter of a square with side aa is 4a4a, and this formula is true for every value of the variable aa.

In a function, the variable is the changing quantity, for example y=2xy = 2x, then xx is the variable and yy depends on xx.

Examples

Example 1

Calculate the value of the expression 3x+13x + 1 at x=2x = 2.

See the solution to example 1

Substitute x=2x = 2 into the expression: 3⋅2+1=73 \cdot 2 + 1 = 7.

Example 2

What is the perimeter of a square with side aa?

See the solution to example 2

The perimeter is 4a4a, where aa is the variable for the length of the side.

Common mix-ups

  • Trying one value of the variable and finding it true is not enough to conclude that it is true for every value of the variable.
  • In one expression, the same letter must be replaced by the same number; writing x+xx + x gives 2x2x, not two different numbers.

Learn it in these lessons