Notes 1 Functions and Their Graphs (Calculus 1)
Notes 1 Functions and Their Graphs (Calculus 1)
Graphs
Cartesian Product and Relations
Cartesian Product Examples:
• The Cartesian Product of two sets 1. Given that 𝑋 = 1, 2 and 𝑌 =
𝑋 and 𝑌 is the set of all ordered 3, 4, 5
pairs whose first member is an a. Find 𝑋 × 𝑌
element of set 𝑋 and whose b. True or False
second member is an element of
set 𝑌
i. 2, 2 ∈ 𝑋 × 𝑌
ii. 0,1 ∉ 𝑋 × 𝑌
iii. 2, 5 ∈ 𝑋 × 𝑌
Relation
2. Let 𝐴 = 1, 7 and 𝐵 = 3, 4, 5 .
• A relation is a subset of the a. Find 𝐴 × 𝐵
cartesian product of two sets
b. Find a relation 𝑅 defined by
• A relation is a set of ordered pairs 𝑥 < 𝑦, 𝑥 ∈ 𝐴 and 𝑦 ∈ 𝐵
c. How many relations can be
found in 𝐴 × 𝐵?
Functions
• A function 𝑓 is a set of ordered value of 𝑥 under 𝑓
pairs of numbers 𝑥, 𝑦 satisfying • 𝑥 is a pre-image of 𝑦 under 𝑓
the property that if 𝑥, 𝑦1 ∈ 𝑓 and
𝑥, 𝑦2 ∈ 𝑓 then 𝑦1 = 𝑦2 • In the function 𝑓: 𝑋 → 𝑌, the set 𝑋
containing all the first
• A function is a relation in which no components of the ordered pairs
two distinct ordered pairs have in 𝑓 is called the domain of the
the same first element function 𝑓
• If 𝑓 is a function from a set 𝑋 into • The set 𝑌 is called the co-domain
a set 𝑌, then we write 𝑓: 𝑋 → 𝑌 of 𝑓
• If 𝑥, 𝑦 ∈ 𝑓, then we may write 𝑦 = • The set of all second components
𝑓 𝑥 (known as the function of ordered pairs in 𝑓 is called the
notation) range of 𝑓, i.e. range 𝑓 =
• 𝑦 is called the image of 𝑥 under 𝑦 ∈ 𝑌 𝑦 = 𝑓 𝑥 , ∃𝑥 ∈ 𝑋}
the function 𝑓 or the function
Functions
Examples: a. Create a relation showing
1. Let 𝐴 = 1, 7 and 𝐵 = 3, 4, 5 . In the price of buying 1, 2, 3,
𝐴 × 𝐵, let 𝑅 = 1, 3 , 7, 3 . and 4 cans of coke
a. Is 𝑅 a function? Why? b. Is the relation in (a) a
function? Why?
b. Identify the domain, co-
domain, range of the c. Identify the domain and
function. range
2. Let 𝑓 = 𝑥, 𝑦 𝑦 = 𝑥 − 2}
a. Is 6, 2 ∈ 𝑓?
b. Which element in 6, 2 is the
pre-image? The image?
3. The cost of coke in can in a
vending machine is ₱20.00.
Common Methods of Representing
Functions
1. Numerically by Tables 4. Geometrically by Graphs
2. Set Mapping
𝑓 𝑥 =𝑥−2
Some Functions and Their Graphs
Identity Functions Quadratic Functions
• A (linear) function defined by • A function defined by 𝑓 𝑥 = 𝑥 2
𝑓 𝑥 =𝑥 • The general quadratic function is
• In this linear function, 𝑚 = 1 and defined by 𝑓 𝑥 = 𝑎𝑥 2 + 𝑏𝑥 + 𝑐,
it passes through the point of 𝑎, 𝑏, 𝑐 ∈ ℝ and 𝑎 ≠ 0
origin
Some Functions and Their Graphs
Polynomial Functions Rational Functions
• A function of the form 𝑓 𝑥 = • A quotient of two polynomial
𝑎𝑛 𝑥 𝑛 + 𝑎𝑛−1 𝑥 𝑛−1 + 𝑎𝑛−2 𝑥 𝑛−2 + ⋯ + functions
𝑎1 𝑥 + 𝑎0 • If 𝑃 and 𝑄 are polynomial
• Linear and quadratic functions functions, then the rational
are also polynomial functions function 𝑓 is defined by 𝑓 𝑥 =
𝑃 𝑥
𝑄 𝑥
Some Functions and Their Graphs
Absolute Value Functions Piecewise-Defined Functions
• A function defined by 𝑓 𝑥 = 𝑥 • A function defined by different
𝑥, 𝑥 ≥ 0 formulas
where 𝑥 = ቊ
−𝑥, 𝑥 ≤ 0 1 − 𝑥, 𝑥 < 1
e.g. 𝑓 𝑥 = ቊ
𝑥 − 1, 𝑥 ≥ 1
Some Functions and Their Graphs
Greatest Integer Function
• A function defined by 𝑓 𝑥 = 𝑥 or 𝑓 𝑥 = 𝑥
• 𝑥 or 𝑥 = greatest integer ≤ 𝑥
Homework #1: 1 whole sheet of paper
I. Evaluate (if possible) the 2. 𝑓 𝑡 = sec
𝜋𝑡
function at the given value(s) 3
4
of the independent variable 3. 𝑓 𝑥 =
𝑥
and simplify the result III.Use the vertical line test to
1. 𝑓 𝑥 = 7𝑥 − 4; 𝑓 −1 determine whether 𝑦 is a
2. 𝑔 𝑥 = 5 − 𝑥 2 ; 𝑔 𝑥 − 1 function of 𝑥
3. 𝑓 𝑥 = cos 2𝑥 ; 𝑓 −
𝜋 1. S
3
3 𝑓 𝑥+∆𝑥 −𝑓 𝑥
4. 𝑓 𝑥 = 𝑥 ;
∆𝑥
2𝑥 + 1, 𝑥 ≤ 1
5. 𝑓 𝑥 = ቊ ;𝑓 0
2𝑥 + 2, 𝑥 > 1 2. s
II. Find the domain and range of
the following functions
1. 𝑓 𝑥 = 4𝑥 2