Skip to main content
TexasMathsSyllabus dot point

How do you graph the solution set of a linear inequality in two variables, choosing the boundary line style and the side to shade?

Graph the solution set of linear inequalities in two variables on the coordinate plane, using a solid or dashed boundary and shading the correct half-plane (TEKS A.3D).

A STAAR Algebra I answer on graphing linear inequalities in two variables (TEKS A.3D) - dashed versus solid boundary lines, choosing the half-plane to shade with a test point, and the hot-spot item type.

Generated by Claude Opus 4.89 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this topic is asking
  2. Step one: the boundary line and its style
  3. Step two: which half-plane to shade
  4. Why the test point works
  5. How STAAR examines this topic
  6. Inequalities in context and vertical or horizontal boundaries
  7. Try this

What this topic is asking

TEKS A.3D asks you to graph the solution set of a linear inequality in two variables. On the redesigned STAAR this appears as a traditional question (match the description or the graph) and as a hot-spot item (select the matching inequality or shade a region). Two decisions define the graph: the boundary line style (solid or dashed) and which half-plane to shade.

Step one: the boundary line and its style

Replace the inequality symbol with an equals sign and graph that line. The symbol decides the style:

  • \le or \ge: solid line, because points on the line satisfy the inequality.
  • << or >>: dashed line, because points on the line are not solutions.

So yx+2y \ge x + 2 uses a solid line; y<x+2y < x + 2 uses a dashed line. Choosing the wrong style is a frequent error on hot-spot items, where the solid-versus-dashed choice is part of the answer.

Step two: which half-plane to shade

Once the boundary is drawn, shade the region containing all the solution points. Two reliable methods:

  • Solve for yy. With yy isolated, shade above for >> or \ge and below for << or \le.
  • Test a point. Pick a point not on the line, often (0,0)(0, 0), and substitute. If the inequality is true, shade that point's side; if false, shade the other side.

Why the test point works

A boundary line splits the plane into two half-planes, and a linear inequality is true on exactly one of them. So a single test point settles the whole region: whichever side that point lands on, the truth value of the inequality there is the truth value for the entire half-plane. Choosing the origin is convenient whenever the line does not pass through it.

How STAAR examines this topic

  • Multiple choice. Describe the graph (dashed or solid, above or below), or match an inequality to a shaded graph.
  • Hot spot. Select the inequality that matches a shown graph, or identify the boundary and region. Both the line style and the shading must be right.
  • In systems. Two-variable inequalities reappear when shading the overlap region for a system of inequalities.

A clarifying idea is that the boundary is the set of equality cases, so a solid line literally includes those edge points as solutions while a dashed line marks them as the cutoff that is not reached.

Inequalities in context and vertical or horizontal boundaries

In a real-world constraint, the shaded region is the set of feasible combinations. If a worker earns 10perlawn(10 per lawn (x)and) and 15 per car wash (yy) and needs at least 120,theconstraint120, the constraint 10x + 15y \ge 120describeseveryacceptableworkload,andonlythepartinthefirstquadrant(nonnegative describes every acceptable workload, and only the part in the first quadrant (non-negative xand and y$) makes sense. Restricting to sensible values is the interpretive step a context item rewards.

Boundaries are not always slanted. A horizontal boundary comes from an inequality like y4y \le 4 (shade everything on or below the horizontal line y=4y = 4), and a vertical boundary comes from x>2x > 2 (a dashed vertical line x=2x = 2, shaded to the right). The same two decisions apply: the symbol sets solid versus dashed, and a test point or the direction of the inequality sets the shaded side. These simpler boundaries are easy points when you do not over-think them.

Try this

Q1. State the boundary style and shading for y>x+1y > -x + 1. [1 point]

  • Cue. Dashed line (strict), shaded above.

Q2. Is (1,1)(1, 1) a solution of 3xy53x - y \le 5? [1 point]

  • Cue. 3(1)1=253(1) - 1 = 2 \le 5 is true, so yes.

Exam-style practice questions

Practice questions written in the style of TEA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

STAAR (style)1 marksMultiple choice. Which describes the graph of y<2x3y < 2x - 3? (A) Dashed line, shaded below (B) Solid line, shaded below (C) Dashed line, shaded above (D) Solid line, shaded above
Show worked answer →

The correct answer is (A).

The inequality is strict (<<), so the boundary line y=2x3y = 2x - 3 is dashed (points on the line are not solutions). Because yy is less than the expression, the solution is the half-plane below the line. Test the origin (0,0)(0, 0): 0<2(0)3=30 < 2(0) - 3 = -3 is false, so (0,0)(0,0) is not in the solution set, confirming you shade the side away from the origin, which here is below the line.

STAAR (style)2 marksHot spot. The graph of a linear inequality has a solid boundary line through (0,1)(0, 1) and (2,5)(2, 5), with the region above the line shaded. Select the inequality that matches: y2x+1y \le 2x + 1, y2x+1y \ge 2x + 1, y<2x+1y < 2x + 1, y>2x+1y > 2x + 1.
Show worked answer →

The correct inequality is y2x+1y \ge 2x + 1.

The boundary line through (0,1)(0, 1) and (2,5)(2, 5) has slope 5120=2\frac{5 - 1}{2 - 0} = 2 and yy-intercept 1, so it is y=2x+1y = 2x + 1. A solid line means the inequality includes equality (\le or \ge). The region above the line is where yy is greater than the expression, so y2x+1y \ge 2x + 1. A dashed line would have used a strict inequality; shading above rules out the \le options.

Related dot points

Sources & how we know this