110 likes | 219 Views
How in the world do I write a linear equation when all I’m given is two points?. y=mx + b. Steps. Find the slope using rise over run Use either one of the two points (x, y) and the slope to find the y-intercept (b). We did this yesterday! Write the equation in y = mx + b form. Example 1.
E N D
How in the world do I write a linear equation when all I’m given is two points? y=mx + b
Steps • Find the slope using rise over run • Use either one of the two points (x, y) and the slope to find the y-intercept (b). We did this yesterday! • Write the equation in y = mx + b form.
Example 1 • Write the equation of a line passing through (4, 8) and (-8, 4). • Find the slope first • m = (8 – 4)/(4 - -8) • m = 4/12 • m = 1/3
Example 1 (cont) • Step 2 • Choose either one of the two points, it doesn’t matter which one. • Use it and the slope from Step 1 to find the y-intercept. Remember, we did this yesterday
Example 1 (cont) • We will use the first point (4, 8) and the slope of 1/3. • y = mx + b • 8 = 1/3(4) + b • 8 = 4/3 + b • b = 20/3
Example 1 (cont) • Now you can write the equation.
Example 2 (Special Case) • Write the equation of a line passing through (3, -8) and (3, -2). • Find the slope first • m = (-8 – -2)/(3 - 3) • m = -6/0 • m = undefined
Example 2 (cont) • When the slope is undefined, you should recall that the graph of it is a vertical line. • Vertical lines cross the x-axis. • Since the line crosses the x-axis only, choose the value of x and write your equation. • x = 3
Example 3 (special case) • Write the equation of a line passing through (5, -2) and (3, -2). • Find the slope first • m = (-2 - -2)/(5 - 3) • m = 0/2 • m = zero
Example 3 (cont) • When the slope is zero, you should recall that the graph of it is a horizontal line. • Horizontal lines cross the y-axis. • Since the line crosses the y-axis only, choose the value of y and write your equation. • y = -2
The End • I hope you enjoyed today’s lesson. You should now know what to do when you are asked to write the equation of a line given two points.