Solving Systems of Linear Equations

AI-generated illustrated lesson. Hand-drawn and narrated, step by step.

Solving Systems of Linear Equations

Imagine you and a friend are tracking two separate paths on a map. Your path follows one rule, and their path follows another. If you want to meet up, you need to find the one spot where your paths cross. In algebra, this is exactly what we do when we solve a system of linear equations.

Let's visualize this on a grid. Each line represents all the possible solutions for a single equation. For our first line, every point on it makes its equation true. For our second line, the same applies. But look right here, where they cross! This intersection point is the only coordinate that lies on both paths, meaning it is the unique solution that satisfies both equations at the exact same time.

Let's look at a concrete example. Suppose our two rules are y equals x plus one, and y equals negative x plus five. If we look at our crossing point, which is at x equals two and y equals three, we can test it. Two plus one is three, and negative two plus five is also three! The intersection point coordinates, two comma three, solve both equations perfectly.

While graphing shows us the big picture, we can solve systems with perfect precision using algebra. The substitution method is like finding a synonym for a word. If one equation tells us exactly what one variable equals, we can replace that variable in the other equation.

Let's see this in action. Here, our first equation explicitly tells us that y is equal to two x minus one. Since y and two x minus one are identical in value, we can substitute this entire expression directly into the second equation where y used to be. This leaves us with a single equation containing only x, which we can easily solve to find x equals two.

Now that we know x is exactly two, we are halfway there. To find y, we simply plug this value back into our first equation. Two times two minus one gives us three. Our precise intersection point is two, three.

Sometimes, substituting one equation into another is messy. What if we could just add the equations together directly? Imagine we have this system: two x plus y equals ten, and three x minus y equals five. Notice how we have a positive y in the first equation and a negative y in the second. They are perfect opposites, waiting to cancel each other out.

Let's stack these equations just like we would stack regular numbers for addition. When we add the left sides, the positive y and negative y completely eliminate each other, leaving us with five x. On the right side, ten plus five gives us fifteen. In one swift move, we are left with a simple equation: five x equals fifteen, which means x must equal three.

Now that we know x is three, we can plug it back into either of our original equations to find y. Let's use the first one: two times three plus y equals ten. That simplifies to six plus y equals ten, which quickly tells us that y must be four. Our final intersection point is three, four, found without any messy fractions!

Now that you know both Substitution and Elimination, how do you decide which tool to pull out of your math toolbox? It all comes down to the structure of the equations you are given. Let's look at a clear visual guide.

First, consider Substitution. This is your absolute best friend when one of the variables is already isolated, or is very easy to isolate. For example, if you see a variable with a coefficient of one, like this y equals expression, it's a perfect candidate to plug directly into the other equation.

On the other hand, choose Elimination when both equations are neatly lined up in standard form. Look for columns of x's and columns of y's. If you can easily multiply one equation to make coefficients match or become opposites, like matching these x coefficients, Elimination will wipe out a variable in one quick step.

▶ Watch on My Magic Pencil