Variable (mathematics)
Adapted from Wikipedia · Adventurer experience
A variable in mathematics is a symbol, often a letter, that stands for something we don’t know yet or that can change. Variables help us work with numbers and ideas without needing exact values right away. For example, in the equation x + 2 = 5, the letter x is a variable. It represents the number we need to find to make the equation true.
Variables are useful because they let us create general rules and solve many problems with the same steps. They can stand for numbers, points, shapes, or even groups of things. Variables help us see patterns and how changing one thing affects another.
The values a variable can take are often numbers, such as the real numbers. Sometimes variables stand for fixed but unknown numbers, called parameters. Other times they represent what we need to find, called an unknown. Variables also appear in functions, where they show how one value depends on another, like y = f(x).
Even common symbols can act as variables. For instance, the Greek letter π usually means the special number about 3.14159, but sometimes it stands for something else entirely. This flexibility makes variables a powerful tool in many areas of mathematics.
History
Main articles: History of algebra and History of mathematical notation
The idea of using symbols for unknown numbers started a very long time ago. Ancient people, like the Egyptians, solved problems with unknowns by telling stories about them.
Later, in ancient Greece, math was often done with shapes and pictures. Sometimes they used letters to name points or shapes. In the Middle East, mathematicians began using special symbols for unknowns in equations. This made math more like how we do it today.
In the 1600s, mathematicians started using letters for numbers in equations. One mathematician used vowel letters for unknowns and consonant letters for known numbers. Another famous mathematician, René Descartes, suggested using the letters x, y, and z for unknowns, which we still use today.
Specific kinds of variables
Variables can play different roles in math problems. In the cubic equation
a x3 + b x2 + c x + d = 0,
a, b, c, and d are numbers we already know, called parameters or coefficients. The variable x is what we’re trying to find out, called an unknown.
When we talk about functions, the variable is often the input to the function. For example, in a function f where f(x) shows how f changes with x, x is the variable. Sometimes, other numbers stay the same and are called constants.
There are special names for variables depending on their role:
- An unknown is a variable we solve for in an equation.
- An indeterminate appears in polynomials.
- A parameter is a fixed number in a problem.
- A random variable is used in probability theory.
In science, we often have dependent and independent variables. An independent variable is one we can change on our own, like time. A dependent variable changes because of the independent variable, like temperature. Which one is which depends on what we’re studying.
Moduli spaces
When we study constants and variables, we can explore something called moduli spaces. For example, let's look at the equation for a parabola: y = a x2 + b x + c. In this equation, a, b, and c are like fixed numbers that shape the parabola, while x and y change and show the points on the parabola.
If a, b, and c could also change, each different set of values would give us a new parabola. All these possible parabolas can be thought of as points in a special space called a moduli space of parabolas. This helps us see how different shapes relate to each other.
This article is a child-friendly adaptation of the Wikipedia article on Variable (mathematics), available under CC BY-SA 4.0.
Images from Wikimedia Commons. Tap any image to view credits and license.
Safekipedia