โš–๏ธ Algebra Solver

Linear Inequality Solver

Solve single-variable linear inequalities (<, <=, >, >=) with step-by-step solutions and interval notation.

Linear Inequality

Enter values to calculate instant result

โ„น๏ธ Info
๐Ÿ’ก Try:
Verified Solution

---

๐Ÿ“–

How to Use & Educational Guide

In-depth guide for Linear Inequality Solver

Educational Overview

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:

  1. Step 1 (Simplify Both Sides): Expand any parentheses and combine like terms on each side separately.
  2. Step 2 (Move Constant Terms): Add or subtract constants on both sides to isolate the variable term.
  3. Step 3 (Isolate the Variable): Divide or multiply both sides by the coefficient of $x$.
  4. Step 4 (Check for Negative Division/Multiplication): If you multiplied or divided by a negative number, flip the inequality symbol immediately.
  5. 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).

Open Circle ($\circ$) / Dashed Line: Used for strict inequalities ($<$ or $>$) where the boundary itself is not part of the solution.
Closed Circle ($\bullet$) / Solid Line: Used for inclusive inequalities ($\le$ or $\ge$) where the boundary itself is included.

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:

  1. 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$.
  2. Check Dashed vs. Solid Line: A dashed line means strict inequality ($<$ or $>$); a solid line means inclusive ($\le$ or $\ge$).
  3. 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:

$x < 3$ โ†’ $(-\infty, 3)$
$x \le 3$ โ†’ $(-\infty, 3]$
$x > 3$ โ†’ $(3, \infty)$
$x \ge 3$ โ†’ $[3, \infty)$

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?
A linear inequality is an algebraic comparison using symbols such as <, >, โ‰ค, or โ‰ฅ instead of an equals sign. A linear inequality in one variable produces a continuous range of values that satisfy the condition.
How do you solve a linear inequality?
Simplify both sides, isolate the variable using inverse operations, and reverse the inequality sign if you multiply or divide both sides by a negative number.
When do you flip the inequality sign?
You flip the inequality sign only when multiplying or dividing both sides by a negative number. For example, -2x > 6 becomes x < -3 after dividing by -2.
How do you graph a linear inequality?
On a number line, use an open circle for < or > and a closed circle for โ‰ค or โ‰ฅ, then shade in the direction of the solution. On a coordinate plane, draw a dashed line (< or >) or solid line (โ‰ค or โ‰ฅ) and shade the half-plane that satisfies the inequality.
How do you write a linear inequality from a graph?
Find the boundary line equation y = mx + b using its slope and y-intercept. Choose < or > if the boundary line is dashed (or โ‰ค or โ‰ฅ if it is solid), and pick the direction based on whether the shaded region lies above (> or โ‰ฅ) or below (< or โ‰ค) the line.
Explore More Tools

Discover Other Calculation Suites

Browse our full ecosystem of precision calculation and conversion tools