2.4-2.5 Linear Equations in Two Variables and Linear Functions
Linear Equations in Two Variables and Linear Functions
Slope Definition
Let and be two distinct points.
If , the slope of the nonvertical line containing and is defined by the formula:
The symbol (Greek uppercase letter delta) means "change in".
The expression is also called the average rate of change of y with respect to x.
If , then is a vertical line, and the slope of is undefined.
Example 2: Computing Slopes
: Points
: Points
: Points
This indicates a horizontal line.
: Points (undefined)
This indicates a vertical line.
Example 3: Drawing a Graph from a Point and Slope
To draw a graph of the line containing the point and having a slope of .
Plot the given point .
From , use the slope :
A change in y of (move down 4 units).
A change in x of (move right 5 units).
This leads to a new point .
Draw a line through and .
Example 4: Graphing a Vertical Line
To graph the equation :
This is a vertical line where the x-coordinate of every point on the line is .
It passes through points like , , , etc.
Forms of Linear Equations
Point-Slope Form of an Equation of a Line
An equation of a nonvertical line with slope that contains the point is given by:
Example 5: Finding the Equation of a Horizontal Line
To find an equation of the horizontal line containing the point .
A horizontal line has a slope of .
Using the point-slope form:
Simplifying:
Slope-Intercept Form of an Equation of a Line
An equation of a line with slope and y-intercept (i.e., it passes through the point ) is given by:
Example 6: Finding Slope and Y-intercept, then Graphing
To find the slope and y-intercept of the equation and graph it.
Rewrite in slope-intercept form ():
From this form, the slope is and the y-intercept is . This means the line crosses the y-axis at .
To graph:
Plot the y-intercept .
Use the slope (down 1 unit, right 2 units) to find another point: .
Draw the line through and .
Example 7: Finding the Equation from Two Points
To find an equation of the line containing the points and and graph the line.
Calculate the slope :
Use the point-slope form with one of the points (e.g., ):
Convert to slope-intercept form (optional, but good for graphing if asked):
To graph: Plot the two given points and and draw a line through them.
General Form (or Standard Form) of a Line
Definition 8: The equation of a line is in general form when it is written as:
where , , and are real numbers, and and are not both .
Example 9: Graphing by Finding Intercepts
To graph the equation by finding its intercepts.
Find the x-intercept: Set and solve for .
The x-intercept is .Find the y-intercept: Set and solve for .
The y-intercept is .To graph: Plot the x-intercept and the y-intercept , then draw a line through them.
Parallel Lines
Definition: Two lines (in the plane) are parallel if they do not intersect (they have no points in common).
Theorem 10: Two nonvertical lines are parallel if and only if their slopes are equal () and they have different y-intercepts.
If their slopes are equal and their y-intercepts are also equal, the lines are identical, not just parallel.
Example 11: Finding an Equation of a Parallel Line
To find an equation for the line that contains the point and is parallel to the line .
Find the slope of the given line: Convert to slope-intercept form:
The slope of the given line is .Determine the slope of the parallel line: Since the new line is parallel, its slope must be equal to .
Use the point-slope form with the new slope and the given point :
Perpendicular Lines
Definition: Two lines are perpendicular if they intersect at a right angle ().
Theorem 12: Two nonvertical lines are perpendicular if and only if the product of their slopes is ().
This also means that their slopes are negative reciprocals of each other ().
Horizontal lines () are perpendicular to vertical lines (undefined slope).
Example 13: Finding an Equation of a Perpendicular Line
To find an equation of the line that contains the point and is perpendicular to the line , and graph both lines.
Find the slope of the given line: Convert to slope-intercept form:
The slope of the given line is .Determine the slope of the perpendicular line: The slope must be the negative reciprocal of .
Use the point-slope form with the new slope and the given point :
To graph:
Graph the first line (y-intercept , slope down 1, right 3).
Graph the second line (y-intercept , slope up 3, right 1). Confirm they intersect at a right angle.
Linear Functions
Definition 14: A linear function is a function of the form:
The graph of a linear function is a line with slope and y-intercept .
Its domain is the set of all real numbers ().
Example 15: Graphing a Linear Function
To graph the linear function . What are the domain and the range of ?
Identify slope and y-intercept: From , the slope is and the y-intercept is .
Graph:
Plot the y-intercept .
Use the slope (down 3 units, right 1 unit) to find another point: .
Draw the line through and .
Domain: For any linear function, the domain is all real numbers, .
Range: For any non-constant linear function (), the range is also all real numbers, .
Average Rate of Change of a Linear Function
Theorem 16: Linear functions have a constant average rate of change. That is, the average rate of change of a linear function is: