Independent and dependent variables describe the roles of two changing quantities in a relationship: the independent variable is the input or quantity selected, while the dependent variable is the output whose value depends on it. In linear relationships, these roles are identified from a context, table, graph, or equation and represented by the horizontal and vertical axes respectively; the labels need not always be and , and dependence does not by itself establish causation.
On this page:
When two quantities change together, identify their roles by asking:
In a graph, the independent variable goes on the horizontal axis and the dependent variable goes on the vertical axis. The variables do not have to be called and .
Example: A taxi charges a starting fee of $3 plus $2 for each kilometre travelled. The relationship is
where is the distance travelled in kilometres and is the total fare in dollars.
Step 1: Find the input.
The number of kilometres, , is the quantity that can be selected or measured first. This is the independent variable.
Step 2: Find the output.
The fare, , changes according to the distance. This is the dependent variable.
Step 3: Label the graph, if needed.
For example, if ,
So travelling kilometres results in a fare of $11. The fare depends on the distance, so is independent and is dependent. This describes how the quantities are related; it does not automatically prove that one causes the other.
Click a topic below to practice the foundational skills you'll need, learn the steps, or master this skill
Earned ?
Print this free 'Identify independent and dependent variables' worksheet to practice this skill away from the computer. Click 'Modify' to easily customize this worksheet to your exact needs.
These adaptive units introduce, teach, or reinforce this skill (Identify independent and dependent variables) through scaffolded problems that grow in difficulty as concepts are understood.