SLIDE 1
- 4. Function Representations
SLIDE 2
4.1 Plotting Functions 4.2 Return to Function Algebra 4.3 Tabular Representations
SLIDE 3
4.1 Plotting Functions
SLIDE 4
4.1.1 Plotting Functions with Symmetry and Transformations 4.1.2 Plotting Functions with Asymptotes and Extrema
SLIDE 5
4.1 Plotting Functions with Symmetry and Transformations
SLIDE 6
- Drawing a function in the
Cartesian plane is extremely useful in understand the relationship it defines.
- One can always attempt to plot a
function by computing many pairs , and plotting these on the Cartesian plane.
- However, simpler qualitative
- bservations may be more
- efficient. We will discuss of a
few of these notions before moving on to some standard function plots to know.
(x, f(x))
SLIDE 7 Symmetry of Functions
- A function is said to be even/is symmetric
about the y-axis if for all values of
- Functions that are even are mirror images of
themselves across the -axis.
f(x) x, f(x) = f(−x).
y
SLIDE 8 Symmetry of Functions
- A function is said to be odd/has symmetry
about the origin if for all values of , .
- Functions that are odd can be reflected over the -
axis, then the -axis.
f(x) f(−x) = −f(x) x
x y
SLIDE 9
Identify as even, odd, or neither: f(x) =x4 f(x) =ex f(x) = 3 √x
SLIDE 10 Transformations of Functions
It is also convenient to consider some standard transformations for functions, and how they manifest visually:
- shifts the function to the left by if is
positive, and to the right by if is negative.
- shifts the function up by if is positive,
and down by if is negative.
- reflects the function over the -axis.
- reflects the function over the -axis.
f(x) 7! f(x + a) a a
a
a f(x) 7! f(x) + b f(x) 7! f(x) f(x) 7! f(x)
x
y
b
b b
b
SLIDE 11
Plot f(x) = −(x + 2)2
SLIDE 12
Plot f(x) = ln(1 − x)
SLIDE 13 Solving Equations with Plotting
equation
to plot the functions, and then look for their intersections. f(x) = g(x)
SLIDE 14
4.1.2 Plotting Functions with Asymptotes and Extrema
SLIDE 15
- We can also consider other
features when plotting functions.
- Two important features are
asymptotes and extrema.
- Asymptotes are, for us, either
vertical or horizontal. The are due to restrictions on the domain or range of a function, respectively.
minimums of a function.
SLIDE 16 Asymptotes
- Vertical asymptotes occur
where a function has domain restrictions, typically when there is division by 0.
- Horizontal asymptotes
- ccur when a function
approaches, but never reaches, a certain output.
SLIDE 17
Identify asymptotes of f(x) = 2x + 1 x − 3
SLIDE 18 Extrema
where a function achieves its smallest output.
where a function achieves its largest output.
SLIDE 19
Find the extrema of f(x) = sin(x) + 2, 0 ≤ x ≤ 2π
SLIDE 20
4.2 Return to Function Algebra
SLIDE 21
can perform algebraic
- perations on functions.
- Functions can be added,
subtracted and multiplied naturally.
divided, but one must take care to avoid division by 0, which is not a well-defined mathematical operation. (f + g)(x) = f(x) + g(x) (f · g)(x) = f(x) · g(x) ✓f g ◆ (x) = f(x) g(x)
SLIDE 22
Composition of Functions
(f g)(x) = f(g(x))
SLIDE 23
For each of the following function pairs, compute (f g)(x), (g f)(x) :
SLIDE 24
f(x) = sin(x) g(x) =x2
SLIDE 25
f(x) =ex g(x) =x3
SLIDE 26
f(x) = log2(x) g(x) =|x|
SLIDE 27
4.3 Tabular Representations
SLIDE 28
- Another way to represent functions is a table relating inputs to outputs.
- This is a very natural way to visualize and understand a function’s behavior,
as the input and output pairs are explicit.
- It has an obvious disadvantage, in that one must have a very long table to
show many pairs.
- It can also be difficult to discern the overall pattern from the table.
- It is, however, convenient for computing values of composed functions of the
form, for example,
(x, f(x)) f g(x) = f(g(x))
SLIDE 29 x f(x) g(x) f(g(x)) 1 2
2 3
3
2 4 2 1 5 4 6 6
SLIDE 30 x f(x) g(x) (f+g)(x) (fg)(x) f(g(x))
1
1 2 1 3 1 2 5 2 3 4 4 4 2 3