Week 2
Week 2
Review unit 1
Precalculus
domains of functions
log-rules
lines
2 / 48
Unit 2
Inverse Functions
Complete Square
Sequences
3 / 48
Inverse Functions
4 / 48
5 / 48
Question 1 a
Find a formula for the inverse of the function:
√
f (x) = 1 + 2 + 3x
6 / 48
Question 1 b
Find a formula for the inverse of the function without switching x and y :
√
f (x) = 1 + 2 + 3x
7 / 48
Question 2
8 / 48
Question 2
8 / 48
Question 3: Solving a Logarithmic Equation
Solve for x:
ln x + ln(x − 1) = 1
9 / 48
Question 3: Solving a Logarithmic Equation
Solve for x:
ln x + ln(x − 1) = 1
√
1± 1 + 4e
(a) x=
√2
1 + 1 + 4e
(b) x=
√2
1 − 1 + 4e
(c) x=
2√
−1 ± 1 + 4e
(d) x=
2
9 / 48
Complete Square
Examples:
10 / 48
Complete Square
Examples:
10 / 48
Complete Square
Examples:
10 / 48
Complete Square
Examples:
10 / 48
Sequences
a1 , a2 , a3 , . . . , an , . . .
Explicit sequences: We have a formula for the nth term of the sequence.
Recursive sequences: (also known as difference equations): The nth term of the sequence
depends on some of the terms that precede it.
11 / 48
Examples of Explicit Sequences
n
(a) an = n+1 , n ≥ 1:
12 / 48
Examples of Explicit Sequences
n
(a) an = n+1 , n ≥ 1:
12 / 48
Examples of Explicit Sequences
n
(a) an = n+1 , n ≥ 1:
(b) an = (−1)n−1 , n ≥ 1:
12 / 48
13 / 48
Question 1: Terms in a sequence
List the first five terms of the sequence, starting with n = 1:
(−1)n−1
an =
5n
14 / 48
Question 1: Terms in a sequence
List the first five terms of the sequence, starting with n = 1:
(−1)n−1
an =
5n
1 −1 1 −1 1
(a) , , , , ,...
5 25 125 625 3125
−1 1 −1 1 −1
(b) , , , , ,...
5 25 125 625 3125
1 −1 1 −1 1
(c) , , , , ,...
5 10 15 20 25
−1 1 −1 1 −1
(d) , , , , ,...
5 10 15 20 25
14 / 48
Examples of Recursive Sequences
a1 = 1, an+1 = 5an − 3
15 / 48
Examples of a Recursive Sequence
16 / 48
17 / 48
Question 2: List Recursive Sequence Terms
a1 = 2, a2 = 1, an+1 = an − an−1
18 / 48
Question 2: List Recursive Sequence Terms
a1 = 2, a2 = 1, an+1 = an − an−1
18 / 48
First-Order Difference Equations
a0 , a1 = f (a0 ), a2 = f (a1 ), . . . .
19 / 48
First-Order Difference Equations
Example: Geometric population growth
Nt+1 = 2Nt , N0 = 1 :
20 / 48
Question 3: Population Growth
21 / 48
22 / 48
(a) R>1
(b) R<1
(c) R=1
(d) R≥1
23 / 48
We focus on two types of sequences:
A sequence is a list of numbers written in a definite order
a1 , a2 , a3 , . . . , an , . . .
Explicit sequences: We have a formula for the nth term of the sequence.
Recursive sequences: (also known as difference equations): The nth term of the sequence
depends on some of the terms that precede it.
24 / 48
Examples of Explicit Sequences
n
(a) an = n+1 , n ≥ 1:
25 / 48
limits of Sequences
lim an = L or an → L as n → ∞
n→∞
If the limn→∞ an exists, we say the sequence converges.
Otherwise it diverges.
26 / 48
Examples of Explicit Sequences
n
an = n+1 , n ≥ 1:
27 / 48
an = (−1)n−1 , n ≥ 1:
28 / 48
Question 4: Convergent or Divergent?
Determine whether the sequence is convergent or divergent. If it is convergent, find the limit.
3 + 5n
an =
2 + 7n
29 / 48
Question 4: Convergent or Divergent?
Determine whether the sequence is convergent or divergent. If it is convergent, find the limit.
3 + 5n
an =
2 + 7n
29 / 48
Question 5: Convergent or Divergent?
Determine whether the sequence is convergent or divergent. If it is convergent, find the limit.
n2
an = √
n3 + 4n
30 / 48
Question 5: Convergent or Divergent?
Determine whether the sequence is convergent or divergent. If it is convergent, find the limit.
n2
an = √
n3 + 4n
(a) Diverges
(b) Converges to 0
(c) Converges to 1
(d) Converges to 1/2
30 / 48
Question 6: Convergent or Divergent?
Determine whether the sequence is convergent or divergent. If it is convergent, find the limit.
−n4 + 1
an = √
n2 − 4n + 5
31 / 48
Question 6: Convergent or Divergent?
Determine whether the sequence is convergent or divergent. If it is convergent, find the limit.
−n4 + 1
an = √
n2 − 4n + 5
(a) Diverges
(b) Converges to 0
(c) Converges to -1
1
(d) Converges to 2
31 / 48
Question 7: Convergent or Divergent?
32 / 48
Question 7: Convergent or Divergent?
32 / 48
33 / 48
Question 8: True/False Convergence
a1 = 2, an+1 = 2an − 1
(a) True
(b) False
34 / 48
35 / 48
Question 9: Recursive Sequence Convergence
√
a1 = 1, an+1 = 2 + an
36 / 48
37 / 48
Review recursive sequences
Nt+1 = RNt
bn+1 = c + rbn
xt+1 = cxt (1 − xt )
The first two of these examples are linear; the third is nonlinear.
38 / 48
Review recursive sequences
Nt+1 = RNt
bn+1 = c + rbn
xt+1 = cxt (1 − xt )
The first two of these examples are linear; the third is nonlinear.
When the function f in a difference equation is a linear function, we can use mathematics
to rewrite the recursive sequence as an explicit sequence (that is, in terms of n or t). The
explicit form of the sequence is called the solution to the linear difference equation.
38 / 48
Geometric Series
sn = a + ar + ar 2 + . . . + ar n−1 + ar n
39 / 48
40 / 48
Question 10:
A patient takes 150 mg of a drug at the same time every day. Just before each tablet is taken
5% of the drug present in the preceding time step remains in the body.
The amount of drug in the patient after the first tablet is s0 = 150 mg
After the second tablet it is
43 / 48
Geometric Series
In the pre-class video we learned that the geometric series can be summed
1 − r n+1
sn = a + ar + ar 2 + . . . + ar n−1 + ar n = a .
1−r
The amount of drug in the patient after the (n + 1)th tablet is a geometric series with
a = 150 and r = 0.05
1 − r n+1 1 − 0.05n+1
sn = a mg = 150 mg.
1−r 1 − 0.05
In the long term, the amount of drug in the patient is
1 − 0.05n+1 150
lim 150 mg = mg = 157.895 mg,
n→∞ 1 − 0.05 1 − 0.05
only slight more than after the second tablet.
44 / 48
Linear Difference Equation
bn+1 = c + rbn , b0 = a,
where c is the amount of new medication introduced each time step, r is the amount of
medication remaining from the last time step and a is the amount of medication in the
patient before treatment
The solution from the video (and given in the text page 95) is
1 − rn
n
bn = r a + c .
1−r
45 / 48
In the example before: a = 0, c = 150 and r = 0.05 so
1 − 0.05n
bn+1 = 150 + 0.05bn , b0 = 0, bn = 150 .
1 − 0.05
46 / 48
Question 11: The Logistic Equation
We can try the same idea to find the limit for the logistic equation, which is a nonlinear,
first-order difference equation (we will not be able to obtain the solution for this
sequence),
xt+1 = cxt (1 − xt ).
Let us choose c = 2.8 and x0 = 0.8, and generate the sequence using Wolfram Alpha
Link to see if the sequence converges.
47 / 48
Finding the Limit for the Logistic Equation
Recall
xt+1 = 2.8xt (1 − xt ).
48 / 48