EXAMPLE 1 Write an equation of a line

  • Slides: 14
Download presentation
EXAMPLE 1 Write an equation of a line from a graph Write an equation

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). 4 – (– 2) m = = – 63 = – 2 0– 3 y STEP 2 Find the y-intercept. The line intersects the -axis at the point (0, 4), so the y-intercept is 4.

EXAMPLE 1 Write an equation of a line from a graph STEP 3 Write

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

EXAMPLE 2 Write an equation of a parallel line Write an equation of the

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 = 2 x – 3. SOLUTION STEP 1 Find the slope m. The slope of a line parallel to y = 2 x – 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).

EXAMPLE 2 Write an equation of a parallel line y = mx + b

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 = 2 x + 3.

EXAMPLE 3 Write an equation of a perpendicular line Write an equation of the

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 = – 2 x + 2. SOLUTION STEP 1 Find the slope m of line j. Line k has a slope of – 2 m= – 1 m= 1 2 The product of the slopes of Divide each side by – 2. lines is – 1.

EXAMPLE 3 Write an equation of a perpendicular line 1 STEP 2 Find the

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

EXAMPLE 3 Write an equation of a perpendicular line Because m = 1 and

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

GUIDED PRACTICE 1. for Examples 1, 2 and 3 Write an equation of the

GUIDED PRACTICE 1. for Examples 1, 2 and 3 Write an equation of the line in the graph at the right. SOLUTION STEP 1 Find the slope of the line. m = 1 – (– 1) = 1– 1 2. 3 STEP 2 Find the y-intercept. Since the line intersects the y-axis at the point (0, – 1), so the y-intercept is – 1.

GUIDED PRACTICE for Examples 1, 2, and 3 STEP 3 Write the equation. y

GUIDED PRACTICE for Examples 1, 2, and 3 STEP 3 Write the equation. y = mx + b Use slope-intercept form. 2 y = 3 x – 1 Substitute 2 for m and – 1 for b. 3

GUIDED PRACTICE 2. for Examples 1, 2 and 3 Write an equation of the

GUIDED PRACTICE 2. for Examples 1, 2 and 3 Write an equation of the line that passes through (– 2, 5) and (1, 2). SOLUTION STEP 1 Find the slope of the line. m = 5– 2 – 2– 1 = 3 – 3 = – 1 STEP 2 Find the y-intercept. Since the line intersects the y-axis at the point (– 2, 5) and (1, 2) , so the yintercept is 3.

EXAMPLE 1 GUIDED PRACTICE for Examples 1, 2 and 3 STEP 3 Write the

EXAMPLE 1 GUIDED PRACTICE for Examples 1, 2 and 3 STEP 3 Write the equation. y = mx + b Use slope-intercept form. y = –x + 3 Substitute – 1 for m and 3 for b.

GUIDED PRACTICE 3. for Examples 1, 2 and 3 Write an equation of the

GUIDED PRACTICE 3. for Examples 1, 2 and 3 Write an equation of the line that passes through the point (1, 5) and is parallel to the line with the equation y = 3 x – 5. Graph the lines to check that they are parallel. SOLUTION STEP 1 Find the slope of the line. The slope of the line parallel to y = 3 x – 5 is the same as the given line. So , the slope is 3. STEP 2 Find the y-intercept b by using m = 3 and (x , y) = (1 , 5).

GUIDED PRACTICE y = mx + b for Examples 1, 2 and 3 Use

GUIDED PRACTICE y = mx + b for Examples 1, 2 and 3 Use slope-intercept form. y=3 x+2 STEP 3 Graph the lines.

GUIDED PRACTICE 4. for Examples 1, 2 and 3 How do you know the

GUIDED PRACTICE 4. for Examples 1, 2 and 3 How do you know the lines x = 4 and y = 2 are perpendicular? SOLUTION x = 4 is a vertical line while y = 2 is horizontal line. Hence x y.