Algebra Examples

Find the Equation Using Two Points
(1,2) , (3,4)
Step 1
Use y=mx+b to calculate the equation of the line, where m represents the slope and b represents the y-intercept.
To calculate the equation of the line, use the y=mx+b format.
Step 2
Slope is equal to the change in y over the change in x, or rise over run.
m=(change in y)(change in x)
Step 3
The change in x is equal to the difference in x-coordinates (also called run), and the change in y is equal to the difference in y-coordinates (also called rise).
m=y2-y1x2-x1
Step 4
Substitute in the values of x and y into the equation to find the slope.
m=4-(2)3-(1)
Step 5
Finding the slope m.
Tap for more steps...
Step 5.1
Simplify the numerator.
Tap for more steps...
Step 5.1.1
Multiply -1 by 2.
m=4-23-(1)
Step 5.1.2
Subtract 2 from 4.
m=23-(1)
m=23-(1)
Step 5.2
Simplify the denominator.
Tap for more steps...
Step 5.2.1
Multiply -1 by 1.
m=23-1
Step 5.2.2
Subtract 1 from 3.
m=22
m=22
Step 5.3
Divide 2 by 2.
m=1
m=1
Step 6
Find the value of b using the formula for the equation of a line.
Tap for more steps...
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=(1)x+b
Step 6.3
Substitute the value of x into the equation.
y=(1)(1)+b
Step 6.4
Substitute the value of y into the equation.
2=(1)(1)+b
Step 6.5
Find the value of b.
Tap for more steps...
Step 6.5.1
Rewrite the equation as (1)(1)+b=2.
(1)(1)+b=2
Step 6.5.2
Multiply 1 by 1.
1+b=2
Step 6.5.3
Move all terms not containing b to the right side of the equation.
Tap for more steps...
Step 6.5.3.1
Subtract 1 from both sides of the equation.
b=2-1
Step 6.5.3.2
Subtract 1 from 2.
b=1
b=1
b=1
b=1
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=x+1
Step 8
Enter YOUR Problem
using Amazon.Auth.AccessControlPolicy;
Mathway requires javascript and a modern browser.
 [x2  12  π  xdx ]