Title: Real-Valued Functions of a Real Variable and Their Graphs
1Real-Valued Functions of a Real Variable and
Their Graphs
- Lecture 38
- Section 9.1
- Mon, Mar 28, 2005
2Functions
- We will consider real-valued functions that are
of interest in studying the efficiency of
algorithms. - Power functions
- Logarithmic functions
- Exponential functions
3Power Functions
- A power function is a function of the form
- f(x) xa
- for some real number a.
- We are interested in power functions where a ? 0.
4The Constant Function f(x) 1
5The Linear Function f(x) x
6The Quadratic Function f(x) x2
7The Cubic Function f(x) x3
8Power Functions xa, a ? 1
- The higher the power of x, the faster the
function grows. - xa grows faster than xb if a gt b.
9The Square-Root Function
10The Cube-Root Function
11The Fourth-Root Function
12Power Functions xa, 0 lt a lt 1
- The lower the power of x (i.e., the higher the
root), the more slowly the function grows. - xa grows more slowly than xb if a lt b.
- This is the same rule as before, stated in the
inverse.
13Power Functions
14Multiples of Functions
15Multiples of Functions
- Notice that x2 eventually exceeds any constant
multiple of x. - Generally, if f(x) grows faster than cg(x), for
any real number c, then f(x) grows
significantly faster than g(x). - In other words, we think of g(x) and cg(x) as
growing at about the same rate.
16Logarithmic Functions
- A logarithmic function is a function of the form
- f(x) logb x
- where b gt 1.
- The function logb x may be computed as (log10
x)/(log10 b).
17The Logarithmic Function f(x) log2 x
18Growth of the Logarithmic Function
- The logarithmic functions grow more and more
slowly as x gets larger and larger.
19f(x) log2 x vs. g(x) x1/n
20Logarithmic Functions vs. Power Functions
- The logarithmic functions grow more slowly than
any power function xa, 0 lt a lt 1.
21f(x) x vs. g(x) x log2 x
22f(x) vs. f(x) log2 x
- The growth rate of log x is between the growth
rates of 1 and x. - Therefore, the growth rate of f(x) log x is
between the growth rates of f(x) and x f(x).
23f(x) vs. f(x) log2 x
24Multiplication of Functions
- If f(x) grows faster than g(x), then f(x)h(x)
grows faster than g(x)h(x), for all
positive-valued functions h(x). - If f(x) grows faster than g(x), and g(x) grows
faster than h(x), then f(x) grows faster than
h(x).
25Exponential Functions
- An exponential function is a function of the form
- f(x) ax,
- where a gt 0.
- We are interested in power functions where a ? 1.
26The Exponential Function f(x) 2x
27Growth of the Exponential Function
- The exponential functions grow faster and faster
as x gets larger and larger.
28The Exponential Function f(x) 2x
29Growth of the Exponential Function
- The higher the base, the faster the function
grows - ax grows faster then bx, if a gt b.
30f(x) 2x vs. Power Functions (Small Values of x)
31f(x) 2x vs. Power Functions (Large Values of x)
32Growth of the Exponential Function
- Every exponential function grows faster than
every power function. - ax grows faster than xb, for all a gt 1, b gt 0.