In the definition of a function, the term “dependent variable” refers to the second variable, which takes on values from the codomain of the function.

### Example

Consider the function *f* defined by the relationship *y* = 3*x* – 7. In this relationship, the variable *y* is the dependent variable and the variable *x* is the independent variable.