functions. the set x is called the domain of the function. for each element x in x, the...

33
Functions

Upload: maryann-freeman

Post on 25-Dec-2015

217 views

Category:

Documents


0 download

TRANSCRIPT

Functions

The set X is called the domain of the function.

For each element x in X, the corresponding element y in Y is called the image of x. The set of all images of the elements of the domain is called the range of the function.

Let X and Y be two nonempty sets of real numbers. A function from X into Y is a rule or a correspondence that associates with each element of X a unique element of Y.

DOMAIN RANGE

X Y

f

x

x

x

y

y

M: Mother Function

Joe

Samantha

Anna

Ian

Chelsea

George

Laura

Julie

Hilary

Barbara

Sue

Students Mothers

M: Mother function

Domain of M = {Joe, Samantha, Anna, Ian, Chelsea, George}

Range of M = {Laura, Julie, Hilary, Barbara}

In function notation we writeM(Anna) = JulieM(George) = BarbaraM(x)=Hilary indicates that x = Chelsea

The mother function M written as ordered pairs

M = {(Joe, Laura), (Samantha, Laura),

(Anna, Julie), (Ian, Julie), (Chelsea, Hillary),

(George, Barbara) }

For the function f below , evaluate f at the indicated values and find the domain and range of f

1

2

3

4

5

6

7

10

11

12

13

14

15

16

f(1) f(2)

f(3) f(4)

f(5) f(6)

f(7)

Domain of f

Range of f

Graphical Displays of Functions

Another way to depict a function whose ordered pairs are made up of numbers, is to display the ordered pairs via a graph on the coordinate plane, with the first elements of the ordered pairs graphed along the horizontal axis, and the second elements graphed along the vertical axis.

Functions defined by Rules

Let f be function, defined on the set of natural numbers, consisting of ordered pairs where the second element of the ordered pair is the square of the first element.

Some of the ordered pairs in f are

(1,1) (2,4), (3,9), (4,16),…….

f is best defined by the rule f(x) = x²

Function Notation f(x)

Functions defined on infinite sets are denoted by algebraic rules.

Examples of functions defined on all real numbers R.

f(x) = x²; g(x) = 2x - 1; h(x) = x³

The symbol f(x) represents the real number in the range of the function f corresponding to the domain value x.

The ordered pair (x,f(x)) belongs to the function f.

Evaluating functions

)5(

)0(

)3(

12)(

f

f

f

xxf

)3(

)7(

)1(3

15)(

g

g

gx

xg

)5(

)1(

)0(

4)(

h

h

h

xxh

Find the domain of the following functions:

A)

B)3

15)(

xxg

Domain is all real numbers but 3x

C)

Square root is real only for nonnegative numbers.

Graph of a function

The graph of the function f(x) is the set of points (x,y) in the xy-plane that satisfy the relation y = f(x).

Example: The graph of the function

f(x) = 2x – 1 is the graph of the equation

y = 2x – 1, which is a line.

3210-1-2-3

5

4

3

2

1

0

-1x

y

x

y

Domain and Range from the Graph of a function

Domain = {x / or }

Range = {y / or }

13 x 31 x

21 y 53 y

4

0

-4(0, -3)

(2, 3)

(4, 0)(10, 0)

(1, 0)

x

y

Determine the domain, range, and intercepts of the following graph.

Theorem Vertical Line Test

A set of points in the xy - plane is the graph of a function if and only if a vertical line intersects the graph in at most one point.

x

y

Not a function.

x

y

Function.

4

0

-4(0, -3)

(2, 3)

(4, 0)(10, 0)

(1, 0)

x

y

Is this a graph of a function?

Even functions

A function f is an even function if

for all values of x in the domain of f.

Example: is even because

)()( xfxf

13)( 2 xxf

)(131)(3)( 22 xfxxxf

Odd functions

A function f is an odd function if

for all values of x in the domain of f.

Example: is odd because

)()( xfxf

xxxf 35)(

)()5(5)(5)( 333 xfxxxxxxxf

Determine if the given functions are even or odd

23

3

24

)()4

1||)()3

)()2

1)()1

xxxk

xxh

xxg

xxxf

Graphs of Even and Odd functions

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

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

x

0 4 0

1 3 -1

-1 3 1

2 0 4

-2 0 -4

24)( xxf xxxg 2)( 3

3210-1-2-3

6

5

4

3

2

1

0

-1

-2

-3

-4

-5

-6

x

y

x

y

52.50-2.5-5

5

2.5

0

-2.5

-5

x

y

x

y

Determine if the function is even or odd?

Determine if the function is even or odd?

52.50-2.5-5

5

3.75

2.5

1.25

0

x

y

x

y

52.50-2.5-5

100

50

0

-50

-100

x

y

x

y

Determine if the function is even or odd?

Increasing and Decreasing Functions

• A function f is increasing on an open interval I if, for any choice of x1 and x2 in I, with x1 < x2 we have f(x1)<f(x2).

• A function f is decreasing on an open interval I if, for any choice of x1 and x2 in I, with x1 < x2 we have f(x1)>f(x2).

• A function f is constant on an open interval I if, for all choices of x, the values f(x) are equal.

Local Maximum, Local Minimum

• A function f has a local maximum at c if there is an open interval I containing c so that, for all x = c in I, f(x) < f(c). We call f(c) a local maximum of f.

• A function f has a local minimum at c if there is an open interval I containing c so that, for all x = c in I, f(x) > f(c). We call f(c) a local minimum of f.

Determine where the following graph is increasing, decreasing and constant. Find local maxima and minima.

4

0

-4 (0, -3)

(2, 3)

(4, 0)

(10, -3)

(1, 0)

x

y

(7, -3)