C11 - Functions - Part 1
C11 - Functions - Part 1
By
Assoc.Prof. Mai Duc Thanh
CALCULUS 1
Course Syllabus
• Lecturer: Assoc. Prof. Mai Duc Thanh Office: Room A2.610
Phone: 0901 323 899 E-mail: mdthanh@hcmiu.edu.vn
• Contents
1. Functions, Limit and Continuity
2. Derivatives
3. Applications of Derivatives
4. Integrals
5. Applications of Integrals
• Grading
1. Assignments: 20%
2. Midterm Exam: 30%
3. Final Exam: 50%
• Textbook: J. Stewart, Calculus, Brook Cole, 7th ed.
Calculus1 2
Course Grading
Final Exam
10%
10% Midterm
Exam
50%
Homework
30%
Quizzes
Calculus1 3
Assignments
• Homework: submit to Blackboard
• Quizzes will be given in the class, not informed in advance.
• Class-works: solving exercises on board gets Extra marks
E up to E=20 marks. Rule:
– Averaged HWs/Quizes + E = Assignment Score
Calculus1 4
Chapter 1: Functions, Limits, and
Continuity
Lecture 1: Functions
Outline
1. Four ways to Represent a Function
2. Mathematical Models: A Catalog of Essential
Functions
3. New Functions from Old Functions
Calculus1 6
1. Four ways to Represent a Function
Definition. A function f is a rule that assigns to each
element x in a set A exactly one element y=f(x) in a set B
▪A is the domain of f
▪ The range of f is the set R={f(a), a A}
▪If y = f(x), then x is the independent variable, y is the
dependent variable
▪Domain: set of all possible inputs; Range: set of all
possible outputs
▪Usually, A and B are sets of real numbers
Calculus1 7
Machine diagram for a function ƒ
x f f(x)
(input) (output)
x
y=f(x)
a
Arrow diagram for ƒ b=f(a)
f
A B
Calculus1 8
Example
• Find the domain of the function
f ( x) = x + 2
• Solution: The square root of a negative number is
not defined
• The domain of f consists of all values of x such that
x + 2 0 x −2
The domain is the interval [−2, )
Calculus1 9
Graph of a Function
The most common method for visualizing a function
is its graph.
If f is a function with domain D, then its graph
is the set of ordered pairs
{(x,f(x)) | x D}
Calculus1 10
Example. The graph of the function
f(x)=x2
Calculus1 11
Representing a Function
1. Verbally (by a description in words)
2. Numerically (by a table of values)
3. Visually (by a graph)
4. Algebraically (by an explicit formula)
Calculus1 12
Example. The average CO2 level in the atmosphere is
a function of time given by the following table
Year CO2(in
370
ppm) 365
1982 341.0
355
350
1984 344.3
345
1986 347.0
340
1988 351.3
335
1990 354.0 1980 1985 1990 1995 2000
1992 356.3
1994 358.9 Graph of CO2 level function
1996 362.7
1998 366.7
Calculus1 13
Graphs and Curves
• The graph of a function can be a curve in the
xy-plane
• Question: Which curves in the xy-plane are
graphs of functions?
Calculus1 14
Vertical Line Test
Vertical Line Test: A curve in xy-plane is the graph
of a function if and only if no vertical line intersects
the curve more than once.
It is crossed
more than
once.
Function Calculus1
Not a Function 15
Piecewise Defined Function
Several formulas to define a single function.
Calculus1 17
Symmetry
A function f is said to be even if 𝑓 −𝑥 = 𝑓 𝑥 , ∀𝑥
Calculus1 18
Increasing and Decreasing Functions
Solve
Test
Real-world Mathematical
Predictions Conclusion
Interpret
Calculus1 20
Linear Models
• We say that y is a linear function of x if the
graph of the function is a line
• We can use the slope-intercept form of the
equation of a line to write a formula for linear
function as
y = f ( x) = mx + b
Calculus1 23
Root Functions
• A power function of the form
f ( x) = x
1/ n
= n x , where n 0 is integer
is called a root function
• n=2, the square root function
f ( x) = x is defined on [0, )
• n=3, the cube root function
f ( x) = 3 x is defined on
Calculus1 24
Rational Functions
• A rational function f is a ratio of two
polynomials
P( x)
f ( x) =
Q( x)
Calculus1 25
Algebraic Functions
• A function f is called an algebraic function if it
can be constructed using algebraic operations
(such as addition, multiplication, division, and
taking roots) starting with polynomials
• Example:
– Polynomials, rational functions
– Other examples:
x 2
− 2x + x + 2 +1
f ( x) = x + 1, g ( x) =
2
+ 4x −1
x + x +1
3
Calculus1 26
Trigonometric Functions
• Trigonometric functions for the general angle
θ:
y r
sin = , csc =
r y
x r
cos = , sec =
r x
y x
tan = , cot =
x y
Calculus1 27
Trigonometry Identities
Addition formulas
Double-angle formulas
Half-angle formulas
1 + cos 2 x
cos x =
2
2
1 − cos 2 x
sin x =
2
Calculus1 30
Exponential Functions
• Exponential functions have the form
f ( x) = a x , a 0 is constant
The domain is (-, ) and the range is (0,)
Calculus1 31
The
number
e
Calculus1 32
3. New Functions from Old
Functions
Transformations
of Functions
Calculus1 34
Stretching and Reflecting
Calculus1 35
Stretching and Shrinking: Illustration
Calculus1 36
Calculus1 37
Calculus1 38
Calculus1 39
Combinations of Functions
Let f and g be functions with domains A and B. Then
the functions f+g, f –g , fg and f/g are defined as
follows:
( f + g )( x) = f ( x) + g ( x) domain = AB
( f − g )( x) = f ( x) − g ( x) domain = AB
( fg )( x) = f ( x) g ( x) domain = AB
f f ( x)
( x) = domain = {xAB /g(x)0}
g g ( x)
Calculus1 40
Composition of Functions
Domain of f o g:
x ∈ 𝐵, such that 𝑔(𝑥) ∈ 𝐴
Calculus1 41
Example. Let f(x) = x2 and g(x) = x – 3 are functions
from R to R.
Solution.
(fog)(x) = f(g(x)) = f(x – 3) = (x –3)2
(gof)(x) = g(f(x)) = g(x2) = x2 – 3
This shows that in general: fog gof
Calculus1 42
Composition of three or more functions
𝑓°𝑔°ℎ 𝑥 = 𝑓(𝑔 ℎ 𝑥 )
Example:
Calculus1 43
Homework of Chapter 1
Textbook: James Stewart, Calculus, 7th edition, 2012
• Section 1.1: 7, 9, 44, 45, 50
• Section 1.2: 8, 10
• Section 1.3: 9, 21, 33
• Section 1.6: 16, 24, 29
• Section 1.8: 4, 18, 26
• Section 6.1: 4, 6, 8, 12, 14, 24, 26
• Section 10.1: 2, 4, 7, 8, 12, 14, 16
Calculus1 44