87.0k views
1 vote
Create equation for line using two points.

User Tom Leys
by
8.2k points

1 Answer

5 votes

Final answer:

To create an equation for a line using two points, you need to calculate the slope and find the y-intercept. The equation will be in the form y=mx+b, where m is the slope and b is the y-intercept.

Step-by-step explanation:

In order to solve this equation, you need to pick two points on the line (preferably far apart on the line so the slope you calculate describes the line accurately). The quantities Y2 and Y1 represent the y-values from the two points on the line (not data points) that you picked, while X2 and X1 represent the two x-values of those points.

Once you have chosen the points, you can use the formula for finding the slope of a line: m = (Y2 - Y1) / (X2 - X1). After calculating the slope, you can use one of the two points along with the slope to find the y-intercept. The equation of the line can be written in the form y = mx + b, where m is the slope and b is the y-intercept.

User Denver Dang
by
7.8k points