No history yet

Linear Equations

The Straight Line

A linear equation describes a simple, steady relationship between two things. Imagine you earn $15 for every hour you work. The link between your hours worked (xx) and your total pay (yy) is perfectly predictable. Work one hour, get $15. Work two hours, get $30. For every single hour you add, your pay goes up by the exact same amount.

This constant relationship is the heart of a linear equation. When you draw it, it always forms a straight line. The variables in these equations, like our xx and yy, are only ever raised to the power of one. You won't see any x2x^2 or y3y^3 here.

Linear equations are the mathematics of constant change.

There are a couple of common ways to write these equations. One is the standard form:

Ax+By=CAx + By = C

Here, AA, BB, and CC are just numbers. For example, 2x+3y=62x + 3y = 6 is a linear equation in standard form.

Another very useful format is the slope-intercept form:

y=mx+by = mx + b

This form is great because it gives us two key pieces of information for graphing the line: its steepness (slope) and where it crosses the vertical axis (y-intercept).

Graphing the Line

Every linear equation can be visualized on a coordinate plane, which is just a grid with a horizontal x-axis and a vertical y-axis. The slope-intercept form, y=mx+by = mx + b, makes this easy.

Let's break down the two key parts:

y-intercept

noun

The point where the line crosses the vertical y-axis. This happens when x=0.

The bb in the equation is the y-intercept. It's our starting point. If the equation is y=2x+1y = 2x + 1, our line crosses the y-axis at the point (0,1)(0, 1).

slope

noun

A measure of the line's steepness. It's the 'rise' (vertical change) divided by the 'run' (horizontal change).

The mm in the equation is the slope. It tells us the direction and steepness of the line. A positive slope means the line goes up from left to right, while a negative slope means it goes down.

Let's graph y=2x+1y = 2x + 1. We know the slope is 2 (which we can think of as 2/12/1) and the y-intercept is 1.

  1. Plot the y-intercept: Start by putting a dot at (0,1)(0, 1) on the y-axis.
  2. Use the slope to find a second point: The slope is 'rise over run'. From our first point, we 'rise' 2 units up and 'run' 1 unit to the right. This brings us to a new point at (1,3)(1, 3).
  3. Draw the line: Connect the two points with a straight line, and extend it in both directions.

Finding the Solution

Sometimes we have more than one linear equation, creating what's called a system of equations. The 'solution' to a system is the specific (x,y)(x, y) point where the lines intersect. It's the one pair of values that makes all equations in the system true.

If two lines are parallel, they never cross, so there's no solution. If they are the exact same line, there are infinite solutions. But usually, two different lines will cross at exactly one point.

Let's look at two algebraic methods to find this point without graphing.

Solving a system of linear equations is like finding the one place where two straight paths cross.

Substitution Method

The idea here is to solve one equation for one variable, and then substitute that expression into the other equation. This leaves you with one equation and one variable, which is easy to solve.

Consider this system:

{4x+y=10x2y=5\begin{cases} \\ 4x + y = 10 \\ x - 2y = -5 \\ \end{cases}
  1. Isolate a variable. The first equation is easy to rearrange for yy. Subtract 4x4x from both sides: y=104xy = 10 - 4x.

  2. Substitute. Now, replace the yy in the second equation with (104x)(10 - 4x): x2(104x)=5x - 2(10 - 4x) = -5.

  3. Solve for the remaining variable. Simplify and solve for xx: x20+8x=5x - 20 + 8x = -5 9x20=59x - 20 = -5 9x=159x = 15 x=15/9=5/3x = 15/9 = 5/3.

  4. Find the other variable. We know x=5/3x = 5/3. Plug this back into our handy equation from step 1: y=104(5/3)=1020/3=30/320/3=10/3y = 10 - 4(5/3) = 10 - 20/3 = 30/3 - 20/3 = 10/3.

The solution is (5/3,10/3)(5/3, 10/3).

Elimination Method

This method works by adding or subtracting the two equations to eliminate one of the variables. You may need to multiply one or both equations by a number first to make the coefficients of one variable opposites.

Let's use a different system:

{3x+2y=75x4y=3\begin{cases} \\ 3x + 2y = 7 \\ 5x - 4y = -3 \\ \end{cases}
  1. Align the variables. Our equations are already aligned nicely.

  2. Adjust coefficients. We want to make the coefficients of either xx or yy opposites. Let's target yy. If we multiply the top equation by 2, we'll get a +4y+4y which will cancel with the 4y-4y in the bottom equation.

2(3x+2y=7)2(3x + 2y = 7) becomes 6x+4y=146x + 4y = 14.

  1. Add the equations. Now we add our new equation to the second original equation: (6x+4y)+(5x4y)=14+(3)(6x + 4y) + (5x - 4y) = 14 + (-3) 11x=1111x = 11

  2. Solve. This gives us x=1x = 1.

  3. Find the other variable. Plug x=1x=1 into either original equation. Let's use the first one: 3(1)+2y=73(1) + 2y = 7, which simplifies to 3+2y=73 + 2y = 7, then 2y=42y = 4, so y=2y = 2.

The solution where these two lines cross is (1,2)(1, 2).

Both methods get you to the same place. Substitution is often easier when one variable already has a coefficient of 1. Elimination can be faster for more complex systems. Understanding these is a key step into the world of algebra.