Linear Inequality Solver
Solve single-variable linear inequalities (<, <=, >, >=) with step-by-step solutions and interval notation.
---
Visual Graph & Diagram
Interactive mathematical coordinate representation
Calculation Reference Table
Benchmark values and quick reference intervals
How to Calculate Linear Inequality Solver
Step-by-Step Mathematical Solution & Verification
How to Use & Educational Guide
In-depth guide for Linear Inequality Solver
What Is a Linear Inequality? How to Solve & Graph
A linear inequality is an algebraic comparison that uses an inequality symbol ($<$, $\le$, $>$, or $\ge$) instead of an equals sign to show that one expression is smaller, larger, or bounded by another. While a standard equation produces a single answer, a linear inequality in one variable produces an entire range of valid numbers.
For example, solving $2x + 4 < 10$ gives $x < 3$, meaning every real number less than $3$ makes the statement true. Whether you need to solve and graph linear inequality expressions on a number line or write an inequality from a two-variable coordinate graph, the core algebraic rules stay the same.
Linear Inequality Formula & Negative Sign Rule
You solve a linear inequality by isolating the variable with inverse operations just like a linear equation, with one critical rule: whenever you multiply or divide both sides by a negative number, you must reverse (flip) the inequality sign.
If $a > 0$: $ax + b < c \implies x < \frac{c-b}{a}$ (Sign stays the same)
If $a < 0$: $ax + b < c \implies x > \frac{c-b}{a}$ (Sign flips)
This sign-reversal rule applies to every inequality symbol: $<$ flips to $>$, and $\le$ flips to $\ge$ when multiplying or dividing by a negative value.
How to Solve a Linear Inequality Step-by-Step
Follow these five steps to solve any single-variable linear inequality accurately:
- Step 1 (Simplify Both Sides): Expand any parentheses and combine like terms on each side separately.
- Step 2 (Move Constant Terms): Add or subtract constants on both sides to isolate the variable term.
- Step 3 (Isolate the Variable): Divide or multiply both sides by the coefficient of $x$.
- Step 4 (Check for Negative Division/Multiplication): If you multiplied or divided by a negative number, flip the inequality symbol immediately.
- Step 5 (Express the Solution): Write the final answer as an inequality, in interval notation, or on a number line graph.
Linear Inequality Symbols & Number Line Endpoints
| Symbol | Meaning | Number Line Circle | Example |
|---|---|---|---|
| $<$ | Less than | Open circle ($\circ$) | $x < 5$ |
| $\le$ | Less than or equal to | Closed circle ($\bullet$) | $x \le 5$ |
| $>$ | Greater than | Open circle ($\circ$) | $x > 5$ |
| $\ge$ | Greater than or equal to | Closed circle ($\bullet$) | $x \ge 5$ |
Linear Inequality & Word Problem Examples
Work through these step-by-step examples covering basic inequalities, negative sign flips, variables on both sides, fractions, and linear inequality word problems:
Example 1 (Two-Step Inequality): Solve $2x + 4 < 10$
โข Step 1: Subtract $4$ from both sides: $2x < 6$.
โข Step 2: Divide both sides by positive $2$: $x < 3$.
โข Interval notation: $(-\infty, 3)$ (open circle at $3$, shaded left).
๐ Solution: $x < 3$
Example 2 (Dividing by a Negative): Solve $-3x + 6 \ge 15$
โข Step 1: Subtract $6$ from both sides: $-3x \ge 9$.
โข Step 2: Divide by $-3$ and flip the inequality sign: $x \le -3$.
โข Interval notation: $(-\infty, -3]$ (closed circle at $-3$, shaded left).
๐ Solution: $x \le -3$
Example 3 (Variables on Both Sides): Solve $5x - 8 > 2x + 7$
โข Step 1: Subtract $2x$ from both sides: $3x - 8 > 7$.
โข Step 2: Add $8$ to both sides: $3x > 15$.
โข Step 3: Divide by $3$: $x > 5$.
โข Interval notation: $(5, \infty)$.
๐ Solution: $x > 5$
Example 4 (Inequality with a Fraction): Solve $\frac{x}{4} + 3 \le 8$
โข Step 1: Subtract $3$ from both sides: $\frac{x}{4} \le 5$.
โข Step 2: Multiply both sides by positive $4$: $x \le 20$.
โข Interval notation: $(-\infty, 20]$.
๐ Solution: $x \le 20$
Example 5 (Linear Inequality Word Problem): A delivery van has a $200$ kg base load plus $25$ kg boxes. If the maximum weight limit is $650$ kg, how many boxes ($x$) can it carry?
โข Step 1 (Set up inequality): $25x + 200 \le 650$.
โข Step 2 (Subtract base load): $25x \le 450$.
โข Step 3 (Divide by 25): $x \le 18$.
๐ Solution: At most $18$ boxes ($x \le 18$)
How to Graph a Linear Inequality (Number Line & Coordinate Plane)
Learning how to graph a linear inequality depends on whether you have one variable ($x$) or two variables ($x$ and $y$):
1. Graphing on a Number Line (One Variable)
Plot the boundary number on a horizontal line. Use an open circle when the endpoint is excluded ($<$ or $>$) and a closed (filled) circle when the endpoint is included ($\le$ or $\ge$), then shade the arrow in the direction of the solution (for example, $x > 5$ uses an open circle at $5$ shaded to the right).
2. How to Write a Linear Inequality from a Coordinate Graph (Two Variables)
If you need to know how to write a linear inequality from a graph (or how to find linear inequality from graph on an $xy$-plane), follow three quick steps:
- Find the Boundary Line Equation: Read the y-intercept ($b$) and calculate the slope ($m = \frac{\text{rise}}{\text{run}}$) from two points on the line to write $y = mx + b$.
- Check Dashed vs. Solid Line: A dashed line means strict inequality ($<$ or $>$); a solid line means inclusive ($\le$ or $\ge$).
- Check Shaded Region: If the shading is above the line, use $>$ or $\ge$; if the shading is below the line, use $<$ or $\le$ (you can confirm by testing $(0, 0)$).
Linear Inequalities in Interval Notation
Interval notation writes the solution set using parentheses ( ) for excluded endpoints and square brackets [ ] for included endpoints:
Real-World Applications & Two-Variable Word Problems
Inequalities are used whenever a real-world situation involves a budget cap, minimum target, or safety thresholdโincluding two variable linear inequality word problems (such as buying $x$ shirts at $\$15$ and $y$ pants at $\$30$ within a $\$120$ budget: $15x + 30y \le 120$).
๐ฐ Budget & Spending Caps
If an item costs $\$15$ and you can spend at most $\$100$, the inequality $15x \le 100$ determines the maximum quantity you can buy.
โ๏ธ Weight & Capacity Thresholds
Bridge, elevator, and shipping limits use inequalities such as $w \le 500\text{ kg}$ to represent safe operating loads.
Common Mistakes When Solving Linear Inequalities
- Forgetting to Flip the Sign: Always reverse the inequality symbol when multiplying or dividing both sides by a negative number.
- Flipping the Sign During Addition or Subtraction: Adding or subtracting a negative number on both sides does not reverse the inequality sign.
- Using the Wrong Endpoint or Line Style: Use an open circle (or dashed line) for $<$ or $>$, and a closed circle (or solid line) for $\le$ or $\ge$.
- Using Brackets on Infinity: Infinity ($\infty$ or $-\infty$) always uses a parenthesis
( )in interval notation, never a square bracket.
Mathematical accuracy verified by AptCalc Engine
Frequently Asked Questions (FAQs)
Answers to common questions about this calculator
What is a linear inequality?
How do you solve a linear inequality?
When do you flip the inequality sign?
How do you graph a linear inequality?
How do you write a linear inequality from a graph?
Discover Other Calculation Suites
Browse our full ecosystem of precision calculation and conversion tools
Mathematics Suite
Percentages, Algebra, Fractions, Geometry, and step-by-step math solvers.
Date & Time Tools
Days ago, days from today, business days, and calendar date calculators.
Unit Converter
Convert length, weight, volume, temperature, and international units.
Countdown Tracker
Live real-time event countdowns, holidays, and deadline trackers.
Explore Related Calculators
More tools in Algebra
Simplify Algebraic Expressions
Step-By-Step Solver
Evaluate Expression Calculator
Step-By-Step Solver
Combine Like Terms Calculator
Step-By-Step Solver
Expand Algebraic Expressions (FOIL)
Step-By-Step Solver
Linear Equation Solver (ax + b = c)
Step-By-Step Solver
One-Step Equation Calculator
Step-By-Step Solver