UCCM1153C1 Lecture Note Latest
UCCM1153C1 Lecture Note Latest
Introduction to Calculus
and Applications
Chapter 1
Functions and
Models
Contents
1.1 Functions
1.2 Models and Curve Fitting
1.3 Transformations, Combinations,
Composition and Graphs of Functions
1.4 Exponential Functions
1.5 Inverse Functions and Logarithms
1.6 Parametric Curves
1.1 Functions
• Definitions
• Representations of Functions
• Piecewise Defined Functions
• Even and Odd Functions
• Increasing and Decreasing Functions
Goals
• Learn to represent functions using
Words, Tables of values, Graphs and Formulas
x
Set A y Set B
Notation: y f (x)
x is an independent variable
y is an dependent variable.
E.g.:The function which square a number and adds on 5, can be
written as f ( x) x 2 5.
Functions(Cont’)
The phrase "y is a function of x" means that the value of y
depends upon the value of x, so:
• y can be written in terms of x (e.g. y = 3x ).
• If f (x) = 3x, and y is a function of x (i.e. y = f (x) ), then the
value of y when x is 4 is f (4), which is found by replacing x"s
by 4"s .
• One value of x is assigned to exactly one value of y.
f (x + 1) = 3(x + 1) + 4 = 3x + 3 + 4 = 3x + 7
Domain and Range for a function y = f (x)
• Domain is the possible values can be taken by
independent variable, x.
Solution
• Then we use the graph to estimate that the
concentration after 5 minutes is
C(5) ≈ 0.035 mole/liter.
Range, R: 0,2
Range, R: 1,
Domain, D: Domain, D: t 2 , t 2
Examples (Cont’)
Example 1.3
Sketch the graph and find the domain and range of each
function.
(a) f (x) = 2x-1
Domain:
Range:
Examples (Cont’)
1
(b) f (x) =
x
Domain : ( ,0) (0, )
2
(c) f ( x ) x
Domain:
Range: y | y 0 [0, )
Examples (Cont’)
(d) f ( x) x 2
Domain: [ 2, )
Range: [0, )
(e) f ( x) x 1
x 1
Domain: x : x 1 ,1 1,
Range:
xy x y 1
x 1
y x y 1 y 1
x 1
y 1
x 1y x 1 x
y 1
xy y x 1
y : y 1 ,1 1,
Example
Example 1.5
Evaluate
(a) |3| = 3 (b) |-3| = 3 (c) |0| = 0
(d) | 2 1 | (e)
2 1 | 3 | 3
Example 1.6
Sketch the graph of the absolute value function f ( x) x .
x, if x 0
x
x,if x 0
The line y = x to the right of the y-axis
The line y = -x to the left of the y-axis
Example 1.7
Find a formula for the function f graphed in the figure.
Example 1.7 (Cont’)
The line through (0, 0) and (1, 1) has slope m = 1
and y-intercept b = 0.
f ( x) x if 0 x 1
Example 1.7 (Cont’)
The line through (1, 1) and (2, 0) has slope m = -1.
f ( x) 2 x if 1 x 2
Example 1.7 (Cont’)
We also see that the graph of f coincides with the
x-axis for x > 2.
x if 0 x 1
f ( x) 2 x if 1 x 2
0 if x 2
Symmetry
Examine f (-x).
x, y x, y
Symmetry
(2) Odd function
• If f (-x) = -f (x), x is in the domain of f (x).
• The graph of an odd function is symmetric about the
origin (0,0).
x, y x, y
• If we already have the graph of f for x 0 ,
we can obtain the entire graph by rotating
this portion through 180° about the origin.
Example 1.8
Determine if the following functions are odd or even.
(a) f (x) = x2
f (-x) = (-x)2 = x2 = f (x)
y x2
• You can see from the figure that the function f (x) =
x2 is decreasing on the interval (, 0] and increasing
on the interval [0, ) .
Class Activity
The graphs of f and g are given.
(a) State the values of f(−4) and g(3).
(b) For what values of x is f(x) = g(x) ?
(c) Estimate the solution of the equation f(x) = −1.
(d) State the domain and range of f.
(e) State the domain and range of g.
Section 1.2
Note:
• The graph of y n
x for n is odd (n >3) is similar to that of y 3
x.
• Note:
• Since x 0, thus y-axis (x = 0) is a vertical asymptote.
• Since y = 1/x, x = 1/y, thus y 0, thus y = 0 (x-axis) is
a horizontal asymptote.
(4) Rational functions
2 x4 x2 1
(b) f ( x)
x2 4
The function is a rational function with domain x | x 2.
(5) Algebraic functions
(5) Algebraic functions
• A function f is called an algebraic function if it can be
constructed using algebraic operations (such as addition,
subtraction, multiplication, division, and taking roots) starting
with polynomials.
Note:
• Rational function is an algebraic function.
• But algebraic function is not necessary a rational function.
Example 1.14
x 4 16 x 2
f x x2 1 g x ( x 2) 3 x 1
x x
(6) Trigonometric functions
(i) y = sin x, x [0,2 ] , range [-1,1]
• Note:
• y = sin x = sin (x + 2) as the graph is periodic over a
period of 2 .
• sin (-x) = - sin x
(6) Trigonometric functions (Cont’)
• Note:
• y = cos x = cos (x + 2 ) as the graph is periodic over a
period of 2 .
• cos (-x) = cos x
(6) Trigonometric functions (Cont’)
sin x n
(iii) y tan x , cos x 0 (means x , n is nonzero
integer) cos x 2
Note:
tan x tan x
(7) Exponential functions
A function f of the form f (x) = ax, where a > 0.
• Example 1.15 x
1
(a) f (x) = 2x (b) f x , 0 < a < 1
2
For both cases, the domain is (, ) and the range is (0, ) .
(8) Logarithmic functions
• f ( x) log a x ,where a > 0
Example 1.16
Sketch y log 2 x, y log 3 x, y log 5 x, y log10 x in one graph.
State the domain and range.
In each case, the domain is
(0,the
) range is (,,and
)
the function increases slowly
when x > 1.
(9) Transcendental functions
• These are functions that are not algebraic.
• Example of the transcendental functions is
trigonometric, inverse trigonometric, exponential, and
logarithmic functions.
Example 1.17
y = sin-1 x, y = cosec x, y = ex, y = ln x
(9) Transcendental functions (Cont’)
Classify the following functions as one of
the types of functions that we have
discussed.
a. f ( x) 5x
5
b. g ( x ) x
1 x
c. h( x)
1 x
d. u (t ) 1 t 5t 4
(9) Transcendental functions (Cont’)
f(x) = 5x is an exponential
function.
– The x is the exponent.
1 x
h( x )
1 is an
x algebraic function.
Example 1.18
Sketch y = x3+1
(a) Translation (Cont’)
(ii) Suppose c > 0, to obtain the graph of y = f (x) - c, shift the
graph of y = f (x) a distance c units downward (down from y-
axis).
Example 1.19
Sketch y e x 1 .
(a) Translation (Cont’)
(iii) Suppose c > 0, to obtain the graph of y = f (x - c),
shift the graph of y = f (x) a distance c units
to the right of x- axis.
Example 1.20
Sketch y = (x – 2)2
(a) Translation (Cont’)
(iv) Suppose c > 0, to obtain the graph of y = f (x + c), shift the
graph of y = f (x) a distance c units to the left of x-axis.
Example 1.21
1
Sketch y .
x2
(b) Stretching
• Consists of stretching and compressing horizontally or
vertically.
(i) Suppose c > 1, the graph of y = c f (x) can be obtained by
stretching the graph y = f (x) vertically by a factor of c.
Example 1.22
Sketch y = 3x2.
(b) Compressing (Cont’)
1
(ii)Suppose c > 1, the graph of y f ( x) can be obtained by compressing the
c
graph y = f (x) vertically by a factor of c.
Example 1.23
1
Sketch y sin x. compress by a factor of 0.5)
(vertical
2
(b) Compressing (Cont’)
• Suppose c > 1, the graph of y = f (cx) can be obtained by
compressing the graph y = f (x) horizontally by a factor of c.
Example 1.24
Sketch y = sin (2x).
(b) Stretching (Cont’)
x
• Suppose c > 1, the graph of y f can be obtained by
c
stretching the graph y = f (x) horizontally by a factor of c.
Example 1.25
x
Sketch y cos .
2
(c) Reflecting (Cont’)
• Suppose c > 1, the graph of y = f (-x) can be obtained by
reflecting the graph y = f (x) about the y-axis.
Example 1.26
Sketch y = ln (-x).
y =ln (-x)
y = ln x
(c) Reflecting (Cont’)
• Suppose c > 1, the graph of y = -f(x) can be obtained by
reflecting the graph y = f(x) about the x-axis.
Example 1.27
Sketch y = -ln x.
y = ln x
y = -ln x
Example 1.28
a. y x 2
b. y x2
c. y x
d. y2 x
e. y x
Question (TRY) ) (Cont’)
• In the other parts of the figure, we sketch:
– y x 2 by shifting 2 units downward.
– y x 2 by shifting 2 units to the right.
– y x by reflecting about the x-axis.
– y 2 x by stretching vertically by a factor of 2.
– y x by reflecting about the y-axis.
(2) Combinations of functions
• Let f and g be functions with domains A and B. Then the
functions f + g, f - g, fg, and are defined as follows:
• So, x 2 or x 4
Domain, 2 x 0 and 2 2 x 0
x 2 and 2 x 2
2 x 4
x 2
So the domain 2 x 2 is or the closed interval of
[-2,2].
Section 1.4
Exponential functions
Exponential functions
• In general, an exponential function is a function of the
form f (x) = ax, where a > 0 (a is a positive constant).
- an 1
n
a
Exponential functions (Cont’)
• If x is…
– a rational number, x = p/q , where p and q are
integers and q > 0 , then
q q p
x p/q p
a a a a
– an irrational number, say x 3 1.73206 ,
then we define ato3be the number approximated by
Note:
• Domain for y = ax is , .
• Range for y = ax is 0, for a 1.
Graphs of a x
Laws of exponents
m n m n
(1) a a a (6) n
ab n a n b
mn am a n
a
(2) a n (7)
a
n
b
n
b
(3) a m n a n (8)
m
a mn an
m
n am
a
n
(4) ab a nb n (9) n
n n
n
a
a a
(5) n
b b
Section 1.5
Inverse functions and logarithms
(1) Inverse functions
Definition: A function f is called a one-to-one function if it
never takes on the same value twice; that is, f (x1) f (x2)
whenever x1 x2.
So, f (x) is not a one-to-one function as f (x1) = f (x2) and x x .
1 2
(1) Inverse functions (Cont’)
Example 1.35
Is the function f (x) = x3 one-to-one?
1 1
f ( x)
f ( x)
(1) Inverse functions (Cont’)
Example 1.37
If f (1) = 5, f (3) = 7, and f (8) = -10, find f -1(7), f -1(5), and f-
1
(-10).
1)First, write y = x3 + 2.
2)Then, we solve this equation for x : x 3 y 2
3)Finally, we interchange x and y : y 3
x2
So, the inverse function is:
y f 1
x 3
x2
(1) Inverse functions (Cont’)
Graph of f –1
:
y f 1 x 3 x 2
(2) Logarithmic functions
• If a > 0 and a 1, the exponential function f (x) = ax is either
increasing or decreasing and so it is one-to-one.
• Therefore it has an inverse function f -1, which is called the
logarithmic function with base a and is denoted by log a.
• y = log a x a y = x, for a > 0, x > 0
Properties of y = logax
log a a x x x
(1) , for
a log a x x
(2) , for x > 0
log a 1 0. a0 1
(3)
log a a 1. a1 a
(4)
(2) Logarithmic functions (Con’t)
10 x
log10 2
y
log10 10 x log10 y 2
1
log10 10 x 2 log10 y
2
1 1
log10 10 log10 x 2 log10 y
2 2
1 1
log10 x 2 log10 y
2 2
(2) Logarithmic functions (Con’t)
Example 1.40 (Cont’)
(e) Express ln 20 ln 18 2 ln 6 as a single logarithm.
ln 20 ln 18 2 ln 6
ln 20 ln 18 ln 6 2
20
ln 36
18
ln 40
(3) Natural logarithm
Properties
(1) ln x = y ey = x
(2) ln(ex) = x, for x
(3) eln x = x, for x > 0
(4) ln e = 1
x ln a
x
x ln a
(5) a e e for any base a > 0.
(3) Natural logarithm (Cont’)
Example 1.41
Find the solution to the equation e5-3x = 10.
ln(e53 x ) ln10
5 3 x ln10
3 x 5 ln10
1
x (5 ln10)
3
As the natural logarithm is found on scientific
calculators, we can approximate the solution to four
decimal places: x ≈ 0.8991.
ln x
For any positive number a (a1), we have log a x ln a .
Section 1.6
Parametric curves
Parametric curves
• This gives: x = t2 – 2t
= (y – 1)2 – 2(y – 1)
= y2 – 4y + 3
• So, the curve represented by the given parametric equations is the
parabola x = y2 – 4y + 3.
Parametric curves(Cont’)
t 0≤t≤4
Parametric curves(Cont’)
Example 1.43
Sketch the curve x = sin t, y = sin2t
•So, y = (sin t)2 = x2
•Thus, the point (x, y) moves on the parabola y = x2
•As -1 ≤ sin t ≤ 1, we have -1 ≤ x ≤ 1.
• So, the parametric equations represent only the part of the parabola
for which -1 ≤ x ≤ 1.
• When t 0, x 0, y 0
t / 2, x 1, y 1
3
t , x 1, y 1
2
t 2 , x 0, y 0
Parametric curves(Cont’)
Example 1.44
Sketch the curve x = cos t, y = sin t, and 0 t 2 .
•x2 + y2 = cos2 t + sin2 t = 1
•Thus, the point (x, y) moves on the unit circle x2 + y2 = 1
•When t 0, x 1, y 0
t / 2, x 0, y 1
t , x 1, y 0
3
t , x 0, y 1
2
t 2 , x 1, y 0
Thank you