Let , where . Since is determined via by (as is a function of the variable ), we say is the dependent variable, since finding a value for requires a value of , i.e. "depends on" . Since does not depend on any other variables, we say it is an independent variable.
In contextual applications, the independent variable is often a known or discoverable/measurable quantity, while the dependent variable is unknown or desired to be predicted.