please answer a minimum of 3 OF 6 question pairs. you must answer one question out of each pair with a minimum of one paragraph.

profiledream86
Ch2lecture.pptx

Copyright © Cengage Learning. All rights reserved.

‹#›

1

Copyright © Cengage Learning. All rights reserved.

Two-Dimensional Coordinate System and Graphs

SECTION 2.1

‹#›

2

Cartesian Coordinate Systems

‹#›

3

Cartesian Coordinate Systems

Each point on a coordinate axis is associated with a number called its coordinate.

Each point on a flat, two-dimensional surface, called a coordinate plane or xy-plane, is associated with an ordered pair of numbers called coordinates of the point.

Ordered pairs are denoted by (a, b), where the real number a is the x-coordinate or abscissa and the real number b is the y-coordinate or ordinate.

‹#›

4

Cartesian Coordinate Systems

The coordinates of a point are determined by the point’s position relative to a horizontal coordinate axis called the x-axis and a vertical coordinate axis called the y-axis. The axes intersect at the point (0, 0), called the origin.

In Figure 2.1, the axes are labeled such that positive numbers appear to the right of the origin on the x-axis and above the origin on the y-axis.

Figure 2.1

‹#›

5

Cartesian Coordinate Systems

The four regions formed by the axes are called quadrants and are numbered counterclockwise. This two-dimensional coordinate system is referred to as a Cartesian coordinate system in honor of René Descartes.

To plot a point P(a, b) means to draw a dot at its location in the coordinate plane.

In Figure 2.2, we have plotted the points (4, 3), (–3, 1), (–2, –3), (3, –2), (0, 1), (1, 3), and (3,1).

Figure 2.2

‹#›

6

Cartesian Coordinate Systems

The order in which the coordinates of an ordered pair are listed is important. Figure 2.2 shows that (1, 3) and (3, 1) do not denote the same point.

Data often are displayed in visual form as a set of points called a scatter plot.

‹#›

7

Cartesian Coordinate Systems

For instance, the scatter plot in Figure 2.3 shows the growth in text messaging during the years 2005 to 2011, with each point representing the data from a 12-month period ending in June.

Figure 2.3

Source: CTIA.

‹#›

8

Cartesian Coordinate Systems

In some instances, it is important to know when two ordered pairs are equal.

Definition of the Equality of Ordered Pairs

The ordered pairs (a, b) and (c, d) are equal if and only if a = c and b = d.

Example

If (3, y) = (x, –2), then x = 3 and y = –2.

‹#›

9

Distance and Midpoint Formulas

‹#›

10

Distance and Midpoint Formulas

The Cartesian coordinate system makes it possible to combine the concepts of algebra and geometry into a branch of mathematics called analytic geometry.

The distance between two points on a horizontal line is the absolute value of the difference between the x-coordinates of the two points.

The distance between two points on a vertical line is the absolute value of the difference between the y-coordinates of the two points.

‹#›

11

Distance and Midpoint Formulas

For example, as shown in Figure 2.4, the distance d between the points with coordinates (1, 2) and (1, –3) is d = | 2 – (–3) | = 5.

Figure 2.4

‹#›

12

Distance and Midpoint Formulas

If two points are not on a horizontal or vertical line, then a distance formula for the distance between the two points can be developed as follows.

The distance between the points P1(x1, y1) and P2(x2, y2) in Figure 2.5 is the length of the hypotenuse of a right triangle whose sides are horizontal and vertical line segments that measure | x2 – x1 | and | y2 – y1 |, respectively.

Figure 2.5

‹#›

13

Distance and Midpoint Formulas

Applying the Pythagorean Theorem to this triangle produces

Use the square root procedure. Because d is nonnegative, the negative root is not listed.

| x2 – x1 |2 = (x2 – x1)2 and

| y2 – y1 |2 = (y2 – y1)2

‹#›

14

Distance and Midpoint Formulas

Thus we have established the following theorem.

Distance Formula

The distance d(P1, P2) between the points P1(x1, y1) and P2(x2, y2) is

‹#›

15

Distance and Midpoint Formulas

Example

The distance between P1(–3, 4) and P2(7, 2) is given by

‹#›

16

Distance and Midpoint Formulas

The midpoint M of a line segment is the point on the line segment that is equidistant from the endpoints P1(x1, y1) and P2(x2, y2) of the segment. See Figure 2.6.

Midpoint Formula

The midpoint M of the line segment from P1(x1, y1) to P2(x2, y2) is given by

Figure 2.6

‹#›

17

Distance and Midpoint Formulas

Example

The midpoint of the line segment between P1(–2, 6) and P2(3, 4) is given by

‹#›

18

Distance and Midpoint Formulas

The midpoint formula states that the x-coordinate of the midpoint of a line segment is the average of the x-coordinates of the endpoints of the line segment and that the y-coordinate of the midpoint of a line segment is the average of the y-coordinates of the endpoints of the line segment.

‹#›

19

Example 1 – Find the Midpoint and Length of a Line Segment

Find the midpoint and the length of the line segment connecting the points whose coordinates are P1(– 4, 3) and P2(4, –2).

Solution:

‹#›

20

Example 1 – Solution

cont’d

‹#›

21

Graph of an Equation

‹#›

22

Graph of an Equation

The equations below are equations in two variables.

y = 3x3 – 4x + 2 x2 + y2 = 25

The solution of an equation in two variables is an ordered pair (x, y) whose coordinates satisfy the equation.

For instance, the ordered pairs (3, 4), (4, –3), and (0, 5) are some of the solutions of x2 + y2 = 25.

‹#›

23

Graph of an Equation

Generally, there are an infinite number of solutions of an equation in two variables. These solutions can be displayed in a graph.

Definition of the Graph of an Equation

The graph of an equation in the two variables x and y is the set of all points (x, y) whose coordinates satisfy the equation.

‹#›

24

Graph of an Equation

Consider y = 2x – 1. Substituting various values of x into the equation and solving for y produces some of the ordered pairs that satisfy the equation.

It is convenient to record the results in a table similar to the one shown below.

‹#›

25

Graph of an Equation

The graph of the ordered pairs is shown in Figure 2.7.

Figure 2.7

‹#›

26

Graph of an Equation

Choosing some noninteger values of x produces more

ordered pairs to graph, such as and ,

as shown in Figure 2.8.

Figure 2.8

‹#›

27

Graph of an Equation

Using still other values of x would add even more ordered pairs to graph. The result would be so many dots that the graph would appear as the straight line shown in Figure 2.9, which is the graph of y = 2x – 1.

Figure 2.9

‹#›

28

Example 2 – Draw a Graph by Plotting Points

Graph: –x2 + y = 1

Solution:

Solve the equation for y.

y = x2 + 1

Select values of x and use the equation to calculate y. Choose enough values of x so that an accurate graph can be drawn.

‹#›

29

Example 2 – Solution

Plot the points and draw a curve through them. See Figure 2.10.

cont’d

Figure 2.10

‹#›

30

Intercepts

‹#›

31

Intercepts

On a graph, any point that has an x- or a y-coordinate of zero is called an intercept of the graph, because it is at this point that the graph intersects the x- or the y-axis.

Definitions of x-Intercepts and y-Intercepts

If (x1, 0) satisfies an equation in two variables, then the point whose coordinates are (x1, 0) is called an x-intercept of the graph of the equation.

If (0, y1) satisfies an equation in two variables, then the point whose coordinates are (0, y1) is called a y-intercept of the graph of the equation.

‹#›

32

Intercepts

To find the x-intercepts of the graph of an equation, let y = 0 and solve the equation for x.

To find the y-intercepts of the graph of an equation, let x = 0 and solve the equation for y.

‹#›

33

Example 5 – Find x- and y-Intercepts

Find the x- and y-intercepts of the graph of y = x2 – 2x – 3.

Algebraic Solution:

To find the y-intercept, let x = 0 and solve for y.

y = 02 – 2(0) – 3

= –3

To find the x-intercept, let y = 0 and solve for x.

0 = x2 – 2x – 3

0 = (x – 3)(x + 1)

‹#›

34

Example 5 – Solution

(x – 3) = 0 or (x + 1) = 0

x = 3 or x = –1

Because y = –3 when x = 0, (0,–3) is a y-intercept.

Because x = 3 or –1 when y = 0, (3, 0) and (–1, 0) are x-intercepts.

cont’d

‹#›

35

Example 5 – Solution

Figure 2.15 confirms that these three points are intercepts.

cont’d

Figure 2.15

‹#›

36

Circles, Their Equations, and Their Graphs

‹#›

37

Circles, Their Equations, and Their Graphs

Frequently you will sketch graphs by plotting points. However, some graphs can be sketched merely by recognizing the form of the equation.

A circle is an example of a curve whose graph you can sketch after you have inspected its equation.

Definition of a Circle

A circle is the set of points in a plane that are a fixed distance from a specified point. The fixed distance is the radius of the circle, and the specified point is the center of the circle.

‹#›

38

Circles, Their Equations, and Their Graphs

The standard form of the equation of a circle is derived by using the definition of a circle. To derive the standard form, we use the distance formula.

Figure 2.16 is a circle with center (h, k) and radius r.

Figure 2.16

‹#›

39

Circles, Their Equations, and Their Graphs

The point (x, y) is on the circle if and only if it is a distance of r units from the center (h, k). Thus (x, y) is on the circle if and only if

Standard Form of the Equation of a Circle

Let C(h, k) be the coordinates of the center of a circle of radius r. Then the standard form of the equation of a circle is given by

(x – h)2 + (y – k)2 = r 2

Square each side.

‹#›

40

Circles, Their Equations, and Their Graphs

Examples

The equation of the circle in standard form with center C(2, –5) and radius 4 is

(x – h)2 + (y – k)2 = r2

(x – 2)2 + (y – (–5))2 = 42

(x – 2)2 + (y + 5)2 = 16

Although (x – 2)2 + ( y – (–5))2 = 42 is actually standard form, we usually write the equation in simplest form as (x – 2)2 + ( y + 5)2 = 16.

h = 2, k = –5, r = 4

Simplify.

‹#›

41

Circles, Their Equations, and Their Graphs

The coordinates of the center and the radius of the circle whose equation is (x + 3)2 + (y – 4)2 = 7 are found by writing the standard form of the equation of the circle.

(x + 3)2 + (y – 4)2 = 7

(x – (–3))2 + (y – 4)2 =

The center is C(–3, 4) and the radius is r = .

Note that (x – (–3))2 = (x + 3)2;

= 7

‹#›

42

Circles, Their Equations, and Their Graphs

If a circle is centered at the origin (0, 0), then h = 0 and k = 0 and the standard form of the equation of the circle simplifies to

x2 + y2 = r 2

For instance, x2 + y2 = 9 is the equation of the circle with center at the origin and radius of .

Equation of a circle with center at

the origin and radius r

‹#›

43

Example 6 – Find the Standard Form of the Equation of a Circle

Find the standard form of the equation of a circle that has a diameter with endpoints whose coordinates are (–1, 4) and ( 5, –2), as shown in Figure 2.17.

Figure 2.17

‹#›

44

Example 6 – Solution

Find the midpoint of the diameter. The midpoint gives the coordinates for the center of the circle.

Coordinates of center:

Find the radius of the circle by finding the length of the line segment from the center to one of the endpoints of the diameter.

‹#›

45

Example 6 – Solution

Write the equation of the circle.

(x – h)2 + (y – k)2 = r2

(x – 2)2 + (y – 1)2 = 18

r2 = = 18

cont’d

‹#›

46

Circles, Their Equations, and Their Graphs

If we rewrite (x + 4)2 + (y + 2)2 = 25 by squaring and combining like terms, we produce

x2 + 8x + 16 + y2 + 4y + 4 = 25

x2 + y2 + 8x + 4y – 5 = 0

This form of the equation is known as the general form of the equation of a circle.

‹#›

47

Circles, Their Equations, and Their Graphs

By completing the square, it is always possible to rewrite an equation in the general form x2 + y2 + Ax + By + C = 0 in the standard form

(x – h)2 + (y – k)2 = s

for some number s.

If s > 0, the graph is a circle with radius .

If s = 0, the graph is the point (h, k).

If s < 0, the equation has no real solutions and there is no graph.

‹#›

48

Copyright © Cengage Learning. All rights reserved.

Introduction to Functions

SECTION 2.2

‹#›

49

Relations

‹#›

50

Relations

In many situations in science, business, and mathematics,

a correspondence exists between the two sets.

The correspondence is often defined by a table, an equation, or a graph, each of which can be viewed from a mathematical perspective as a set of ordered pairs. In mathematics, any set of ordered pairs is called a relation.

‹#›

51

Relations

Table 2.1 defines a correspondence between a set of percent scores and a set of letter grades.

For each score from 0 to 100, there corresponds only one letter grade.

Table 2.1

‹#›

52

Relations

The score 94% corresponds to the letter grade of A. Using ordered-pair notation, we record this correspondence as (94, A).

The equation d = 16t 2 indicates that the distance d that a rock falls (neglecting air resistance) corresponds to the time t that it has been falling.

For each nonnegative value t, the equation assigns only one value for the distance d.

‹#›

53

Relations

According to the equation, in 3 seconds a rock will fall 144 feet, which we record as (3, 144).

Some of the other ordered pairs determined by d = 16t 2

are (0, 0), (1, 16), (2, 64), and (2.5, 100).

Equation: d = 16t 2

If t = 3, then d = 16(3)2 = 144

‹#›

54

Relations

The graph in Figure 2.19, defines a correspondence between the length of a pendulum and the time it takes the pendulum to complete one oscillation.

Figure 2.19

‹#›

55

Relations

For each nonnegative pendulum length, the graph yields only one time.

According to the graph, a pendulum length of 2 feet yields an oscillation time of 1.6 seconds and a pendulum length of 4 feet yields an oscillation time of 2.2 seconds, where the time is measured to the nearest tenth of a second.

These results can be recorded as the ordered pairs (2, 1.6)

and (4, 2.2).

‹#›

56

Functions

‹#›

57

Functions

The table 2.1, earlier equation and the following graph each determine a special type of relation called a function.

Table 2.1

Figure 2.19

‹#›

58

Functions

Definition of a Function

A function is a set of ordered pairs in which no two ordered pairs have the same first coordinate and different second coordinates.

Although every function is a relation, not every relation is a function.

For instance, consider (94, A) from the grading correspondence. The first coordinate, 94, is paired with a second coordinate, A.

‹#›

59

Functions

It would not make sense to have 94 paired with A, (94, A), and 94 paired with B, (94, B).

The same first coordinate would be paired with two different second coordinates.

This would mean that two students with the same score received different grades, one student an A and the other a B!

‹#›

60

Functions

Functions may have ordered pairs with the same second coordinate.

For instance, (94, A) and (95, A) are both ordered pairs that belong to the function defined by Table 2.1.

Thus a function may have different first coordinates and the same second coordinate.

Table 2.1

‹#›

61

Functions

The equation d = 16t 2 represents a function because for each value of t there is only one value of d.

However, not every equation represents a function. For instance, y2 = 25 – x2 does not represent a function.

The ordered pairs (–3, 4) and (–3, –4) are both solutions of the equation.

However, these ordered pairs do not satisfy the definition of a function: There are two ordered pairs with the same first coordinate but different second coordinates.

‹#›

62

Functions

The domain of a function is the set of all the first coordinates of the ordered pairs. The range of a function is the set of all the second coordinates.

In the function determined by the grading correspondence in Table 2.1, the domain is the interval [0, 100]. The range is {A, B, C, D, F}.

In a function, each domain element is paired with one and only one range element.

Table 2.1

‹#›

63

Functions

If a function is defined by an equation, the variable that represents elements of the domain is the independent variable. The variable that represents elements of the range is the dependent variable.

For the situation involving the free fall of a rock, we used the equation d = 16t 2.

The elements of the domain represented the time the rock fell, and the elements of the range represented the distance the rock fell.

‹#›

64

Functions

Thus, in d = 16t 2, the independent variable is t and the dependent variable is d.

The specific letters used for the independent and dependent variables are not important.

For example, y = 16x2 represents the same function as d = 16t 2. Traditionally, x is used for the independent variable and y for the dependent variable.

Anytime we use the phrase “y is a function of x” or a similar phrase with different letters, the variable that follows “function of ” is the independent variable.

‹#›

65

Example 1 – Identify Functions

State whether the relation defines y as a function of x.

a. {(2, 3), (4, 1), (4, 5)}

b. 3x + y = 1

c. –4x2 + y2 = 9

d. The correspondence between the x values and the y values in Figure 2.20.

Figure 2.20

‹#›

66

Example 1 – Solution

a. There are two ordered pairs, (4, 1) and (4, 5), with the same first coordinate and different second coordinates.

This set does not define y as a function of x.

b. Solving 3x + y = 1 for y yields y = –3x + 1.

Because –3x + 1 is a unique real number for each x,

this equation defines y as a function of x.

‹#›

67

Example 1 – Solution

c. Solving –4x2 + y2 = 9 for y yields

The right side produces two values of y for each value of x.

For example, when x = 0, y = 3 or y = –3.

Thus –4x2 + y2 = 9 does not define y as a function of x.

cont’d

‹#›

68

Example 1 – Solution

d. Each x is paired with one and only one y.

The correspondence in Figure 2.20 defines y as a function of x.

Figure 2.20

cont’d

‹#›

69

Function Notation

‹#›

70

Function Notation

Functions can be named by using a letter or a combination

of letters, such as f, g, A, log, or tan.

If x is an element of the domain of f, then f (x), which is read “f of x” or “the value of f at x,” is the element in the range of f that corresponds to the domain element x.

‹#›

71

Function Notation

The notation “f ” and the notation “f (x)” mean different things.

“f ” is the name of the function, whereas “f (x)” is the value of the function at x.

Finding the value of f (x) is referred to as evaluating f at x.

To evaluate f (x) at x = a, substitute a for x and simplify.

‹#›

72

Example 2 – Evaluate Functions

Let f (x) = x2 – 1, and evaluate.

a. f (–5)

b. f (3b)

c. 3f (b)

d. f (a + 3)

e. f (a) + f (3)

‹#›

73

Example 2 – Solution

a. f (–5) = (–5)2 – 1

= 25 – 1

= 24

b. f (3b) = (3b)2 – 1

= 9b2 – 1

Substitute –5 for x, and simplify.

Substitute 3b for x, and simplify.

‹#›

74

Example 2 – Solution

c. 3f (b) = 3(b2 – 1)

= 3b2 – 3

d. f (a + 3) = (a + 3)2 – 1

= a2 + 6a + 8

e. f (a) + f (3) = (a2 – 1) + (32 – 1)

= a2 + 7

cont’d

Substitute a + 3 for x.

Simplify.

Substitute a for x; substitute 3 for x.

Simplify.

Substitute b for x, and simplify.

‹#›

75

Function Notation

Sometimes the domain of a function is stated explicitly.

For example, each of f, g, and h below is given by an equation followed by a statement that indicates the domain.

f (x) = x2, x > 0

h(x) = x2, x = 1, 2, 3

Although f and h have the same equation, they are different functions because they have different domains.

‹#›

76

Function Notation

If the domain of a function is not explicitly stated, then its domain is determined by the following convention.

Domain of a Function

Unless otherwise stated, the domain of a function is the set of all real numbers for which the function makes sense and yields real numbers.

‹#›

77

Graphs of Functions

‹#›

78

Graphs of Functions

If a is an element of the domain of a function f, then

(a, f (a)) is an ordered pair that belongs to that function.

Definition of the Graph of a Function

The graph of a function is the graph of all ordered pairs that belong to the function.

‹#›

79

Example 4 – Graph a Function by Plotting Points

Graph each of the following. State the domain of each

function.

a. f (x) = 2x – 3

b. g(x) = 2x2 – 3

c. h(x) = – 3

Solution:

For each part, we create a table of ordered pairs for the function, plot the ordered pairs and then draw a graph through them. Although each of the functions has a similar look, their graphs are quite different.

‹#›

80

Example 4 – Solution

In some cases, it takes a bit of effort to produce, by just plotting points, an accurate graph of a function.

a. Because 2x – 3 is a real number for all values of x, the domain of f is all real numbers.

This can be written

cont’d

‹#›

81

Example 4 – Solution

Plot each ordered pair, and then draw a smooth graph through the points.

The graph is shown in Figure 2.21.

cont’d

Figure 2.21

‹#›

82

Example 4 – Solution

b. Because 2x2 – 3 is a real number for all values of x, the domain of g is all real numbers.

This can be written

cont’d

‹#›

83

Example 4 – Solution

Plot each ordered pair, and then draw a smooth graph through the points. The graph is shown in Figure 2.22.

cont’d

Figure 2.22

‹#›

84

Example 4 – Solution

c. Because is not a real number when x < 0, the domain of h is all real numbers greater than or equal to zero.

This can be written

cont’d

‹#›

85

Example 4 – Solution

Plot each ordered pair, and then draw a smooth graph through the points. The graph is shown in Figure 2.23.

cont’d

Figure 2.23

‹#›

86

Graphs of Functions

Piecewise-defined functions are functions that are represented by more than one expression.

For instance, the function f defined below consists of three pieces, 2x + 1, x2 – 1, and 4 – x.

‹#›

87

Graphs of Functions

To evaluate the function at x, determine the interval in which x lies and then use the expression that corresponds to that interval to evaluate the function.

The following examples show how to evaluate f (–4), f (5),

and f (2).

Since –4 < –2, use 2x + 1. f (–4) = 2(–4) + 1 = –7

Since 5 > 3, use 4 – x. f (5) = 4 – 5 = –1

Since –2 < 2 < 3, use x2 – 1. f (2) = 22 – 1 = 3

‹#›

88

Graphs of Functions

It may be that, for a given number b, there is no number in the domain of f for which f (a) = b.

For instance, suppose f (x) = x2 + 3 and we are asked to find a value in the domain of f for which f (a) = 2.

f (a) = 3

a2 + 3 = 2

a2 = –1

a =  i

The values of a are complex numbers and not in the domain of f.

Replace f (a) with a2 + 3.

Solve for a.

‹#›

89

Graphs of Functions

Note from the graph in Figure 2.26 that the horizontal line through (0, 2) does not intersect the graph.

Figure 2.26

‹#›

90

Graphs of Functions

A problem of special interest is determining the values in the domain of a function f for which f (a) = 0.

Zero of a Function

A value a in the domain of a function f for which f (a) = 0 is called a zero of f.

Examples

Let f (x) = 2x – 4. When x = 2, we have, f (x) = 2x – 4

f (2) = 2(2) – 4 = 0.

Because, f (2) = 0, 2 is a zero of f.

‹#›

91

Graphs of Functions

Let g(x) = x2 + 2x – 15. When x = –5 and x = 3, we have

g(x) = x2 + 2x – 15 g(x) = x2 + 2x – 15

g(–5) = (–5)2 + 2(–5) – 15 g(3) = 32 + 2(3) – 15

= 25 – 10 – 15 = 9 + 6 – 15

= 0 = 0

In this case, g(–5) = 0 and g(3) = 0, so there are two zeros of g, –5 and 3.

Let h(x) = x2 + 1. When x = 0, we have

h(x) = x2 + 1

h(0) = 02 + 1

= 1

‹#›

92

Graphs of Functions

In this case, h(0) = 1  0, so 0 is not a zero of the function.

Real Zeros and x-Intercepts Theorem

The real number c is a zero of f if and only if (c, 0) is an x-intercept of the graph of y = f (x).

‹#›

93

Graphs of Functions

The definition of a function as a set of ordered pairs in which no two ordered pairs that have the same first coordinate have different second coordinates implies that any vertical line intersects the graph of a function at no more than one point.

This is known as the vertical line test.

The Vertical Line Test for Functions

A graph is the graph of a function if and only if no vertical line intersects the graph at more than one point.

‹#›

94

Graphs of Functions

Consider the graph in Figure 2.28. As a point on the graph moves from left to right, this graph falls for values of x  –2, remains the same height from x = –2 to x = 2, and rises for x  2.

The function represented by the

graph is said to be decreasing

on the interval constant

on the interval [–2, 2], and

increasing on the interval

Figure 2.28

‹#›

95

Graphs of Functions

Definition of Increasing, Decreasing, and Constant Functions

If a and b are elements of an interval I that is a subset of the domain of a function f, then

f is increasing on I if f (a) < f (b) whenever a < b.

f is decreasing on I if f (a) > f (b) whenever a < b.

f is constant on I if f (a) = f (b) for all a and b.

‹#›

96

Graphs of Functions

We know that a function is a relation in which no two ordered pairs that have the same first coordinate have different second coordinates.

This means that, given any x, there is only one y that can be paired with that x .

A function f that satisfies the additional condition that given element b in the range of f there is exactly one element a in the domain of f such that f(a) = b is called a one-to-one function.

‹#›

97

Graphs of Functions

In a manner similar to applying the vertical line test, we can apply a horizontal line test to identify one-to-one functions.

Horizontal Line Test for a One-To-One Function

If every horizontal line intersects the graph of a function at most once, then the graph is the graph of a one-to-one function.

‹#›

98

Graphs of Functions

For example, some horizontal lines intersect the graph in Figure 2.29 at more than one point.

This is not the graph of a one-to-one function.

Figure 2.29

Some horizontal lines intersect this

graph at more than one point. This is

not the graph of a one-to-one function.

‹#›

99

Graphs of Functions

Every horizontal line intersects the graph in Figure 2.30 at most once.

This is the graph of a one-to-one function.

Figure 2.30

Every horizontal line intersects this

graph at most once. This is the graph

of a one-to-one function.

‹#›

100

Copyright © Cengage Learning. All rights reserved.

Linear Functions

SECTION 2.3

‹#›

101

Slopes of Lines

‹#›

102

Slopes of Lines

A function that can be written in the form f (x) = mx + b is called a linear function because its graph is a straight line.

Consider the graph of a straight line in Figure 2.37. Observe that for each 1-unit increase in x, y increases by a constant amount of m units.

Figure 2.37

‹#›

103

Slopes of Lines

In Figure 2.38, note that for each 1-unit increase in x, y decreases by a constant amount of m units.

Graphs of linear functions are characterized by having a constant rise or fall. This rise or fall is called slope.

The graph in Figure 2.37 has a positive slope; the y value is increasing as x increases.

Figure 2.38

‹#›

104

Slopes of Lines

The graph in Figure 2.38 has a negative slope; the y value is decreasing as x increases.

The slope of a line can be calculated by finding the ratio of the change in y between two points to the change in x between the same two points.

For instance, consider the graph of a straight line passing through the points P1(– 4, – 5) and P2(2, 4) shown in Figure 2.39.

Figure 2.39

‹#›

105

Slopes of Lines

The slope of the line between the two points is

The slope of the line is .

‹#›

106

Slopes of Lines

Definition of the Slope of a Nonvertical Line

The slope m of the line passing through the points P1(x1, y1) and P2(x2, y2) with x1  x2 is given by

See Figure 2.40.

Example

The slope of the line through P1(2, –3) and P2(–4, 1) is

Figure 2.40

‹#›

107

Slopes of Lines

When computing the slope of a line, it does not matter which point we label P1 and which we label P2; the value of the slope will be the same.

For instance, if we interchange the two points in the previous example so that we have P1(–4, 1) and P2(2, –3), then

‹#›

108

Slopes of Lines

Frequently, the Greek letter delta () is used to designate

the change in a variable.

Using this notation, y = y2 – y1 and x = x2 – x1.

Using  notation, the formula for slope is written .

‹#›

109

Example 1 – Find the Slope of a Line

Find the slope of the line passing through P1 and P2.

a. P1(1, 2), P2(3, 6) b. P1(–3, 4), P2(1, –2)

Solution:

a. The slope of the line passing through P1(1, 2) and P2(3, 6) is

Because m  0, the line slants upward from left to right. The slope of the line is positive. See the graph at the right.

Positive slope

‹#›

110

Example 1 – Solution

b. The slope of the line passing through P1(–3, 4) and P2(1, –2) is

Because m  0, the line slants downward from left to right. The slope of the line is negative. See the graph at the right.

cont’d

Negative slope

‹#›

111

Slopes of Lines

The definition of slope does not apply to vertical lines. Consider, for example, the points P1(3, 7) and P2(3, 2) on the vertical line in Figure 2.41.

Figure 2.41

‹#›

112

Slopes of Lines

Applying the definition of slope to this line produces

Because division by 0 is undefined, we say that the slope of any vertical line is undefined.

The line through P3(1, 5) and P4(4, 5) in Figure 2.41 is a horizontal line. Its slope is given by

The slope of every horizontal line is 0.

Division by 0 is undefined.

‹#›

113

Slopes of Lines

The results for vertical and horizontal lines are summarized below.

Horizontal and Vertical Lines

The graph of x = a is a vertical line through (a, 0). The slope of the line is undefined. See Figure 2.42.

The graph of y = b is a horizontal line through (0, b). The slope of the line is zero. See Figure 2.42.

Figure 2.42

‹#›

114

Slopes of Lines

Example

The graph of x = –2 is a vertical line through (–2, 0). The slope is undefined.

The graph of y = 3 is a horizontal line through (0, 3). The slope is zero.

‹#›

115

Slope–Intercept Form

‹#›

116

Slope–Intercept Form

The graph of f (x) = 2x + 1 is shown in Figure 2.43. Note that the slope of the line between the two points is 2, the coefficient of x in f (x) = 2x + 1. The y-coordinate of the y-intercept is 1, the constant term of f (x) = 2x + 1.

Figure 2.43

‹#›

117

Slope–Intercept Form

Slope–Intercept Form

The graph of f (x) = mx + b is a line with slope m and

y-intercept (0, b).

Example

The graph of f (x) = –2x + 3 is a line with slope –2 and

y-intercept (0, 3).

The graph of f (x) = x – 4 is a line with slope and

y-intercept (0, –4).

‹#›

118

Slope–Intercept Form

If a function is written in the form f (x) = mx + b, then its graph can be drawn by first plotting the y-intercept (0, b) and then using the slope m to determine another point on the line.

‹#›

119

Example 2 – Graph a Linear Function

Graph: f (x) = 2x – 1

Solution:

Replace f (x) with y.

The equation y = 2x – 1 is in slope–intercept form, with b = –1 and m = 2.

Thus the y-intercept is (0, –1) and the slope is 2. Write the slope as

‹#›

120

Example 2 – Solution

To graph the equation, first plot the y-intercept and then use the slope to plot a second point.

This second point is 2 units up (change in y) and 1 unit to the right (change in x) of the y-intercept. See Figure 2.44.

cont’d

y = 2x – 1

Figure 2.44

‹#›

121

Slope–Intercept Form

An equation of the form Ax + By = C, where A, B, and C are real numbers and both A and B are not zero, is called the general form of a linear equation in two variables.

Examples of these equations are given below.

2x – 3y = 6

– 4x + 5y = 0

x = 3

y = –2

A = 2, B = –3, C = 6

A = –4, B = 5, C = 0

A = 1, B = 0, C = 3

A = 0, B = 1, C = –2

‹#›

122

Finding the Equation of a Line

‹#›

123

Finding the Equation of a Line

We can find an equation of a line provided we know its

slope and at least one point on the line. Figure 2.47

suggests that if (x1, y1) is a point on a line l of slope m and

(x, y) is any other point on the line, then

Figure 2.47

‹#›

124

Finding the Equation of a Line

Multiplying each side of the previous equation by x – x1 produces y – y1 = m(x – x1).

This equation is called the point–slope form of the equation of line l.

Point–Slope Form

The graph of

y – y1 = m(x – x1)

is a line that has slope m and passes through (x1, y1).

‹#›

125

Example 4 – Use the Point–Slope Form

Find an equation of the line with slope –3 that passes through (–1, 4).

Solution:

Use the point–slope form with m = –3, x1 = –1, and y1 = 4.

y – y1 = m(x – x1)

y – 4 = –3[x – (–1)]

y – 4 = –3x – 3

y = –3x + 1

Substitute.

Solve for y.

Slope–intercept form

‹#›

126

Parallel and Perpendicular Lines

‹#›

127

Parallel and Perpendicular Lines

Two nonintersecting lines in a plane are parallel. All vertical lines are parallel to one another. All horizontal lines are parallel to one another.

Two lines are perpendicular if and only if they intersect and form adjacent angles, each of which measures 90.

In a plane, vertical and horizontal lines are perpendicular to one another.

‹#›

128

Parallel and Perpendicular Lines

Parallel and Perpendicular Lines

Let l1 be the graph of f1(x) = m1x + b1 and l2 be the graph of f2(x) = m2x + b2. Then

l1 and l2 are parallel if and only if m1 = m2.

l1 and l2 are perpendicular if and only if In

this case, the slope of l1 is the negative reciprocal of the slope of l2.

‹#›

129

Parallel and Perpendicular Lines

Example

If f1(x) = 3x + 1 and f2(x) = 3x – 4, then the slopes are equal: m1 = m2 = 3.

The lines are parallel. See Figure 2.48.

Figure 2.48

‹#›

130

Parallel and Perpendicular Lines

If g1(x) = 2x + 3 and g2(x) = x + 1, then m1 = 2 and

The lines are perpendicular. See Figure 2.49. The symbol is used to denote an angle of 90.

Figure 2.49

‹#›

131

Example 6 – Find Equations of Parallel and Perpendicular Lines

a. Find the equation of the line whose graph is parallel to

the graph of 2x – 3y = 7 and passes through the point

P(–6, –2).

b. Find the equation of the line whose graph is perpendicular

to the graph of y = x – 2 and passes through the point

P(– 4,1).

‹#›

132

Example 6(a) – Solution

Solving 2x – 3y = 7 for y, we have Therefore,

the slope of a line parallel to the given line is .

Now use the point–slope form with and P(–6, –2).

y – y1 = m(x – x1)

y – (–2) = (x – (–6))

Use the point–slope form.

x1 = –6, y1 = –2, m =

‹#›

133

Example 6(a) – Solution

y + 2 = x + 4

y = x + 2

The equation of the line whose graph is parallel to the graph of 2x – 3y = 7 and passes through the point

P(–6, –2) is y = x + 2.

cont’d

Solve for y.

‹#›

134

Example 6(b) – Solution

The slope of the given line is . The slope of a line

perpendicular to the given line is the negative reciprocal of

, or .

Now use the point–slope form with and P(–4,1).

y – y1 = m(x – x1)

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

cont’d

Use the point–slope form.

x1 = –4, y1 = 1, m =

‹#›

135

Example 6(b) – Solution

y – 1 = x – 3

y = x – 2

The equation of the line whose graph is perpendicular to the

graph of y = x – 2 and passes through the point P(– 4, 1) is

y = x – 2.

cont’d

Solve for y.

‹#›

136

Copyright © Cengage Learning. All rights reserved.

Quadratic Functions

SECTION 2.4

‹#›

137

Quadratic Functions

Some applications can be modeled by a quadratic function.

Definition of a Quadratic Function

A quadratic function of x is a function that can be represented by an equation of the form

f (x) = ax2 + bx + c

Where a, b, and c are real numbers and a  0.

Example

f (x) = 2x2 – 3x + 1

g(x) = –x2 – 5

h(x) = x2 + 5x

a = 2, b = –3, c = 1

a = –1, b = 0, c = –5

a = 1, b = 5, c = 0

‹#›

138

Quadratic Functions

The graph of f (x) = ax2 + bx + c, a  0, is a parabola.

The graph opens up when a > 0, as in Figure 2.51a, and opens down when a < 0, as in Figure 2.51b.

Figure 2.51

(b)

(a)

‹#›

139

Quadratic Functions

The vertex of a parabola is the lowest point on a parabola that opens up or the highest point on a parabola that opens down.

The graph of a parabola has an axis of symmetry, a vertical line through the vertex such that if the parabola were folded along that line, the two parts of the graph would match up.

‹#›

140

Quadratic Functions

Definition of Symmetry with Respect to a Line

A graph is symmetric with respect to a line L if for each point P on the graph there is a point P  on the graph such that the line L is the perpendicular bisector of the line segment PP .

The graph in Figure 2.52 is symmetric with respect to the line L.

Figure 2.52

‹#›

141

Quadratic Functions

Note that the graph has the property that if the paper is folded along the dotted line, the point P will coincide with the point P , the point Q will coincide with the point Q , and the point R will coincide with the point R .

One part of the graph is a mirror image of the rest of the graph across the line L.

‹#›

142

Standard Form of a Quadratic Function

‹#›

143

Standard Form of a Quadratic Function

The graph of a parabola can be drawn by finding the vertex and the axis of symmetry.

Then find a few points on the graph of the parabola on one side of the axis of symmetry and use symmetry with respect to that axis to draw the graph.

We write f (x) = ax2 + bx + c, a  0, in what is called the standard form of a quadratic function.

‹#›

144

Standard Form of a Quadratic Function

Standard Form of a Quadratic Function

Every quadratic function f given by f (x) = ax2 + bx + c can be written in the standard form of a quadratic function,

f (x) = a(x – h)2 + k, a  0

The graph of f is a parabola with vertex (h, k).

The parabola opens up if a > 0, and it opens down if a < 0.

The vertical line x = h is the axis of symmetry of the parabola.

‹#›

145

Standard Form of a Quadratic Function

Example

f (x) = (x – 3)2 – 4

f (x) = –2(x + 1)2 + 1

a = 1 > 0; parabola opens up

Vertex (3, – 4); axis of symmetry x = 3

a = –2 < 0; parabola opens down

Vertex (–1, 1); axis of symmetry x = –1

‹#›

146

Example 1 – Find the Standard Form of a Quadratic Function

Use the technique of completing the square to find the standard form of g(x) = 2x2 – 12x + 19. Sketch the graph.

Solution:

g(x) = 2x2 – 12x + 19

= 2(x2 – 6x) + 19

= 2(x2 – 6x + 9 – 9) + 19

= 2(x2 – 6x + 9) – 2(9) + 19

Factor 2 from the variable terms.

Complete the square.

Regroup.

‹#›

147

Example 1 – Solution

= 2(x – 3)2 – 18 + 19

= 2(x – 3)2 + 1

The vertex is (3, 1). The axis of symmetry is x = 3.

Because a > 0, the parabola opens up. See Figure 2.53.

Factor and simplify.

Use standard form.

Figure 2.53

cont’d

‹#›

148

Standard Form of a Quadratic Function

We can write f (x) = ax2 + bx + c in standard form by completing the square of ax2 + bx + c.

This will allow us to derive a general expression for the x- and y-coordinates of the graph of f (x) = ax2 + bx + c.

f (x) = ax2 + bx + c

Factor a from ax2 + bx.

Complete the square by adding

and subtracting

‹#›

149

Thus f (x) = ax2 + bx + c written in standard form is

f (x) .

Comparing this last expression with f (x) = a(x – h)2 + k, we

see that the coordinates of the vertex are

Factor and simplify.

Standard Form of a Quadratic Function

‹#›

150

Note that by evaluating

f (x) at , we have

That is, the y-coordinate of the vertex is

Standard Form of a Quadratic Function

‹#›

151

This result is summarized by the following formula.

Vertex Formula

The coordinates of the vertex of f (x) = ax2 + bx + c are

The vertex formula can be used to write the standard form of the equation of a parabola.

We have

Standard Form of a Quadratic Function

‹#›

152

Example 2 – Find the Vertex and Standard Form of a Quadratic Function

Use the vertex formula to find the vertex and standard form

of f (x) = 2x2 – 8x + 3.

Solution:

f (x) = 2x2 – 8x + 3

a = 2, b = –8, c = 3

x-coordinate of the vertex

y-coordinate of the vertex

‹#›

153

Example 2 – Solution

The vertex is (2, –5).

Substituting into the standard form equation

f (x) = a(x – h)2 + k yields the standard form

f (x) = 2(x – 2)2 – 5.

The graph of f is shown in Figure 2.54.

cont’d

Figure 2.54

‹#›

154

Maximum and Minimum of a Quadratic Function

‹#›

155

Maximum and Minimum of a Quadratic Function

Note from Example 2 that the graph of the parabola opens

up and the vertex is the lowest point on the graph of the

parabola. Therefore, the y-coordinate of the vertex is the

minimum value of that function.

This information can be used to determine the range of

f (x) = 2x2 – 8x + 3. The range is {y | y  – 5}.

Similarly, if the graph of a parabola opened down, the

vertex would be the highest point on the graph and the

y-coordinate of the vertex would be the maximum value of

the function.

‹#›

156

Maximum and Minimum of a Quadratic Function

For instance, the maximum value of f (x) = –x2 + 4x – 1, graphed as below, is 3, the y-coordinate of the vertex.

The range of the function is {y | y  3}.

For the function in Example 2 and the function whose graph is shown at the right, the domain is the set of real numbers.

‹#›

157

Maximum and Minimum of a Quadratic Function

The following theorem can be used to determine the maximum value or the minimum value of a quadratic function.

Maximum or Minimum Value of a Quadratic Function

If a > 0, then the vertex (h, k) is the

lowest point on the graph of

f (x) = a(x – h)2 + k and the

y-coordinate k of the vertex is

the minimum value of the function f.

See Figure 2.55a.

Figure 2.55a

k is the minimum value of f

‹#›

158

Maximum and Minimum of a Quadratic Function

If a < 0, then the vertex (h, k) is the highest point on the

graph of f (x) = a(x – h)2 + k and the y-coordinate k is the

maximum value of the function f.

See Figure 2.55b.

In either case, the maximum or minimum value is achieved when x = h.

Figure 2.55b

k is the maximum value of f

‹#›

159

Example 4 – Find the Maximum or Minimum of a Quadratic Function

Find the maximum or minimum value of each quadratic function. State whether the value is a maximum or a minimum.

a. F(x) = –2x2 + 8x – 1

b. G(x) = x2 – 3x + 1

Solution:

The maximum or minimum value of a quadratic function is the y-coordinate of the vertex of the graph of the function.

a.

x-coordinate of the vertex

‹#›

160

Example 4 – Solution

Because a < 0, the function has a maximum value but no minimum value. The maximum value is 7.

See Figure 2.56.

y-coordinate of the vertex

cont’d

Figure 2.56

‹#›

161

Example 4 – Solution

b.

Because a > 0, the function has a minimum value but no maximum value.

The minimum value is

See Figure 2.57.

x-coordinate of the vertex

y-coordinate of the vertex

cont’d

Figure 2.57

‹#›

162

Copyright © Cengage Learning. All rights reserved.

Properties of Graphs

SECTION 2.5

‹#›

163

Symmetry

‹#›

164

Symmetry

A graph is symmetric with respect to the y-axis if whenever the point given by (x, y) is on the graph then is (–x, y) is also on the graph. The graph in Figure 2.62 is symmetric with respect to the y-axis.

Figure 2.62

Symmetry with respect to the y-axis

‹#›

165

Symmetry

A graph is symmetric with respect to the x-axis if whenever the point given by (x, y) is on the graph then (x, –y) is also on the graph. The graph in Figure 2.63 is symmetric with respect to the x-axis.

Symmetry with respect to the x-axis

Figure 2.63

‹#›

166

Symmetry

Tests for Symmetry with Respect to a Coordinate Axis

The graph of an equation is symmetric with respect to

the y-axis if the replacement of x with –x leaves the equation unaltered.

the x-axis if the replacement of y with –y leaves the equation unaltered.

‹#›

167

Example 1 – Determine Symmetries of a Graph

Determine whether the graph of the given equation has symmetry with respect to either the x- or the y-axis.

a. y = x2 + 2 b. x = | y | – 2

Solution:

a. The equation y = x2 + 2 is unaltered by the replacement of x with –x. That is, the simplification of y = (–x)2 + 2 yields the original equation y = x2 + 2.

Thus the graph of y = x2 + 2 is symmetric with respect to the y-axis.

‹#›

168

Example 1 – Solution

However, the equation y = x2 + 2 is altered by the replacement of y with –y.

That is, the simplification of –y = x2 + 2, which is y = –x2 – 2, does not yield the original equation y = x2 + 2.

The graph of y = x2 + 2 is not symmetric with respect to the x-axis. See Figure 2.64.

Figure 2.64

y = x2 + 2

cont’d

‹#›

169

Example 1 – Solution

b. The equation x = | y | – 2 is altered by the replacement

of x with –x.

That is, the simplification of –x = | y | – 2 which is x = –| y | + 2, does not yield the original equation x = | y | – 2.

This implies that the graph of x = | y | – 2 is not symmetric with respect to the y-axis.

However, the equation x = | y | – 2 is unaltered by the replacement of y with –y.

cont’d

‹#›

170

Example 1 – Solution

That is, the simplification of x = | –y | – 2 yields the original equation x = | y | – 2.

The graph of x = | y | – 2 is symmetric with respect to the x-axis. See Figure 2.65.

x = | y | – 2

Figure 2.65

cont’d

‹#›

171

Symmetry

Definition of Symmetry with Respect to a Point

A graph is symmetric with respect to a point Q if for each point P on the graph there is a point P  on the graph such that Q is the midpoint of the line segment PP .

The graph in Figure 2.66 is symmetric with respect to the point Q.

Figure 2.66

‹#›

172

Symmetry

For any point P on the graph, there exists a point P  on the graph such that Q is the midpoint of PP.

When we discuss symmetry with respect to a point, we frequently use the origin.

A graph is symmetric with respect to the origin if whenever the point given by (x, y) is on the graph, then (–x, –y) is also on the graph.

‹#›

173

Symmetry

The graph in Figure 2.67 is symmetric with respect to the origin. Test for Symmetry with Respect to the Origin

The graph of an equation is symmetric with respect to the origin if the replacement of x with –x and of y with –y leaves the equation unaltered.

Symmetry with respect to the origin

Figure 2.67

‹#›

174

Symmetry

Some graphs have more than one symmetry.

For example, the graph of | x | + | y | = 2 has symmetry with respect to the x-axis, the y-axis, and the origin. Figure 2.70 is the graph of | x | + | y | = 2.

| x | + | y | = 2

Figure 2.70

‹#›

175

Even and Odd Functions

‹#›

176

Even and Odd Functions

Some functions are classified as either even or odd.

Definition of Even and Odd Functions

The function f is an even function if

f (–x) = f (x) for all x in the domain of f

The function f is an odd function if

f (–x) = –f (x) for all x in the domain of f

‹#›

177

Example 3 – Identify Even or Odd Functions

Determine whether each function is even, odd, or neither.

a. f (x) = x3 b. F(x) = | x | c. h(x) = x4 + 2x

Solution:

Replace x with –x and simplify.

a. f (x) = (–x)3

Because f (–x) = –f (x), this function is an odd function.

b. F(–x) = | –x |

Because F(–x) = F(x), this function is an even function.

= –x3

= –(x3)

= –f (x)

= | x |

= F(x)

‹#›

178

Example 3 – Solution

c. h(–x) = (–x)4 + 2(–x)

This function is neither an even nor an odd function because

h(–x) = x4 – 2x

which is not equal to either h(x) or –h(x).

cont’d

= x4 – 2x

‹#›

179

Even and Odd Functions

The following properties are results of the tests for symmetry:

The graph of an even function is symmetric with respect to the y-axis.

The graph of an odd function is symmetric with respect to the origin.

‹#›

180

Even and Odd Functions

The graph of f in Figure 2.71 is symmetric with respect to the y-axis. It is the graph of an even function.

The graph of g in Figure 2.72 is symmetric with respect to the origin. It is the graph of an odd function.

The graph of an even function is

symmetric with respect to the y-axis.

The graph of an odd function is

symmetric with respect to the origin.

Figure 2.71

Figure 2.72

‹#›

181

Even and Odd Functions

The graph of h in Figure 2.73 is not symmetric with respect to the y-axis and is not symmetric with respect to the origin. It is neither an even nor an odd function.

The graph of a function that is neither

even nor odd is not symmetric with

respect to the y-axis or the origin.

Figure 2.73

‹#›

182