Can a Galway temperature be less than 3 °C from 2 °C and over 2 °C from −1 °C?
A weather station in Galway gives you two clues. The temperature is less than three degrees from two degrees Celsius, and more than two degrees from minus one degree Celsius. Which readings fit both clues at once?
You can show the numbers between two and six on a number line. If the inequality is strict, leave both endpoints out: use open circles and round brackets. If equality is allowed at both ends, include them: use filled circles and square brackets.
Start at two. Move three units left to minus one and three right to five. The bars in modulus of x minus two mean distance from two. For a distance less than three, shade between those endpoints. The open circles show that minus one and five are left out.
Now the centre is four, and you want points less than two units away. Find the two points that are exactly two units from four, then pick the interval that includes neither endpoint.
Modulus of x plus one is the distance from minus one, since x plus one is x minus negative one. Move two units left to minus three and two right to one. For more than two units, shade outwards from both boundaries. The arrows continue, and the open circles exclude the endpoints.
Line up the blue interval from minus one to five with the orange rays below minus three and above one. Where both rows are shaded, draw a green interval on the bottom line. That overlap is the intersection. It runs from one to five, with both ends left out.
Two minus three is minus one, and two plus three is five. Set A lies between them. Minus one minus two is minus three, and minus one plus two is one. Set B lies outside those endpoints. Only the right ray overlaps A, so x is strictly between one and five.
This time you need both conditions. Stay less than four units from three and more than three units from zero. Work out the inside interval and the two outside rays, then pick the part they share.
Keeping either shading when the question says both is a common mistake. Think about two and six. Two fits both conditions, but six fits only the second. The intersection keeps two and excludes six. The union keeps both numbers because each fits at least one condition.
Solve this inequality for x in the set of real numbers. You need points at least two units from minus one, so take the two exterior rays. Equality includes minus three and one. In interval notation, use square brackets at those two endpoints.