### GCSE Maths

Numbers
Algebra
Geometry and Measures
Probability
Statistics

# Graphing Inequalities

Inequalities can be represented graphically using number lines or coordinate planes. Graphing inequalities helps to visualise the solution set and provides a better understanding of the relationships between the variables.

## Number Line Representation

When representing a simple inequality on a number line, follow these steps:

1. Draw a number line with the variable’s possible values.

2. Identify the critical value (the value at which the inequality sign changes direction).

3. For strict inequalities (<, >), draw an open circle at the critical value, which indicates that the value is not included in the solution set. For inclusive inequalities (≤, ≥), draw a closed circle at the critical value to show that it is part of the solution set.

4. Shade the appropriate region of the number line or draw an arrow above it, according to the inequality sign. For example, to graph x > 4, draw an open circle at 4 and shade the line to the right, or draw an arrow to the right. This represents all values greater than 4.

You can look at number lines in more detail here.

## Drawing Graphical Inequalities

We can represent inequalities on a coordinate plane. For example, x > 4:

The dashed line represents , labelled as b and the shaded region, labelled as G, is .

To graph 2-variable linear inequalities on a coordinate plane:

Step 1: Rewrite the inequality in the slope-intercept form , if necessary.

Step 2: Plot the line corresponding to the equality . Use a solid line for inclusive inequalities (≥, ≤) and a dashed line for strict inequalities (>, <). The solid line indicates that the points on the line are included in the solution set, while the dashed line shows that they are not.

Step 3: Choose a test point, usually the origin (0, 0), unless the line passes through it. Substitute the test point’s coordinates into the inequality. If the inequality holds true, shade the region containing the test point. If the inequality is not true, shade the region on the opposite side of the line.

For example, to graph :

1. The inequality is already in slope-intercept form.

2. Draw a dashed line representing , as the inequality is strict .

3. Use the origin (0, 0) as the test point. Substitute its coordinates into the inequality: , which simplifies to . Since this statement is false, shade the region on the opposite side of the line, which is below the line in this case.

The graph of the inequality consists of the dashed line and the region below it.

## Determining Graphical Inequalities

To find the equation of a line that has been drawn on a graph:

Step 1. Identify two points on the line: Locate any two distinct points on the line. If possible, choose points with integer coordinates for easier calculations.

Step 2. Calculate the slope: Find the slope (m) of the line by calculating the difference in y-coordinates divided by the difference in x-coordinates of the two points. The slope formula is: where and are the coordinates of the two points.

Step 3. Find the y-intercept: The y-intercept (b) is the point where the line crosses the y-axis. If one of the points used in step 1 is on the y-axis, use its y-coordinate as the y-intercept. If not, you can substitute the slope (m) and one of the points (x1, y1) into the slope-intercept equation and solve for b: Step 4. Write the equation of the line: Using the slope (m) and y-intercept (b), write the equation of the line in the slope-intercept form .

Here’s an example:

Suppose you are given a graph with a line passing through the points (1, 3) and (3, 7).

1. Identify two points on the line: (1, 3) and (3, 7)

2. Calculate the slope: 3. Find the y-intercept:

• Substitute the slope (m = 2) and one of the points (1, 3) into the equation: • Solve for 4. Write the equation of the line: So, the equation of the line is .

## Examples

Example 1:

Graph the inequality .

1. Begin by graphing the line . To do this, first locate the y-intercept, which occurs when x = 0. In this case, the y-intercept is at point (0, 2).

2. Next, find another point on the line using the slope, which is -3. The slope represents the rise over run, or the change in y divided by the change in x. Since the slope is -3, this means the line goes down 3 units and moves to the right by 1 unit. From the y-intercept (0, 2), go down 3 units and to the right 1 unit to find the point (1, -1).

3. Now that you have two points, (0, 2) and (1, -1), draw a solid line connecting them. The solid line indicates that the points on the line are included in the solution set, as the inequality is inclusive (≥).

4. To determine which region to shade, choose a test point that does not lie on the line, such as the origin (0, 0). Substitute the coordinates of the test point into the inequality:  Since this statement is false, shade the region on the opposite side of the line, which is above the line in this case.

5. The graph of the inequality consists of the solid line and the region above it. Label the line, the y-intercept, and the two points used to draw the line for clarity. This graphical representation shows all the points (x, y) that satisfy the inequality .

Example 2:

Shade the region of a graph that satisfies the following inequalities simultaneously: , , and . After this, label the shaded region S.

1. Start by sketching or plotting the three inequalities on a coordinate plane:

a. : This is a straight line with a slope of 1 and a y-intercept of 2. Draw a dashed line representing this inequality, as the inequality is strict .

b. : This is a vertical line passing through . Draw a dashed line representing this inequality as well, as the inequality is strict .

c. y ≥ 1: This is a horizontal line passing through . Draw a solid line representing this inequality, as the inequality is inclusive .

2. Determine the region that satisfies all three inequalities:

a. For , the region below the line is shaded.

b. For , the region to the left of the line is shaded.

c. For , the region above the line is shaded.

3. Identify the region where all three shaded regions overlap. This is the region that satisfies all three inequalities simultaneously. In this case, it is a triangular region bounded by the lines , and . 