Straight-Line Equations

Introduction
Basic Competencies
3.4 Analyze linear functions as straight-line equations and interpret their graphs in contextual problems.
4.4 Solve contextual problems related to linear functions as straight-line equations.

Learning Objectives
After studying this material, students are expected to be able to:
- analyze linear functions and their graphs,
- determine the slope of a line,
- determine the relationship between two lines from their slopes,
- form a straight-line equation from the given information.
Material
1. Graph of a Straight-Line Equation
Observe the following graph.

For the equations and , the coefficient of is 2. This value describes the comparison between the change in and the change in . It is called the slope or gradient of the line.
If the slope is denoted by , then the general form of a straight-line equation is:
where:
- = slope,
- = constant.
Examples of straight-line equations:
To draw the graph of :
- find the intercept with the -axis,
- find the intercept with the -axis,
- connect the two points.
Example
Draw the graph of:
Find the -intercept by setting :
So the -intercept is .
Find the -intercept by setting :
So the -intercept is .

2. Determining the Slope of a Straight Line
The slope shows the degree of inclination of a line relative to the -axis and is usually denoted by .
A. Slope of a line through the origin and a point

Formula:
B. Slope of a line crossing the -axis at and the -axis at

Formula:
C. Slope of a line through two points and
Formula:
Example
Find the slope of the line through and .
Slope Simulation
Use the following simulation to better understand slope visually.
3. Relationship Between Two Lines from Their Slopes
A. Parallel lines
Two parallel lines have the same slope.
Example:
- The line through and
- The line through and

First slope:
Second slope:
Since , the lines are parallel.
B. Perpendicular lines
Two lines are perpendicular if:
Example:
- The line through and
- The line through and

First slope:
Second slope:
Because:
the lines are perpendicular.
4. Forming a Straight-Line Equation
A. Through one point with slope
If a line passes through and has slope , then:
Example
Find the equation of a line with slope 3 passing through .
So the equation is:
B. Through two points
If a line passes through and , then:
or:
Example
Find the equation of the line through and .
So the equation is:
Evaluation
Answer the following questions to test your understanding.
- Find the slope of the line in the figure below.

- The line through and has slope . Find .
- Line is perpendicular to the line through and . Find the slope of line .
- Find the equation of the line through and perpendicular to .
- Find the equation of a line with slope passing through .




