Algebra and GeometryUnit 212 min read
Systems of Linear Equations: Methods, Geometry & Applications
Unit 2 of Algebra and Geometry covers solving systems of linear equations using substitution, elimination, matrix methods (Cramer’s rule), and graphical interpretation, with real-world applications in optimization, network flows, and financial modeling.
TAKEAWAYS:
- Three core methods (substitution, elimination, matrix) solve any system of linear equations, each with trade-offs in speed and complexity.
- Geometric interpretation: Solutions correspond to intersection points of lines/planes (unique, infinite, or no solution).
- Cramer’s rule uses determinants to find exact solutions but is limited to square systems with non-zero determinant.
- Applications span traffic routing (Pathao), budget allocation (Ncell), and loan amortization (Nepal Bank).
- Matrix inversion and Gaussian elimination are powerful for large systems but require careful arithmetic.
- Consistency checks (rank of augmented matrix) determine whether a system has solutions before attempting to solve it.
1. Definitions and Types of Systems
A system of linear equations is a collection of equations with the same variables, where each equation is linear (no exponents or products of variables). For example: Types of solutions:
- Unique solution: Lines intersect at one point (independent system).
- Infinite solutions: Lines coincide (dependent system).
- No solution: Parallel lines (inconsistent system).
Real-world analogy:
- Unique solution: A Daraz order with one delivery route (one intersection of constraints).
- No solution: A Kathmandu traffic route where two paths are blocked (parallel lines).
- Infinite solutions: A budget where any combination of items fits (coincident lines).
2. Methods to Solve Systems
A. Substitution Method
- Solve one equation for one variable (e.g., ).
- Substitute into the other equation.
- Solve for the remaining variable and back-substitute.
Worked Example 1: Solve: Steps:
- From equation (1): .
- Substitute into (2): .
- Simplify: → → .
- Back-substitute: .
Solution: .
When to use: Small systems (2–3 equations) where one variable is easily isolated.
B. Elimination Method
- Align coefficients of one variable.
- Add/subtract equations to eliminate that variable.
- Solve the resulting equation and back-substitute.
Worked Example 2 (Real-world tie-in): A Nepal Bank offers two loan plans:
- Plan A: 10% interest + ₹500 fee → Total = .
- Plan B: 8% interest + ₹1000 fee → Total = . Find the loan amount where both plans cost the same. System: Steps:
- Subtract equation (2) from (1): .
- Solve: .
Solution: At ₹25,000, both plans cost ₹2,500.
Advantages:
- Works for any system size.
- Avoids fractions (useful for integer coefficients).
C. Matrix Methods (Cramer’s Rule and Inversion)
For a system , where is the coefficient matrix:
- Cramer’s Rule: , where replaces column of with .
- Matrix Inversion: (requires ).
Worked Example 3: Solve using Cramer’s Rule: Steps:
- Compute :
- Compute (replace column 1 with ):
- Compute (replace column 2 with ):
- Solve:
Solution: .
When to use:
- Cramer’s Rule: Small systems (≤3 equations) where determinants are easy to compute.
- Matrix Inversion: Programming (e.g., solving linear regression in Python).
D. Gaussian Elimination
Convert the augmented matrix to row-echelon form using row operations:
- Swap rows.
- Multiply rows by non-zero scalars.
- Add/subtract rows to create zeros below the pivot.
Worked Example 4: Solve: Augmented Matrix: Steps:
- , :
- :
- Back-substitute:
- From : .
- From : → .
- From : → .
Solution: .
flowchart TD
A["Augmented Matrix"] --> B["R2 ← R2 - 2R1"]
B --> C["R3 ← R3 - 3R1"]
C --> D["R3 ← R3 - R2"]
D --> E["Back-substitute for z, y, x"]Advantages:
- Systematic for large systems (used in engineering simulations).
- Handles non-square systems (e.g., overdetermined systems in data fitting).
3. Geometric Interpretation
- 2D: Lines intersect at the solution point.
- 3D: Planes intersect at a line (infinite solutions) or a point (unique solution).
- No intersection: Parallel lines/planes (no solution).
Real-world example:
- Pathao’s route optimization: Solves a system where constraints (time, distance, traffic) are planes, and the solution is the fastest route (intersection point).
4. Consistency and Dependence
A system is:
- Consistent: Has at least one solution (lines/planes intersect).
- Inconsistent: No solution (parallel lines).
- Dependent: Infinite solutions (coincident lines).
Check using ranks:
- If : Unique solution.
- If : Infinite solutions.
- If : No solution.
Worked Example 5: Check consistency: Augmented Matrix: Row Reduction:
- , remains:
- :
- : Conclusion:
- , , but the system reduces to and → .
- Infinite solutions: All points satisfy the first two equations (dependent).
5. Applications in the Real World
A. Optimization Problems (e.g., Ncell’s Budget Allocation)
Ncell allocates budgets to marketing (M) and network expansion (N) with constraints: Solution: Graph the constraints to find feasible region vertices (corner points), then evaluate objective function (e.g., maximize profit).
B. Traffic Flow (e.g., Kathmandu’s Ring Road)
Model traffic as a system where:
- Variables: Flow rates on different roads.
- Constraints: Conservation of flow (e.g., at an intersection). Example: Solution: Use elimination to find , , .
C. Financial Modeling (e.g., NEPSE Stock Prices)
Predict stock prices using linear regression (a system of normal equations): where is the design matrix (time points), is stock prices, and is the weight vector.
6. Comparison of Methods
| Method | Best For | Limitations | Example Use Case |
|---|---|---|---|
| Substitution | Small systems (≤3 equations) | Complex algebra for non-trivial cases | Loan plan comparison (Worked Example 2) |
| Elimination | Any system size | More steps for large systems | Traffic flow modeling |
| Cramer’s Rule | Small square systems | Fails if | Exact solutions in physics |
| Gaussian Elimination | Large/non-square systems | Requires careful arithmetic | Engineering simulations |
| Matrix Inversion | Programming (e.g., Python) | Computationally expensive for large | Machine learning (linear regression) |
7. Common Mistakes and Pitfalls
- Forgetting to check consistency: Always verify .
- Arithmetic errors: Double-check row operations in Gaussian elimination.
- Misapplying Cramer’s Rule: Only use for square systems with .
- Graphical inaccuracies: Ensure scales are consistent when plotting lines.
Example of a trap: Solve: Mistake: Assuming a solution exists (parallel lines). Correct Approach: Recognize inconsistency via .
## In the Real World
Pathao’s Route Optimization:
- Idea: System of linear equations models traffic constraints (time, distance, capacity).
- How: Solves for the fastest route by finding the intersection of feasible paths (lines in a 3D space of time, distance, cost).
Nepal Bank’s Loan Amortization:
- Idea: Monthly payments and interest rates form a system where: with constraints on (loan amount) and (terms).
- How: Banks use Gaussian elimination to solve for given , , and .
Daraz’s Order Fulfillment Queue:
- Idea: Orders are prioritized based on constraints (delivery time, warehouse stock).
- How: A system of inequalities (e.g., , ) is solved to maximize deliveries.
## Exam Tip
- Always show steps: Partial credit is given for correct intermediate steps, even if the final answer is wrong.
- Graphical methods for 2D systems: Plot lines to visualize solutions (especially for consistency checks).
- Matrix methods for 3+ equations: Use Gaussian elimination or Cramer’s Rule (but verify first).
- Watch for hidden constraints: In word problems, translate phrases like "twice as much" into equations carefully.
- Practice rank checks: For systems with no obvious solution, compute ranks to determine consistency.
- Real-world applications: Expect questions tying systems to optimization (e.g., "Minimize cost under constraints").
High-scoring strategy:
- For substitution/elimination: Box each step (e.g., "From equation (1): ").
- For matrices: Label each row operation (e.g., "").
- For geometry: Sketch the system and label intersection points/solutions.
Visual Summary:
mindmap
root((System of Linear Equations))
Methods
Substitution
Elimination
Matrix Methods
Cramer's Rule
Gaussian Elimination
Geometric Interpretation
2D: Lines
3D: Planes
Applications
Optimization
Traffic Flow
Financial Modeling
Consistency
Unique Solution
Infinite Solutions
No SolutionBased on the PU BE Computer (PU) syllabus for Algebra and Geometry (MTH150), unit 2.
Discussion
Loading…