Lecture
Lecture
of Petroleum Mathematics II
Def: A function 𝑦 = 𝑓(𝑥) is celled increasing on the interval [a, b], if 𝑓(𝑥1 ) < 𝑓(𝑥2 ),
whenever 𝑥1 < 𝑥2 in [a, b]. and it is called decreasing on [a, b] if 𝑓(𝑥1 ) > 𝑓(𝑥2 )
whenever 𝑥1 < 𝑥2 r in [a, b].
Example1: 𝑓(𝑥) = 𝑥
The function is increasing, because for each 𝑥1 < 𝑥2 , then 𝑓(𝑥1 ) < 𝑓(𝑥2 )
Example2: 𝑓(𝑥) = 1 − 2𝑥
The function is decreasing, because for each 𝑥1 < 𝑥2 , then 𝑓(𝑥1 ) > 𝑓(𝑥2 )
Example3: 𝑓(𝑥) = 𝑥 2 + 1
The function is increasing on[0, ∞], and the function is decreasing on [−∞, 0 ]
Fermat’s theorem: If the function 𝑓 has a local maximum or a local minimum at a point
c and 𝑓 ′ (𝑐) exists, then 𝑓 ′ (𝑐) = 0.
Def: A critical point of a function 𝑓 is a point c in the domain of 𝑓 such that either
𝑓 ′ (𝑐) = 0, or 𝑓 ′ (𝑐) does not exists.
1
Dep. of Petroleum Mathematics II
Notes:
2
Dep. of Petroleum Mathematics II
Example: Find the critical points, local maximum, local minimum, absolute maximum
and absolute minimum for the function
𝑓(𝑥) = 3𝑥 4 − 4𝑥 3 − 12𝑥 2 − 1 on [−2, 3]
Solution:
𝑓 ′ (𝑥) = 12𝑥 3 − 12𝑥 2 − 24𝑥 = 0 ÷ 12
𝑥 3 − 𝑥 2 − 2𝑥 = 0 ⟹ 𝑥(𝑥 2 − 𝑥 − 2) = 0
𝑥(𝑥 − 2)(𝑥 + 1) = 0 ⟹ 𝑥 = 0 , 𝑥 = 2, 𝑥 = −1
The critical points are −1, 0 and 2
𝑓(0) = 3(0)4 − 4(0)3 − 12(0)2 − 1 = −1 ⟹ (0, −1)
𝑓(−1) = 3(−1)4 − 4(−1)3 − 12(−1)2 − 1 = −6 ⟹ (−1, −6)
𝑓(2) = 3(2)4 − 4(2)3 − 12(2)2 − 1 = −33 ⟹ (2, −33)
∴ (−1, −6) and (2, −33) are local minimum
(0, −1) is local maximum
𝑓(−2) = 3(−2)4 − 4(−2)3 − 12(−2)2 − 1 = 31
𝑓(3) = 3(3)4 − 4(3)3 − 12(3)2 − 1 = 26
∴ Absolute maximum = max. {𝑓(−2), 𝑓(3), 𝑙𝑜𝑐𝑎𝑙 𝑚𝑎𝑥. }
= max. {31, 26, −1} = 31
∴ Absolute minimum = min. {𝑓(−2), 𝑓(3), 𝑙𝑜𝑐𝑎𝑙 𝑚𝑖𝑛. }
= min. {31, 26, −6, −33} = −33
3
Dep. of Petroleum Mathematics II