Maths Formulae Equations System of Two Linear Equation

System of Two Linear Equations – Solution Methods

Explore methods to solve systems of two linear equations: substitution, elimination, and matrix approaches. Ideal for al...
🔑

Definition of a System of Two Linear Equations

A system of two linear equations consists of two linear equations with the same variables that must be satisfied simultaneously. The solution is the ordered pair (x, y) that is a solution to both equations. Geometrically, this solution represents the point where the graphs of the two linear equations—two straight lines—intersect on the coordinate plane.

\[ \begin{cases} a_1x + b_1y = c_1 \\ a_2x + b_2y = c_2 \end{cases} \]
General Form

Where:

  • x, y are the variables.
  • a₁, b₁, a₂, b₂ are the coefficients of the variables.
  • c₁, c₂ are the constants.

The goal is to find the values of x and y that make both equations true at the same time.

🔗

Key Formulas: Solving with Cramer's Rule

When the determinant of the coefficient matrix is non-zero, the system has a unique solution that can be found using Cramer's Rule. This method uses ratios of determinants derived from the coefficients and constants of the system.

\[ x = \frac{\begin{vmatrix} c_1 & b_1 \\ c_2 & b_2 \end{vmatrix}}{\begin{vmatrix} a_1 & b_1 \\ a_2 & b_2 \end{vmatrix}} = \frac{c_1b_2 - c_2b_1}{a_1b_2 - a_2b_1} \]
Solution for x
\[ y = \frac{\begin{vmatrix} a_1 & c_1 \\ a_2 & c_2 \end{vmatrix}}{\begin{vmatrix} a_1 & b_1 \\ a_2 & b_2 \end{vmatrix}} = \frac{a_1c_2 - a_2c_1}{a_1b_2 - a_2b_1} \]
Solution for y

This method is only applicable if the main determinant in the denominator is not equal to zero (i.e., `a₁b₂ - a₂b₁ ≠ 0`).

📊

Graphical Representation

x y L₁ L₂ (x*, y*) a₁x + b₁y = c₁ a₂x + b₂y = c₂
System of two linear equations: each equation is a line; the unique solution (x*, y*) is their intersection point. Parallel lines → no solution; same line → infinite solutions.

A system of two linear equations is represented graphically by two straight lines on a Cartesian coordinate plane. The equation a₁x + b₁y = c₁ defines one line, and the equation a₂x + b₂y = c₂ defines another. The solution to the system, the point (x, y), is the unique coordinate where these two lines intersect. If the lines are parallel, there is no solution. If the lines are identical (coincident), there are infinitely many solutions.

🔑

Properties of Linear Systems

Geometric Intersection

The solution to a system represents the geometric intersection point of two lines in a coordinate plane. This visual interpretation helps in understanding the nature of the solution.

Three Solution Types

A system can have one unique solution (intersecting lines), no solution (parallel lines), or infinitely many solutions (the same line). The determinant of the coefficients can predict which case applies.

Multiple Solution Methods

The same system can be solved using various algebraic and graphical methods, including substitution, elimination, and matrix operations. The choice of method often depends on the structure of the equations.

Real-World Modeling

Linear systems are fundamental for modeling real-world problems where two or more conditions or constraints must be satisfied simultaneously, such as in economics, physics, and engineering.

🔬

Derivation using Elimination Method

We can derive the formulas for x and y (Cramer's Rule) by using the elimination method on the general system of equations.

\[ \begin{cases} a_1x + b_1y = c_1 \quad (1) \\ a_2x + b_2y = c_2 \quad (2) \end{cases} \]
Starting System

To eliminate y, multiply equation (1) by `b₂` and equation (2) by `b₁`:

\[ \begin{cases} b_2(a_1x + b_1y) = b_2c_1 \\ b_1(a_2x + b_2y) = b_1c_2 \end{cases} \implies \begin{cases} a_1b_2x + b_1b_2y = c_1b_2 \\ a_2b_1x + b_1b_2y = c_2b_1 \end{cases} \]

Now, subtract the new second equation from the new first equation:

\[ (a_1b_2x - a_2b_1x) + (b_1b_2y - b_1b_2y) = c_1b_2 - c_2b_1 \]
\[ x(a_1b_2 - a_2b_1) = c_1b_2 - c_2b_1 \]

Solving for x gives the formula from Cramer's Rule, provided `a₁b₂ - a₂b₁ ≠ 0`:

\[ x = \frac{c_1b_2 - c_2b_1}{a_1b_2 - a_2b_1} \]

A similar process of multiplying equation (1) by `a₂` and equation (2) by `a₁` and subtracting allows us to eliminate x and solve for y.

✍️

Worked Example

Solve the following system of linear equations: \[ \begin{cases} 2x + 3y = 7 \\ 4x - y = 3 \end{cases} \]
  1. Isolate one variable. From the second equation, it is easy to solve for y: `y = 4x - 3`.
  2. Substitute this expression for y into the first equation: `2x + 3(4x - 3) = 7`.
  3. Solve the resulting equation for x: `2x + 12x - 9 = 7` which simplifies to `14x = 16`, so `x = 16/14 = 8/7`.
  4. Substitute the value of x back into the expression for y: `y = 4(8/7) - 3`.
  5. Calculate y: `y = 32/7 - 21/7 = 11/7`.
  6. Check the solution (8/7, 11/7) in both original equations. First: `2(8/7) + 3(11/7) = 16/7 + 33/7 = 49/7 = 7`. Second: `4(8/7) - 11/7 = 32/7 - 11/7 = 21/7 = 3`. Both are correct.
The solution is x = 8/7 and y = 11/7.
🧮

Try It

🎯

Applications

Economics & Business

Systems of linear equations are used to find market equilibrium points where supply equals demand, and to calculate the break-even point for a business where revenue equals costs.

Chemistry & Physics

In chemistry, they are used to solve mixture problems, determining the required quantities of different concentration solutions to achieve a desired concentration. In physics, they are used to solve problems involving forces in equilibrium or electrical circuits (Kirchhoff's laws).

Engineering & Transportation

Engineers use linear systems to analyze electrical circuits, model mechanical structures, and optimize network flows, such as traffic in a city or data in a computer network.

Finance & Investment

Financial analysts can use systems of equations to model investment portfolios with constraints on total investment amount and desired return or risk levels.

🌍

Real-World Examples

A farmer has a 30-acre field. They want to plant corn, which costs $200 per acre to plant, and wheat, which costs $150 per acre. If the farmer has a budget of $5,250 for planting, how many acres of each crop can they plant?
  1. Let `c` be the number of acres of corn and `w` be the number of acres of wheat.
  2. Set up the equations. Total acreage: `c + w = 30`. Total cost: `200c + 150w = 5250`.
  3. From the first equation, express `w` in terms of `c`: `w = 30 - c`.
  4. Substitute this into the second equation: `200c + 150(30 - c) = 5250`.
  5. Solve for `c`: `200c + 4500 - 150c = 5250` which simplifies to `50c = 750`, so `c = 15` acres.
  6. Solve for `w`: `w = 30 - 15 = 15` acres.
The farmer can plant 15 acres of corn and 15 acres of wheat.
Two trains leave stations 400 miles apart at the same time and travel toward each other. Train A travels at 90 mph, and Train B travels at 110 mph. How long will it take for them to meet?
  1. This can be modeled with a single equation, but a system helps clarify. Let `d_A` be the distance Train A travels and `d_B` be the distance Train B travels. Let `t` be the time in hours.
  2. Set up the equations. Total distance: `d_A + d_B = 400`. Distance formulas: `d_A = 90t` and `d_B = 110t`.
  3. Substitute the distance formulas into the total distance equation: `90t + 110t = 400`.
  4. Solve for `t`: `200t = 400`, so `t = 2` hours.
  5. The trains will meet after 2 hours. Train A will have traveled `90 * 2 = 180` miles and Train B will have traveled `110 * 2 = 220` miles.
It will take 2 hours for the trains to meet.
🏙️

Real-World Scenarios

solution L₁ L₂
Supply and Demand Equilibrium
Economists find market equilibrium by solving a system: Supply: P = 2Q + 10; Demand: P = −Q + 40. The intersection gives Q* = 10 units at P* = $30. Every pricing algorithm — from airline tickets to Amazon's dynamic pricing — solves this type of two-equation system thousands of times per second to find optimal price points.
a+b=10 a−b=4 a=7, b=3
Mixture and Alloy Problems
A jeweller needs to blend two alloys: alloy A is 60% gold, alloy B is 30% gold. To make 100g at 45% gold: x + y = 100 and 0.6x + 0.3y = 45. Solving this 2×2 system gives x = 50g of A and y = 50g of B. Pharmaceutical compounding and chemical engineering use identical systems for blending concentrations.
I₁ = I₂ + I₃
Electrical Circuit Analysis (Kirchhoff)
Kirchhoff's laws produce systems of linear equations for circuit currents. In a two-loop circuit: I₁ − I₂ − I₃ = 0 (KCL) and 12 − 4I₁ − 2I₂ = 0, 2I₂ − 6I₃ = 0 (KVL). Solving this 3×3 system gives each branch current. Every circuit simulator — from SPICE to Texas Instruments' online tools — does this matrix algebra automatically.

Break-Even Analysis

A startup company calculates its costs (rent, salaries, materials) and its revenue per product sold. By setting the cost equation equal to the revenue equation, they form a system to find the break-even point—the number of units they must sell to neither make a profit nor incur a loss.

Nutrition Planning

A dietitian designs a meal plan to meet specific nutritional targets, like total calories and grams of protein. They can create a system of equations where the variables represent the quantities of two different foods, allowing them to calculate the exact portions needed to satisfy both nutritional constraints.

Air Traffic Control

Air traffic controllers monitor the paths of airplanes, which can be modeled as linear equations (in the short term). To ensure safe separation, they can solve systems of these equations to predict if and when two flight paths will intersect.

📊

Types of Solutions

The relationship between the coefficients of a linear system determines the nature of its solution. Geometrically, this corresponds to how the two lines are positioned relative to each other.

Solution TypeGeometric InterpretationCondition on CoefficientsDeterminant (D = a₁b₂ - a₂b₁)
One Unique SolutionLines intersect at a single point`a₁/a₂ ≠ b₁/b₂``D ≠ 0`
No Solution (Inconsistent)Lines are parallel and distinct`a₁/a₂ = b₁/b₂ ≠ c₁/c₂``D = 0`
Infinite Solutions (Dependent)Lines are coincident (the same line)`a₁/a₂ = b₁/b₂ = c₁/c₂``D = 0`
⚠️

Common Mistakes

⚠️ Sign Errors in Elimination: When subtracting one equation from another, a common mistake is to forget to distribute the negative sign to every term in the second equation. For example, `(5x + 2y) - (3x - 4y)` should become `5x + 2y - 3x + 4y`, not `5x + 2y - 3x - 4y`.
⚠️ Incorrect Substitution: In the substitution method, after solving for a variable (e.g., `y = 2x + 1`), you must substitute it into the *other* equation. Substituting it back into the same equation it was derived from will result in an unhelpful identity like `1 = 1`.
💡 Failure to Check the Solution: Always plug your final (x, y) values back into *both* of the original equations. A solution is only correct if it satisfies both equations simultaneously. This simple step can catch most arithmetic errors.
🚀

Study Strategy

1 📖 Grasp the Core Concepts
  • Review the definition to understand what a 'system' of two equations with two variables represents.
  • Study the 'Graphical Representation' to visualize how intersecting, parallel, and coincident lines relate to the 'Types of Solutions'.
  • Connect the 'Properties of Linear Systems' (consistent, inconsistent, dependent) to their graphical counterparts.
  • Read the 'Derivation using Elimination Method' to build intuition for why the algebraic methods work.
2 🧠 Master the Key Formulas
  • Focus on the 'Key Formulas' for Cramer's Rule, writing out the determinant formulas for D, Dx, and Dy from memory.
  • Create flashcards that link the value of the main determinant (D) to the number of possible solutions.
  • Verbally explain the process for the substitution and elimination methods as if teaching them to someone else.
  • Actively recall the 'Common Mistakes' to avoid frequent errors like incorrect signs when calculating determinants.
3 ✍️ Solve and Verify
  • Follow the 'Worked Example' step-by-step, then attempt to solve it independently using a different method (e.g., substitution).
  • Find practice problems and solve each one using Cramer's Rule, checking your answer by plugging the solution back into the original equations.
  • Practice identifying the type of solution (one, none, infinite) algebraically before attempting to find the specific solution.
  • Use a graphing tool to visually verify your algebraic solutions from the practice problems.
4 🌍 Connect to the Real World
  • Analyze the 'Real-World Examples' to see how abstract variables (x, y) are assigned to tangible quantities like cost, time, or distance.
  • Select a problem from the 'Real-World Scenarios' and translate the word problem into a system of two linear equations yourself.
  • Solve the system you created and practice interpreting the numerical answer within the context of the original scenario.
  • Brainstorm your own simple real-world problem (e.g., comparing two phone plans) that can be modeled by a system of equations.
By building from foundational concepts to real-world application, you can confidently solve any system of linear equations.

Frequently Asked Questions

×

×