Graph Inequalities

You can graph a linear or quadratic inequality similarly to how you would graph an equation. The difference is that, since an inequality shows a set of values greater than or less than, your graph will show more than just a dot on a number line or a line on a coordinate plane. By using algebra and evaluating the inequality sign, you can determine which values are included in the solution of an inequality.

Steps

Graphing a Linear Inequality on a Number Line

  1. Solve for the variable. To Solve a Simple Linear Inequality isolate the variable using the same algebraic methods you would use to solve an equation.[1] Remember that when you multiply or divide by a negative number, you need to flip the inequality sign.
    • For example, if you are solving the inequality <math>3y + 9 > 12</math>, isolate the variable by subtracting 9 from each side of the inequality, then dividing by 3:
      <math>3y + 9 > 12</math>
      <math>3y + 9 - 9> 12 - 9</math>
      <math>3y > 3</math>
      <math>\frac{3y}{3} > \frac{3}{3}</math>
      <math>y > 1</math>
    • Your inequality should only have one variable. If your inequality has two variables, it is more appropriate to graph it on a coordinate plane using another method.
  2. Draw a number line. Include the relative value on your number line (the value you found the variable to be less than, greater than, or equal to). Make the number line as long or short as required.
    • For example, if you found that <math>y > 1</math>, make sure to include a point for 1 on the number line.
  3. Draw a circle indicating the relative value. If the value is less than (<math><</math>) or greater than (<math>></math>) this number, the circle should be open, since the solution does not include the value. If the value is less than or equal to (<math>\leq</math>), or greater than or equal to (<math>\geq</math>), the circle should be filled in, since the solution includes the value.[2]
    • For example, if <math>y > 1</math>, you would draw a circle at 1 on the number line. You would not fill in the circle, since 1 is not included in the solution.
  4. Draw an arrow indicating the included values. If the variable is greater than the relative value, your arrow should point to the right, since the solution includes values greater than that number. If the variable is less than the relative value, your arrow should point to the left, since the solution includes values less than that number.[2]
    • For example, for the solution <math>y > 1</math>, you would draw an arrow pointing to the right, since the solution includes values greater than 1.

Graphing a Linear Inequality on a Coordinate Plane

  1. Solve for <math>y</math>. You want to find the equation of the line, so to do this you need to isolate the <math>y</math> variable on the left side of the equation using algebra.[3] The right side of the equation should have the <math>x</math> variable, and likely, a constant.
    • For example, for the inequality <math>3y + 9 > 9x</math>, you would isolate the y variable by subtracting 9 from both sides, then dividing by 3:
      <math>3y + 9 > 9x</math>
      <math>3y + 9 - 9 > 9x - 9</math>
      <math>3y > 9x - 9</math>
      <math>\frac{3y}{3} > \frac{9x - 9}{3}</math>
      <math>y > 3x - 3</math>
  2. Graph the line on a coordinate plane. To do this, turn the inequality into an equation, and graph as you would any equation of a line.[3] Plot the y-intercept, then use the slope to graph other points on the line.
    • For example, if the inequality is <math>y > 3x - 3</math>, you would graph the line <math>y = 3x - 3</math>. The y-intercept (the point where the line crosses the y axis) is -3, and the slope is 3, or <math>\frac{3}{1}</math>. So, you would draw a point at <math>(0, -3)</math>. The point above the y-intercept is <math>(1, 0)</math>. The point below the y-intercept is <math>(-1, -6)</math>.
  3. Draw the line. If the inequality is less than (<math><</math>) or greater than (<math>></math>), the line should be dashed, since the solution does not include values equal to the line. If the value is less than or equal to (<math>\leq</math>), or greater than or equal to (<math>\geq</math>), the line should be solid, since the solution includes values equal to the line.[4]
    • For example, since the inequality is <math>y > 3x - 3</math>, the line should be dashed, since the values do not include points on the line.
  4. Shade in the appropriate area. If the inequality shows <math>y > mx + b</math> you should shade in the area above the line. If the inequality shows <math>y < mx + b</math>, you should shade the area below the line.[3]
    • For example, for the inequality <math>y > 3x - 3</math> you would shade above the line.

Graphing a Quadratic Inequality on a Coordinate Plane

  1. Determine whether you have a quadratic inequality. A quadratic inequality takes the form of <math>ax^{2} + bx + c</math>.[5] Sometimes there may not be an <math>x</math> term or a constant, but there should always be an <math>x^{2}</math> term on one side of the inequality, and an isolated <math>y</math> variable on the other side.
    • For example, you might need to graph the inequality <math>y < x^{2} - 10x + 16</math>.
  2. Graph the line on a coordinate plane. To do this, turn the inequality into an equation, and graph the line as you normally would. Since you have a quadratic equation, the line will be a parabola.[6]
    • For example, for the inequality <math>y < x^{2} - 10x + 16</math>, you would graph the line <math>y = x^{2} - 10x + 16</math>. The vertex is at point <math>(5, -9)</math>, and the parabola crosses the x-axis at the points <math>(2, 0)</math> and <math>(8, 0)</math>.
  3. Draw the parabola. Draw the parabola with a dashed line if the inequality is less than (<math><</math>) or greater than (<math>></math>). If the value is less than or equal to (<math>\leq</math>), or greater than or equal to (<math>\geq</math>), you should draw the parabola with a solid line, since the solution includes values equal to the line.[7]
    • For example, for the inequality <math>y < x^{2} - 10x + 16</math>, you would draw the parabola with a dashed line.
  4. Find some test points. In order to determine which area to shade, you need to pick points from inside the parabola, and from outside the parabola.
    • For example, the graph of the inequality <math>y < x^{2} - 10x + 16</math> shows that the point <math>(0, 0)</math> is outside the parabola. This would be a good point to use to test the solution.
  5. Shade the appropriate area. To determine which area to shade, plug the values of <math>x</math> and <math>y</math> from your test points into the original inequality. Whichever point produces a true inequality indicates which area of the graph should be shaded in.[6]
    • For example, plugging the values of <math>x</math> and <math>y</math> of the point <math>(0, 0)</math> into the original inequality, you get:
      <math>y < x^{2} - 10x + 16</math>
      <math>0 < 0^{2} - 0x + 16</math>
      <math>0 < 16</math>
      Since this is true, you would shade the area of the graph where the point <math>(0, 0)</math> is found. In this case, this is outside of the parabola, not inside of it.

Tips

  • Always simplify the inequalities before graphing them.
  • If you get really stuck, you can input the inequality into a graphing calculator and try to work backwards.



Related Articles

Sources and Citations