Article Contents
- Independent Variable (Input)
- Dependent Variable (Output)
- Why "Dependent" and "Independent"?
- Variables in Function Notation
- Variables on a Graph
- Real-Life Examples
- Common Mistakes
- Interactive Exercises
The independent variable is the value we choose freely. It is the input of the function.
- Usually denoted by x
- Plotted on the horizontal axis (x-axis) of a graph
- We decide its value first
Example
In the function f(x)=3x−1, the variable x is independent. We can set x to any value we like:
x=0,x=2,x=−5,x=100
2. Dependent Variable (Output) {#dependent-variable}
The dependent variable is the result -- it depends on the input. It is the output of the function.
- Usually denoted by y or f(x)
- Plotted on the vertical axis (y-axis) of a graph
- Its value is determined by the function rule
Example
For f(x)=3x−1:
| Independent x | Calculation | Dependent y=f(x) |
| 0 | 3(0)−1 | −1 |
| 1 | 3(1)−1 | 2 |
| 2 | 3(2)−1 | 5 |
| −1 | 3(−1)−1 | −4 |
We chose x. The function determined y.
3. Why "Dependent" and "Independent"? {#why-dependent}
The names tell us which variable controls the other:
- Independent (x): "I am free -- nobody tells me what to be."
- Dependent (y): "I depend on x -- when x changes, I change too."
Analogy
Think of a light dimmer:
- The position of the dial = independent variable (you control it)
- The brightness of the light = dependent variable (it depends on the dial)
4. Variables in Function Notation {#variables-in-notation}
The notation y=f(x) tells us clearly which variable is which:
dependenty=f(independentx)
Different Letters, Same Idea
Functions can use any letters. The argument (inside parentheses) is always independent:
| Function | Independent | Dependent |
| f(x)=x2 | x | f(x) or y |
| g(t)=5t+2 | t | g(t) |
| h(n)=2n | n | h(n) |
| C(r)=2πr | r | C(r) |
The variable inside the parentheses is always the input (independent).
5. Variables on a Graph {#variables-on-graph}
On a coordinate graph:
- The horizontal axis shows the independent variable x
- The vertical axis shows the dependent variable y=f(x)
Each point on the graph represents one input-output pair: (x,f(x)).
To read a function value from the graph:
- Choose an x-value on the horizontal axis
- Go vertically up (or down) to the curve
- Read the y-value on the vertical axis
6. Real-Life Examples {#real-life-examples}
Example 1: Distance and Time
A car drives at 80 km/h. The distance d depends on time t:
d(t)=80t
- Independent: time t (hours) -- it passes on its own
- Dependent: distance d (km) -- changes as time goes on
Example 2: Age and Height
A child's height h changes with age a:
h=f(a)
- Independent: age a (years)
- Dependent: height h (cm)
Example 3: Workers and Time
If a job takes 120 person-hours, the time t depends on the number of workers w:
t(w)=w120
- Independent: number of workers w
- Dependent: time to finish t (hours)
7. Common Mistakes {#common-mistakes}
| Mistake | Correction |
| Thinking x is always independent | The context determines which variable is independent |
| Confusing f(x) with f⋅x | f(x) means "the value of function f at x", not multiplication |
| Assuming y can have any value | y is determined by the function rule -- it is not free |
8. Interactive Exercises {#interactive-exercises}
Practice identifying variables:
Summary
| Concept | Description |
| Independent variable | The input, chosen freely; usually x; horizontal axis |
| Dependent variable | The output, determined by the function; usually y or f(x); vertical axis |
| y=f(x) | x is independent, y is dependent |
| On a graph | x-axis = independent, y-axis = dependent |
Related Articles