Suppose the linear function represents the amount of money you have left to play video games, where is the amount of money you have left and is the number of video games that you have played so far. Do you know how to graph this function? What would be the slope and intercept of the graph? In this Concept, you'll learn how to graph linear functions like this one by finding the graph's slope and intercept.

### Guidance

You can see that the notation and are interchangeable. This means you can substitute the notation for and use all the concepts you have learned on linear equations.

#### Example A

This equation is in slope-intercept form. You can now graph the function by graphing the intercept and then using the slope as a set of directions to find your second coordinate.

#### Example B

Graph .

**Solution:** The first step is to rewrite the single fraction as two separate fractions.

This equation is in slope-intercept form. The intercept is at the ordered pair (0, ) and the slope is . Beginning at the intercept and using the slope to find a second coordinate, you get the graph:

**Analyzing Graphs of Real-World Linear Functions**

The previous graph, written by T. Barron and S. Katsberg from the University of Georgia http://jwilson.coe.uga.edu/emt668/EMAT6680.Folders/Barron/unit/Lesson%204/4.html, shows the relationship between the salary (in thousands of dollars) and the taxes paid (in thousands of dollars) in red. The blue function represents a direct variation situation in which the constant of variation (or the **slope**) is 0.30, or a 30% tax rate. This direct variation represents a flat tax of 30%.

The red line has three slopes. The first portion of the line from $0 to $15,000 has a slope of 0.20, or 20%. The second portion of the line from $15,000 to $45,000 has a slope of 0.25, or 25%. The slope of the portion of the line representing greater than $45,000 of salary is 0.35, or 35%.

#### Example C

Suppose you wanted to compare the amount of taxes you would pay if your salary was $60,000. If the blue line was and the red line was , then you would evaluate each function for .

Using the graph, and . Therefore, you would pay more taxes with the blue line tax rate than the red line tax rate. We will look at how to use graphs as a problem-solving strategy in the next Concept.

### Guided Practice

*Car A uses 15 gallons of gasoline to drive 2.5 hours. Write an equation for this function, graph it and use it to answer: How much gas would this car use if it were driving 30 minutes?*

**Solution:**

The car uses a certain number of gallons of gasoline per hour. That is a rate, and if you multiply it by a certain number of hours, it will tell you how many gallons are needed to drive that many hours. This can be written as a linear function, where the dependent variable is the number of gallons. In other words, the number of gallons needed depends on what length of time the car drives. Time in hours is the independent variable, .

The rate, which is the slope, is:

The function is then:

The graph looks like the following:

You can see in the graph that . Thus, to drive a half hour will require 3 gallons of gasoline.

You can also check that your graph was correct in the first place by seeing that one of the coordinate pairs is 2.5 hours and 15 gallons, which was originally given in the problem.

### Practice

Sample explanations for some of the practice exercises below are available by viewing the following video. Note that there is not always a match between the number of the practice exercise in the video and the number of the practice exercise listed in the following exercise set. However, the practice exercise is the same in both. CK-12 Basic Algebra: Linear Function Graphs (11:49)

(http://www.youtube.com/watch?v=EmTvdKkAUtE)

- The roasting guide for a turkey suggests cooking for 100 minutes plus an additional 8 minutes per pound.
- Write a function for the roasting time, given the turkey weight in pounds .
- Determine the time needed to roast a 10-lb turkey.
- Determine the time needed to roast a 27-lb turkey.
- Determine the maximum size turkey you could roast in hours.

- is the function used to convert Celsius to Fahrenheit. Find and explain what it represents.
- A prepaid phone card comes with $20 worth of calls. Calls cost a flat rate of $0.16 per minute. Write the value of the card as a function of minutes per call. Use a function to determine the number of minutes of phone calls you can make with the card.
- You can burn 330 calories during one hour of bicycling. Write this situation using as the function notation. Evaluate and explain its meaning.
- Sadie has a bank account with a balance of $650.00. She plans to spend $55 per week.
- Write this situation using function notation.
- Evaluate her account after 10 weeks. What can you conclude?

**Mixed Review**

- Simplify .
- Find the sum: .
- Simplify .
- Is the following situation an example of a function? Let
*salary*and*taxes paid.* - varies directly as , and when . Find the constant of variation.