Examples
,
Step 1
Find the value of using the formula for the equation of a line.
Step 2
Substitute the value of into the equation.
Step 3
Substitute the value of into the equation.
Step 4
Substitute the value of into the equation.
Step 5
Step 5.1
Rewrite the equation as .
Step 5.2
Simplify each term.
Step 5.2.1
Move to the left of .
Step 5.2.2
Rewrite as .
Step 5.3
Move all terms not containing to the right side of the equation.
Step 5.3.1
Subtract from both sides of the equation.
Step 5.3.2
Subtract from .
Step 5.4
Divide each term in by and simplify.
Step 5.4.1
Divide each term in by .
Step 5.4.2
Simplify the left side.
Step 5.4.2.1
Dividing two negative values results in a positive value.
Step 5.4.2.2
Divide by .
Step 5.4.3
Simplify the right side.
Step 5.4.3.1
Divide by .
Step 6
Now that the values of (slope) and (y-intercept) are known, substitute them into to find the equation of the line.
Step 7