How To Write An Inequality From A Graph

8 min read

Understanding how to write an inequality from a graph is a fundamental algebra skill that bridges the gap between visual representation and algebraic notation. That's why whether you are analyzing a number line depicting a simple range or a coordinate plane showing a shaded half-plane, the process relies on identifying three critical components: the boundary line or point, the direction of the shading, and whether the boundary is included in the solution set. Mastering this translation allows you to move fluently between geometric intuition and symbolic logic, a capability essential for higher-level mathematics, linear programming, and real-world modeling scenarios The details matter here..

Decoding the Number Line: One-Variable Inequalities

The journey begins with the simplest graphical representation: the number line. A graph on a number line represents the solution set for a single variable, typically x. To write the inequality, you must interpret the visual cues—circles and arrows—into mathematical symbols And that's really what it comes down to..

Identify the Boundary Point Locate the specific number where the graph changes. This number is your boundary value. It is the threshold that separates solutions from non-solutions.

Determine Inclusion: Open vs. Closed Circles This is the most common stumbling block for students. Look closely at the circle drawn on the boundary number That alone is useful..

  • Closed (Filled) Circle ●: The boundary number is part of the solution. This translates to "less than or equal to" (≤) or "greater than or equal to" (≥). Think of the filled circle as "filled with solutions."
  • Open (Hollow) Circle ○: The boundary number is not part of the solution. This translates to strict inequality symbols: "less than" (<) or "greater than" (>). The hollow circle represents a "hole" in the solution set at that exact point.

Read the Direction of the Arrow The arrow (or bold line segment) indicates which numbers satisfy the condition.

  • Arrow pointing Left (toward negative infinity): The variable is less than the boundary value.
  • Arrow pointing Right (toward positive infinity): The variable is greater than the boundary value.

Constructing the Statement Combine the variable, the inequality symbol, and the boundary number.

  • Example: A closed circle at 3 with an arrow pointing left.
    • Boundary: 3
    • Inclusion: Yes (≤)
    • Direction: Less than
    • Inequality: x ≤ 3
  • Example: An open circle at -2 with an arrow pointing right.
    • Boundary: -2
    • Inclusion: No (<)
    • Direction: Greater than
    • Inequality: x > -2

Compound Inequalities on a Number Line Sometimes the graph shows a segment between two points rather than a ray extending to infinity. This represents a compound inequality (an "and" statement) Took long enough..

  • If the shading is between two values (e.g., closed circle at 1, closed circle at 5, shaded segment connecting them), the variable is greater than the left value and less than the right value.
  • Inequality: 1 ≤ x ≤ 5.
  • If the shading goes outward in two directions (e.g., open circle at -1 shading left, open circle at 3 shading right), this is an "or" statement.
  • Inequality: x < -1 or x > 3.

Navigating the Coordinate Plane: Two-Variable Linear Inequalities

Graphs on the xy-plane represent relationships between two variables (usually x and y). The solution set is a half-plane—one side of a boundary line. Writing the inequality from this graph requires a systematic approach: find the equation of the boundary line, determine the correct inequality symbol, and verify with a test point.

Step 1: Find the Equation of the Boundary Line

The boundary line acts as the "equals" version of your inequality. Treat it exactly like finding the equation of a linear function (y = mx + b or Ax + By = C) Still holds up..

  1. Identify the y-intercept (b): Where does the line cross the y-axis?
  2. Calculate the Slope (m): Use "rise over run" between two clear lattice points (points where grid lines intersect) on the line. Count the vertical change (rise) and horizontal change (run).
  3. Write the Equation: Substitute m and b into slope-intercept form (y = mx + b). If the line is vertical, the equation is x = a; if horizontal, y = b.

Pro Tip: If the line is given in standard form (Ax + By = C) on the graph, you can find intercepts to derive the equation, but slope-intercept form makes the next steps significantly easier Still holds up..

Step 2: Determine the Inequality Symbol (Solid vs. Dashed)

Just like the circles on a number line, the style of the boundary line dictates inclusion Easy to understand, harder to ignore..

  • Solid Line: Points on the line are solutions. Use ≤ or ≥.
  • Dashed (or Dotted) Line: Points on the line are not solutions. Use < or >.

Step 3: Determine Shading Direction (Greater Than vs. Less Than)

The shaded region represents all coordinate pairs (x, y) that make the statement true.

  • Shaded Above the Line: y values are greater than the line's y values. Use > or ≥.
  • Shaded Below the Line: y values are less than the line's y values. Use < or ≤.

Critical Note for Non-Slope-Intercept Forms: If your boundary equation is in Standard Form (Ax + By = C), "above" and "below" logic still applies visually, but the algebraic symbol depends on the sign of B. It is highly recommended to rewrite the boundary equation in Slope-Intercept Form (y = mx + b) before choosing the symbol. This isolates y and removes ambiguity.

Step 4: The Test Point Method (Verification)

Never guess. Always verify your inequality symbol using a test point. The origin (0,0) is the easiest point to calculate, provided the boundary line does not pass through it.

  1. Choose a point clearly in the shaded region (or clearly in the unshaded region).
  2. Substitute the x and y coordinates into your draft inequality (using the equals sign initially, or your guessed symbol).
  3. If the statement is TRUE: The shading is correct for that symbol.
  4. If the statement is FALSE: The opposite symbol is required.

Walkthrough Example Graph Description: A solid line passing through (0, 2) and (2, 0). The region below the line is shaded That's the part that actually makes a difference..

  1. Boundary Line:
    • y-intercept (b) = 2.
    • Slope (m) = (0 - 2) / (2 - 0) = -1.
    • Equation: y = -x + 2.
  2. Line Type: Solid → Symbol includes "or equal to" (≤ or ≥).
  3. Shading: Below the line → y is less than the line → Symbol is ≤.

4. Final Inequality: Combining the solid line requirement (≤ or ≥) with the "below" shading (≤ or <), the correct symbol is ≤.

The inequality represented by the graph is:

y ≤ -x + 2


Second Walkthrough Example

Graph Description: A dashed line passing through (0, -3) with a slope of 3/2. The region above the line is shaded.

  1. Boundary Line:
    • y-intercept (b) = -3.
    • Slope (m) = 3/2.
    • Equation: y = (3/2)x - 3.
  2. Line Type: Dashed → Symbol is < or > (no "or equal to").
  3. Shading: Above the line → y is greater than the line → Symbol is >.
  4. Final Inequality: y > (3/2)x - 3

Verification via Test Point: Use (0, 0). Substitute: 0 > (3/2)(0) - 3 → 0 > -3. TRUE. The shading and symbol are confirmed correct.


Common Mistakes to Avoid

  • Confusing "Above" with "Greater Than X": Always remember the rule is based on y, not x. "Above the line" means y is greater than the expression on the right side of the equation — regardless of whether the slope is positive or negative.
  • Forgetting to Flip the Inequality: When multiplying or dividing both sides of an inequality by a negative number while converting to slope-intercept form, the inequality symbol must be flipped. As an example, -2y > 6 becomes y < -3, not y > -3.
  • Using a Solid Line for Strict Inequalities: A strict inequality (< or >) always produces a dashed line. If you see a dashed line on a graph, the boundary points themselves are excluded from the solution set.
  • Ignoring the Test Point When the Line Passes Through the Origin: If the boundary line goes through (0,0), you cannot use it as a test point because it will always result in a true statement (0 = 0). Choose another convenient point, such as (1, 0) or (0, 1), instead.

Systems of Linear Inequalities

So far, this guide has focused on a single inequality. This leads to in many real-world applications — such as linear programming in business, constraint modeling in engineering, or feasibility analysis in economics — you will encounter systems of linear inequalities. These involve two or more inequalities graphed on the same coordinate plane.

The solution to a system is the region of overlap, often called the feasible region. Every point within this overlapping shaded area satisfies all inequalities in the system simultaneously It's one of those things that adds up..

To solve a system of linear inequalities:

  1. Graph each inequality individually on the same coordinate plane, following the four steps outlined above (equation, line type, shading direction, test point verification).
  2. Identify the region where all shaded areas overlap.
  3. If required, find the vertices (corner points) of the feasible region by solving the boundary equations as a system of equalities. These vertices are critical when optimizing an objective function.

Real-World Applications

Linear inequalities are not merely abstract mathematical exercises; they model constraints and limitations in everyday scenarios:

  • Budgeting: A company with a limited budget for materials and labor can represent cost constraints as inequalities. To give you an idea, if labor costs $50/hour and materials cost $30/unit, and the total budget is $500, the constraint is 50x + 30y ≤ 500.
  • Diet Planning: Nutritionists use inequalities to ensure a diet meets minimum requirements for calories, protein, and vitamins while staying under maximum limits for fat, sugar, and sodium.
  • Manufacturing: Factories must balance production quantities against available machine hours, warehouse space, and workforce capacity — all of which can be expressed as linear inequalities.
What's New

Just Finished

Related Territory

More Reads You'll Like

Thank you for reading about How To Write An Inequality From A Graph. We hope the information has been useful. Feel free to contact us if you have any questions. See you next time — don't forget to bookmark!
⌂ Back to Home