Enter a problem...
Algebra Examples
(6,-6)(6,−6) , (8,8)(8,8)
Step 1
Use y=mx+by=mx+b to calculate the equation of the line, where mm represents the slope and bb represents the y-intercept.
To calculate the equation of the line, use the y=mx+by=mx+b format.
Step 2
Slope is equal to the change in yy over the change in xx, or rise over run.
m=(change in y)(change in x)m=(change in y)(change in x)
Step 3
The change in xx is equal to the difference in x-coordinates (also called run), and the change in yy is equal to the difference in y-coordinates (also called rise).
m=y2-y1x2-x1m=y2−y1x2−x1
Step 4
Substitute in the values of xx and yy into the equation to find the slope.
m=8-(-6)8-(6)m=8−(−6)8−(6)
Step 5
Step 5.1
Cancel the common factor of 8-(-6)8−(−6) and 8-(6)8−(6).
Step 5.1.1
Rewrite 88 as -1(-8)−1(−8).
m=8-(-6)-1⋅-8-(6)m=8−(−6)−1⋅−8−(6)
Step 5.1.2
Factor -1−1 out of -1(-8)-(6)−1(−8)−(6).
m=8-(-6)-1(-8+6)m=8−(−6)−1(−8+6)
Step 5.1.3
Reorder terms.
m=8-6⋅-1-1(-8+6)m=8−6⋅−1−1(−8+6)
Step 5.1.4
Factor 22 out of 88.
m=2(4)-6⋅-1-1(-8+6)m=2(4)−6⋅−1−1(−8+6)
Step 5.1.5
Factor 22 out of -6⋅-1−6⋅−1.
m=2(4)+2(-3⋅-1)-1(-8+6)m=2(4)+2(−3⋅−1)−1(−8+6)
Step 5.1.6
Factor 22 out of 2(4)+2(-3⋅-1)2(4)+2(−3⋅−1).
m=2(4-3⋅-1)-1(-8+6)m=2(4−3⋅−1)−1(−8+6)
Step 5.1.7
Cancel the common factors.
Step 5.1.7.1
Factor 22 out of -1(-8+6)−1(−8+6).
m=2(4-3⋅-1)2(-1(-4+3))m=2(4−3⋅−1)2(−1(−4+3))
Step 5.1.7.2
Cancel the common factor.
m=2(4-3⋅-1)2(-1(-4+3))
Step 5.1.7.3
Rewrite the expression.
m=4-3⋅-1-1(-4+3)
m=4-3⋅-1-1(-4+3)
m=4-3⋅-1-1(-4+3)
Step 5.2
Simplify the numerator.
Step 5.2.1
Multiply -3 by -1.
m=4+3-1(-4+3)
Step 5.2.2
Add 4 and 3.
m=7-1(-4+3)
m=7-1(-4+3)
Step 5.3
Simplify the expression.
Step 5.3.1
Add -4 and 3.
m=7-1⋅-1
Step 5.3.2
Multiply -1 by -1.
m=71
Step 5.3.3
Divide 7 by 1.
m=7
m=7
m=7
Step 6
Step 6.1
Use the formula for the equation of a line to find b.
y=mx+b
Step 6.2
Substitute the value of m into the equation.
y=(7)⋅x+b
Step 6.3
Substitute the value of x into the equation.
y=(7)⋅(6)+b
Step 6.4
Substitute the value of y into the equation.
-6=(7)⋅(6)+b
Step 6.5
Find the value of b.
Step 6.5.1
Rewrite the equation as (7)⋅(6)+b=-6.
(7)⋅(6)+b=-6
Step 6.5.2
Multiply 7 by 6.
42+b=-6
Step 6.5.3
Move all terms not containing b to the right side of the equation.
Step 6.5.3.1
Subtract 42 from both sides of the equation.
b=-6-42
Step 6.5.3.2
Subtract 42 from -6.
b=-48
b=-48
b=-48
b=-48
Step 7
Now that the values of m (slope) and b (y-intercept) are known, substitute them into y=mx+b to find the equation of the line.
y=7x-48
Step 8
