Graphing Linear Equations and Inequalities in Two Variables: Complete Guide

Master graphing linear equations and inequalities in two variables: step-by-step solutions, graphing methods, and practical examples for college algebra students.

Solution: Exercises 1 to 3
1 Graphing linear equation
Exercise 1
Graph the linear equation 2x + 3y = 6 using the intercept method.
Definition:

Linear equation in two variables: An equation of the form Ax + By = C that represents a straight line when graphed.

Graphing method:
  1. Find the x-intercept by setting y = 0
  2. Find the y-intercept by setting x = 0
  3. Plot both intercepts
  4. Draw a line through the intercepts
Equation
\(2x + 3y = 6\)
X-intercept
\((3, 0)\)
Y-intercept
\((0, 2)\)
Step 1: Find the x-intercept

Set y = 0 in the equation: 2x + 3(0) = 6

2x = 6

x = 3

X-intercept: (3, 0)

Step 2: Find the y-intercept

Set x = 0 in the equation: 2(0) + 3y = 6

3y = 6

y = 2

Y-intercept: (0, 2)

Step 3: Plot the intercepts

Plot point (3, 0) on the x-axis

Plot point (0, 2) on the y-axis

Step 4: Draw the line

Connect the two points with a straight line

Extend the line in both directions

Step 5: Verify with a third point

Choose x = 6: 2(6) + 3y = 6 → 12 + 3y = 6 → 3y = -6 → y = -2

Point (6, -2) should lie on the line

Line passes through (3, 0) and (0, 2)
Final answer:

The line passes through points (3, 0) and (0, 2)

Applied rules:

• Intercept method: Efficient for equations in standard form

• Coordinate plane: Plot points using (x, y) coordinates

• Verification: Check with additional points

2 Graphing linear inequality
Exercise 2
Graph the linear inequality y ≤ 2x - 1.
Definition:

Linear inequality in two variables: An inequality of the form Ax + By ≤ C, Ax + By ≥ C, Ax + By < C, or Ax + By > C.

Inequality
\(y \leq 2x - 1\)
Boundary
\(y = 2x - 1\)
Shading
Below line
Step 1: Graph the boundary line

Graph the equation y = 2x - 1

Since the inequality is ≤, use a solid line

Y-intercept: (0, -1)

Slope: 2 (rise 2, run 1)

Step 2: Determine shading direction

Test point (0, 0): Is 0 ≤ 2(0) - 1?

0 ≤ -1 is false

So shade the region that does NOT contain (0, 0)

Shade below the line

Step 3: Verify with another point

Test point (1, 0): Is 0 ≤ 2(1) - 1?

0 ≤ 1 is true

Point (1, 0) is below the line, confirming correct shading

Step 4: Complete the graph

Draw solid line y = 2x - 1

Shade the region below the line

Include points on the line (solid line)

Step 5: Label the solution

All points in the shaded region satisfy y ≤ 2x - 1

Solid line y = 2x - 1 with region below shaded
Final answer:

Graph shows solid line y = 2x - 1 with the region below the line shaded

Applied rules:

• Solid line: For ≤ or ≥ (includes boundary)

• Dashed line: For < or > (excludes boundary)

• Test point: Use (0, 0) if not on boundary

3 Graphing horizontal inequality
Exercise 3
Graph the inequality x > 3.
Definition:

Vertical line inequality: An inequality involving only x, such as x > a, x < a, x ≥ a, or x ≤ a.

Inequality
\(x > 3\)
Boundary
\(x = 3\)
Shading
Right of line
Step 1: Graph the boundary line

Graph the vertical line x = 3

Since the inequality is >, use a dashed line

Line passes through all points where x = 3

Step 2: Determine shading direction

Test point (0, 0): Is 0 > 3?

0 > 3 is false

So shade the region that does NOT contain (0, 0)

Shade to the right of the line

Step 3: Verify with another point

Test point (4, 2): Is 4 > 3?

4 > 3 is true

Point (4, 2) is to the right of the line, confirming correct shading

Step 4: Complete the graph

Draw dashed vertical line x = 3

Shade the region to the right of the line

Do not include points on the line (dashed line)

Step 5: Interpret the solution

All points with x-coordinate greater than 3 satisfy x > 3

Dashed vertical line x = 3 with region to the right shaded
Final answer:

Graph shows dashed vertical line x = 3 with the region to the right shaded

Applied rules:

• Vertical lines: Form x = a, undefined slope

• Horizontal lines: Form y = b, slope = 0

• Direction: Test point to determine shading side

Graphing Linear Equations and Inequalities: Rules and Methods
\(Ax + By = C\)
Standard Form
Method 1
\(y = mx + b\)
Slope-Intercept
Method 2
\(Ax + By = C\)
Standard Form
Method 3
\(y > mx + b\)
Linear Inequality
Key definitions:

Linear equation: An equation whose graph is a straight line

Linear inequality: An inequality whose solution set forms a half-plane

X-intercept: The point where a graph crosses the x-axis (y = 0)

Y-intercept: The point where a graph crosses the y-axis (x = 0)

Slope: The rate of change of y with respect to x

Boundary line: The line that separates the solution region from the non-solution region in an inequality

Graphing methods:
  1. Intercept method: Find x and y intercepts, plot and connect
  2. Slope-intercept method: Plot y-intercept, use slope to find additional points
  3. Table of values: Select x values, compute y values, plot points
  4. For inequalities: Graph boundary line, test point, shade appropriate region
Tip 1: Use intercept method for equations in standard form.
Tip 2: Use slope-intercept method for equations in y = mx + b form.
Tip 3: For inequalities, use dashed line for < or >, solid line for ≤ or ≥.
Tip 4: Always test a point not on the boundary to determine shading.
Common errors: Incorrect shading direction, wrong line type (solid vs. dashed), miscalculating intercepts, plotting points incorrectly.
Memory aids: "Less than points downward", "Greater than points upward", "Solid includes, dashed excludes".
Essential principles:

• Two points determine a line: Any two points on the line can be used to draw it

• Test point method: Use a point not on the boundary to determine shading

• Line types: Solid for ≤ or ≥, dashed for < or >

• Half-plane: Linear inequality divides plane into two regions

• Coordinate system: Use (x, y) ordered pairs for plotting

Solution: Exercises 4 to 5
4 Graphing compound inequality
Exercise 4
Graph the system of inequalities: y ≥ x + 1 and y < -x + 3.
Definition:

System of linear inequalities: A set of two or more linear inequalities that must be satisfied simultaneously.

Inequality 1
\(y \geq x + 1\)
Inequality 2
\(y < -x + 3\)
Solution
Intersection
Step 1: Graph first inequality y ≥ x + 1

Graph boundary line: y = x + 1

Solid line (≥ includes boundary)

Y-intercept: (0, 1), slope: 1

Test (0, 0): 0 ≥ 0 + 1? False, so shade above the line

Step 2: Graph second inequality y < -x + 3

Graph boundary line: y = -x + 3

Dashed line (< excludes boundary)

Y-intercept: (0, 3), slope: -1

Test (0, 0): 0 < -0 + 3? True, so shade below this line

Step 3: Find intersection of shaded regions

The solution is the area where both shadings overlap

This is the region above y = x + 1 AND below y = -x + 3

Step 4: Identify vertices of solution region

Find intersection point: x + 1 = -x + 3

2x = 2, so x = 1

y = 1 + 1 = 2

Intersection: (1, 2)

Step 5: Verify with test point

Test point (0, 1.5): Does it satisfy both inequalities?

1.5 ≥ 0 + 1? Yes (1.5 ≥ 1)

1.5 < -0 + 3? Yes (1.5 < 3)

Point (0, 1.5) is in solution region ✓

Overlapping region bounded by y = x + 1 and y = -x + 3
Final answer:

The solution is the region above the solid line y = x + 1 and below the dashed line y = -x + 3, with the vertex at (1, 2)

Applied rules:

• System solutions: Intersection of individual solution sets

• Vertex identification: Find intersection points of boundary lines

• Verification: Test points in final solution region

5 Real-world application
Exercise 5
A company produces two products A and B. The constraints are: x + y ≤ 100 (total production), x ≥ 20 (minimum A), and y ≥ 15 (minimum B). Graph the feasible region.
Definition:

Feasible region: The area containing all possible solutions that satisfy all constraints in a linear programming problem.

Constraint 1
\(x + y \leq 100\)
Constraint 2
\(x \geq 20\)
Constraint 3
\(y \geq 15\)
Step 1: Graph constraint x + y ≤ 100

Boundary: x + y = 100

X-intercept: (100, 0)

Y-intercept: (0, 100)

Solid line, shade below (test point (0,0): 0 + 0 ≤ 100 ✓)

Step 2: Graph constraint x ≥ 20

Boundary: x = 20

Vertical solid line

Shade to the right (test point (30,0): 30 ≥ 20 ✓)

Step 3: Graph constraint y ≥ 15

Boundary: y = 15

Horizontal solid line

Shade above (test point (0,20): 20 ≥ 15 ✓)

Step 4: Find intersection of all constraints

The feasible region is where all three shadings overlap

Vertices of region: Find intersections of boundary lines

(20, 15), (20, 80), (85, 15)

Step 5: Verify feasible region

Test point (30, 20):

30 + 20 ≤ 100? Yes (50 ≤ 100)

30 ≥ 20? Yes

20 ≥ 15? Yes

Point (30, 20) is in feasible region ✓

Feasible region with vertices (20, 15), (20, 80), (85, 15)
Final answer:

The feasible region is the triangular area bounded by the three constraints with vertices at (20, 15), (20, 80), and (85, 15)

Applied rules:

• Multiple constraints: Solution is intersection of all individual solutions

• Linear programming: Constraints define feasible region for optimization

• Vertex identification: Important for optimization problems

Comprehensive Summary: Graphing Linear Equations and Inequalities
\(Ax + By = C\)
Standard Form
Complete definitions:

Linear equation in two variables: An equation of the form Ax + By = C where A, B, and C are constants, and A and B are not both zero. The graph is a straight line.

Linear inequality in two variables: An inequality of the form Ax + By < C, Ax + By ≤ C, Ax + By > C, or Ax + By ≥ C. The solution is a half-plane.

Coordinate plane: A two-dimensional plane formed by perpendicular x and y axes, used to plot ordered pairs (x, y).

X-intercept: The point where a graph crosses the x-axis, found by setting y = 0 and solving for x.

Y-intercept: The point where a graph crosses the y-axis, found by setting x = 0 and solving for y.

Slope: The measure of steepness of a line, calculated as rise/run or (y₂ - y₁)/(x₂ - x₁).

Boundary line: The line that represents the equation portion of an inequality.

Feasible region: The area containing all possible solutions that satisfy a system of constraints.

Complete graphing methodology:
  1. For linear equations: Use intercept method, slope-intercept method, or table of values
  2. For linear inequalities: Graph boundary line, test point, shade appropriate region
  3. For systems of inequalities: Graph each inequality and find intersection of solution sets
  4. Verification: Always test points to confirm correct graphing
Tip 1: For equations in standard form, use the intercept method.
Tip 2: For equations in slope-intercept form, plot y-intercept and use slope.
Tip 3: For inequalities, always use a test point not on the boundary line.
Tip 4: Use solid lines for ≤ and ≥, dashed lines for < and >.
Tip 5: For systems, the solution is where all individual solution sets overlap.
Tip 6: Always verify your graph by testing points in the original inequality.
Common errors: Confusing line types (solid vs. dashed), incorrect shading direction, miscalculating intercepts, plotting points with swapped coordinates, forgetting to consider all constraints in systems.
Memory aids: "Less than points downward", "Greater than points upward", "Solid includes, dashed excludes", "X before Y alphabetically, X first in ordered pair".
Essential formulas and principles:

• Slope formula: m = (y₂ - y₁)/(x₂ - x₁)

• Slope-intercept form: y = mx + b

• Standard form: Ax + By = C

• Point-slope form: y - y₁ = m(x - x₁)

• Test point method: Substitute coordinates to verify shading

• System solutions: Intersection of individual solution sets

• Boundary line: Solid for ≤ or ≥, dashed for < or >

Visualizing Linear Graphs and Inequalities
Exercise 6: Multiple Representations
Consider the following linear functions and inequalities:
\(f_1(x): y = 2x + 1\) (Linear equation)
\(f_2(x): y \geq -x + 3\) (Linear inequality)
\(f_3(x): x + 2y < 4\) (Standard form inequality)

Analysis: The chart shows different representations of linear functions and inequalities.

  • \(f_1(x):\)
    • Linear equation: y = 2x + 1
    • Slope: 2, Y-intercept: 1
    • Graph: Straight line
  • \(f_2(x):\)
    • Linear inequality: y ≥ -x + 3
    • Boundary: y = -x + 3 (solid line)
    • Shading: Above the line
  • \(f_3(x):\)
    • Standard form: x + 2y < 4
    • Boundary: x + 2y = 4 (dashed line)
    • Shading: Below the line

Questions & Answers

Question: I'm confused about when to use a solid line versus a dashed line when graphing inequalities. Can you explain?

Answer: The type of line depends on the inequality symbol:

Solid line (—): Used for ≤ and ≥ inequalities

  • Means the boundary line is included in the solution set
  • Points on the line satisfy the inequality
  • Example: For y ≤ 2x + 1, points on the line y = 2x + 1 are part of the solution

Dashed line (--): Used for < and > inequalities

  • Means the boundary line is NOT included in the solution set
  • Points on the line do NOT satisfy the inequality
  • Example: For y < 2x + 1, points on the line y = 2x + 1 are NOT part of the solution

Memory aid: "Solid includes, dashed excludes" or "Less than or equal" uses solid because it's "more inclusive."

Question: How do I choose which test point to use when determining which side of the boundary line to shade?

Answer: The most common and convenient test point is (0, 0), unless the boundary line passes through the origin:

When to use (0, 0):

  • The boundary line does NOT pass through (0, 0)
  • Substitution is simple (just plug in x = 0 and y = 0)
  • It's easy to visualize which side of the line (0, 0) is on

When (0, 0) is ON the boundary line:

  • Choose another point not on the line, such as (1, 0) or (0, 1)
  • Make sure your test point is clearly on one side or the other

Example: For y > 2x, the boundary line y = 2x passes through (0, 0)

Use test point (1, 0): Is 0 > 2(1)? 0 > 2 is false, so shade the side NOT containing (1, 0).

Question: What's the difference between the intercept method and slope-intercept method for graphing equations?

Answer: Both methods produce the same graph, but they're suited to different equation forms:

Intercept method:

  • Best for equations in standard form (Ax + By = C)
  • Find x-intercept (set y = 0) and y-intercept (set x = 0)
  • Plot the two intercepts and draw a line through them
  • Example: For 2x + 3y = 6, x-intercept is (3, 0) and y-intercept is (0, 2)

Slope-intercept method:

  • Best for equations in y = mx + b form
  • Plot the y-intercept (0, b)
  • Use the slope m to find another point (rise over run)
  • Example: For y = 2x + 1, plot (0, 1) then go up 2 and right 1 to get (1, 3)

Both methods require only two points to determine a line, but the choice depends on the form of the equation.

Question: How do I find the solution to a system of linear inequalities?

Answer: The solution to a system of linear inequalities is the intersection of all individual solution sets:

Steps to solve:

  1. Graph each inequality individually
  2. For each inequality, shade the appropriate region
  3. Identify the area where ALL shadings overlap
  4. This overlapping region is the solution to the system

Important considerations:

  • The solution region must satisfy ALL inequalities simultaneously
  • Vertices of the solution region occur at intersections of boundary lines
  • If there's no overlapping region, the system has no solution
  • Verify by testing a point in the solution region in all original inequalities

Example: For the system y > x and y < -x + 4, the solution is the region above y = x AND below y = -x + 4.

Question: What's the best strategy for graphing linear inequalities accurately?

Answer: Here's a systematic approach for accurate graphing:

Step 1: Identify the boundary line

  • Convert the inequality to an equation by replacing the inequality symbol with =
  • Graph this line using appropriate method (intercept, slope-intercept, etc.)

Step 2: Determine line type

  • Solid line for ≤ or ≥
  • Dashed line for < or >

Step 3: Choose and test a point

  • Use (0, 0) if it's not on the boundary line
  • Substitute coordinates into original inequality
  • If true, shade the side containing the test point
  • If false, shade the opposite side

Step 4: Verify

Test an additional point in the shaded region to confirm accuracy.