an independent variable is the variable that is changed or controlled in a experiment to test the effects on the dependent variable. A dependent variable is the variable being tested and measured. so like is math. the input variable is the independent variable. the output is the dependent variable because it depends on the input variables.