Beruflich Dokumente
Kultur Dokumente
Chapter 2. Functions
Carles Padró
2016-17, Semester 2
x m 7→ A(x) = x 2 m2
x m 7→ L(x) = 2πx m
{f (x) : x ∈ D} ⊆ R
f : R → R, x 7→ f (x) = x 2 − x − 2
Its domain is D = R
Its range is [−9/4, +∞)
x2
3 2 5 2 f
(f + g)(x) = x + x − 1, (fg)(x) = x − x , (x) = 3
g x −1
Definition
Consider a function f : D → R
f is bounded from above if its range is bounded from above
That is, if there is M ∈ R such that f (x) ≤ M for every x ∈ D
M is called an upper bound of f
f is bounded from below if its range is bounded from below
That is, if there is M ∈ R such that f (x) ≥ M for every x ∈ D
M is called a lower bound of f
f is bounded if its range is bounded
That is, if there is M > 0 such that |f (x)| ≤ M for every x ∈ D
Definition
For a function f : D → R,
f is increasing if x ≤ y =⇒ f (x) ≤ f (y )
f is decreasing if x ≤ y =⇒ f (x) ≥ f (y )
f is strictly increasing if x < y =⇒ f (x) < f (y )
f is strictly decreasing if x < y =⇒ f (x) > f (y )
f is monotonic if it is either increasing or decreasing
f is strictly monotonic if it is either
strictly increasing or strictly decreasing
x 7→ p(x) = a0 + a1 x + a2 x 2 + · · · + an x n
where a0 , a1 , . . . , an ∈ R
Affine functions
x 7→ ax + b
are a particular case of polynomial functions
For instance to transform Celsius into Fahrenheit,
9
x 7→ F (x) = x + 32
5
The graph of every affine function is a straight line
Calculus - telecom BCN 2. Functions
Polynomial and Rational Functions
a0 + a1 x + a2 x 2 + · · · + an x n
x 7→
b0 + b1 x + b2 x 2 + · · · + bm x m
Integer powers
x 7→ x n
with n ∈ Z are a particular case of rational functions
For example
1 1
f (x) = x 2 , g(x) = x 7 , h(x) = x −1 = , j(x) = x −5 =
x x5
n-th root
x 7→ x 1/n
where n is a positive integer
If n is odd, the domain is R and the range is R
If n is even, the domain is [0, +∞) and the range is [0, +∞)
√
In particular, the square root x 7→ x 1/2 = x
√
Observe that we assume x ≥ 0 for every x ≥ 0
√
Therefore, x 2 = |x| for every x ∈ R
Rational powers
x 7→ x p/q
where p, q ∈ Z, q 6= 0
Observe that the exponent may be any rational number:
positive, negative, or 0
Each of these functions is defined (at least) in (0, +∞)
So, unless otherwise is stated,
we assume that the domain is (0, +∞)
x 7→ ax
exp(x) = ex
sin x
x 7→ sin x, x 7→ cos x, x 7→ tan x = (always in radians!)
cos x
sin x
x 7→ sin x, x 7→ cos x, x 7→ tan x = (always in radians!)
cos x
The domain of sin and cos is R and their range is [−1, 1]
The domain of tan is R r {(2k + 1)π/2, : k ∈ Z}
and its range is R
This is a list of some basic properties of the functions sin, cos, tan
sin2 x + cos2 x = 1
1
1 + tan2 x =
cos2 x
sin 0 = sin π = 0, sin(π/2) = 1, sin(3π/2) = −1
cos(π/2) = cos(3π/2) = 0, cos 0 = 1, cos π = −1
cos(x + 2π) = cos x, sin(x + 2π) = sin x
cos(−x) = cos x, sin(−x) = − sin x
sin(π/2 − x) = cos x, cos(π/2 − x) = sin x
√
cos(π/4) = sin(π/4) = 2/2
cos(π/3) = sin(π/6) = 1/2
√
cos(π/6) = sin(π/3) = 3/2
ex + e−x
cosh x =
2
ex − e−x
sinh x =
2
sinh x ex − e−x
tanh x = = x
cosh x e + e−x
Basic properties
x +2
if − 4 ≤ x < −3
1 if x = −3
x +2 if − 3 < x < −1
2 if − 1 ≤ x < 1
f : [−4, 4] → R, x 7→
−1 if x = 1
(x − 1)2 if 1 < x ≤ 2
−x + 3 if 2 < x < 4
1 if x = 4
In general, (g ◦ f ) 6= (f ◦ g)
√
Another example: If f (x) = (x − 1)(x − 2) and g(x) = x, then
p
(g ◦ f )(x) = (x − 1)(x − 2)
Let f : D → R be a function
Let R be the range of f
Suppose that f is one-to one,
which means that f (x) 6= f (y ) if x 6= y .
Then there exists a function f −1 : R → R such that
(f −1 ◦ f )(x) = x for every x ∈ D
(f ◦ f −1 )(y ) = y for every y ∈ R
That is
f −1 ◦ f = ID (the identity function on D)
f ◦ f −1 = IR (the identity function on R)
√
If f (x) = x 2 , then f −1 (y ) = y
In this case we have to take D = [0, +∞) as the domain of f
The range of f is R = [0, +∞), which is also the domain of f −1
Indeed,
√
(f −1 ◦ f )(x) = x 2 = x for every x ≥ 0
√
(f ◦ f −1 )(y ) = ( y )2 = y for every y ≥ 0
x 7→ ax
y 7→ loga y
is the inverse of the exponential function with base a
That is,
loga ax = x for every x ∈ R
x 7→ exp(x) = ex
y 7→ log y
Graph of log
log y
loga y =
log a
The functions
Graph of arctan
f (x) = x 2 − x − 2, C = 2
f (x) = x 2 − x − 2, C = 2
f (x + T ) = f (x)
f (x) = x 2 − x − 2
f (x) = x 3 − 3x 2 + x − 2
f (x) = x 3 − 3x 2 + x − 2
f (x) = x 4 − 3x 2 − 2
Examples of even functions: cos, cosh
Calculus - telecom BCN 2. Functions
Even and Odd Functions
A function f is odd if f (−x) = −f (x)
for all x such that both x and −x are in the domain
The graph of an odd function is symmetric with respect to the origin
f (x) = x 3 − 3x
Examples of odd functions: sin, tan, sinh, tanh
Calculus - telecom BCN 2. Functions
Symmetries in Graphs of Functions
√
f (x) = x 2 , f −1 (x) = x