Variable (Mathematics)

What Does Variable (Mathematics) Mean?

In mathematics, a variable is a quantity that can change. Letters are used to represent these changing, unknown quantities.

Advertisements

Einstein’s famous equation E = MC2 uses the following variables:
1. E for the amount of energy produced,
2. M for the amount of mass used, and
3. C2 to represent the speed of light squared.

Variables, unknown quantities, are the opposite of constants, which are known, unchanging amounts.

Techopedia Explains Variable (Mathematics)

Variables can be independent or dependent. Dependent and independent variables are commonly used in statistical studies and to control (to some degree) the outcomes of experiments. In the simple equation y = 2x, the letter x can be any real number. The value of y is completely dependent on the value chosen for x, and is always twice as much. Thus, x is the independent variable, and y is the dependent variable.

Variables are also used in computer programming. Typically, variables are assigned a data type, like numerical, alphabetical, image, array or video clips. Variables are also assigned memory locations. The data in the location can change during the execution of the program but the when the variable is encountered in the program, the computer substitutes the information in the correct memory location for the variable.

Advertisements

Related Terms

Latest Privacy and Compliance Terms

Related Reading

Margaret Rouse

Margaret Rouse is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical, business audience. Over the past twenty years her explanations have appeared on TechTarget websites and she's been cited as an authority in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine and Discovery Magazine.Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages. If you have a suggestion for a new definition or how to improve a technical explanation, please email Margaret or contact her…