Solving Inequalities with Two Variables

This tutorial explains how to solve inequalities involving two variables using graphical methods. Several examples are presented with detailed explanations and illustrations.

An inequality in two variables usually involves variables \(x\) and \(y\). An ordered pair \((a,b)\) is a solution if the inequality is true when \(x=a\) and \(y=b\). Since each ordered pair corresponds to a point in the coordinate plane, the solution set of an inequality is generally a region in the \(xy\)-plane.

If we replace the inequality symbol with an equal sign, we obtain the corresponding equation. The graph of this equation divides the plane into regions such that: either all points in a region satisfy the inequality, or none do. This idea is illustrated in the examples below.


Example 1: Solving a Linear Inequality

Problem. Solve graphically the inequality

\[ x \ge 2 \]

Solution

To find the solution set:

  1. Graph the corresponding equation \(x = 2\). This vertical line divides the plane into two regions.
  2. Select a test point from one of the regions.
  3. If the point satisfies the inequality, then the entire region is the solution set.

Choose the point \((3,2)\), which lies to the right of the line \(x=2\). Substituting \(x=3\) into the inequality gives

\[ 3 \ge 2 \]

which is true. Therefore, the solution set is the region to the right of the line \(x=2\), including the line itself. The line is drawn solid because the inequality includes equality.

Graphical solution of the inequality x ≥ 2


Example 2: Horizontal Boundary

Problem. Solve graphically the inequality

\[ y < 1 \]

Solution

  1. Graph the equation \(y = 1\), a horizontal line.
  2. Select a test point below the line, such as \((1,-1)\).
  3. Substitute \(y=-1\) into the inequality.
\[ -1 < 1 \]

This statement is true, so the solution set is the region below the line \(y=1\). Because the inequality is strict, the boundary line is drawn dashed.

Graphical solution of the inequality y < 1


Example 3: Linear Inequality in Two Variables

Problem. Solve graphically the inequality

\[ 2y < -4x + 4 \]

Solution

  1. Graph the equation \(2y = -4x + 4\).
  2. The line has intercepts \((1,0)\) and \((0,2)\).
  3. Select a test point such as \((0,0)\).
\[ 2(0) < -4(0) + 4 \] \[ 0 < 4 \]

The inequality is satisfied, so the solution set is the region containing the point \((0,0)\). The boundary line is dashed because the inequality is strict.

Graphical solution of the inequality 2y < -4x + 4


Example 4: Quadratic Inequality

Problem. Solve graphically the inequality

\[ y > x^2 - 2x - 3 \]

Solution

  1. Graph the equation \(y = x^2 - 2x - 3\).
  2. The parabola has x-intercepts at \((-1,0)\) and \((3,0)\), and a y-intercept at \((0,-3)\).
  3. Select a test point such as \((0,0)\).
\[ 0 > (0)^2 - 2(0) - 3 \] \[ 0 > -3 \]

This statement is true, so the solution set is the region above the parabola. Since the inequality is strict, the parabola is drawn dashed.

Graphical solution of the inequality y > x^2 - 2x - 3