Graphing Inequalities Calculator

Graph linear inequalities on a number line with step-by-step solutions and interval notation

About the Graphing Inequalities Calculator

The Graphing Inequalities Calculator is a specialized tool designed to visualize the solution sets of mathematical inequalities. Unlike standard equations that result in a single line or point, inequalities define entire regions of space or segments of a number line. This tool helps students and educators bridge the gap between algebraic expressions and their geometric representations. It supports both horizontal and vertical linear inequalities, as well as compound inequalities involving multiple constraints.

Users typically input their inequality in slope-intercept form or standard form, and the tool generates a high-precision coordinate plane or number line graph. It automatically determines whether boundaries should be solid or dashed and identifies which side of the line requires shading. Beyond the visual plot, the calculator provides the corresponding interval notation and set-builder notation, which are essential for advanced algebra and calculus coursework. This is particularly useful for verifying homework or understanding the feasibility regions in basic linear programming.

Formula

y [Relational Operator] mx + b OR x [Relational Operator] c

In a linear inequality, 'm' represents the slope (rise over run) and 'b' represents the y-intercept. The relational operator can be less than (<), greater than (>), less than or equal to (≤), or greater than or equal to (≥). For single-variable inequalities on a number line, 'c' represents the critical value or endpoint. The tool determines the boundary type (solid or dashed) and the direction of the solution set based on these operators.

Worked examples

Example 1: Graph the linear inequality y < 2x + 3 on a coordinate plane.

1. Identify the boundary line by treating it as the equation y = 2x + 3. \n2. Plot the y-intercept at (0, 3). \n3. Use the slope (2/1) to find a second point at (1, 5). \n4. Draw a dashed line through these points because the operator is '<' (strict inequality). \n5. Test point (0,0): 0 < 2(0) + 3 -> 0 < 3 (True). \n6. Shade the side of the line containing (0,0).

Result: A dashed boundary line passing through (0, 3) and (1, 5) with the region below the line shaded. The interval for y is (-infinity, 2x + 3).

Example 2: Graph the simple inequality x >= 5 on a number line.

1. Locate the number 5 on the horizontal number line. \n2. Place a solid (closed) circle at 5 because the operator is '>=' (inclusive). \n3. Since x is 'greater than' 5, draw a bold arrow or shaded line extending from 5 toward the right (positive infinity). \n4. Confirm the interval representation as [5, inf).

Result: A solid circle at 5 on the number line with a shaded ray extending to the right. Interval notation is [5, infinity).

Common use cases

Pitfalls and limitations

Frequently asked questions

when to use a solid or dashed line in graphing inequalities

A solid line is used for 'greater than or equal to' (≥) or 'less than or equal to' (≤) to show the boundary is included. A dashed line is used for 'greater than' (>) or 'less than' (<) to show the boundary is not part of the solution set.

what does the shaded region mean on a graph inequality

The shaded region represents every possible coordinate (x, y) that makes the inequality statement true. If you pick any point from the shaded area and plug it into the equation, the result will always be valid.

how to tell which side of an inequality to shade

For an inequality in 'y >' or 'y ≥' form, you shade above the boundary line. For 'y <' or 'y ≤' form, you shade below the boundary line. If the line is vertical (x > a), you shade to the right.

how to use a test point for graphing inequalities

A test point is any coordinate not on the boundary line, often (0,0). Plug its values into the inequality; if the statement is true, shade the side containing that point; if false, shade the opposite side.

difference between bracket and parenthesis in interval notation

In interval notation, a parenthesis ( or ) means the endpoint is not included (used with < or >), while a bracket [ or ] means the endpoint is included (used with ≤ or ≥). Infinity always uses parentheses.

Related calculators

Accuracy Calculator
Calculate accuracy based on true/false positives and negatives
Adding and Subtracting Polynomials Calculator
Add or subtract polynomials with step-by-step solutions and like terms combination
Dividing Polynomials Calculator
Divide polynomials using long division and synthetic division with step-by-step solutions
Multiplying Polynomials Calculator
Multiply polynomials using FOIL and distribution with step-by-step solutions
Polynomial Roots Calculator
Find real and complex roots of polynomials using quadratic formula and numerical methods
Angle Between Two Vectors Calculator
Calculate the angle between two vectors in 2D or 3D space using dot product
Average Percentage Calculator
Calculate the average (mean) of multiple percentages
Bessel Function Calculator
Calculate Bessel functions J, Y, I, and K for any order and argument