33
MATH 108 Section 2.3 Lines

Lecture 6 sections 2.3 and 2.7 graphs of lines and transformations

Embed Size (px)

Citation preview

Page 1: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations

MATH 108

Section 2.3

Lines

Page 2: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations
Page 3: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations

3© 2010 Pearson Education, Inc. All rights reserved

SLOPE–INTERCEPT FORM OF THEEQUATION OF A LINE

The slope-intercept form of the equation of the line with slope m and y-intercept b is

y mx b .

Page 4: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations

4© 2010 Pearson Education, Inc. All rights reserved

EXAMPLE 5

Graph

Graphing by Using the Slope andy-intercept

22

3y x

Solution

Page 5: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations

5© 2010 Pearson Education, Inc. All rights reserved

HORIZONTAL AND VERTICAL LINES

An equation of a horizontal line through (h, k) is y = k.

An equation of a vertical line through (h, k) is x = h.

Page 6: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations

Graph the equation: x = - 2

Graph the equation: x = 0

Graph the equation: y = 5

Graph the equation: y = 0

Page 7: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations

7© 2010 Pearson Education, Inc. All rights reserved

SLOPE & DIRECTION

1. Scanning graphs from left to right, lines with positive slopes rise and lines with negative slopes fall.

2. The greater the absolute value of the slope, the steeper the line.

3. The slope of a vertical line is undefined.

4. The slope of a horizontal line is 0.

Page 8: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations
Page 9: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations

Find the equation of a line with slope -3 and containing the point (-1, 4).

Page 10: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations
Page 11: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations

Find an equation for the line that contains the point ( 1,3) and is

parallel to the lin 3 4 1e .2x y

Page 12: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations
Page 13: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations

Find an equation for the line that contains the point ( 1,3) and is

perpendicular to the li 2ne 3 1 .4x y

1 1y y m x x

Page 14: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations

Section 2.7

Transformations of Functions

Page 15: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations

15© 2010 Pearson Education, Inc. All rights reserved

EXAMPLE 1 Graphing Vertical Shifts

Let , 2, and 3.f x x g x x h x x Sketch the graphs of these functions on the same coordinate plane. Describe how the graphs of g and h relate to the graph of f.

Page 16: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations

16© 2010 Pearson Education, Inc. All rights reserved

EXAMPLE 1 Graphing Vertical Shifts

Solution continued

Graph the equations.The graph of y = |x| + 2 is the graph of y = |x| shifted two units up. The graph of y = |x| – 3 is the graph of y = |x|shifted three units down.

Page 17: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations

17© 2010 Pearson Education, Inc. All rights reserved

VERTICAL SHIFT

Let d > 0. The graph of y = f (x) + d is the graph of y = f (x) shifted d units up, and the graph of y = f (x) – d is the graph of y = f (x) shifted d units down.

Page 18: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations

18© 2010 Pearson Education, Inc. All rights reserved

EXAMPLE 2 Writing Functions for Horizontal Shifts

Let f (x) = x2, g(x) = (x – 2)2, and h(x) = (x + 3)2.

A table of values for f, g, and h is given on the next slide. The graphs of the three functions f, g, and h are shown on the following slide.

Describe how the graphs of g and h relate to the graph of f.

Page 19: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations

19© 2010 Pearson Education, Inc. All rights reserved

EXAMPLE 2 Writing Functions for Horizontal Shifts

Page 20: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations

20© 2010 Pearson Education, Inc. All rights reserved

HORIZONTAL SHIFT

The graph of y = f (x – c) is the graph of y = f (x) shifted •c units to the right, if c > 0 •c to the left, if c < 0.

Page 21: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations

21© 2010 Pearson Education, Inc. All rights reserved

EXAMPLE 3

Sketch the graph of the function

2 3.g x x

Solution

Step 1 Identify and graph the known function Choose .f x x

Graphing Combined Vertical and Horizontal Shifts

Page 22: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations

22© 2010 Pearson Education, Inc. All rights reserved

EXAMPLE 3

Step 2 Identify the constants d and c in the transformation g (x) = f (x – c ) + d.

Step 3 Since c = –2 < 0, the graph ofis the graph of f shifted horizontally two units to the left.

Graphing Combined Vertical and Horizontal Shifts

Solution continued

d

Page 23: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations

23© 2010 Pearson Education, Inc. All rights reserved

EXAMPLE 3

Solution continued

Graphing Combined Vertical and Horizontal Shifts

Step 4 Because d = –3 < 0, graph

by shifting the graph of

three units down. 2 3g x x

Page 24: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations
Page 25: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations

25© 2010 Pearson Education, Inc. All rights reserved

REFLECTION IN THE x-AXIS

Page 26: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations

26© 2010 Pearson Education, Inc. All rights reserved

REFLECTION IN THE y-AXIS

Page 27: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations

27© 2010 Pearson Education, Inc. All rights reserved

EXAMPLE 5 Stretching or Compressing a Function Vertically

Solution

Sketch the graphs of f, g, and h on the same coordinate plane, and describe how the graphs of g and h are related to the graph of f.

Let

Page 28: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations

28© 2010 Pearson Education, Inc. All rights reserved

EXAMPLE 5 Stretching or Compressing a Function Vertically

Solution continued

Page 29: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations

29© 2010 Pearson Education, Inc. All rights reserved

VERTICAL STRETCHING OR COMPRESSING

The graph of y = a f (x) is obtained from the graph of y = f (x) by multiplying the y-coordinate of each point on the graph of y = f (x) by a and leaving the x-coordinate unchanged. The result is

1. A vertical stretch away from the x-axis if a > 1;

2. A vertical compression toward the x-axis if 0 < a < 1.

If a < 0, the graph of f is first reflected in the x-axis, then vertically stretched or compressed.

Page 30: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations

30© 2010 Pearson Education, Inc. All rights reserved

HORIZONTAL STRETCHING OR COMPRESSING

The graph of y = f (bx) is obtained from thegraph of y = f (x) by multiplying the x-coordinate

of each point on the the graph of y = f (x) by and leaving the y-coordinate unchanged. The result is

1. A horizontal stretch away from the y-axis if 0 < b < 1;

2. A horizontal compression toward the y-axis if b > 1.

1

b

Page 31: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations

31© 2010 Pearson Education, Inc. All rights reserved

EXAMPLE 7 Combining Transformations

Sketch the graph of the functionf (x) = 3 – 2(x – 1)2.

Solution

Step 1 y = x2

Identify a related function.Step 2 y = (x – 1)2

Shift right 1.

Page 32: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations

32© 2010 Pearson Education, Inc. All rights reserved

EXAMPLE 7 Combining Transformations

Solution continued

Step 3 y = 2(x – 1)2

Stretch vertically by a factor of 2.

Step 4 y = –2(x – 1)2

Reflect in x-axis.

Page 33: Lecture 6   sections 2.3 and 2.7 graphs of lines and transformations

33© 2010 Pearson Education, Inc. All rights reserved

EXAMPLE 7 Combining Transformations

Solution continued

Step 5 y = 3 – 2(x – 1)2 Shift three units up.