Presentation is loading. Please wait.

Presentation is loading. Please wait.

3.5 Write and Graph Equations of Lines

Similar presentations


Presentation on theme: "3.5 Write and Graph Equations of Lines"— Presentation transcript:

1 3.5 Write and Graph Equations of Lines

2 Objectives Write an equation of a line given information about its graph Solve problems by writing equations

3 Equations of Lines Equations of lines can be written given any of the following: The slope and y-intercept The slope and the coordinates of a point on the line The coordinates of two points on the line

4 Equations of Lines Slope – Intercept Form y = mx + b
Point – Slope Form y – y1 = m(x – x1) or y = m(x – h) + k through point (h, k) Standard Form Ax + By = C

5 EXAMPLE 1 Write an equation of a line from a graph Write an equation of the line in slope-intercept form. SOLUTION STEP 1 Find the slope. Choose two points on the graph of the line, (0, 4) and (3, –2). m 4 – (– 2) 0 – 3 = 6 – 3 = = – 2 STEP 2 Find the y-intercept. The line intersects the y-axis at the point (0, 4), so the y-intercept is 4.

6 Write an equation of a line from a graph
EXAMPLE 1 Write an equation of a line from a graph STEP 3 Write the equation. mx + b y = Use slope-intercept form. y = –2x + 4 Substitute – 2 for m and 4 for b.

7 EXAMPLE 2 Write an equation of a parallel line Write an equation of the line passing through the point (– 1, 1) that is parallel to the line with the equation y = 2x – 3. SOLUTION STEP 1 Find the slope m. The slope of a line parallel to y = 2x –3 is the same as the given line, so the slope is 2. STEP 2 Find the y-intercept b by using m = 2 and (x, y) = (– 1, 1).

8 Write an equation of a parallel line
EXAMPLE 2 Write an equation of a parallel line y mx + b = Use slope-intercept form. 1 = 2 (–1 ) + b Substitute for x, y, and m. 3 = b Solve for b. Because m = 2 and b = 3, an equation of the line is y = 2x + 3.

9 Write an equation of a perpendicular line
EXAMPLE 3 Write an equation of a perpendicular line Write an equation of the line j passing through the point (2, 3) that is perpendicular to the line k with the equation y = – 2x + 2. SOLUTION STEP 1 Find the slope m of line j. Line k has a slope of – 2. – 2 m = – 1 The product of the slopes of lines is – 1. 1 2 m = Divide each side by – 2.

10 Write an equation of a perpendicular line
EXAMPLE 3 Write an equation of a perpendicular line 1 2 STEP 2 Find the y-intercept b by using m = and (x, y) = (2, 3). mx + b y = Use slope-intercept form. 3 = 1 2 ( 2 ) + b Substitute for x, y, and m. 2 = b Solve for b.

11 EXAMPLE 3 Write an equation of a perpendicular line Because m = and b = 2, an equation 1 2 of line j is y = x + 2. You can check that the lines j and k are perpendicular by graphing, then using a protractor to measure one of the angles formed by the lines.

12 YOUR TURN Write an equation of the line in the graph at the right. y = – 1 2 3 x ANSWER Write an equation of the line that passes through (– 2, 5) and (1, 2). ANSWER y = –x + 3

13 YOUR TURN Write an equation of the line that passes through the point (1, 5) and is parallel to the line with the equation y = 3x – 5. Graph the lines to check that they are parallel. ANSWER y = 3x + 2

14 YOUR TURN How do you know the lines x = 4 and y = 2 are perpendicular? x = 4 is a vertical line while y = 2 is a horizontal line. SAMPLE ANSWER

15 EXAMPLE 4 Write an equation of a line from a graph Gym Membership The graph models the total cost of joining a gym. Write an equation of the line. Explain the meaning of the slope and the y-intercept of the line. SOLUTION Find the slope. STEP 1 363 – 231 5 – 2 132 3 = m = = 44

16 Write an equation of a line from a graph
EXAMPLE 4 Write an equation of a line from a graph STEP 2 Find the y-intercept. Use the slope and one of the points on the graph. mx + b y = Use slope-intercept form. b 231 = Substitute for x, y, and m. 143 = b Simplify. STEP 3 Write the equation. Because m = 44 and b = 143, an equation of the line is y = 44x

17 EXAMPLE 5 Graph a line with equation in standard form Graph 3x + 4y = 12. SOLUTION The equation is in standard form, so you can use the intercepts. STEP 1 Find the intercepts. To find the x-intercept, let y = 0. To find the y-intercept, let x = 0. 3x + 4y = 12 3x + 4y = 12 3x +4 ( 0 ) = 12 3 ( 0 ) + 4y = 12 x = 4 y = 3

18 EXAMPLE 5 Graph a line with equation in standard form STEP 2 Graph the line. The intercepts are (4, 0) and (0, 3). Graph these points, then draw a line through the points.

19 YOUR TURN The equation y = 50x models the total cost of joining a climbing gym. What are the meaning of the slope and the y-intercept of the line? Slope: monthly fee y- intercept: initial cost to join gym ANSWER

20 YOUR TURN Graph the equation 2x – 3y = 6 ANSWER

21 YOUR TURN Graph the equation y = 4 ANSWER

22 YOUR TURN Graph the equation x = – 3 ANSWER

23 EXAMPLE 6 Solve a real-world problem DVD Rental You can rent DVDs at a local store for $4.00 each. An Internet company offers a flat fee of $15.00 per month for as many rentals as you want. How many DVDs do you need to rent to make the online rental a better buy? SOLUTION STEP 1 Model each rental with an equation. Cost of one month’s rental online: y = 15 Cost of one month’s rental locally: y = 4x, where x represents the number of DVDs rented

24 EXAMPLE 6 Solve a real-world problem Graph each equation. STEP 2 The point of intersection is (3.75, 15). Using the graph, you can see that it is cheaper to rent locally if you rent 3 or fewer DVDs per month. If you rent 4 or more DVDs per month, it is cheaper to rent online.

25 YOUR TURN What If? In Example 6, suppose the online rental is $16.50 per month and the local rental is $4 each. How many DVDs do you need to rent to make the online rental a better buy? ANSWER 5 DVDs How would your answer to Exercise 9 change if you had a 2-for-1 coupon that you could use once at the local store? ANSWER Online rental would have to increase to 6 DVDs to be a better buy.

26 Assignment Geometry: Pg. 184 – #4 – 36 evens, 46 – 52 evens


Download ppt "3.5 Write and Graph Equations of Lines"

Similar presentations


Ads by Google