Lecture # 2 (Introduction To Functions)
Lecture # 2 (Introduction To Functions)
Analytical
Geometry
(MATH- 101)
Instructor: Dr. Naila Amir (naila.amir@seecs.edu.pk)
Functions
Domain and Range
▪ Book: Thomas Calculus (14th Edition) by George B. Thomas, Maurice D. Weir, Joel R. Hass, Frank R. Giordano
▪ Chapter: 1 (1.1)
Functions vs. Relations
• A "relation" is just a relationship between sets of information.
• (height, student)
Or
• (student, height)
Function
Name Height
(in feet)
Ali=1 6’=6
Usman=2 5’9”=5.75
Hina=3 5’=5
Alia=4 5’=5
Salar=5 6’6”=6.5
Function
Salar
Alia
Hina
Usman
Ali
Algebraic Function Can be written as finite sums, differences, multiples, quotients, and
radicals involving 𝑥𝑛.
2
2𝑥 − 1
Examples: 𝑓 𝑥 = 3𝑥 + 𝑥 − 10, 𝑔 𝑥 =
4𝑥 4
Transcendental A function that is not Algebraic.
Function Examples: ℎ 𝑥 = sin 𝑥 , 𝑔 𝑥 = ln 𝑥
Function
• In our example, the pairing of students and heights.
𝑥 =student and 𝑦 =height
• Recall, for each element 𝑥 in 𝑋 there is exactly one corresponding element 𝑦 = 𝑓(𝑥) in 𝑌.
All possible output values (𝑦) which result from using the function. The set of all
Range images as 𝑥 varies throughout the domain.
𝑥 𝑦
Note: The domain and range help us to determine the window of a graph.
Our Example
• What are the possible 𝑥 −values (names of students from our example) and
𝑦 −values (their corresponding heights) for our function we can have?
• Recall that in example: the pairing of students and heights.
𝑥 =student and 𝑦 =height
• We can have many students for our 𝑥 −value, but what about heights?
• For our 𝑦 −values we should not have 0 feet or 11 feet, since both are impossible.
• Thus, our collection of heights will be greater than 0 and less that 11.
Graph Of a Function
If 𝑓 is a function with domain 𝑋, its graph consists of the points in the
Cartesian plane whose coordinates are the input-output pairs for 𝑓. In set
notation the graph is represented as:
{(𝑥, 𝑓(𝑥))|𝑥 ∈ 𝑋}
Interval Notation
The interval does NOT include the endpoint(s)
Salar
Alia
Hina
Usman
Ali
Vertical-Line Test
• A set of points in the
𝑥𝑦 −plane is the graph
of a function if and
only if every vertical
line intersects the
graph in at most one
point.
Identifying Functions, their
Domain and Range
Algebraic representation of a function
• Consider the following relation:
• Is this a function?
• If yes, then what is domain and range?
Visualizing domain of
Visualizing range of
▪ Domain = [0, ∞)
▪ Range = [0, ∞)