12/14 12. Systems of Equations and Inequalities

Builds a connected understanding of systems of equations and inequalities, including graphical, algebraic, matrix, technological, and modeling methods.

Understanding Systems and Their Solutions

A system requires all equations or inequalities to hold at the same time. For example, the ordered pair 4,74,7 solves

{2x+y=153x−y=5\begin{cases} 2x+y=15\\ 3x-y=5 \end{cases}

because substituting x=4x=4 and y=7y=7 makes both equations true.

For two-variable linear systems, the graph gives a useful interpretation:

  • One intersection point means one solution. The system is consistent and independent.

  • Parallel distinct lines mean no solution. The system is inconsistent.

  • Coincident lines mean infinitely many solutions. The system is consistent and dependent.

A system with three variables represents planes rather than lines. Its solutions are points common to every plane; depending on the arrangement, there may be one point, no common point, or infinitely many common points.

Takeaway: A solution is not merely an answer to one equation; it must satisfy every equation in the system.

Solving by Substitution

The is effective when a variable is already isolated. Follow this sequence:

  1. Solve one equation for one variable if necessary.

  2. Replace that variable in the other equation.

  3. Solve the resulting one-variable equation.

  4. Substitute back to find the remaining variable.

  5. Check the ordered pair in both original equations.

For

{y=2x+13x+y=16\begin{cases} y=2x+1\\ 3x+y=16 \end{cases}

replace yy with 2x+12x+1:

3x+(2x+1)=16.3x+(2x+1)=16.

Then 5x+1=165x+1=16, so x=3x=3. Substitution back gives y=2(3)+1=7y=2(3)+1=7, and the solution is 3,73,7.

Substitution also identifies special cases. A contradiction such as 0=50=5 indicates no solution. An identity such as 0=00=0 indicates infinitely many solutions because the equations describe the same constraint.

Takeaway: Isolate a variable, substitute carefully, solve, substitute back, and verify.

Solving by Elimination

The combines equations to remove one variable. A reliable procedure is:

  1. Write corresponding variables in the same order.

  2. Multiply one or both equations if needed to create opposite coefficients.

  3. Add or subtract the equations.

  4. Solve for the remaining variable.

  5. Substitute back and check.

For

{2x+3y=134x+5y=23\begin{cases} 2x+3y=13\\ 4x+5y=23 \end{cases}

multiply the first equation by −2-2:

−4x−6y=−26.-4x-6y=-26.

Adding this equation to the second gives −y=−3-y=-3, so y=3y=3. Substitution into 2x+3y=132x+3y=13 gives x=2x=2, and the solution is 2,32,3.

Elimination is often preferable when coefficients can be made opposites without introducing difficult fractions. Substitution is often preferable when a variable has coefficient 11 or −1-1. Both methods should produce the same solution.

Takeaway: Combine equivalent equations to remove a variable, then back-substitute and verify.

Extending Systems to Three or More Variables

Systems with three or more variables can be reduced repeatedly. For example,

{x+y+z=62x−y+z=3x+2y−z=2\begin{cases} x+y+z=6\\ 2x-y+z=3\\ x+2y-z=2 \end{cases}

Subtracting the first equation from the second gives

x−2y=−3,x-2y=-3,

so x=2y−3x=2y-3. Substituting this expression into the first equation gives z=9−3yz=9-3y. Substituting both expressions into the third equation produces y=2y=2. Therefore,

x=1,y=2,z=3,x=1,\qquad y=2,\qquad z=3,

and the solution is 1,2,31,2,3.

A dependent system may contain free variables. For example, a family such as

(t,52t,32t),t∈R,\left(t,\frac{5}{2}t,\frac{3}{2}t\right),\qquad t\in\mathbb{R},

represents infinitely many solutions, one for each real value of tt.

Takeaway: Reduce a larger system to smaller systems, solve the reduced system, and substitute to recover every variable.

Using Matrices to Solve Systems

Matrices organize systems compactly. The system

{2x+3y=134x+5y=23\begin{cases} 2x+3y=13\\ 4x+5y=23 \end{cases}

has

A=[2345],A=\begin{bmatrix}2&3\\4&5\end{bmatrix},

variable vector x=[xy]\mathbf{x}=\begin{bmatrix}x\\y\end{bmatrix}, and constant vector b=[1323]\mathbf{b}=\begin{bmatrix}13\\23\end{bmatrix}. It can be written as Ax=bA\mathbf{x}=\mathbf{b}.

The corresponding is

[23134523].\left[\begin{array}{cc|c} 2&3&13\\ 4&5&23 \end{array}\right].

applies elementary row operations while preserving the solution set. Replacing row 2 with R2−2R1R_2-2R_1 gives

[23130−1−3],\left[\begin{array}{cc|c} 2&3&13\\ 0&-1&-3 \end{array}\right],

so y=3y=3, followed by x=2x=2. In reduced row-echelon form, a unique solution appears as

[102013].\left[\begin{array}{cc|c} 1&0&2\\ 0&1&3 \end{array}\right].

If a square matrix is invertible, the matrix equation can also be solved with

x=A−1b.\mathbf{x}=A^{-1}\mathbf{b}.

For A=[abcd]A=\begin{bmatrix}a&b\\c&d\end{bmatrix}, the is ad−bcad-bc. When it is nonzero,

A−1=1ad−bc[d−b−ca].A^{-1}=\frac{1}{ad-bc}\begin{bmatrix}d&-b\\-c&a\end{bmatrix}.

Takeaway: Row reduction works broadly, while the inverse formula requires a square invertible matrix.

Graphing and Technology

Graphing shows the geometric meaning of a system and provides a way to estimate or verify a solution. For

{y=2x+1y=−x+7\begin{cases} y=2x+1\\ y=-x+7 \end{cases}

the intersection satisfies

2x+1=−x+7,2x+1=-x+7,

which gives x=2x=2 and y=5y=5. Thus, the intersection is 2,52,5.

For a :

  1. Graph each boundary equation.

  2. Use a solid line for ≤\le or ≥\ge, because boundary points are included.

  3. Use a dashed line for << or >>, because boundary points are excluded.

  4. Shade the side satisfying each inequality.

  5. Keep only the overlapping shaded region.

For

{y≥x−2y≤−2x+4\begin{cases} y\ge x-2\\ y\le -2x+4 \end{cases}

the boundaries are solid, and the solution is the region above the first line and below the second. The boundary lines intersect at 2,02,0, so the lies between them and includes the boundaries.

A test point can confirm a shaded side. For example, 1,11,1 satisfies both inequalities because 1≥1−21\ge 1-2 and 1≤−2(1)+41\le -2(1)+4.

Graphing calculators and computer algebra systems can display intersections or perform row reduction, but the user must still construct the equations, interpret the output, and verify the result.

Takeaway: Equations usually produce intersection points; inequalities usually produce regions.

Modeling Applications

Systems model situations with multiple unknowns and relationships. A sound modeling process is:

  1. Define a variable for each unknown.

  2. Translate each condition into an equation or inequality.

  3. Solve the resulting system.

  4. Check the result in the original conditions.

  5. Interpret the answer with units and restrictions.

For a ticket problem with adult tickets costing 1212 dollars, student tickets costing 88 dollars, 250250 total tickets, and 26002600 dollars in revenue, let aa and ss denote adult and student tickets. Then

a+s=250,a+s=250,

and

12a+8s=2600.12a+8s=2600.

Solving gives a=150a=150 and s=100s=100. Both the total count and the revenue should be checked.

For mixtures, the amount of pure substance is the key relationship. If xx liters of a 20%20\% solution and yy liters of a 50%50\% solution produce 1010 liters of a 32%32\% solution, then

x+y=10x+y=10

and

0.20x+0.50y=0.32(10).0.20x+0.50y=0.32(10).

The result is x=6x=6 and y=4y=4.

In production models, constraints can form a . For tables tt and chairs cc, the restrictions

4t+c≤40,2t+2c≤24,t≥0,c≥04t+c\le40,\qquad 2t+2c\le24,\qquad t\ge0,\qquad c\ge0

identify allowable plans. Since the variables count objects, practical solutions must also be whole numbers.

Takeaway: Algebraic solutions must be checked against units, nonnegativity, whole-number requirements, and other real-world restrictions.

Verification and Common Errors

Errors often arise from changing equations inconsistently or overlooking the meaning of the answer.

  • When multiplying an equation by a constant, multiply every term, including the constant. Multiplying 2x+3y=72x+3y=7 by −2-2 gives −4x−6y=−14-4x-6y=-14.

  • Track negative signs when adding equations. The terms yy and −y-y cancel.

  • Distinguish a point from a region. A may have one point, while a system of inequalities often has many points.

  • Check whether boundaries are included. Symbols ≤\le and ≥\ge use solid boundaries; << and >> use dashed boundaries.

  • Reject contextually invalid results such as negative ticket counts, impossible mixture volumes, or nonwhole people.

A complete verification substitutes a proposed solution into every original equation, tests every inequality, checks units, and confirms domain restrictions. It also identifies whether the result is unique, impossible, or part of an infinite family.

Final takeaway: Choose a method strategically, preserve equivalence at every step, and verify both the mathematics and the context.