1.1. Functions(1)
1.1. Functions(1)
0.1. Functions
1.1.1 Relations
1.1.1.1 Representation of Relations
1.1.1.2 Domain and Range
1.1.2 Functions
1.1.2.1 Determining Whether Relations Are Functions
1.1.2.2 Function Notation
1.1.2.3 Increasing, Decreasing, and Constant Functions
3.2 Appendix
The ordered pairs (𝑎, 𝑏) and (𝑐, 𝑑) are equal if and only if 𝑎 = 𝑐 and 𝑏 =
𝑑.
1.1.3Relation
Definition 3: Relation
• The set of all first components of the ordered pairs is called the
domain of the relation.
• The set of all second components is called the range of the relation.
Example 1
Solution
𝒙 𝒚
−𝟐 1
−𝟐 3
𝟎 −3
𝟏 4
𝟑 1
• Relation in graph
To get a better idea of this definition, look at the function that relates the
time of day to the temperature in Figure below.
{(1, 9∘ ), (2, 13∘ ), (3, 15∘ ), (4, 15∘ ), (5, 12∘ ), (6, 4∘ )}
In each ordered pair, the first coordinate ( 𝑥-value) is the input and the
second coordinate ( 𝑦-value) is the output.
Example 2
(c)
(d)
(e)
Solution
Page 9 of 60 Math 105 (Semester 1 2024/2025) Dr. Omar Alsuhaimi
(a) Relation 𝐹 = {(1,6), (2,6), (3,8), (4,9)} is a function, because for each
(b)
Relation 𝐺 = {(6,1), (6,2), (8,3), (9,4)} is not a function, because that one
(c )
(d)
This figure represents a function from 𝐴 to 𝐵. It does not matter that each
(e)
Let 𝐴 = {𝑎, 𝑏, 𝑐, 𝑑} and 𝐵 = {1,3,5,7}. Decide whether each set of ordered pairs
represents a function from set 𝐴 to set 𝐵.
(a) {(𝑎, 1), (𝑐, 5), (𝑑, 7)} (b) {(𝑎, 3), (𝑏, 7), (𝑐, 1), (𝑑, 3)} (c){(𝑏, 3), (𝑏, 5)}
Solution
𝑦 = 𝑥2 𝑦 is a function of 𝑥.
✓ and the range of the function is the set of all values taken on by
the dependent variable 𝑦.
Solution
𝑦 = 1 − 𝑥2 Solve for 𝑦.
.
So, 𝑦 is a function of 𝑥.
Solution
𝑓(𝑥) = 3 − 2𝑥
➢ To find these values, substitute the specified input values into the
given equation.
For 𝑥 = −1,
𝑓 (−1) = 3 − 2(−1)
= 3 + 2 = 5.
Page 16 of 60 Math 105 (Semester 1 2024/2025) Dr. Omar Alsuhaimi
For 𝑥 = 0,
𝑓(0) = 3 − 2(0)
=3−0=3
For 𝑥 = 2,
𝑓(2) = 3 − 2(2)
= 3 − 4 = −1
Note That
• For instance,
Example 4
Solution
Checkpoint 3
Solution
(a) 𝑓(1) =
(b) 𝑔(2) =
𝑔 = {(1, 𝑎), (2, 𝑘), (3, 𝑚), (4, 𝑛)}
(c) ℎ(3) =
(1) 𝑦 = 3𝑥 3 − 4𝑥 + 2 ,
(2) 𝑥 2 + 𝑦 2 = 25 ,
𝑥
(3) 𝑦= .
𝑥+1
The graph of an equation in the two variables 𝑥 and 𝑦 is the set of all
points whose coordinates satisfy the equation.
Example 6
Solution
below.
Graph: −𝑥 2 + 𝑦 = 1.
Solution
⇒ 𝑦 = 𝑥 2 + 1.
Plot the points and draw a curve through them. See the Figure below.
The graph of a function helps us to picture the domain and range of the
function on the 𝑥-axis and 𝑦-axis, as shown in the box below.
The domain and range of a function 𝑦 = 𝑓(𝑥) can be obtained from a graph
of 𝑓 as shown in the figure. The domain is the set of all 𝑥-values for which
𝑓 is defined, and the range is all the corresponding 𝑦-values.
Solution
(b) From the graph in the Figure above we see that the domain is [−2,2]
The domain of a function is the set of all input values (all real numbers)
for which the function will produce a real number.
Solution
(a) 𝑓(𝑥) = 𝑥 + 1.
𝑔(𝑠) is defined if
2𝑠 − 1 ≥ 0
1
⇒𝑠≥
2
1
⇒ 𝐷𝑔 = [ , ∞) .
2
𝑡
(c) ℎ(𝑡) = .
𝑡 2 −3𝑡−10
ℎ(𝑡) is defined for all real number except the zeros of the denominator.
𝑡 2 − 3𝑡 − 10 = 0
⇒ (𝑡 − 5)(𝑡 + 2) = 0
⇒ 𝑡 = 5 or 𝑡 = −2
∴ 𝐷ℎ = ℝ ∖ {−2,5} = (−∞, −2) ∪ (−2,5) ∪ (5, ∞).
1
(d) 𝑚(𝑟) =
𝑟−2
𝑚(𝑟) is defined for all real number except the zeros of the denominator.
𝑟−2=0⇒𝑟 =2
Solution
The range of a function is the set of all output values that are possible
for the given domain of the function.
Example 10
Solution
(a) 𝑓(𝑥) = 𝑥 2 + 1
It is clear that
𝑦 = 𝑥 2 + 1 ≥ 1 for all 𝑥 ∈ ℝ.
1
(b) 𝑦 =
𝑥−2
1
We can see from the graph above that the range of 𝑦 = is ℝ\{0} =
𝑥−2
(−∞, 0) ∪ (0, ∞)
Example 11
Solution
(a) 2𝑥 − 𝑦 = 2
⇒ 𝑦 = 2𝑥 − 2 ⇒ 𝑓(𝑥 ) = 2𝑥 − 2
𝑥
(b) =1 (Note that 𝑥 ≠ 0 and 𝑦 ≠ 1.)
𝑦−1
⇒𝑦−1=𝑥 ⇒𝑦 =𝑥+1
⇒ 𝑓 (𝑥 ) = 𝑥 + 1, 𝑥 ≠ 0
Solution
Example 12
Using the Vertical Line Test, state whether the graph is the graph of a function.
(a) (b)
Solution
This graph (Black) is not the graph of a function because some vertical
lines (Red) intersect the graph in more than one point (A, B and C).
(b)
This graph (Black) is the graph of a function because every vertical line
Then use the Vertical Line, to state whether the graph is the graph of a
function.
(a) (b)
(c) (d)
(e) (f)
Solution
Checkpoint 7
find the value or values of 𝑎 in the domain of 𝑓 for which 𝑓(𝑎) equals the given
number.
Solution
Example 14
Solution
𝑓 (𝑎) = 3
𝑎2 = −1 Solve for 𝑎
√𝑎2 = √−1
𝑎 = ±𝑖
The values of 𝑎 are complex numbers and not in the domain of 𝑓. Note
from the graph in the Figure above that the horizontal line through (0,2)
𝑓(2) = 2(2) − 4 = 0.
Because 𝑓 (2) = 0,
then 2 is a zero of 𝑓.
𝑔(𝑥) = 𝑥 2 + 2𝑥 − 15 𝑔(𝑥) = 𝑥 2 + 2𝑥 − 15
𝑔(3) = 32 + 2(3) − 15 𝑔(−5) = (−5)2 + 2(−5) − 15
𝑔(3) = 0 𝑔(−5) = 0
3 is a zero of 𝑔. −5 is a zero of 𝑔.
In this case, there are two values in the domain of 𝑔, −5 and 3 , for
which 𝑓(𝑥) = 0.
Solution
Checkpoint 8
Solution
Example 16
Solution
Algebraic Solution
𝑦 = 02 − 2(0) − 3 = −3
0 = 𝑥 2 − 2𝑥 − 3
0 = (𝑥 − 3)(𝑥 + 1)
(𝑥 − 3) = 0 or (𝑥 + 1) = 0
𝑥 = 3 or 𝑥 = −1
intersects the 𝑥-axis at (−1,0) and (3,0), the 𝑥-intercepts. The graph also
Example 17
Solution
RIGHT GRAPH:
Checkpoint 9
Solution
Solution
To construct the box, squares that measure 𝑥 inches on each side are cut
The width 𝑤 is also 40 − 2𝑥. The height of the box is 𝑥. The volume 𝑉
of a box is the product of its length, its width, and its height. Thus
𝑉 = (40 − 2𝑥)2 𝑥
(b) The squares that are cut from each corner require 𝑥 to be larger than
0 inches but less than 20 inches. Thus, the domain is {𝑥 ∣ 0 < 𝑥 < 20}.
A triangle is bounded by the 𝑥 - and 𝑦-axes and must pass through 𝑃(2,2), as
shown below.
(a) Find the area of the triangle as a function of 𝑥. (Hint: Let 𝐶 be the point (0,2) and
𝐷 be the point (2,0). Use the fact that 𝐴𝐶𝑃 and 𝑃𝐷𝐵 are similar triangles.)
(b) What is the domain of the function you found in (a)?
Solution
1.1 Functions
Part Two
Definition 1:
A function 𝑦 = 𝑓(𝑥) is an
even function of 𝑥 if 𝑓(−𝑥) = 𝑓(𝑥),
odd function of 𝑥 if 𝑓(−𝑥) = −𝑓(𝑥),
for every 𝑥 in the function's domain.
Note:
✓ Since 𝑓(−𝑥) = −𝑓(𝑥), a point (𝑥, 𝑦) lies on the graph if and only if the
point (−𝑥, −𝑦) lies on the graph (See the Figure (b) below).
✓ Notice that the definitions imply that both 𝑥 and −𝑥 must be in the
domain of 𝑓.
Say whether the function is even, odd, or neither. Give reasons for your
answer.
(a) 𝑓(𝑥) = 𝑥 2 (b) 𝑓(𝑥) = 𝑥 2 + 1
(c) 𝑓(𝑥) = 𝑥 (d) 𝑓(𝑥) = 𝑥 + 1
Solution
• Piecewise-Defined Functions
✓ Sometimes a function is described in pieces by using different formulas
on different parts of its domain.
✓ One example is the absolute value function whose graph is given in the
Figure 1.8.
✓ The right-hand side of the equation means that the function equals 𝑥 if
𝑥 ≥ 0, and equals −𝑥 if 𝑥 < 0.
✓ Piecewise-defined functions often arise when real-world data are
modeled.
Example 2
✓ The function 𝑓(𝑥 ) is defined on the entire real line but has values
given by different formulas, depending on the position of 𝑥.
✓ The function, however, is just one function whose domain is the entire
set of real numbers (See the Figure below).
Definition 2:
Two variables 𝑦 and 𝑥 are proportional (to one another) if one is always a
constant multiple of the other; that is, if 𝑦 = 𝑘𝑥 for some nonzero constant
𝑘.
• Power Functions
Definition 4:
1 1
✓ The functions 𝑓(𝑥) = 𝑥 2 = √𝑥 and 𝑔(𝑥) = 𝑥 3 = √𝑥 are the square root
3
• Polynomials
Definition 5:
A function 𝑝 is a polynomial if
Definition 6:
The six basic trigonometric functions are reviewed in Section 1.3. The
graphs of the sine and cosine functions are shown in the Figure below.
• Exponential Functions
✓ Functions of the form 𝑓(𝑥) = 𝑎 𝑥 , where the base 𝑎 > 0 is a positive
constant and 𝑎 ≠ 1, are called exponential functions.
✓ All exponential functions have domain (−∞, ∞) and range (0, ∞), so
an exponential function never assumes the value 0.
✓ We discuss exponential functions in Section 1.5. The graphs of some
exponential functions are shown in the Figure below.
• Transcendental Functions
These are functions that are not algebraic. They include the trigonometric,
inverse trigonometric, exponential, and logarithmic functions, and many
other functions as well.