Beruflich Dokumente
Kultur Dokumente
Mathematics 21
1 Functions
3 Operations on Functions
4 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
Alternatively, given a point ( x0 , y0 ) on a line and the slope of the line m, one may
write an equation of the line as
y − y0 = m ( x − x0 )
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
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 2
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
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 21 20 / 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
Definition
The point function P : R −→ R2 is defined by
P(θ ) = ( x, y)
where ( x, y) is the point on the unit circle making an arclength |θ | from the point
(1, 0), measured counterclockwise if θ > 0, and clockwise if θ < 0.
Definition
Let θ ∈ R and P(θ ) = ( x, y).
cosine of θ := x −→ cos(θ )
sine of θ := y −→ sin(θ )
Examples:
1 cos( 3π
2 )=0
2 sin( 3π
2 ) = −1
3 sin( 9π
2 =1
4 cos(15π ) = −1
cos2 θ + sin2 θ = 1
Theorem
Let θ ∈ R.
1 sin(−θ ) = − sin(θ )
2 cos(−θ ) = cos(θ )
Definition
Let θ ∈ R. The four other circular functions of θ are defined as follows:
sin θ 1
1 tan θ = =
cos θ cot θ
cos θ 1
2 cot θ = =
sin θ tan θ
1
3 sec θ =
cos θ
1
4 csc θ =
sin θ
From sin2 θ + cos2 θ = 1, we also have the following:
1 tan2 θ + 1 = sec2 θ
2 1 + cot2 θ = csc2 θ
f ( x ) = sin( x )
f ( x ) = cos( x )
f ( x ) = tan( x )
f ( x ) = cot( x )
f ( x ) = sec( x )
f ( x ) = csc( x )
√
1 Sketch the graph of f ( x ) = 1 − x − 2.
2 Identify f ( x ), g( x ), h( x ) such that ( f ◦ g ◦ h)( x ) = cos(sin2 x ).
g( x + h) − g( x ) 1
3 Simplify , if g( x ) = and h is a nonzero constant.
h x
4 Write f ( x ) = | x2 − 1| as a piecewise function.
5 Write g( x ) = [[1 − x ]] as a piecewise function.
7π 7π 7π 7π
6 Find the circular function values of , , and .
6 4 3 2