## Putting It Together: The Rectangular Coordinate System and Equations of Lines

Now that you have become familiar with the rectangular coordinate system, you are ready to consider the problem posed at the beginning of the module:

Caroline wants to take a spring break trip that will cost approximately $2,500. • How many hours will she have to work to earn enough to pay for her vacation? • If she can only work 4 hours per day, how many days per week will she have to work? • How many weeks will it take? The amount Caroline has at any given time depends on the number of hours she works. If you write an equation that models the amount of money in her account at a given time, you will be able to answer the questions posed above. Begin by recalling what you know: • Caroline has a job that pays$15.00/hr
• She is starting with an initial deposit in her savings account of $400. Next, choose a variable to represent the number of hours, such as $h$. Her savings account balance is equal to the amount Caroline earns from working plus the initial deposit. You can calculate the total amount Caroline gets paid by multiplying the amount per hour by the number of hours, $15h$. Now you can write your equation: Savings account balance = amount earned from working + initial deposit Savings account balance = $15h+400$ Now that you have an equation, you can determine how many hours Caroline needs to work to earn$2500

Savings account balance =$15h+400$

$2500=15h+400$

$2100=15h$

$140=h$

So Caroline needs to work 140 hours to have enough money for her trip. Okay, we are making progress now.

The next question asked you to determine how many days per week Caroline would have to work if she can work only 4 hours per day. How can you find the number of days if you know the total number of hours and the number of hours per day?  Divide!

$\frac{140}{4}=35$

Caroline will have to work 35 days to reach her goal. Since there are 7 days in a week, she will need to work 5 weeks, assuming she works every day.

Now you have answered all the questions, but you can enhance your solution by considering the second way to look at this problem—creating and analyzing a graph. You were provided a graph at the beginning of the module, but now you can create the graph for yourself. Go back to the equation you wrote to represent the problem.

Savings account balance = $15h+400$

You can set the savings account balance as $y$ and the number of hours as $x$.

$y=15x+400$

Then you can create a table of points using the equation.

 $x$ $y=15x+400$ $y$ $(x, y)$ 0 $y=15\left(0\right)+400$ 400 (0, 400) 10 $y=15\left(10\right)+400$ 550 (10, 550) 20 $y=15\left(20\right)+400$ 700 (20, 700) 30 $y=15\left(30\right)+400$ 850 (30, 850)

Plot the points in the table and then connect them. Congratulations, you created the graph you saw at the beginning of the module!

The slope, or slant, of the line is determined by the equation.

$y=mx+b$

$y=15x+400$

So the slope is 15 and depends on the amount Caroline earns per hour.  How do you think the graph would change if she were paid a different rate? If she were paid less, the line would be less steep and if she were paid more, the line would be steeper. Both would affect how long it would take her to reach her goal as indicated by the orange line.

The orange horizontal line is the line $y=2500$ because that is the amount Caroline needs for her trip. How can you tell the number of hours she needs to work just by looking at the graph? The point at which the two lines intersect gives the answer. So find that point on the graph and then trace down to the x-axis. You wind up at 140 hours which is exactly what you calculated earlier.

Another nice feature of the graph is that you can see how much Caroline has after any number of hours worked and how many hours she has left to go. For example, suppose Caroline has worked 40 hours. How much savings does she have? To figure it out, find 40 hours on the x-axis and then trace vertically up to the line. Read left to the y-axis to find that she has $1000 dollars. Every point on the graph relates a number of hours worked to the amount in her savings account. So the point you just looked at, (40, 1000), relates 40 hours to$1000. The point Caroline needs to get to, (140, 2500) relates 140 hours of work to her goal of \$2,500. Now there is only one thing left to do. Caroline needs to get to work so she can enjoy her spring break vacation!