Systems and Inequalities

Compound Inequalities Joined by And

Solve two inequalities that must hold together, find their overlap on a number line and spot cases with no solution.

Key takeaways

  • With and, a number must make both inequalities true to count as a solution.
  • The solution set is the intersection of the two individual solution sets.
  • When both symbols point the same way, the stricter condition wins.
  • If the two sets do not overlap, the compound inequality has no solution.
  • Check each endpoint against both original inequalities to decide whether it belongs.

A compound inequality joined by and is true only for numbers that satisfy both parts at once. To solve it, solve each inequality separately and then keep the overlap of the two solution sets.

For example, "x > -1 and x < 4" holds for 0, 2 and 3.5. It fails for 7, which passes the first test but not the second. The solution set is the stretch of the number line between -1 and 4.

Two requirements at once

A compound inequality is two inequalities connected by the word and or the word or. The connector decides how the answers combine.

Think of and as two gates in a row. A number must pass the first and then the second. Adding a requirement can only keep the solution set the same or make it smaller.

In set language, if A holds the solutions of the first inequality and B holds the solutions of the second, the compound statement has the solution set A ∩ B. The symbol ∩ means intersection, the members common to both sets. This differs from compound inequalities joined by or, where passing either gate is enough.

Everyday rules often work this way. Say a ride admits people who are at least 120 centimeters tall and at most 195 centimeters tall. A rider must meet both limits, so a height h qualifies when h ≥ 120 and h ≤ 195.

The three-step method

  1. Solve the first inequality for the variable.
  2. Solve the second inequality for the variable.
  3. Graph both on stacked number lines and keep only the region shaded on both.

Here is a full example: 2x + 1 > -3 and 3x - 4 ≤ 8.

First:    2x + 1 > -3        Second:   3x - 4 ≤ 8
          2x > -4                      3x ≤ 12
          x > -2                       x ≤ 4

Now stack the pictures, using ○ for an excluded point and ● for an included one.

x > -2        ----○======================>
x ≤ 4         <=========================●------
both          ----○=====================●------
                 -2                     4

The answer is -2 < x ≤ 4, or (-2, 4] in interval notation.

Testing the answer

A solution set can be checked with a handful of values. Use one inside, one beyond each end and both endpoints.

x 2x + 1 > -3 3x - 4 ≤ 8 Both?
-5 -9 > -3 is false true No
-2 -3 > -3 is false true No
0 true true Yes
4 true 8 ≤ 8 is true Yes
6 true 14 ≤ 8 is false No

The table matches (-2, 4]. Notice that every value outside the answer still satisfies one of the two inequalities. That is why checking only one part can mislead you. A value must be tried in both.

Four ways two rays can combine

Once each part is solved, you have two simple conditions. If each is a ray, meaning all numbers on one side of a point, only a few patterns are possible.

What two conditions joined by and can give
A segment x > 1 and x < 5 gives 1 < x < 5 The stricter ray x > 1 and x > 5 gives x > 5 A single point x ≥ 3 and x ≤ 3 gives x = 3 Nothing x < 1 and x > 5 has no solution A segment x > 1 and x < 5 gives 1 < x < 5 The stricter ray x > 1 and x > 5 gives x > 5 A single point x ≥ 3 and x ≤ 3 gives x = 3 Nothing x < 1 and x > 5 has no solution

Pointing toward each other with overlap gives a segment between the two boundaries.

Pointing the same way gives one ray, the more demanding one. For x < 2 and x < 9, the answer is x < 2, because every number below 2 is automatically below 9.

Meeting at one point gives a single number when both include it. Compare x ≥ 3 and x ≤ 3, solved only by 3, with x > 3 and x ≤ 3, solved by nothing.

Pointing away from each other gives the empty set, written ∅.

When there is no solution

Solve 4x > 20 and x + 7 < 9. The first gives x > 5. The second gives x < 2. No number is both greater than 5 and less than 2, so the solution set is empty.

x < 2         <=======○----------------
x > 5         ------------------○=====>
both          (nothing)
                      2         5

An empty answer is a legitimate result, not a sign of failure. Still, it is worth rechecking your signs, since a missed reversal can create or destroy an overlap. A common slip is to report "x < 2 and x > 5" as if it were a range. Writing it as 5 < x < 2 makes the problem obvious, because it would claim that 5 < 2. More cases like this appear in inequalities with no solution or every number as a solution.

Negative coefficients inside a part

Each part follows the usual rules, including the reversal when you divide by a negative. Solve -3x + 2 < 14 and 5 - x ≥ 1.

First:    -3x + 2 < 14       Second:   5 - x ≥ 1
          -3x < 12                     -x ≥ -4
          x > -4    (flipped)          x ≤ 4     (flipped)

The overlap is -4 < x ≤ 4. Test x = 0: 2 < 14 and 5 ≥ 1 are both true. Test x = -4: 14 < 14 is false, so -4 is excluded. Test x = 4: -10 < 14 and 1 ≥ 1 are both true, so 4 is included.

If the flip feels mysterious, see why the inequality sign flips.

The compact three-part form

When one condition bounds a quantity from below and the other bounds the same quantity from above, you can write them as one chain. The pair x > -2 and x ≤ 4 becomes -2 < x ≤ 4.

Say a rectangle is 4 units longer than it is wide, and its perimeter must be at least 40 and at most 60. With width w, the perimeter is 2w + 2(w + 4) = 4w + 8.

40 ≤ 4w + 8 ≤ 60
32 ≤ 4w ≤ 52         subtract 8 from all three parts
8 ≤ w ≤ 13           divide all three parts by 4

Check the ends: w = 8 gives a perimeter of 40, and w = 13 gives 60. The method has its own guide in three-part inequalities.

Several conditions at once

And can link more than two requirements. Each new one trims the set further. Take x ≥ -6 and x < 10 and x > 0 and x is an integer. The first condition is already guaranteed by x > 0, so the real number part is 0 < x < 10. Requiring integers leaves 1 through 9.

Hidden conditions also count. If x is a side length, then x > 0 is part of the problem even when no one writes it. In the rectangle above, the width had to be positive, and the answer from 8 to 13 respects that.

With two variables, and turns into overlapping regions of the plane. A system such as y ≥ x and y ≤ 4 asks for points satisfying both, as shown in shading solution regions.

Overlap in a scheduling problem

Say two volunteers can staff a desk. One is free from hour 9 through hour 15 on a 24-hour clock, and the other from hour 13 through hour 18. You want the times t when both are present, so the conditions are joined by and.

9 ≤ t ≤ 15   and   13 ≤ t ≤ 18
overlap:  13 ≤ t ≤ 15

The overlap starts at the later of the two starting times and ends at the earlier of the two ending times. That is a handy shortcut for any two segments: take the larger left end and the smaller right end. If the larger left end turns out to be greater than the smaller right end, the segments miss each other and the answer is empty.

Try it on [-8, 2] and [-3, 10]. The larger left end is -3 and the smaller right end is 2, so the overlap is [-3, 2]. Now try [0, 4] and [6, 9]. The larger left end is 6, the smaller right end is 4, and 6 > 4, so there is nothing in common.

When endpoints tie, look at the symbols. The shared boundary is included only if both conditions include it. For example, [1, 7) and [1, 9] overlap in [1, 7), because 1 is in both and 7 is missing from the first.

Checking the work without a graph

You can verify an overlap by asking two questions about each endpoint of your answer. Does the endpoint come from one of the solved boundaries? And does it satisfy the other condition?

In the first worked example, the answer ran from -2 to 4. The left end -2 came from the first inequality, and it satisfies x ≤ 4. The right end 4 came from the second, and it satisfies x > -2. Both are therefore real edges of the overlap. A boundary that fails the other condition lies outside the answer and plays no part in it.

Mistakes to avoid

  • Combining by union. For and, keep the overlap, not everything shaded on either line.
  • Writing an impossible chain. An expression like 7 < x < 3 describes no numbers at all.
  • Mixing symbol directions. Avoid forms such as 2 < x > 6. Write x > 2 and x > 6, then simplify to x > 6.
  • Dropping a part. Both inequalities must appear in your final test.
  • Ignoring the context. Counts of objects must be whole numbers, and measurements usually cannot be negative.

Common questions

Is the order of the two parts important?

No. "A and B" has the same solutions as "B and A," because the overlap of two sets does not depend on which you list first.

Can and ever produce two separate pieces?

Yes, if one of the conditions already has two pieces. For instance, "x ≠ 2 and 0 ≤ x ≤ 5" gives [0, 2) ∪ (2, 5]. Two single rays cannot do this.

Where does and hide without being written?

Any statement such as |x| < 3 means x > -3 and x < 3. Phrases like "between," "within" and "from... to" usually carry the same meaning, though you should check whether the endpoints are meant to count.

Written for 4Algebra with AI writing tools and not reviewed line by line by a person. Check anything you rely on against a textbook or primary source. Report an error.

Keep reading

All 28 articles in Systems and Inequalities →

Latest news on this topic