In calculus, a function is a map whose action is specified on variables. Take "x" and "y" to be two variables. A function "f" may map "x" to some expression in "x". Assigning gives a relation between "y" and "x". If there is some relation specifying "y" in terms of "x", then y is known as a dependent variable (and "x" is an independent variable).