SLIDE 2
2.1 Introduction to Functions 2.2 Algebra of Functions 2.3 Domain and Range of a Function 2.4 Inverse Functions
SLIDE 3
2.1 Introduction to Functions
SLIDE 4 What is a Function?
- Functions are mathematical objects that send an
input to a unique output.
- They are often, but not always, numerical.
- The classic notation is that denotes the
- utput of a function at input value
- Functions are abstractions, but are very
convenient for drawing mathematical relationships, and for analyzing these relationships.
f(x)
f
x.
SLIDE 5 Function or not?
One of the key properties of a function is that it assigns a unique
SLIDE 6
Vertical Line Test
A trick for checking if a mathematical relationship plotted in the Cartesian plane is a function is the vertical line test. VLT: A plot is a function if and only if every vertical line intersects the plot in at most one place.
SLIDE 7
Sketch the following relationships in the Cartesian plane, and determine if they are functions.
y = x + 1
SLIDE 8
x = |y|
SLIDE 9
x = y3
SLIDE 10
2.2 Algebra of Functions
SLIDE 11
- Functions may be treated as algebraic objects: they
may added, subtracted, multiplied, and divided in natural ways.
- One must take care in dividing by functions that can be
- 0. Division by 0 is not defined.
- There is one important operation of functions that does
not apply to numbers: the operation of composition.
- In essence, composing functions means applying one
function, then the other.
SLIDE 12 Composition of Functions
Given two functions , the composition of with is denoted , and is defined as: . Similarly, . One thinks of as first applying the rule , then applying the rule .
f(x), g(x) f(x) g(x)
(f g)(x) (f g)(x) = f(g(x)) (g f)(x) = g(f(x)) (f g)(x) g(x) f(x)
SLIDE 13
As an example, consider . By substituting into , one sees that Similarly, one can substitute into to compute that In particular, we see that composition is not commutative, i.e.
f(x) = x + 1, g(x) = x2 (f g)(x) = x2 + 1 g(x) f(x) f(x) g(x) (g f)(x) = (x + 1)2 = x2 + 2x + 1 (f g)(x) 6= (g f)(x)
SLIDE 14
For the following pairs of functions, compute
(f + g)(x), (fg)(x), (f g)(x) f(x) = 3x + 3 g(x) = x − 1
SLIDE 15
f(x) = sin(x) g(x) = 2x − 3
SLIDE 16
f(x) = x2 + x − 2 g(x) = ex
SLIDE 17
2.3 Domain and Range of a Function
SLIDE 18 Let be a function.
- The domain of is the set of allowable inputs.
- The range of is the set of possible outputs
for the function.
- These can depend on the relationship the
functions are modeling, or be intrinsic to the mathematical function itself.
- They can also be inferred from the plot of , if
it is available.
f(x) f(x) f(x) f(x)
SLIDE 19 Intrinsic Domain Limitations
Some mathematical objects have intrinsic limitations on their domains and
- ranges. Classic examples include:
- has domain , range .
- has domain , range .
- has domain , range .
- has domain , range .
- has domain and range .
f(x) = x2 (−∞, ∞) [0, ∞) f(x) = √x [0, ∞) [0, ∞) f(x) = log(x) (0, ∞) (−∞, ∞) f(x) = ax (−∞, ∞) (0, ∞) f(x) = 1 x (∞, 0) ∪ (0, ∞)
SLIDE 20
Visualizing Domain and Range
Given a plot of , one can observe the domain and range by considering what and values are achieved. f(x)
x
y
The function is hard to analyze, but its plot helps us guess its domain and range. f(x) = x x2 + 1
SLIDE 21
For the following functions, compute the domain and range and sketch a plot.
f(x) = √ 1 − x
SLIDE 22
f(x) = 2x + 1
SLIDE 23
f(x) = − ln(2x + 1)
SLIDE 24
2.4 Inverse Functions
SLIDE 25
Let be a function. The inverse function f is the function that “undoes” ; it is denoted . More precisely, for all in the domain of ,
f(x) f(x)
f −1(x) (f −1 f)(x) = (f f −1)(x) = x
x
f(x)
SLIDE 26 Remarks on Inverse Functions
- Not all functions have inverse functions; we will
show how to check this shortly.
- Note that , that is, inverse functions
are not the same as the reciprocal of a function. The notation is subtle.
- The domain of is the range of , and
the range of is the domain of .
- The plot of is the same as that of ,
except flipped over the line
f −1(x) 6= (f(x))−1
f(x)
f(x)
f −1(x) f −1(x)
f −1(x)
f(x)
y = x.
SLIDE 27 Horizontal Line Test
- Recall that one can check if a plot in the Cartesian plane is the
plot of a function via the vertical line test.
- One can check whether a function has an inverse function
via the horizontal line test: the function has an inverse if every horizontal line intersects the plot of at most once.
f(x) f(x)
SLIDE 28 Computing Inverse Functions
To compute an inverse function to , simply switch the role
- f the input and output variables and solve in terms of .
y = f(x) x = f(y) x
SLIDE 29
For each of the following, plot the function and determine if it has an inverse function. If so, compute it.
f(x) = x2
SLIDE 30
f(x) = x3
SLIDE 31
f(x) = ex
SLIDE 32
f(x) = cos(x)