Enter a problem...
Algebra Examples
(0,3)(0,3) , (2,0)(2,0)
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=0-(3)2-(0)m=0−(3)2−(0)
Step 5
Step 5.1
Simplify the numerator.
Step 5.1.1
Multiply -1−1 by 33.
m=0-32-(0)m=0−32−(0)
Step 5.1.2
Subtract 33 from 00.
m=-32-(0)m=−32−(0)
m=-32-(0)m=−32−(0)
Step 5.2
Simplify the denominator.
Step 5.2.1
Multiply -1−1 by 00.
m=-32+0m=−32+0
Step 5.2.2
Add 22 and 00.
m=-32m=−32
m=-32m=−32
Step 5.3
Move the negative in front of the fraction.
m=-32m=−32
m=-32m=−32
Step 6
Step 6.1
Use the formula for the equation of a line to find bb.
y=mx+by=mx+b
Step 6.2
Substitute the value of mm into the equation.
y=(-32)⋅x+by=(−32)⋅x+b
Step 6.3
Substitute the value of xx into the equation.
y=(-32)⋅(0)+by=(−32)⋅(0)+b
Step 6.4
Substitute the value of yy into the equation.
3=(-32)⋅(0)+b3=(−32)⋅(0)+b
Step 6.5
Find the value of bb.
Step 6.5.1
Rewrite the equation as -32⋅0+b=3−32⋅0+b=3.
-32⋅0+b=3−32⋅0+b=3
Step 6.5.2
Simplify -32⋅0+b−32⋅0+b.
Step 6.5.2.1
Multiply -32⋅0.
Step 6.5.2.1.1
Multiply 0 by -1.
0(32)+b=3
Step 6.5.2.1.2
Multiply 0 by 32.
0+b=3
0+b=3
Step 6.5.2.2
Add 0 and b.
b=3
b=3
b=3
b=3
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=-32x+3
Step 8
