Module 1-Functions (Updated)
Module 1-Functions (Updated)
Module 1: Functions
OVERVIEW
LEARNING OBJECTIVES:
At the end of this module, you should be able to:
1. Determine the domain and range of a function including piecewise
functions; and
2. Evaluate operations of functions
3. Represents real life situations using functions
LEARNING CONTENT:
Definition of a Function
MODULE 1: Functions
1|PAGE
BICOL STATE COLLEGE OF APPLIED SCIENCES AND TECHNOLOGY
College of Engineering and Technology
Calculus 1 [CALC001]
Function Notation
We normally write functions as: f(x) and read this as "function f of x".
The domain of a function is the set of numbers to which the function can be
applied, that is, the complete set of possible values of the independent
variable.
The range of a function is the set of numbers that the function associates with
the numbers in the domain.
MODULE 1: Functions
2|PAGE
BICOL STATE COLLEGE OF APPLIED SCIENCES AND TECHNOLOGY
College of Engineering and Technology
Calculus 1 [CALC001]
Range
The range of a function is the complete set of all possible resulting values of the
dependent variable (y, usually), after we have substituted the domain.
The range is the resulting y-values we get after the substituting all the possible
x-values.
MODULE 1: Functions
3|PAGE
BICOL STATE COLLEGE OF APPLIED SCIENCES AND TECHNOLOGY
College of Engineering and Technology
Calculus 1 [CALC001]
Here’s another graph that represents the curve y=sin x, which shows the range
to be between -1 and 1.
The domain of y=sin x is “all values of x”, since there are no restrictions on the
values for x. (Put any number into the “sin” function in your calculator. Any
number should work, and will give you a final answer between -1 and 1.
From observing the curve, we can see the range is y between -1 and 1. We
could write this as −1 ≤ 𝑦𝑦 ≤ 1.
MODULE 1: Functions
4|PAGE
BICOL STATE COLLEGE OF APPLIED SCIENCES AND TECHNOLOGY
College of Engineering and Technology
Calculus 1 [CALC001]
Piecewise Function
Example 1:
𝒙𝒙 − 𝟏𝟏 𝒊𝒊𝒊𝒊 𝒙𝒙 < 𝟑𝟑
𝒇𝒇(𝒙𝒙) = � 𝟓𝟓 𝒊𝒊𝒊𝒊 𝒙𝒙 = 𝟑𝟑
𝟐𝟐𝟐𝟐 + 𝟏𝟏 𝒊𝒊𝒊𝒊 𝟑𝟑 < 𝒙𝒙
MODULE 1: Functions
5|PAGE
BICOL STATE COLLEGE OF APPLIED SCIENCES AND TECHNOLOGY
College of Engineering and Technology
Calculus 1 [CALC001]
Example 2
The domain of g is (−∞, ∞). The graph contains the portion of the line y=3x-2 for
which x<1 and the portion of the parabola 𝑦𝑦 = 𝑥𝑥 2 for which 1 ≤ 𝑥𝑥. The graph of
the said function is sketched below. The range is (−∞, +∞).
Example 3
Determine the domain and range of the function H and sketch its graph.
𝒙𝒙 + 𝟑𝟑 𝒊𝒊𝒊𝒊 𝒙𝒙 ≠ 𝟑𝟑
𝑯𝑯(𝒙𝒙) = �
𝟐𝟐 𝒊𝒊𝒊𝒊 𝒙𝒙 = 𝟑𝟑
MODULE 1: Functions
6|PAGE
BICOL STATE COLLEGE OF APPLIED SCIENCES AND TECHNOLOGY
College of Engineering and Technology
Calculus 1 [CALC001]
Because H is defined for all x, its domain is (−∞, ∞). The graph of H is sketched
below. The range is the set of all numbers except 6, or in interval notation, that
is (−∞, 6) ∪ (6, +∞).
It is always a lot easier to work out the domain and range when reading it off
the graph (but we must make sure we zoom in and out of the graph to make
see everything we need to see). However, we don't always have access to
graphing software, and sketching a graph usually requires knowing about
discontinuities and so on first anyway.
MODULE 1: Functions
7|PAGE
BICOL STATE COLLEGE OF APPLIED SCIENCES AND TECHNOLOGY
College of Engineering and Technology
Calculus 1 [CALC001]
Illustrative examples:
Hence:
To find the domain, you have to set the denominator not equal to 0.
𝒙𝒙 − 𝟐𝟐 ≠ 𝟎𝟎
𝒙𝒙 ≠ 𝟐𝟐
𝑫𝑫𝑫𝑫𝑫𝑫𝑫𝑫𝑫𝑫𝑫𝑫: {𝒙𝒙|𝒙𝒙 ∈ ℝ, 𝒙𝒙 ≠ 𝟐𝟐 }
To find the range of a rational function, we find the domain of the inverse
function. First, change f(x) to y, then replace every x with y and every y with x.
𝟑𝟑
𝒇𝒇(𝒙𝒙) =
𝒙𝒙 − 𝟐𝟐
𝟑𝟑
𝒚𝒚 =
𝒙𝒙 − 𝟐𝟐
𝟑𝟑
𝒙𝒙 =
𝒚𝒚 − 𝟐𝟐
MODULE 1: Functions
8|PAGE
BICOL STATE COLLEGE OF APPLIED SCIENCES AND TECHNOLOGY
College of Engineering and Technology
Calculus 1 [CALC001]
𝟑𝟑
(𝒚𝒚 − 𝟐𝟐)(𝒙𝒙) = (𝒚𝒚 − 𝟐𝟐)
𝒚𝒚 − 𝟐𝟐
𝒙𝒙𝒙𝒙 − 𝟐𝟐𝟐𝟐 = 𝟑𝟑
𝑥𝑥𝑥𝑥 = 2𝑥𝑥 + 3
𝟐𝟐𝟐𝟐 + 𝟑𝟑
𝒚𝒚 =
𝒙𝒙
𝟐𝟐𝟐𝟐 + 𝟑𝟑
𝑓𝑓 −1 𝑥𝑥 =
𝒙𝒙
𝒙𝒙 ≠ 𝟎𝟎
Hence, the range of the function is the set of all real numbers except 0.
𝟑𝟑𝟑𝟑+𝟐𝟐
3. Find the domain and the range of 𝒇𝒇(𝒙𝒙) = 𝒙𝒙+𝟓𝟓
.
𝒙𝒙 + 𝟓𝟓 ≠ 𝟎𝟎
𝒙𝒙 ≠ −𝟓𝟓
To find the range of a rational function, we find the domain of the inverse
function. Change f(x) to y first, then replace every y with x and every x with y.
𝟑𝟑𝟑𝟑 + 𝟐𝟐
𝒇𝒇(𝒙𝒙) =
𝒙𝒙 + 𝟓𝟓
𝟑𝟑𝟑𝟑 + 𝟐𝟐
𝒚𝒚 =
𝒙𝒙 + 𝟓𝟓
MODULE 1: Functions
9|PAGE
BICOL STATE COLLEGE OF APPLIED SCIENCES AND TECHNOLOGY
College of Engineering and Technology
Calculus 1 [CALC001]
𝟑𝟑𝟑𝟑 + 𝟐𝟐
𝒙𝒙 =
𝒚𝒚 + 𝟓𝟓
𝑦𝑦(𝑥𝑥 − 3) = 2 − 5𝑥𝑥
−5𝑥𝑥 + 2
𝑦𝑦 =
𝑥𝑥 − 3
−5𝑥𝑥 + 2
𝑓𝑓 −1 𝑥𝑥 =
𝑥𝑥 − 3
𝑥𝑥 − 3 ≠ 𝟎𝟎
𝒙𝒙 ≠ 𝟑𝟑
Hence, the range of the function is the set of all real numbers except 0.
When looking for the domain of a rational function, you need to set the
denominator not equal to zero.
𝑥𝑥 2 − 2𝑥𝑥 − 3 ≠ 0
(𝑥𝑥 − 3)(𝑥𝑥 + 1) ≠ 0
𝑥𝑥 ≠ 3 𝑎𝑎𝑎𝑎𝑎𝑎 𝑥𝑥 ≠ −1
MODULE 1: Functions
10 | P A G E
BICOL STATE COLLEGE OF APPLIED SCIENCES AND TECHNOLOGY
College of Engineering and Technology
Calculus 1 [CALC001]
or
In finding the range of the given rational function, let us use the concept of
horizontal asymptote.
Change f(x) to y:
𝟒𝟒𝟒𝟒
𝒇𝒇(𝒙𝒙) =
𝒙𝒙𝟐𝟐 − 𝟐𝟐𝟐𝟐 − 𝟑𝟑
𝟒𝟒𝟒𝟒
𝒚𝒚 =
𝒙𝒙𝟐𝟐 − 𝟐𝟐𝟐𝟐 − 𝟑𝟑
Since the degree of the numerator is less than the degree of the numerator
(n<m where n=1 and m=2), hence, the horizontal asymptote is y=0. However,
since we are looking for the range of the rational function, the range must be
𝑦𝑦 ≠ 0.
𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅: {𝑦𝑦|𝑦𝑦 ≠ 0}
MODULE 1: Functions
11 | P A G E
BICOL STATE COLLEGE OF APPLIED SCIENCES AND TECHNOLOGY
College of Engineering and Technology
Calculus 1 [CALC001]
𝒙𝒙 − 𝟑𝟑 ≥ 0
𝒙𝒙 ≥ 3
−∞ –10–9 –8 –7 –6 –5 –4 –3 –2 –1 0 1 2 3 4 5 6 7 8 9 10 ∞
𝑫𝑫𝑫𝑫𝑫𝑫𝑫𝑫𝑫𝑫𝑫𝑫: {𝒙𝒙| 𝒙𝒙 ≥ 𝟑𝟑 }
Thus:
𝑫𝑫𝑫𝑫𝑫𝑫𝑫𝑫𝒊𝒊𝒏𝒏: [𝟑𝟑, ∞)
MODULE 1: Functions
12 | P A G E
BICOL STATE COLLEGE OF APPLIED SCIENCES AND TECHNOLOGY
College of Engineering and Technology
Calculus 1 [CALC001]
(𝑥𝑥 + 7)(𝑥𝑥 − 4) ≥ 0
𝑥𝑥 = −7 𝑎𝑎𝑎𝑎𝑎𝑎 𝑥𝑥 = 4
−∞ –10–9 –8 –7 –6 –5 –4 –3 –2 –1 0 1 2 3 4 5 6 7 8 9 10 ∞
Now, use the zeros to separate or partition the number line into intervals. The
zeros of the denominator are known as the critical numbers. In this case, the
two critical numbers divide the number line into three distinct intervals.
The next step is to pick or select a number in every interval and evaluate it
back into the denominator; to determine if it is a true or false statement. A true
statement means that an interval is part of the solution, otherwise, it is not.
The intervals that satisfy the statement 𝒙𝒙𝟐𝟐 + 𝟑𝟑𝟑𝟑 − 𝟐𝟐𝟐𝟐 ≥ 𝟎𝟎 are (−∞, −𝟕𝟕) 𝒂𝒂𝒂𝒂𝒂𝒂 (𝟒𝟒, ∞).
MODULE 1: Functions
13 | P A G E
BICOL STATE COLLEGE OF APPLIED SCIENCES AND TECHNOLOGY
College of Engineering and Technology
Calculus 1 [CALC001]
Example 1:
f (x)
d. (f / g)(x) = 𝑔𝑔(𝑥𝑥)
c. (f ∙g)(x) = [f (x)][g(x)]
𝟑𝟑𝟑𝟑 + 𝟐𝟐
= (3x + 2)(4 – 5x) =
𝟒𝟒 − 𝟓𝟓𝟓𝟓
and the domain of 𝑓𝑓 ∘ 𝑔𝑔 is the set of all numbers x in the domain of g such
that g(x) is in the domain of f.
Example 2:
Given
5
𝑓𝑓(𝑥𝑥) = 𝑎𝑎𝑎𝑎𝑎𝑎 𝑔𝑔(𝑥𝑥) = 2𝑥𝑥 + 1
𝑥𝑥 − 2
Compute (𝑓𝑓 ∘ 𝑔𝑔)(3) by two methods: a) Find g(3) and use that number to find
f(g(3)); b) (𝑓𝑓 ∘ 𝑔𝑔)(𝑥𝑥) and use that value to find (𝑓𝑓 ∘ 𝑔𝑔)(3).
𝑔𝑔(3) = 7 = 𝑓𝑓(2𝑥𝑥 + 1)
Thus, 5
= (2𝑥𝑥+1)−2
𝑓𝑓�𝑔𝑔(3)� = 𝑓𝑓(7)
5
= 2𝑥𝑥−1
5
=
7−2 Therefore,
= 1 5
(𝑓𝑓 ∘ 𝑔𝑔)(3) = =1
2(3) − 1
MODULE 1: Functions
15 | P A G E
BICOL STATE COLLEGE OF APPLIED SCIENCES AND TECHNOLOGY
College of Engineering and Technology
Calculus 1 [CALC001]
The most important part of obtaining the function is to read and understand
the problem. Once the problem is understood, and it is clear what is to be
found, there are three steps to determining the function.
Step1
Draw a diagram (if appropriate). Label all quantities, known and
unknown, that are relevant.
Step2
Write an equation representing the quantity to be expressed as a
function. This quantity will usually be represented in terms of two or more
variables.
Step3
Use any constraints specified in the problem to eliminate all but one
independent variable. A constraint defines a relationship between variables
in the problem. The procedure is not complete until only one independent
variable remains.
Example 1:
The sum of two numbers is 40. Express their product as a function of one of the
numbers.
Step I
In most number problems a diagram is not called for. We label the numbers
using the variables x and y.
MODULE 1: Functions
16 | P A G E
BICOL STATE COLLEGE OF APPLIED SCIENCES AND TECHNOLOGY
College of Engineering and Technology
Calculus 1 [CALC001]
Step 2
Step 3
𝑃𝑃(𝑥𝑥) = 40 − 𝑥𝑥 2
Example 2:
Step I
Step 2
We express the area of the rectangle in terms of the variables x and y. Observe
that the area of the pen is determined by its outer dimensions only; the inner
section has no effect on the area.
𝐴𝐴 = 𝑥𝑥𝑥𝑥
MODULE 1: Functions
17 | P A G E
BICOL STATE COLLEGE OF APPLIED SCIENCES AND TECHNOLOGY
College of Engineering and Technology
Calculus 1 [CALC001]
Step 3
3
𝑦𝑦 = 750 − 𝑥𝑥
2
Finally, we substitute this expression for y into the area equation obtained in
step 2.
𝐴𝐴 = 𝑥𝑥𝑥𝑥
3
𝐴𝐴 = 𝑥𝑥 �750 − 𝑥𝑥�
2
3 2
𝐴𝐴(𝑥𝑥) = 750𝑥𝑥 − 𝑥𝑥
2
Mathematically, the domain of A(x) is the set of all real numbers. However, in
this problem, as with all geometry problems, negative dimensions are
unrealistic. Although x = 0 may appear to be unrealistic as well, we generally
allow a rectangle of zero width or length with the understanding that its area
is 0. Such a rectangle is called a degenerate rectangle. Since the perimeter is
fixed, y gets smaller as x gets larger so the largest value of x occurs when y = 0.
𝑥𝑥 = 500
3 2
𝐴𝐴(𝑥𝑥) = 750𝑥𝑥 − 𝑥𝑥 (0 ≤ 𝑥𝑥 ≤ 500)
2
MODULE 1: Functions
18 | P A G E
BICOL STATE COLLEGE OF APPLIED SCIENCES AND TECHNOLOGY
College of Engineering and Technology
Calculus 1 [CALC001]
Example 3:
Step 1
Let x be the side of the square and r the radius of the circle. We shall express
the are as a function of x.
Step 2
𝐴𝐴 = 𝑥𝑥 2 + 𝜋𝜋𝑟𝑟 2
Step 3
Since the combined perimeter of the two figures must be 12 inches, we have
4𝑥𝑥 + 2𝜋𝜋𝜋𝜋 = 12
It follows that
2𝜋𝜋𝜋𝜋 = 12 − 4𝑥𝑥
12 − 4𝑥𝑥 6 − 2𝑥𝑥
𝑟𝑟 = =
2𝜋𝜋 𝜋𝜋
6 − 2𝑥𝑥 2
𝐴𝐴(𝑥𝑥) = 𝑥𝑥 2 + 𝜋𝜋 � �
𝜋𝜋
2
(6 − 2𝑥𝑥)2
= 𝑥𝑥 +
𝜋𝜋
MODULE 1: Functions
19 | P A G E
BICOL STATE COLLEGE OF APPLIED SCIENCES AND TECHNOLOGY
College of Engineering and Technology
Calculus 1 [CALC001]
If all the wire is used to form the circle, x=0. If all the wire is used for the square,
4x=12 and x=3. Our function is:
2
(6 − 2𝑥𝑥)2
𝐴𝐴(𝑥𝑥) = 𝑥𝑥 + (0 ≤ 𝑥𝑥 ≤ 3)
𝜋𝜋
Example 4:
A cylindrical container with a circular base has a surface area of 64 𝒇𝒇𝒇𝒇𝟐𝟐 . Express
its volume as a function of its radius.
Step 1
Step 2
𝑉𝑉 = 𝜋𝜋𝑟𝑟 2 ℎ
Step 3
Note that the surface area of the cylinder is: 𝑺𝑺 = 𝟐𝟐𝟐𝟐𝟐𝟐𝟐𝟐 + 𝟐𝟐𝟐𝟐𝒓𝒓𝟐𝟐
Since S = 64 𝑓𝑓𝑓𝑓 2 .
2𝜋𝜋𝜋𝜋ℎ + 2𝜋𝜋𝑟𝑟 2 = 64
2𝜋𝜋𝜋𝜋ℎ = 64 − 2𝜋𝜋𝑟𝑟 2
64 − 2𝜋𝜋𝑟𝑟 2
ℎ=
2𝜋𝜋𝜋𝜋
32 − 𝜋𝜋𝑟𝑟 2
ℎ=
𝜋𝜋𝜋𝜋
MODULE 1: Functions
20 | P A G E
BICOL STATE COLLEGE OF APPLIED SCIENCES AND TECHNOLOGY
College of Engineering and Technology
Calculus 1 [CALC001]
32 − 𝜋𝜋𝑟𝑟 2
𝑉𝑉(𝑟𝑟) = 𝜋𝜋𝑟𝑟 2 � �
𝜋𝜋𝜋𝜋
= 𝑟𝑟(32 − 𝜋𝜋𝑟𝑟 2 )
Example 5:
A machine can produce 12 clay figures per hour. It costs $750 to set up the
machine and $6 per hour to run the machine. Each clay figure requires $2 of
material (clay) to pro duce. If each clay figure will sell for $10, express the
revenue, cost and profit in producing x clay figures as a function of time.
Note that: Revenue is the amount of money taken in by a company when selling a product, cost is the
money paid out by the company for wages, material, rent, and so forth, and profit is the difference
between revenue and cost. Negative profit indicates a loss.
Step 1
Let x represent the number of clay figures produced and let t represent the
number of hours needed to produce them. Let R,C, and P represent the
revenue, cost, and profit, respectively.
Step 2
R=10x
The cost consists of three parts. Fixed cost is $750, the cost of running the
machine for t hours is 6t dollars, and the cost of material to produce x figures is
2x dollars. Thus
C=750 + 6t +2x
P=R–C
P=8x – 6t -750
MODULE 1: Functions
21 | P A G E
BICOL STATE COLLEGE OF APPLIED SCIENCES AND TECHNOLOGY
College of Engineering and Technology
Calculus 1 [CALC001]
Step 3
Since 12 clay figures are produced per hour, x =12t. Substituting into the
results of step 2,
R=10x=10(12t)
R(t)=120 t
C=750 + 6t +2x
=750+ 6t +2(12t)
=750 + 6t +24 t
Hence:
P=8x - 6t – 750
References:
MODULE 1: Functions
22 | P A G E
BICOL STATE COLLEGE OF APPLIED SCIENCES AND TECHNOLOGY
College of Engineering and Technology
Calculus 1 [CALC001]
You may want to visit the following YouTube videos to supplement your
learnings:
TRY THIS!
Solve it on your own and check whether you got the correct answers.
MODULE 1: Functions
23 | P A G E
BICOL STATE COLLEGE OF APPLIED SCIENCES AND TECHNOLOGY
College of Engineering and Technology
Calculus 1 [CALC001]
Answer keys:
MODULE 1: Functions
24 | P A G E
BICOL STATE COLLEGE OF APPLIED SCIENCES AND TECHNOLOGY
College of Engineering and Technology
Calculus 1 [CALC001]
Answer keys:
MODULE 1: Functions
25 | P A G E
BICOL STATE COLLEGE OF APPLIED SCIENCES AND TECHNOLOGY
College of Engineering and Technology
Calculus 1 [CALC001]
Answer keys:
1. -7
2. -59
3. -6
4. 11/2
5. -16
6. 135
MODULE 1: Functions
26 | P A G E
BICOL STATE COLLEGE OF APPLIED SCIENCES AND TECHNOLOGY
College of Engineering and Technology
Calculus 1 [CALC001]
Practice Problems:
1.
2.
MODULE 1: Functions
27 | P A G E
BICOL STATE COLLEGE OF APPLIED SCIENCES AND TECHNOLOGY
College of Engineering and Technology
Calculus 1 [CALC001]
3.
4.
MODULE 1: Functions
28 | P A G E