Enter a problem...
Precalculus Examples
,
Step 1
Use to calculate the equation of the line, where represents the slope and represents the y-intercept.
To calculate the equation of the line, use the format.
Step 2
Slope is equal to the change in over the change in , or rise over run.
Step 3
The change in is equal to the difference in x-coordinates (also called run), and the change in is equal to the difference in y-coordinates (also called rise).
Step 4
Substitute in the values of and into the equation to find the slope.
Step 5
Step 5.1
Multiply the numerator and denominator of the fraction by .
Step 5.1.1
Multiply by .
Step 5.1.2
Combine.
Step 5.2
Apply the distributive property.
Step 5.3
Cancel the common factor of .
Step 5.3.1
Move the leading negative in into the numerator.
Step 5.3.2
Cancel the common factor.
Step 5.3.3
Rewrite the expression.
Step 5.4
Simplify the numerator.
Step 5.4.1
Multiply by .
Step 5.4.2
Subtract from .
Step 5.5
Simplify the denominator.
Step 5.5.1
Multiply by .
Step 5.5.2
Multiply .
Step 5.5.2.1
Multiply by .
Step 5.5.2.2
Multiply by .
Step 5.5.3
Subtract from .
Step 5.6
Move the negative in front of the fraction.
Step 6
Step 6.1
Use the formula for the equation of a line to find .
Step 6.2
Substitute the value of into the equation.
Step 6.3
Substitute the value of into the equation.
Step 6.4
Substitute the value of into the equation.
Step 6.5
Find the value of .
Step 6.5.1
Rewrite the equation as .
Step 6.5.2
Simplify each term.
Step 6.5.2.1
Cancel the common factor of .
Step 6.5.2.1.1
Move the leading negative in into the numerator.
Step 6.5.2.1.2
Factor out of .
Step 6.5.2.1.3
Cancel the common factor.
Step 6.5.2.1.4
Rewrite the expression.
Step 6.5.2.2
Move the negative in front of the fraction.
Step 6.5.3
Move all terms not containing to the right side of the equation.
Step 6.5.3.1
Add to both sides of the equation.
Step 6.5.3.2
Combine the numerators over the common denominator.
Step 6.5.3.3
Add and .
Step 6.5.3.4
Cancel the common factor of .
Step 6.5.3.4.1
Cancel the common factor.
Step 6.5.3.4.2
Divide by .
Step 7
Now that the values of (slope) and (y-intercept) are known, substitute them into to find the equation of the line.
Step 8