Precalculus Examples

Find the Equation Using Two Points
(1,2)(1,2) , (3,4)(3,4)
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=y2y1x2x1
Step 4
Substitute in the values of xx and yy into the equation to find the slope.
m=4-(2)3-(1)m=4(2)3(1)
Step 5
Finding the slope mm.
Tap for more steps...
Step 5.1
Simplify the numerator.
Tap for more steps...
Step 5.1.1
Multiply -11 by 22.
m=4-23-(1)m=423(1)
Step 5.1.2
Subtract 22 from 44.
m=23-(1)m=23(1)
m=23-(1)m=23(1)
Step 5.2
Simplify the denominator.
Tap for more steps...
Step 5.2.1
Multiply -11 by 11.
m=23-1m=231
Step 5.2.2
Subtract 11 from 33.
m=22m=22
m=22m=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 ] 
AmazonPay