We have changed our privacy policy. In addition, we use cookies on our website for various purposes. By continuing on our website, you consent to our use of cookies. You can learn about our practices by reading our privacy policy.

Independent and Dependent Variables at a Glance

Let's take a closer look at how independent and dependent variables work by working through some examples.

Sample Problem

Jim gets paid $10 per hour. The amount Jim gets paid in a week depends on the number of hours he works that week. If all he did was put in two hours shelving books at the library, he'll barely be able to afford to buy a book. Good thing he works at the library.

On the other hand, if he works 12-hour days in the assembly line of an automobile factory, he can afford to buy all the books he wants. Same rate (input), different pay (output). 

What's an equation that represents his pay?

Let's say p represent the amount Jim gets paid in a week, and h represent the number of hours Jim works that week. That means we can set up the following equation:

p = 10h

The letters p and h are called variables because they're not fixed numbers. This fact reminds us: be sure to have your numbers spayed or neutered. The quantity h varies because Jim may work a different number of hours each week. The quantity p varies because p depends on h.

Example 1

Tara throws a party every month. She's a little desperate for attention. The number of cupcakes she bakes for her guests depends on how many kids will be at the party. Tara likes to have two cupcakes per kid. She would also like to have some adult friends, but good luck with that, Tara. How should we express this situation algebraically?



Exercise 1

Ruth gets $2 every time she helps her dad gather sticks in the yard. Apparently, there's a major stick epidemic in their neighborhood. Let t be the number of times Ruth helps her dad gather sticks in the yard, and let R be the amount of money Ruth gets for picking up the sticks. What's an equation that shows the relationship between R and t?