special functions. piece-wise functions a function is piece-wise, if it is defined over a union of...

59
Special functions

Upload: jocelin-thompson

Post on 14-Dec-2015

217 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Special functions

Page 2: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Piece-wise functions

A function is piece-wise, if it is defined over a union of domains which have different rules for each set of domain.

Example: y x

0

0

x xy

x x

y

x

0

y x

Page 3: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Even/Odd functions

( ) ( )f x f x

( ) ( )f x f x

A function is said to be even if

Similarly, a function is odd if

In other words, the graph of an even function is symmetric about the y-axis while the graph of an odd function is symmetrical about the origin.

Example of Even Function Example of Odd Function

2y x

y

x

3 ?y ax

Page 4: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Can you think of other examples of even and odd functions?

Page 5: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Can you think of other examples of even and odd functions?

Even Function Odd Function y

x0

y x

Page 6: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Step functions

y

x

This is an example of a step function, named for its various horizontal ‘steps’

Page 7: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Standard Graphs

Page 8: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Recall:

y ax0a 0a

Page 9: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Recall:

y ax0a 0a

Page 10: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Recall:

0a 0a

2y ax

Page 11: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Recall:

0a 0a

2y ax

Page 12: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Recall:

0a 0a

3y ax

Page 13: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Recall:

0a 0a

3y ax

Page 14: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

What do you think this graph looks like?

0a 0a

ay

x

Page 15: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

What do you think this graph looks like?

0a 0a

ay

x

Page 16: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

What do you think this graph looks like?

0a 0a 2

ay

x

Page 17: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

What do you think this graph looks like?

0a 0a 2

ay

x

Page 18: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

What do you think this graph looks like?

1a xy ka xy ka

Page 19: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

What do you think this graph looks like?

1a xy ka xy ka

Page 20: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

What do you think this graph looks like?

0k 0k

2y kx

Page 21: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

What do you think this graph looks like?

0k 0k

2y kx

Page 22: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

y x

y = x 2

y =

Page 23: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

lgy xWhat do you think this graph looks like?

http://www.uncwil.edu/courses/mat111hb/EandL/log/log.html

Page 24: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

What do you think this graph looks like?

lgy x

Page 25: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

In general

Red is log(x) base 2. Green is ln(x) (log(x) base e). Blue is log(x) base 10. Cyan is log(x) base 0.5.

Page 26: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Transformation of Graphs

Page 27: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

(1) Translation along the y-axis

x

y

+a units

( )y f x a

( )y f x

x

y

−a units

( )y f x a

( )y f x

( )y f x a

Page 28: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

, the graph is translated along the x-axis by a units to the left.

For

(2) Translation along the x-axis

( )y f x a 0a

( )y f x a 0a

For , where

, where

, the graph is translated along the x-axis by a units to the right.

x

y

a units

( )y f x( )y f x a

x

y

a units

( )y f x ( )y f x a

( )y f x a

Page 29: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Translation along the x-axis

Compare y = x2 and y = (x−1)2

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

Page 30: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Q1y

x

3

5 2

( ) 1f x (3,1) ( )f x

( ) 2f x

(a) Sketch the graph of on the same pair of axes.

lies on the graph of

, determine, under the transformation

the new coordinate of the point.

(b) If the point

Page 31: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Q2

x

y

(2,5)A

( 3, 3)B

( 2)y f x

( 4)y f x

(a) What is the coordinates of A under the transformation

(b) What is the coordinates of B under the transformation

? __________

? __________

Page 32: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

(3) Modulus

( )y f x ( )y f xThe graph of is derived from that of

by reflecting the portion of the graph which lies below the x-axis

y

x

0

y x

Page 33: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

y f x ( )y f xThe graph of is derived from that of

by reflecting the portion of the graph in the y-axis

(3) Modulus

x

y

x

y

( )y f x( )y f x

Page 34: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Example: 22( 1) 3y x

22( 1) 3y x

22( 1) 3y x

Sketch the graph of

Hence or otherwise, draw the graphs of

and

22( 1) 3y x

Page 35: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

(3) Reflection in the x-axis

)(xfy

( )y f x

( )y f x

y

x

Reflect the whole graph in the x-axis

Page 36: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

(4) Reflection in the y-axis

( )y f x Reflect the whole graph in the y-axisy

x

( )y f x ( )y f x

Page 37: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

(5) Modulus (Type 1) ( )y f x

x

y

( )y f x

( )y f x( )y f x

( )y f x

y

x

Page 38: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of
Page 39: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of
Page 40: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

1. remove left half of the graph

2. take the mirror image of right half of the graph in y-axis

(6) *Modulus (Type 2) ( )y f x

Page 41: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Analysis: Whether it is the positive or negative x-value, they will have the same y-value.

Observe that sin(90 ) sin( 90 )

Page 42: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

y = |sin x| y = sin |x|

Difference between ( ) and ( )y f x y f x

Page 43: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

(7) Stretch( )y f ax Under the transformation,

the graph is compressed horizontally / vertically

( )y af xOR

Page 44: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Difference between “stretched” and “compressed”

2 22y x y x

compressed

Compressed narrower

Page 45: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Difference between “stretched” and “compressed”

2 21

2y x y x

stretched

Stretched wider

Page 46: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Stretch/Compressed which way?

( )y f ax ( )y af xOR

( )y af x

Stretched / compressed parallel to y-axis

Page 47: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Stretch/Compressed?

( )y f ax ( )y af xOR

( )y f ax

Stretched / compressed parallel to x-axis

Page 48: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

sin 3siny x y x Stretched along the y-axis with scale factor of 3

Page 49: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

sin sin 3y x y x Compressed along x-axis with scale factor of 3

Stretched along x-axis with scale factor of 1/3

OR

Page 50: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Combining Transformations

( ) ( )y f x y f x

Page 51: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Describe the transformation(s)y x y x

Reflection in the x-axis

Page 52: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Describe the transformation(s)

Translate vertically upwards by 1 unit

y = 5x3 y = 5x3 + 1

Page 53: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Describe the transformation(s)

Translate horizontally to the right by 3 units

2y x 2( 3)y x

Page 54: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Describe the transformation(s)

Reflection in the y-axis

3 5y x 3( ) 5y x

Page 55: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Describe the transformation(s)

Translate vertically downwards by 4 units

y = lg x y = lg x 4

Page 56: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Describe the transformation(s)

Translate horizontally to the left by 2 units

4xy 24xy

Page 57: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Describe the transformation(s)

Translate right by 2 units then translate up by 3 units

1y

x 1

32

yx

Page 58: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Describe the transformation(s)

Reflection in the x-axis

y = (x 6)(x+4) y = (x 6)(x+4)

Page 59: Special functions. Piece-wise functions A function is piece-wise, if it is defined over a union of domains which have different rules for each set of

Q1

Describe following transformations step by step.

( ) 3 (2 1)y f x y f x

Q2 ( ) 1 (1 )y f x y f x

Q3

Q4

( ) ( 2)y f x y f x

( ) 2 2 ( 1) 3y f x y f x