Calculus 1
Calculus 1
Abdelrahman Ramzy
Abstract
This is a full transcription of the Calculus(1) full course condensed by the great Dr. Linda Green. The full video is
Available at freeCodeCamp.org youtube channel. https://www.youtube.com/watch?v=HfACrKJ_Y2w.
1 Rational Expressions
zy
1.1 Simplifying
21
EX 1.1. Simplify 45
by reducing to the lowest terms
Solution
21
45
3 7
3 3 5
7
15
am
3𝑥6
EX 1.2. Simplify 𝑥2 4𝑥𝑥
by reducing to the lowest terms
Solution
3𝑥6 3
𝑥
2
3
𝑥2 4𝑥𝑥 𝑥2𝑥
2 𝑥2
.R
1.2 Multiplying and Dividing
4 2
EX 1.3. Compute 3 5
Solution
A
4 2 42 8
3 5 35 15
4
EX 1.4. Compute 5
2
3
Solution
4
5 4 3 43 12 6
2 5 2 52 10 5
3
𝑥2 𝑥
𝑥 4
EX 1.5. Compute 𝑥 1
𝑥2 16
𝑥2 𝑥
𝑥 4 𝑥2 𝑥 𝑥2 16 𝑥𝑥
1 𝑥4
𝑥
4
𝑥 1 𝑥4 𝑥1 𝑥
4 𝑥
1
𝑥𝑥 4
𝑥2 16
I dedicated more than 40 days in order to fully transcribe this course. So, if you think that this transcription is helpful, please consider supporting
me via my PayPal account: hosam7101996@gmail.com.
1
Solution
Solution
• 2𝑥 2 2𝑥 1
zy
𝑥2 1 𝑥 1𝑥 1
3 𝑥1 5 2
2𝑥1 𝑥1 𝑥1𝑥1 2
3𝑥1
2𝑥1𝑥1
52
2𝑥1𝑥1
am
3𝑥310
2𝑥1𝑥1
3𝑥7
2𝑥1𝑥1
2 Difference Quotient
For a function 𝑦 𝑓 𝑥:
R
• Secant Line is a line between two points on the graph of the
function.
𝑏, 𝑓 𝑏
• The average rate of change for 𝑓 𝑥 on the interval (︀𝑎, 𝑏⌋︀ is
the slope of the secant line between the two points (𝑎, 𝑓 𝑎 and
A.
⌋︂ 𝑎, 𝑓 𝑎
EX 2.1. Find the average rate of change for 𝑓 𝑥 𝑥 on the interval
(︀1, 4⌋︀.
Solution
𝑎 𝑏
𝑓 𝑏𝑓 𝑎 𝑓 4𝑓 1 21 1
The average rate of change is the slope, so: 𝑚 𝑏𝑎 41 3 3
.
Definition 2.1. A difference quotient represents the average rate of change of 𝑓 𝑥 on the interval (︀𝑥, 𝑥 ℎ⌋︀
𝑥 ℎ, 𝑓 𝑥 ℎ
𝑦 𝑓 𝑥
𝑥, 𝑓 𝑥
𝑥 𝑥ℎ
2
𝑓 𝑥ℎ𝑓 𝑥
i.e. the slope of the secant line between the two points (𝑥, 𝑓 𝑥 and 𝑥 ℎ, 𝑓 𝑥 ℎ is 𝑚 ℎ
.
EX 2.2. Find and simplify the difference quotient for 𝑓 𝑥 2𝑥2 𝑥 3
Solution
zy
EX 3.1. Julia’s Suchi and salad buffet costs $10 per pound, but if you get exactly one pound your meal is free. Let
𝑓 𝑥 represent the price of your lunch in dollars as a function of its weight 𝑥 in pounds:
Solution
)︀
⌉︀
⌉︀0 if
am
𝑥 1
𝑓 𝑥 ⌋︀
⌉︀
⌉︀ 10𝑥 if 𝑥 x 1
]︀
Solution
.R
10
1 2 3
• Describe the behavior of𝑓 𝑥 when 𝑥 is near 1, but not equal to 1
A
Solution
Definition 3.1. For real numbers 𝑎 and 𝐿, lim 𝑓 𝑥 𝐿 means 𝑓 𝑥 gets arbitrarily close to 𝐿 as 𝑥 gets arbitrarily
𝑥 𝑎
close to 𝑎
3
𝑦
3
2
1
3 2 1 1 2 3 𝑥
1
2
3
Solution
zy
𝑥 2 𝑥 2 𝑥 2
Definition 3.2.
3
2
1
4 3
2 1 1 2 3 𝑥
.R
1
2
3
Solution
A
3 2 1 1 2 3 𝑥
1
2
3
4
Find the following:
lim 𝑓 𝑥 21 lim 𝑓 𝑥 1 lim 𝑓 𝑥 𝐷.𝑁.𝐸
𝑥 1 𝑥 1 𝑥 1
lim 𝑓 𝑥 2 lim 𝑓 𝑥 2 lim 𝑓 𝑥 2 𝑓 1 𝐷.𝑁.𝐸
𝑥 1 𝑥 1 𝑥 1
lim 𝑓 𝑥 ª lim 𝑓 𝑥 ª lim 𝑓 𝑥 𝐷.𝑁.𝐸
𝑥 2 𝑥 2 𝑥 2
EX 4.2. What is lim sin 𝜋𝑥 ? use graph or a table of values for evidence.
𝑥 0
Solution
zy
𝑦
1
1
am
sin 𝜋𝑥 goes up and down very wildly as 𝑥 0.
5 Limit Laws
Limit Laws:
(1) lim 𝑓 𝑥 𝑔 𝑥 lim 𝑓 𝑥 lim 𝑔 𝑥.
.R
𝑥 𝑎 𝑥 𝑎 𝑥 𝑎
(2) lim 𝑓 𝑥 𝑔 𝑥 lim 𝑓 𝑥 lim 𝑔 𝑥
𝑥 𝑎 𝑥 𝑎 𝑥 𝑎
(3) lim 𝑐𝑓 𝑥 𝑐 lim 𝑓 𝑥
𝑥 𝑎 𝑥 𝑎
(4) lim 𝑓 𝑥𝑔 𝑥 lim 𝑓 𝑥 lim 𝑔 𝑥
𝑥 𝑎 𝑥 𝑎 𝑥 𝑎
lim 𝑓 𝑥
(5) lim 𝑓 𝑥 𝑥 𝑎
𝑥 𝑎 𝑔 𝑥 𝑥
lim 𝑔 𝑥
𝑎
A
2
𝑥 3𝑥6
EX 5.1. Find lim 𝑥9
𝑥 2
Solution
5
10
𝑦 3𝑥2 4𝑥 5 𝑔 𝑥
8
6
⌋︂
𝑦 4 𝑥
4
1 2 3 4
Solution
Although we don’t have the rule of the function 𝑔 𝑥 ,we can say that lim 𝑔 𝑥 4.
𝑥 2
zy
Theorem 6.1. (The Squeeze Theorem) Suppose 𝑓 𝑥 B 𝑔 𝑥 B ℎ𝑥 for 𝑥-values near 𝑎 (not necessarily for 𝑥 𝑎),
and let lim 𝑓 𝑥 lim ℎ𝑥 𝐿, then lim 𝑔 𝑥 𝐿
𝑥 𝑎 𝑥 𝑎 𝑥 𝑎
𝑦
ℎ𝑥 3
𝑔 𝑥 2
𝑓 𝑥
1
am
3 2 1 1 2 3 𝑥
1
2
3
Solution
𝑥 0
So, we use Squeeze Theorem:
1 B sin 𝑥1 B 1
𝑥2
𝑥2 B 𝑥2 sin 𝑥1 B 𝑥2 𝑥
But since lim 𝑥2 0 and lim 𝑥2 0, then lim 𝑥2 sin 𝑥1 .
𝑥 0 𝑥 0 𝑥 0
6
2𝑥10
(5) lim .
𝑥 5 ⋃︀𝑥5⋃︀
Solution
)︀
⌉︀
⌉︀𝑥 5 when 𝑥 5 A 0 𝑥 A 5 Ô
⋃︀𝑥 5⋃︀ ⌋︀
⌉︀
⌉︀
]︀
𝑥 5 when 𝑥5@0 𝑥 @ 5 Ô .So:
2𝑥10 2𝑥10 2𝑥5
lim ⋃︀𝑥5⋃︀
lim 𝑥5
lim
𝑥5
lim 2 2 and
𝑥 5 𝑥 5 𝑥 5 𝑥 5
2𝑥5
lim 2𝑥10 lim 2𝑥10 lim lim 2 2.
𝑥 5 ⋃︀𝑥5⋃︀ 𝑥 5 𝑥5 𝑥 5 𝑥5 𝑥 5
zy
Solution
lim 5𝑥
𝑥4⋃︀ ⋃︀
lim 5𝑥
𝑥4
Ô
ª
Ô
𝑥 4 𝑥 4
lim 5𝑥 lim 𝑥5𝑥
ª
𝑥 4 ⋃︀𝑥4⋃︀ 𝑥 4 4
So, existence of this Limit depends on your definition of existing Limits, i.e. if you considered unbounded Limits
exist, then the above Limit does exist, and vice versa.
.R
Notes. Ways that limits fail to exist:
(1) If lim 𝑓 𝑥 x 0 and lim 𝑔 𝑥 0, then the two sided limits lim 𝑓 𝑥
𝑔 𝑥
and lim 𝑓 𝑥
𝑔 𝑥
could be ª or ª.
𝑥 𝑎 𝑥 𝑎 𝑥 𝑎 𝑥 𝑎
(2) If the two sided limits are not equal, then lim 𝑓𝑔 𝑥𝑥 𝐷.𝑁.𝐸. And if they are equal, then the existence of lim 𝑓𝑔 𝑥𝑥
𝑥 𝑎 𝑥 𝑎
depends on your definition of existing Limits.
(3) If lim 𝑓 𝑥 0 and lim 𝑔 𝑥 0, then lim 𝑓𝑔 𝑥𝑥 could exist or not, and Limits of the form 00 are called
A
𝑥 𝑎 𝑥 𝑎 𝑥 𝑎
indeterminate.
3
1, 2
2
1 1 2 3 4 5 6𝑥
5, 1
1
The equation of the line is 𝑦 𝑚𝑥 𝑏 such that 𝑚 is the slope, and 𝑏 is 𝑦-intercept:
7
Solution
Δ𝑦 𝑦2 𝑦1
𝑠𝑙𝑜𝑝𝑒 𝑟𝑖𝑠𝑒𝑟𝑢𝑛 Δ𝑥 𝑥2 𝑥1
1 2
5 1
4
3
𝑚,
3 11
as for 𝑏, we can compute it by plugging in either 5, 1 or 1, 2 in the function 𝑦
4
𝑥 𝑏. So, 𝑏 4
,
therefore, the equation of the line is 𝑦 43 𝑥 11
4
.
zy
3 2 1 1 2 3𝑥
1
Solution
Ô Ô 𝑦 Ô 𝑦
For the horizontal line: 𝑦 𝑚𝑥 𝑏
am 𝑦 0𝑥 𝑏
as for the vertical line: the equation is 𝑥 2
𝑏 3.5,
EX 9.3. Find the equation of the line through the points 1, 2 and 4, 3.
Solution
Solution 1: 𝑚 43 13 5
Ô
𝑦 35 𝑥 𝑏, and after plugging any point in the equation 𝑦 35 𝑥 𝑏, we find
Ô
3
11 5 11
that 𝑏 3 𝑦 3 𝑥 3 ,
.R
Solution 2: 𝑦 𝑦𝑜 𝑚𝑥 𝑥𝑜 such that 𝑥𝑜 , 𝑦𝑜 is a point on the Line:
5
so, we calculate the slope the same previous way, and then we plug any point in the above equation 𝑦2 Ô
1.
3
𝑥
10 Rational Functions
𝑃 𝑥
A
10
15 10
5
5 10 15 𝑥
5
10
15
• How is the graph of this function is different from the graphs of a polynomial?
Solution
8
The difference is the end behavior of the function, since the polynomial functions march ª or ª (the end
behavior means the horizontal asymptotes).
• What is the end behavior of the graph?
Solution
There is a horizontal asymptote at 𝑦 3. Because the function ℎ𝑥 𝑥23𝑥3𝑥1210 3𝑥
2 2
𝑥2
3 as 𝑥 ª and as
𝑥 ª. (In general: In order to find the horizontal asymptote, we take the term with the largest degree of
both the numerator and denominator, and then we compute their quotient as 𝑥 ª and as 𝑥 ª. Note that
we can find horizontal asymptote only when the two quotients (as 𝑥 ª and as 𝑥 ª) are equal and they
are real (namely not equal to ª or ª)).
• what is the behavior of the graph of ℎ𝑥 near 𝑥 5?
Solution
2
There is a vertical asymptote at 𝑥 5. Because ℎ𝑥 𝑥23𝑥3𝑥1210 3 𝑥𝑥 52 𝑥𝑥 22 , and at 𝑥 5 the denominator
zy
is 0 while the numerator not 0. (In general: the vertical asymptotes are corresponding to the 𝑥-values which
make the numeratorx 0 and the denominator 0).
• What is going on at 𝑥 2?
Solution
There is a hole at 𝑥 2. Because at 𝑥 2 the denominator and the numerator are equal 0. But to find the 𝑦-value
at 𝑥 2, we can choose a value 𝑥 near 2, and then we will find that 𝑦 3 𝑥𝑥 52 𝑥𝑥 22 3 𝑥 2 3 2 2 12
12
am 𝑥 5 2 5 7
. So,
the hole is 2, 7 . (In general: Holes are corresponding to the 𝑥 -values which make both the numerator and
denominator equal 0, and in order to find the corresponding 𝑦-value for each 𝑥 , we must compute the original
function as 𝑥 𝑥 ).
Solution
3𝑥2 3𝑥
• Holes: 𝑞 𝑥 = 3𝑥𝑥1 . 301
A
15 10 5
5 10 15 𝑥
1
2
9
Solution
Notes: (1) Limit in which 𝑥 goes to ª or ª are called "Limits at Infinity", and they are corresponding to
Horizontal asymptotes.
(2) "Infinite Limits" are when 𝑓 𝑥 ª or 𝑓 𝑥 ª, and they are corresponding to Vertical asymptotes.
(3) We will not have Vertical asymptotes or Horizontal asymptotes when 𝑥 and 𝑓 𝑥 both go to ª at the same time.
EX 11.2. For the functions 𝑔 𝑥 and ℎ𝑥 drawn below, what are the limits at infinity?
𝑦
𝑦
25
20 2 𝑦 ℎ𝑥
15
1
10
5
zy
15 10 5 5 10 15 𝑥
3
2 1 1 2 3 𝑥 1
Solution
• lim 𝑔 𝑥
𝑥 ª 𝑥
am
0 and lim 𝑔 𝑥
ª
ª .
• lim ℎ𝑥 ª and lim ℎ𝑥 𝐷.𝑁.𝐸 because ℎ𝑥 goes up and down as 𝑥 ª .
𝑥 ª 𝑥 ª
5𝑥2 4𝑥
EX 12.1. Evaluate lim 2𝑥3 11𝑥2 12𝑥
𝑥 ª
Solution
5𝑥2 4𝑥 𝑥2 5 𝑥
4
𝑥2 5 𝑥4
1 5 𝑥4
50
lim 2𝑥3 11𝑥2 12𝑥
lim 𝑥3 2 11
12
lim 𝑥3 2 11
12 lim 𝑥 2 11
12 0 200
0.
𝑥 ª 𝑥 ª 𝑥 𝑥2 𝑥 ª 𝑥 𝑥2 𝑥 ª 𝑥 𝑥2
Conclusion:
(1) When the degree of numerator @ degree of denominator Ô 𝑥 limor 𝑓 𝑥 is 0.
degree of denominator Ô
ª ª
(2) When the degree of numerator lim 𝑓 𝑥 is the quotient of highest power
𝑥 or ª ª
terms.
(3) When the degree of numerator A degree of denominator Ô 𝑥 lim
ª or ª
𝑓 𝑥 ª or ª.
10
13 continuity
Types of discontinuity:
(1) Jump Discontinuity at 𝑥 1 (2) Removable Discontinuity at 𝑥 4
𝑦 )︀ 𝑦
⌉︀2𝑥 when 𝑥 B 1
⌉︀
4 𝑓 𝑥 ⌋︀ 4
⌉︀
⌉︀
]︀
𝑥 2 when 𝑥 A 1
3 3
2
2
1
1
4 3
2 1 1 2 3 4 𝑥
1 3 2 1 1 2 3 4 5 𝑥
1 𝑥3 𝑥4
2
2 𝑔 𝑥 𝑥 4
3 2
zy
4 3
4 3 2 1 1 2 3 4 5 𝑥 𝑥
1
1
ℎ𝑥 𝑥 2
2
𝑦 cos 𝑥1
3
.R
4
1
𝑦
4
3
2
1
1 2 3 4 5 𝑥
Note that the third condition implies the first two conditions and excludes Infinite and Wild Discontinuity.
EX 13.1. What are the places where 𝑓 is not continuous, and why?
𝑦
4
3
2
1
4 3 2 1 1 2 3 4 𝑥
1
11
Solution
zy
1
4 3 2 1
1 2 3 4 𝑥
1
Solution
• at 𝑥
am
2 we notice that the function is not continuous (because lim 𝑓 𝑥 𝐷.𝑁.𝐸). But lim 𝑓 𝑥
𝑥 2 𝑥 2
𝑓 2
and then we deduce that the function is continuous from the left at 𝑥 2.
• at 𝑥 1 we notice that the function is not continuous (because lim 𝑓 𝑥 𝐷.𝑁.𝐸). But lim 𝑓 𝑥 𝑓 1 and
𝑥 1 𝑥 1
then we deduce that the function is continuous from the right at 𝑥 1.
Definition 13.1. A function is continuous from the left if lim 𝑓 𝑥 𝑓 𝑎.
𝑥 𝑎
.R
Definition 13.2. A function is continuous from the right if lim 𝑓 𝑥 𝑓 𝑎.
𝑥 𝑎
Note: If the interval is closed (︀𝑏, 𝑐⌋︀, then in addition to the above conditions, we must have 𝑓 𝑥 is continuous
from the right at 𝑥 𝑏, and from the left at 𝑥 𝑐. the same can be said as for half opened intervals.
EX 14.1. In what intervals 𝑔 𝑥 is continuous?
𝑦
3
2
1
3 2 1 1 2 3 𝑥
1
2
3
Solution
𝑔 𝑥 is continuous on ª, 1 8 (︀1, 1 8 1, ª.
12
EX 14.2. Give some kinds of functions which are continuous everywhere (namely continuous on ª, ª)?
Solution
Polynomials, 𝑦 sin𝑥, 𝑦 cos𝑥, 𝑦 ⋃︀𝑥⋃︀ ...............
EX 14.3. Give some kinds of functions which are continuous on their domains?
Solution
Polynomials, Rational functions, Trigonometric functions, Inverse Trigonometric functions, 𝑦 ln𝑥, 𝑦 𝑒𝑥 .......
. And sums, differences products and quotient of continuous functions are continuous on their domains. Also
compositions of continuous functions are continuous on their domains.
EX 14.4. Find lim cos𝑥
𝑥 0
zy
Solution
Since cos𝑥 is continuous, then lim cos𝑥 cos0 1.
𝑥 0
2
𝑥 4
EX 14.5. Find lim cos 2𝑥 4
𝜋
𝑥 2
am 2
Solution
2
𝑥 4 𝑥2𝑥2 𝑥2 22 𝑥 4
As 𝑥 2 we find that 2𝑥4 2𝑥2
𝜋 2
𝜋 2
𝜋 2𝜋. Therefore, lim 𝑐𝑜𝑠 2𝑥 4
𝜋
𝑐𝑜𝑠2𝜋 1.
𝑥 2
Note that in this example we used the property "lim 𝑓 𝑔 𝑥 𝑓 lim 𝑔 𝑥 for continuous functions (namely, we
𝑥 𝑎 𝑥 𝑎
can pass the limit for continuous functions)".
𝑓 𝑏
A
𝑁
𝑓 𝑎 Possible places for 𝑐
ac c c b 𝑥
Note: Intermediate value Theorem is only applied for continuous functions. For example, 𝑁 in the following
graph has no corresponding 𝑐:
𝑦
𝑓 𝑏
𝑓 𝑎
a b 𝑥
13
EX 15.1. Prove that the polynomial 𝑃 𝑥 5𝑥4 3𝑥3 12𝑥 7 has a real root.
Solution
We apply Intermediate value Theorem: If we found two real numbers 𝑎 and 𝑏 such that 𝑃 𝑎 @ 0 and 𝑃 𝑏 A 0,
then there must exist a real number 𝑐 > 𝑎, 𝑏 such that 𝑃 𝑐 𝑁 0 (since 𝑃 𝑎 @ 𝑁 0 @ 𝑃 𝑏. Now, since
𝑃 0 7 and 𝑃 1 1, then 𝑃 𝑥 must have a real root 𝑐 > 0, 1.
𝑐
𝑎
zy
𝜃
𝑏
𝑜𝑝𝑝𝑜𝑠𝑖𝑡𝑒
sin𝜃 ℎ𝑦𝑝𝑜𝑡𝑒𝑛𝑢𝑠𝑒
𝑎
𝑐
, csc𝜃 ℎ𝑦𝑝𝑜𝑡𝑒𝑛𝑢𝑠𝑒
𝑜𝑝𝑝𝑜𝑠𝑖𝑡𝑒
𝑐
𝑎
.
𝑎𝑑𝑗𝑎𝑐𝑒𝑛𝑡 𝑏 ℎ𝑦𝑝𝑜𝑡𝑒𝑛𝑢𝑠𝑒 𝑐
cos𝜃 ℎ𝑦𝑝𝑜𝑡𝑒𝑛𝑢𝑠𝑒 𝑐
, sec 𝜃 𝑎𝑑𝑗𝑎𝑐𝑒𝑛𝑡 𝑏
.
𝑜𝑝𝑝𝑜𝑠𝑖𝑡𝑒
tan𝜃 𝑎
, cot𝜃 𝑎𝑑𝑗𝑎𝑐𝑒𝑛𝑡 𝑏
𝑎𝑑𝑗𝑎𝑐𝑒𝑛𝑡 𝑏
am 𝑜𝑝𝑝𝑜𝑠𝑖𝑡𝑒 𝑎
.
EX 16.1. Find the exact value of all six trigonometric functions of angle 𝜃 in this right triangle
𝜃
5
𝑎
.R
2
Solution
⌋︂ ⌋︂
𝑎 52 2
2 21, therefore:
𝑜𝑝𝑝𝑜𝑠𝑖𝑡𝑒
sin𝜃 ℎ𝑦𝑝𝑜𝑡𝑒𝑛𝑢𝑠𝑒
2
, csc𝜃 ℎ𝑦𝑝𝑜𝑡𝑒𝑛𝑢𝑠𝑒
5⌋︂ 𝑜𝑝𝑝𝑜𝑠𝑖𝑡𝑒
5
2
.
𝑎𝑑𝑗𝑎𝑐𝑒𝑛𝑡 21 ℎ𝑦𝑝𝑜𝑡𝑒𝑛𝑢𝑠𝑒 5
A
cos𝜃 ℎ𝑦𝑝𝑜𝑡𝑒𝑛𝑢𝑠𝑒 5
, sec𝜃 𝑎𝑑𝑗𝑎𝑐𝑒𝑛𝑡
⌋︂
21
.
⌋︂
𝑜𝑝𝑝𝑜𝑠𝑖𝑡𝑒 2 𝑎𝑑𝑗𝑎𝑐𝑒𝑛𝑡 21
tan𝜃 𝑎𝑑𝑗𝑎𝑐𝑒𝑛𝑡
⌋︂
21
, cot𝜃 𝑜𝑝𝑝𝑜𝑠𝑖𝑡𝑒 2
.
X
EX 16.2. A kite is flying at an angle of elevation 75 , with 100𝑚 of kite string let out. How high is the kite
Solution
𝑦 100𝑚
X
75
sin75 X
𝑦
100
Ô 𝑦 100 sin75 X
96.6𝑚
14
17 sine and cosine of special angles
EX 17.1. Without using calculator, find sin45 X
and cos45 X
using a right triangle with hypotenuse 1.
Solution
X
45
𝑎 1
X
45
𝑎
Ô 2𝑎2 Ô 𝑎
⌋︂ ⌋︂
2 2
𝑎2 𝑎2 1 1
2
, since 𝑎 represents a length, then 𝑎 must be positive, therefore 𝑎 2
,
⌋︂
2 ⌋︂
𝑜𝑝𝑝𝑜𝑠𝑖𝑡𝑒 2
sin45 X
ℎ𝑦𝑝𝑜𝑡𝑒𝑛𝑢𝑠𝑒
2
1 2
,
⌋︂
2 ⌋︂
𝑎𝑑𝑗𝑎𝑐𝑒𝑛𝑡 2
cos45 X
2
zy
ℎ𝑦𝑝𝑜𝑡𝑒𝑛𝑢𝑠𝑒 1 2
.
EX 17.2. Without using a calculator, find sin30 X
and cos30 X
Solution
X
60
1
am
2 1
𝑎 30 X
X
30
R
X
60
A.
By drawing the original triangle (black triangle) and equivalent triangle (red triangle), we find that their
combination is an equilateral⌉︂triangle, therefore:
Ô 𝑎 Ô 𝑎
⌋︂
𝑎2 21 2 12 12 12 2 2
3
, therefore:
1
1
sin30 X
2
1⌋︂ 2
and
3 ⌋︂
3
cos30 X
2
1 2
.
To summarize:
angle 𝜃 in degrees angle 𝜃 in radians cos𝜃 ⌋︂
sin𝜃
X 𝜋 3 1
30 6 2
⌋︂ 2
⌋︂
X 𝜋 2 2
45 4 2 2
⌋︂
X 𝜋 1 3
60 3 2 2
𝑜𝑝𝑝𝑜𝑠𝑖𝑡𝑒
X
25 and then we compute ℎ𝑦𝑝𝑜𝑡𝑒𝑛𝑢𝑠𝑒 . But we can never do this if we wish to compute sin120 (for example). So, X
15
Definition 18.2. For angle 𝜃 (or any angle) that can’t be part of a right triangle, we find the point on the unit circle
𝑦-coordinates
at angle 𝜃 and define cos𝜃 𝑥-coordinates, sin𝜃 𝑦-coordinates and tan𝜃 𝑥-coordinates .
EX 18.1. For the angle 𝜑 drawn below, Find cos𝜑, sin𝜑 and tan𝜑
0.33, 0.93
𝜑
Solution
sin𝜑 0.93
cos𝜑 0.33
tan𝜑 31
11
zy
19 Properties of trig functions
Periodic property:
sin𝜃 2𝑛𝜋 sin𝜃 sin𝜃 360𝑛 sin𝜃 such that 𝑛 > N,
X
• cos5𝜋 cos𝜋 2 2𝜋
am cos𝜋 1
⌋︂
• cos420 X
cos60 X
360 X
cos60 X
2
3
𝜃
𝜃
.R
cos𝜃 , sin𝜃
Solution
sin𝜃 sin𝜃
tan𝜃 cos𝜃 cos𝜃
tan𝜃. Therefore, tan𝜃 is Odd function.
Pythagorean property:
𝑠𝑖𝑛𝜃 1
𝜃
𝑐𝑜𝑠𝜃
From Pythagoras Theorem we can conclude that: cos2 𝜃 sin2 𝜃 1.
16
𝜋 𝜋 𝜋 𝜋 2𝜋 3𝜋 5𝜋 7𝜋 5𝜋 4𝜋 3𝜋 5𝜋 7𝜋 11𝜋
𝑡 0 6 4 3 2 3 4 6
𝜋 6 4 3 2 3 4 6
2𝜋
cos𝑡 1 0.866 0.707 0.5 0 0.5 0.707 0.866 1 0.866 0.707 0.5 0 0.5 0.707 0.866 1
sin𝑡 0 0.5 0.707 0.866 1 0.866 0.707 0.5 0 0.5 0.707 0.866 1 0.866 0.707 0.5 0
Solution
𝑦 cos𝑡
1
0.5
2𝜋 3𝜋 𝜋
𝜋 𝜋 𝜋 3𝜋 2𝜋
2 20.5 2 2
1
𝑦 sin𝑡
zy
𝜋
(1): The graph of 𝑦 cos𝑥 is the same as the graph of 𝑦 sin𝑥 shifted horizontally by 2
. Therefore,
cos𝑥 sin𝑥 𝜋2 and sin𝑥 cos𝑥 𝜋2 .
(2) The Domain is ª, ª.
(3) The Range is 1, 1.
(4) 𝑦 cos𝑥 is Even, 𝑦 sin𝑥 is Odd.
(5) The Absolute Maximum value is 1, the Absolute Minimum value is 1.
am
Definition 20.1. Midline is the horizontal line half way between max and min points.
Definition 20.2. Amplitude is the vertical distance between a max point and the midline.
Definition 20.3. Period is the horizontal length of the smallest repeating unit
4
𝑦 3 sin2𝑥 1
3
𝑦 3 sin2𝑥
2
1
2𝜋
3𝜋 𝜋
𝜋 𝜋 𝜋 3𝜋 2𝜋
2 2 2 2
1
𝑦 sin𝑥
2
𝑦 sin2𝑥
3
Midline Amplitude Period
𝑦 sin𝑥 𝑦 0 1 2𝜋
𝑦 sin2𝑥 𝑦 0 1 𝜋
𝑦 3 sin2𝑥 𝑦 0 3 𝜋
𝑦 3 sin2𝑥 1 𝑦 1 3 𝜋
17
𝜋 𝜋
EX 21.2. graph the functions 𝑦 3 sin2𝑥 4
and 𝑦 3 sin2𝑥 4
1.
Solution
We can solve this example the same way as in the previous example, the only difference is noticing that the graph
of 𝑦 sin𝑥 𝜋4 is the same as the graph of 𝑦 sin𝑥 but shifted to the right by 𝜋4 .
3
𝑦 3 sin2𝑥 𝜋4 1
2
𝑦 3 sin2𝑥 𝜋4
1
2𝜋
3𝜋 𝜋
𝜋 𝜋 𝜋 3𝜋 2𝜋
2 2 2 2
1
𝑦 sin𝑥 𝜋4
2
𝑦 sin2𝑥 𝜋4
3
zy
4
Midline Amplitude Period
𝑦sin𝑥 𝜋4 𝑦 0 1 2𝜋
𝑦 sin2𝑥 𝜋4 𝑦 0 1 𝜋
𝑦 3 sin2𝑥 𝜋4 𝑦 0 3 𝜋
𝑦 3 sin2𝑥 𝜋4 1 𝑦 1 3 𝜋
am
Note: if 𝑔 𝑥 3 sin2𝑥 𝜋4 , then 𝑔 𝑥 𝑓 𝑥 𝜋4 such that 𝑓 𝑥 3 sin2𝑥. Hence, we can:
(1) graph 𝑓 𝑥
(2) shift its graph by 𝜋4 to the right to get the graph of 𝑔 𝑥.
1
EX 21.3. Find the Midline, Amplitude, Period and Horizontal shift to the function 𝑦 3
cos 12 𝑥 3 5
A
Solution
1
𝑦 cos 12 𝑥 3 5 31 cos 12 𝑥 6 5, Therefore:
3
* Midline is 𝑦 5
* Amplitude is 13
* Period is 4𝜋
* Horizontal shift is 6 units to the left.
Solution
18
sin 𝜃
𝑠𝑙𝑜𝑝𝑒 𝑟𝑖𝑠𝑒
𝑟𝑢𝑛 cos 𝜃
tan𝜃. In order to draw the graph, we should notice:
𝜋 𝜋
2 2
1
2
zy
3
4
Note: tan𝑥 is periodic with period 𝜋. Because if we rotated the line 180 we will get the same line with the
X
same slope.
EX 22.2. Consider this graph of 𝑦
am tan𝑥 and find the following:
4
3
2
1
5𝜋 2𝜋
3𝜋 𝜋
𝜋 𝜋 𝜋 3𝜋 2𝜋 5𝜋
2 2 2 1
2 2 2
.R
2
3
4
2 2 2 2
* domain : 𝑥 ⋃︀ 𝑥 x 𝑘 2 for 𝑘 odd integers.
𝜋
* range : , ª ª
* period : 𝜋
EX 22.3. sketch the graph of 𝑦 sec𝑥
Solution
1
In order to sketch the graph, we should remember that 𝑦 sec𝑥 cos 𝑥
. Therefore, when cos𝑥 1,
sec𝑥 1, and as cos𝑥 goes from 1 to 0, sec𝑥 will go to ª. Similarly, when cos𝑥 1, sec𝑥 1, and as
cos𝑥 goes from 1 to 0, sec𝑥 will go to ª. Hence, the graph of 𝑦 sec𝑥 should be as follows:
4
3
2 𝑦 cos𝑥
1
5𝜋 2𝜋 3𝜋 𝜋 𝜋 𝜋 𝜋 3𝜋 2𝜋 5𝜋
2 1
2 2 2 2 2
2
3
4
19
* 𝑥-intercepts : None
* vertical asymptotes : 𝑘 𝜋2 such that 𝑘 is odd.
* domain : 𝑥 ⋃︀ 𝑥 x 𝑘 𝜋2 for 𝑘 odd integers.
* range : , 1 1,
ª 8 ª
* period : 2𝜋
EX 22.4. sketch the graph of 𝑦 csc𝑥
Solution
The graph of 𝑦 csc𝑥 can be sketched the same way as the graph of 𝑦 sec𝑥.
4
3
2 𝑦 sin𝑥
1
5𝜋 2𝜋 3𝜋 𝜋 𝜋 𝜋 𝜋 3𝜋 2𝜋 5𝜋
2 1
2 2 2 2 2
2
zy
3
4
* 𝑥-intercepts : None
* vertical asymptotes : 𝑘 𝜋 such that 𝑘 > Z.
* domain : 𝑥 ⋃︀ 𝑥 x 𝑘 𝜋 for 𝑘 integers.
* range : , 1 1,
ª 8 ª
* period : 2𝜋
EX 22.5. sketch the graph of 𝑦
am cot𝑥
Solution
In order to graph 𝑦 cot𝑥, we should remember that 𝑦 cot𝑥 𝑡𝑎𝑛1 𝑥 . Therefore, cot𝑥 has the same sign
as tan𝑥, undefined when tan𝑥 0, goes to ª as tan𝑥 approaches 0 from above and goes to ª as tan𝑥
approaches 0 from below. Hence, the graph of 𝑦 cot𝑥 should be as following:
4
3
.R
2
1
5𝜋 2𝜋 3𝜋 𝜋 𝜋 𝜋 𝜋 3𝜋 2𝜋 5𝜋
2 1
2 2 2 2 2
2
3
4
A
* 𝑥-intercepts : None
* vertical asymptotes : 𝑘 𝜋 such that 𝑘 > Z.
* domain : 𝑥 ⋃︀ 𝑥 x 𝑘 𝜋 for 𝑘 integers.
* range : , ª ª
* period : 𝜋
2
1
. Therefore, the
solutions are 𝑥 3𝜋 2
or 𝑥 4𝜋
3
.
(2) Give a general formula for all solutions (not just those in the interval (︀0, 2𝜋 ⌋︀) . 3𝜋
2
2𝑘𝜋 or 4𝜋
3
2𝑘𝜋 for 𝑘
integers.
⌋︂
EX 23.2. For the equation 2 tan𝑥 3 tan𝑥:
⌋︂
Ô ⌋︂
Ô
⌋︂
(1) Find the solutions in the interval (︀0, 2𝜋 ⌋︀ 2 tan𝑥 . 3 tan𝑥 3 tan𝑥 3 tan𝑥 3
3
.
Therefore, the solutions are 𝑥 𝜋6 or 𝑥 7𝜋 6
.
.
(2) Give a general formula for all solutions (not just those in the interval (︀0, 2𝜋 ⌋︀) 𝜋6 𝑘𝜋 for 𝑘 integers.
20
24 Derivative and Rates of change
EX 24.1. Find the slope of the tangent line.
𝑦
𝑓 𝑥 𝑥2
1.5, 2.25
Solution
We can do this by finding the slope of a secant line which passes through 1.5, 2.25and another close point which
zy
Δ𝑦 𝑓 𝑥2 𝑓 𝑥1
appears in the following table. Note that 𝑠𝑙𝑜𝑝𝑒 Δ𝑥 𝑥2 𝑥1
1.49 1.5
𝑓 1.45 𝑓 1.5
2.99
2.95
1.45 1.5
𝑓 1.4 𝑓 1.5
1.5 1.4 1.4 1.5
2.9
𝑓 1 𝑓 1.5
1.5 1 1 1.5
2.6
Note: Another version of the definition of derivative can can be concluded by substituting 𝑥 in the above formula
A
𝑥, 𝑓 𝑥
𝑎, 𝑓 𝑎
𝑎 ℎ 𝑥 𝑥
𝑓 𝑎ℎ𝑓 𝑎
Therefore, we get the formula: 𝑓 𝑎
lim ℎ
.
ℎ 0
EX 24.2. The following expressions represent the derivative of some functions at some value 𝑎. For each example
find the function and the value 𝑎.
• lim
𝑥 1
𝑥52 16
𝑥1
Ô Since 𝑥 1, then 𝑎 1, and we can write the limit as lim
𝑥 1
𝑥52 152
𝑥1
. By
comparing with the formula 𝑓 𝑎
lim 𝑓 𝑥𝑥𝑓𝑎 𝑎 , we find that 𝑓 𝑥 2
𝑥 5 .
𝑥 𝑎
21
• lim
ℎ 0
32ℎ 9
ℎ
Ô We can write this limit as lim
ℎ 0
32ℎ 32
ℎ
, and by comparing with the formula 𝑓 𝑎
Solution
⌈︂ 1 ⌈︂ 1
⌋︂ 1 ⌋︂1 ⌋︂ 1 1
31ℎ 31 4ℎ 4ℎ
𝑓 1ℎ𝑓 1
𝑓
1 lim ℎ
lim ℎ
lim ℎ
4
lim ℎ
2
which gives 00 . Therefore,
ℎ 0 ℎ 0 ℎ 0 ℎ 0
⌋︂ 0
2 1 ⌋︂4ℎ
Ô ℎlim0
⌈︂ 1 ⌋︂ 0
4ℎ
4ℎ 2 2 *
we simplify the numerator ℎ 44ℎℎ ℎ1 . Again we get 00 .
lim 22⌋︂ So, we multiply by the
ℎ 0
Ô ℎlim0 ℎ1
⌋︂ ⌋︂
2⌋︂ 4ℎ 2⌋︂4ℎ 44ℎ
conjugate lim 1 ⌋︂ lim 1 ⌋︂ ℎ lim ⌋︂ 1
2 4ℎ 2 4ℎ ℎ 0ℎ 4 4ℎ24ℎ ℎ 0 ℎ 4 4ℎ24ℎ ℎ 0 4 4ℎ24ℎ
1 1
zy
⌋︂
4 424 16
.
EX 25.2. Find the equation of the tangent line to 𝑦 𝑥3 3𝑥 at 𝑥 2.
Solution
3 3
𝑓 2ℎ𝑓 2
𝑠𝑙𝑜𝑝𝑒 𝑓 2
ℎ
lim lim 2ℎ 32ℎℎ2 32 which gives 00 . So, we simplify the numerator
ℎ 0 ℎ 0
Ô 3 2 3 3
lim 2 12ℎ6ℎ ℎℎ 63ℎ2 6 lim 9ℎ6ℎℎ ℎ
2 3
lim 9 6ℎ ℎ2 9. Therefore, the
ℎ 0
is 𝑦 𝑓 2 9𝑥 2
am
Ô 𝑦
ℎ 0
2
ℎ 0
9𝑥 18 Ô 𝑦 9𝑥 16.
equation of the tangent line
26 Interpreting Derivatives
EX 26.1. The graph of 𝑦 𝑓 𝑥 represents my distance from campus on a bike ride heading due north
distance(miles)
.R
40
30
20
3, 𝑓 3
10 4, 𝑓 4
A
1 2 3 4 5 6 time (hours)
Δ𝑦
(1) Interpret the slope of secant line through the points 3, 𝑓 3 and 4, 𝑓 4 𝑠𝑙𝑜𝑝𝑒 Δ𝑥 change in distance
change in time
.
𝑣𝑒𝑙𝑜𝑐𝑖𝑡𝑦 which is a speed in a direction. So, the slope of secant line gives average velocity over the interval
3 B 𝑥 B 4. ( note that 𝑠𝑝𝑒𝑒𝑑 ⋃︀𝑣𝑒𝑙𝑜𝑐𝑖𝑡𝑦 ⋃︀).
.
(2) Interpret the slope of the tangent line at 𝑥 3 The velocity at an exact instant of time is called instantaneous
velocity. So, slope of the tangent line at 𝑥 3 is 𝑓 3 lim 𝑓 𝑥𝑥 𝑓3 3
instantaneous velocity
𝑥 3
In general:
* slope of secant line is average rate of change.
* slope of tangent line is instantaneous rate of change.
EX 26.2. Suppose 𝑓 𝑥 represents the temperature of your coffee in degrees Fahrenheit as a function of time in
minutes 𝑥 since you have set it on the counter. Interpret the following equations.
(1) 𝑓 0 140 Ô
At time 0, temperature is 140 X
(3) 𝑓 1010𝑓 0
2
Ô
Temperature is decreasing by an average of 2 per minute as time changes from 0 to 10 X
minutes.
(4) 𝑓 15 0.5
Ô
At exactly 15 minutes, the temperature is decreasing at a rate of 0.5 per minute. X
22
EX 26.3. Suppose 𝑔 𝑥 represent the fuel efficiency for a Toyota Prius in miles/gallon as a function of 𝑥, the speed
in miles/hour that it is traveling. Interpret the following equations.
(1) 𝑔 45 52 Ô
At 45 mph fuel efficiency is 52 mpg.
(2) 𝑔 40 𝑔 35 10 Ô
As speed increases from 35 to 40 mph fuel efficiency foes up by 10 mpg.
(3) 𝑔 40 𝑔 35
5
2
Ô
Average rate of change of fuel efficiency is 2 mpg per mph as speed increases form 35 to 40
mph.
(4) 𝑔 60 2
Ô
At 60 mph, fuel efficiency is decreasing at a rate of 2 mpg per mph.
Solution
1 1 𝑥ℎ𝑥
𝑥 ℎ 𝑥ℎ𝑥
lim 𝑓 𝑥ℎℎ𝑓 𝑥
𝑓 𝑥
lim ℎ
𝑥
lim ℎ
lim 1 ℎ
lim 1 1
𝑥2
.
ℎ 0 ℎ 0 ℎ 0 ℎ 0ℎ 𝑥ℎ𝑥 ℎ 0 𝑥ℎ𝑥
zy
EX 27.2. The height of an alien spaceship above the earth’s surface is graphed below. Graph the rate of change of
the height as a function of time.
height (km)
6
5 𝑦 𝑔 𝑥
4 𝑠𝑙𝑜𝑝𝑒 1
3
am
2
1
2 4 6 8 10 12 time (min)
Solution
.R
For any 𝑥 > 0, 2, the slope of the tangent line (which is the derivative) equals 1. For 𝑥 > 2, 3 the slope is 0.
For 𝑥 > 3, 5 the slope is also 0. As 𝑥 increases from 5 to approximately 7 the slope starts at a value about 3 until it
goes to 0. As 𝑥 increases from 7 to approximately 10, the slope starts at 0 and goes to a minimum value about 1,
and then goes from 1 to 0. As 𝑥 increases from 10 to ª, the slope goes from 0 to ª.
As for 𝑥 0, the slope or derivative or 𝑔 0 lim 𝑔 0 ℎℎ 𝑔 4 𝐷.𝑁.𝐸, because the limit from the left 𝐷.𝑁.𝐸.
ℎ 0
As for 𝑥 2, 𝑔 2 𝐷.𝑁.𝐸, because limit (slope) from the left equals 1, while limit from the right equals 0.
A
𝑔 3ℎ𝑔 3 2 1 3
As for 𝑥 3, 𝑔 3 𝐷.𝑁.𝐸, because limit from the left equals lim
ℎ
lim ℎ2 lim ℎ2 ª , while
ℎ 0 ℎ 0 ℎ 0
1 1
limit from the right equals lim 𝑔 3ℎ𝑔 3
lim 22
lim ℎ0 0. Note that 𝑔 3 ℎ 2 when ℎ @ 0, and
ℎ 0 ℎ ℎ 0 ℎ ℎ 0
𝑔 3 ℎ 12 when ℎ A 0.
Now, the graph of the rate of change or the derivative should be as follows:
slope
4
3
2
1
2 4 6 8 10 12
1
23
𝑎
(2) 𝑓 𝑥 has a corner at 𝑥 𝑎:
𝑎
Note (for example) that 𝑓 𝑥 ⋃︀𝑥⋃︀ has no derivative at 𝑥 0.
zy
𝑎
Because 𝑓 𝑥
1 when 𝑥 A 0, and 𝑓 𝑥
1 when 𝑥 @ 0. Therefore, 𝑓 0 𝐷.𝑁.𝐸.
Because as secant lines approach 0 (from the left or the right) they became vertical, which means that the slope
goes to infinity. Therefore, 𝑓 0 𝐷.𝑁.𝐸
Definition 27.2. A function is differentiable on an open interval 𝑏, 𝑐 if 𝑓 𝑥 is differentiable at every point 𝑎 in
𝑏, 𝑐.
• Notes:
(1) If 𝑓 𝑥 is differentiable at 𝑥 𝑎, then 𝑓 𝑥 has to be continuous at 𝑥 𝑎.
(2) If 𝑓 𝑥 is continuous at 𝑥 𝑎, then 𝑓 𝑥 may or may not be differentiable at 𝑥 𝑎, such as 𝑓 𝑥 ⋃︀𝑥⋃︀, it is
continuous at 𝑥 0 but not differentiable.
24
𝑓 𝑥𝑓 𝑎
Proof. Since 𝑓 𝑥 is differentiable at 𝑥 𝑎, then lim 𝑥𝑎
𝑓 𝑎 exists. By multiplying both sides by
𝑥 𝑎
lim 𝑥 𝑎 we get:
𝑥 𝑎
𝑓 𝑥𝑓 𝑎
lim 𝑥 𝑎 lim 𝑥𝑎
lim 𝑥 𝑎 𝑓 𝑎, We can use limit multiplication rule here because all the limits exist
𝑥 𝑎 𝑥 𝑎 𝑥 𝑎
(since lim 𝑥 𝑎 exist and equal 0), so we get:
𝑥 𝑎
lim
𝑥 𝑎
𝑥𝑎𝑓 𝑥𝑓 𝑎
𝑥𝑎
0 Ô 𝑥lim𝑎𝑓 𝑥 𝑓 𝑎 0, we can’t use difference rule of limits here because we don’t
know if lim 𝑓 𝑥 exists (which actually what we are trying to prove), so, we add lim 𝑓 𝑎 two both sides:
Ô 𝑥lim𝑎𝑓 𝑥 Ô 𝑥lim𝑎 𝑓 𝑥
𝑥 𝑎 𝑥 𝑎
lim 𝑓 𝑥 𝑓 𝑎 lim 𝑓 𝑎 lim 𝑓 𝑎 𝑓 𝑎 𝑓 𝑎 lim 𝑓 𝑎 𝑓 𝑎.
𝑥 𝑎 𝑥 𝑎 𝑥 𝑎 𝑥 𝑎
Therefore, 𝑓 𝑥 is continuous at 𝑥 𝑎.
zy
𝑑𝑓
(1) Derivative of a constant 𝑐: If 𝑓 𝑥 𝑐 then 𝑑𝑥
0.
𝑑 𝑑
(4) Derivative of constant multiple: 𝑑𝑥 𝑐 𝑓 𝑥 𝑐 𝑑𝑥 𝑓 𝑥.
𝑑
(5) Derivative of sum or difference: If 𝑓 𝑥 and 𝑔 𝑥 are differentiable functions, then: 𝑑𝑥
𝑓 𝑥 𝑔 𝑥
.R
𝑑 𝑑
𝑑𝑥
𝑓 𝑥 𝑑𝑥 𝑔 𝑥.
EX 29.1. Find the derivative of these functions:
• 𝑦 𝑥15 Ô 𝑑𝑥𝑑𝑦
15𝑥14 .
𝑥 Ô 𝑓 𝑥 𝑥 Ô 𝑓 𝑥 31 𝑥 .
⌋︂ 1 2
• 𝑓 𝑥 3 3
3
• 3.7
3.7𝑥 4.7 .
• 𝑓 𝑥 5𝑥3 Ô 𝑑𝑥 𝑑 𝑑
5𝑥3 5 𝑑𝑥 𝑥3 5 3𝑥2 15𝑥2 .
• 𝑦 7𝑥3 5𝑥2 4𝑥 2 Ô 𝑑𝑥
𝑑𝑦 𝑑
𝑑𝑥
7𝑥3 5𝑥2 4𝑥 2 𝑑
𝑑𝑥
7𝑥3
𝑑
𝑑𝑥
5𝑥2
𝑑
𝑑𝑥
4𝑥
𝑑
𝑑𝑥
2
2 2
7 3𝑥 5 2𝑥 4 1 0 21𝑥 10𝑥 4.
25
𝑦 cos𝜃 𝜋
1 𝑦 cos𝜃
2𝜋
3𝜋 𝜋
𝜋 𝜋 𝜋 3𝜋 2𝜋
2 2 2 2
1
from the graph of cos𝜃 𝜋 and cos𝜃 we conclude that cos𝜃 𝜋 cos𝜃 is identity.
(3) sec𝑥 sin𝑥 tan𝑥 cos𝑥 1
cos 𝑥
sin𝑥
sin 𝑥
cos 𝑥
Ô 1
cos 𝑥
sin2 𝑥
cos 𝑥
1 sin2 𝑥
cos 𝑥
cos2 𝑥
cos𝑥
cos𝑥.
Therefore, the above equation is identity.
𝑐𝑜𝑠𝜃 , 𝑠𝑖𝑛𝜃
𝑠𝑖𝑛𝜃 1
zy
𝜃
𝑐𝑜𝑠𝜃
Solution
⌋︂ ⌋︂ ⌋︂ ⌋︂ ⌋︂
3 2 1 2 6 2
sin105 X
sin60 X
45 X
sin60 X
cos45 cos60X sin45X
X
2 2
2 2 4
.
EX 32.2. If cos𝑣 0.7, cos𝑤 0.9 find cos𝑣 𝑤. Assume 𝑣 and 𝑤 are in the first quadrant.
Solution
10 7 10 9
𝑤 𝑣
⌋︂ ⌋︂
51 19
26
9 7
cos𝑣 𝑤 cos𝑣 cos𝑤 sin𝑣 sin𝑤 0.9 0.7 ⌋︂
19
⌋︂
51
0.3187.
zy
(4) cos2𝜃 cos2 𝜃 sin2 𝜃 cos2 𝜃 1 cos2 𝜃 2 cos2 𝜃 1.
1
EX 33.1. Find cos2𝜃 if cos𝜃 ⌋︂
10
and 𝜃 terminates in third quadrant.
Solution
1 8
cos2𝜃 2 cos2 𝜃 1 2 ⌋︂
10
2 1
10
.
am
Note: The sentence "𝜃 terminates in third quadrant" in the previous example is necessary if we wanted to compute
sin𝜃, we will need that if we computed cos2𝜃 using formula which involves sin𝜃.
EX 33.2. Solve the equation 2 cos𝑥 sin2𝑥 0
Solution
2 cos𝑥 𝑠𝑖𝑛2𝑥 0 Ô
2 cos𝑥 2 sin𝑥 cos𝑥 0 cos𝑥1 sin𝑥 0. Therefore, either Ô
cos𝑥 0 Ô
𝑥 𝜋2 𝜋𝑘 or:
1 sin𝑥 0 Ô
sin𝑥 1 𝑥 3𝜋 Ô
2𝜋𝑘, this set of solutions are actually include in the first set (namely
.R
2
𝜋
the set 𝑥 2 𝜋𝑘).
, 𝑑𝑥
𝑑𝑦 𝑑2 𝑦 𝑛
𝑑 𝑦
𝑦 𝑦 , 𝑑𝑥
𝑦 , 𝑑𝑥2
𝑦 𝑛 , 𝑑𝑥
𝑛
𝑑𝑦
Some times we use Leibniz notation 𝑑𝑥 ⋂︀
𝑥 𝑎
in order to evaluate the derivative at a certain value of 𝑥.
35 The derivative of 𝑒𝑥
Remember that 𝑒 2.71828182845905......, and the function 𝑦 𝑒𝑥 can be graphed as follows:
𝑎
Facts:
1 𝑛
(1) lim 1 𝑛
𝑒.
𝑛 ª
𝑒 ℎ
1
𝑒0ℎ 𝑒0
(2) lim ℎ
1. This expression reminds us of the derivative, because it can be written as lim ℎ
1, which is
ℎ 0 ℎ 0
𝑥 𝑑 𝑥
the derivative of 𝑒 at 𝑥 0, which means that 𝑑𝑥
𝑒 ⋂︀𝑥 0 1.
27
𝑑 𝑥 𝑒ℎ 1
(3) 𝑑𝑥
𝑒 𝑒𝑥 proof In order to prove this fact, we will assume that fact number 2 is true. Assume that lim ℎ
1,
ℎ 0
𝑥 ℎ 𝑥 𝑥 ℎ ℎ
from the definition derivative 𝑑 𝑥
𝑑𝑥
𝑒 lim 𝑒
ℎ
𝑒
lim 𝑒 𝑒ℎ 1 𝑒𝑥 lim 𝑒
ℎ
1
𝑒𝑥 .
ℎ 0 ℎ 0 ℎ 0
2
EX 35.1. Find the derivative of 𝑔 𝑥 𝑒𝑥2 2𝑒𝑥 𝑥𝑒2 𝑥𝑒
Solution
𝑑 𝑑 𝑒2 2
𝑑𝑥
𝑔 𝑥 𝑑𝑥
𝑒𝑥2 2𝑒 𝑥
𝑥𝑒 2
𝑥 2𝑒𝑥 2𝑒 𝑥
𝑒2 𝑒2 𝑥𝑒 1
.
36 Proofs of the power rule, sum, difference and constant multiple rules
𝑑
Theorem 36.1. For a constant 𝑐, 𝑑𝑥
𝑐 0.
𝑑 𝑓 𝑥ℎ𝑓 𝑥
Proof. 𝑑𝑥
𝑓 𝑥 lim ℎ
lim 𝑐𝑐 lim 0 0.
ℎ 0 ℎ 0 ℎ ℎ 0ℎ
𝑑
Theorem 36.2. 𝑑𝑥
𝑥 1.
zy
𝑑 𝑥ℎ𝑥
Proof. 𝑑𝑥
𝑥 lim
ℎ
lim ℎ lim 1 1.
ℎ 0 ℎ 0ℎ ℎ 0
𝑑
Theorem 36.3. (the power rule) 𝑑𝑥
𝑥𝑛 𝑛𝑥𝑛 1 .
𝑛 𝑛
Proof. (the proof is only for 𝑛 positive integers) 𝑑
𝑑𝑥
𝑥𝑛 lim 𝑥ℎ𝑑𝑒𝑛
𝑥
ℎ 0
𝑛𝑛1 𝑛2 2 𝑛1 𝑛𝑛1 𝑛2
𝑛𝑥𝑛1 ℎ ℎ ......𝑛𝑥ℎ𝑛1 ℎ𝑛 𝑥𝑛 𝑛2 𝑛 1
ℎ 0
𝑥
lim
𝑛
2 𝑥
ℎ
am
lim
ℎ 0
ℎ𝑛𝑥 2 𝑥 ℎ......𝑛𝑥ℎ ℎ
ℎ𝑛2
𝑛𝑥𝑛 1 .
𝑑 𝑑 𝑑
Theorem 36.5. (sum rule) If 𝑓 and 𝑔 are differentiable functions, then 𝑑𝑥
𝑓 𝑥 𝑔 𝑥 𝑑𝑥
𝑓 𝑔 𝑑𝑥 𝑔 𝑥.
𝑓 𝑥ℎ𝑔 𝑥ℎ𝑓 𝑥𝑔 𝑥
Proof. 𝑑
𝑑𝑥
𝑓 𝑥 𝑔 𝑥 lim ℎ
lim 𝑓 𝑥ℎ𝑓 𝑥
ℎ
𝑔 𝑥ℎ𝑔 𝑥
ℎ
ℎ 0 ℎ 0
A.
𝑑 𝑑 𝑑
Theorem 36.6. (difference rule) If 𝑓 and 𝑔 are differentiable functions, then 𝑑𝑥
𝑓 𝑥 𝑔 𝑥 𝑑𝑥
𝑓 𝑔 𝑑𝑥 𝑔 𝑥.
𝑑 𝑑 𝑑 𝑑 𝑑 𝑑
Proof. 𝑑𝑥
𝑓 𝑥 𝑔 𝑥 𝑑𝑥
𝑓 𝑥 𝑔 𝑥 𝑑𝑥
𝑓 𝑥 𝑑𝑥 𝑔 𝑥 𝑑𝑥
𝑓 𝑥 𝑑𝑥 𝑔 𝑥.
EX 37.2. Find 𝑑
𝑧2
𝑑𝑧 𝑧 3 1
. 𝑑
𝑧2
𝑑𝑧 𝑧 3 1
𝑧 3 12𝑧 𝑧 2 3𝑧 2
3
𝑧 1
2
2𝑧 4 2𝑧 3𝑧 4
3
𝑧 1
2
2𝑧 𝑧 4
𝑧 3 12
.
28
38 Proof of the product and the quotient rules
𝑑 𝑓 𝑥ℎ𝑔 𝑥ℎ𝑓 𝑥𝑔 𝑥
Proof of the product rule: 𝑑𝑥
𝑓 𝑥𝑔 𝑥 lim ℎ
ℎ 0
𝑓 𝑥ℎ𝑔 𝑥ℎ𝑓 𝑥𝑔 𝑥ℎ𝑓 𝑥𝑔 𝑥ℎ𝑓 𝑥𝑔 𝑥 𝑔 𝑥ℎ𝑓 𝑥ℎ𝑓 𝑥𝑓 𝑥𝑔 𝑥ℎ𝑔 𝑥
lim ℎ
lim ℎ
ℎ 0 ℎ 0
𝑓 𝑥ℎ𝑓 𝑥 𝑔 𝑥ℎ𝑔 𝑥 𝑑 𝑑
lim 𝑔 𝑥 ℎ lim ℎ
lim 𝑓 𝑥 lim ℎ
𝑔 𝑥 𝑑𝑥 𝑓 𝑥 𝑓 𝑥 𝑑𝑥 𝑔 𝑥. Note that the limit
ℎ 0 ℎ 0 ℎ 0 ℎ 0
lim 𝑔 𝑥 ℎ exists because 𝑔 𝑥 continuous (since it is differentiable).
ℎ 0
𝑑
𝑑 1
𝑑𝑥 𝑓 𝑥
Theorem 38.1. (the reciprocal rule)
𝑑𝑥 𝑓 𝑥
𝑓 𝑥2
.
1 1
𝑓 𝑥ℎ 𝑓 𝑥
Proof. 𝑑
1
𝑑𝑥 𝑓 𝑥
lim ℎ
lim 𝑓 𝑥𝑓 𝑥ℎ lim 𝑓 𝑥ℎ𝑓 𝑥 1
lim 𝑓 𝑥ℎ𝑓 𝑥
ℎ 0 ℎ 0 ℎ𝑓 𝑥𝑓 𝑥ℎ ℎ 0 ℎ 𝑓 𝑥𝑓 𝑥ℎ ℎ 0 ℎ
𝑑
1
𝑑𝑥 𝑓 𝑥
lim 2 .
ℎ 0 𝑓 𝑥𝑓 𝑥ℎ 𝑓 𝑥
𝑑
𝑑 𝑓 𝑥 𝑑 1 𝑑 1 1 𝑑
𝑑𝑥 𝑔 𝑥
Proof of the quotient rule:
𝑑𝑥 𝑔 𝑥
𝑑𝑥
𝑓 𝑥 𝑔 𝑥
𝑓 𝑥 𝑑𝑥 𝑔 𝑥
𝑔 𝑥 𝑑𝑥 𝑓 𝑥 𝑓 𝑥 𝑔 𝑥2
zy
𝑑 𝑑
1 𝑑 𝑔 𝑥 𝑔 𝑥 𝑑𝑥 𝑓 𝑥𝑓 𝑥 𝑑𝑥 𝑔 𝑥
𝑔 𝑥 𝑑𝑥
𝑓 𝑥 𝑔 𝑥 𝑔 𝑥
2 .
1
am 𝑦 sin𝜃
𝜃
2𝜋 2𝜋
1
.R
#2: lim cos 𝜃𝜃
1
1
𝜃 0
sin𝜃
𝑦 𝜃
1
2𝜋 2𝜋
A
1
40 Composition of function
Definition 40.1. The composition of two functions: 𝑔 X 𝑓 𝑥 is defined by 𝑔 X 𝑓 𝑥 𝑔 𝑓 𝑥.
EX 40.1. The table below define the functions 𝑓 and 𝑔. so find the following:
𝑥 1 2 3 4 5 𝑥 4 5 6 7 8 9
𝑓 𝑥 8 3 6 7 4 𝑔 𝑥 1 3 8 10 2 2
29
(1) 𝑔 X 𝑓 4=𝑔 7 10.
(2) 𝑓 X 𝑔 4=𝑓 1 8.
(3) 𝑓 X 𝑓 2=𝑓 3 6.
(4) 𝑓 X 𝑔 6=𝑓 8 which 𝐷.𝑁.𝐸, therefore, 6 is not in the domain of 𝑓 X 𝑔.
Note: from the first and the second example we conclude that 𝑓 X 𝑔 x 𝑔 X 𝑓 .
EX 40.2. Let 𝑝𝑥 𝑥2 𝑥, 𝑞 𝑥 2𝑥. find:
zy
41 Solving rational equations
Solving rational equations steps:
#1 Find LCD.
#2 Clear denominators.
#3 Simplify an solve.
#4 Plug in solutions.
EX 41.1. Solve 1
𝑥3
1
am
1
𝑥
.
#1 Find LCD: LCD 𝑥 3 𝑥
#2 Clear denominators: 𝑥 3 𝑥 𝑥1 3 𝑥 3 𝑥1 1
Ô 𝑥2
𝑥 3 𝑥 1 𝑥 3
Ô Ô 𝑥 43 .
𝑥
#3 Simplify and solve: 𝑥2 𝑥2 3𝑥 𝑥 2 0 4𝑥 3
Ô
3
3 3 1 3
#4 Plug in solutions: 4
3 3 1 4 9 3
, which means that 𝑥 4
is a solution.
4
EX 41.2. Solve 4𝑐
𝑐5
1
𝑐1
2
3𝑐 3
𝑐2 4𝑐5
.
.R
#1 Find LCD: Factors of denominators are 𝑐 5, 𝑐 1, and 𝑐2 4𝑐 5 𝑐 5𝑐 1. So LCD 𝑐 5𝑐 1.
2
#2 Clear denominators: 𝑐 5𝑐 1 𝑐4𝑐5 𝑐 5𝑐 1 𝑐 11 𝑐 5𝑐 1 𝑐23𝑐 4𝑐 35 .
Ô Ô Ô
𝑦 cos𝜃 𝑦 sin𝜃
𝑦 sin𝜃 𝑦 cos𝜃
1 1
2𝜋 2𝜋 2𝜋 2𝜋
1 1
𝑥
cos2 𝑥 cos2 𝑥 cos2 𝑥
sec2 𝑥.
𝑑 𝑑 1 sin𝑥 1 sin𝑥
EX 42.2. Find 𝑑𝑥
sec𝑥= 𝑑𝑥 cos 𝑥
cos2 𝑥 cos𝑥 cos𝑥
sec𝑥 tan𝑥.
30
𝑑 𝑑 cos 𝑥 sin𝑥 sin𝑥cos𝑥 cos𝑥 sin2 𝑥cos2 𝑥 1
EX 42.3. Find 𝑑𝑥
cot𝑥= 𝑑𝑥 sin
𝑥
sin2 𝑥
zy
Theorem 43.1. lim sin𝜃 𝜃
1.
𝜃 0
𝑝𝑟𝑜𝑜𝑓. From the opposite figure, It is obvious that:
the area of B the area of Á B the area of . But since:
area of 1
2
𝑏𝑎𝑠𝑒 ℎ𝑒𝑖𝑔ℎ𝑡 cos 𝜃 2sin 𝜃
𝜃
area of Á 𝜋𝑟2 2𝜋 𝜃
𝜋 12 2𝜋 𝜃 𝜃
2
area of 1
2
𝑏𝑎𝑠𝑒
cos𝜃 sin𝜃
ℎ𝑒𝑖𝑔ℎ𝑡
B
1
2
1
𝜃
B tan𝜃
am
tan𝜃 tan2 𝜃 . Then:
Ô cos𝜃 sin𝜃 B 𝜃 B
sin𝜃
Ô 𝜃
cos :
1
B sin 𝜃
𝜃
B 1
*Ô 1
2 2 2 cos𝜃 cos 𝜃
lim sin𝜃𝜃
𝜃 0
1 Ô lim sin𝜃𝜃
𝜃 0
1.
Note: When we divided over sin𝜃 previously, the inequality didn’t flip. Because sin𝜃 is positive when 𝜃 is
positive (namely 𝜃 0 ). And if 𝜃 0 , sin𝜃 will be negative and the inequality will flip, but the theorem will
also be true.
EX 43.1. Proof that lim cos 𝜃𝜃
𝜃 0
1
0 .
.R
2
sin2 𝜃
lim cos 𝜃𝜃 1 cos𝜃 1
cos𝜃 1
lim 𝜃cos
cos
𝜃 1
𝜃 1
lim 𝜃
cos𝜃 1
lim sin𝜃
𝜃
sin𝜃
cos𝜃 1
1 0
11
0.
𝜃 0 𝜃 0 𝜃 0 𝜃 0
EX 43.2. Proof that 𝑑
𝑑𝑥
sin𝑥 cos𝑥 .
sin𝑥ℎsin𝑥
𝑑
𝑑𝑥
sin𝑥 ℎ
lim lim sin𝑥 cosℎcosℎ𝑥 sinℎsin𝑥 lim sin𝑥cosℎ1cos𝑥 sinℎ
ℎ
ℎ 0 ℎ 0 ℎ 0
*0 1
A
cosℎ
1 sin
ℎ
*
lim sin𝑥 lim cos𝑥 cos𝑥.
ℎ 0 ℎ
ℎ 0 ℎ
EX 43.3. Proof that 𝑑
𝑑𝑥
cos𝑥 sin𝑥 .
cos𝑥ℎcos𝑥
𝑑
𝑑𝑥
cos𝑥 ℎ
lim lim 𝑐𝑜𝑠𝑥 cosℎsinℎ𝑥 sinℎcos𝑥 lim cos𝑥cosℎ1sin𝑥 sinℎ
ℎ
ℎ 0 ℎ 0 ℎ 0
*0
1
lim cos𝑥 cos
ℎ1 sin
ℎ
*
lim sin𝑥 sin𝑥.
ℎ 0 ℎ ℎ 0 ℎ
44 Rectilinear motion
EX 44.1. A particle moves up and down along a straight line. Its position in 𝑚𝑚 at time 𝑡 seconds is given by the
equation 𝑠𝑡 𝑡4 16
3
𝑡3 6𝑡2 . Find 𝑠 𝑡 and 𝑠 𝑡. what do the represent?
Solution
𝑠 𝑡 4𝑡 16𝑡 12𝑡, and 𝑠 𝑡 represents velocity (𝑣 𝑡), because 𝑠 𝑡 𝑑𝑠
3 2
𝑑𝑡
is the change of position over
time.
𝑑
𝑠 𝑡 12𝑡2 32𝑡 12, and 𝑠 𝑡 represents acceleration (𝑎𝑡), because 𝑠 𝑡 𝑑𝑡
𝑠 𝑡 is the change of
31
• Notes:
#1 𝑣 𝑡 A 0 means the position increasing, so particle is moving up.
#2 𝑣 𝑡 @ 0 means the position decreasing, so particle is moving down.
#3 𝑣 𝑡 0 means particle is at rest.
EX 44.2. use the table of values to describe the particle’s motion at time 1.5 seconds and at time 2.5 seconds.
𝑡 𝑠𝑡 𝑠 𝑡 𝑠 𝑡
zy
Solution
𝑠𝑡
10
5
1 2
am 3 4 𝑡
10
• At 𝑡 1.5 seconds:
# 𝑠𝑡 A 0 Ô particle is above position 0.
# 𝑠 𝑡 @ 0 Ô its position is decreasing or the particle is moving down.
# 𝑠 𝑡 A 0 Ô velocity is increasing (namely less negative). Therefore, the particle is slowing down. Because
A
Notes:
(1) When velocity and acceleration have the same sign Ô particle is speeding up.
(2) When velocity and acceleration have different signs Ô particle is slowing down.
EX 44.3. A particle moves up and down along a straight line. Its position in 𝑚𝑚 at time 𝑡 seconds is given by the
equation 𝑠𝑡 𝑡4 16
3
𝑡3 6𝑡2 .
𝑠𝑡
10
𝑎𝑡 𝑣 𝑡 𝑠𝑡
5
1 2 3 4 𝑡
5
10
32
(1) When the particle is at rest ? The particle is at rest when 𝑠 𝑡 0
Ô 4𝑡3 16𝑡2 12𝑡 0 Ô 4𝑡𝑡2 4𝑡 3
0 Ô 4𝑡𝑡 3𝑡 1 0. Therefore, the particle is at rest at 𝑡 0, 3, 1.
(2) When the particle is moving up ? moving down ?
* The particle is moving up when 𝑠 𝑡 𝑣𝑡 A 0.
𝑣 𝑡
0 0.45 1 2.22 3
Therefore, particle is moving down when 𝑡 in ª, 0 8 1, 3. Particle is moving up when 𝑡 in 0, 1 8 3, ª.
(3) when is the particle speeding up? slowing down ?
* The particle is speeding up when 𝑎𝑡 and 𝑣𝑡 both positive or negative.
* The particle is slowing down when 𝑎𝑡 and 𝑣𝑡 have opposite signs.
Ô Ô
⌋︂
zy
Therefore, the particle is slowing down when 𝑡 in ª, 0 8 34
3
7
, 1 8 43
3
7
, 3. The particle is speeding
⌋︂ ⌋︂
4 7 4 7
up when 𝑡 in 0, 3 3
8 1, 3
3
8 3, ª.
Note: In the previous example we determined the curves of 𝑠𝑡, 𝑣 𝑡 𝑠 𝑡 and 𝑎𝑡
𝑠 𝑡 according to the
facts:
(1) 𝑣 𝑡 A 0 when 𝑠𝑡 increasing.
(2) 𝑎𝑡 A 0 when 𝑣 𝑡 increasing.
EX 44.4. A particle moves up and down along a straight line. Its position in 𝑚𝑚 at time 𝑡 seconds is given by the
equation 𝑠𝑡 𝑡4 16
3
𝑡3 6𝑡2
am
(1) what is the net change in position for the particle between 1 and 4 seconds ? Net change is 𝑠4 𝑠1
32 5
3
3
9𝑚𝑚.
(2) what is the total distance traveled by the particle between 1 and 4 seconds ? The total distance is not 𝑠4 𝑠1.
Because the particle changes direction at 𝑡 1 and 𝑡 3.
𝑠𝑡
10
.R
5
1 2 3 4 𝑡
5
A
10
32 5
Therefore, the total distance ⋃︀𝑠4 𝑠3⋃︀ ⋃︀𝑠3 𝑠1⋃︀ ⋂︀ 3 27⋂︀ ⋂︀27 3 ⋂︀ 66.3𝑚𝑚.
45 Marginal cost
EX 45.1. Suppose that the total cost of producing 𝑋 tie-dyed T-shirts is 𝑐𝑥:
(1) Is 𝑐𝑥 increasing or decreasing ? 𝑐𝑥 is increasing. Because the cost of T-shirts will increase as the number of
T-shirts increase.
(2) Is 𝑐 𝑥 increasing or decreasing ? The reasonable representation of 𝑐 𝑥 is:
𝑎
Because (for example) the cost of one T-shirt when we are making 1000 T-shirts is less than the cost of one T-shirt
when we are making few T-shirts. Therefore 𝑐 𝑥 is decreasing.
33
(3) Interpret the following :
1. 𝑐204 𝑐200 : Additional cost for making 204 T-shirts instead of 200 T-shirts.
2. 𝑐 204 4 𝑐 200 : This equals the average rate of change of 𝑐𝑥 (its unit probably $/T-shirt).
Note: 𝑐𝑥 is called the cost function. 𝑐 𝑥 is called the marginal cost.
⌋︂
EX 45.2. Suppose that the cost function for producing ipads is 𝑐𝑥 500 300 𝑥. Find and interpret:
(1) 𝑐401 𝑐400 $7.5 which means that it costs $7.5 to go from 400 to 401 ipads.
(2) 𝑐 400 : 𝑐 𝑥 300 21 𝑥 2 , hence 𝑐 400 $7.5 𝑐 401 1 𝑐 400 which is the rate of change. 𝑐 𝑥 is called
the marginal cost and represents the rate in which the cost function is increasing with each additional item.
46 Logarithms
Definition 46.1. log𝑎 𝑏 means 𝑎𝑐 𝑏, 𝑎 is called the base of logarithm. The base is required to be positive
number.
EX 46.1. Evaluate the following expressions by hand by writing them using exponents instead of logs:
zy
(1) log2 16=4 because 24 16.
(2) log2 2=1 because 21 2.
(3) log2 21 = 1 because 2 1 12 .
Ô
.R
(2) log13 1.11394 101.11394 13.
1
(3) ln 𝑒 1 Ô
𝑒 1 1𝑒 .
EX 46.3. Rewrite the following using 𝑙𝑜𝑔𝑠. Do not solve for any variables.
(1) 3𝑢 9.78 Ô
log3 9.78 𝑢.
(2) 𝑒3𝑥 7 4 𝑦
Ô
ln4 𝑦 3𝑥 7.
A
Solution
𝑥 𝑓 𝑥
1
4
log2 14 2
1
2
log2 12 1
1 log2 1 0
2 log2 2 1
4 log2 4 2
8 log2 8 𝐷.𝑁.𝐸
34
(1) Domain is 0, ª.
(2) Range is ª, ª.
(3) The vertical asymptote is 𝑦-axis which is the axis 𝑥 0.
EX 47.2. Graph 𝑦 ln𝑥 5. Find the domain, range and asymptotes.
Solution
𝑦 ln𝑥 5
𝑎
1, 5
𝑦 ln𝑥
1, 0
zy
𝑦 ln𝑥 𝑦 ln𝑥 5
Domain: 0, ª 0, ª
Range: ª, ª ª, ª
Vertical asymptotes: 𝑥 0 𝑥 0
EX 47.3. Graph 𝑦 log𝑥 2. Find the domain, range and asymptotes.
am Solution
𝑦 log𝑥 2
1, 0
2 1, 0
𝑦 log𝑥
.R
𝑦 log𝑥 𝑦 log𝑥 2
Domain: 0, ª 2, ª
Range: ª, ª ª, ª
Vertical asymptotes: 𝑥 0 𝑥 2
EX 47.4. Find the domain of 𝑓 𝑥 ln2 3𝑥 . We need 2 3𝑥 A 0 Ô 2 A 3𝑥 Ô 𝑥 @ 23 . Therefore, domain is
A
2
ª, 3 .
(3) Log and Exponent with the same base undo each other.
EX 48.2. Find:
35
(2) ln𝑒𝑥 = log𝑒 𝑒𝑥 𝑥.
(3) 10log 3𝑧 =10log10 3𝑧 3𝑧.
EX 48.3. True or False: ln10𝑥 𝑥 . False, because ln10𝑥 log𝑒 10𝑥 x 𝑥. For example, at 𝑥 1,
log𝑒 101 2.3 x 1.
49 Log rules
The following table contains some 𝑙𝑜𝑔 rules and their corresponding exponent rules.
exponent rule 𝑙𝑜𝑔 rule name of the rule
𝑎0 1 log𝑎 1 0
zy
(2) log5 2𝑡 = log5 log2𝑡 log5 𝑡 log2.
(1) log5 𝑎 log5 𝑏 log5 𝑐= log5 𝑎 log5 𝑐 log5 𝑏 log5 𝑎𝑐 log5 𝑏 log5 𝑎𝑐
𝑏
.
am
(2) ln𝑥 1 ln𝑥 1 2 ln𝑥2 1= ln𝑥 1𝑥 1 ln𝑥2 12 ln
2
𝑥 1
𝑥2 12
ln 𝑥21 1 .
5tan𝑥 sec𝑥3
A.
(2) 𝐾 𝑥
𝑥2
(3) ℎ𝑥 𝑟𝑥 𝑒sin
or
𝑑𝑦
If 𝑢 𝑔 𝑥, 𝑦 𝑓 𝑢 𝑓 𝑔 𝑥, then 𝑑𝑢 𝑑𝑥
𝑔 𝑥 and 𝑑𝑢
𝑓 𝑢 𝑓 𝑔 𝑥. Therefore, the above formula can be
36
written as follows:
𝑑𝑦 𝑑𝑦 𝑑𝑢
𝑑𝑥 𝑑𝑢 𝑑𝑥
.
⌈︂
EX 50.2. Find the derivative of ℎ𝑥 sin𝑥.
Solution
1
ℎ𝑥 sin𝑥 2 , hence:
inner function is 𝑔 𝑥 sin𝑥, 𝑔 𝑥 cos𝑥.
1 1
outer function is 𝑓 𝑢 𝑢 2 , 𝑓 𝑢 12 𝑢 2 .
1
Therefore: ℎ 𝑥 𝑓 𝑔 𝑥 𝑔 𝑥 12 sin𝑥
2 cos𝑥.
EX 50.3. Find the derivative of 𝑘 𝑥 5tan𝑥 sec𝑥3 .
Solution
zy
inner function is 𝑔 𝑥 tan𝑥 sec𝑥, 𝑔 𝑥 sec2 𝑥 sec𝑥 tan𝑥.
Therefore: 𝑘 𝑥 𝑓 𝑔 𝑥 𝑔 𝑥 15tan𝑥 sec𝑥2 sec2 𝑥 sec𝑥 tan𝑥.
𝑥2
EX 50.4. Find the derivative of 𝑟𝑥 𝑒sin
am Solution
𝑥2 𝑥2 𝑑 𝑥2 𝑑 𝑥2
𝑟 𝑥
𝑒sin
𝑒sin
𝑑𝑥
sin𝑥2 𝑒sin
cos𝑥2 𝑑𝑥 𝑥2 𝑒sin
cos𝑥2 2𝑥.
Solution
𝑑𝑦 𝑑 𝑑 1 1
𝑑𝑥
sin5𝑥 𝑑𝑥 2cos 5𝑥 1 2 𝑑𝑥 sin5𝑥 2cos 5𝑥 1 2
1 1
sin5𝑥 12 2cos 5𝑥 1 2 𝑑𝑥
𝑑
2cos 5𝑥 1 cos5𝑥 5 2cos 5𝑥 1 2
1 1
sin5𝑥 12 2cos 5𝑥 1 2 ln2 2cos 5𝑥 𝑑𝑥
𝑑
cos5𝑥 5 cos5𝑥2cos 5𝑥 1 2
1 1
sin5𝑥 21 2cos 5𝑥 1 2 ln2 2cos 5𝑥 sin5𝑥 5 5 cos5𝑥2cos 5𝑥 1 2 .
𝑑
EX 51.3. Using the following table of values, find 𝑑𝑥
𝑓 X 𝑔 ⋂︀𝑥 1 .
𝑥 𝑓 𝑥 𝑔 𝑥 𝑓 𝑥
𝑔 𝑥
1 3 2 9 5
2 4 5 10 3
3 1 3 2 1
4 0 2 6 0
Solution
37
𝑑
𝑑𝑥
𝑓 X 𝑔 𝑓 𝑔 𝑥 𝑔 𝑥, therefore:
𝑑
𝑑𝑥
𝑓 X 𝑔 ⋂︀ 𝑓 𝑔 1 𝑔 1 𝑓 2
5 10 5 50.
𝑥 1
proof of chain rule: (This proof is pseudo, because 𝑔 𝑥 𝑔 𝑎 might be 0)
𝑓 𝑔 𝑥 𝑓 𝑔 𝑎
𝑑
𝑑𝑥
𝑓 X 𝑔 lim
X
𝑥 𝑎
lim 𝑓 𝑔 𝑥 𝑥 𝑓𝑎 𝑔 𝑎
X
𝑔 𝑥 𝑔 𝑎
𝑔 𝑥 𝑔 𝑎
lim 𝑓 𝑔𝑔𝑥𝑥
𝑓 𝑔 𝑎 𝑔 𝑥𝑔 𝑎
𝑔 𝑎
𝑥𝑎
𝑥 𝑎 𝑥 𝑎 𝑥 𝑎
𝑓 𝑔 𝑥𝑓 𝑔 𝑎 𝑔 𝑥𝑔 𝑎 𝑓 𝑔 𝑥𝑓 𝑔 𝑎 𝑓 𝑔 𝑥𝑓 𝑔 𝑎
lim 𝑔𝑥𝑔𝑎 lim 𝑥𝑎 lim 𝑔𝑥𝑔𝑎 𝑔 𝑥
lim 𝑔 𝑥𝑔 𝑎
𝑔 𝑥
𝑥 𝑎 𝑥 𝑎 𝑥 𝑎 𝑔 𝑥 𝑔 𝑎
lim 𝑓 𝑢𝑢𝑔𝑓𝑎𝑔𝑎 𝑔 𝑥 𝑓 𝑔 𝑎 𝑔 𝑎.
𝑢 𝑔 𝑎
52 Implicit differentiation
Implicitly defined curves:
zy
am
2𝑦 2 𝑥2 2𝑥𝑦 3 2𝑥𝑦 𝑥6 𝑦 6 4𝑥2 𝑦 2 3𝑦 2 𝑥4 3𝑥2 𝑦 4
𝑥5
5𝑥4 15𝑥 sin5𝑥
3
𝑦 2 2
𝑦 5𝑥
EX 52.1. Find the equation of the tangent line for 9𝑥2 4𝑦 2 25 at the point 1, 2.
Solution
Ô
𝑑𝑥 2 2 𝑑𝑥 𝑥 1 8
9
Therefore, the equation of the tangent line is 𝑦 2 8 𝑥 1 𝑦 89 𝑥 25
8
38
𝑑𝑦
18𝑥 4 2𝑦 𝑑𝑥 Ô 𝑑𝑥
𝑑𝑦
4
9 𝑥
𝑦
, and by plugging the point 1, 2 we get 𝑑𝑦
𝑑𝑥
8
9
.
𝑦 9 𝑥 25
8 8
9𝑥2 4𝑦 2 25
zy
Solution
𝑑 𝑑
𝑥3 𝑦 2 sin𝑥𝑦 𝑑𝑥 𝑥3 𝑦 3 Ô 𝑑𝑥𝑑 𝑥3𝑦2
𝑑
sin𝑥𝑦
𝑑 𝑑
𝑥3 𝑑𝑥 𝑦 3 Ô
Ô
𝑑𝑥 𝑑𝑥 𝑑𝑥
𝑑𝑦 𝑑𝑦 2 𝑑𝑦
𝑥3 2𝑦 𝑑𝑥 3𝑥 𝑦
2 2
cos𝑥𝑦 𝑥 𝑦 2
3𝑥 3𝑦 𝑑𝑥
Ô
𝑑𝑥
3 𝑑𝑦 𝑑𝑦 2 𝑑𝑦
𝑥 2𝑦 𝑑𝑥 cos𝑥𝑦 𝑥 𝑑𝑥 3𝑦 𝑑𝑥 3𝑥2 3𝑥 𝑦 2 2
cos𝑥𝑦 𝑦
𝑑𝑦 3𝑥2 3𝑥2 𝑦 2 cos𝑥𝑦 𝑦
𝑑𝑥 𝑥3 2𝑦 cos𝑥𝑦 𝑥3𝑦 2
.
am
𝑥3 𝑦 2 sin𝑥𝑦 𝑥3 𝑦 3
.R
EX 53.1. Find 𝑑
𝑑𝑥
5𝑥 .𝑑
𝑑𝑥
5𝑥
𝑑
𝑑𝑥
𝑒ln5 𝑥
𝑑
𝑑𝑥
𝑒ln5 𝑥 𝑒ln5 𝑥 ln5.
𝑑 𝑑
In general: 𝑑𝑥
𝑎𝑥 𝑎𝑥 ln𝑥, therefor 𝑑𝑥 𝑒𝑥 𝑒 𝑥
ln𝑥 𝑥
𝑒 .
𝑑 1 1
Conclusion: 𝑥
ln𝑥 ln𝑒 𝑥 𝑥
.
𝑑
EX 54.2. Find 𝑑𝑥
ln⋃︀𝑥⋃︀.
Solution
)︀
⌉︀
⌉︀𝑥 when 𝑥 A 0
The function 𝑦 ln⋃︀𝑥⋃︀ is related to the function 𝑦 ln𝑥. Because ⋃︀𝑥⋃︀ ⌋︀ . Therefore,
⌉︀
⌉︀𝑥 when 𝑥 @ 0
]︀
39
)︀
⌉︀
⌉︀ln𝑥 when 𝑥A0
ln⋃︀𝑥⋃︀ ⌋︀ . Hence,
⌉︀
⌉︀ ln𝑥 when 𝑥@0
]︀
)︀ 𝑑 )︀ 1
𝑑
⌉︀
⌉︀ ln𝑥 when 𝑥 A 0 ⌉︀
⌉︀ 𝑥 when 𝑥A0 𝑑 1
ln⋃︀𝑥⋃︀ ⌋︀ 𝑑𝑥 ⌋︀ 1 . Therefore, ln⋃︀𝑥⋃︀ .
𝑑𝑥 ⌉︀
⌉︀
𝑑
ln𝑥 when 𝑥 @ 0 ⌉︀
⌉︀ 1 when 𝑥 @ 0 𝑑𝑥 𝑥
]︀ 𝑑𝑥 ]︀ 𝑥
55 Logarithmic differentiation
𝑑
EX 55.1. Find 𝑑𝑥
𝑥𝑥
Solution
zy
𝑑 1
EX 55.2. Find 𝑑𝑥
tan𝑥 𝑥
Solution
𝑦 tan𝑥 𝑥
1
Ô ln𝑦 1
lntan𝑥
𝑥
Ô 𝑑𝑥𝑑 ln𝑦 𝑑𝑥𝑑 𝑥1 lntan𝑥 Ô
1
𝑦
𝑑𝑦
𝑑𝑥
1
𝑥
1
tan𝑥
sec 𝑥 𝑥 2 lntan𝑥
2
Ô 𝑑𝑥 𝑑𝑦
𝑦 𝑥1 tan1 𝑥 sec2 𝑥 ln tan
𝑥
𝑥
2
tan𝑥
1
𝑥
1 1
𝑥 tan𝑥
am
2
sec 𝑥 lntan𝑥
𝑥2
.
𝑥 cos𝑥
EX 55.3. Find the derivative of 𝑦 2
𝑥 5
5
Solution
56 Inverse function
Suppose 𝑓 𝑥 is a function defined by the chart:
A
𝑥 2 3 4 5
𝑓 𝑥 3 5 6 1
Inverse function for 𝑓 𝑥, written as 𝑓 1 𝑥, and it undoes what 𝑓 𝑥 does. In other words 𝑓
1
3 2, 𝑓 1
5 3,
𝑓 1 6 4 and 𝑓 1 1 5.
1
By graphing 𝑓 𝑥 and 𝑓
𝑥 on the same axes we notice the following
6
2 4 6
1
Key fact 2. The graph of 𝑦 𝑓
𝑥 is obtained from the graph 𝑦 𝑓 𝑥 by reflecting over the line 𝑦 𝑥.
40
𝑓 1 X 𝑓 2 𝑓 1 𝑓 2 𝑓 1 3
2 𝑓 X 𝑓 1 3 𝑓 𝑓 1 3 𝑓 2 3
Solution
⌋︂ ⌋︂ ⌋︂
The inverse⌋︂of 𝑓 𝑥 𝑥3 should be 𝑓 1
𝑥 3
𝑥. Because 𝑓 𝑓 1
𝑥 𝑓 3 𝑥 3
𝑥3 𝑥 and 𝑓 1
𝑓 𝑥
3
𝑓 1 𝑥3
𝑥3 𝑥.
zy
Solution
5𝑥
In order to find the inverse, we reverse the roles of 𝑥 and 𝑦 of the function 𝑦 :
Ô Ô Ô Ô
3𝑥
𝑥 53𝑦𝑦
3𝑥𝑦 5 𝑦 3𝑥𝑦 𝑦 5 𝑦 3𝑥 1 5 𝑦 3𝑥5 1
𝑓 1
𝑥.
Note. Not all functions have an inverse. For example, 𝑓 𝑥 𝑥2 has no inverse function. Because the function
𝑓 𝑥 𝑥2 sends both 2 and 2 to 4. Hence the inverse of 𝑓 𝑥 𝑥2 should send 4 to both 2 and 2, and in this case
it will not be a function
am
Key fact 4. A function has an inverse function if and only if the graph of 𝑓 𝑥 satisfies the horizontal line test
(i.e. every horizontal line intersects the graph of 𝑦 𝑓 𝑥 in at most one point).
✗ ✗ 𝑎 ✓ ✓
.R
Definition 56.1. A function is one-to-one if it passes the horizontal line test. Equivalently, a function is one-to-one
if for any two different 𝑥-values 𝑥1 and 𝑥2 , 𝑓 𝑥1 and 𝑓 𝑥2 are different numbers. Sometimes, this is said 𝑓 𝑥 is
one-to-one if, whenever 𝑓 𝑥1 𝑓 𝑥2 then 𝑥1 𝑥2 .
A
⌋︂
1 1
EX 56.3. Find 𝑝
𝑥, where 𝑝𝑥 𝑥 2 drawn. Graph 𝑝
𝑥 on the same axes as 𝑝𝑥.
Solution
the domain
⌋︂ of 𝑝 1
𝑥 is just the 𝑦-values of the function 𝑦 𝑥 2, and 𝑦 𝑥 2 C 0). For the function .
𝑝𝑥 𝑥 2 what is:
(1) the domain of 𝑝𝑥 ? 𝑥 C 2 Ô
(︀2, ª
41
(2) the range of 𝑝𝑥 ? 𝑦 C 0 (︀0, ªÔ
(3) the domain of 𝑝𝑥 1 ? 𝑥 C 0
Ô
(︀0, ª
(4) the range of 𝑝𝑥 1 ? 𝑦 C 2
Ô
(︀2, ª
1
Key fact 5. For any invertible function 𝑓 𝑥, the domain of 𝑓
𝑥 is the range of 𝑓 𝑥, and the range of
𝑓 1 𝑥 is the domain of 𝑓 𝑥.
2𝜋
zy
𝑦 sin𝑥
2𝜋 𝜋 . 𝜋 2𝜋
𝜋
2𝜋
am
Since 𝑦 sin𝑥 satisfies Horizontal line test in (︀ 2𝜋 , 𝜋2 ⌋︀, then:
2𝜋
A
𝜋
𝑦 cos𝑥
.
2𝜋 𝜋 . 𝜋 2𝜋
𝜋
2𝜋
42
Inverse tan function:
2𝜋
𝜋
𝑦 tan𝑥
2𝜋 𝜋
𝜋 2𝜋
𝜋
2𝜋
zy
Since 𝑦 tan𝑥 satisfies Horizontal line test in (︀ 2𝜋 , 𝜋2 ⌋︀, then:
𝜋 𝜋
Hence, arctan𝑥 is the angle between 2 and 2 whose tan is 𝑥. i.e. 𝑦
arctan𝑥 means: 𝑥 tan𝑦 such that
𝜋
2
B 𝑦 B 𝜋2 .
am
Warning: sin 1 𝑥 is the inverse function of sin𝑥, namely sin 1
𝑥 x 1
sin𝑥
. The same can be said as for
tan 1 𝑥 and cos 1 𝑥
𝑦
sin 1
𝑥 means 𝑥 sin𝑦 Ô 𝑑𝑥𝑑 𝑥 𝑑
𝑑𝑥
sin𝑥 Ô 1 cos𝑦 𝑑𝑦
𝑑𝑥
Ô 𝑑𝑥
𝑑𝑦 1
cos𝑦
Ô
𝑑𝑦 1 𝑑𝑦
cossin1 𝑥
𝑑𝑥
, and yet we didn’t find explicitly. So, we can find the explicit derivative as follows:
𝑑𝑥
Since sin𝑦 𝑥, then we can draw the following triangle:
A
1 𝑥
𝑦
⌋︂
1 𝑥2
⌋︂
Ô 𝑑𝑥
⌋︂
1𝑥2 𝑑𝑦 1
Therefore, cos𝑦 1
1 𝑥2 ⌋︂ .
1𝑥2
𝑑 1
EX 58.2. Find 𝑑𝑥
cos
𝑥
Solution
1
𝑦 cos
𝑥 means cos𝑦 𝑥, hence, we can draw the following triangle:
43
⌋︂
1 1 𝑥2
𝑦
𝑥
Therefore, by taking the derivative of cos𝑦 𝑥, we find that:
𝑑
𝑑𝑥
𝑑
𝑥 𝑑𝑥 cos𝑦 Ô
1 sin𝑦 𝑑𝑥 𝑑𝑦 𝑑𝑦
𝑑𝑥
1
sin 𝑦
Ô
Ô 𝑑𝑥
𝑑𝑦
⌋︂
1
1𝑥2
.
𝑑 1
EX 58.3. Find 𝑑𝑥
tan
𝑥
zy
Solution
1
𝑦 tan
𝑥 means tan𝑦 𝑥, hence, we can draw the following triangle:
⌋︂
1 𝑥2 𝑥
am
𝑦
1
Therefore, by taking the derivative of tan𝑦 𝑥, we find that:
Ô Ô 𝑑𝑥 Ô 𝑑𝑥
.R
𝑑 𝑑 𝑑𝑦 𝑑𝑦 1 𝑑𝑦 1
𝑑𝑥
𝑥 𝑑𝑥 tan𝑦 1 sec2 𝑦 𝑑𝑥 sec2 𝑦 1𝑥2
.
1 1 1 1 1 1
Similarly: sec
𝑥 ⌋︂ . csc
𝑥 ⌋︂ . cot
𝑥 1𝑥2
.
𝑥 𝑥2 1 𝑥 𝑥2 1
Summary:
𝑑
sin 1 𝑥 1 𝑑
tan 1
𝑥
1 𝑑
sec 1
𝑥
1
A
⌋︂ ⌋︂
𝑑𝑥 1𝑥2 𝑑𝑥 1𝑥2 𝑑𝑥 𝑥 𝑥2 1
𝑑 1 𝑑 1 𝑑 1
𝑑𝑥
cos 1 𝑥
⌋︂
𝑑𝑥
cot 1
𝑥 1𝑥2 𝑑𝑥
csc 1
𝑥 ⌋︂
1𝑥2 𝑥 𝑥2 1
1 𝑎𝑥
EX 58.4. Find the derivative of 𝑦 tan
𝑎𝑥 .
Solution
Solution
44
Step 1. Draw a picture:
𝑏
𝑐
zy
𝑎2 𝑏2 𝑐.
Step 3. Derive both sides of the equation with respect to time (𝑡):
𝑑
𝑑𝑡
𝑎2 𝑏2 𝑑
𝑑𝑡
𝑐2 Ô 2𝑎 𝑑𝑎𝑑𝑡 2𝑏 𝑑𝑏
𝑑𝑡
2𝑐 𝑑𝑐
𝑑𝑡
.
am
Step 4. Plug in numbers and solve the quantity in interest:
⌋︂
At 𝑡 15𝑚𝑖𝑛 0.25ℎ𝑜𝑢𝑟𝑠, 𝑎 10, 𝑏 3 𝑐 102 32 Ô 𝑐 109. Also 𝑑𝑎 Ô
𝑑𝑡
⌋︂
40 because the
𝑑𝑏
distance is decreasing, and 𝑑𝑡 12 because the distance is increasing. Now, by plugging in numbers we get:
2 10 40 2 3 12 2 109 𝑑𝑐
⌋︂
𝑑𝑡
800 72 Ô
⌋︂
2 109 𝑑𝑐 𝑑𝑡
𝑑𝑐
𝑑𝑡
800 72
2 109
Ô
35𝑚𝑝ℎ.
⌋︂
É
! Don’t plug in numbers until the end.
É
! Use negative numbers for quantities the are decreasing.
.R
Solution
𝑑ℎ
Note that rate at which the water is rising is 𝑑𝑡
. Now, we can solve the example as follows:
Step 1. Draw a picture:
5𝑚
𝑟 4𝑚
45
Step 2. Write down equations that relate the quantities of interest:
Step 3. Derive both sides of the equation with respect to time (𝑡):
𝑣 25
48
𝜋ℎ3 Ô 𝑑𝑣𝑑𝑡 25
48
𝜋 3ℎ2 𝑑ℎ
𝑑𝑡
Ô 𝑑𝑣𝑑𝑡 75𝜋ℎ2
48
𝑑ℎ
𝑑𝑡
Ô 𝑑ℎ𝑑𝑡 𝑑𝑣
𝑑𝑡
48
75𝜋ℎ2
.
Since 𝑑𝑣
𝑑𝑡
3 and ℎ 2, then 𝑑ℎ
𝑑𝑡
3 48
75𝜋 22
Ô 𝑑ℎ𝑑𝑡 12
25𝜋
0.15𝑚⇑𝑠.
zy
EX 61.1. A lighthouse that is half a mile west of shore has a rotating light that makes 2 revolutions per minute in
the counterclockwise direction. The shoreline runs north-south, and there is a cave on shore directly east of the
lighthouse. How fast is the beam of light moving along the shore at a point 1 mile north of the cave.
Solution
ℎ 𝑥
.R
𝜃 Cave
Lighthouse 1
2
mile
A
Our equation can’t be ℎ2 12 2 𝑥2 . Because we don’t know much about ℎ (i.e. we don’t know much about
the derivative of ℎ with respect to time). Therefore, we will use the equation:
tan𝜃 𝑥1
2
Ô
tan𝜃 2𝑥.
Step 3. Derive both sides of the equation with respect to time (𝑡):
𝑑
𝑑𝑡
tan𝜃
𝑑
𝑑𝑡
2𝑥 Ô sec2 𝜃 𝑑𝜃
𝑑𝑡
2 𝑑𝑥
𝑑𝑡
Ô 𝑑𝑥𝑑𝑡 1 1 𝑑𝜃
2 cos2 𝜃 𝑑𝑡
Ô 𝑑𝑥𝑑𝑡 1 ℎ𝑦𝑝
2
2 𝑎𝑑𝑗 2
𝑑𝜃
𝑑𝑡
Ô 𝑑𝑥𝑑𝑡 1
2
ℎ2
1 2
2
𝑑𝜃
𝑑𝑡
46
62 Solving right triangles
EX 62.1. Solve the right triangle:
𝑐
X
𝐴
49
23 𝑏
Solution
𝐴 180 49 X X
90 41 .
X X
𝑏
tan49 23
X
Ô 𝑏 23 tan49 26.46.
X
⌈︂
23
cos49 𝑐X
Ô 𝑐 23 cos49 35.06
X
or 𝑐 232 26.462 35.06.
zy
EX 62.2. Solve the right triangle:
𝜑
15
𝑥
am
𝜃
10
Solution
cos𝜃 1015
Ô
𝜃 cos 1 10
15
𝜃 Ô X
48.19 .
𝜑 ⌋︂180 90 48.19
X
⌋︂
X
41.81 .
X X
R
𝑥 152 102 5 5.
Definition 63.1. A function 𝑓 𝑥 has an absolute maximum at 𝑥 𝑐 if 𝑓 𝑐 C 𝑓 𝑥 for all 𝑥 in the domain of 𝑓 𝑥.
The point 𝑐, 𝑓 𝑐 is called an abs.max point, 𝑓 𝑐 is called the abs.max value.
𝑦
𝑐, 𝑓 𝑐
Definition 63.2. A function 𝑓 𝑥 has an absolute minimum at 𝑥 𝑐 if 𝑓 𝑐 B 𝑓 𝑥 for all 𝑥 in the domain of 𝑓 𝑥.
The point 𝑐, 𝑓 𝑐 is called an abs.min point, 𝑓 𝑐 is called the abs.min value.
47
𝑦
𝑐, 𝑓 𝑐
𝑥
Definition 63.3. Absolute maximum and minimum values can be called global max and min values.
EX 63.1. Find abs.max and abs.min values.
10
zy
1 2 3 4
5
10
am Solution
𝑐, 𝑓 𝑐
A
Definition 63.5. A function 𝑓 𝑥 has a local minimum at 𝑥 𝑐 if 𝑓 𝑐 B 𝑓 𝑥 for all 𝑥 near 𝑐. The point 𝑐, 𝑓 𝑐
is called a local minimum point, 𝑓 𝑐 is called a local minimum value.
𝑦
𝑐, 𝑓 𝑐
Definition 63.6. local maximum and local minimum values can also be called relative max and min values.
48
EX 63.2. Mark all local max and min points. Mark all global max and min points. What is the abs.max value? What
is the abs.min value?
6
5
4
3
2
1
2 4 6 8 10 12
Solution
zy
Local max are labeled by green dots. Local min are labeled by red dots. There is no global max value because the
function goes up to ª. The global min point is labeled by black dot, and the global min value 0.5. Note that the
point 0, 4 doesn’t count as a local max because the function is not defined on the left side of zero, it is also not
global max point. Also we should notice that the points in the interval (︀2, 3⌋︀ are all local min points.
6
5
4
3
am
2
1
2 4 6 8 10 12
EX 63.3. What do you notice about the derivative of a function at its local max and min values?
.R
6
2
A
2 4 6 8 10 12
2
Solution
6
𝑓 𝑐 0
4
2
𝑓 𝑐 𝐷.𝑁.𝐸
2 4 6 8 10 12
2 𝑓 𝑐 0
Definition 63.7. A number 𝑐 is critical number for a function 𝑓 if: 𝑓 𝑐 𝐷.𝑁.𝐸 or 𝑓 𝑐
0.
Notes:
(1) If 𝑓 has a local max or min at 𝑥 𝑐, then 𝑐 must be a critical number for 𝑓 . 𝑐, 𝑓 𝑐 is a critical point for 𝑓 .
49
(2) If 𝑐 is a critical number, then 𝑓 may or may not have a local max or min value at 𝑐. For example:
𝑓 𝑥 𝑥3 has a derivative 𝑓 𝑥 2𝑥2 , and 𝑓 0 0. So, 0 is critical for 𝑓 , while 𝑓 has no local max or min at
𝑥 0.
# First derivative test: If 𝑓 is a continuous function near 𝑥 𝑐 and if 𝑐 is a critical number, then:
zy
𝑓 𝑥 for 𝑥 @ 𝑐
𝑓 𝑥 for 𝑥 A 𝑐
extreme point at 𝑥 𝑐?
local max
local min
no local extreme points
no local extreme points
am
# Second derivative test: If 𝑓 is continuous near 𝑥 𝑐, then if 𝑓 𝑐
min at 𝑥 𝑐. If 𝑓 𝑐 0 and 𝑓 𝑐 @ 0, then 𝑓 has a local max at 𝑥 𝑐.
0 and 𝑓
𝑐 A 0, then 𝑓 has a local
abs.max and abs.min can occur at critical numbers or at end points. So, we need to compute 𝑔 𝑥 for critical numbers
and end points and compare them to find the abs.max and abs.min values. First we find critical numbers:
𝑔 𝑥
𝑥2 𝑥 2 1 𝑥 1 2𝑥 1
𝑥2 𝑥 2 2
2
2
𝑔 𝑥 𝑥 𝑥 𝑥2 2 2𝑥𝑥 2𝑥2 2𝑥 1
Ô
𝑔 𝑥 𝑥2 2𝑥 3
𝑥2 𝑥 2 2
.
Ô
𝑔 𝑥 0 when 𝑥2 2𝑥 3 0, which happens at 𝑥 3 and 𝑥 1. But the value 𝑥 1 as canceled, because
1 ¶ (︀0, 4⌋︀. Hence, we need to compute 𝑔 𝑥 for the critical value 𝑥 3 and the end points 𝑥 0 and 𝑥 4 and
compare them to find abs.max and abs.min values.
𝑥 𝑔 𝑥
1
3 7
1
0
2
3
4 22
1 1
Therefore, abs.max 7
and abs.min
2
. This is a graph of 𝑔 𝑥, and our concerned interval is colored in
black.
50
0.5
4 2 2 4 6
0.5
EX 65.2. Find absolute extreme values for 𝑓 𝑥 ⋃︀𝑥⋃︀ 𝑥2 on the interval (︀2, 2⌋︀
Solution
We need to to compute 𝑓 𝑥 at critical numbers and end values and compare them. But first we need to redefine
𝑓 𝑥 as piecewise function:
zy
)︀ )︀
⌉︀ if 𝑥 C 0 ⌉︀ if 𝑥 A 0
Ô 𝑓 𝑥
2
⌉︀𝑥 𝑥 ⌉︀1 2𝑥
𝑓 𝑥 ⌋︀
⌋︀ .
⌉︀
⌉︀ 𝑥 𝑥
2
if 𝑥 @ 0 ⌉︀
⌉︀ 1 2𝑥 if 𝑥 @ 0
]︀ ]︀
1 1
Hence, 𝑓 𝑥
0 when 1 2𝑥 0 or when 1 2𝑥 0, which happens at 𝑥 2
or at 𝑥
2
. Note that 𝑓 𝑥
𝐷.𝑁.𝐸 at 𝑥 0.
𝑥
2
𝑓 𝑥
2
am
1 1
2 4
0 0
1 1
2 4
2 2
1
Therefore, abs.max 4
and abs.min 2. This is a graph of 𝑓 𝑥, and our concerned interval is colored in
black.
R
2 1 1 2
A.
2
4
𝑓 𝑐.
51
𝑓 𝑎
𝑓 𝑎
𝑐, 𝑓 𝑐
𝑎 𝑏
zy
𝑎 𝑏
EX 66.1. Verify the mean value theorem for 𝑓 𝑥 2𝑥3 8𝑥 1 on the interval (︀1, 3⌋︀.
am
Solution
# 𝑓 is continuous on (︀1, 3⌋︀ and 𝑓 is differentiable on 1, 3. Because 𝑓 is polynomial. So, we can verify the theorem.
# In order to verify the theorem we need to prove that 𝑓 𝑐 𝑓 33 𝑓1 1 for some 𝑐 in (︀1, 3⌋︀:
Ô
2 ⌉︂
⌉︂
18 Ô 𝑐2 26
6
Ô 𝑐
26
6
. But 𝑐
26
6
is in (︀1, 3⌋︀, which verifies the theorem.
.R
EX 66.2. If 𝑓 is a differentiable function and 𝑓 1 7 and 3 B 𝑓 𝑥 B 2 on the interval (︀1, 6⌋︀, then what is the
Solution
6 1
𝑓 𝑐 B 2
3 B
𝑓 6
5
Ô 7
B 2 Ô 15 B 𝑓 6 7 B 10 Ô 8 B 𝑓 6 B 3.
Theorem 66.2. (Rolle’s Theorem) If 𝑓 𝑥 is a function defined on (︀𝑎, 𝑏⌋︀ and:
(1) 𝑓 𝑥 is defined on (︀𝑎, 𝑏⌋︀.
(2) 𝑓 𝑥 is differentiable on 𝑎, 𝑏.
(3) 𝑓 𝑎 𝑓 𝑏.
Then there is a number 𝑐 > (︀𝑎, 𝑏⌋︀ such that 𝑓 𝑐 0.
𝑎 𝑏
52
Note. Roll’s Theorem actually follows from "The mean value Theorem". Because "mean value theorem" tells us that
𝑓 𝑏 𝑓 𝑎
𝑏 𝑎
𝑓 𝑐. But when 𝑓 𝑎 𝑓 𝑏 we will get 𝑏 0𝑎 𝑓 𝑐
𝑓 𝑐 0.
Ô
* If 𝑓 is not constant on (︀𝑎, 𝑏⌋︀, then 𝑓 have a minimum value 𝑚 and maximum value 𝑀 . Hence, for any 𝑥 > (︀𝑎, 𝑏⌋︀:
𝑚 B 𝑓 𝑥 B 𝑀 Ô R𝑎𝑏 𝑚𝑑𝑥 B R𝑎𝑏 𝑓 𝑥𝑑𝑥 B R𝑎𝑏 𝑀 𝑑𝑥 Ô 𝑚𝑏 𝑎 B R𝑎𝑏 𝑓 𝑥𝑑𝑥 B 𝑀 𝑏 𝑎 Ô
𝑚B R B 𝑀 Ô 𝑚 B 𝑓𝑎𝑣𝑒 B 𝑀 .
𝑏
𝑎 𝑓 𝑥 𝑑𝑥
zy
𝑥1 B 𝑐 B 𝑥2 for some 𝑥1 and 𝑥2 in (︀𝑎, 𝑏⌋︀. Hence, 𝑐 > (︀𝑎, 𝑏⌋︀.
Now, by substituting from (1), (2) and (3) in (4) we get: 𝑓 𝑐 R
𝑎
𝑏
𝑓 𝑡𝑑𝑡0
which proves the theorem.
𝑏𝑎
Solution
Since 𝑥2 @ 4, then 𝑥2 4 @ 0. Now, in order to solve the inequality, we need to solve the equation 𝑥2 4 0 Ô
𝑥 2𝑥 2 0, therefore, 𝑥 2 or 𝑥 2. Hence, by plotting the inequality on the number line we find that:
A
0 0
2 2
Solution
Since 𝑥3 C 5𝑥2 6𝑥, then 𝑥3 5𝑥2 6𝑥 C 0. Now, in order to solve the inequality, we need to solve the equation
𝑥3 5𝑥2 6𝑥 0 Ô
𝑥𝑥 6𝑥 1 0, therefore, 𝑥 0 or 𝑥 6 or 𝑥 1. Hence, by plotting the inequality on
the number line we find that:
0 0 0
1 0 6
Therefore, the solution of the inequality is 𝑥 > (︀1, 0⌋︀ 8 (︀6, ª⌋︀.
𝑥2 6𝑥9
EX 68.3. Solve 𝑥1
B 0.
53
Solution
𝑥2 6𝑥9
B 0. Hence, in order to solve the inequality, we need to solve the equation 𝑥2 6𝑥 9 0 Ô 𝑥 32 0,
Ô 𝑥
𝑥1
therefore, 𝑥 3. We also need to solve 𝑥 1 0 1, hence, at 𝑥 1 the expression 𝐷.𝑁.𝐸. Now, by
plotting the inequality on the number line we find that:
0 𝐷.𝑁.𝐸
3 1
zy
Definition 69.2. The function 𝑓 𝑥 is decreasing if 𝑓 𝑥1 A 𝑓 𝑥2 whenever 𝑥1 @ 𝑥2 .
# Increasing and decreasing function test:
* If 𝑓 𝑥 A 0 for all 𝑥 on an interval, then:
# Concavity test:
* If 𝑓 𝑥 A 0 for all 𝑥 on an interval, then:
.R
É
! 𝑓 𝑥 0 or 𝐷.𝑁.𝐸 doesn’t guarantee an inflection point.
EX: If 𝑓 𝑥 𝑥4 Ô
𝑓 𝑥 4𝑥3
Ô
𝑓 𝑥 12𝑥2 , hence, 𝑓 0
0 but
there is no inflection point at 𝑥 0.
𝑦 𝑥4
54
70 Linear approximation
EX 70.1. Suppose 𝑓 𝑡 is the temperature in degrees at time 𝑡 (in hours), where 𝑡 0 represents midnight. Suppose
that 𝑓 6 60 and 𝑓 6 3 ⇑ℎ𝑟. What is your best estimate for temperature at 7 00 am? and 8 00 am?
X X
Solution
temp
𝑦 𝑓 𝑡
tangent line
slope is 3X ⇑ℎ𝑟
66
3X
zy
63
3X
60
6 7 8 time
# Linear approximation:
* Approximation principle:
am
𝑓 𝑥 𝑓 𝑎 𝑓 𝑎∆𝑥.
𝑓 𝑎
𝑓 𝑎 𝑓 𝑎Δ𝑥
slope
𝑓 𝑎
and it is called the "Linearization of 𝑓 at 𝑎".
∆𝑥
.R
Hence the "Linearization of 𝑓 at 𝑎" 𝐿𝑎
𝑓 𝑎 𝑓 𝑎∆𝑥 𝑓 𝑎 𝑓 𝑎𝑥 𝑎.
𝑎 𝑥 𝑎 Δ𝑥
Note. Equation of tangent line at 𝑥 𝑎 is 𝑦 𝑦𝑜 𝑚𝑥 𝑥𝑜 Ô 𝑦 𝑓 𝑎 𝑓 𝑥𝑥 𝑎
Ô
𝑦 𝑓 𝑎 𝑓 𝑥𝑥 𝑎 𝐿𝑥 at 𝑎.
⌋︂
EX 70.2. Use the Approximation to estimate 59 without a calculator.
A
Solution
Let 𝑓 𝑥
⌋︂
𝑥 Ô
𝑓 𝑥 1 1
𝑥 2 , 𝑎 64, ∆𝑥 59 64 5. Now, since 𝑓 𝑥 𝑓 𝑎 𝑓 𝑎∆𝑥, then:
Ô
2 ⌋︂ ⌋︂
𝑓 59 𝑓 64 𝑓 𝑎∆𝑥 59
1
64 12 64 2 5 7.6875.
Solution
Ô
6 60 6
𝑓 11𝜋 𝑓 6 𝑓 6 ∆𝑥 sin 60 sin 6 cos 𝜋6 11𝜋 0.5453.
𝜋 𝜋 11𝜋 𝜋 𝜋
60 60 6
𝑑
Note. We used radians because 𝑑𝑥
sin𝑥 cos𝑥 only works when 𝑥 in radians.
71 The differential
We knew previously that that 𝑓 𝑎 ∆𝑥 𝑓 𝑎 𝑓 𝑎∆𝑥, which means that 𝑓 𝑎 ∆𝑥 is unknown but can be
approximated by the expression 𝑓 𝑎 𝑓 𝑎∆𝑥. Now, if we subtracted 𝑓 𝑎 from both sides of 𝑓 𝑎 ∆𝑥
55
𝑓 𝑎 𝑓 𝑎∆𝑥 we will get 𝑓 𝑎 ∆𝑥 𝑓 𝑎 𝑓 𝑎∆𝑥. We will use the last expression to show that:
(the change of the function the differential). But first, let’s define the differential.
# Definitions:
• The differential 𝑑𝑥 ∆𝑥, we can think of the differential as a small change in the value of 𝑥.
• The differential 𝑑𝑓 𝑓 𝑥𝑑𝑥
𝑓 𝑥∆𝑥, the differential 𝑑𝑓 sometimes is written as 𝑑𝑦 (namely, 𝑑𝑓
𝑑𝑦).
• The change in 𝑓 ∆𝑓 𝑓 𝑥 ∆𝑥 𝑓 𝑥, the change in 𝑓 at some value 𝑎 can be written as ∆𝑓
𝑓 𝑎 ∆𝑥 𝑓 𝑎. Note that the change in 𝑓 can be written as ∆𝑦 (namely, ∆𝑓 ∆𝑦 )
We showed at the beginning of this section that 𝑓 𝑎 ∆𝑥 𝑓 𝑎 𝑓 𝑎∆𝑥. Hence, and according to the above
definitions 𝑓 𝑎 ∆𝑥 𝑓 𝑎 𝑓 𝑎∆𝑥 means the that ∆𝑓 𝑑𝑓 , which means that (the change of the function
zy
(2) 𝑑𝑓 when 𝑥 2 and ∆𝑥 0.3 : 𝑑𝑓 1 ln2 0.3 0.5079.
(3) ∆𝑓 when 𝑥 2 and ∆𝑥 0.3 : ∆𝑓 𝑓 𝑥 ∆𝑥 𝑓 𝑥 𝑥 ∆𝑥 ln𝑥 ∆𝑥 𝑥 ln𝑥 Ô
∆𝑓 2 0.3 ln2 0.3 2 ln2 0.4842.
EX 71.2. Suppose that the radius of a sphere is measured as 8𝑐𝑚 with possible error of 0.5𝑐𝑚.
(1) Use the differential to estimate the resulting error in computing the volume .
am
8𝑐𝑚
.R
72 L’Hospital’s Rule
𝑓 𝑥 0
Definition 72.1. A limit of the form lim is called indeterminate form if:
𝑥 𝑎 𝑔 𝑥 0
lim 𝑓 𝑥 0 and lim 𝑔 𝑥 0.
𝑥 𝑎 𝑥 𝑎
EX: lim 𝑥22 .
𝑥 2 𝑥 2
𝑓 𝑥 ª
Definition 72.2. A limit of the form lim is called indeterminate form if:
𝑥 𝑎 𝑔 𝑥 ª
Theorem 72.3. (L’Hospital’s Rule) Suppose 𝑓 and 𝑔 are differentiable and 𝑔 𝑥 x 0 in an open interval around 𝑎
ª
ª
𝑥 𝑎
lim 𝑓 𝑥 lim 𝑓𝑔 𝑥𝑥 , provided that lim 𝑓𝑔 𝑥𝑥 exists.
𝑥 𝑎 𝑔 𝑥 𝑥 𝑎 𝑥 𝑎
56
lim
𝑥 ª
𝑥
3𝑥
Ð ª
ª
. So, we use L’Hospital’s Rule:
𝑥 1
lim 3𝑥
lim ln3 3𝑥
0.
𝑥 ª 𝑥 ª
𝑥 0
1
𝑥
lim cos 𝑥
𝑥 0 3 sin 𝑥
1
2 lim 1
cos
𝑥 0 𝑥
* 1 lim cos𝑥1
𝑥 0 3sin𝑥
2 Ð 0
0
. So, we use L’Hospital’s Rule
again:
lim 3cos 𝑥 1
sin 𝑥 2
lim 6 sin sin
𝑥
𝑥 cos 𝑥
lim 6 cos1 𝑥
6
1
.
𝑥 0 𝑥 0 𝑥 0
zy
𝑥 0
Solution
ln𝑥 sin𝑥 0
lim sin𝑥 ln𝑥 0 ª (Indeterminate Form), lim ª
and lim (Indeterminate Form).
𝑥 0
1 ª
1 0
𝑥 0 sin𝑥 𝑥 0 ln𝑥
So, we use L’Hospital’s Rule:
lim sin𝑥 ln𝑥
𝑥 0
lim
𝑥 0
ln𝑥
1
sin𝑥
am
lim ln𝑥
𝑥 0 csc𝑥
1
lim csc𝑥 cot𝑥
𝑥
𝑥 0
1
lim 1
𝑥
cos𝑥
𝑥 0 sin𝑥 sin𝑥
2
sin 𝑥
lim
𝑥 0 𝑥
1
cos 𝑥
:
.R
lim
𝑥 0 𝑥
2
sin 𝑥
Ð 0
0
. At this point, we can find the limit using two methods:
(1) using L’Hospital’s Rule:
2
lim sin𝑥 𝑥
𝑥 0
2 sin𝑥 cos𝑥 201
lim 0
𝑥 0 1 1
sin𝜃
(2) using the fact that lim 𝜃 1 (check Theorem 43.1.):
A
𝜃 0
2
sin 𝑥
lim
𝑥 0 𝑥
sin𝑥
1
sin𝑥
:
lim
lim 1 0 0
𝑥 0
𝑥 𝑥 0
1 𝑥
EX 73.2. Find lim 1 𝑥
𝑥 ª
Solution
lim 1
𝑥 ª
𝑥
Ð
1 𝑥
1 ª
which is indeterminate form. So, we can find the limit as follows:
ÐÐ Ô ÐЪ Ð
lim
1 𝑥 ln 𝑥 𝑥
𝑦 1 ln𝑦 ln1 𝑥1
𝑥
ln𝑦 𝑥 ln1 𝑥1 lim ln𝑦 lim 𝑥 ln1 𝑥1 ª 0
𝑥 𝑥 ª ª
which is indeterminate form. So, we will need to rewrite the expression in different way, and then we will use
L’Hospital’s Rule:
1
Ô 𝑥lim ln𝑦
1
1 1
1 𝑥2
ln1 𝑥
lim ln𝑦 lim 𝑥 ln1 𝑥1 lim 1 lim 𝑥
1 lim 1
1
1 𝑥
1. Hence, lim ln𝑦 1,
𝑥 ª 𝑥 ª ª 𝑥 ª 𝑥 𝑥 ª
𝑥2
𝑥 ª 𝑥 ª
but we need to find lim 𝑦. In order to do that, we need to think of lim 𝑦 as lim 𝑒ln 𝑦
and we proved that
𝑥 ª 𝑥 ª 𝑥 ª
ln𝑦 1
lim ln𝑦 1. Therefore, lim 𝑦 lim 𝑒 𝑒 𝑒.
𝑥 ª 𝑥 ª 𝑥 ª
57
74 Newton’s Method
EX: Find a solution to the equation 𝑒𝑥 4𝑥 .
Attempting: If we take ln of both sides we will get 𝑥 ln4𝑥. But this will not help. Instead of that we
can approximate the solutions by looking at the graph of 𝑦 𝑒𝑥 and 𝑦 4𝑥:
20 𝑦 𝑒𝑥
15
𝑦 4𝑥
10
3 2 1 1 2 3 4
5
zy
10
and then we will find that the solutions are approximately 0.3 and 2.1. But we can get better approximations using
Newton’s Method. But before proceeding to Newton’s Method we need to change the question "Find a solution to the
equation 𝑒𝑥 4𝑥" into the equivalent question "Find a zero to the function 𝑦 𝑒𝑥 4𝑥".
ÐÐÐ
.R
By noticing the graph below, we will find that the new value 𝑥2 is a better guess than the 𝑥1 . So, by repeating
these steps and taking 𝑥2 as our new guess we will get a much much better guess (𝑥3 , such that 𝑥3 is the 𝑥-intercept
of the tangent line through 𝑥2 , 𝑓 𝑥2 ) and so on.
𝑦 𝑒𝑥 4𝑥
A
𝑥1 , 𝑓 𝑥1
𝑥2 , 𝑓 𝑥2
𝑥2 𝑥1
In generally, as we repeat this process over and over again, our 𝑛 1-th guess should be:
𝑥𝑛 1 𝑥𝑛 𝑓𝑓 𝑥𝑛𝑛 . And this is the equation of Newton’s Method.
Now, let’s
𝑥𝑛
solve our problem using Newton’s Method equation, the equation in this example should be 𝑥𝑛 1
1. Let 𝑥1 3. 𝑥1 3
2. Then 𝑥2 𝑥1 𝑒 𝑒𝑥1 4𝑥4 1 3 𝑒𝑒3 443 2.49.
2.49
3. Then 𝑥3 2.49 𝑒 𝑒2.49
4 2.49
4
2.23.
4. Then 𝑥4 2.15860801.
5. Then 𝑥5 2.15331858.
6. Then 𝑥6 2.15329236.
7. Then 𝑥7 2.15329236.
58
Hence, our 7-th guess is is 𝑥7 2.15329236 which is the approximation of the first zero of the function. In order to
find the second zero of the function, we can take 𝑥1 0 and repeat this process.
75 Antiderivatives
EX 75.1. If 𝑔 𝑥
3𝑥2 , what could 𝑔 𝑥 be?
Solution
Definition 75.1. A function 𝐹 𝑥 is called an antiderivative of 𝑓 𝑥 on an interval 𝑎, 𝑏 if 𝐹 𝑥
𝑓 𝑥 on 𝑎, 𝑏.
So, in the above example, 𝑥3 is an antiderivative of 3𝑥2 . Also 𝑥3 𝑐 is an antiderivative of 3𝑥2 .
EX 75.2. What are all antiderivatives of 𝑓 𝑥 3𝑥2
zy
Solution
All the antiderivatives of 𝑓 𝑥 3𝑥2 are the family 𝐹 𝑥 𝑥3 𝑐. But could there be any other antiderivatives ?
In fact, the answer is NO, and one way to think about this intuitively, is if you have two functions with the same
derivative, it is like having two runners in a race that always speed up and slow down at exactly the same times. If
one of those runners starts ahead of the other then the distance between them will always stay exactly the same. That
am
distance is the vertical distance drawn below on the graph, and that is the constant 𝑐.
𝑦 𝑥3 𝑐
𝑦 𝑥3
.R
In general: If 𝐹 𝑥 is antiderivative for 𝑓 𝑥, then all other antiderivatives for 𝑓 𝑥 can be written in the form
𝐹 𝑥 𝑐.
Table of antiderivatives:
Function 𝑓 𝑥 antiderivative 𝐹 𝑥 Function 𝑓 𝑥 antiderivative 𝐹 𝑥
A
Solution
Ô 𝐹 𝑥 ⌋︂
1
1 1 1
𝑓 𝑥 5 1𝑥2
2
𝑥
2 . Hence, 𝐹 𝑥 5 arctan𝑥 21 𝑥2
1 𝑐 5 arctan𝑥 𝑥 𝑐.
2
59
Solution
𝑔 𝑥 𝑒𝑥 3 cos𝑥 𝑐. But we know that 𝑔 2𝜋 5 Ô 𝑒2𝜋 3 cos2𝜋 𝑐 5 Ô 𝑒2𝜋 3𝑐 5 Ô 𝑐 2 𝑒2𝜋 .
Hence, 𝑔 𝑥 𝑒𝑥 3 cos𝑥 2 𝑒2𝜋 .
⌋︂ 1
EX 76.2. 𝑓
𝑥 𝑥𝑥 𝑥
. Find an equation for 𝑓 𝑥, if 𝑓 1 0 and 𝑓 0 2.
Solution
⌋︂
Ô 𝑓 Ô 𝑓 𝑥 Ô 𝑓 𝑥 Ô
⌋︂ 5 1
𝑥 3 1 𝑥2 𝑥2 2 5 1
𝑓
𝑥 𝑥 𝑥 𝑥
𝑥 𝑥2 𝑥
2
5 1 𝑐
5
𝑥2 2𝑥 2 𝑐
2 2
zy
Solution
We know that the acceleration to the gravity is 𝑎𝑡 9.8𝑚⇑𝑠2 . The negative sign here because the gravity is
pulling objects down towards the ground in the negative direction. We also have an initial condition 𝑣 0 20𝑚⇑𝑠,
and velocity is positive because we are throwing the tomatoes up. And we were told that 𝑠0 30𝑚. Therefore, we
can solve this example as follows:
𝑎𝑡 𝑠 𝑡 9.8
20 Ô
Ô
am
𝑠 𝑡 9.8𝑡 𝑐1 . But we know that 𝑣 0 𝑠 0 20𝑚⇑𝑠, hence, 𝑠 0 9.80 𝑐1
𝑠 𝑡 9.8𝑡 20
2
Ô
𝑠𝑡 9.8 𝑡2 20𝑡 𝑐2 . But we know that 𝑠0 30
2
𝑠0 9.8 02 200 𝑐2 Ô
30 Ô
𝑐2 30. So, we can rewrite position equation as follows:
2
𝑠𝑡 9.8 𝑡2 20𝑡 30.
Now, we need to know "How long does it take the tomato to reach the ground?". In order to do this, we need to know
2
when 𝑠𝑡 9.8 𝑡2 20𝑡 30 0, which happens at 𝑡 1.17 and at 𝑡 5.25. The negative time doesn’t make
sense, so we left with the solution 𝑡 5.25𝑠𝑒𝑐𝑜𝑛𝑑𝑠.
.R
We also need to know "What is its velocity at impact?". In order to do this we need to compute 𝑣 5.25, because the
time of impact is 𝑡 5.25𝑠𝑒𝑐𝑜𝑛𝑑𝑠. Hence, 𝑣 5.25 𝑠 5.25 9.85.25 20 31.45𝑚⇑𝑠.
Ô Ô
𝑥1
derivative, then 𝑔1 𝑥 𝑔2 𝑥 0. But from the above lemma we know that if 𝑔 𝑥 0 then 𝑔 𝑥 𝐶. Hence,
60
78 Summation notation
5
EX 78.1. Q 2𝑖 .
𝑖 1
Solution
The above sigma notation is used to write a sum. The letter 𝑖 is called the index, the number 1 is called lower limit
5
(starting index) and the number 5 is called upper limit (ending index). We can evaluate the expression Q 2𝑖 by
𝑖 1
summing up 2𝑖 for all values of 𝑖 starting from 1 to 5. Hence,
5
Q 2𝑖 21 22 23 24 25 62.
𝑖 1
7
EX 78.2. Q 1𝑗 .
𝑗 3
zy
Solution
7
Q 1𝑗 1
3
1
4
1
5
1
6
1
7
153
140
.
𝑗 3
EX 78.3. Write in Σ notation: 6 9 12 15 18.
am Solution
We can solve this example in many ways, this depends on the way we look at the pattern of 6 9 12 15 18. For
example:
4
(1) 6 9 12 15 18 6 0 3 6 1 3 6 2 3 6 3 3 6 4 3 Q6 𝑖 3.
𝑖 0
6
Q𝑛
.R
(2) 6 9 12 15 18 2 3 3 3 4 3 5 3 6 3 3. Note that the letter of the index doesn’t
𝑛 2
matter at all, we can use any letter.
3 7 15 31
EX 78.4. Write in Σ notation: 4
8
16
32
.
Solution
A
5 𝑖
3
4
7
8
15
16
31
32 Q 2 2𝑖 1 .
𝑖 2
79 Approximating area
EX: Estimate the area under the curve 𝑦 𝑥2 between 𝑥 0 and 𝑥 3 by approximating it with 6 rectangles. .
We will approximate the area using the following two methods:
Right Endpoints:
In this method we draw rectangles (the 6 rectangles) so the right side of each rectangle is as tall as the curve:
61
10
In this method it is obvious that base of each rectangle has size 0.5, and the height of each rectangle is given by the
value of our function 𝑦 𝑥2 on the right side of the rectangle. So, for example:
The area of the first rectangle 𝑅1 𝑏 ℎ 0.5 0.52 . Similarly, 𝑅2 0.5 12 , 𝑅3 0.5 1.52 , 𝑅4 0.5 22 ,
𝑅5 0.5 2.52 , and 𝑅6 0.5 32 . Hence, the area of all rectangles equal:
𝑅1 𝑅2 𝑅3 𝑅4 𝑅5 𝑅6 0.5 0.52 0.5 12 0.5 1.52 0.5 22 0.5 2.52 0.5 32 . This can
be written in sigma notation as:
6
Q 0.5 0.5𝑖
2 91
11.375 A area under the curve.
zy
𝑖 1 8
Left Endpoints:
In this method we draw rectangles (the 6 rectangles) so the left side of each rectangle is as tall as the curve:
10
8
am
6
6
Q 0.5 0.5𝑖 1
2 55
8
6.875 @ area under the curve.
𝑖 1
Note. we can make better approximations by increasing the number of rectangles. Check the following example.
EX 79.1. Estimate the area under the curve 𝑦 𝑥2 between 𝑥 0 and 𝑥 3 by approximating it with 12 rectangles.
Solution
62
In this method it is obvious that base of each rectangle has size 0.25, and the height of each rectangle is given by the
value of our function 𝑦 𝑥2 on the right side of the rectangle. Hence, 𝑅𝑖 0.25 0.25 𝑖2 . Therefore, the area of
all rectangles equal:
12
Q 0.25 0.25 𝑖2 10.156.
𝑖 1
zy
0.5 1 1.5 2 2.5 3
In this method it is obvious that base of each rectangle has size 0.25, and the height of each rectangle is given by the
value of our function 𝑦 𝑥2 on the left side of the rectangle. Hence, 𝑅𝑖 0.25 0.25 𝑖 12 . Therefore, the area
of all rectangles equal:
12
Q 0.25 0.25 𝑖 1
2
7.906.
𝑖 1
am
Note. If we used 100 rectangles for example, then:
For Right Endpoints method:
100
Area of all rectangles should be Q𝑏 ℎ𝑖 . But we know that 𝑏 3
100
, and if we assume that the 𝑖-th right endpoint is
𝑖 1
3 3
labeled by 𝑥𝑖 , then 𝑥𝑖 100 𝑖. Hence, ℎ𝑖 𝑥𝑖 2 100 𝑖2 . Therefore, area of all rectangles should equal:
100
Q 3
100
3
100
𝑖2 9.1435.
.R
𝑖 1
2
𝑖 1 8.8654.
𝑖 1 100 100
EX 79.2. Estimate the area under the curve 𝑦 𝑥2 between 𝑥 0 and 𝑥 3 by approximating it with 𝑛 rectangles.
Solution
Note. The exact area under the curve is given by the limit:
63
𝑛 𝑛
lim
𝑛 ª
Q 𝑛3
3
𝑛
𝑖2 or lim
𝑛 ª
Q 𝑛3
3
𝑛
𝑖 1
2
. These sums are called "Riemann Sums"
𝑖 1 𝑖 1
EX 79.3. Compute the area under the curve 𝑦 𝑥2 between 𝑥 0 and 𝑥 3.
Solution
𝑛
In order to compute the exact area we need to evaluate the limit lim
𝑛 ª
Q 𝑛3
3
𝑛
𝑖2 :
𝑖 1
𝑛 𝑛
3 32 2 27 𝑛 𝑛
lim
𝑛
Q
3 3 2
𝑖
𝑛
lim Q 2
𝑖 Q
lim 3 𝑖2 . At this point, we will use the fact that 𝑖2 Q 𝑛𝑛 12𝑛 1
.
1𝑛 𝑛 𝑛 𝑖 1 6
𝑛 ª 𝑛 ª 𝑛 ª
𝑖 1 𝑖 𝑖 1
Hence:
𝑛
9 2𝑛3 3𝑛2 𝑛
lim
𝑛 ª
27
𝑛3 Q 𝑖2 lim
𝑛 ª
27 𝑛𝑛 12𝑛 1
𝑛3 6
lim
𝑛 ª
9 𝑛𝑛 12𝑛 1
2 𝑛3
lim
𝑛 ª 2 𝑛3
𝑖 1
9 3 1 9
lim 2 2 9.
𝑛 2 ª 𝑛 𝑛2 2
zy
80 The fundamental theorem of calculus part 1
In the following example, the expression 𝑔 𝑥 1 𝑓 𝑡𝑑𝑡 means the net area between 1 and some value 𝑥 on the R𝑥
𝑥-axis. We will call 𝑔 𝑥 the accumulated area function because as 𝑥 increases 𝑔 𝑥 measures how much net area
has accumulated.
EX 80.1. Suppose 𝑓 𝑥 has the graph shown, and let 𝑔 𝑥 R1𝑥 𝑓 𝑡𝑑𝑡. Find:
am
4
3 𝑦 𝑓 𝑥
1 2 3 4 5 6 7 8
4
.R
3
2
1
2
1
1 1 2 3 4 5 6 7 8
2
3
4
2
1
1 1 2 3 4 5 6 7 8
2
3
4
64
4. 𝑔 4=𝑔 𝑥 R14 𝑓 𝑡𝑑𝑡 8.
4
3 𝑦 𝑓 𝑥
2
1
1 1 2 3 4 5 6 7 8
2
3
4
2
1
1 1 2 3 4 5 6 7 8
2
3
zy
4
2
1
1
2
3
1 2 3 4 5 6
am
7 8
4
2
1
.R
1 1 2 3 4 5 6 7 8
2
3
4
Note. If we plot all values of 𝑔 𝑥 on coordinate axes and connect the dots, we will notice the following:
10
4 𝑦 𝑔 𝑥
2
2 1 2 3 4 5 6 7 8
4
4
3 𝑦 𝑓 𝑥
2
1
1 1 2 3 4 5 6 7 8
2
3
4
(1) We know that the derivative 𝑔 𝑥 is positive where 𝑔 𝑥 is increasing. But 𝑔 𝑥 is increasing wherever we are
adding on positive area, i.e. when 𝑓 𝑥 is positive. So, we have that:
𝑔 𝑥 A 0 where 𝑓 𝑥 A 0.
65
(2) 𝑔 𝑥 is negative where 𝑔 𝑥 is decreasing. But 𝑔 𝑥 is decreasing wherever we are adding on negative
(3) 𝑔 𝑥
0 where 𝑓 𝑥 0.
(4) If we look closer we will find that the rate at which 𝑔 𝑥 is increasing depends on the height of 𝑓 𝑥. So,
the rate of change of 𝑔 𝑥 which is 𝑔 𝑥 is behaving very much like the function 𝑓 𝑥 itself. In fact 𝑔 𝑥 𝑓 𝑥.
Theorem 80.1. (Fundamental Theorem of Calculus, Part 1) If 𝑓 𝑥 is continuous on (︀𝑎, 𝑏⌋︀ then for 𝑎 B 𝑥 B 𝑏 the
function
𝑥
𝑔 𝑥 S𝑎 𝑓 𝑡𝑑𝑡
zy
EX 80.2. ⌋︂
Find: ⌋︂
𝑑
1. 𝑑𝑥 R𝑥
5 ⌋︂𝑡 3𝑑𝑡=⌋︂𝑥 3.
2 2
𝑑
2. 𝑑𝑥 R𝑥
4 ⌋︂ 𝑡 3𝑑𝑡= 𝑥 3.⌋︂
2 2
⌋︂
𝑑
R sin 𝑥
4 𝑑 𝑥
3. 𝑑𝑥 𝑥 𝑡2 3𝑑𝑡= 𝑑𝑥 4 𝑡2 3𝑑𝑡
⌋︂
R 𝑥2 3.
𝑑
4. 𝑑𝑥 R4
𝑡2 3𝑑𝑡:
𝑑
In this example we will use the chain rule which states that 𝑑𝑥
am
𝑓 𝑢𝑥 𝑑𝑓𝑑𝑢𝑢 𝑑𝑢𝑑𝑥𝑥 , knowing that 𝑢𝑥
sin𝑥.
So: ⌈︂
sin 𝑥 ⌋︂ 2 𝑢 ⌋︂ 2 ⌋︂
𝑑
𝑑𝑥 4 R
𝑡 3𝑑𝑡 𝑑𝑢
𝑑
4 𝑡 3𝑑𝑡 𝑑 sin
𝑑𝑥
𝑥
R
𝑢2 3 cos𝑥 sin2 𝑥 3 cos𝑥.
where 𝐹 is any antiderivative of 𝑓 , that is 𝐹 is any function such that 𝐹 𝑓.
Comments on "Fundamental Theorem of Calculus Part 2":
A.
𝑏
(1) If we think of 𝑓 as the derivative of 𝐹 (namely 𝑓 𝑥 𝐹 𝑥), then we get 𝑎 𝐹 𝑥𝑑𝑥 𝐹 𝑏 𝐹 𝑎. Which
R
4
𝑥
𝑑𝑥
Solution
5
R1
5
3𝑥2
4
𝑥
𝑑𝑥 𝑥3 4 ln ⋃︀𝑥⋃︀⋁︀ 53 4 ln ⋃︀5⋃︀ 13 4 :0
⋃︀1⋃︀ 124 4 ln5.
ln
1
EX 81.2. Find R 1
4 𝑦 2 𝑦 1
𝑦2
1 𝑑𝑦
Solution
R R R
5 3 1
4 𝑦 2 𝑦 1 4 2 1 4 3 1 1 𝑦2 𝑦2 𝑦2
1 𝑦 𝑦 1𝑦 ⋁︀
1 1 𝑑𝑦 2 𝑑𝑦 1 𝑦
2 𝑦2 𝑦 2 𝑑𝑦 5 3 1
𝑦2 2 2 2
1
5 3 1 5 3 1
42 42 42 12 12 12 146
5 3 1 5 3 1 .......... 15
.
2 2 2 2 2 2
66
82 Proof of the Fundamental Theorem of Calculus
Theorem 82.1. (Fundamental Theorem of Calculus, Part 1) If 𝑓 𝑥 is continuous on (︀𝑎, 𝑏⌋︀ then for 𝑎 B 𝑥 B 𝑏 the
function
𝑥
𝑔 𝑥 S𝑎 𝑓 𝑡𝑑𝑡
Proof. 𝑔 𝑥
lim 𝑔 𝑥ℎ𝑔 𝑥
lim R
𝑎
𝑥ℎ
𝑓 𝑡𝑑𝑡R 𝑎
𝑥
𝑓 𝑡𝑑𝑡
. Now, by properties of integrals, the integral from (𝑎 to
ℎ 0 ℎ ℎ 0 ℎ
𝑥 ℎ) minus the integral from (𝑎 to 𝑥) is just the integral from (𝑥 to 𝑥 ℎ) (check the graph below).
zy
𝑎 𝑥 𝑥ℎ
R 𝑥ℎ
R R 𝑥 ℎ
𝑓 𝑥
R
𝑎 𝑥𝑥ℎ
Therefore, lim R
𝑥ℎ
𝑓 𝑡𝑑𝑡
𝑥
ℎ
lim
𝑓 𝑥. 𝑓 𝑥
ℎ
ℎ 0 ℎ ℎ 0
But let’s make this argument a little more precise. Let 𝑀 be the maximum value that 𝑓 𝑥 achieves on the sub-interval
A.
(︀𝑥, 𝑥 ℎ⌋︀, and let 𝑚 be the minimum value (notice that 𝑓 𝑥 has to have a minimum value and a maximum value
because it is continuous).
𝑎 𝑥 𝑥ℎ
67
Theorem 82.2. (Fundamental Theorem of Calculus, Part 2) If 𝑓 is continuous on (︀𝑎, 𝑏⌋︀, then
𝑏
S𝑎 𝑓 𝑥𝑑𝑥 𝐹 𝑏 𝐹 𝑎
where 𝐹 is any antiderivative of 𝑓 , that is 𝐹 is any function such that 𝐹 𝑓.
Proof. Let 𝐺𝑥 R 𝑥
𝑎 𝑓 𝑡𝑑𝑡, then (from the above theorem) 𝐺 𝑥 𝑓 𝑥, that is 𝐺𝑥 is antiderivative for 𝑓 𝑥.
0
R𝑏 𝑎
R
:
Now, 𝐺𝑏 𝐺𝑎 𝑎 𝑓 𝑡𝑑𝑡 𝑎 𝑓 𝑡𝑑𝑡 which means that the theorem is true if we used the antiderivative 𝐺𝑥.
But the theorem must be true for any antiderivative. That can be proved as follows:
Let 𝐹 𝑥 be any antiderivative of 𝑓 𝑥, then 𝐹 𝑥 𝐺𝑥 𝑐. Therefore, 𝐹 𝑏 𝐹 𝑎 𝐺𝑏 𝑐 𝐺𝑎 𝑐
𝑏
𝐺𝑏 𝐺𝑎 𝑎 𝑓 𝑡𝑑𝑡. R
83 The Substitution Method
EX 83.1. Find R 2𝑥 sin𝑥2 𝑑𝑥
zy
Solution
Solution
.R
Let 𝑢 Ô 𝑑𝑢 7𝑑𝑥 Ô 71 𝑑𝑢
7𝑥 𝑑𝑥. Hence, R 𝑒7𝑥 𝑑𝑥 R 𝑒𝑢 1
7
𝑑𝑢 1 𝑢
7
𝑒 𝑐 1 7𝑥
7
𝑒 𝑐.
EX 83.4. Find R𝑒 ln𝑥𝑥 𝑑𝑥.
2
𝑒
Solution
Ô
A
Let 𝑢 ln𝑥 𝑑𝑢 𝑥1 𝑑𝑥. Note that we should consider the bounds of integration while solving this example,
but we can worry about the bounds now or later. We will solve the example using the two methods:
(1) Worry about bounds of integration now:
When 𝑥 𝑒, then 𝑢 ln𝑒 1. Also when 𝑥 𝑒2 , then 𝑢 ln𝑒2 2. So:
2
R ln𝑥
𝑥
𝑑𝑥 R 𝑢𝑑𝑢 𝑢2
2
ln𝑥2
2
⋁︀
ln𝑒2 2
2
ln𝑒2
2
22
2
12
2
1
2
.
𝑒
R 𝑑
𝑑𝑥
𝑓 𝑔 𝑥𝑑𝑥 R
𝑓 𝑔 𝑥𝑔 𝑥𝑑𝑥. But on the left side of the previous equation we are taking the integral of a
derivative, and we knew that the integral is an antiderivative. Hence, the integral (antiderivative) of a derivative is
the function itself, namely:
R 𝑑
𝑑𝑥
𝑓 𝑔 𝑥𝑑𝑥 𝑓 𝑔 𝑥. Now when we do use substitution we actually writing:
68
𝑓 𝑔 𝑥 𝑐 R
𝑓 𝑔 𝑥 𝑔 𝑥𝑑𝑥. Because then we are seeing an expression of the form 𝑓 𝑔 𝑥𝑔 𝑥𝑑𝑥 and
R
recognize 𝑢 as 𝑔 𝑥 and 𝑑𝑢 as 𝑔 𝑥𝑑𝑥. So, we are rewriting this expression 𝑓 𝑔 𝑥𝑔 𝑥𝑑𝑥 as:
R
P
here is: 𝑛
𝑖 1 𝑓 𝑥𝑖
𝑎𝑝𝑝𝑟𝑜𝑥𝑖𝑚𝑎𝑡𝑒𝑑 𝑎𝑣𝑒𝑟𝑎𝑔𝑒 𝑓 𝑥1 𝑓 𝑥2 𝑓𝑛 𝑥3 .... 𝑓 𝑥𝑛
.
zy
Δ𝑥
𝑎 𝑥1𝑥2
am
𝑥𝑛 𝑏
But the approximation gets better as the number of sample points gets larger, so we can define the exact average as:
𝑎𝑣𝑒𝑟𝑎𝑔𝑒 lim
P𝑛𝑖 1 𝑓 𝑥𝑖 .
𝑛 ª 𝑛
Δ𝑥
But we can make the above sum look more like a Riemann Sum by multiplying by Δ𝑥
. So we get:
Solution
𝑔𝑎𝑣𝑒 R 5 1
2 15𝑥
. Let 𝑢 1 5𝑥 Ô 𝑑𝑢 5𝑑𝑥 Ô
1
𝑑𝑢 𝑑𝑥. Note that at 𝑥 2𝑢 9 and at 𝑥 5𝑢 24. So:
52 5
24
R R
5 1 24 1 1
𝑔𝑎𝑣𝑒 2 15𝑥 9 𝑢 5 𝑑𝑢 1 1
5 ln ⋃︀𝑢⋃︀⋁︀
1
ln24 ln9
1
ln 24
1
ln 83 0.065.
52 3 3 15 15 9 15
9
Question. Is there a number 𝑐 in the interval (︀𝑎, 𝑏⌋︀ for which 𝑔 𝑐 equals its average value? If so, find all
such numbers 𝑐. If not, explain why not .
In order to answer this question we may try to solve this the following equation for 𝑐:
15 1
𝑔 𝑐 𝑔𝑎𝑣𝑒 1
Ô
1 5𝑐
1
15
ln 83
1 5𝑐 ln 158
3
5𝑐Ô 15
ln 38
1
Ô
Ô 𝑐 ln 8
3
5
3.25. Hence, the
answer is Yes. This actually follows from "Mean Value Theorem for Integrals".
69
Acknowledgements
Although I never met or emailed the greet Dr. Linda Green, I would like to thank her for this greet course. Also i
would like to thank freeCodeCamp.org channel for preparing the video of the course.
zy
am
.R
A
70