Files
freeCodeCamp/guide/english/mathematics/dependent-and-independent-variables/index.md
Oluwafunmito Blessed 509e57d381 update index.md with article (#26915)
* update index.md with article

added article for dependent and independent variables.

* fix: remove stub info
2019-06-24 15:04:58 -07:00

24 lines
1.6 KiB
Markdown

---
title: Dependent and Independent Variables
---
## Dependent and Independent Variables
Before talking about dependent and independent variables, it would be necessary to define what a *variable* is.
In simple terms, a variable is any thing that is liable to change. In order words, it is not consistent and does not have a fixed pattern.
In science and mathematics, variables are often used to represent real world quantities that are unknown or can change. For example, if I earn $10 for every hour of work I do, how much I have at the end of the week will be determined by how many hours of work I did during that week. How many hours of work I do and how much I earn are both variables but one of them depends on the other.
An *independent variable* is one that is changed or controlled in a scientific experiment. It represents the cause or reason for an outcome. The *dependent variable* variable on the other hand is the variable that is being tested or measured in the experiment.
In the above example, my *independent variable* is the `number of hours` of work I do. I have total control over it and directly changing it cahnges the *dependent variable*, which is `how much I would have earned` at the end of the week.
#### More Information:
* [Khan Academy](https://www.khanacademy.org/math/pre-algebra/pre-algebra-equations-expressions/pre-algebra-dependent-independent/a/dependent-and-independent-variables-review)
* [Sciencing](https://sciencing.com/meaning-variables-research-6164255.html)
* [Thoughtco](https://www.thoughtco.com/independent-and-dependent-variables-differences-606115)