5.3 Systems of Linear Equations, Inequalities & Direct Variation Modeling

Key Takeaways

  • A linear system's algebraic solution represents the coordinate point(s) (x, y) that satisfy all equations simultaneously.

  • The three algebraic methods (graphing, substitution, elimination) have distinct strategic advantages depending on equation structure and variable coefficients.

  • Linear systems are classified as consistent-independent (one unique solution, intersecting lines), inconsistent (no solution, parallel lines with equal slope and unequal intercepts), or consistent-dependent (infinite solutions, coincident lines).

  • Systems of linear inequalities delineate solution regions via boundary lines (solid for ≤, ≥; dashed for <, >) and half-plane shading tested via origin (0, 0) or alternative test coordinates.

  • Direct variation describes a proportional linear relationship y = kx passing through (0, 0) with constant ratio y/x = k, distinct from non-proportional linear forms y = mx + b where b ≠ 0.

Last updated: September 2026

Foundations of Linear Systems in Two Variables

A system of linear equations consists of two or more linear equations involving the same set of variables. In middle school and early secondary mathematics, curricula focus primarily on 2×22 \times 2 systems (two linear equations in two unknowns, xx and yy):

{A1x+B1y=C1A2x+B2y=C2\begin{cases} A_1 x + B_1 y = C_1 \\ A_2 x + B_2 y = C_2 \end{cases}

A solution to a system of equations is an ordered pair (x0,y0)(x_0, y_0) that satisfies both equations simultaneously. Geometrically, the solution corresponds to the point or points where the graphs of the equations intersect on the Cartesian plane. Modeling real-world phenomena—such as supply and demand equilibrium, mixture problems, break-even business analyses, and competing rate plans—naturally produces systems of equations because multiple independent constraints operate concurrently.


The Three Methods for Solving Linear Systems

Educators must guide students to select the most computationally efficient method based on the structure of the given system:

1. The Graphing Method

  • Mechanism: Both equations are graphed on the same coordinate grid. The point of intersection (x,y)(x, y) is visually identified and verified algebraically by substituting back into both equations.
  • Pedagogical Value: Graphing provides irreplaceable conceptual insight, concretizing what a "solution" means visually. It builds the foundation for understanding intersection points, domain boundaries, and piecewise functions.
  • Limitations: Graphing is vulnerable to human drawing error and estimation limits when solutions are non-integers (e.g., (1731,−47)\left(\frac{17}{31}, -\frac{4}{7}\right)) or lie outside standard grid windows.

2. The Substitution Method

  • Mechanism: One variable is algebraically isolated in one of the equations. That expression is substituted into the other equation, producing a single linear equation in one unknown. Once solved, back-substitution determines the value of the second variable.
  • Strategic Indicator: Substitution is optimal when at least one variable in the system has a coefficient of +1+1 or −1-1 (e.g., y=2x−7y = 2x - 7 or x+4y=12x + 4y = 12), enabling isolation without introducing messy fractions.

3. The Elimination Method (Addition / Linear Combination)

  • Mechanism: Equations are multiplied by strategic non-zero constants so that the coefficients of one variable become additive inverses (opposites, such as +6y+6y and −6y-6y). Adding the two equations eliminates that variable entirely, yielding a direct single-variable equation.
  • Strategic Indicator: Elimination is optimal when equations are in standard form Ax+By=CAx + By = C with integer coefficients greater than 1 (e.g., 3x+5y=143x + 5y = 14 and 4x−2y=84x - 2y = 8). Elimination also directly previews matrix row operations (Gaussian elimination) in advanced mathematics.

Rigorous Classification of Linear Systems

Every 2×22 \times 2 system of linear equations falls into exactly one of three structural categories, defined by its algebraic solution set and geometric behavior:

ClassificationGeometric AppearanceSlopes & InterceptsAlgebraic OutcomeNumber of Solutions
Consistent & IndependentTwo lines intersecting at a single pointDistinct slopes: m1≠m2m_1 \neq m_2Unique values for variables: x=a,y=bx = a, y = bExactly one unique solution (a,b)(a, b)
InconsistentTwo parallel, non-intersecting linesEqual slopes, distinct intercepts: m1=m2m_1 = m_2 and b1≠b2b_1 \neq b_2Contradiction / false statement: e.g., 0=120 = 12 or 4=−94 = -9No solution (∅\emptyset)
Consistent & DependentCoincident lines (one identical line)Equal slopes, equal intercepts: m1=m2m_1 = m_2 and b1=b2b_1 = b_2Identity / tautology: e.g., 0=00 = 0 or c=cc = cInfinitely many solutions (points on the line)

Diagnosing Special Cases Algebraically

When applying substitution or elimination, the variable terms may completely cancel:

  • If the resulting equation is a contradiction (such as 0=140 = 14), the lines have no points in common; the system is inconsistent and has no solution.
  • If the resulting equation is an identity (such as 0=00 = 0), every point that lies on the first line also lies on the second line; the system is consistent and dependent and has infinitely many solutions.
  • Critical Misconception Alert: "Infinitely many solutions" does not mean "all real numbers are solutions" or that any arbitrary point (x,y)(x, y) works! The solution set consists strictly of the infinite set of points lying along the line: {(x,y)∣Ax+By=C}\{(x, y) \mid Ax + By = C\}. For example, (0,0)(0, 0) is not a solution to 2x+4y=82x + 4y = 8 simply because the system has infinitely many solutions.

Systems of Linear Inequalities in Two Variables

A linear inequality in two variables takes the form Ax+By<CAx + By < C, Ax+By>CAx + By > C, Ax+By≤CAx + By \le C, or Ax+By≥CAx + By \ge C. Unlike equations whose solutions form one-dimensional lines, linear inequalities represent two-dimensional planar regions called half-planes.

Graphing Conventions

  1. Boundary Line: Graph the equation Ax+By=CAx + By = C.
    • Use a dashed line for strict inequalities (<< or >>) to indicate that coordinates lying directly on the boundary are excluded from the solution set.
    • Use a solid line for inclusive inequalities (≤\le or ≥\ge) to indicate that boundary coordinates are included in the solution set.
  2. Half-Plane Shading via Test Points: Select a test coordinate not lying on the boundary line (the origin (0,0)(0, 0) is computationally optimal unless the line passes through it). Substitute into the inequality:
    • If the statement is true, shade the entire half-plane containing the test point.
    • If the statement is false, shade the opposing half-plane.
  3. Solution to a System of Inequalities: The solution set is the intersection (overlapping region) of all shaded half-planes. Any ordered pair located within this mutual intersection satisfies all constraints simultaneously.
  4. Linear Programming Connections: In middle school applied modeling, non-negativity constraints (x≥0,y≥0x \ge 0, y \ge 0) restrict solutions to Quadrant I, forming bounded polygonal feasible regions representing physical limitations (e.g., maximum materials, available work hours, budget limits).

Direct Variation vs. Non-Proportional Linear Models

Direct Variation (y=kxy = kx)

Direct variation describes a proportional linear relationship where the dependent variable varies directly as the independent variable:

y=kx  ⟺  yx=k(x≠0)y = kx \iff \frac{y}{x} = k \quad (x \neq 0)
  • The non-zero constant kk is called the constant of variation or constant of proportionality.
  • Graphical Signature: The graph is a straight line that must pass through the origin (0,0)(0, 0). The yy-intercept is identically zero (b=0b = 0).
  • Algebraic Property: The ratio yx\frac{y}{x} is strictly invariant across all data points: y1x1=y2x2=k\frac{y_1}{x_1} = \frac{y_2}{x_2} = k.

Contrast with Non-Proportional Linear Relations (y=mx+by = mx + b, b≠0b \neq 0)

In a non-proportional linear model, the rate of change is constant (m=ΔyΔxm = \frac{\Delta y}{\Delta x}), but the ratio yx=m+bx\frac{y}{x} = m + \frac{b}{x} is not constant. Middle school students frequently confuse constant rate of change with direct proportionality. Direct variation requires both a constant rate of change and an initial value of zero.

Contrast with Inverse Variation (y=kxy = \frac{k}{x} or xy=kxy = k)

In inverse variation, as the magnitude of xx increases, the magnitude of yy decreases such that their product is constant (x1y1=x2y2=kx_1 y_1 = x_2 y_2 = k). The graph of inverse variation is a rational hyperbola, entirely non-linear.


Worked Step-by-Step Examples

Worked Example 1: Solving a System via Elimination

Problem: Solve the linear system algebraically using elimination:

{3x+4y=105x−2y=21\begin{cases} 3x + 4y = 10 \\ 5x - 2y = 21 \end{cases}

Solution: Step 1: Inspect coefficients to find convenient opposites. The coefficients of yy are +4+4 and −2-2. Multiplying the second equation by 2 transforms −2y-2y into −4y-4y:

2×(5x−2y=21)  ⟹  10x−4y=422 \times (5x - 2y = 21) \implies 10x - 4y = 42

Step 2: Add the modified second equation to the first equation:

3x+4y=10+10x−4y=4213x+0y=5213x=52x=4\begin{aligned} 3x + 4y &= 10 \\ +\quad 10x - 4y &= 42 \\ \hline 13x + 0y &= 52 \\ 13x &= 52 \\ x &= 4 \end{aligned}

Step 3: Back-substitute x=4x = 4 into the first original equation to solve for yy:

3(4)+4y=10  ⟹  12+4y=10  ⟹  4y=10−12  ⟹  4y=−2  ⟹  y=−24=−123(4) + 4y = 10 \implies 12 + 4y = 10 \implies 4y = 10 - 12 \implies 4y = -2 \implies y = -\frac{2}{4} = -\frac{1}{2}

Step 4: Verify the solution (4,−12)\left(4, -\frac{1}{2}\right) in the second original equation:

5(4)−2(−12)=20+1=21✓5(4) - 2\left(-\frac{1}{2}\right) = 20 + 1 = 21 \quad \checkmark

The unique solution is (4,−12)\left(4, -\frac{1}{2}\right). The system is consistent and independent.

Worked Example 2: Parameter Analysis for System Inconsistency

Problem: Determine the value of the constant kk such that the following linear system has no solution:

{kx−4y=126x−8y=20\begin{cases} kx - 4y = 12 \\ 6x - 8y = 20 \end{cases}

Solution: Step 1: A system has no solution if and only if it is inconsistent (the lines are parallel and distinct, meaning m1=m2m_1 = m_2 and b1≠b2b_1 \neq b_2).

Step 2: Find the slope and intercept of the second line:

6x−8y=20  ⟹  −8y=−6x+20  ⟹  y=68x−208=34x−526x - 8y = 20 \implies -8y = -6x + 20 \implies y = \frac{6}{8}x - \frac{20}{8} = \frac{3}{4}x - \frac{5}{2}

Thus, m2=34m_2 = \frac{3}{4} and b2=−52=−2.5b_2 = -\frac{5}{2} = -2.5.

Step 3: Express the slope and intercept of the first line in terms of kk:

kx−4y=12  ⟹  −4y=−kx+12  ⟹  y=k4x−3kx - 4y = 12 \implies -4y = -kx + 12 \implies y = \frac{k}{4}x - 3

Thus, m1=k4m_1 = \frac{k}{4} and b1=−3b_1 = -3.

Step 4: Equate slopes to enforce parallel lines:

m1=m2  ⟹  k4=34  ⟹  k=3m_1 = m_2 \implies \frac{k}{4} = \frac{3}{4} \implies k = 3

Step 5: Verify that the yy-intercepts are distinct:

b1=−3≠b2=−2.5✓b_1 = -3 \neq b_2 = -2.5 \quad \checkmark

Because the lines have identical slopes of 34\frac{3}{4} and distinct vertical intercepts (−3≠−2.5-3 \neq -2.5), setting k=3k = 3 guarantees the lines are parallel and the system has no solution.

Worked Example 3: Applied Dual-Constraint Word Problem

Problem: A community arts center sells 220 tickets for an evening concert, generating $2,090 in total revenue. Adult tickets cost $12.50 each and student tickets cost $7.00 each. Formulate a system of linear equations and determine how many of each ticket type were sold.

Solution: Step 1: Define variables: Let a=a = number of adult tickets sold, and s=s = number of student tickets sold.

Step 2: Formulate equations from constraints:

  • Quantity constraint: a+s=220a + s = 220
  • Revenue constraint: 12.50a+7.00s=209012.50a + 7.00s = 2090

Step 3: Solve via substitution. Isolate ss in the quantity equation:

s=220−as = 220 - a

Substitute into the revenue equation:

12.50a+7.00(220−a)=209012.50a + 7.00(220 - a) = 2090 12.50a+1540−7.00a=209012.50a + 1540 - 7.00a = 2090 5.50a+1540=20905.50a + 1540 = 2090 5.50a=550  ⟹  a=5505.50=1005.50a = 550 \implies a = \frac{550}{5.50} = 100

Step 4: Compute ss:

s=220−100=120s = 220 - 100 = 120

Step 5: Verify in revenue equation:

12.50(100)+7.00(120)=1250+840=2090✓12.50(100) + 7.00(120) = 1250 + 840 = 2090 \quad \checkmark

The center sold 100 adult tickets and 120 student tickets.

Worked Example 4: Direct Variation Modeling

Problem: The distance dd a spring stretches varies directly with the mass mm attached to it. A mass of 4.5 kg stretches the spring 18 cm.

  1. Find the constant of variation kk and state the equation of direct variation.
  2. Determine the stretch distance when a mass of 7.2 kg is attached.

Solution:

  1. Because dd varies directly with mm, d=kmd = km. Substitute known values: 18=k(4.5)  ⟹  k=184.5=4 cm/kg18 = k(4.5) \implies k = \frac{18}{4.5} = 4\text{ cm/kg} The equation of direct variation is d=4md = 4m.
  2. For a mass of m=7.2 kgm = 7.2\text{ kg}: d=4(7.2)=28.8 cmd = 4(7.2) = 28.8\text{ cm}

Diagnostic Misconceptions & Pedagogical Strategies

  1. The "Everything is a Solution" Error in Dependent Systems: When students reach 0=00 = 0 in a consistent dependent system, they frequently declare that "any numbers work" or "all coordinates (x,y)(x, y) are solutions." Pedagogical remedy: Have students test (0,0)(0, 0) or (1,1)(1, 1) in 2x+3y=62x + 3y = 6. Demonstrating that non-line coordinates fail proves that the solution set is strictly restricted to points on that specific line.
  2. Reversing Inequality Signs when Dividing by Negatives: Students often forget to reverse inequality symbols when multiplying or dividing by negative coefficients. Pedagogical remedy: Anchor on a simple arithmetic inequality on the number line: 2<52 < 5. Multiplying both sides by −1-1 gives −2-2 and −5-5. Because −2-2 is to the right of −5-5, −2>−5-2 > -5. This visual proof confirms why negative inversion reverses inequality direction.
Loading diagram...
Decision Tree for Selecting Optimal Linear System Solving Method
Test Your Knowledge

For what value of the constant k does the system kx + 6y = 9 and 4x − 3y = 10 have no solution?

A

k = −8, because the slopes match (4/3) while the y-intercepts differ (3/2 versus −10/3)

B

k = 8, because the x-coefficients must be equal in size for the lines to be parallel

C

k = 4.5, because the slopes must be negative reciprocals

D

k = −3.6, because the ratio of the constants 9/10 must equal the ratio k/4

Test Your Knowledge

A community science center sells family memberships and individual memberships. In the month of May, the center sold a combined total of 140 memberships and collected $11,600 in revenue. Family memberships cost $110 each, and individual memberships cost $60 each. How many family memberships did the science center sell?

A

56 family memberships

B

70 family memberships

C

76 family memberships

D

64 family memberships

Test Your Knowledge

A system of linear inequalities models resource constraints for a production workshop making chairs (x) and tables (y):

2x + 4y ≤ 40 (Labor hour constraint) 3x + 2y ≤ 36 (Material constraint) x ≥ 0, y ≥ 0 (Non-negativity constraints)

Which of the following production combinations represents a feasible solution satisfying all constraints simultaneously?

A

(10, 5)

B

(8, 7)

C

(6, 6)

D

(0, 11)

Sections you finish are checked off in the contents.