Pick any two points on the boundary line to get the slope and y-intercept, then look at whether the line is dashed or solid and which side is shaded. Those three details — slope, y-intercept, and shading direction — turn a picture into an inequality in slope-intercept form. Solid lines include the boundary and use ≤ or ≥; dashed lines exclude it and use < or >. Testing a single point, usually the origin, resolves the final sign reliably in under a minute once you've done it a few times.

The tricky part isn't the arithmetic. It's reading direction correctly. A line falling from left to right has a negative slope even when the shading sits above it, and a test point that lands on the line tells you nothing. Below, each step is broken out with the on-screen moves you'd make in Desmos or on graph paper, plus the failure cases that trip up students on quizzes.

Step 1: Label Two Boundary Points and Compute the Slope

Start by picking two points where the boundary line crosses grid intersections. Clean integer coordinates matter here — a point at (2, 3) is useful, a point at (2.4, 2.9) is not. Once you have two readable points, apply the slope formula: m equals the change in y divided by the change in x.

For example, a line passing through (0, 1) and (3, 3) has m = (3 − 1) / (3 − 0) = 2/3. That fraction is the slope regardless of which points you chose, because collinear points produce the same ratio. If your two chosen points give 4/6, simplify to 2/3 and check it against a third point before trusting it.

Verify with a third point whenever you can. A line intended to be y = 2x − 1 might look like it passes through (0, −1), (1, 1), and (2, 3), and all three confirm m = 2. If a third point disagrees, either the graph is imprecise, the line is not actually straight through those intersections, or you misread a coordinate sign — usually the leftmost point's x-value.

Watch for negative slopes. A line through (0, 4) and (2, 0) gives m = (0 − 4) / (2 − 0) = −2. Students often flip the sign because the line visually slopes "down," but the arithmetic already handles that. Trust the subtraction.

Step 2: Read the Y-Intercept Directly Off the Vertical Axis

The y-intercept is where the boundary crosses the y-axis, which is the vertical line at x = 0. Find that crossing and read the value — that's your b in y = mx + b. It's the fastest piece of information on the graph and rarely requires arithmetic.

In the same example line through (0, 1) and (3, 3), the crossing sits at (0, 1), so b = 1 and the boundary equation is y = (2/3)x + 1. You now have the full line equation. Everything that follows depends on whether that line is solid or dashed and which side is shaded.

If the boundary crosses at a non-integer (say, halfway between 2 and 3), check whether the grid has finer subdivisions before guessing. A 0.5 offset is common in textbook problems; a 0.3 offset usually means you're looking at an imprecise sketch, and the intended answer uses a whole number or a simple fraction like 1/3 that the grid can't show clearly.

A line that appears not to cross the y-axis at all — a vertical line like x = 3 — has no y-intercept in the y = mx + b sense. Vertical boundaries are written separately as x < 3, x ≤ 3, x > 3, or x ≥ 3, and slope is undefined. Horizontal lines behave normally: y = 4 has slope 0 and intercept 4.

Step 3: Decide Solid vs. Dashed Before You Touch the Inequality Signs

A solid boundary means points on the line satisfy the inequality, which corresponds to ≤ or ≥. A dashed boundary means the line itself is excluded, which corresponds to < or >. This mapping is fixed and never varies — no textbook or exam board uses the opposite convention.

Students swap this constantly because solid feels "stricter" and therefore more likely to mean strict inequality. That intuition runs backward. Solid = inclusive = ≤/≥. Dashed = exclusive = </>. Write it on a sticky note until it sticks.

Dashes can be faint in low-resolution printed graphs, so look at the physical line: if pixels or ink are consistently interrupted, treat it as dashed. In Desmos, the boundary appears as a solid line by default for both ≤ and < unless the default renderer draws strict inequalities dashed — check the styling panel if unsure, or plot a known strict inequality like y < x and feel out the renderer's convention visually.

Horizontal and vertical boundaries follow the identical rule. A dashed horizontal line at y = −2 becomes y < −2 or y > −2 depending on shading; a solid vertical line at x = 1 becomes x ≤ 1 or x ≥ 1. The solid-dash test applies universally.

Step 4: Use a Test Point to Lock the Sign and Shading Direction

With the boundary equation and the solid/dash status in hand, pick a point clearly inside the shaded region and substitute it. If the resulting statement is true, the shaded side is the "solution side," and the inequality sign points toward that point. The origin (0, 0) is the default unless the boundary passes through it.

Concrete case: boundary y = (2/3)x + 1, dashed, shading above. Test (0, 2), which is above the line since the line passes through (0, 1). Substitute into y > (2/3)x + 1: 2 > 0 + 1, i.e., 2 > 1, true. So the inequality is y > (2/3)x + 1. If (0, 2) had given a false statement, the answer would flip to y < (2/3)x + 1, and the shading your eyes see above the line would be contradicted — meaning you misread the shade.

Failure cases. If the origin sits exactly on the boundary, the test is useless, because both sides satisfy the equality. Pick a point like (1, 0) or (0, 1) instead. If the shaded region is small and awkward, testing a point you're unsure about produces garbage — pick a point at least one grid unit away from the boundary. For vertical lines, the test reduces to comparing x-values: shading right of x = 3 means x > 3.

Here's a compact summary of how the test point and boundary type combine:

Shade above y = mx + b Shade below y = mx + b Line type Result
True False Solid y ≥ mx + b
True False Dashed y > mx + b
False True Solid y ≤ mx + b
False True Dashed y < mx + b

The rule "shade above means >, shade below means <" is a shortcut many teachers use, and it works for any boundary written in y = mx + b form. But it fails for vertical lines and can confuse students when the line has a steep negative slope, so the test-point method is the safer default.

Quick-Reference Map: Four Visual Cues to the Right Symbol

The entire problem reduces to four independent yes/no questions, and each one pins down half of the answer. This map is worth memorizing because it converts a visual puzzle into a checklist.

Question one: is the line solid or dashed? Solid → ≤ or ≥. Dashed → < or >. Question two: is the region above or below the line? Above → y is greater than the boundary expression. Below → y is less than the boundary expression. These two answers combine directly into the final symbol.

For a solid line with shading below, the answer is y ≤ mx + b. For a dashed line with shading above, it's y > mx + b. The slope and intercept slots fill in whatever you computed in Steps 1 and 2. No algebra is needed beyond substitution.

The method fails in one visible case: vertical boundaries, where "above" and "below" don't discriminate. Switch to "left/right" language — shade right of x = a means x > a (or ≥ for solid). Horizontal boundaries work with the above/below rule normally because y is isolated.

This map also handles the common exam trap where the boundary line is drawn but the shading is very light. Trust the four cues, not your eyes, and if shading is ambiguous, test a single point in each candidate region.

Reading Negative Slopes and Below-the-Line Shading Together

The single most common error occurs when a line slopes downward and the shading sits above it. Students see "above" and write >, then feel uneasy because the slope is negative. That unease usually leads to random sign flips on the test point.

The test-point method resolves it cleanly. Boundary y = −2x + 4, solid, shading above and to the right of the line. Test (0, 5), above the intercept (0, 4): 5 > −2(0) + 4, i.e., 5 > 4, true. So the inequality is y ≥ −2x + 4. Note the −2 in front of the x — the negative slope lives inside the expression, not in the inequality symbol. The symbol always points toward the shaded region in the coordinate sense: above means y is larger than the boundary value at that x, regardless of slope sign.

Try this counter-intuitive case: boundary y = −3x + 6, shaded below. Test (0, 0): 0 > 6 is false, so 0 < 6 is true, and the inequality is y < −3x + 6 (dashed) or y ≤ −3x + 6 (solid). The negative slope did nothing unusual. The test point drove the answer.

The point of confusion is linguistic. "Above the line" and "greater than the boundary value" are the same statement in a coordinate sense, but a downward-sloping line makes "above" feel like it should mean something different because the line is heading down. Ignore the psychology. Trust the substitution.

Rewriting Into Standard Form and Matching Answer Keys

Some teachers want the answer in Ax + By ≤ C form, not y ≤ mx + b. The conversion is mechanical and there's one sign-flip trap. Take y > (2/3)x + 1, which is dashed and shaded above.

Multiply both sides by 3: 3y > 2x + 3. Subtract 2x: −2x + 3y > 3. Multiply by −1 to get a positive leading coefficient: 2x − 3y < −3. This last step is where students lose points — flipping every sign because you multiplied by −1 does not flip the inequality, but you flipped signs on every term. The inequality flips only when you multiply or divide both sides by a negative number. Here, you multiplied both sides by −1, so the symbol flips: −2x + 3y > 3 becomes 2x − 3y < −3. Reach for that decision deliberately.

Both forms describe the same half-plane. Textbooks often accept either unless the instructions specify. Digital platforms vary — Khan Academy's practice items typically accept slope-intercept form more readily than standard form, and any teacher who wants a specific form usually says so at the top of the assignment. When in doubt, submit slope-intercept.

A useful verification trick: pick one point in the shaded region and check it against both forms. (0, 2) satisfies y > (2/3)x + 1 (2 > 1) and 2x − 3y < −3 (−6 < −3). Both true is a strong confirmation. One true and one false means you flipped something.

Slope-intercept Standard form Test point (0, 2) Both valid?
y > (2/3)x + 1 2x − 3y < −3 2 > 1; −6 < −3 Yes
y ≤ −2x + 4 2x + y ≤ 4 2 ≤ 4; 2 ≤ 4 Yes
y < −3x + 6 3x + y < 6 2 < 6; 2 < 6 Yes
y ≥ x − 1 x − y ≤ 1 2 ≥ −1; −2 ≤ 1 Yes

Scaled Axes and Grid Spacing Break the Two-Point Method

Every worked example so far assumes each grid square equals 1 unit. That assumption fails on graphs with a scale note at the axis ("each square = 2 units" or "1 cm = 5 N"), on logarithmic axes, and in word problems where the vertical axis is cost in dollars and horizontal is quantity in units.

When the scale isn't 1:1, the two-point method still works but you must multiply the grid coordinates by the scale factor before applying the slope formula. A point two squares right and three squares up on a 2-unit grid is at (4, 6), not (2, 3).

The same trap catches the y-intercept. If the crossing sits two squares up on a vertical axis where each square equals $10, the intercept is $20 — and the final inequality needs that $20 in the equation, not the number 2. Answer keys that mark this wrong are common when students rush.

Logarithmic axes require a different treatment entirely. A straight line on a log-log plot represents a power relationship, not a linear one, and "linear inequality" is the wrong frame. If your assignment shows a log axis, confirm the intended axis type before writing anything.

Word problems often specify the scale in the stem ("let each unit on the x-axis represent 5 minutes"). Read that sentence before plotting or reading off points. A three-minute mistake here costs the entire problem.

Checking Your Inequality Against a Second Point Inside the Shade

Once you have a candidate inequality, test a second point — one you didn't use in Step 4 — that clearly sits inside the shaded region. If it satisfies the candidate, confidence is high. If it fails, either your slope, intercept, or direction is wrong.

This double-check catches sign errors invisible to a single test. Consider a candidate y > −x + 3 with shading above and to the right. Test (2, 1): 1 > −2 + 3 = 1, which is false because equality holds; the point actually lies on the boundary, so pick a point further inside like (3, 1): 1 > 0, true. Confirms. But another point at (4, −1): −1 > −1 is false again — that point sits on the line too. The boundary catches points, and only interior points confirm.

Pick true interior points. On a shade above the line y = x, (5, 10) is inside, (0, 0) is on the boundary and useless, (1, 1) is on the boundary, (0, 1) is above and inside. A quick visual check separates them.

For systems of two or more inequalities, check your candidate against each boundary independently. The shaded region for a system is the intersection, and a single point in that intersection must satisfy every inequality in the system. Getting one right and one wrong is common on multi-part problems and produces a partial-credit score, not a wrong answer.

How Different Curricula Write the Same Answer

American high school algebra typically wants slope-intercept form with y isolated. British GCSE papers sometimes accept either slope-intercept or standard form and often ask for integer coefficients, discouraging fractions in the final answer. International Baccalaureate standard-level questions tend to frame linear inequalities inside systems and ask for the region rather than a single inequality.

The consequences matter for a student switching between systems. A UK-style answer of 3x + 2y ≤ 6 would be marked wrong on an American test that requires y ≤ −(3/2)x + 3 — same half-plane, different acceptable form. Check the top of your assignment or exam specification before choosing a format.

Desmos and GeoGebra accept either form and shade the correct region, so they're safe for verification. Some classroom platforms restrict answer entry to one format, usually slope-intercept. When in doubt, submit slope-intercept — it's the more universally accepted of the two.

One region-specific wrinkle: the convention of writing "shaded" versus "feasible" region varies by curriculum. IB calls the solution set the "feasible region" in linear programming contexts; American algebra calls it the "solution region." Both mean the same shaded area. The inequality signs and boundary type are identical across systems.

FAQ

What if the boundary line passes through the origin?

The origin test gives 0 > 0 or 0 < 0, both false-like, and cannot discriminate. Pick a different test point like (1, 0) or (0, 1). Only one of them will sit clearly inside the shaded region. Testing both to be safe takes about ten seconds.

Why did my answer get marked wrong when the shading looked right?

Three usual causes: you used the wrong solid/dash mapping (solid = ≤/≥, not < or >), your slope sign is flipped because you subtracted in the reverse order, or the required format is standard form and you submitted slope-intercept. Check the assignment instructions and your y-intercept first.

Can I just use "above means greater than" and skip the test point?

For boundaries written as y = mx + b, yes, the shortcut works. For vertical lines like x < 3 or horizontal lines like y > 2, the shortcut breaks down and you need direction-based reasoning. On timed tests, use the shortcut and verify with one test point if time allows.

How do I handle a system of two linear inequalities on one graph?

Each inequality has its own boundary and its own shading. The solution is the overlap region. Write each inequality separately using the four-step method, then confirm a point in the overlap satisfies both. Testing one point in the intersection is a full check; testing the boundary is unreliable.

What's the difference between ≤ and < on a graph?

A solid boundary line means the line's points are included, so ≤ or ≥. A dashed boundary line means the line's points are excluded, so < or >. Both types of shading look the same in the interior, so the solid/dash check is the only visual cue.

Is y > 2x + 1 the same as 2x − y < −1?

Yes, they describe the identical half-plane, reached by moving terms across the equals side and flipping the sign once. Pick (0, 0): 0 > 1 is false, and 0 − 0 < −1 is also false — both reject the origin, as required. Either form is acceptable unless the assignment says otherwise.

How do I find the inequality from a graph with no scale markings?

Count grid squares and assume 1 unit per square unless the axis shows a multiplier. If neither grid lines nor a scale note appears, the problem is incomplete and you should confirm with the instructor or the assignment's answer key. Never invent a scale from a graph that doesn't show one.