Xpress Taxi Service charges $1.50 per minute traveled minus $0.25 per minute spent in stopped traffic. You only have $10 in your wallet, so that is the maximum amount you can spend on your ride. In which quadrant(s) would the graph represented by this situation fall?

### Graphing Inequalities

Graphing linear inequalities is very similar to graphing lines. First, you need to change the inequality into slope-intercept form. At this point, we will have a couple of differences. If the inequality is in the form or , the line will be dotted or dashed because it is not a part of the solution. If the line is in the form or , the line will be solid to indicate that it is included in the solution.

The second difference is the shading. Because these are inequalities, not just the line is the solution. Depending on the sign, there will be shading above or below the line. If the inequality is in the form or , the shading will be below the line, in reference to the axis.

If the inequality is in the form or , the shading will be above the line.

Let's graph the following inequalities.

First, change the inequality into slope-intercept form. Remember, that if you have to divide or multiply by a negative number, you must flip the inequality sign.

Now, graph the inequality as if it was a line. Plot . However, the line will be dashed because of the “greater than” sign.

Now, we need to determine the shading. You can use one of two methods to do this. The first way is to use the graphs and forms from above. The equation, in slope-intercept form, matches up with the purple dashed line and shading. Therefore, we should shade above the dashed blue line.

The alternate method would be to test a couple of points to see if they work. If a point is true, then the shading is over that side of the line. If we pick (-5, 0), the inequality yields , which tells us that our shading is correct.

This inequality is already in slope-intercept form. So, graph the line, which will be solid, and then determine the shading. Looking at the example graphs above, this inequality should look like the red inequality, so shade below the line.

Test a point to make sure our shading is correct. An easy point in the shaded region is (0, 0). Plugging this into the inequality, we get , which is true.

Let's determine the linear inequality that is graphed below.

Find the equation of the line portion just like you've done before. The given points on the line are (0, 8) and (6, 2) (from the points drawn on the graph). This means that the intercept is (0, 8). Then, using slope triangles we fall 6 and run 6 to get to (6, 2). This means the slope is or -1. Because we have a dotted line and the shading is above, our sign will be the > sign. Putting it all together, the equation of our linear inequality is .

When finding the equation of an inequality, like above, it is easiest to find the equation in slope-intercept form. To determine which inequality sign to use, look at the shading along the axis. If the shaded values get larger, the line will be in the form or or . If they get smaller, the line will be in the form or .

### Examples

#### Example 1

Earlier, you were asked to find which quadrant(s) into which the graph represented by the situation would fall.

To solve this taxi cab problem, we must first set up an inequality to represent the situation.

You can't travel a negative number of miles or sit in traffic for a negative number of minutes. Therefore both *x* and *y* must have zero or positive values. When both *x* and *y* are positive, the graph occurs in the first quadrant only. Graph the function to check this answer.

#### Example 2

Graph .

First, change the inequality into slope-intercept form.

Now, we need to determine the type of line and shading. Because the sign is “<,” the line will be dashed and we will shade below.

Test a point in the shaded region to make sure we are correct. If we test (6, -6) in the original inequality, we get , which is true.

#### Example 3

Graph .

To graph this line on the plane, recall that all vertical lines have the form . Therefore, we will have a vertical *dashed* line at -1. Then, the shading will be to the left of the dashed line because that is where will be less than the value of the line.

#### Example 4

What is the equation of the linear inequality?

Looking at the line, the intercept is (0, 1). Using a slope triangle, to count down to the next point, we would fall 4, and run backward 1. This means that the slope is . The line is solid and the shading is above, so we will use the sign. Our inequality is .

### Review

Graph the following inequalities.

Determine the equation of each linear inequality below.

### Answers for Review Problems

To see the Review answers, open this PDF file and look for section 2.11.