You are on page 1of 37

Review of Functions

Mathematics 53

Institute of Mathematics (UP Diliman)

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 1 / 43


For today

1 Functions

2 Basic Types of Functions

3 Constructing a Table of Signs

4 Operations on Functions

5 Piecewise-defined Functions

6 Functions as Mathematical Models

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 2 / 43


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 .

X : domain of f , denoted dom f


Y : codomain of f
The set of all elements of Y that are assigned to some element of X is the
range of f , denoted ran f .

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 4 / 43


Real-valued functions of a single variable

Real-valued functions of a single variable:


Codomain: R
Math 53 deals with functions whose domain and range are subsets of R.
If the domain is not explicitly specified:
Domain: dom f = { x ∈ R
| f ( x ) is a real number}

Examples:
1 f ( x ) = x2 dom f = R
dom f = R \ {−1}
x2 − 2x − 3
2 f (x) =
x+1

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 5 / 43


Basic types of functions

Polynomial Functions - functions of the form

f ( x ) = a n x n + a n −1 x n −1 + · · · + a 1 x + a 0

where n ∈ W, an , an−1, ..., a0 are real numbers, with an 6= 0.


leading coefficient: an
degree of f : n
dom f = R polynomial functions
Graphs of polynomial functions: Unit 3

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 7 / 43


Some Examples of Polynomial Functions

1. Constant Functions - functions of the form f ( x ) = c, where c is a real number


dom f = R; ran f = {c}
graph: horizontal line intersecting the y-axis at y = c

2. Linear Functions - functions of the form

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

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 8 / 43


Some Examples of Polynomial Functions

3. Quadratic Functions - functions of the form

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

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 9 / 43


Basic types of functions

Rational Functions - functions of the form


p( x )
f (x) = ,
q( x )

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

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 10 / 43


Graphs of Functions

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)

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 11 / 43


Basic types of functions

Functions involving rational exponents or radicals - functions of the form



x = x /n
n 1
f (x) =

n is odd: dom f = R
n is even: dom f = [0, ∞)

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 12 / 43


Basic types of functions

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

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 13 / 43


Other Functions involving Radicals

Example

Sketch the graph of g( x ) = − 2 − x.


y = − 2−x
2
y = 2 − x, y ≤ 0
x = 2 − y2 , y ≤ 0

The graph of g is the lower branch of the parabola x = 2 − y2 .

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 14 / 43


Other Functions involving Radicals

Example

Sketch the graph of g( x ) = − 2 − x.

−2 −1 0 1 2

−1

−2

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 15 / 43


Other Functions involving Radicals

Example

Graph h( x ) = 4 − x2 .

The graph of h is the upper half of the graph of x2 + y2 = 4.

−2 −1 1 2

−1

−2

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 16 / 43


Basic types of functions

Trigonometric/Circular Functions

sine, cosine, tangent, cotangent, secant and cosecant functions


In Math 53, the trigonometric functions are viewed as functions on the set of
real numbers.

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 17 / 43


Constructing a table of signs

A table of signs shows when a given mathematical expression is positive, zero or


negative.
Two Methods:
1 Interval Method
2 Test Value Method

In both cases, one must determine the numbers where the given mathematical
expression is zero or undefined.

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 19 / 43


Constructing a table of signs

Example
2x2 − x3
Determine the intervals where the the graph of f ( x ) = lies above
2x2 − 3x + 1
the x-axis.

We want to determine the intervals for which

2x2 − x3
>0
2x2 − 3x + 1

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 20 / 43


Constructing a table of signs
Interval Method: rewrite the expression as a product of factors whose table of
signs are easily determined.

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).

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 21 / 43


Constructing a table of signs

Test Value Method: test a value in the specified interval


   
(−∞, 0) 0, 21 1
2, 1 (1, 2) (2, +∞)
x 2 (2 −
x)
+ + − + −
(2x − 1)( x − 1)

(−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).

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 22 / 43


Constructing a table of signs

Example
r
−5x
Find the domain of f ( x ) = .
x2 − 1

Domain: x ∈ R such that x−2 −5x1 ≥ 0


Zero at: x = 0, Undefined at: x = −1, 1

(−∞, −1) (−1, 0) (0, 1) (1, +∞)


−5x
+ − + −
x2 − 1

Therefore,
dom f = (∞, −1) ∪ [0, 1)

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 23 / 43


Operations on Functions

Definition (Operations on Functions)


Let f and g be functions, c ∈ R.
1 Addition: ( f + g)( x ) = f ( x ) + g( x ); dom( f + g) = dom f ∩ dom g
2 Subtraction: ( f − g)( x ) = f ( x ) − g( x ); dom( f − g) = dom f ∩ dom g
3 dom( f g) = dom f ∩ dom g
Multiplication: ( f g)( x ) = f ( x ) g( x );
 
f f (x)
4 Division: (x) = ;
  g g (x)
f
dom = (dom f ∩ dom g) \ { x ∈ dom g | g( x ) = 0}
g
5 Composition: ( f ◦ g)( x ) = f ( g( x ));
dom( f ◦ g) = { x ∈ dom g | g( x ) ∈ dom f }
6 Scalar Multiplication: c f ( x ) = c ( f ( x )); dom c f = dom f

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 25 / 43


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.

Let

f (x) = x2
g( x ) = sin x
h( x ) = 3x − 1

Then
F ( x ) = ( f ◦ g ◦ h) ( x )

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 26 / 43


Operations on Functions
Example
Let f ( x ) = x2 and g( x ) = x + h, where h is a nonzero constant. Find
1
[( f ◦ g) ( x ) − 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
( 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

where X1 , ..., Xn ⊆ R with Xi ∩ Xj = ∅ for all i 6= j.

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 29 / 43


The Absolute Value Function

Absolute Value Function - denoted by | x | and defined by


√ 
x, x ≥ 0
|x| = x2 =
− x, x < 0

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 30 / 43


The Absolute Value Function

The graph of f ( x ) = | x |

−3 −2 −1 1 2 3
0

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 31 / 43


The Absolute Value Function

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

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 32 / 43


The Greatest Integer Function

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

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 33 / 43


The Greatest Integer Function

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 < n + 1 where n ∈ Z

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 34 / 43


The Greatest Integer Function
The graph of f ( x ) = [[ x ]]

−4 −3 −2 −1 1 2 3 4
0
−1

−2

−3

−4

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 35 / 43


The Greatest Integer Function

Example
Write f ( x ) = [[3x ]] as a piecewise function.

f ( x ) = [[3x ]] = n for n ≤ 3x < n + 1


n n+1
≤x<
3 3

.. ..

. .




1
0, 0≤x<




 3
1 2
f ( x ) = [[3x ]] = 1, 3 ≤x< 3

2

2, ≤x<1



 3
 .. ..


. .

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 36 / 43


Other Graphing Examples

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

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 37 / 43


Other Graphing Examples
 2
 x −4 if x<2
The graph of 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

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 38 / 43


Functions as Mathematical Models

Express a certain situation as a functional relationship between certain quantities.

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 40 / 43


Functions as Mathematical Models

Example
A rectangular field has a perimeter of 240 meters. Express the area of the field as
a function of its width.

Let x be the width and y be the length of the field.


The area A of the field:
A = xy
Since the perimeter of the field is 240 meters,

2x + 2y = 240
y = 120 − x

The area of the field expressed as a function of x:

A( x ) = x (120 − x ) = − x2 + 120x

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 41 / 43


Functions as Mathematical Models

Example
Find two numbers whose difference is 14 and whose product is minimum.

Let x be the greater number and y be the smaller number.


Since the difference is 14,

x−y = 14
y = x − 14

The product as a function of x is

P( x ) = x ( x − 14) = x2 − 14x

P is a quadratic function with a minimum function value at

(−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.

Institute of Mathematics (UP Diliman) Review of Functions Mathematics 53 43 / 43

You might also like