A linear equation is any equation that describes a line.
One way to describe a line is by identifying where it crosses the y-axis and how steep it is.
The y-intercept is the number on the y-axis where the line passes through. The slope compares how fast the line travels to the right to how fast it travels up or down.
Example 1. Omar is building a tree house. For every plank that he puts on, Omar is using four nails. Define a linear equation to represent the relation between number of planks and number of nails.
We can create a graph or an equation to represent the linear equation. For this, we need to find the slope and the y-intercept.
Part 1: Set up.
We can describe the situation using a linear equation on a graph where the y-axis represents the number of nails and the x-axis represents the number of planks.
Part 2: Find the y-intercept.
The y-intercept is the value of y that corresponds to when x is 0.
$$ x = 0 \text{ planks} $$If x is 0, then there are no planks. How many nails would Omar need to put up 0 planks? The answer is none! Omar needs 0 nails to put up 0 planks.
$$ y = 0 \text{ nails} $$So, in this case, the y-value that corresponds to when x is 0 is also 0. That means that the linear equation crosses the y-axis at 0. We can plot the y-intercept in the graph.
Part 3: Find the slope.
As we move to the right of the graph, we are increasing the number of planks. We are told that for every plank, Omar is using 4 nails. Therefore, every time we move 1 unit to the right, the line climbs up 4 units.
The slope is defined as how much we moved vertically over how much we moved horizontally.
$$\text{slope} = \frac{\text{vertical travel}}{\text{horizontal travel}} = \frac{4}{1} = 4 $$So the slope of the linear equation is 4.
Part 4: The linear equation.
In conclusion, we have the following linear graph to describe the relation of the number of planks that Omar is using for this tree house and the number of nails he uses.
The equation will look like this, where y represents the number of nails and the x represents the number of planks.
$$ y = \textcolor{#DA8359}{\left[ \text{slope} \right]}x + \textcolor{#729170}{\left[ y\text{-intercept} \right]} $$Since the y-intercept is 0 and the slope is 4, the equation is:
$$ y = \textcolor{#DA8359}{4}x + \textcolor{#729170}{0} $$The equation can be simplified as:
$$ y = \textcolor{#DA8359}{4}x $$You can use the same approach to solve the exercise below.
Jane Lane is going on a trip through the galaxy and brought 8 frozen food packs. Every 2 weeks, she uses up one food pack.
Define a linear equation to represent the relation between frozen food packs and weeks spent on the trip.
We saw that the y-intercept of linear equation is where the line crosses the y-axis. Similarly, the x-intercept is where the line crosses the x-axis.
In the graph below, the line crosses the x-axis at -1.
So the line has an x-intercept of -1.
Example 2. Let's say that Jane Lane repeats her interstellar trip with a group of friends. Suppose that Jane brought 8 packs of frozen food again, but the group goes through 4 packs every 2 weeks.
Define a linear equation to represent the relation between the number of food packs left and the number of weeks on the trip. In this case, what does the x-intercept represent?
To create a graph or an equation that represents the linear equation, we need to find the slope and the y-intercept.
Part 1: Set up.
We can represent the relation between frozen food packs and weeks on the trip as a graph whose axes represent the number of food packs and the number of weeks spent on the trip.
Part 2: The y-intercept.
We saw in the last exercise that the y-intercept is the number of food packs when the expedition has spent 0 weeks in space. In other words, the number of food packs that they started out with, which is 8.
$$ y = 8 \text{ food packs} $$Therefore, the y-intercept is 8 and the line will cross the y-axis at 8.
Part 3: The slope.
How does the amount on the y-axis (food packs) changes as the amount on the x-axis (weeks) changes? The slope tells us how quickly or slowly Jane and her friends use the frozen food packs.
In this case, we are told that every two weeks, Jane and her friends use 4 food packs. So if we move two units to the right, the line drops down by 4 units.
The slope is defined as how much we moved vertically over how much we moved horizontally.
$$\text{slope} = \frac{\text{vertical travel}}{\text{horizontal travel}} = \frac{-4}{2} = -2 $$So the slope of the linear equation is -2.
Part 4: Conclusion.
The equation will look like this, where y represents the number of food packs left and the x represents the number of weeks on the galactic trip.
$$ y = \textcolor{#DA8359}{\left[ \text{slope} \right]}x + \textcolor{#729170}{\left[ y\text{-intercept} \right]} $$Since the y-intercept is 8 and the slope is -2, the equation is:
$$ y = -2x + 8 $$And it can be represented as the following graph:
Part 5: Interpretation of the x-intercept.
The x-intercept is where the line and the x-axis meet; in other words, the value of x when $$ y = 0 $$ In this case, y represents the number of food packs and x represents the number of weeks. So the x-intercept is the number of weeks when there are no food packs left.Since the line crosses the x-axis at x = 4, that means that the after 4 weeks, Jane and her friends have used up all their frozen food packs. So the x-intercept in this case represents the number of weeks that the frozen food packs will last them.
Xander is fighting bosses on a desert, where they can't replenish their mana. They started out with 18 magic points, but each boss fight takes a toll on Xander. After each encounter, their mana decreases by 3 magic points.
Define a linear equation to represent the relation between magic points and boss fights. Find and interpret the x-intercept.