Solving And Inequalities

Introduction

Welcome back to Solving Compound Inequalities! In the previous lesson, you explored the difference between the connectives "and" and "or" and learned that "and" produces an intersection (overlap) while "or" produces a union (combined region). With that foundation in place, you are ready to take the next step in this second lesson of the course.

This time, we will learn how to solve "and" compound inequalities from start to finish. The plan is simple: solve each part on its own, then find the overlap of the two solution sets. Along the way, we will also discover what happens when the two sets have no overlap at all — a case that is just as important to recognize.

From Reading to Solving

So far, the compound inequalities you have seen were already in their simplest form — the variable was isolated, and you only needed to interpret the result. In real problems, though, each part of a compound inequality usually involves some algebra before the solution becomes visible. A statement like 2x+1>52x + 1 > 5 and x3<4x - 3 < 4 does not reveal its overlap until you solve both parts.

The good news is that every technique you need — adding, subtracting, multiplying, dividing, flipping the sign when multiplying by a negative — comes from your earlier coursework. The new skill in this lesson is bringing the two individual results together and deciding what the overlap looks like, or whether an overlap exists at all.

Solving Each Part Separately

Finding the Overlap

Sign up

Join the 1M+ learners on CodeSignal

Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal