Professional Documents
Culture Documents
M53 Lec1.0 Review of Functions PDF
M53 Lec1.0 Review of Functions PDF
Mathematics 53
1 Functions
4 Operations on Functions
5 Piecewise-defined Functions
Definition
Let X and Y be nonempty sets. A function f from X to Y , denoted f : X → Y , is
a rule that assigns to each element of X a unique element of Y .
Examples:
1 f ( x ) = x2 dom f = R
dom f = R \ {−1}
x2 − 2x − 3
2 f (x) =
x+1
f ( x ) = a n x n + a n −1 x n −1 + · · · + a 1 x + a 0
f ( x ) = mx + b
with m 6= 0
dom f = R; ran f = R
graph: m is slope; y-intercept is b
If m > 0: line slants to the right
If m < 0: line slants to the left
f ( x ) = ax2 + bx + c
with a 6= 0
dom f = R
b 4ac−b2
graph: parabola with vertex at − 2a , 4a
h
− b2 , + ∞
If a > 0: parabola opens upward, ran f = 4ac4a
2
i
If a < 0: parabola opens downward, ran f = −∞, 4ac4a−b
Extreme function values of a quadratic function:
a > 0: f has a minimum function value
a < 0: f has a maximum function value
b
The extreme function value of f occurs at x = − 2a and the extreme function
b 4ac−b2
value of f is f − 2a = 4a
where p and q are polynomial functions, and q is not the constant zero function.
Domain: { x ∈ R | q ( x ) 6 = 0}
Graphs of general rational functions: Unit 3
Example
x2 − 2x − 3
The graph of f ( x ) = :
x+1
x2 − 2x − 3 ( x − 3)( x + 1)
f (x) = = 1
x+1 ( x + 1)
= x − 3 if x 6= −1 −3 −2 −1 0 1 2 3 4
−1
R
Domain: \ {−1}
−2
R
Range: \ {−4} −3
Zero: x = 3 −4
Positive: (3, +∞) −5
Negative: (−∞, −1) ∪ (−1, 3)
n is odd: dom f = R
n is even: dom f = [0, ∞)
Example
√
Square root function: f ( x ) = x
√
y= x =⇒ y2 = x, y ≥ 0
2 2
1 1
0 1 2 3 4 0 1 2 3 4
−1 −1
−2 −2
√
The graph of x = y2 The graph of y = x
√
The graph of f ( x ) = x is the upper branch of the parabola x = y2
Example
√
Sketch the graph of g( x ) = − 2 − x.
√
y = − 2−x
2
y = 2 − x, y ≤ 0
x = 2 − y2 , y ≤ 0
Example
√
Sketch the graph of g( x ) = − 2 − x.
−2 −1 0 1 2
−1
−2
Example
√
Graph h( x ) = 4 − x2 .
−2 −1 1 2
−1
−2
Trigonometric/Circular Functions
In both cases, one must determine the numbers where the given mathematical
expression is zero or undefined.
Example
2x2 − x3
Determine the intervals where the the graph of f ( x ) = lies above
2x2 − 3x + 1
the x-axis.
2x2 − x3
>0
2x2 − 3x + 1
2x2 − x3 x 2 (2 − x )
2
=
2x − 3x + 1 (2x − 1)( x − 1)
Zero at: x = 0, 2, Undefined at: x = 21 , 1
(−∞, 0) 0, 21 1
2, 1 (1, 2) (2, +∞)
x2 + + + + +
2x − 1 − − + + +
x−1 − − − + +
2−x + + + + −
x 2 (2 − x )
+ + − + −
(2x − 1)( x − 1)
The graph of f lies above the x-axis in the intervals (−∞, 0) ∪ 0, 12 ∪ (1, 2).
(−1)2 (3)
Sample point in (−∞, 0): x = −1
(−3)(−2)
(+)(+)
Sample point in 0, 12 :
(−)(−)
We get the same result:
The graph of f lies above the x-axis in the intervals (−∞, 0) ∪ 0, 12 ∪ (1, 2).
Example
r
−5x
Find the domain of f ( x ) = .
x2 − 1
Therefore,
dom f = (∞, −1) ∪ [0, 1)
Example
Express the function F ( x ) = sin2 (3x − 1) as a composition of three functions
listed among the basic types of functions.
Let
f (x) = x2
g( x ) = sin x
h( x ) = 3x − 1
Then
F ( x ) = ( f ◦ g ◦ h) ( x )
1 1
[( f ◦ g) ( x ) − f ( x )] = [ f ( g( x )) − f ( x )]
h h
f ( x + h) − f ( x )
=
h
( x + h )2 − x 2
=
h
( x + 2xh + h2 ) − x2
2
=
h
2xh + h2
=
h
= 2x + h
Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 27 / 43
Piecewise-defined functions
Piecewise-defined functions are functions that are defined by more than one
expression. Such functions can be written in the form
f 1 ( x ), if x ∈ X1
f 2 ( x ), if x ∈ X2
f (x) = .. ..
. if .
f n ( x ), if x ∈ Xn
The graph of f ( x ) = | x |
−3 −2 −1 1 2 3
0
Example
Write f ( x ) = |2x − 3| + x as a piecewise function.
(
x if x ≥ 0
Recall that | x | = .
−x if x < 0
(2x − 3) + x, if 2x − 3 ≥ 0
f ( x ) = |2x − 3| + x =
−(2x − 3) + x, if 2x − 3 < 0
3x − 3, if x ≥ 23
=
− x + 3, if x < 23
Greatest Integer Function (GIF) [[ x ]]: greatest integer less than or equal to x
Example
1 [[2.4]] = 2 3 [[−2.1]] = −3
2 [[2]] = 2 4 [[−π ]] = −4
As a piecewise function:
.. ..
. .
− 1, −1 ≤ x < 0
0, 0≤x<1
[[ x ]] =
1, 1≤x<2
2, 2≤x<3
.. ..
. .
In general,
−4 −3 −2 −1 1 2 3 4
0
−1
−2
−3
−4
Example
Write f ( x ) = [[3x ]] as a piecewise function.
.. ..
. .
1
0, 0≤x<
3
1 2
f ( x ) = [[3x ]] = 1, 3 ≤x< 3
2
2, ≤x<1
3
.. ..
. .
Example
x2 − 4
if x<2
Sketch the graph of f ( x ) = .
| x − 6| if x≥2
−( x − 6) if x−6 < 0 −( x − 6) if x<6
| x − 6| = =
x−6 if x−6 ≥ 0 x−6 if x≥6
x2 − 4
if x<2
f (x) = −( x − 6) if 2≤x<6
x−6 if x≥6
−3 −2 −1 0 1 2 3 4 5 6 7 8 9 10
−1
−2
−3
−4
Example
A rectangular field has a perimeter of 240 meters. Express the area of the field as
a function of its width.
2x + 2y = 240
y = 120 − x
A( x ) = x (120 − x ) = − x2 + 120x
Example
Find two numbers whose difference is 14 and whose product is minimum.
x−y = 14
y = x − 14
P( x ) = x ( x − 14) = x2 − 14x
(−14)
x=− =7
2(1)
The two numbers are 7 and −7, and the minimum product is P(7) = −49.
Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 42 / 43
Exercises
r
1−x
1 Find the domain of f ( x ) = .
2x2 + 3x
g( x + h) − g( x ) 1
2 Simplify , if g( x ) = 2 .
h x
3 Write f ( x ) = [[1 − 2x ]] as a piecewise function.
2x2 − x − 1
4 Write f ( x ) = as a piecewise function and sketch its graph.
| x − 1|
(
[[− x ]] , if − 1 ≤ x ≤ 1
5 Sketch the graph of f ( x ) = 2
x − 4x, otherwise
6 Water is being poured into an inverted right circular conical container. If the
diameter of the base is 10 cm and the height is 20 cm, express the volume of
the water in the container as a function of its depth.