Slope and intercepts
MAT1510 - Precalculus Mathematics A · Linear Functions
Slope and intercepts
Linear functions are a fundamental concept in mathematics. They can be represented in the form of an equation, typically written as y = mx + b. In this equation, m represents the slope of the line, and b represents the y-intercept.
Understanding Slope
The slope of a line measures its steepness. It is defined as the change in the vertical direction (rise) divided by the change in the horizontal direction (run). Mathematically, the slope (m) can be calculated using the formula:
m = (y2 - y1) / (x2 - x1)
where (x1, y1) and (x2, y2) are two distinct points on the line.
Example of Calculating Slope
Consider the points (2, 3) and (5, 11). To find the slope:
- Identify the coordinates: (x1, y1) = (2, 3) and (x2, y2) = (5, 11).
- Substitute the values into the slope formula:
m = (11 - 3) / (5 - 2)- Calculate the rise: 11 - 3 = 8.
- Calculate the run: 5 - 2 = 3.
- Now, divide the rise by the run:
m = 8 / 3The slope of the line that passes through the points (2, 3) and (5, 11) is 8/3.
Watch out: Remember that the slope can be positive, negative, zero, or undefined. A positive slope indicates that the line rises from left to right, while a negative slope indicates that it falls.
Understanding Y-Intercept
The y-intercept is the point where the line crosses the y-axis. This occurs when x = 0. In the equation of a linear function y = mx + b, the value of b represents the y-intercept.
Example of Finding Y-Intercept
Using the equation of a line, suppose we have y = 2x + 4. To find the y-intercept:
- Set x = 0 in the equation:
y = 2(0) + 4- Solve for y:
y = 4The y-intercept of the line is 4, which means the line crosses the y-axis at the point (0, 4).
Graphing Linear Functions
To graph a linear function, you need both the slope and the y-intercept. Start by plotting the y-intercept on the graph. Then, use the slope to determine another point on the line. From the y-intercept, move up or down according to the rise and then move right according to the run.
Example of Graphing
Let's graph the equation y = 3x - 2.
- The y-intercept (b) is -2. Plot the point (0, -2) on the graph.
- The slope (m) is 3, which can be written as 3/1. This means from the point (0, -2), you move up 3 units and right 1 unit to find the next point:
(0 + 1, -2 + 3) = (1, 1)- Plot the point (1, 1).
- Draw a line through the points (0, -2) and (1, 1).
Remember: You can find additional points by repeating the process using the slope.
Finding the Equation of a Line from Two Points
Sometimes, you need to find the equation of a line given two points. Follow these steps:
- Calculate the slope using the two points.
- Use one of the points and the slope to find the y-intercept.
- Write the equation in the form y = mx + b.
Example of Finding the Equation
Given the points (1, 2) and (4, 8), find the equation of the line.
- Calculate the slope:
m = (8 - 2) / (4 - 1) = 6 / 3 = 2- Use the slope and one point to find the y-intercept. Using (1, 2):
2 = 2(1) + b- Solve for b:
2 = 2 + bb = 2 - 2b = 0- Write the equation:
y = 2x + 0The equation of the line is y = 2x.
Applications of Slope and Intercepts
Understanding slope and intercepts is useful in many real-world applications. For example, businesses can use linear functions to model cost and revenue. The slope can represent the rate of change in cost as production increases, while the y-intercept can represent fixed costs.
Summary
- The slope measures the steepness of a line and is calculated as the change in y divided by the change in x.
- The y-intercept is where the line crosses the y-axis and is found by setting x to 0.
- The equation of a linear function can be written in the form y = mx + b.
- To graph a linear function, plot the y-intercept and use the slope to find additional points.
- You can find the equation of a line if you know two points on the line.
Check your understanding
- What is the slope of the line that passes through the points (3, 5) and (7, 9)?
- How do you find the y-intercept of the line represented by the equation y = -4x + 10?
- Given the points (0, 3) and (2, 7), what is the equation of the line in slope-intercept form?
- Explain how the slope can be interpreted in a business context.