Professional Documents
Culture Documents
Mathematics 53
8 November 2012
1 Functions
4 Piecewise-defined functions
5 Operations on Functions
1 Functions
4 Piecewise-defined functions
5 Operations on 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 .
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 .
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 .
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 .
Example
Consider f : X → Y defined by the rule
x 7−→ x2
Example
Consider f : X → Y defined by the rule
x 7−→ x2
−2 7−→ 4
−1 7−→ 1
0 7−→ 0
1 7−→ 1
2 7−→ 4
Example
Consider f : X → Y defined by the rule
x 7−→ x2
−2 7−→ 4
−1 7−→ 1
0 7−→ 0
1 7−→ 1
2 7−→ 4
domain: dom f
Example
Consider f : X → Y defined by the rule
x 7−→ x2
−2 7−→ 4
−1 7−→ 1
0 7−→ 0
1 7−→ 1
2 7−→ 4
Example
Consider f : X → Y defined by the rule
x 7−→ x2
−2 7−→ 4
−1 7−→ 1
0 7−→ 0
1 7−→ 1
2 7−→ 4
Example
Consider f : X → Y defined by the rule
x 7−→ x2
−2 7−→ 4
−1 7−→ 1
0 7−→ 0
1 7−→ 1
2 7−→ 4
Example
Consider f : X → Y defined by the rule
x 7−→ x2
−2 7−→ 4
−1 7−→ 1
0 7−→ 0
1 7−→ 1
2 7−→ 4
Example
Consider f : X → Y defined by the rule
x 7−→ x2
−2 7−→ 4
−1 7−→ 1
0 7−→ 0
1 7−→ 1
2 7−→ 4
( x, y) ∈ f if and only if y = f ( x )
Example
Consider f : X → Y defined by the rule
x 7−→ x2
Example
Consider f : X → Y defined by the rule
x 7−→ x2
Example
Consider f : X → Y defined by the rule
x 7−→ x2
Example
1 f ( x ) = x2
x2 − 2x − 3
2 f (x) =
x+1
Example
1 f ( x ) = x2
dom f = R
x2 − 2x − 3
2 f (x) =
x+1
Example
1 f ( x ) = x2
dom f = R
x2 − 2x − 3
2 f (x) =
x+1
dom f = R \ {−1}
Definition
A zero of a function f is a value of x for which f ( x ) = 0.
Definition
A zero of a function f is a value of x for which f ( x ) = 0.
Example
x2 − 2x − 3
Find the zero(es) of f ( x ) = .
x+1
Definition
A zero of a function f is a value of x for which f ( x ) = 0.
Example
x2 − 2x − 3
Find the zero(es) of f ( x ) = .
x+1
x2 − 2x − 3
= 0
x+1
Definition
A zero of a function f is a value of x for which f ( x ) = 0.
Example
x2 − 2x − 3
Find the zero(es) of f ( x ) = .
x+1
x2 − 2x − 3
= 0
x+1
2
x − 2x − 3 = 0
Definition
A zero of a function f is a value of x for which f ( x ) = 0.
Example
x2 − 2x − 3
Find the zero(es) of f ( x ) = .
x+1
x2 − 2x − 3
= 0
x+1
2
x − 2x − 3 = 0
( x − 3)( x + 1) = 0
Definition
A zero of a function f is a value of x for which f ( x ) = 0.
Example
x2 − 2x − 3
Find the zero(es) of f ( x ) = .
x+1
x2 − 2x − 3
= 0
x+1
2
x − 2x − 3 = 0
( x − 3)( x + 1) = 0
x=3 or x = −1
Definition
A zero of a function f is a value of x for which f ( x ) = 0.
Example
x2 − 2x − 3
Find the zero(es) of f ( x ) = .
x+1
x2 − 2x − 3
= 0
x+1
2
x − 2x − 3 = 0
( x − 3)( x + 1) = 0
x=3 or x = −1
Definition
The graph of a function f is the set of all points ( x, y) in the plane R2 for which
( x, y) ∈ f .
Definition
The graph of a function f is the set of all points ( x, y) in the plane R2 for which
( x, y) ∈ f .
Example
The graph of f ( x ) = x2 :
−2 −1 1 2
0
The points on the graph of f are the points ( x, y) that satisfy the equation y = x2 .
Example
x2 − 2x − 3
The graph of f ( x ) = :
x+1
Example
x2 − 2x − 3
The graph of f ( x ) = :
x+1
x2 − 2x − 3
f (x) =
x+1
Example
x2 − 2x − 3
The graph of f ( x ) = :
x+1
x2 − 2x − 3 ( x − 3)( x + 1)
f (x) = =
x+1 ( x + 1)
Example
x2 − 2x − 3
The graph of f ( x ) = :
x+1
x2 − 2x − 3 ( x − 3)( x + 1)
f (x) = = = x − 3 if x 6= −1
x+1 ( x + 1)
Example
x2 − 2x − 3
The graph of f ( x ) = :
x+1
x2 − 2x − 3 ( x − 3)( x + 1)
f (x) = = = x − 3 if x 6= −1
x+1 ( x + 1)
−3 −2 −1 0 1 2 3 4
−1
−2
−3
−4
−5
Graphically:
Graphically:
Coordinates of a point on the graph in terms of x: ( x, f ( x ))
Graphically:
Coordinates of a point on the graph in terms of x: ( x, f ( x ))
Domain: x-interval covered by the graph
Graphically:
Coordinates of a point on the graph in terms of x: ( x, f ( x ))
Domain: x-interval covered by the graph
Range: y-interval covered by the graph
Graphically:
Coordinates of a point on the graph in terms of x: ( x, f ( x ))
Domain: x-interval covered by the graph
Range: y-interval covered by the graph
Zero of a function: x-intercept of the graph
Graphically:
Coordinates of a point on the graph in terms of x: ( x, f ( x ))
Domain: x-interval covered by the graph
Range: y-interval covered by the graph
Zero of a function: x-intercept of the graph
Intervals where the function value (or y-value) is positive: portions where the
graph lies above the x-axis
Graphically:
Coordinates of a point on the graph in terms of x: ( x, f ( x ))
Domain: x-interval covered by the graph
Range: y-interval covered by the graph
Zero of a function: x-intercept of the graph
Intervals where the function value (or y-value) is positive: portions where the
graph lies above the x-axis
Intervals where the function value (or y-value) is negative: portions where the
graph lies below the x-axis
−3 −2 −1 0 1 2 3 4
−1
−2 ( x, x − 3)
−3
−4
−5
Domain: Positive:
Range: Negative:
Zero:
−3 −2 −1 0 1 2 3 4
−1
−2 ( x, x − 3)
−3
−4
−5
−3 −2 −1 0 1 2 3 4
−1
−2 ( x, x − 3)
−3
−4
−5
R
Domain: \ {−1} Positive:
R
Range: \ {−4} Negative:
Zero:
−3 −2 −1 0 1 2 3 4
−1
−2 ( x, x − 3)
−3
−4
−5
R
Domain: \ {−1} Positive:
R
Range: \ {−4} Negative:
Zero: x = 3
−3 −2 −1 0 1 2 3 4
−1
−2 ( x, x − 3)
−3
−4
−5
R
Domain: \ {−1} Positive: (3, +∞)
R
Range: \ {−4} Negative:
Zero: x = 3
−3 −2 −1 0 1 2 3 4
−1
−2 ( x, x − 3)
−3
−4
−5
R
Domain: \ {−1} Positive: (3, +∞)
R
Range: \ {−4} Negative: (−∞, −1) ∪ (−1, 3)
Zero: x = 3
1 Functions
4 Piecewise-defined functions
5 Operations on Functions
Example
Consider the constant function f ( x ) = 2.
−3 −2 −1 1 2 3
0
−1
f ( x ) = mx + b
with m 6= 0
f ( x ) = mx + b
with m 6= 0
dom f = R; ran f = R
graph: m is slope; y-intercept is b
Example
Consider the linear function f ( x ) = − x + 1.
−2 −1 1 2
0
−1
m = −1, y-intercept: 1
f ( x ) = ax2 + bx + c
with a 6= 0
f ( x ) = ax2 + bx + c
with a 6= 0
dom f = R
f ( x ) = ax2 + bx + c
with a 6= 0
dom f = R
graph: parabola with vertex at
f ( x ) = ax2 + bx + c
with a 6= 0
dom f = R
b 4ac−b2
graph: parabola with vertex at − 2a , 4a
f ( x ) = ax2 + bx + c
with a 6= 0
dom f = R
b 4ac−b2
graph: parabola with vertex at − 2a , 4a
If a > 0:
f ( x ) = ax2 + bx + c
with a 6= 0
dom f = R
b 4ac−b2
graph: parabola with vertex at − 2a , 4a
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
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
If a < 0:
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
i
− b2
If a < 0: parabola opens downward, ran f = −∞, 4ac4a
Example
Consider the quadratic function f ( x ) = x2 .
−2 −1 1 2
0
Example
Consider the quadratic function f ( x ) = − x2 − 2x + 3.
−3 −2 −1 0 1 2
−1
−2
Example
Consider the quadratic function f ( x ) = − x2 − 2x + 3.
Example
Consider the quadratic function f ( x ) = − x2 − 2x + 3.
Since a < 0
Example
Consider the quadratic function f ( x ) = − x2 − 2x + 3.
Since a < 0
f has a maximum function value which occurs at x = −1
The maximum value of f ( x ) is f (−1) = 4
f ( x ) = a n x n + a n −1 x n −1 + · · · + a 1 x + a 0
f ( x ) = a n x n + a n −1 x n −1 + · · · + a 1 x + a 0
f ( x ) = a n x n + a n −1 x n −1 + · · · + a 1 x + a 0
f ( x ) = a n x n + a n −1 x n −1 + · · · + a 1 x + a 0
f ( x ) = a n x n + a n −1 x n −1 + · · · + a 1 x + a 0
p( x )
Rational Functions - functions of the form f ( x ) = , where p and q are
q( x )
polynomial functions, and q is not the constant zero function.
p( x )
Rational Functions - functions of the form f ( x ) = , where p and q are
q( x )
polynomial functions, and q is not the constant zero function.
Domain: { x ∈ R | q ( x ) 6 = 0}
Graphs of rational functions: Unit 3
Example
x2 − 2x − 3
Consider the rational function f ( x ) = .
x+1
−3 −2 −1 0 1 2 3 4
−1
−2
−3
−4
−5
n is odd: dom f = R
n is even: dom f = [0, ∞)
Example
√
Square root function: f ( x ) = x
Example
√
Square root function: f ( x ) = x
√
y= x
Example
√
Square root function: f ( x ) = x
√
y= x =⇒ y2 = x
Example
√
Square root function: f ( x ) = x
√
y= x =⇒ y2 = x, y ≥ 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
Trigonometric/Circular Functions
Trigonometric/Circular Functions
Example
f ( x ) = sin x
−2π − 3π −π − π2 0
π
2
π 3π 2π 5π 3π 7π 4π
2 2 2 2
−1
Example
f ( x ) = cos x
−2π − 3π −π − π2 0
π
2
π 3π 2π 5π 3π 7π 4π
2 2 2 2
−1
Example
f ( x ) = tan x
− 3π −π − π2 π
2
π 3π 2π 5π
2 2 2
1 Functions
4 Piecewise-defined functions
5 Operations on 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.
Example
2x2 − x3
Determine the intervals where the the graph of f ( x ) = lies above
2x2 − 3x + 1
the x-axis.
2x2 − x3
2x2 − 3x + 1
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
2x2 − 3x + 1
2x2 − x3 x 2 (2 − x )
=
2x2 − 3x + 1 (2x − 1)( x − 1)
2x2 − x3 x 2 (2 − x )
=
2x2 − 3x + 1 (2x − 1)( x − 1)
2x2 − x3 x 2 (2 − x )
=
2x2 − 3x + 1 (2x − 1)( x − 1)
2x2 − x3 x 2 (2 − x )
=
2x2 − 3x + 1 (2x − 1)( x − 1)
2x2 − x3 x 2 (2 − x )
=
2x2 − 3x + 1 (2x − 1)( x − 1)
2x2 − x3 x 2 (2 − x )
=
2x2 − 3x + 1 (2x − 1)( x − 1)
2x2 − x3 x 2 (2 − x )
=
2x2 − 3x + 1 (2x − 1)( x − 1)
2x2 − x3 x 2 (2 − x )
=
2x2 − 3x + 1 (2x − 1)( x − 1)
2x2 − x3 x 2 (2 − x )
=
2x2 − 3x + 1 (2x − 1)( x − 1)
2x2 − x3 x 2 (2 − x )
=
2x2 − 3x + 1 (2x − 1)( x − 1)
2x2 − x3 x 2 (2 − x )
=
2x2 − 3x + 1 (2x − 1)( x − 1)
2x2 − x3 x 2 (2 − x )
=
2x2 − 3x + 1 (2x − 1)( x − 1)
2x2 − x3 x 2 (2 − x )
=
2x2 − 3x + 1 (2x − 1)( x − 1)
2x2 − x3 x 2 (2 − x )
=
2x2 − 3x + 1 (2x − 1)( x − 1)
2x2 − x3 x 2 (2 − x )
=
2x2 − 3x + 1 (2x − 1)( x − 1)
2x2 − x3 x 2 (2 − x )
=
2x2 − 3x + 1 (2x − 1)( x − 1)
(−1)2 (3)
Sample point in (−∞, 0): x = −1
(−3)(−2)
(−1)2 (3)
Sample point in (−∞, 0): x = −1
(−3)(−2)
(−1)2 (3)
Sample point in (−∞, 0): x = −1
(−3)(−2)
Sample point in 0, 12 :
(−1)2 (3)
Sample point in (−∞, 0): x = −1
(−3)(−2)
(+)(+)
Sample point in 0, 12 :
(−)(−)
(−1)2 (3)
Sample point in (−∞, 0): x = −1
(−3)(−2)
(+)(+)
Sample point in 0, 12 :
(−)(−)
(−1)2 (3)
Sample point in (−∞, 0): x = −1
(−3)(−2)
(+)(+)
Sample point in 0, 12 :
(−)(−)
(−1)2 (3)
Sample point in (−∞, 0): x = −1
(−3)(−2)
(+)(+)
Sample point in 0, 12 :
(−)(−)
(−1)2 (3)
Sample point in (−∞, 0): x = −1
(−3)(−2)
(+)(+)
Sample point in 0, 12 :
(−)(−)
(−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
Example
r
−5x
Find the domain of f ( x ) = .
x2 − 1
Example
r
−5x
Find the domain of f ( x ) = .
x2 − 1
Example
r
−5x
Find the domain of f ( x ) = .
x2 − 1
Example
r
−5x
Find the domain of f ( x ) = .
x2 − 1
Example
r
−5x
Find the domain of f ( x ) = .
x2 − 1
Example
r
−5x
Find the domain of f ( x ) = .
x2 − 1
Example
r
−5x
Find the domain of f ( x ) = .
x2 − 1
Example
r
−5x
Find the domain of f ( x ) = .
x2 − 1
Therefore,
dom f = (∞, −1) ∪ [0, 1)
1 Functions
4 Piecewise-defined functions
5 Operations on Functions
Piecewise-defined functions are functions that are defined by more than one
expression. Such functions can be written in the form
f1 (x) if x ∈ X1
f2 (x) if x ∈ X2
f (x) = .. ..
. if .
f n (x) if x ∈ Xn
Example
An example of a piecewise function is the signum function (or sign function),
denoted by sgn and defined by
−1 if x<0
sgn x = 0 if x=0
1 if x>0
Example
An example of a piecewise function is the signum function (or sign function),
denoted by sgn and defined by
−1 if x<0
sgn x = 0 if x=0
1 if x>0
−3 −2 −1 1 2 3
0
−1
The graph of f ( x ) = | x |
−3 −2 −1 1 2 3
0
Example
1 [[2.4]]
2 [[2]]
3 [[0]]
4 [[−2.1]]
5 [[−π ]]
Example
1 [[2.4]] = 2
2 [[2]]
3 [[0]]
4 [[−2.1]]
5 [[−π ]]
Example
1 [[2.4]] = 2
2 [[2]] = 2
3 [[0]]
4 [[−2.1]]
5 [[−π ]]
Example
1 [[2.4]] = 2
2 [[2]] = 2
3 [[0]] = 0
4 [[−2.1]]
5 [[−π ]]
Example
1 [[2.4]] = 2
2 [[2]] = 2
3 [[0]] = 0
4 [[−2.1]] = −3
5 [[−π ]]
Example
1 [[2.4]] = 2
2 [[2]] = 2
3 [[0]] = 0
4 [[−2.1]] = −3
5 [[−π ]] = −4
As a piecewise function:
[[ x ]] =
As a piecewise function:
− 1,
[[ x ]] =
As a piecewise function:
− 1, −1 ≤ x
[[ x ]] =
As a piecewise function:
− 1, −1 ≤ x < 0
[[ x ]] =
As a piecewise function:
− 1, −1 ≤ x < 0
0,
[[ x ]] =
As a piecewise function:
− 1, −1 ≤ x < 0
0, 0≤x
[[ x ]] =
As a piecewise function:
− 1, −1 ≤ x < 0
0, 0≤x<1
[[ x ]] =
As a piecewise function:
− 1, −1 ≤ x < 0
0, 0≤x<1
[[ x ]] =
1, 1≤x<2
As a piecewise function:
− 1, −1 ≤ x < 0
0, 0≤x<1
[[ x ]] =
1, 1≤x<2
2, 2≤x<3
As a piecewise function:
.. ..
. .
− 1, −1 ≤ x < 0
0, 0≤x<1
[[ x ]] =
1, 1≤x<2
2, 2≤x<3
.. ..
. .
As a piecewise function:
.. ..
. .
− 1, −1 ≤ x < 0
0, 0≤x<1
[[ x ]] =
1, 1≤x<2
2, 2≤x<3
.. ..
. .
In general,
[[ x ]] = n,
As a piecewise function:
.. ..
. .
− 1, −1 ≤ x < 0
0, 0≤x<1
[[ x ]] =
1, 1≤x<2
2, 2≤x<3
.. ..
. .
In general,
[[ x ]] = n, for
As a piecewise function:
.. ..
. .
− 1, −1 ≤ x < 0
0, 0≤x<1
[[ x ]] =
1, 1≤x<2
2, 2≤x<3
.. ..
. .
In general,
[[ x ]] = n, for n ≤ x
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
1 Functions
4 Piecewise-defined functions
5 Operations on Functions
Example
Express the function F ( x ) = sin2 (3x − 1) as a composition of three functions
listed among the basic types of functions.
Example
Express the function F ( x ) = sin2 (3x − 1) as a composition of three functions
listed among the basic types of functions.
Let
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
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
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
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
[( f ◦ g) ( x ) − f ( x )]
h
1 1
[( f ◦ g) ( x ) − f ( x )] = [ f ( g( x )) − f ( x )]
h h
1 1
[( f ◦ g) ( x ) − f ( x )] = [ f ( g( x )) − f ( x )]
h h
f ( x + h) − f ( x )
=
h
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
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
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
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
Math 53 (Part 1) Review of Functions 8 November 2012 52 / 69
Operations on Functions
Example
Let f ( x ) = | x | and g( x ) = x2 − 1. Express ( f ◦ g) ( x ) as a piecewise function.
Example
Let f ( x ) = | x | and g( x ) = x2 − 1. Express ( f ◦ g) ( x ) as a piecewise function.
Recall:
√
x, x ≥ 0
|x| = x2 =
− x, x < 0
Example
Let f ( x ) = | x | and g( x ) = x2 − 1. Express ( f ◦ g) ( x ) as a piecewise function.
Recall:
√
x, x ≥ 0
|x| = x2 =
− x, x < 0
Therefore,
x2 − 1, x2 − 1 ≥ 0
2
( f ◦ g) ( x ) = f ( g( x )) = | x − 1| =
−( x2 − 1), x2 − 1 < 0
Example
Let f ( x ) = | x | and g( x ) = x2 − 1. Express ( f ◦ g) ( x ) as a piecewise function.
x2 − 1, x2 − 1 ≥ 0
( f ◦ g) ( x ) = f ( g( x )) = | x2 − 1| =
−( x2 − 1), x2 − 1 < 0
Example
Let f ( x ) = | x | and g( x ) = x2 − 1. Express ( f ◦ g) ( x ) as a piecewise function.
x2 − 1, x2 − 1 ≥ 0
( f ◦ g) ( x ) = f ( g( x )) = | x2 − 1| =
−( x2 − 1), x2 − 1 < 0
Example
Let f ( x ) = | x | and g( x ) = x2 − 1. Express ( f ◦ g) ( x ) as a piecewise function.
x2 − 1, x2 − 1 ≥ 0
( f ◦ g) ( x ) = f ( g( x )) = | x2 − 1| =
−( x2 − 1), x2 − 1 < 0
x2 − 1,
x ≥ 1 or x ≤ 1
( f ◦ g ) ( x ) = | x 2 − 1| =
1 − x2 , −1 < x < 1
−3 −2 −1 1 2 3
Example
Let f ( x ) = 2x + 1 and g( x ) = [[ x ]]. Express ( g ◦ f ) ( x ) as a piecewise function.
Example
Let f ( x ) = 2x + 1 and g( x ) = [[ x ]]. Express ( g ◦ f ) ( x ) as a piecewise function.
( g ◦ f ) ( x ) = [[2x + 1]] = n
Example
Let f ( x ) = 2x + 1 and g( x ) = [[ x ]]. Express ( g ◦ f ) ( x ) as a piecewise function.
Example
Let f ( x ) = 2x + 1 and g( x ) = [[ x ]]. Express ( g ◦ f ) ( x ) as a piecewise function.
n ≤ 2x + 1 < n+1
Example
Let f ( x ) = 2x + 1 and g( x ) = [[ x ]]. Express ( g ◦ f ) ( x ) as a piecewise function.
n ≤ 2x + 1 < n+1
n−1 ≤ 2x < n
Example
Let f ( x ) = 2x + 1 and g( x ) = [[ x ]]. Express ( g ◦ f ) ( x ) as a piecewise function.
n ≤ 2x + 1 < n+1
n−1 ≤ 2x < n
n−1 n
≤ x <
2 2
Example
Let f ( x ) = 2x + 1 and g( x ) = [[ x ]]. Express ( g ◦ f ) ( x ) as a piecewise function.
Example
Let f ( x ) = 2x + 1 and g( x ) = [[ x ]]. Express ( g ◦ f ) ( x ) as a piecewise function.
n−1 n
( g ◦ f ) ( x ) = [[2x + 1]] = n, if ≤x<
2 2
Example
Let f ( x ) = 2x + 1 and g( x ) = [[ x ]]. Express ( g ◦ f ) ( x ) as a piecewise function.
n−1 n
( g ◦ f ) ( x ) = [[2x + 1]] = n, if ≤x<
2 2
.. ..
. .
− 1, −1 ≤ x < − 12
if
0, − 12 ≤ x < 0
if
[[2x + 1]] = 1
1, if 0≤x< 2
1
2, if ≤x<1
2
.. ..
. .
−4 −3 −2 −1 1 2 3 4
0
−1
−2
−3
−4
Example
√
Graph g( x ) = 2 − x.
Example
√
Graph g( x ) = 2 − x.
√
y = 2−x
Example
√
Graph g( x ) = 2 − x.
√
y = 2−x
2
y = 2 − x, y ≥ 0
Example
√
Graph g( x ) = 2 − x.
√
y = 2−x
2
y = 2 − x, y ≥ 0
x = 2 − y2 , y ≥ 0
Example
√
Graph g( x ) = 2 − x.
√
y = 2−x
2
y = 2 − x, y ≥ 0
x = 2 − y2 , y ≥ 0
Example
√
Graph g( x ) = 2 − x.
−2 −1 0 1 2
−1
−2
Example
√
Graph h( x ) = − 4 − x2 .
Example
√
Graph h( x ) = − 4 − x2 .
p
y = − 4 − x2
Example
√
Graph h( x ) = − 4 − x2 .
p
y = − 4 − x2
2
y = 4 − x2 , y ≤ 0
Example
√
Graph h( x ) = − 4 − x2 .
p
y = − 4 − x2
2
y = 4 − x2 , y ≤ 0
x 2 + y2 = 4, y ≤ 0
Example
√
Graph h( x ) = − 4 − x2 .
p
y = − 4 − x2
2
y = 4 − x2 , y ≤ 0
x 2 + y2 = 4, y ≤ 0
Example
√
Graph h( x ) = − 4 − x2 .
−2 −1 1 2
−1
−2
Example
x+4
if x < −2
x3 + x2
Graph f ( x ) = if −2 ≤ x ≤ 2 .
x+1
| x − 6| if x>2
Example
x+4
if x < −2
x3 + x2
Graph f ( x ) = if −2 ≤ x ≤ 2 .
x+1
| x − 6| if x>2
x+4 if x < −2
x 2 ( x + 1)
f (x) = if −2 ≤ x ≤ 2
x+1
−( x − 6) if 2<x<6
x−6 if x≥6
Example
x+4
if x < −2
x3 + x2
Graph f ( x ) = if −2 ≤ x ≤ 2 .
x+1
| x − 6| if x>2
x+4 if x < −2
x 2 ( x + 1)
f (x) = if −2 ≤ x ≤ 2
x+1
−( x − 6) if 2<x<6
x−6 if x≥6
x+4 if x < −2
x2
if −2 ≤ x ≤ 2, x 6= −1
f (x) =
− x +6 if 2<x<6
x−6 if x≥6
x+4 if x < −2
x2
if −2 ≤ x ≤ 2, x 6= −1
The graph of f ( x ) =
−x + 6 if 2<x<6
x−6 if x≥6
−5 −4 −3 −2 −1 0 1 2 3 4 5 6 7 8 9 10
−1
x+4 if x < −2
x2
if −2 ≤ x ≤ 2, x 6= −1
The graph of f ( x ) =
−x + 6 if 2<x<6
x−6 if x≥6
−5 −4 −3 −2 −1 0 1 2 3 4 5 6 7 8 9 10
−1
x+4 if x < −2
x2
if −2 ≤ x ≤ 2, x 6= −1
The graph of f ( x ) =
−x + 6 if 2<x<6
x−6 if x≥6
−5 −4 −3 −2 −1 0 1 2 3 4 5 6 7 8 9 10
−1
x+4 if x < −2
x2
if −2 ≤ x ≤ 2, x 6= −1
The graph of f ( x ) =
−x + 6 if 2<x<6
x−6 if x≥6
−5 −4 −3 −2 −1 0 1 2 3 4 5 6 7 8 9 10
−1
x+4 if x < −2
x2
if −2 ≤ x ≤ 2, x 6= −1
The graph of f ( x ) =
−x + 6 if 2<x<6
x−6 if x≥6
−5 −4 −3 −2 −1 0 1 2 3 4 5 6 7 8 9 10
−1
1 Functions
4 Piecewise-defined functions
5 Operations on Functions
Example
A rectangular field has a perimeter of 240 meters. Express the area of the field as
a function of its width.
Example
A rectangular field has a perimeter of 240 meters. Express the area of the field as
a function of its width.
Example
A rectangular field has a perimeter of 240 meters. Express the area of the field as
a function of its width.
Example
A rectangular field has a perimeter of 240 meters. Express the area of the field as
a function of its width.
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
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
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.
Example
Find two numbers whose difference is 14 and whose product is minimum.
Example
Find two numbers whose difference is 14 and whose product is minimum.
x−y = 14
y = x − 14
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
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
b
x=− =7
2a
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
b
x=− =7
2a
The two numbers are 7 and −7, and the minimum product is P(7) = −49.
Math 53 (Part 1) Review of Functions 8 November 2012 68 / 69
Announcements