Lines: Graphs and Equations
A line is a straight one-dimensional figure that extends infinitely in both directions. In mathematics, lines are fundamental objects that are represented in graphs and described by equations. The equation of a line defines the relationship between the x- and y-coordinates of any point on the line. Understanding the graph and equations of lines is essential in many areas of mathematics, particularly in algebra and calculus.
In this section, we will explore how to graph lines and write their equations, focusing on the two most common forms of linear equations: the slope-intercept form and the point-slope form.
The slope-intercept form of a line is one of the most commonly used forms, and it is expressed as:
\[ y = mx + b \]
Where: - \( m \) is the slope of the line, which measures the steepness or incline. - \( b \) is the y-intercept, the point where the line crosses the y-axis (when \( x = 0 \)).
The slope \( m \) can be calculated by the formula:
\[ m = \frac{\text{rise}}{\text{run}} = \frac{y_2 - y_1}{x_2 - x_1} \]
The slope is a measure of how much \( y \) changes for a given change in \( x \). A positive slope means the line rises as \( x \) increases, while a negative slope means the line falls as \( x \) increases.
Consider the equation of a line:
\[ y = 2x + 3 \]
This is in slope-intercept form, where: - The slope \( m = 2 \), meaning for every 1 unit increase in \( x \), the value of \( y \) increases by 2. - The y-intercept \( b = 3 \), meaning the line crosses the y-axis at \( y = 3 \).
To graph this line: 1. Start by plotting the y-intercept at \( (0, 3) \) on the graph. 2. Use the slope \( m = 2 \) to find another point. From \( (0, 3) \), move up 2 units and right 1 unit to get the point \( (1, 5) \). 3. Draw a straight line through these points. This is the graph of the equation.
Suppose we are given two points: \( (1, 2) \) and \( (3, 6) \). We want to find the equation of the line that passes through these points.
First, calculate the slope \( m \) using the formula:
\[ m = \frac{y_2 - y_1}{x_2 - x_1} = \frac{6 - 2}{3 - 1} = \frac{4}{2} = 2 \]
Now that we have the slope \( m = 2 \), we can use one of the points, say \( (1, 2) \), and the slope to find the equation. Using the point-slope form of the equation:
\[ y - y_1 = m(x - x_1) \]
Substitute the values \( m = 2 \), \( x_1 = 1 \), and \( y_1 = 2 \):
\[ y - 2 = 2(x - 1) \]
Simplify the equation:
\[ y - 2 = 2x - 2 \quad \Rightarrow \quad y = 2x \]
The equation of the line passing through the points \( (1, 2) \) and \( (3, 6) \) is \( y = 2x \).
The point-slope form of a line is useful when you know a point on the line and the slope. It is given by:
\[ y - y_1 = m(x - x_1) \]
Where: - \( m \) is the slope of the line. - \( (x_1, y_1) \) is a point on the line.
This form is particularly helpful when you know a point on the line and the slope, but not necessarily the y-intercept. Let's look at an example.
Suppose you know that a line has a slope of 3 and passes through the point \( (2, 4) \). Using the point-slope form of the equation:
\[ y - 4 = 3(x - 2) \]
Simplifying the equation:
\[ y - 4 = 3x - 6 \quad \Rightarrow \quad y = 3x - 2 \]
The equation of the line is \( y = 3x - 2 \).
Two lines are parallel if they have the same slope. This means their slopes are equal:
\[ m_1 = m_2 \]
Two lines are perpendicular if the product of their slopes is \( -1 \). This means that the slopes are negative reciprocals of each other:
\[ m_1 \times m_2 = -1 \]
Find the equation of a line parallel to \( y = 2x + 1 \) that passes through the point \( (0, 4) \).
Since the line is parallel, it will have the same slope as the given line. The slope of \( y = 2x + 1 \) is \( 2 \). Using the point-slope form of the equation, we get:
\[ y - 4 = 2(x - 0) \]
Simplifying the equation:
\[ y - 4 = 2x \quad \Rightarrow \quad y = 2x + 4 \]
The equation of the parallel line is \( y = 2x + 4 \).
Find the equation of a line perpendicular to \( y = \frac{1}{2}x - 3 \) that passes through the point \( (2, 1) \).
The slope of the given line is \( \frac{1}{2} \), so the slope of the perpendicular line is the negative reciprocal, which is \( -2 \). Using the point-slope form of the equation, we get:
\[ y - 1 = -2(x - 2) \]
Simplifying the equation:
\[ y - 1 = -2x + 4 \quad \Rightarrow \quad y = -2x + 5 \]
The equation of the perpendicular line is \( y = -2x + 5 \).
In this section, we explored how to graph and write equations of lines in various forms. Key points include:
- The slope-intercept form \( y = mx + b \) is used to represent lines with a known slope and y-intercept.
- The point-slope form \( y - y_1 = m(x - x_1) \) is used when a point on the line and the slope are known.
- Two lines are parallel if they have the same slope, and they are perpendicular if the product of their slopes is \( -1 \).
Understanding how to graph and write equations for lines is a fundamental skill in algebra and forms the basis for understanding more advanced topics in calculus and geometry.