top of page

Variable

What Is a Variable?

Variable definition

A variable is a letter or symbol that represents a value in maths. The value may be unknown, changing or general. In algebra, letters such as x, y, a and n are often used as variables. For example, in the expression 3x plus 5, x is a variable because it can stand for a number. If x changes, the value of the whole expression changes too.

Variables are useful because they allow one expression, equation or formula to describe many possible cases. Instead of writing a separate calculation for every number, a variable gives a general rule. For example, the formula area equals length times width uses variables because the length and width can change depending on the rectangle. The same formula works for all rectangles.

Variables are used in algebra, formulae, equations, graphs, functions, sequences, statistics, probability, science, finance and real-life modelling. At GCSE level, students use variables when simplifying expressions, solving equations, substituting values, rearranging formulae and drawing graphs. At A-Level, variables appear in functions, calculus, vectors, logarithms, trigonometry and advanced modelling.

A variable is different from a constant. A constant has a fixed value, such as 7 or -2. A variable can change or may not yet be known. In the expression 4x plus 9, x is the variable and 9 is the constant term. The number 4 is the coefficient because it multiplies the variable. Knowing these words helps students describe algebra accurately.

In equations, variables often represent unknown values that need to be found. For example, in x plus 6 equals 14, the variable x represents the unknown number. Solving the equation gives x equals 8. In other situations, a variable does not need one single answer. For example, y equals 2x plus 1 describes a relationship between two variables, x and y, with many possible pairs of values.

Variables are also important in graphs. On a coordinate graph, x often represents the horizontal variable and y represents the vertical variable. A rule such as y equals 3x shows how y depends on x. If x is 1, y is 3. If x is 2, y is 6. This makes variables powerful because they can describe changing relationships visually and algebraically.

Substitution is the process of replacing a variable with a given value. If x equals 5, then 2x plus 3 becomes 2 times 5 plus 3, which equals 13. Substitution helps students evaluate expressions, check solutions and use formulae. It also shows that variables are not mysterious letters; they are placeholders for values that can be used in calculations.

Related ideas include algebra, expression, equation, formula, coefficient, constant, substitution, function, sequence and graph. A clear definition of variable helps students understand why letters are used in maths. In exams, identify what the variable represents, keep variables and constants separate, and remember that a variable may stand for one unknown value or for a range of possible values.

bottom of page