Algebra & Precalculus

Compound Inequalities How to Solve and and Or Inequalities with Graphs

Think about the safety rules when riding a giant roller coaster at an amusement park. The sign at the entrance might say you must be at least 48 inches tall to ride, but no taller than 78 inches so the safety bar locks comfortably. That means your height has to satisfy two rules at the exact same moment: height is greater than or equal to 48 AND height is less than or equal to 78. In mathematics, combining two separate inequalities into a single statement is called a compound inequality. You encounter these daily in speed limits, thermostat ranges, credit card budgets, and movie theater ticket prices. Using educational resources on Calcsolver helps you graph compound statements on number lines and master interval notation without second-guessing yourself.

What is a Compound Inequality and How Do AND and OR Differ?

An inequality is a statement comparing two quantities with symbols like less than, greater than, less than or equal to, or greater than or equal to. A compound inequality connects two inequalities using either the connecting word AND or the connecting word OR.

Understanding the difference between AND and OR is the secret to solving these problems effortlessly:

An AND compound inequality requires both conditions to be true at the same time. On a graph, the solution is the overlapping intersection where both shadings meet.

An OR compound inequality only requires at least one of the conditions to be true. On a graph, the solution is the union that includes everything shaded by either statement.

Also read: Unit Rate Calculator How to Find the Better Deal While Grocery Shopping

How Do You Read and Graph Both Types on a Number Line?

When you graph inequalities on a number line, open circles represent strict comparisons (less than or greater than) where the endpoint is not included. Solid closed dots represent inclusive comparisons (less than or equal to, or greater than or equal to) where the boundary number is part of the solution.

Inequality Type Algebraic Example Graph Appearance Interval Notation
AND (Intersection) -2 < x ≤ 5 A single bar connecting -2 and 5 (-2, 5]
OR (Union) x < 1 or x ≥ 4 Two separate arrows pointing outward (-∞, 1) ∪ [4, ∞)
AND (No Overlap) x < 0 and x > 3 Blank line (no common values) No Solution (∅)

How Do You Solve a Three Part Inequality?

Many AND inequalities are written as a compact three-part sandwich, such as negative 5 is less than or equal to 2x plus 1, which is less than 9. This means 2x plus 1 is trapped between negative 5 and 9.

To solve a three-part inequality, whatever operation you perform to isolate x in the middle, you must perform to all three parts simultaneously.

First, subtract 1 from all three sections: negative 5 minus 1 gives negative 6. The middle becomes 2x. And 9 minus 1 gives 8. Your statement now reads negative 6 is less than or equal to 2x, which is less than 8.

Next, divide all three sections by positive 2. Negative 6 divided by 2 gives negative 3. The middle becomes x. And 8 divided by 2 gives 4. Your final answer is negative 3 is less than or equal to x, which is less than 4.

Remember the golden rule of inequalities: if you multiply or divide all sides by a negative number, you must flip the direction of every inequality symbol.

You may also like: How to Solve Rational Equations Step by Step Common Denominator Method

How Do You Use Compound Inequalities to Find Needed Exam Scores?

Students frequently encounter compound inequalities when calculating the score they need on a final exam to keep an overall grade. Suppose you want to earn a final grade of B, which means your overall semester score must be at least 80 percent but strictly less than 90 percent. If your current coursework average stands at 82 percent and the final exam counts for 25 percent of your grade, you can write the target as 80 is less than or equal to 0.75 times 82 plus 0.25 times x, which is less than 90. Solving this three part inequality directly gives you the exact target score window you must aim for on test day, turning abstract algebra into a clear study goal.

Frequently Asked Questions

Why do we flip the inequality symbol when multiplying or dividing by a negative number?

Because positive numbers and negative numbers run in opposite directions on the number line. For example, 2 is less than 5. But if you multiply both numbers by negative 1, negative 2 is further to the right than negative 5, making negative 2 greater than negative 5. Flipping the symbol keeps the mathematical truth intact.

Can an OR compound inequality result in all real numbers?

Yes. If your OR inequality states x is greater than 2 or x is less than 5, the two arrows overlap each other and cover every single point on the entire number line. In that situation, the solution is all real numbers, written in interval notation as negative infinity to positive infinity.

How do brackets and parentheses work in interval notation?

Square brackets [ or ] mean that the boundary number is included in the solution set, matching a solid closed dot on the graph. Curved parentheses ( or ) mean that the boundary number is not included, matching an open circle. Parentheses are also always used for positive and negative infinity because infinity is a concept rather than a reachable endpoint.

Access CalcSolver's flagship scientific calculator & 37+ tools:

Solve equations with instant step-by-step verified logic on CalcSolver.live.

Launch CalcSolver Math Engine →
← Back to All Math & Science Articles