Q:

# How do you write a linear equation?

A:

To write the equation of a line, find the slope and the y-intercept, and incorporate them into slope-intercept form. If you do not know the slope and the intercept, you can also use point-slope form, as long as you have the slope and coordinates for one point on the line.

## Keep Learning

1. Find the slope and the y-intercept

Pick any two coordinates on the line, and use them to find the slope (m) of the line. Take the ordered pairs of the coordinates (x1, y1) (x2, y2), and subtract y1 from y2. Subtract x1 from x2, and divide the difference between the y values by the difference between the x values to calculate the slope. Plug the slope into the basic point-slope form y = mx + b. Put one of the two ordered pairs into the equation as well, and solve for b, which is the y-intercept (the point where the line crosses the y-axis. Write the equation as y = mx + b, with your solutions for slope and y-intercept in the place of m and b, respectively.

2. Use point-slope form when you only know one point and the slope

Begin with the point-slope template y-y1 = m(x-x1), where (x1, y1) is a point on the line. Plug the known value for m in along with the coordinates for the point.

Test the correctness of either form of linear equation by plugging in the value of one of the known points. Redo your work on the slope or intercept if the equation does not work out correctly.

Sources:

## Related Questions

• A: The slope and the y-intercept of a line can be found graphically and mathematically. Use the slope equation and the slope intercept equation to find both v... Full Answer >
Filed Under:
• A: The slope intercept form for a line is expressed as y = mx + b. In that equation, y is the value of the y-coordinate, x is the value of the x-coordinate, m... Full Answer >
Filed Under:
• A: To find the equation of a line given the slope and a single point, you need to use the point-slope form of y - y1 = m(x - x1). It is almost identical to th... Full Answer >
Filed Under:
• A: The slope-intercept form of the equation of a line is y = mx + b, where m is the slope of the line and b is the y intercept. To solve for y, multiply the x... Full Answer >
Filed Under:
PEOPLE SEARCH FOR