Graphing Linear Inequalities in Two Variables: A How-To Guide
The process itself is straightforward but students tend to lose points on two specific details: solid versus dashed boundaries, and which half-plane to shade. You've probably seen the worksheet and thought it looks like every other graphing exercise until you hit problem seven and realize you aren't sure which side to fill in. Before I explain the method, here's something most guide-writers won't tell you: the shading direction doesn't actually depend on whether the inequality sign points left or right. It depends entirely on which side of the boundary line makes the statement true. Beginners memorize a mnemonic like "shade above for greater than" and then get tripped up when the variable coefficient is negative. I spent three weeks helping students who couldn't graph -2x + 3y 6 because their teacher had told them y > means shade up and they'd applied that blindly without checking whether isolating y flipped the sign. Here's how the process actually works step by step.
Step one: treat the inequality as an equation and graph the boundary line. If the sign is or , draw a solid line. This means points on the line are included in the solution set. If the sign is < or >, draw a dashed or dotted line. Those boundary points don't satisfy the strict inequality and shouldn't be considered part of the answer region. I've seen students lose points on graphing quizzes for using a solid line on a less-than-or-equal-to problem and vice versa. It's a careless mistake but one that costs marks every single semester. Step two: pick a test point that isn't on the boundary line. The origin (0, 0) works almost every time unless the boundary line passes through it. When the line goes through the origin, pick any other convenient point like (0, 1) or (1, 0) instead. Substitute those x and y values into the original inequality, not the rearranged version, and see if the statement comes out true or false. If it's true, shade the side containing your test point. If it's false, shade the opposite side. Here's where I want to share something from actual classroom practice. Last fall I was working with a student who kept choosing (0, 0) as her test point even though the line was 3x - 2y = 6. The line doesn't actually pass through the origin, but she'd simplified it incorrectly and thought it did. She ended up shading the wrong half-plane on every problem in that set. The fix was simple: before picking a test point, verify the boundary line's actual position by finding at least two intercepts and confirming whether (0, 0) satisfies the equation. If it does, don't use it as a test point. This usually adds about thirty seconds per problem but prevents the kind of systematic error that shows up on tests.
Step three: shade the correct half-plane. Once you know which side is the solution region, fill it in consistently. Use a pencil so you can erase if you second-guess yourself. The shaded area represents every ordered pair (x, y) that makes the original inequality true. Everything outside that region is not a solution. Now let me walk through a concrete example. Consider 2x - y > 4. First, graph the boundary line 2x - y = 4. Find the intercepts: when x = 0, y = -4, giving the point (0, -4). When y = 0, x = 2, giving the point (2, 0). Draw a dashed line through these two points because the original inequality uses a strict greater-than sign.
Get the Full Details

Next, test a point. (0, 0) isn't on the line, so substitute it: 2(0) - 0 > 4 simplifies to 0 > 4, which is false. This means (0, 0) is not in the solution set, so shade the side of the line that does not contain the origin. In this case, that's the region below and to the right of the line. Another thing worth noting that standard worksheets rarely emphasize: when both variables appear with coefficients, the test point method is almost always faster and less error-prone than trying to solve for y and determine shading direction by hand. Solving for y works fine for simple problems, but if you have something like -5x + 10y 20, you need to divide by a negative coefficient and flip the inequality sign. That single step is where most mistakes happen. I recommend the test point approach for anything where the y-coefficient isn't already 1 and positive. Let me address a common misconception directly. Some students believe that the shaded region represents the solutions to the equation on the line itself. It doesn't. The line is just the boundary. The inequality solution is the entire shaded half-plane, which contains infinitely many ordered pairs. Every single point inside that shaded area, when you plug its coordinates into the original inequality, produces a true statement. That's the definition of a solution region. If you're unsure whether your shading is correct, pick any point deep inside the shaded area and verify it satisfies the inequality. If it doesn't, you've shaded the wrong side.
There's also a practical limitation worth mentioning. Graphing inequalities by hand becomes unreliable when the boundary line is nearly vertical or nearly horizontal and the slope is very steep or very shallow. In those cases, small plotting errors can shift the line enough to make the shading decision ambiguous. If you're working with something like 0.3x + 0.1y
2, consider using a graphing tool or double-checking your intercept calculations. The test point method still works, but the visual representation on paper may not match what the algebra says exactly. For practice problems, the standard set includes variations like x 3, which produces a vertical solid line with shading to the right, and y
-2, which gives a horizontal dashed line with shading below. These are the warm-up problems that most textbooks put at the beginning of the section. The harder problems combine both variables with integer coefficients and require you to find intercepts and test points. The ones that actually trip people up are systems of inequalities where you need to find the overlapping shaded region between two or more half-planes. I'll save that for a separate explanation since it's a distinct skill set. If you're looking for printable worksheets matching this topic, most curriculum publishers offer them through their teacher portals. You can also find free versions on educational resource sites by searching for the section number from your textbook. The exercises are generally standardized across editions, so the practice problems will be functionally identical regardless of which publisher your school uses.
The bottom line is that graphing inequalities in two variables follows a repeatable three-step process. Graph the boundary line correctly with the right line style. Test a point not on the line to determine shading direction. Shade the appropriate half-plane. Most errors come from using the wrong line style or testing a point on the line itself. Avoid those two pitfalls and the method works consistently.