Lecture #2 CSC-1101
Lecture #2 CSC-1101
ANALYTICAL
GEOMETRY
LECTURE: 2
[CSC-1101]
ARISHA ALI
CHAPTER # 0
FUNCTIONS
ARISHA ALI 2
Functions
If a variable 𝒚 depends on a variable 𝒙 in such a way that each value of 𝒙
determines exactly one values of 𝒚, then we can say that 𝒚 is a function of
𝒙.
For example, 𝑦 = 𝑥 − 1
𝑥 𝒚
−1 −2
0 −1
1 0
2 1
ARISHA ALI 3
Cont…
ARISHA ALI 4
Dependent and Independent Variable
A function 𝒇 is a rule that associates a unique output with each input. If the
input is denoted by 𝒙, then the output is denoted by 𝒇(𝒙) (read “𝒇 𝒐𝒇 𝒙”).
▪ The variable 𝒙 is called independent variable.
▪ The variable 𝒚 is called dependent variable.
ARISHA ALI 5
Examples
ARISHA ALI 6
Graph of Functions
ARISHA ALI 7
Graph of a function (𝒚 = 𝟐
𝒙 )
𝒙 𝒚
−3 9
−2 4
−1 1
0 0
1 1
2 4
3 9
ARISHA ALI 8
Graph of a function (𝒚 = 𝒙)
𝒙 𝒚
−3 −3
−2 −2
−1 −1
0 0
1 1
2 2
3 3
ARISHA ALI 9
Vertical Line Test
Definition:
ARISHA ALI 10
Examples
ARISHA ALI 11
Functions: Domain & Range
If 𝑥 and 𝑦 are related by the equation 𝑦 = 𝑓(𝑥), then the set of all allowable inputs (𝑥 −
𝑣𝑎𝑙𝑢𝑒𝑠) is called the domain of 𝒇, and the set of outputs (𝑦 − 𝑣𝑎𝑙𝑢𝑒𝑠) that result when
𝑥 varies over the domain is called the range of 𝒇.
Natural Domain:
ARISHA ALI 12
Example # 6
𝒙 𝒇(𝒙)
5 125
= 1.25 = 1.953125
4 64
7 343
𝜋 = 3.14 𝜋 3 =31.00627668
ARISHA ALI 13
Example # 6 (Cont…)
𝒙 𝒇(𝒙)
𝟏
Find the natural domain of 𝒇 𝒙 =
[(𝒙−𝟏)(𝒙−𝟑)] 1 𝑢𝑛 𝑑𝑒𝑓𝑖𝑛𝑒𝑑
Solution: 3 𝑢𝑛 𝑑𝑒𝑓𝑖𝑛𝑒𝑑
The function 𝑓 has real values for all real 𝑥, except 𝑥 = 1 1 0.1904
and 𝑥 = 3, so its natural domain is − = −0.5
2
𝑥: 𝑥 ≠ 1 𝑎𝑛𝑑 𝑥 ≠ 3 = (−∞, 1) ∪ (1,3) ∪ (3, +∞) 0 0.33333 …
5 −0.941176
= 1.25
4
7 0.041666 …
ARISHA ALI 14
Example # 6 (Cont…)
Find the natural domain of 𝒇 𝒙 = 𝑻𝒂𝒏(𝒙)
Solution:
𝑆𝑖𝑛𝑥
Since 𝑓 𝑥 = 𝑇𝑎𝑛𝑥 = , the function 𝑓 has a real values except where 𝑐𝑜𝑠𝑥 = 0 and this
𝐶𝑜𝑠𝑥
occurs when 𝑥 is an odd integer multiple of 𝜋Τ2. Thus the natural domain consist of all real
numbers except
𝜋 3𝜋 5𝜋
𝑥 = ± ,± ,± ,…
2 2 2
ARISHA ALI 15
Example # 6 (Cont…)
𝒙 𝒇 𝒙 =𝒙−𝟑 𝒙 𝒇 𝒙 =𝒙−𝟐
ARISHA ALI 16
Practice Problems
ARISHA ALI 17