ALGEBRAAlgebraMathematics Calculator
📈

Graphing Linear Inequalities

Linear inequalities y < mx + b or y > mx + b divide the plane into two half-planes. The boundary line y = mx + b is dashed (strict) or solid (inclusive). Shade the half-plane that satisfies the inequality.

Concept Fundamentals
y = mx + b
Boundary
Below (<) or above (>)
Shading
(0,0) if not on line
Test point
Intersection of half-planes
Feasible

Did our AI summary help? Let us know.

y < mx + b shades below the line; y > mx + b shades above. Systems of inequalities define polygonal feasible regions. Test point (0,0) works when the line does not pass through origin.

Key quantities
y = mx + b
Boundary
Key relation
Below (<) or above (>)
Shading
Key relation
(0,0) if not on line
Test point
Key relation
Intersection of half-planes
Feasible
Key relation

Ready to run the numbers?

Why: Inequality graphs model constraints in linear programming, optimization, and feasibility regions.

How: Plot the boundary line, pick a test point, shade the side where the inequality holds. For systems, shade the intersection.

y < mx + b shades below the line; y > mx + b shades above.Systems of inequalities define polygonal feasible regions.

Run the calculator when you are ready.

Graph InequalitiesEnter slope, y-intercept, and inequality symbol
Tip: Enter slope (m) and y-intercept (b) for the line y = mx + b. Choose the inequality symbol. In Advanced mode, add a second inequality to find the feasible region of a system.

📐 Examples — Click to Load

Inequality 1: y op mx + b

Rise over run
Where line crosses y-axis

Inequality 2: y op m₂x + b₂

graph_inequality.sh
CALCULATED
$ graph_inequality --m=2 --b=1 --op=<
Boundary
y < 2x + 1 and y ≤ -1x + 4
Shading
Feasible region is the intersection of both shaded half-planes
Test (0,0)
Satisfies ✓
y-intercept
1
Share:

Intercepts & Key Points

Above vs Below Distribution

📐 Calculation Steps

Inequality 1: y < 2x + 1
Inequality 2: y ≤ -1x + 4
Test point (0,0): Line 1 gives y=1.00, Line 2 gives y=4.00
(0,0) satisfies both? Yes — shade toward origin
Intersection point: (1.00, 3.00)
Feasible region vertices: check intercepts and intersection.

📊 Chart Interpretation

Bar chart: Compares y-intercept, x-intercept (if any), and key points. Use these to sketch the boundary line.

Doughnut chart: Shows the proportion of the plane above vs below the line. The shaded region satisfies the inequality.

For educational and informational purposes only. Verify with a qualified professional.

🧮 Fascinating Math Facts

📐

Dashed line = strict (< or >); solid = inclusive (≤ or ≥)

Feasible region = intersection of all inequality half-planes

📋 Key Takeaways

  • Solid vs dashed lines: Use solid for ≤ and ≥ (boundary included), dashed for < and > (boundary excluded)
  • Test point method: Substitute (0,0) into the inequality. If true, shade toward origin; if false, shade away
  • Feasible regions: The intersection of shaded half-planes in a system gives the feasible region
  • Linear programming: Systems of linear inequalities define constraints; optimal solutions lie at vertices

💡 Did You Know?

📐y < mx + b shades below the line; y > mx + b shades above. The line y = mx + b is the boundary.Source: Graphing
🎯The test point (0,0) works unless the line passes through the origin — then use (1,0) or (0,1).Source: Test Point
📊Budget constraints like 2x + 3y ≤ 12 define a feasible region of affordable combinations.Source: Economics
🏭Production limits (e.g., x + y ≤ 8) create polygonal feasible regions for optimization.Source: Operations
🔀Systems of inequalities: shade each half-plane, then the overlap is the solution set.Source: Systems
📈Linear programming finds max/min of a linear function over a feasible region defined by inequalities.Source: Optimization

📖 How It Works

To graph y < 2x + 1: (1) Draw the boundary line y = 2x + 1 as dashed (strict inequality). (2) Pick a test point like (0,0). Is 0 < 1? Yes. (3) Shade the half-plane containing (0,0).

Intercepts

y-intercept: set x=0 → (0, b). x-intercept: set y=0 → (-b/m, 0) if m≠0.

System of Two Inequalities

Graph each inequality. The feasible region is where both shadings overlap. Vertices occur at line intersections.

Converting from General Form

Given Ax + By ≤ C: solve for y to get y ≤ (-A/B)x + C/B (flip the inequality if B < 0). Then m = -A/B and b = C/B.

📝 Worked Examples

Example 1: y < 2x + 1

Boundary: y = 2x + 1 (dashed). Test (0,0): 0 < 1 ✓. Shade below the line. The solution set is all points in the half-plane below the line.

Example 2: y ≥ -x + 3

Boundary: y = -x + 3 (solid). Test (0,0): 0 ≥ 3 ✗. Shade away from origin, i.e., above the line. The line is included.

Example 3: Budget 2x + 3y ≤ 12

Rewrite: y ≤ -⅔x + 4. Boundary solid. Test (0,0): 0 ≤ 4 ✓. Shade below. Feasible region: all affordable (x,y) combinations.

Example 4: System y > x and y < -x + 4

Two lines: y = x and y = -x + 4. Shade above the first, below the second. The overlap is a triangular feasible region.

🌐 Real-World Applications

Linear inequalities model constraints in business, engineering, and science. Budget limits, resource caps, and production capacity all translate to half-planes.

Budget: 2x + 3y ≤ 12 (items x and y)
Production: x + y ≤ 8 (capacity)
Time: x + 2y ≤ 10 (hours)
Non-negative: x ≥ 0, y ≥ 0

🔗 Related Concepts

Linear inequalities extend linear equations. The solution set is a half-plane instead of a line. Systems of inequalities define polygonal regions used in linear programming to maximize or minimize objective functions subject to constraints.

📊 Table: Inequality Symbols

SymbolLine TypeShading
<DashedBelow line
>DashedAbove line
SolidBelow line
SolidAbove line

🎯 Expert Tips

💡 Test Point (0,0)

Always try (0,0) first. If the line passes through origin, use (1,0) or (0,1) instead.

💡 Rewrite for y

Convert 2x + 3y ≤ 12 to y ≤ -⅔x + 4 to use slope-intercept form for graphing.

💡 Feasible Region

In LP, the optimum lies at a vertex of the feasible polygon. Check each vertex.

💡 Shading Direction

y < mx+b → below; y > mx+b → above. Use test point to confirm.

❓ FAQ

When do I use a dashed vs solid line?

Dashed for < and > (boundary not included). Solid for ≤ and ≥ (boundary included).

What is the test point method?

Pick a point not on the line (usually (0,0)). Substitute into the inequality. If true, shade the side containing that point.

What is a feasible region?

The set of points satisfying all inequalities in a system. In linear programming, it is a convex polygon.

How do I graph 2x + 3y ≤ 12?

Solve for y: y ≤ -⅔x + 4. Graph the line y = -⅔x + 4 (solid). Test (0,0): 0 ≤ 4. Shade below.

What is the connection to linear programming?

Inequalities define constraints. The objective function is optimized at vertices of the feasible region.

Can the feasible region be empty?

Yes. If the half-planes do not overlap, no point satisfies all inequalities.

What if the line passes through (0,0)?

Use a different test point such as (1,0) or (0,1). Any point not on the line works.

⚠️ Common Mistakes

1. Forgetting to flip when dividing by negative: When solving for y from Ax + By ≤ C, if B < 0, the inequality flips.

2. Wrong test point: Never use a point on the line. If (0,0) is on the line, use (1,0) or (0,1).

3. Dashed vs solid: Strict < and > use dashed; ≤ and ≥ use solid. Mixing these loses points!

4. Shading wrong side: Always verify with the test point. One wrong shade = wrong answer.

🔢 Quick Reference

y=mx+b
Boundary line
(0,0)
Test point
≤ ≥
Solid line
< >
Dashed line

📋 Step-by-Step Procedure

  1. Identify the boundary line: y = mx + b. Plot the y-intercept (0, b) and use slope m to find another point.
  2. Draw the line: solid for ≤ or ≥, dashed for < or >.
  3. Choose a test point not on the line. (0,0) is convenient unless it lies on the line.
  4. Substitute the test point into the inequality. If true, shade the side containing the point; if false, shade the other side.
  5. For systems: repeat for each inequality, then the feasible region is the overlap of all shadings.

The Bar chart shows intercepts to help you plot the line. The Doughnut chart visualizes the above/below split.

Use the clickable examples to load preset scenarios and practice interpreting results.

💡 Remember: Horizontal lines (m=0) like y ≤ 3 shade below; vertical lines require a different approach (x ≤ k shades left). This calculator focuses on non-vertical lines in slope-intercept form.

⚠️ Disclaimer: This calculator graphs linear inequalities in slope-intercept form. For general form Ax + By ≤ C, rewrite as y = (-A/B)x + C/B. Educational use only.

👈 START HERE
⬅️Jump in and explore the concept!
AI

Related Calculators

System of Inequalities Calculator

Solve systems of linear inequalities. Find feasible region, vertices, bounded vs unbounded. Supports 2 or 3+ inequalities. Linear programming setup, corner...

Mathematics

Absolute Value Equation Calculator

Solve absolute value equations and inequalities including |ax+b|=c, |ax+b|=|cx+d|, and |ax+b|≤c forms. Features solution verification, number line...

Mathematics

Absolute Value Inequalities Calculator

Solve absolute value inequalities |ax+b| < c, > c, ≤ c, ≥ c. Get solution intervals, interval notation, set builder notation, number line visualization...

Mathematics

Bessel Function Calculator

Calculate Bessel functions J_n(x), Y_n(x), I_n(x), and K_n(x) with series approximation. Supports first kind (J), second kind/Neumann (Y), and modified Bessel functions (I, K). Applications include vibrating drum modes, electromagnetic waveguides, heat conduction in cylinders, and Bessel filter design in signal processing. Uses the power series J_n(x) = Σ (-1)^m/(m!(m+n)!)·(x/2)^(2m+n). Includes convergence info, Bar chart comparing values at different x, Doughnut chart showing series term contributions, and educational content on Bessel's differential equation and cylindrical harmonics.

Mathematics

Binomial Coefficient Calculator

Calculate binomial coefficients C(n,k) = n!/(k!(n-k)!) — the number of ways to choose k items from n without regard to order. Also known as n choose k or ⁿCₖ. Features Pascal's triangle row generation, factorial breakdown, Bar chart of full row C(n,0)..C(n,n), Doughnut chart showing k vs n−k. Applications: lottery (C(49,6)), poker hands (C(52,5)), committee selection, DNA combinations, binary strings. Educational content on combinatorics, binomial theorem (x+y)ⁿ expansion, and Pascal's identity.

Mathematics

Box Method Calculator

Multiply polynomials visually using the box method (area model). Step-by-step solutions for binomials, trinomials, and factoring. Interactive grid...

Mathematics