Graphing Compound Solutions

Introduction

Welcome back to Solving Compound Inequalities! You are now on the fifth of six lessons, which means you are almost at the finish line for this course. Over the previous four lessons, you learned to distinguish "and" from "or," solved both types of compound inequalities, and streamlined bounded solutions using three-part chains.

Along the way, number-line visuals appeared to illustrate results — but we never paused to study how those graphs are built from scratch. This lesson puts the number line front and center.

You will learn exactly how to graph compound solutions by choosing the correct endpoint style and drawing the correct shape — whether that is a single bounded segment or two separated rays.

Two Shapes, Two Meanings

The logical difference between "and" and "or" produces two visually distinct shapes on the number line. Recognizing this connection before you pick up a pencil makes graphing much faster.

  • An "and" solution usually appears as a single bounded segment — a finite stretch between two boundary values where both conditions are satisfied.
  • An "or" solution usually appears as two separated rays — one extending to the left and one to the right, with a gap of excluded values in between.

Think of it this way: "and" squeezes the solution into a window, so the shading stays between the boundaries. "Or" pushes the solution outward, so the shading moves away from the boundaries in both directions. Once you know which connective the compound inequality uses, you already know the overall shape before drawing a single mark.

Graphing "And" Solutions: The Bounded Segment

Choosing the Right Endpoint: Open or Closed

Graphing "Or" Solutions: Two Separated Rays

When a Compound Solution Is a Single Ray

From Inequality to Graph: A Pool Temperature Example

Edge Cases on the Number Line

Compound Type at a Glance

Conclusion and Next Steps

In this lesson, you learned how to turn compound inequality solutions into clear number-line graphs. An "and" solution forms a bounded segment between two endpoints, an "or" solution forms two separated rays heading in opposite directions, and the inequality symbol at each boundary determines whether the circle is open or closed. We also covered the edge cases — an empty number line when "and" has no overlap, a fully shaded line when "or" covers everything, and a single ray when both parts point the same direction.

Now it is time to put these graphing skills to the test. In the upcoming practice exercises, you will identify segment-versus-ray shapes, choose correct endpoint types, and match compound inequalities to their number-line graphs — let's see how sharp your visual instincts have become!

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