Finding the equation for a line is a common problem in geometry and trigonometry. There are two common situations where you are asked to find the equation for a line: either you'll be provided with one point on the line and the slope of the line, or you'll be provided two points on the line. In either case, finding the equation for that line isn't difficult, provided you use the correct formula and work carefully.
[Edit]Steps
[Edit]Calculating the Equation with One Point and the Slope
- Plug the slope in for m in the formula y-y1 = m(x-x1). This is known as the point-slope formula. The point-slope formula uses the slope and the coordinates of a point along the line to find the y-intercept. Use the slope in place of m in y-y1 = m(x-x1).[1]
- For example, if you know the slope of the line is 2, then your formula will look like this: y-y1 = 2(x-x1).
- Replace x1 and y1 with the coordinates of the point. Use the coordinates you’re given as (x1, y1). Put the numbers in the corresponding spot on your formula before you start solving the equation.[2]
- Solve the formula for y to get the final slope-intercept formula. Follow the mathematical order of operations and the distributive property to remove the x-term from parenthesis.
- In our example, first you’d use the distributive property to get y-3=2x-8.
- Then, add 3 to each side so y is by itself.
- The final equation for a line in slope-intercept form with a slope of 2 that contains the point (4, 3) is y = 2x-5.
[Edit]Finding the Equation Using Two Points
- Find the slope using m = (y2-y1)/(x2-x1). The ordered pairs of the coordinates you have are listed as (x, y). Use the first set of coordinates as (x1, y1) and the second set as (x2, y2). Plug the numbers into the formula m = (y2-y1)/(x2-x1) and solve for m.[3]
- Replace the m in the slope-intercept formula with the slope you found. The slope-intercept formula of a line is written as y = mx+b, where m is the slope and b is the y-intercept (the point on the y-axis where the line crosses it). Plug the number you found for your slope in place of m.[4]
- In our example, the formula would read y = 1x+b or y = x+b when you replace the slope value.
- Substitute x and y for one of the points you know to solve for the y-intercept. Pick one of the ordered pairs to put into the slope-intercept formula. Put the x-value in place of x and the y-value in place of y.[5]
- In this example, if you chose (3, 8) as your coordinates, then the formula would read 8 = 1(3)+b.
- Solve the equation for b. Once you plug the x- and y-values as well as your slope into the formula, find the value of b in the equation. Follow the order of operations first before moving the rest of the numbers to the other side. Leave b on one side of the equation to solve it.[6]
- In our example, the formula currently reads 8 = 1(3)+b. Multiply 1 and 3 together to get 8 = 3+b. Since 3 is a positive number, subtract 3 from each side to isolate b. This leaves you with 5 = b, or b = 5.
- Plug in the slope and y-intercept into the slope-intercept formula to finish the equation. Once you’re finished, plug in the slope for m and the y-intercept for b. After that, you’ve found the equation for the line.
- For example, the equation for the line with points on (3, 8) and (7, 12) is y = 1x+5 or simply y = x+5.
[Edit]Related wikiHows
- Construct a Perpendicular Line to a Given Line Through Point on the Line
- Find the Y Intercept
- Find the Slope of an Equation
- Calculate Slope and Intercepts of a Line
- Create a Sin and Cos Circle in Excel
- Learn the Different Equations for a Line
[Edit]References
[Edit]Quick Summary
- ↑ http://www.coolmath.com/algebra/08-lines/11-finding-equation-line-point-slope-01
- ↑ http://www.coolmath.com/algebra/08-lines/11-finding-equation-line-point-slope-01
- ↑ http://www.coolmath.com/algebra/08-lines/12-finding-equation-two-points-01
- ↑ https://www.mathwarehouse.com/algebra/linear_equation/write-equation/equation-of-line-given-two-points.php
- ↑ https://www.mathwarehouse.com/algebra/linear_equation/write-equation/equation-of-line-given-two-points.php
- ↑ https://www.mathwarehouse.com/algebra/linear_equation/write-equation/equation-of-line-given-two-points.php
source How to of the Day https://ift.tt/2r9JDZn
Aucun commentaire:
Enregistrer un commentaire