Enter a problem...
Algebra 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
Simplify by cancelling.
Step 5.3.1
Cancel the common factor of .
Step 5.3.1.1
Cancel the common factor.
Step 5.3.1.2
Rewrite the expression.
Step 5.3.2
Cancel the common factor of .
Step 5.3.2.1
Move the leading negative in into the numerator.
Step 5.3.2.2
Cancel the common factor.
Step 5.3.2.3
Rewrite the expression.
Step 5.4
Simplify the numerator.
Step 5.4.1
Multiply by .
Step 5.4.2
Multiply .
Step 5.4.2.1
Multiply by .
Step 5.4.2.2
Multiply by .
Step 5.4.3
Cancel the common factor of .
Step 5.4.3.1
Factor out of .
Step 5.4.3.2
Cancel the common factor.
Step 5.4.3.3
Rewrite the expression.
Step 5.4.4
Add and .
Step 5.5
Simplify the expression.
Step 5.5.1
Subtract from .
Step 5.5.2
Divide by .
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
Combine and .
Step 6.5.3
Move all terms not containing to the right side of the equation.
Step 6.5.3.1
Subtract from both sides of the equation.
Step 6.5.3.2
To write as a fraction with a common denominator, multiply by .
Step 6.5.3.3
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Step 6.5.3.3.1
Multiply by .
Step 6.5.3.3.2
Multiply by .
Step 6.5.3.4
Combine the numerators over the common denominator.
Step 6.5.3.5
Subtract from .
Step 6.5.3.6
Move the negative in front of the fraction.
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