- In this linear function graph, what do you think is the equation of the line?
- How did you come up with the equation of the line? Relate your steps.
- Basically, graphing linear functions have several methods to follow. This is the case when the equation of the line is given.
- To find the equation of a line when the graph is given or when points and slope are given, several methods must be followed.
- Recall the two cases of linear function below.
- We can easily derive the equation of the horizontal line since it only involves a real constant value of y. The equation is simply which has a slope of 0.
- It is also easy to write the equation of a vertical line because this involves a single value of x. The equation of the vertical line above is which has an undefined slope.
- What if the case involves finding the equation of an upward-sloping straight line or a downward-sloping straight line?
- There are many special forms of the equation of a line. The equation of a line is a relation between two variables that is satisfied by the coordinates of every point in the line.
- The following cases are as follows:
1. Slope and a point on the line are given. Use the point-slope form formula:
2. Two Points on the Line are given. Use the two-point formula.
3. Slope and y-intercept are given. Use the slope-intercept formula.
4. X-intercept and y-intercept are given. Use the intercept formula.
Example 1. Find the equation of the line given the point and slope of .
Use the point-slope form formula.
Example 2. Find the equation of the line given the two points .
Use the formula .
By substitution of the values, we have:
Simplifying the equation yields
Example 3. What is the general equation of the line with a slope of 5 and y-intercept of 8?
When slope and y-intercept are given, we use .
The equation of the line in slope intercept form is .
The general equation of this line is
Example 4. Find the equation of the line using the given points: x-intercept of 2 and y-intercept of 3.
In this case, we use
By substitution, we have:.
In standard form, this is expressed as .
- If two or more lines are parallel, then their slopes are equal.
- If two lines are perpendicular, then the slope of one line is the negative reciprocal of the slope of the other line.
Example 1. What is the equation of the line that passes through and is parallel to ?
If this line is parallel to , then its slope is 3.
Use the point-slope form equation .
To check, the graph of is shown below.
Example 2. What is the equation of the line that passes through and is perpendicular to the line ?
The line has a slope of 4. Therefore, the slope of the other line passing through is .
Using the point-slope form, we have:
The equation of the line is
The graph of is presented below:
Example 3. What is the equation of the line represented by its graph below?
There are several ways to find the equation of this line when the graph is given. We can use any of the formulas discussed in the previous examples.
Using the Intercept formula, we identify the x-intercept and y-intercept.
- Point-Slope form Formula:
- Two-Point Formula:
- Slope Intercept Formula:
- Intercept Formula:
- The equation of the line written in is in a standard form or implicit form.
- The equation of the line expressed as is in a general form.
- The slope of the horizontal straight line is 0.
- The slope of the vertical straight line is undefined.
- A linear function can have only one x-intercept and one y-intercept.
- The graph of an equation in the form of is a vertical line through . This does not represent a function.