Week 2-3 - Functions & Limits #
Functions #
Definition: A function
f
is a rule that assigns to each elementx
in a setD
exactly one element, called , in a setE
.- The set
D
is called the domain of the function. - The number is the value of
f
atx
and is read “f of x”. - The range of
f
is the set of all possible values of asx
varies throughout the domain. - A symbol that represents an arbitrary number in the domain of a function
f
is called an independent variable. A symbol that represents a number in the range off
is called a dependent variable.
- The set
Four ways to represent a functions
- verbally (by a description in words)
- numerically (by a table of values)
- visually (by a graph)
- algebraically (by an explicit formula)
A catalog of essential functions
linear function
polynomials
- The domain of any polynomial is .
- If the leading coefficient , then the degree of the polynomial is n.
n=2
: quadratic functionn=3
: cubic function
power function
a = n
, wheren
is a positive integera = 1/n
, wheren
is a positive integer. It’s a root function.a = -1
: reciprocal function
rational function
- A rational function
f
is a ratio of two polynomials:- ,
- , :
- A rational function
algebraic function
- 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)
- A function
trigonometric function
exponential function
- law of exponential function:
logarithmic function
Combinations of Functions #
- , the domain of
fg
is - , the domain of
f/g
is . - composition (or composite) of
f
andg
, denoted by (“f circle g”).
- composition (or composite) of
Inverse of Functions #
- Definition:
- If a function maps every input to exactly one output, an inverse of that function maps every “output” to exactly one “input.”
- denoted by , and read “f inverse”.
- to function , the inverse function will be .
one-to-one functions #
- A function is one-to-one if for every value in the range(
f(x)
), there is exactly one value in the domain(x
).- domain of = range of
- range of = domain of
- for example: is a one-to-one function, is not.
Limits #
- Definition:
- the limit of
f(x)
, asx
approachesa
, equalsL
- if we can make the values of
f(x)
arbitrarily close toL
(as close toL
as we like) by restrictingx
to be sufficiently close toa
(on either side ofa
) but NOT equal toa
.(This means that in finding the limit off(x)
asx
approachesa
, we never considerx = a
.)
Limit Laws #
Suppose that
c
is a constant and the limits and exist, Then:- , if
These five laws can be stated verbally as follows:
- Sum Law : The limit of a sum is the sum of the limits.
- Difference Law : The limit of a difference is the difference of the limits.
- Constant Multiple Law : The limit of a constant times a function is the constant times the limit of the function.
- Product Law : The limit of a product is the product of the limits.
- Quotient Law : The limit of a quotient is the quotient of the limits (provided that the limit of the denominator is not 0).
Squeeze Theorem #
- if and , then
- Sample: to prove
- we know:
- then:
- so:
Continuity #
- Definition 1:
- A function
f
is continuous at a number a, if- Notice that this Definition implicitly requires three things if
f
is continuous ata
: 1.f(a)
is defined (that is,a
is in the domain off
) 2. exists 3.
- Notice that this Definition implicitly requires three things if
- A function
- Definition 2:
- A function
f
is continuous from the right at a number a if , andf
is continuous from the left at a if
- A function
- Definition 3:
- A function
f
is continuous on the interval(a, b)
, if for all pointsc
so thata < c < b
,f(x)
is continuous atc
.- close intervals:
- To say “
f(x)
is continuous on the interval[a, b]
”, means:f(x)
is continuous on the interval(a, b)
- To say “
- close intervals:
- A function
The Intermediate Value Theorem #
- Suppose that
f
is continuous on the closed interval[a, b]
and letN
be any number betweenf(a)
andf(b)
, where . Then there exists a numberc
in[a, b]
such that . - For example: how to approximate root two?
- use function
- when , this function equals
0
, - so i just need to look for a positive value, that I can plug into this function to make it equals zero.
- We know that
f(1)=-1<0
andf(2)=2>0
. So base on The Intermediate Value Theorem, there must be a value in domain (1, 2) that existc
such thatf(c) = 0
. - to continue calculating
f(1.5)=0.25>0
, we got , then … then we are getting closer and closer to .
Fixed Point #
- Definition
- A fixed point of a function
f
is a numberc
in its domain such thatf(c) = c
. (The function doesn’t movec
; it stays fixed.)- if
f(x)
continuous on[0,1]
, and , then there is anx
in domain[0, 1]
, existf(x) = x
.- To Prove:
- Assumption:
g(x) = f(x) - x
, sog(x)
is continuous g(0) = f(0) - 0 >= 0
g(1) = f(1) - 1 <= 1
- Base on the IVT(Intermediate Value Theorem), there must be an
x
such thatg(x) = 0
, which isf(x) = x
.
- if
- A fixed point of a function
Infinity #
Definition
- means that
f(x)
is as large as you like providesx
is close enough toa
. - means that
f(x)
is close enough toL
providedx
is large enough. - if or , then the line
y = L
is called a horizontal asymptote of the curvey = f(x)
:
- means that
Potential Infinity vs Actual Infinity (from Wikipedia)
- Actual Infinity is the idea that numbers, or some other type of mathematical object, can form an actual, completed totality;
- Such as the set of all natural numbers, an infinite sequence of rational numbers.
- Potential Infinity is a non-terminating process (such as “add 1 to the previous number”) produces an unending “infinite” sequence of results, but each individual result is finite and is achieved in a finite number of steps.
- Actual Infinity is the idea that numbers, or some other type of mathematical object, can form an actual, completed totality;
Precise Definitions
- means:
- for all , there is ,
- so that if ( and x in within of
a
), then (f(x)
is within ofL
).|x - a|
is the distance from x to a and|f(x) - L|
is the distance from f(x) to L.- so means that the distance between f(x) and L can be made arbitrarily small by requiring that the distance from x to a be sufficiently small (but not 0).
- For Example:
- Let’s say , that means ,
3.9 < f(x) < 4.1
, - Base on the definition, there should be a , that to satisfy the demand.
- Try . We got
1.99 < x < 2.01
,3.9601 < x^2 < 4.0401
,3.9 < f(x) < 4.1
which suit the demand.
- Let’s say , that means ,
- Another Example:
- Let
- if , then,
- , and so,
- means:
Review Questions #
- defintion of function and inverse of function. what are the notations?
- double check the definition of inverse of function.
- what is linear/polynomial/power/rational function?
- what is the difference between polynomial and power function?
- what is the relation between polynomial and rational function?
- what is algebraic/trigonometric/expoential/logarithmic function?
- what are the limit and limit laws?
- sum/difference/constant mutiple/product/quotient law
- what is sqeeze theorem?
- how to check whether a function is countinuous at a point?
- what is the intermediate value theorem?
- wthat is a fixed point?
- what is infinity?
- check the precise definition.
- [optional]what is the difference between actual infinity and potential infinity?