Professional Documents
Culture Documents
L ECTURE 1
Be in zoom, camera ON, muted. Unmute yourself when you want to ask questions.
Read Announcements!
1
INTRO.
THE red ONE is x2 + 2 (a quadratic, so parabola), the BLUE one is 3x + 1 (linear), and the GREEN
one is x3 (a cubic)!
√
EXC: What is the range of T (x) = −x − 4 + 4?
√
ANSWER: NOTE that T (x) = −x − 4 + 4 ≥ 0 + 4 = 4, so the range is [4, ∞). BTW, the domain
is found by solving: −x − 4 ≥ 0, OR −4 ≥ x, so D = (−∞, −4].
5
666
EXC (HOME) Can you find the domain of H(x) = √ ?
−x − 4
HINT: Think of −x − 4 > 0. In other words: −4 > x, or x ∈ (−∞, −4). CAN YOU FIND THE
RANGE? THINK OF THE SIGNS OF TOP AND BOTTOM: (0, ∞).
PRACTICE HOME:
Solve: a) |x2 − 2| < 2.
HINT: The above is equivalent to: −2 < x2 − 2 < 2, or: 0 < x2 < 4. There are 2 parts NOW:
0 < x2 which gives: x ∈ (−∞, 0) ∪ (0, ∞),
and
x2 < 4, or x2 − 4 < 0, or (x − 2)(x + 2) < 0, that gives x ∈ (−2, 2).
NOW Intersect the above and we are done!
b) −x + |x − 1| < 3.
HINT: Case 1. If x ≥ 1, THEN: −x + x − 1 < 3, that gives −1 < 3 which is always true. SO: [1, ∞).
Case 2. If x < 1, THEN −x − x + 1 < 3, that gives 1 − 3 < 2x, or −1 < x. SO: (−1, 1).
PUT together now the 2 cases!
c) |666 − 3x| ≥ 66,
HINT: use cases!
EITHER: 666 − 3x ≥ 66 OR 666 − 3x ≤ −66. SOLVE them both and put them together (UNION!).
d) x3 − 1 = 0,
Hint: MOVE -1 to the right, use exponent Laws!
e) 65x − 12 = 14 − 5x,
Hint: PUT all terms containing x in one side! Collect Alike terms!
3−x
f) <1
1+x
HINT: move 1 to the left, go to same denominator, and compare (use cases, or a table) the resulting
fraction to 0. Express the final answer using intervals! NOTE that x 6= −1. In other words:
3−x 3−x 1
− 1 < 0, or − < 0, cross multiply to get one fraction!! You must solve now:
1+x 1+x 1
2 − 2x
< 0.
1+x
x −∞ -1 1 ∞
2 − 2x + + 0 --
1+x - 0 + +
2 − 2x
? UND ? ?
1+x
(−∞, −1) ∪ (1, ∞).
1 − x2
g) ≥ 0.
x−5
HINT: Note that x 6= 5. Factor the NUMERATOR (use difference of squares)! Use a table! NOTE:
1 − x2 = (1 − x)(1 + x).
6
— 1300 —
L ECTURE 2
Be in zoom, camera ON, muted. Unmute yourself when you want to ask questions.
Read Announcements!
1
Graphing, Basic Functions.
Today only basic ideas. Recall last lecture: functions, domain, range!
Example 1. DEFINE the absolute value function:
(
x if x ≥ 0
y = |x| =
−x if x < 0
Its Range is [0, ∞) (because |x| ≥ 0), and domain is (−∞, ∞). Its graph is below:
Using translations (vertical or horizontal) one can create other functions and their graphs:
Example 2. Consider f (x) = |x| − 3.
Its Range is [−3, ∞) (because |x| − 3 ≥ 0 − 3 = −3), and domain is (−∞, ∞). Its graph is below:
Vertical Shift!
2
Example 3. Consider f (x) = |x| + 2.
Its Range is [2, ∞) (because |x| + 2 ≥ 0 + 2 = 2), and domain is (−∞, ∞). Its graph is below:
Vertical translation!
Example 4. Consider f (x) = |x − 4|.
Its Range is [0, ∞) (because |x − 4| ≥ 0), and domain is (−∞, ∞). Its graph is below:
Horizontal translation!
3
Example 5. Consider f (x) = |x + 1|.
Its Range is [0, ∞) (because |x + 1| ≥ 0), and domain is (−∞, ∞). Its graph is below:
Horizontal translation!
IMPORTANT POINTS on Graphs:
Given a function y = f (x), we define the
x - intercepts as the roots of y = f (x) = 0;
y -intercept to be f (0) IF 0 ∈ domain of f .
Example: The graph of a quadratic y = f (x) = ax2 + bx + c is called a Parabola. Here a 6= 0. If
a > 0, it opens up (the graph is called Concave UP), and if a < 0 it opens down (the graph is called
Concave down).
On can see the vertex associated to a parabola below:
In one case the vertex is the minimum (see the red graph), and in the other case is the maximum
(see the blue one).
The coordinates of the vertex are below: (obtained from completing the square!!)
4
−b −b
V( , f ( ))
2a 2a
Exc. Find the x, y -intercepts, domain, range of f (x) = x2 − 5x + 6.
Sol: First let us talk about the domain: Any quadratic has domain (−∞, +∞) since no restrictions
on the input x. For range we need the vertex, and the sign of a.
The y intercept: Compute f (0) = 02 − 5 × 0 + 6 = 6, so (0, 6).
To get the x -intercepts (if any) solve f (x) = 0 as follows:
x2 − 5x + 6 = 0 implies that (x − 2)(x − 3) = 0, so x1 = 2, x2 = 3. SO: (2, 0) and (3, 0). (One may
use the quadratic formula to get the roots...)
−b −(−5)
Here a = 1, b = −5, c = 6. So = = 2.5, and f (−2.5) = −0.25. HENCE the vertex is:
2a 2
V (2.5, −0.25).
Since a > 0, it opens up (graph is concave up) so range is [−0.25, ∞). The graph is below:
One app:
Exercise ( Break Even analysis)
Let us say I started a new profitable bussiness: I am selling cells to mafia bosses in Gotham. Using
some of my funds (from Batman) I invest in my new bussiness 6000 dollars. The cost of producing
a cell is 6.50 dollars. I sell one cell for 13.90 dollars. If we let x denote (represent) the number of
units I am producing in my cave, we can CREATE 2 functions:
The COST: C(x) = 6000 + 6.50x (note the initial cost in the formula!)
The REVENUE: R(x) = 13.90x
What makes sense is THIS: x ≥ 0. The domain of these 2 functions: [0, ∞).
MORE: BREAK EVEN happens only when C(x) = R(x). To solve 6000 + 6.50x = 13.90x, put all
terms containing x in one side, and then collect the alike terms, then isolate x:
6000 = −6.50x + 13.90x
6000 = 7.4x
6000
=x
7.4
5
THis can be seen from graphs too:
We are led thus from this example to recall another basic function:
The linear FUNCTION, y = f (x) = mx + n. Its Domain is (−∞, ∞). If m 6= 0, then Range is
(−∞, ∞).
Its Graph is a LINE! The number m is called the SLOPE, while n is called the y intercept (recall
∆y
that f (0) = n). In fact m = . One may use the words RISE, RUN too to define slope.
∆x
Exercise. Find the equation of the line passing through the points A(−2, −5) and B(−3, 6).
6 − (−5)
Solution: Say the equation is y = mx + n. Find slope as follows: m = = 11/ − 1 = −11
−3 − (−2)
So the eq is now: y = −11x + n, so to find n plug one of the points (that is clearly on the line):
−5 = −11 × (−2) + n so n = −5 − 22 = −27.
SO that equation is y = −11x − 27. Its graph is below.
8
— 1300 —
L ECTURE 3
Be in zoom, camera ON, muted. Unmute yourself when you want to ask questions.
Read Announcements!
1
GEOMETRIC series:
If I give you 45 numbers and ask about the sum of that numbers, one just adds all, and because
the amount of additions is finite, one finds an outcome.
WHAT IF I GIVE YOU INFINITELY MANY NUMBERS TO ADD?
DEFINITION: A sequence is a list of real numbers, we may denoted a0 , a1 , a2 , ....., an , ....., or:
{an }n≥0 .
2
EXAMPLE: an = , with n ≥ 0. List the first terms.
n+3
2 2
SOL: a0 = = ;
0+3 3
2 2
a1 = = = 2/4 = 1/2 = 0.5
1+3 4
2 2
a2 = =
2+3 5
2 2
a3 = = = 1/3, and so on.
3+3 6
√
EXAMPLE: If an = n + 7 + n + 6, find a8 .
√ √
SOL: a8 = 8 + 7 + 8 + 6 = 15 + 14.
DEFINITION: Given a sequence {an }, we define its associated series to be:
∞
P
an = a0 + a1 + a2 + · · · + an + . . .
n=0
How is done?
WE create another sequence, the sequence of partial sums:
s 0 = a0
s 1 = a0 + a1
s 2 = a0 + a1 + a2
and so on:
s n = a0 + a1 + a2 + · · · + an
sn+1 = a0 + a1 + a2 + · · · + an + an+1
.
.
.
IF THE VALUES {sn } are getting closer and closer and closer to a limiting value s, called the SUM,
we declare the series convergent, and
∞
P
s= an = a0 + a1 + a2 + · · · + an + . . .
n=0
Limits.
3
Definition: Let f be a function, let a be a number. We write lim f (x) = L and say the limit of f (x),
x→a
when x approaches a, is L if we can make the values of f (x) arbitrarily close to L, by taking x
sufficiently close to a, but not a.
NOTE: f MAY not be defined in a.
Example: Find/guess lim 2x. Here f (x) = 2x, and a = 0.
x→0
1 − cos(x) 1 − cos(x)
Another one: Find/ guess lim ; Here f (x) = , and a = 0.
x→0 x x
Consider x = 0.1, so f (0.1) = 0.049958,
Consider x = 0.01, so f (0.01) = 0.00499958,
Consider x = 0.001, so f (0.001) = 0.00049999996,
Consider x = −0.1, so f (−0.1) = −0.049958,
Consider x = −0.05, so f (−0.05) = −0.024994792
You may try more inputs, to get the corresponding outputs, BUT WE CAN GUESS FROM THIS 5
computations that
1 − cos(x)
lim =0
x→0 x
Exercise: Look at the graph below:
4
To find the limit: lim f (x) look at the behaviour of the function to the left and right of 1, and get
x→1
lim f (x) = DN E , or DOES NOT EXIST,
x→1
WHILE to find the limit lim f (x) look at the behaviour of the function to the left and right of 2,
x→2
and get lim f (x) = 4.
x→2
9 − x2
Example: FIND lim .
x→3 x − 3
9 − x2
SOL: Note that f (x) = IS NOT defined in 3. BUT can still compute the LIMIT:
x−3
9 − x2 (3 − x)(3 + x)
lim = lim = lim −(3 + x) = −(3 + 3) = −6. NOTE how we keep the symbol
x→3 x − 3 x→3 x−3 x→3
lim with till the end when we really compute the limit.
Some functions are defined ONLY on one side of a point!
EXAMPLE: f (x) = ln(x), f : (0, ∞) 7→ R
Question: HOW can we compute the limit in this case? The limit in 0?
DEFINITION: We write lim− f (x) = L if we can make the values of f (x) arbitrarly close to L, by
x→a
taking x sufficiently close to a with x < a. We call it the LEFT LIMIT!
We write lim+ f (x) = L if we can make the values of f (x) arbitrarly close to L, by taking x suffi-
x→a
ciently close to a with x > a. We call it the RIGHT LIMIT!
Theorem: One has that lim− f (x) = L = lim+ f (x) IF AND ONLY IF lim f (x) = L.
x→a x→a x→a
x
EXAMPLE: FIND lim .
x→0 |x|
x x
SOLUTION: Left limit is lim− = lim− = lim− −1 = −1.
x→0 |x| x→0 −x x→0
x x
Right limit is lim+ = lim+ = lim+ 1 = 1.
x→0 |x| x→0 x x→0
x
SINCE 1 6= −1, our limit (lim ) Does NOT EXist!
x→0 |x|
Memorize them!
1 − x4
Example: FIND lim .
x→1 x − 1
5
1 − x4 (1 − x2 )(1 + x2 )
SOL: If you plug in 1, you get 0/0, BAD! So Let us factor first: lim = lim =
x→1 x − 1 x→1 x−1
(1 − x)(1 + x)(1 + x2 )
lim = lim −(1 + x)(1 + x2 ) = −(1 + 1)(1 + 12 ) = −4.
x→1 x−1 x→1
Solution: Note that lim x3 − 2x + 666 = lim x3 − lim 2x + lim 666 = ( lim x)3 − 2 lim x + 666 =
x→−1 x→−1 x→−1 x→−1 x→−1 x→−1
3 3
(−1) − 2(−1) + 666 = 667. HERE WE USED THAT x = xxx, and we applied the above rules.
DEFINITION: A function is continuous at a if lim f (x) = f (a). Otherwise we say f is discontinu-
x→a
ous at a.
NOTE: a IS IN THE domain of f .
DEFINITION: A function is called continuous if it is continuous at every point in its domain.
IDEA: You may draw it without lifting the pencil!!!
√ √
POLYNOMIALS are continuous, x is continuous on [0, ∞), while 3 x is continuous on (−∞, ∞).
Combinations The sum, difference, product, of 2 continuous functions is continuous; the quotient
is continuous as long as the denominator is not zero! Composition of continuous functions gives
a continuous function.
(
x + 5, if x ≥ 3
Exercise: Cosider the following function f (x) =
x3 − 19, if x < 3
Solution: first note that 3 is in the domain of f , here the domain is (−∞, ∞).
a) We compute lim+ f (x) = lim+ x + 5 = 3 + 5 = 8,
x→3 x→3
c) So lim f (x) = 8.
x→3
Solution: Recall the graph of the absolute function, so recall that the absolute function is continu-
ous.
Hence: lim g(x) = lim |x2 + x − 666| = | lim x2 + x − 666| = |(−1)2 + (−1) − 666| = 666.
x→−1 x→−1 x→−1
x − 1 , if x 6= 1, −1
BIG question: is f continuous in −1? ANSWER: NO, note that −1 is NOT in the domain of f .
PRACTICE HOME:
√
x−3
1.FIND lim
x→9 18 − 2x
7
— 1300 —
L ECTURE 4
Be in zoom, camera ON, muted. Unmute yourself when you want to ask questions.
Read Announcements!
1
Limits, LOGS, compounding.
Last lecture we talked about limits, side limits, continuity. As an example: polynomials of any
degree are continouos on (−∞, ∞). One more:
P (x)
Consider f (x) = where both P, Q are polynomials. IT is continuous on D = {x ∈ R|Q(x) 6=
Q(x)
0}.
Another one that we already encountered: y = f (x) = |x|. CONTINOUOS on R. Memorize the
graph!
Tricky question: Which one of the following limits needs the computation of the side limits?
4−x
a) lim
x→4 |x − 4|
3−x
b) lim
x→2 |x − 3|
4−x
Hint: a) do we change a formula at 4? YES! Think of lim− =?
x→4 |x − 4|
THINK OF: x < 4 ⇒ x − 4 < 0 ⇒ |x − 4| = −(x − 4), Hence: OUR Left limit is:
4−x
= lim− = lim 1 = 1.
x→4 −(x − 4) x→4−
4−x
Can You get now the RIGHT LIMIT: lim+ ?
x→4 |x − 4|
Answer: DNE
b) we do NOT need side limits here, JUST plug in 2! RECALL last LEC rules (e.g., the ratio rule!!!)
The Exponential Function: Consider a > 0 such that a 6= 1. Construct f (x) = ax for any x ∈ R. It
is called the exponential function of base a. Domain is D = (−∞, ∞) and Range is (0, ∞). NOTE
the y intercept: (0, 1). Its graph when a > 1 is (increasing):
2
and its graph when 0 < a < 1 is (decreasing):
DEFINITION: The number e is the unique positive real number such that the tangent line to the
graph of the exponential function (with that base) has slope exactly 1.
When a = e, the name is NATURAL LOGARITHM, its notation: ln(x) = loge (x).
Another useful logarithm is log(x) = log10 (x).
THE GOVERNING IDEA IS: ax = y if and only if loga (y) = x. IT is USED in equations!
Log Laws:
Let a, b, and c be positive real numbers. Let d be any real number.
(1) loga (1) = 0 WHY? Because a0 = 1
(2) loga (a) = 1 WHY? Because a1 = a
(3) aloga (b) = b
(4) loga (ad ) = d Why? Because ad = ad
(5) loga (bd ) = d loga (b)
(6) loga (bc) = loga (b) + loga (c)
4
b
(7) loga ( ) = loga (b) − loga (c)
c
logb (c)
(8) loga (c) = this is good when you want to change the base!
logb (a)
Exercise: Solve 2x+3 = 162x−1 .
Solution: apply log to both sides: log2 (2x+3 ) = log2 (162x−1 ), and this leads to:
x + 3 = (2x − 1) log2 (16), so x + 3 = (2x − 1)4.
We get that x + 3 = 8x − 4, or 7 = 7x, so x = 1.
Exercise: Solve log10 (3x−1 ) = 4.
4
Solution: Use the LOG laws, and get (x − 1) log10 (3) = 4, so x − 1 = , which gives us that
log10 (3)
4
x=1+ .
log10 (3)
For what are these functions useful? To Model Compounding!
Let us say I invest 1 dollar in a bank called ” Welcome to Corruption”. Assume they pay r% in-
terest. Compounding means taking money out of the famous bank, and immediately reinvesting,
thus I can collect interest on the interest! Based on the number of compoundings (and on the
initial investement) one get the amount of money in the account. BUT, the more I compound, the
more money I make. Of course the amount of increase gets less and less...
Anyway, if r = 100%, and n = number of compounding times, the sequence for t = 1 is: 2(n = 1),
2.25(n = 2), ... , 2.7(n = 100), 2.71(n = 10000), and all these numbers approach e ....
IN GENERAL:
P = initial investment (deposit)
r = interest rate (must a number between 0 and 1)
n = number of times compounded per year
t = number of years
r
A(t) = P (1 + )nt amount in account after t years.
n
Example: Assume P = 2500, rate is 5%, t = 20 years.
0.05 20
When n = 1, one gets A(20) = 2500(1 + ) ≈ 6633.24
1
0.05 40
When n = 2, one gets A(20) = 2500(1 + ) ≈ 6712.66
2
0.05 80
When n = 4, one gets A(20) = 2500(1 + ) ≈ 6753.71
4
You can see that the amount increases.
NOW, what is CONTINUOUS compounding? It is the limiting process when n → ∞.
And one gets: A(t) = P ert .
For the example above: A(20) = 2500e0.05×20 ≈ 6795.71.
Practice:
1. Solve ln(x − 1) = e + 1.
5
Sol: One has eln(x−1) = ee+1 , or x − 1 = ee+1 , so x = 1 + ee+1 .
2. What is the domain of f (x) = − ln(3 − x)?
SOL: One must impose the condition: 3 − x > 0, hence 3 > x, so D = (−∞, 3).
√
x−7
3. What is the domain of g(x) = e ?
SOL: Impose the condition: x ≥ 0, hence D = [0, ∞).
√
4. What is the domain and what is the range of h(x) = −x − 4?
SOL: For domain: impose −x ≥ 0, or x ≤ 0, hence D = (−∞, 0].
√
For range note that h(x) = −x − 4 ≥ 0 − 4 = −4, hence range is [−4, ∞).
−1
5. WHY log4 ( 21 ) = 2
?
−1 1 1
SOL: Because 4 2 = = √ = 1/2.
1
4 2 4
6. Why log5 (25) = 2?
Sol: Because: 52 = 25.
7. Solve 3(8x−1 ) = 6(91−x ).
Sol: Apply LN to both sides: ln{3(8x−1 )} = ln{6(91−x )}, then use the LOG laws:
ln(3) + ln(8x−1 ) = ln(6) + ln(91−x ), hence:
ln(3) + (x − 1) ln(8) = ln(6) + (1 − x) ln(9), thus
ln(3) + x ln(8) − ln(8) = ln(6) + ln(9) − x ln(9), And NOW collect the alike terms:
x{ln(8) + ln(9)} = ln(6) + ln(9) + ln(8) − ln(3),
6×9×8
x ln(72) = ln( ),
3
ln(144)
x=
ln(72)
Yahooooo
TRY HOME: Can you match the functions: ln(x), ln(x) + 2, ln(−x), and ln(x + 1) withe the below
graphs?
6
TRY HOME: Can you match the functions: ex , ex + 2, e−x , and ex+1 withe the below graphs?
7
— 1300 —
L ECTURE 5
Be in zoom, camera ON, muted. Unmute yourself when you want to ask questions.
Read Announcements!
1
LOGS, SLOPES, Derivatives.
Last lecture we presented the logs, and their laws. The graph of ln(x) is below (recall its Domain
= (0, ∞), and its range = (−∞, ∞)):
In particular note that there is NO y intercept, and that the x intercept is (1, 0).
Exercise 1. Simplify: e4 ln(3) .
4
Sol: One has by the LOG laws that e4 ln(3) = eln(3 ) = 34 = 81.
Exc 2. Solve: log5 (9x + 23) = 2.
Sol: use an exponential to cancel the LOG: 5log5 (9x+23) = 52 . Hence
2 2
9x + 23 = 25, or 9x = 25 − 23, and it follows that x = . NOTE that when we replace x = in our
9 9
expression: 9x + 23, one obtains a POSITIVE number, so we are OK.
PLAN: Isolate ONE logarithm on one side of the equation, then raise both sides of the equation
as exponents of the same appropriate base and solve for the required variable.
Exc 3. Solve log6 (y + 1) = 4 + log6 (2y + 3).
Sol: One has that log6 (y + 1) − log6 (2y + 3) = 4, or
y+1
log6 ( ) = 4, so
2y + 3
y+1
6log6 ( 2y+3 ) = 64 , hence
y+1
= 1294, or in fact y + 1 = 1296(2y + 3) = 1296 × 2y + 1296 × 3. Isolate y = 3887/ − 2591, BUT
2y + 3
It is NOT a solution. WHY? The expressison y + 1 becomes negative if this value y = 3887/ − 2591
is replaced. SO NO SOLUTIONS!
EXC 4. Solve log10 (x − 6) = 1 − log10 (x − 3).
Sol: NOTE that x − 6 > 0, and x − 3 > 0 in order for the LOGs to exist!!!
PUT all logs in one side: log10 (x − 6) + log10 (x − 3) = 1. Hence by log laws:
log10 {(x − 6)(x − 3)} = 1, so: 10log10 {(x−6)(x−3)} = 101 , and we get:
2
x2 − 3x − 6x + 18 = 10. The quadratic becomes: x2 − 9x + 8 = 0, thus (x − 1)(x − 8) = 0 which
gives x1 = 1 and x2 = 8. NOTE that 1 is NOT a solution, because x − 3 becomes negative for that
value! So only one solution: x = 8.
Exc 5. The Punisher wishes to invest a sum of 12,000 dollars in a corrupted bank in Gotham City
now, that he wants to be worth 14,000 dollars to help pay for her comic books. She found a savings
account that will pay 3% per year, compounded monthly. How long will she have to wait until
the value of the investment reaches the desired amount?
SOL: Let us set up the formula from last lecture as follows:
0.03 12t
14000 = 12000(1 + ) . Then one has that:
12
14000 0.03 12t 7
= (1 + ) , so = (1.0025)12t .
12000 12 6
7 7
NOW: Use LN as follows: ln( ) = ln((1.0025)12t ), thus ln( ) = 12t ln(1.0025),
6 6
7
ln( )
hence t = 6 . (FYI: 5.1448)
12 ln(1.0025)
EXC 6. Do same problem but under the conditon: interest is compounded continuously!
Sol: We solve 14000 = 12000e0.03t as follows:
7 7
= e0.03t , so ln( ) = ln(e0.03t ). This gives us that:
6 6
7
7 ln( )
ln( ) = 0.03t, hence: t = 6 . (FYI: 5.138, so Faster!)
6 0.03
TANGENTS and their slopes:
The main motivation for the introduction of derivative is the tanget problem. Consider a function
f , and a point (a, f (a)) on the graph. How can we find the equation of the tangent line to the
graph of f at a? To get that equation one needs its slope.
The idea is the following: consider another point Q(a + h, f (a + h)) on the graph, connect Q and
P and create a secant line. The closer h gets to 0, the closer the secant line gets to the tangent line.
So we are led to the following:
Definition: The slope of the tangent line to the graph of f at a is:
f (a + h) − f (a)
m = lim , which in fact is what weare going to call the derivative of f in a: f 0 (a).
h→0 h
√
Exercise 7 Find the equation of the tangent line to the graph of f (x) = x + 3 + 1 at the point:
(1, 3).
3
f (1 + h) − f (1)
Solution: If the equation we are looking for is: y = mx + n, then m = lim =
√ √ √ √ √ √ h→0 h
1+h+3+1− 1+3−1 h+4− 4 h+4+ 4 h+4−4
lim = lim × √ √ = lim √ √ =
h→0 h h→0 h h+4+ 4 h→0 h( h + 4 + 4)
1 1
lim √ √ = .
h→0 h+4+ 4 4
Hence the equation becomes y = 14 x + n. If we plug the point (1, 3) in this equation we can isolate
n:
1 11
3= 4
+ n, hence n = 4
. Therefore y = 14 x + 11
4
.
√
The graph of f (x) = x + 3 + 1 and its tangent line at (1, 3) are offered below:
Exercise 8 Find the slope of the tangent line to the graph of y = f (x) = 4x − x2 at the point: (x, y).
f (x + h) − f (x) 4h − 2xh − h2
Solution: One has that m = lim = lim =
h→0 h h→0 h
lim 4 − 2x − h = 4 − 2x. In this way we obtained the slope for any point on the graph!
h→0
The graph of f (x) = 4x − x2 and its tangent line at (1, 3) are below:
DERIVATIVE as a FUNCTION:
4
f (x + h) − f (x)
Replacing a by a variable x in the definition of a derivative, one gets f 0 (x) = lim
h→0 h
if the limit exists. It is a new function, denoted f 0 , called the derivative of f .
−x − h + x3 + 3x2 h + 3xh2 + h3 + x − x3
lim =
h→0 h
3x2 h + 3xh2 + h3 − h
lim = lim 3x2 + 3xh + h2 − 1 = 3x2 − 1 by the rules in the previous lectures.
h→0 h h→0
x+h−x 1 1
lim √ √ = lim √ √ = √ by the rules estabilished in the previous sections.
h→0 h( x + h + x) h→0 x + h + x 2 x
When x = 1 the function and the tangent line are offered below in a graph:
5
2
Exercise 11 Find f 0 (x) if f (x) = .
x
Solution: By the first principles one has
2 2
0 f (x + h) − f (x) x+h
− x 2x − 2x − 2h
f (x) = lim = lim = lim =
h→0 h h→0 h h→0 h(x + h)x
−2 2
lim = − 2.
h→0 (x + h)x x
When x = 1.1 the function and the tangent line are offered below in a graph:
Definition: We say that f is differentiable in a if f 0 (a) exists (it is a real number). We say that f is
differentiable in an open interval if it is differentiable in each number in that interval.
Marginal Cost (you may think of marginal profit etc). What is it? Assume I produce some prod-
ucts, and say the cost is C(x) = 2x − (0.1)x2 . Here x is number of units I produce. The marginal
cost is the cost that results from making (creating) one additional UNIT.
7
— 1300 —
L ECTURE 6
Be in zoom, camera ON, muted. Unmute yourself when you want to ask questions.
Read Announcements!
1
Rules, CR, Demand Revenue.
1
Exercise 1. Find the equation of the tangent line to the graph of f (x) = at x = 1.
x
Sol: NOTE first that f (1) = 1. Now, say that th equation we need is: y = mx + b.
1 1 1×1−1×(1+h)
f (1 + h) − f (1) 1+h
− 1 1(1+h) 1−1−h
Here m = lim = lim = lim = lim =
h→0 h h→0 h h→0 h h→0 h(1 + h)
−h −1 −1
= lim = lim = = −1. NOTICE how we carried on the LIM till the end!
h→0 h(1 + h) h→0 1 + h 1+0
1 = −1 + b, so b = 2, so y = −x + 2. Graph is below:
Remarks: a) Computing with the definition/first principles the derivative (as a LIM) can be hard!
ii) Think of f (x) = |x|. IT is continuous everywhere, but NOT differentiable at x = 0. LOOK at te
graph!
2
iii) g(x) = x2/3 Is NOT DIFFERENTIABLE at x = 0. LOOK at the graph below:
For NOT Differentiable, think of: jumps, holes, corners, cusps, or where the tangent line to the
graph is a vertical line.
So, we need rules to find faster the derivatives:
DERIVATIVES OF SUMS, POWERS AND POLYNOMIALS
0
THEOREM (SUM RULE) {f (x) + g(x)} = f 0 (x) + g 0 (x). If one uses the other notation, then
df dg d(f + g)
+ =
dx dx dx
0 f (x + h) + g(x + h) − f (x) − g(x) f (x + h) − f (x) g(x + h) − g(x)
Proof: {f (x)+g(x)} = lim = lim +lim
h→0 h h→0 h h→0 h
= f 0 (x) + g 0 (x).
THEOREM (POWER RULE) {xp }0 = pxp−1 , when x > 0.
EXAMPLE: f (x) = x2
f (x + h) − f (x) (x + h)2 − x2 x2 + 2xh + h2 − x2
Solution: f 0 (x) = lim = lim = lim = lim 2x +
h→0 h h→0 h h→0 h h→0
h = 2x + 0 = 2x DONE
3
THEOREM (CONSTANT PRODUCT RULE) If c is a constant, then (cf (x))0 = cf 0 (x).
ExampleS: (3f (x))0 = 3f 0 (x) and (−6h(x))0 = −6h0 (x).
EXAMPLE: (23x4 )0 = 23(x4 )0 = 23 × 4x4−1 = 92x3 .
Using SUM and CONSTANT term rules one gets the difference rule:
0
{f (x) − g(x)} = f 0 (x) − g 0 (x).
• So, from now on you may compute the derivative of any polynomial.
EX: find the derivatives of
a) f (x) = −3x−3 + 4x2 − 5
1
b) g(x) = −x 2 − 4x20 − 5x + 666
4
c) h(x) = +x
x−45
SOLUTION: a) One has that (by above rules) : f 0 (x) = −3(−3)x−3−1 + 4(2)x2−1 − 5 × 0 = 9x−4 + 8x;
Recall that 5 = 5x0 .
1 −1
b) g 0 (x) = − 21 x 2 −1 − 4(20)x20−1 − 5(1)x0 + 666 × 0 = − 12 x 2 − 80x19 − 5, recall that x = x1 .
c) One must rewrite the function as : h(x) = 4x45 + x, so h0 (x) = 4 × 45x44 + 1 = 180x44 + 1
2+x
EXC: ONE CAN find as above the derivative of j(x) = , just split into 2 fractions, and use
x7
the rules.
2 x
SOL: Rewrite j(x) = 7 + 7 = 2x−7 + x−6 . HENCE:
x x
j 0 (x) = 2 × (−7)x−8 − 6x−7 = −14x−8 − 6x−7 .
More rules:
THE PRODUCT RULE, quotient rule
THE PRODUCT RULE: If f and g are differentiable, then the product f g IS differentiable. More-
over,
(f (x)g(x))0 = f 0 (x)g(x) + f (x)g(x)0 .
THE CONSTANT PRODUCT RULE: (cf (x))0 = c(f (x))0 .
d(f g) df dg
OTHER NOTATIONS: = g(x) + f (x) .
dx dx dx
f (x) 0 f 0 (x)g(x) − f (x)g 0 (x)
THE Quotient RULE: ( ) = .
g(x) (g(x))2
EX: Find the derivative of
x2 x7
a) f (x) = 1 − x + − 2x + x3
2 −7
−x3 + 2x5
b) g(x) =
2 + x6
2+x
c) h(x) = x10
1 + x3
Solution: a) One has by Product rule and the rules on sums, and powers that
4
2x 7x6 x2 x7
f 0 (x) = (0−1+ − )(2x+x3 )+(1−x+ − )(2+3x2 ) = (−1+x+x6 )(2x+x3 )+2+3x2 −2x−
2 −7 2 −7
3x3 +x2 + 23 x4 + 27 x7 + 37 x9 = −2x−x3 +2x2 +x4 +2x7 +x9 +2+3x2 −2x−3x3 +x2 + 32 x4 + 27 x7 + 73 x9 =
−4x − 4x3 + 6x2 + 52 x4 + 16 7
x7 + 10
7
x9 + 2
(−3x2 + 10x4 )(2 + x6 ) − (−x3 + 2x5 )(6x5 )
0
b) Here one has by quotient rule that g (x) = =
(2 + x6 )2
−6x2 − 3x8 + 20x4 + 10x10 + 6x8 − 12x10 −6x2 + 3x8 + 20x4 − 2x10
= =
(2 + x6 )2 (2 + x6 )2
3 2
2+x 10 (0 + 1)(1 + x ) − (2 + x)(3x )
c) One has: h(x) = 10x9 + x =
1 + x3 (1 + x3 )2
2 3
2+x
9 10 1 − 6x − 2x
= 10x +x
1 + x3 (1 + x3 )2
THE CHAIN RULE
THEOREM: Suppose that F (x) = (f ◦g)(x) = f (g(x)), where f, g ARE differentiable. Then F 0 (x) =
f 0 (g(x))g 0 (x).
MEMORIZE IT, you need it everyday in Cal 1, and twice a day in Cal 2 (if you take it).
Basic example: Find the derivative of (x + x3 )9 .
SOL: Write it as a chain as follows: f (x) = x9 AND g(x) = x + x3 . INDEED:
f (g(x)) = f (x + x3 ) = (x + x3 )9 WHICH IS OUR FUNCTION, WOW, (and realize that we need in
the future g 0 (x) = 1 + 3x2 and f 0 (x) = 9x8 ).
LET US APPLY CHAIN RULE NOW:
((x + x3 )9 )0 = f 0 (g(x))g 0 (x) = f 0 (x + x3 )(1 + 3x2 ) = 9(x + x3 )8 (1 + 3x2 ).
So: POWER RULE combined with Chain rule says this: if u(x) is a function, then (up )0 = pup−1 u0 (x).
EXC: find the derivative of
√
(a) h(x) = 6x + 7,
2
(b) k(x) = √
36 + x2
SOL: (a) Note that h(x) = (6x + 7)0.5 , because 1/2 = 0.5. BY chain Rule: h0 (x) = 0.5 × (6x + 7)0.5−1 ×
3
(6 + 0) = 3(6x + 7)−0.5 = .
(6x + 7)0.5
(b) Rewrite k(x) = 2(36 + x2 )−0.5 , hence by chain rule one gets that: k 0 (x) = 2 × (−0.5)(36 +
−2x
x2 )−0.5−1 (0 + 2x) = −2x(36 + x2 )−1.5 = .
(36 + x2 )1.5
DEMAND and REVENUE functions
Let x be the number of units the consumers are willing to purchase at price p, so we get a demand
function that is decreasing when x is increasing. Notation: p = D(x). Immediately one can create
the revenue function: R(x) = xD(x).
EXC: DF is a small business in ON that is open for business since 2019. It sells 2000 pens per
month at a rate of 10 dollars each. DF notices (from scientific surveys) that sales will increase by
250 pens for every 25 cents reduction in price. Find D(x), and R(x).
SOL: NEED to find p = D(x).
5
WE know that p = 10, when x = 2000, and
WE know that p = 9.75, when x = 2250.
NOW: p = D(x) = mx + b MUST be linear!
10 − 9.75 0.25 1
m= = =− .
2000 − 2250 −250 1000
1
SO: p = D(x) = − x + b. To find b use one of the points on the line:
1000
1 1
10 = − 2000 + b, so b = 10 + 2 = 12. Hence p = D(x) = − x + 12.
1000 1000
1 1 2
It follows that R(x) = xD(x) = x(− x + 12) = − x + 12x.
1000 1000
TRY HOME:
EXC: Find the derivative of:
a) f (x) = (66 + x55 )5 + x + 666.
HINT: Use chain rule + power rule: f 0 (x) = 5(66 + x55 )4 (0 + 55x54 ) + 1 + 0. Simplify it now!
b) Can we find the derivative of g(x) = xx ?
Hint: NO! Not yet! The above is NOT a Power!
c) h(x) = (2 + x4 )2 (x + 1)
HINT: h0 (x) = 2(2 + x4 )(0 + 4x3 ) × (x + 1) + (2 + x4 )2 × 1, simplify it now...
√
d) b(x) = x + 5
1
Hint: b0 (x) = (x + 5)−1/2 × 1, now just simplify it. Can you write the answer as a fraction, and
2
using a positive exponent?
e) k(x) = 67 .
−x
f) r(x) =
x+8
−1(x + 8) − (−x) × 1
Hint: r0 (x) = , now please do simplify the top.
(x + 8)2
6
— 1300 —
L ECTURE 7
Be in zoom, camera ON, muted. Unmute yourself when you want to ask questions.
Read Announcements!
1
Higher derivatives, Implicit differentiation.
(f 0 (x))0 = f 00 (x)
d2 f
and it is called the second derivative. Another notation: = f (2) (x).
dx2
In the same way one may define: the 3rd derivative f (3) (x), the 4th derivative f (4) (x) etc
REMARK: IF f (x) = x4 , then f 0 (x) = 4x3 , so one has f 00 (x) = 4 × 3x2 = 12x2 .
Example: IF f (x) = −8 + 45x + 3x2 − x3 , then: f 0 (x) = 0 + 45 + 6x − 3x2 = −3(x2 − 2x − 15).
Then: f 00 (x) = 6 − 6x = −6(x − 1).
1 1
EXC: Consider f (x) = + . Find f 00 (x).
x2 2x3
3
SOL: Use power rule and sum rule to get that f 0 (x) = −2x−3 − x−4 . So using again power rule
2
and sum rule one has that f 00 (x) = 6x−4 + 6x−5 .
IMPORTANT TOPIC:
IMPLICIT differentiation
When we do not know a formula of a function, but only a relation satisfied by that function, we
can still can find the derivative of the function! The principle works as follows: If f (x) = g(x),
then f 0 (x) = g 0 (x).
EXAMPLE: Find y 0 = y 0 (x) if our function y satisfies y 4 + xy = x.
SOLUTION: (read it many times) One has that (y 4 + xy)0 = (x)0 . So by the rules:
4y 3 y 0 + 1 × y + x × y 0 = 1.
1−y
NOW isolate our rate: y 0 from above by using algebra: y 0 4y 3 + x = 1 − y, hence y 0 = 3
.
4y + x
EX Find y 0 = y 0 (x) if you know that 6xy = x3 + y 3 . Then find the equation of the tangent line to the
graph of y(x) at the point (3, 3). Can you find at what point (x, y) with x > 0, y > 0 on the graph
of y one has a horizontal tangent line?
Solution: By Implicit differentiation one has that: 6y + 6xy 0 = 3x2 + 3y 2 y 0 , or if u divide by 3:
2y + 2xy 0 = x2 + y 2 y 0 . Now move some terms in one side, factor and Isolate:
0 2y − x2
2y − x2 = y (y 2 − 2x), so y 0 = .
y 2 − 2x
2 × 3 − 32
NOW just plug y = 3, and x = 3 and get that y 0 (3) = = −1.
32 − 2 × 3
So: Our tangent line is y = mx + n where m = y 0 (3), hence
y = −x + n. To get n just plug in x = 3 and y = 3 and note that 3 = −3 + n, or n = 6.
2
The tangent line is now: y = −x + 6.
x2
If you want to solve y 0 (x) = 0, just solve 2y − x2 = 0, or y = .
2
x2 x2 x6 x6
PLUG in the eq and get: 6x = x3 + ( )3 , or: 3x3 = x3 + . This leads to: 2x3 = .
2 2 8 8
We get then: 16x3 = x6 , or 16 = x3 RECALL that x > 0.
√ 1 1√
So x = 3 16, and then y = x2 = 3 256. So the point on the graph the punisher is looking for is:
2 2
√
3 1√3
( 16, 256).
2
The derivatives of EXP AND LOG
Theorem: (ex )0 = ex ; and the Chain ruls is in this case: (ef (x) )0 = ef (x) f 0 (x)
Theorem: (ln(x))0 = x1 : and the Chain rule is in this case: (ln(f (x)))0 = 1
f (x)
f 0 (x)
0
y exy x(x + 1) − 3y 2 = 6x2 − exy − exy y(x + 1)
,
6x2 − exy − exy y(x + 1)
y 0 = y 0 (x) = .
exy x(x + 1) − 3y 2
√
x2 + 4(1 + x)7
Ex. A bad punisher said find the derivative of f (x) = ln( ) (it is needed in his
(2 + x)6
global fight against an A+ crime organization).
Sol: First deal with log laws as follows:
1
f (x) = ln(x2 + 4) + 7 ln(1 + x) − 6 ln(2 + x), and then by sum and chain rules:
2
4
1 1 1 1
f 0 (x) = 2
(2x + 0) + 7 (0 + 1) − 6 (0 + 1) =
2x +4 1+x 2+x
x 7 6
= + −
x2 +4 1+x 2+x
ln(x)
EXC: Find the equation of the tangent line to the graph of y = f (x) = at x = e.
x
ln(e) 1
Sol: Note that f (e) = = . More: say the equation is y = mx + n. Then m = y 0 (e) = f 0 (e).
e e
1
x − ln(x) × 1 0
So we compute in general: f 0 (x) = x
2
, so f 0 (e) = 2 = 0, so the eq becomes
x e
y = 0x + n. To get n fill in a point:
1 1
= 0 × e + n, so y = .
e e
EXC Find the derivative of f (x) = ln(x5 + x + 1) + ee .
5x4 + 1 5x4 + 1
Sol: One has by chain rule: f 0 (x) = + 0 =
x5 + x + 1 x5 + x + 1
dy
EXC: Find y 0 (or ) at (0, 3) if exy = y 2 − 8 − x2 .
dx
Sol: Use Implicit diff and get: exy (1 × y + xy 0 ) = 2yy 0 − 0 − 2x.
PUT all terms with y 0 in one side, and factor y 0 :
y 0 xexy − 2y = −2x − yexy , divide NOW (to isolate what you need):
0 −2x − yexy
y = .
xexy − 2y
0−3
Plug x = 0 and y = 3 and see that y 0 (0) = = 1/2.
0−2×3
EXC: Find f 00 (x) if f (x) = x3 e2x .
Sol: One has by product rule that f 0 (x) = 3x2 e2x + x3 e2x 2.
So: f 00 (x) = 6xe2x + x3 e2x 4.
√
1−x
Exc: Find the derivative of g(x) = e .
√
0
√
1−x
√ 0
√
1−x 1 −0.5 −e 1−x
SOL: g (x) = e ( 1 − x) = e (1 − x) (0 − 1) = √ .
2 2 1−x
√
EXC: If xy + 2y = x find y 0 for (4, 1).
1
SOL: Use Implicit diff and get by chain rule: (xy)−0.5 1 × y + xy 0 + 2y 0 = 1,
2
0
Move the y terms in one side, and factor:
1 1
y 0 (xy)−0.5 x + 2 = 1 − (xy)−0.5 y, and NOW isolate:
2 2
1
1 − (xy)−0.5 y
y0 = 2 , so NOW plug x = 4 and y = 1:
1
(xy)−0.5 x + 2
2
5
1 − 12 × 12 × 1 3/4
y 0 (4) = 1 −0.5 × 4 + 2
= = 1/4.
2
× 4 3
6
— 1300 —
L ECTURE 8
Be in zoom, camera ON, muted. Unmute yourself when you want to ask questions.
Read Announcements!
1
Exponential Growth/Decay, LIMITS INC-DEC.
Last lecture we presented few rules on derivatives of LOG, EXP! Do your recall the Chain rule
versions?
Let t be the time, P (t) a population at time t. Then P (0) is called the INITIAL POPULATION. It is
denoted by P0 .
Examples: a) Human population in Ottawa, ON starting in 2001.
b) Number of UFOs in the US skies starting in 1930.
c) Number of fish in lake Ontario starting in 1989.
d) Number of bacteria in a culture in a lab in 2019.
Population evolves over time, it is a function of time.
DEFINITION: THe Population grows exponentially if P (t) = P0 bt for some real number b ≥ 0.
Example 1: The number of mosquitoes in a village is 160000 at 1 PM. At 3 PM the number of
mosquitoes in that village is 320000. Assume that this population grows exponentially. Find the
population count at 7 PM.
SOL: The set up is:
Let t be the time, P (t) a population at time t. Then P (0) = P0 = 160000, AND P (t) = P0 bt =
160000bt .
At 1 PM we have the beginning of our experiment/measurement; so t = 0.
At 3PM we have t = 2, so 320000 = P (2) = 160000b2 . Let us isolate b as follows:
320000 √
= b2 , or 2 = b2 , hence b = 2. RECALL that b ≥ 0.
160000
√ t √ 6 6
SO: P (t) = 160000 2 , and from here, at 7 PM, one has: P (6) = 160000 2 = 160000 × 2 2 =
160000 × 8 = 1280000.
REMARK: b stands for BASE, it is our goal to FIND it from the info offered in the text.
Radioactive substances decay exponentially: Uranium, Radon, etc.
DEFINITION: The half-life of a substance is the amount of time it takes for half of a mass of that
substance to DECAY.
EXERCISE 2: Cobalt has a half-life of 270 days. At the beginning in the reactor in Deep River there
were 8 grams. How many grams will there be after 1080 days?
SOL: The set up is:
Let t be the time, P (t) the mass at time t. Then P (0) = P0 = 8, AND P (t) = P0 bt = 8bt .
What we know is: P (270) = 8/2 = 4. LET us isolate for b:
4 1
4 = 8b270 , hence = b270 , or = b270 . It follows that:
8 2
1 1 1
( ) 270 = (b270 ) 270 , thus:
2
2
1 1
( ) 270 = b.
2
The formula becomes:
1 1 1 t
P (t) = 8(( ) 270 )t = 8(( ) 270 ). So now we can find the answer:
2 2
1 1080 1 1 1
P (1080) = 8(( ) 270 ) = 8(( )4 = 8 = gram.
2 2 16 2
Exercise 3. For the Data in Exercise 2: Find the time when the mass will reach 3 grams (and you
will see again why we need logs!)
1 t
3 = 8(( ) 270 ), or by dividing by 8:
2
3 1 t
= ( ) 270 . To simplify an exponential, USE a log (and their laws!):
8 2
3 1 t
ln( ) = ln( ) 270 , hence:
8 2
3 t 1
ln( ) = ln( ) thus:
8 270 2
3
3 1 270 ln( )
270 ln( ) = t ln( ), so: 8 = t, stays as is! Or Can simplify more:
8 2 1
ln( )
2
8
270 ln( )
3 =t
2
ln( )
1
LIMITS, assymptotes.
One may define in a similar manner with our previously done limits in an a :
DEFINITION: WE WRITE lim f (x) = L, if we can make the values of the outputs (i.e., f (x))
x→∞
arbitrarly close to L, by taking x sufficiently positive large.
DEFINITION: WE WRITE lim f (x) = L, if we can make the values of the outputs (i.e., f (x))
x→−∞
arbitrarly close to L, by taking x sufficiently negative large.
Hence y = −20, and y = 10 are Horizontal assymptotes for the above function.
Example: Think of f (x) = ex . One has lim ex = ∞. The behaviour is based on the graph of the
x→∞
exponential.
c c c
5. ∞ × ∞ = ∞; 6. = 0; 7. + = ∞ and − = −∞;
∞ 0 0
6x2 + 66
exc: FIND THE HORIZONTAL ASSYMPTOTES OF f (x) = .
−2x2 + 1
DEFINITION: We write lim f (x) = +∞ if we can make the values of f (x) arbitrarly positive large
x→a
by taking x sufficiently close to a, BUT not a.
Example: Based on the graph of the function f below one has that lim f (x) = ∞
x→2
4
Definition: We write lim f (x) = −∞ if we can make the values of f (x) arbitrarly negative large
x→a
by taking x sufficiently close to a, BUT not a.
Example: Based on the graph of the function f below one has that lim f (x) = −∞
x→6
REMARK: The famous cubic: g(x) = x3 is always increasing (on I = (−∞, ∞)):
FROM NOW on, we must create a table containing the 0s (ROOTS), and the signs (+ or -) of the
derivative!
INTUITION: (recall the link between slope of tangent line AND derivative)
a) You see for increasing functions the slope of tangent line is > 0:
7
b) You see for decreasing functions the slope of tangent line is < 0:
x3
EXC 4: Consider the function: g(x) = −3x + . FIND WHEN g is increasing, or decreasing.
4
IF you solve g 0 (x) = 0 one gets x = −2, and x = 2. The table of sign of the derivative (see the
TEST!) is:
8
SO g is increasing on (−∞, −2) and on (2, ∞), and NOTE that g is decreasing on (−2, 2).
32
EXC 5: Consider the function: f (x) = + x. FIND WHEN g is increasing, or decreasing.
x2
SOL: so we need to find on what intervals f is increasing, on what intervals is decreasing. NOTE
that the domain is D = {x|x 6= 0}.
0 −2 0 −3 −64 x3 − 64
The derivative is f (x) = (32x + x) = −64x +1= 3 +1= .
x x3
Solve f 0 (x) = 0 as follows: x3 = 64, x3 = 43 , so x = (43 )1/3 = 4.
The table is:
9
— 1300 —
L ECTURE 9
Be in zoom, camera ON, muted. Unmute yourself when you want to ask questions.
Read Announcements!
1
MAX, MIN.
Goal: Get the idea how to differentiate between a LOCAL max/min and a GLOBAL (ABSOLUTE)
max/min. In word exercises we are looking the absolute maximum or absolute minimum.
DEFINITION: A point c in the domain of f is called a critical point (use notation CP) of f if:
i) We say that c is a local or relative maximum if there is an open interval containing c, in the
domain of f , such that f (x) ≤ f (c) for all x in THAT INTERVAL!
ii) We say that c is a local or relative minimum if there is an open interval containing c, in the
domain of f , such that f (x) ≥ f (c) for all x in THAT INTERVAL!
iii) We say that c is a Global or abslolute maximum if f (x) ≤ f (c) for all x in the DOMAIN of f !
iv) We say that c is a Global or abslolute minimum if f (x) ≥ f (c) for all x in the DOMAIN of f !
EXAMPLE 2. Take g(x) = e2x , with domain the whole real line. NO extrema (local or global)
2
EXAMPLE 3. Let h be the function whose graph is below, with domain the real line. INFINITELY
many local(= global) maximum and minimum points!
EXAMPLE 4. Let k(x) = |x| when −2 ≤ x ≤ 3. Here: 0 is a LOCAL and GLOBAL MIN, while 3 is
a global MAX, while −2 is a local MAX.
3
Theorem: If f has a local max, or a local min at c, then c is a CP of f .
First DERIVATIVE TEST:
EXERCISE: Find ALL Critical Points of f (x) = x2 ex , and classify their type.
Sol. f is differentiable everywhere on domain: (−∞, ∞), and f 0 (x) = 2xex + x2 ex = ex (2x + x2 ) =
ex x(2 + x). Solving f 0 (x) = 0 one gets x = 0, x = −2. NOTE that ex 6= 0. SO −2, 0 are THE ONLY
CP of f . Look at the Table of 1st derivative:
Concavity.
What the second derivative tells us about the shape of the function?
If f 00 (x) > 0 on an interval, meaning f 0 (x) is increasing on that interval, then the slope of the
tangent line to f (x) is increasing. We shall call this shape concave up. (Holds water!)
If f 00 (x) < 0 on an interval, meaning f 0 (x) is decreasing on that interval, then the slope of the
tangent line to f (x) is decreasing. We shall call this shape concave down. (Does NOT hold water!)
A point x in the domain of f is called an inflecton point for f if the function f changes concavity at
that point! (FRom C Up to C down, or the other way around!)The candidates for inflection points
are found by solving f 00 (x) = 0.
REMARK: f (x) = x4 has f 00 (x) = 12x2 , so solving f 00 (x) = 0 gives x = 0 but this point IS NOT an
inflection point! WHY? f 00 > 0 everywhere except 0, so no change!
5
EXC: Find the inflection points of f (x) = −8 + 45x + 3x2 − x3 , and the intervals where it is concave
up, concave down
SOL: the first derivative is computed, f 0 (x) = 45 + 6x − 3x2 = −3(x2 − 2x − 15), hence f 00 (x) =
−3(2x − 2). Solve f 00 (x) = 0, and get x = 1. The table helps you find concavity:
x −∞ 1 ∞
-3 - - -
2x − 2 - 0 +
f 00 (x) + 0 -
f (x) concave UP 39 concave down
So 1 is an inflection POINT! MORE: f is concave up on (−∞, 1), and concave down on (1, ∞).
PRACTICE HOME:
EXC: On what interval(s) is f (x) = 5 + x − 12x2 + 2x3 + x4 concave down?
SOL: Whole real line is the domain! f 0 (x) = 1 − 24x + 6x2 + 4x3 , so f 00 (x) = −24 + 12x + 12x2 =
12(x2 + x − 2) = 12(x − 1)(x + 2).
The candidates for Inflection Points are: x = 1, x = −2. TABLE of SIGN for the second derivative
is
Hence BOTH −2 and 1 are Inflection POINTS. MORE: f is concave down on (−2, 1). It is concave
up on (−∞, −2) ∪ (1, ∞).
6
— 1300 —
L ECTURE 10
Be in zoom, camera ON, muted. Unmute yourself when you want to ask questions.
Read Announcements!
1
Concavity, Elasticity.
1
SO BOTH x = −1 and x = 1/2 are inflection points. MORE: f is concave down on (−1, ), while
2
it is concave UP on (−∞, −1) ∪ (0.5, ∞)
RECALL that for deciding local max/min we created tables with the signs of the 1st derivative.
We have now another trick for you:
SECOND DERIVATIVE test: Assume that f has a CP at c.
a) IF f 00 (c) < 0, then c is a LOCAL MAX;
b) IF f 00 (c) > 0, then c is a LOCAL MIN;
c) if f 00 (c) = 0, the test fails, do not apply it! It could be anything.
Elasticity of demand measures volatility of change of demand for a produced quantity of a given
product.
A product has an elastic demand if small changes in prices yield large changes in demand.
A product has an inelastic demand if large changes in prices yield small changes in demand.
The set up: let x be the number of units, let p(x) be the price at which we sell x units (in other
words, the demand function).
p(x)/x
DEFINITION: The elasticity of a demand function is: η = .
p0 (x)
SINCE p is decreasing, the denominator is negative, so always η is negative.
RULE:
5
— 1300 —
L ECTURE 11
Be in zoom, camera ON, muted. Unmute yourself when you want to ask questions.
Read Announcements!
1
Word Problems.
The cost is C = 30x + 20y + 20x = 50x + 20y. There are TWO variables! We need ONE!
12250
Recall 12250 = A = xy, so isolate, say, y = . THUS:
x
12250 245000
C(x) = 50x + 20 × = 50x + .
x x
RESTRICTIONS: Since x is a length: x > 0, so x is in I = (0, ∞).
245000
Compute the derivative: C 0 (x) = 50 − BECAUSE C(x) = 50x + 245000x−1 .
x2
245000 245000
To get the CP solve C 0 (x) = 0 as follows: 50 = 2
, or x2 = = 4900,
x 50
√ √ √ 12250
and since x is positive: x = + 4900 = 49 100 = 70, so y = = 175.
70
THIS x = 70 is a CP. It is the ONLY one. WHY? The other candidate (when the derivative does
not exist) is NOT in the domain!
3
245000
NOTE: C 00 (x) = × 2 > 0, (INDEED use: C 0 (x) = 50 − 245000x−2 )
x3
245000
so 70 is a LOCAL min. (WE ALSO have: : C 00 (70) = × 2 > 0)!!!!
703
EXC: To visit a resort in Kincardine, ON, a travel agency, Stealing N Corrupting, charges groups
of tourists 300$ per tourist, minus 3$ per tourist for each extra tourist over a group of size of 40.
It costs 6000$ plus 120$ per tourist to organize and manage the tour. How many tourists should
take the tour to maximize the proft?
Sol: Let x be the number of tourists taking the famous tour; THEN the price per tourist is:
profit is P (x) = R(x) − C(x) = 420x − 3x2 − 6000 − 120x = −3x2 + 300x − 6000.
300
CP are found here: 0 = P 0 (x) = −6x + 300, so x = = 50. It is the ONLY one!
6
The graph of P is parabola that is concave DOWN, so the CP is a local MAX, which will be a
GLOBAL max.
EXC: A Superhero from CNL (Can Not Lose) wants to create using science, and facts fom calculus,
an open box to send it full of goodies to Santa Claus! The base is a square. The surface area is
108m2 . What dimensions will maximize the volume?
Sol: Say the length of a side the square is x, and the height is h. BOTH must be positive! So x > 0.
108 − x2
A = x2 + 4xh = 108. Isolate now h = .
4x
108 − x2 x3
Replace h in V and get that V (x) = x2 = 27x − .
4x 4
4
3 3
Comute CP as follows: 0 = V 0 (x) = 27 − x2 , or 27 = x2 , so
4 4
27 × 4 √
x2 = = 36, so x = + 36 = 6.
3
3
NOTE V 00 (x) = − 2x < 0 FOR ANY x (so also for x = 6), so 6 is a LOCAL max. Since there is
4
only one CP, IT WILL be a GLOBAL max.
GRAPHING: we will be using Cal to graph functions for which we know a formula.
RECALL first:
We call x = a a Vertical Assymptote for f if at least one of the following conditions is fulfilled:
Visual example:
5
x=-6 for red, and x = 2 for blue.
−9
EXAMPLE: a) f (x) = has x = 8 as a VA.
8−x
b) g(x) = 8x + 1 does NOT have any VA.
Two Important Examples:
(x + 3)(x − 3)
a) f (x) =
(x − 4)
(x + 3)(x − 3)
b) g(x) =
(x − 4)(x − 3)
Think of x = 3. Is it a VA?