Resources For Teachers For Tutors For Students & Parents Pricing
Year 10 Maths - 10A Linear Relations

Graphing Inequalities on the Cartesian Plane

20 practice questions 0 video lessons Theory + worked examples
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

A linear inequality in \(x\) and \(y\), such as \(y \lt 2x + 1\), describes a region of the number plane: all the points on one side of a boundary line. This Year 10A maths page (Victorian Curriculum 10A) shows how to test whether a point is in a region, draw the boundary solid or dashed, shade the correct side using a test point, write the inequality for a shaded region, and describe regions made by two or more inequalities. It also finds the corners and areas of regions, and spots regions that never overlap. In the Victorian Curriculum this is part of VC2M10A08 (graphing regions); in the Australian Curriculum it interprets inequalities graphically. Curriculum: VC2M10A08 / AC9M10A02.

A linear inequality in two variables, such as \(y \lt 2x + 1\) or \(3x + 2y \ge 6\), is true for some points \((x, y)\) and false for others. All the points that make it true form a region of the number plane: everything on one side of a straight line.

The boundary line comes from replacing the inequality sign with \(=\). Draw it solid for \(\le\) or \(\ge\), because points on the line are included, and dashed for \(\lt\) or \(\gt\), because they are not.

A test point decides which side to shade. Substitute a point that is not on the line, usually the origin \(O(0, 0)\). If the inequality is true, shade the side containing the test point; if it is false, shade the other side.

When \(y\) is the subject, \(y \gt mx + c\) is the region above the line and \(y \lt mx + c\) is the region below it. For a vertical boundary, \(x \gt a\) is the region to the right of the line \(x = a\).

A region described by two or more inequalities is their overlap: the points that make every inequality true at the same time.

The region y is less than x plus 1The dashed line y = x + 1 crosses the y-axis at 1 and the x-axis at -1. The region below the line is shaded. The line itself is dashed because points on it are not included. x y βˆ’4 βˆ’3 βˆ’2 βˆ’1 1 2 3 4 βˆ’4 βˆ’3 βˆ’2 βˆ’1 1 2 3 4 5 O y = x + 1 y < x + 1
\(y \lt x + 1\) is the region below the line. The line is dashed, so points on it are not included.
The region 2x plus y is less than or equal to 4, with the origin as test pointThe solid line 2x + y = 4 passes through (0, 4) and (2, 0). The origin is marked as the test point. The side of the line containing the origin is shaded. x y βˆ’3 βˆ’2 βˆ’1 1 2 3 4 5 βˆ’3 βˆ’2 βˆ’1 1 2 3 4 5 6 O 2x + y = 4 (0, 4) (2, 0) test O
For \(2x + y \le 4\), test \(O\): \(0 \le 4\) is true, so shade the side containing \(O\). The line is solid because of \(\le\).
SignBoundary linePoints on the line
\(\lt\) or \(\gt\)dashednot in the region
\(\le\) or \(\ge\)solidin the region
InequalityRegion
\(y \gt mx + c\)above the line
\(y \lt mx + c\)below the line
\(x \gt a\)right of the vertical line \(x = a\)
\(y \lt b\)below the horizontal line \(y = b\)
Intercepts of the boundary. For a line \(ax + by = c\), put \(x = 0\) to find the \(y\)-intercept and \(y = 0\) to find the \(x\)-intercept. For \(3x + 4y = 12\): \((0, 3)\) and \((4, 0)\).
When the line passes through O. The origin cannot be the test point. Use another point that is clearly on one side, such as \((1, 0)\) or \((0, 1)\).
Writing the inequality from a graph. Find the boundary's equation from two points on it (gradient \(m = \dfrac{\text{rise}}{\text{run}}\), then the \(y\)-intercept \(c\)). Use \(\lt\) or \(\gt\) for a dashed line and \(\le\) or \(\ge\) for a solid line. Then substitute a shaded point to choose the direction.
Worded problems. A cinema charges \(\$15\) per adult and \(\$10\) per child, and needs takings of at least \(\$600\) for a session. With \(a\) adults and \(c\) children, \(15a + 10c \ge 600\), with \(a \ge 0\) and \(c \ge 0\). For \(20\) adults and \(30\) children, \(300 + 300 = 600 \ge 600\), so that point is in the region.
Corner points. A corner of a region is where two boundary lines meet: solve their equations simultaneously. The corner belongs to the region only if it lies on solid lines. For \(y \le x + 1\) and \(y \gt -x - 1\), the lines meet at \((-1, 0)\), which is on the dashed line, so it is not included.
Regions that never overlap. \(y \gt x + 2\) and \(y \lt x - 1\) have parallel boundaries (both gradient \(1\)). The first region is above the upper line and the second is below the lower line, so no point satisfies both.
Area of a region. When the region is a triangle or a rectangle, find its corners first, then use \(A = \dfrac{1}{2}bh\) or \(A = lw\) with lengths read from the coordinates.

How to sketch a region

  1. Boundary: replace the inequality sign with \(=\) and find two points on the line, such as the intercepts.
  2. Solid or dashed: solid for \(\le\) or \(\ge\), dashed for \(\lt\) or \(\gt\).
  3. Test a point not on the line, usually \(O(0, 0)\), in the original inequality.
  4. Shade the side containing the test point if it gave a true statement, otherwise the other side.
  5. Label the boundary with its equation.

How to write the inequality for a shaded region

  1. Find the equation of the boundary line from two points on it.
  2. Choose the sign type: \(\lt\) or \(\gt\) for dashed, \(\le\) or \(\ge\) for solid.
  3. Substitute a shaded point: the direction that makes it true is the one to use.

Two or more inequalities

  1. Draw each boundary and decide which side of each one works.
  2. Shade only the overlap, where every inequality is true.
  3. Check one point inside the region in every inequality. For a worded problem, also include conditions such as \(x \ge 0\) and \(y \ge 0\) when \(x\) and \(y\) count things.
Example 1 β€” Testing points
Which of the points \((1, 4)\), \((0, 1)\), \((3, 0)\) and \((-2, 1)\) lie in the region \(y \le 2x + 1\)?
Solution

Substitute each point into the inequality and check whether it is true.

\((1, 4):\ 4\)\(\le\)\(2(1) + 1 = 3 \quad \text{false}\)
\((0, 1):\ 1\)\(\le\)\(2(0) + 1 = 1 \quad \text{true}\)
\((3, 0):\ 0\)\(\le\)\(2(3) + 1 = 7 \quad \text{true}\)
\((-2, 1):\ 1\)\(\le\)\(2(-2) + 1 = -3 \quad \text{false}\)
(0, 1) and (3, 0)

The points in the region are \(\mathbf{(0, 1)}\) and \(\mathbf{(3, 0)}\). The point \((0, 1)\) lies on the boundary line; it is included because the sign is \(\le\).

Example 2 β€” Sketching a region
Sketch the region \(4x + y \gt 4\).
(i) Find the intercepts of the boundary line.
(ii) Is the boundary solid or dashed?
(iii) Use a test point to decide which side to shade.
Solution

(i) The boundary is \(4x + y = 4\).

\(x = 0:\ y\)\(=\)\(4 \quad (0, 4)\)
\(y = 0:\ 4x\)\(=\)\(4,\ x = 1 \quad (1, 0)\)

(ii) The sign is \(\gt\), so the line is dashed.

(iii) Test \(O(0, 0)\):

\(4(0) + 0\)\(\gt\)\(4\)
\(0\)\(\gt\)\(4 \quad \text{false}\)
4x + y > 4: dashed line through (0, 4) and (1, 0); shade the side away from O

The origin is not in the region, so shade the side of the line away from \(O\).

The region 4x plus y is greater than 4The dashed line 4x + y = 4 passes through (0, 4) and (1, 0). The side of the line away from the origin is shaded. x y βˆ’2 βˆ’1 1 2 3 4 βˆ’3 βˆ’2 βˆ’1 1 2 3 4 5 6 O 4x + y = 4 (0, 4) (1, 0)
Example 3 β€” Writing the inequality
The shaded region has a solid boundary through the marked points. Write the inequality for the region.
A shaded region with a solid boundary through (0, -1) and (2, 3)A solid straight line passes through the marked points (0, -1) and (2, 3). The side of the line containing the origin, above and to the left of the line, is shaded. x y βˆ’3 βˆ’2 βˆ’1 1 2 3 4 βˆ’3 βˆ’2 βˆ’1 1 2 3 4 5 O (0, βˆ’1) (2, 3)
Solution

Find the equation of the boundary from \((0, -1)\) and \((2, 3)\).

\(m\)\(=\)\(\dfrac{3 - (-1)}{2 - 0} = \dfrac{4}{2} = 2\)
\(c\)\(=\)\(-1\)
\(y\)\(=\)\(2x - 1\)

The line is solid, so the sign is \(\le\) or \(\ge\). The origin is shaded, so test it:

\(0\)\(\;?\;\)\(2(0) - 1 = -1\)
\(0\)\(\ge\)\(-1 \quad \text{true}\)
yβ‰₯2xβˆ’1

The inequality is \(\boldsymbol{y \ge 2x - 1}\). The shading is above the line, which agrees with \(y \ge \ldots\).

Example 4 β€” Corners and area of a region
The region is defined by \(y \ge 0\), \(y \le 2x + 4\) and \(y \le -x + 7\).
(i) Sketch the region and find the coordinates of its corners.
(ii) Find its area.
Solution

(i) All three boundaries are solid. \(y \ge 0\) is on or above the \(x\)-axis, and \(O\) satisfies the other two (\(0 \le 4\) and \(0 \le 7\)), so the region is the triangle that contains \(O\).

\(2x + 4 = 0\)\(\Rightarrow\)\((-2, 0)\)
\(-x + 7 = 0\)\(\Rightarrow\)\((7, 0)\)
\(2x + 4\)\(=\)\(-x + 7\)
\(3x\)\(=\)\(3,\ \ x = 1,\ \ y = 6\)

The corners are \(\mathbf{(-2, 0)}\), \(\mathbf{(7, 0)}\) and \(\mathbf{(1, 6)}\).

The triangular region y at least 0, y at most 2x plus 4 and y at most negative x plus 7The x-axis, the solid line y = 2x + 4 and the solid line y = -x + 7 enclose a shaded triangle with vertices (-2, 0), (7, 0) and (1, 6). x y βˆ’4 βˆ’3 βˆ’2 βˆ’1 1 2 3 4 5 6 7 8 βˆ’1 1 2 3 4 5 6 7 O y = 2x + 4 y = βˆ’x + 7 (βˆ’2, 0) (7, 0) (1, 6)

(ii) The base runs along the \(x\)-axis from \(-2\) to \(7\), and the height is the \(y\)-coordinate of \((1, 6)\).

\(b\)\(=\)\(7 - (-2) = 9\)
\(h\)\(=\)\(6\)
\(A\)\(=\)\(\dfrac{1}{2} \times 9 \times 6 = \mathbf{27}\ \text{units}^2\)
area=27

Check with a point inside, such as \((1, 2)\): \(2 \ge 0\), \(2 \le 6\) and \(2 \le 6\) βœ“

Common pitfalls

Solid or dashed. \(\lt\) and \(\gt\) need a dashed line; \(\le\) and \(\ge\) need a solid line. A solid line for \(y \gt 2x\) wrongly includes points such as \((1, 2)\).
Test in the inequality, not the equation. Substituting \(O\) into \(2x + y = 4\) gives \(0 = 4\), which tells you nothing. Use \(2x + y \le 4\): \(0 \le 4\) is true.
Above and below need y as the subject. \(2x - y \gt 4\) is not "above". Rearranging gives \(-y \gt 4 - 2x\), and dividing by \(-1\) reverses the sign: \(y \lt 2x - 4\), the region below the line. A test point avoids this trap.
Never test a point on the line. If the boundary passes through \(O\), a test at \(O\) cannot tell the two sides apart. Choose another point.

Frequently asked questions

How do you know which side of the line to shade?

Substitute a test point that is not on the line, usually the origin. If it makes the inequality true, shade the side it is on. If it makes it false, shade the other side.

When is the boundary line dashed?

When the inequality is strict, \(\lt\) or \(\gt\). Points on the line do not satisfy it, so the line is drawn dashed. For \(\le\) or \(\ge\) the line is solid.

What does y > 2x + 1 look like on a graph?

It is the region above the line \(y = 2x + 1\), which is drawn dashed. The line crosses the \(y\)-axis at \(1\) and has gradient \(2\).

How do you graph two inequalities on the same number plane?

Draw both boundary lines, decide which side of each one works, and shade only the overlap. Every point in the final region makes both inequalities true.

Can the origin always be used as a test point?

Only if it is not on the boundary line. If the line passes through the origin, use another point such as \((1, 0)\).