Sec3 Math3 Civil
Sec3 Math3 Civil
▪ Local Extrema
▪ Absolute Extrema
Solution
𝑓𝑥 = 20𝑥𝑦 − 10𝑥 − 4𝑥 3 1
𝑓𝑦 = 10𝑥 2 − 8𝑦 − 8𝑦 3 2
to find critical points
⇒ 𝑓𝑥 = 0 → 𝑥(20𝑦 − 4𝑥 2 − 10) = 0, 𝑓𝑦 = 0 = 10𝑥 2 − 8𝑦 − 8𝑦 3
𝑥=0 2𝑥 2 = 10𝑦 − 5
3
8𝑦 + 8𝑦 = 0 → 𝑦 = 0, → (0,0) 50𝑦 − 25 − 8𝑦 − 8𝑦 3 = 0
solving
8𝑦 3 − 42𝑦 + 25 = 0 →
𝑦1 = −2.545, 𝑦2 = 1.898, 𝑦3 = 0.647
Points are:
(±2.64, 1.898), (±0.86,0.65)
1
2. Absolute Extrema
To find the Absolute extrema of 𝒇(𝒙, 𝒚) on 𝑹
1. Inside R 2. On the boundary R
• Get critical points inside R • By using substituation
solve • Or, using Lagrange
⇒ 𝒇𝒙 = 𝟎, 𝒇𝒚 = 𝟎
Example 2 Find the absolute maximum and minimum values of the function
𝒇(𝒙, 𝒚) = 𝒙𝟐 − 𝟐𝒙𝒚 + 𝟐𝒚 on the rectangle 𝑫 = {(𝒙, 𝒚)| 𝟎 ≤ 𝒙 ≤ 𝟑, 𝟎 ≤
𝒚 ≤ 𝟐}
Solution
Inside R:
• 𝑓𝑥 = 0 → 2𝑥 − 2𝑦 = 0
• 𝑓𝑦 = 0 → −2𝑥 + 2 = 0 → 𝑥 = 1, 𝑦 = 1 ⇒ (1,1)
On Boundary of R:
On 𝐿1 : 0 ≤ 𝑥 ≤ 3, 𝑦 = 0
𝐹(𝑥) = 𝑓(𝑥, 0) = 𝑥 2 → 𝐹𝑥 = 2𝑥 = 0 → 𝑥 = 0
On 𝐿2 : 0 ≤ 𝑦 ≤ 2, 𝑥 = 3
𝐹(𝑦) = 𝑓(3, 𝑦) = 9 − 6𝑦 + 2𝑦 = 9 − 4𝑦 → 𝐹𝑦 = −4 ≠ 0
On 𝐿3 : 0 ≤ 𝑥 ≤ 3, 𝑦 = 2
𝐹(𝑥) = 𝑓(𝑥, 2) = 𝑥 2 − 4𝑥 + 4 → 𝐹𝑥 = 2𝑥 − 4 = 0 → 𝑥 = 2 ⇒ (2,2)
On 𝐿4 : 0 ≤ 𝑦 ≤ 2, 𝑥 = 3
𝐹(𝑦) = 𝑓(0, 𝑦) = 2𝑦 → 𝐹𝑦 = 2 ≠ 0
Point 𝒇(𝒙, 𝒚) = 𝒙𝟐 − 𝟐𝒙𝒚 + 𝟐𝒚 Conclusion
(1,1) =1−4+4=1
(0,0) =0 Abs. Min
(2,2) =4−8+4=0 Abs. Min
(3,0) =9 Abs. Max
(3,2) = 9 − 12 + 4 = 1
(0,2) =4
2
3. Lagrange Multipliers
Problem:
Find (…..), that make Maximum or Minimum? Of 𝒇(𝒙, 𝒚, 𝒛), given
Case 𝐈:One constraint: Case 𝐈𝐈: Two constraints:
𝒈(𝒙, 𝒚, 𝒛) = 𝒄𝟏 𝒈(𝒙, 𝒚, 𝒛) = 𝒄𝟏 , 𝒉(𝒙, 𝒚, 𝒛) = 𝒄𝟐
𝑓𝑥 = 𝜆 𝑔𝑥 1 𝑓𝑥 = 𝜆 𝑔𝑥 + 𝛽ℎ𝑥 1
𝑓𝑦 = 𝜆 𝑔𝑦 2 𝑓𝑦 = 𝜆 𝑔𝑦 + 𝛽ℎ𝑦 2
𝑓𝑧 = 𝜆 𝑔𝑧 3 𝑓𝑧 = 𝜆 𝑔𝑧 + 𝛽ℎ𝑦 3
𝑔(𝑥, 𝑦, 𝑧) = 𝑐1 4 𝑔(𝑥, 𝑦, 𝑧) = 𝑐1 4
ℎ(𝑥, 𝑦, 𝑧) = 𝑐2 5
⇒ solve them to find 𝑥, 𝑦, 𝑧
⇒ solve them to find 𝑥, 𝑦, 𝑧
Solution
𝐷 = 𝑑2 = (𝑥 − 3)2 + (𝑦 − 1)2 + (𝑧 + 1)2 , 𝑥2 + 𝑦2 + 𝑧2 = 4 1
Apply Lagrange Multipliers
𝑥−3
2(𝑥 − 3) = 2𝜆𝑥 ⇒ 𝜆 = 2
𝑥
𝑦−1
2(𝑦 − 1) = 2𝜆𝑦 ⇒ 𝜆 = 3
𝑦
𝑧+1
2(𝑧 + 1) = 2𝜆𝑧 ⇒ 𝜆 = 3
𝑧
𝑥−3 𝑦−1 𝑧+1
= =
𝑥 𝑦 𝑧
sub. 𝑖𝑛 1
𝑥𝑦 − 3𝑦 = 𝑥𝑦 − 𝑥 → 𝑥 = 3𝑦 , 𝑦 = −𝑧, 𝑥 = −3𝑧 →
2 2
𝑥 𝑥
𝑥2 + + = 4 → 𝑥 = ±6/√11, 𝑦 = ±2/√11, 𝑧 = ∓2/√11
9 9
The points are
(6/√11, 2/√11, − 2/√11) → Closest
(−6/√11, −2/√11, 2/√11) → Farthest
3
Exercises (1.4)
2
1 1
𝐷(𝑥, 𝑦) = 𝑓𝑥𝑥 ⋅ 𝑓𝑦𝑦 − 𝑓𝑥𝑦 = 16 > 0, and 𝑓𝑥𝑥 > 0 → point ( , − ) is Local Min
2 4
𝟏 𝟑 𝟐 𝟑 𝟏 𝟐
(iii) 𝒇(𝒙, 𝒚) = 𝒙 − 𝒚 + 𝒙 − 𝟔𝒙 + 𝟑𝟐𝒚 + 𝟒
𝟑 𝟑 𝟐
Solution
𝜕/𝜕𝑥 𝜕/𝜕𝑦
𝑓𝑥 = 𝑥 2 + 𝑥 − 6, → 𝑓𝑥𝑥 = 2𝑥 + 1, 𝑓𝑦 = −2𝑦 2 + 32 → 𝑓𝑦𝑦 = −4𝑦, 𝑓𝑥𝑦 = 0
To find Critical points
→ 𝑓𝑥 = 𝑥 2 + 𝑥 − 6 = 0 → (𝑥 + 3)(𝑥 − 2) = 0 → 𝑥 = −3, or 2 ,
𝑓𝑦 = −2𝑦 2 + 32 = 0 → 𝑦 = ±4
2
𝐷(𝑥, 𝑦) = 𝑓𝑥𝑥 ⋅ 𝑓𝑦𝑦 − 𝑓𝑥𝑦 = −4𝑦(2𝑥 + 1)
4
(iv) 𝒇(𝒙, 𝒚) = 𝒙𝟒 + 𝒚𝟑 + 𝟐𝟏𝒙 − 𝟗𝒚
Solution
𝜕/𝜕𝑥 𝜕/𝜕𝑦
𝑓𝑥 = 4𝑥 3 + 21, → 𝑓𝑥𝑥 = 12𝑥 2 , 𝑓𝑦 = 3𝑦 2 − 9 → 𝑓𝑦𝑦 = 6𝑦, 𝑓𝑥𝑦 = 0
21 3√ 3 21
𝑓𝑥 = 4𝑥 3 + 21 = 0 → 𝑥 3 = − → 𝑥 = − √ , 𝑓𝑦 = 3𝑦 2 − 9 = 0 → 𝑦 = ±√3
4 4
2
𝐷(𝑥, 𝑦) = 𝑓𝑥𝑥 ⋅ 𝑓𝑦𝑦 − 𝑓𝑥𝑦 = 72 𝑥 2 𝑦
Solution
2 +𝑦 2 ) 2 +𝑦 2 ) 2 +𝑦 2 )
• 𝑓𝑥 = 2𝑥 𝑒 −(𝑥 − 2(𝑥 3 + 3𝑥 𝑦 2 )𝑒 −(𝑥 = (2𝑥 − 2𝑥 3 − 6𝑥𝑦 2 )𝑒 −(𝑥 ,
2 2
• 𝑓𝑥𝑥 = (2 − 6𝑥 2 − 6𝑦 2 − 4𝑥 2 + 4𝑥 4 + 12𝑥 2 𝑦 2 )𝑒 −(𝑥 +𝑦 )
𝟐 𝟐
= (𝟐 − 𝟏𝟎𝒙𝟐 + 𝟒𝒙𝟒 − 𝟔𝒚𝟐 + 𝟏𝟐𝒙𝟐 𝒚𝟐 )𝒆−(𝒙 +𝒚 )
2 +𝑦 2 )
• 𝑓𝑦 = (6𝑦 − 2𝑥 2 𝑦 − 6𝑦 3 )𝑒 −(𝑥
2 +𝑦 2 )
• 𝑓𝑦𝑦 = (6 − 2𝑥 2 − 18𝑦 2 − 12𝑦 2 + 2𝑥 2 𝑦 2 + 12𝑦 4 )𝑒 −(𝑥
𝟐 +𝒚𝟐 )
= (𝟔 − 𝟐𝒙𝟐 − 𝟑𝟎𝒚𝟐 + 𝟐𝒙𝟐 𝒚𝟐 + 𝟏𝟐𝒚𝟒 )𝒆−(𝒙
𝟐 +𝒚𝟐 )
• 𝑓𝑥𝑦 = (−𝟏𝟐𝒙𝒚 − 𝟒𝒙𝒚 + 𝟒𝒙𝟑 𝒚 + 𝟏𝟐𝒙𝒚𝟑 )𝒆−(𝒙
5
2 2
2 2) 𝑒 −(𝑥 +𝑦 ) ≠0
𝑓𝑦 = 0 ⇒ (6𝑦 − 2𝑥 2 𝑦 − 6𝑦 3 )𝑒 −(𝑥 +𝑦 = 0→ 6𝑦 − 2𝑥 2 𝑦 − 6𝑦 3 = 0
= 𝑦(3 − 𝑥 2 − 3𝑦 2 )
𝑥=0 1 − 𝑥 2 = 3𝑦 2
𝑦(3 − 3𝑦 2 ) = 0 → 𝑦 = 0, 𝑦 = ±1 𝑦(3 − 𝑥 2 − 1 + 𝑥 2 ) = 0 → 𝑦 = 0
(0,0), (0, −1), (0,1) (−1,0), (1,0)
2
𝐷(𝑥, 𝑦) = 𝑓𝑥𝑥 ⋅ 𝑓𝑦𝑦 − 𝑓𝑥𝑦
= [(2 − 10𝑥 2 + 4𝑥 4 − 6𝑦 2 + 12𝑥 2 𝑦 2 )(6 − 2𝑥 2 − 30𝑦 2 + 2𝑥 2 𝑦 2 + 12𝑦 4 )
2 2
− (−12𝑥𝑦 − 4𝑥𝑦 + 4𝑥 3 𝑦 + 12𝑥𝑦 3 )2 ]𝑒 −2(𝑥 +𝑦 )
Solution
Inside region 𝑹:
𝑓𝑥 = 4 − 4𝑥, 𝑓𝑦 = 3 − 2𝑦 ⇒ 𝑓𝑥 = 0, 𝑓𝑦 = 0
3
4 − 4𝑥 = 0 → 𝑥 = 1, 3 − 2𝑦 = 0 → 𝑦 =
2
⇒ (1, 3/2) inside 𝑅 (accept)
On boundary of 𝑹:
𝑪𝟏 : 𝒚 = 𝒙
𝐹(𝑥) = 𝑓(𝑥, 2) = 5 + 4𝑥 − 2𝑥 2 + 6 − 4 = 7 + 4𝑥 − 2𝑥 2 → 𝐹𝑥 = 4 − 4𝑥 = 0 → 𝑥 = 1
→ Point (1,2)
6
𝑪𝟑 : 𝒚 = −𝒙
1
𝐹(𝑥) = 𝑓(𝑥, −𝑥) = 5 + 4𝑥 − 2𝑥 2 − 3𝑥 − 𝑥 2 = 5 + 𝑥 − 3𝑥 2 → 𝐹𝑥 = 1 − 6𝑥 = 0 → 𝑥 = ,
6
1
𝑦 = − → Point (1/6, −1/6) doesn't lie on boundary refuse
6
Point 𝒇(𝒙, 𝒚) = 𝟓 + 𝟒𝒙 − 𝟐𝒙𝟐 + 𝟑𝒚 − 𝒚𝟐 Conclusion
(1, 3/2) = 1/4
(7/6, 7/6) = 25/12,
(1,2) =5+4−2+6−4=9 Abs Max
(0,0) =5
(2,2) = −5
(−2,2) = −21 Absolute Min
Inside region 𝑹:
𝑓𝑥 = 2𝑥 − 3𝑦 − 6, 𝑓𝑦 = −3𝑥 − 2𝑦 + 2 ⇒ 𝑓𝑥 = 0, 𝑓𝑦 = 0
solve 1 , 2
2𝑥 − 3𝑦 = 6 1 , 3𝑥 + 2𝑦 = 2 2 ⇒ (18/13, −14/13) inside 𝑅 (accept)
On boundary of 𝑹:
𝑪𝟏 : 𝒚 = −𝟐, − 𝟑 ≤ 𝒙 ≤ 𝟑
𝑑/𝑑𝑥
𝐹(𝑥) = 𝑓(𝑥, −2) = 𝑥 2 − 8 → 𝐹𝑥 = 2𝑥 = 0 → 𝑥 = 0 → (0, −2) accept
𝐹𝑥 =0
𝑪𝟐 : 𝒙 = 𝟑, −𝟐 ≤ 𝒚 ≤ 𝟐
𝑑/𝑑𝑦
𝐹(𝑥) = 𝑓(3, 𝑦) = 9 − 9𝑦 − 𝑦 2 + 2𝑦 − 18 = −9 − 7𝑦 − 𝑦 2 → 𝐹𝑦 = −7 − 2𝑦 = 0 → 𝑦
𝐹𝑦 =0
= −7/2 refuse
𝑪𝟑 : 𝒚 = 𝟐, − 𝟑 ≤ 𝒙 ≤ 𝟑
𝑑/𝑑𝑥
𝐹(𝑥) = 𝑓(𝑥, 2) = 𝑥 2 − 12𝑥 → 𝐹𝑥 = 2𝑥 − 12 = 0 → 𝑥 = 6 refuse
𝐹𝑥 =0
𝑪𝟒 : 𝒙 = −𝟑, −𝟐 ≤ 𝒚 ≤ 𝟐
𝑑/𝑑𝑦
𝐹(𝑥) = 𝑓(𝑥, 2) = 9 + 9𝑦 − 𝑦 2 + 2𝑦 + 18 = 27 + 11𝑦 − 𝑦 2 → 𝐹𝑦 = 11 − 2𝑦 = 0 → 𝑦
𝐹𝑦 =0
= 11/2 refuse
7
Point 𝒇(𝒙, 𝒚) = 𝒙𝟐 − 𝟑𝒙𝒚 − 𝒚𝟐 + 𝟐𝒚 − 𝟔𝒙 conclusion
(18/13, −14/13) = −68/13 = −5.23
(0, −2) = −8,
(−3, −2) =1
(3, −2) =1
(3,2) = −27 Absolute Min
(−3,2) = 45 Absolute Max
(3) Find the shortest distance from the point 𝑷(𝟐, 𝟏, −𝟏) to the plane 𝟒𝒙 − 𝟑𝒚 +
𝒛=𝟓
Solution
𝐷𝑥 = 𝜆𝑔𝑥 : 2(𝑥 − 2) = 4 𝜆 → 𝑥 − 2 = 2𝜆 1
𝐷𝑦 = 𝜆 𝑔𝑦 : 2(𝑦 − 1) = −3𝜆 2
𝐷𝑧 = 𝜆 𝑔𝑧 : 2(𝑧 + 1) = 𝜆 3
𝑥−2 2(𝑦 − 1)
=− = 2(𝑧 + 1)
2 3
arrange
3𝑥 − 6 = −4𝑦 + 4 → 3𝑥 + 4𝑦 = 10
2(𝑦 − 1)
− = 2(𝑧 + 1) → −2𝑦 + 2 = 6𝑧 + 6 → 𝑦 + 3𝑧 = −2
3
28 23 25
𝑥= , 𝑦= , 𝑧=−
13 26 26
The shortest distance (𝑑)
2 2 2
28 23 25
𝑑 = √( − 2) + ( − 1) + (− + 1) = 0.196 length unit
13 26 26
The shortest distance is the perpendicular distance form point (ℎ, 𝑘) to the plane 𝑎𝑥 + 𝑏𝑦 +
𝑑=0
𝑎ℎ+𝑏𝑘+𝑑 4⋅2−3⋅1−1
𝑑=| |→𝑑=| | = 0.196 length unit
√𝑎2 + 𝑏 2 √16 + 9 + 1
8
(4) Find the shortest distance between the parallel planes 𝟐𝒙 + 𝟑𝒚 − 𝒛 =
𝟐, and 𝟐𝒙 + 𝟑𝒚 − 𝒛 = 𝟒.
Solution
𝐷𝑥 = 𝜆𝑔𝑥 : 2𝑥 = 2𝜆 → 𝑥 = 𝜆 1
𝐷𝑦 = 𝜆 𝑔𝑦 : 2𝑦 = 3𝜆 2
𝐷𝑧 = 𝜆 𝑔𝑧 : 2(𝑧 + 2) = −𝜆 3
9 𝜆 2 2 3 15
2𝜆 + 𝜆 − (− − 2) = 4 → 7𝜆 = 2 → 𝜆 = ⇒ 𝑥 = , 𝑦= , 𝑧=−
2 2 7 7 7 7
The shortest distance (𝑑)
2 2 3 2 15 2
𝑑 = √( ) + ( ) + (2 − ) = 0.5345 unit length
7 7 7
𝑎1 𝑥1 + 𝑏1 𝑦1 + 𝑐1 𝑧1 + 𝑑1 2 ⋅ 0 + 3 ⋅ 0 − 1 ⋅ −2 2
𝑑=| |→𝑑=| |=
√𝑎12 + 𝑏12 + 𝑐12 √4 + 9 + 1 √14
= 0.5345 unit length
9
(5) Find the points on the graph of 𝒙𝒚𝟑 𝒛𝟐 = 𝟏𝟔 that are closest to the origin
Solution
1 → 𝑥𝑦 = 2, 2 → 𝑥𝑦 5 = 24 ⇒ 𝑦 4 = 12 → 𝑦 = ±121/4 , 𝑥 = ±2/121/4 ,
Form equation 𝑧 there are two points
4 4 4 4
(2/√12, √12), (−2/√12, − √12)
Substituting in 𝑧
4 4 2√2 4 4 2√2
(2/√12, √12 ± 4 ) , (−2/√12, − √12, ± 4 )
√12 √12
Have the same minimum value of distance
𝐷 = 𝑑2 = 𝑥 2 + 𝑦 2 + 𝑧 2
𝑔(𝑥, 𝑦, 𝑧) = 𝑥 𝑦 3 𝑧 2 − 16 = 0
By using Lagrange Multipliers
2𝑥
• 𝐷𝑥 = 𝜆 𝑔𝑥 → 2𝑥 = 𝜆 𝑦 3 𝑧 2 → 𝜆 =
𝑦3𝑧2
2𝑦
•𝐷𝑦 = 𝜆 𝑔𝑦 → 2𝑦 = 3𝜆𝑥 𝑦 2 𝑧 2 → 𝜆 = 3𝑥𝑦2 𝑧2
𝑧
• 𝐷𝑧 = 𝜆 𝑔𝑧 → 2𝑧 = 2𝜆 𝑥𝑦 3 𝑧 → 𝜆 =
𝑥𝑦 3 𝑧
2𝑥 2𝑦 𝑧
3 2
= 2 2
= 3 =𝜆
𝑦 𝑧 3𝑥𝑦 𝑧 𝑥𝑦 𝑧
10
16 𝑧=±√2 𝑥 16 𝑦=±√3 𝑥 √2 √6
𝑧2 = → 2𝑥 2
= → 𝑥𝑦 = 2 → √3𝑥 2 = 2 → 𝑥 = ± 4 , 𝑦 = ± 4
𝑥𝑦 3 𝑥𝑦 3 √3 √3
4
= ± √12
The points are
√2 4 √8 √2 4 √8
( 4 , √12, ± 4 ) , (− 4 , − √12, ± 4 )
√3 √12 √3 √12
Give the same minimum value of distance
(6) Find three positive numbers whose sum is 1000 and whose product is a
maximum
Solution
𝑃 = 𝑥𝑦𝑧
𝑔(𝑥, 𝑦, 𝑧) = 𝑥 + 𝑦 + 𝑧 = 1000
𝑧=1000−𝑥−𝑦 To find ciritical points
→ 𝑃 = 𝑥𝑦(1000 − 𝑥 − 𝑦) → 𝑃 = 1000𝑥𝑦 − 𝑥 2 𝑦 − 𝑥𝑦 2 →
sub. in 1
→ 1000𝑦 − 2𝑦 2 − 𝑦 2 = 0 → 𝑦 = 0 refuse , 𝑦 = 1000/3 = 𝑥, 𝑧 = 1000/3
2nd Method: Lagrange Method
• 𝑃𝑥 = 𝜆 𝑔𝑥 → 𝑦𝑧 = 𝜆
• 𝑃𝑦 = 𝜆 𝑔𝑦 → 𝑥𝑧 = 𝜆
• 𝑃𝑧 = 𝜆 𝑔𝑧 → 𝑥𝑦 = 𝜆
𝑦𝑧 = 𝑥𝑧 → 𝑧(𝑦 − 𝑥) = 0 → 𝑧 = 0 refuse, or 𝑦 = 𝑥
𝑥𝑧 = 𝑥𝑦 → 𝑥(𝑧 − 𝑦) = 0 → 𝑥 = 0 refuse, or 𝑦 = 𝑧
1000
3𝑥 = 1000 → 𝑥 = =𝑦=𝑧
3
11
(7) Find the dimensions of the rectangular box of maximum volume with faces parallel to
the coordinate planes and that can be inscribed in the ellipsoid 𝟏𝟔𝒙𝟐 + 𝟒𝒚𝟐 + 𝟗𝒛𝟐 =
𝟏𝟒𝟒
Solution
4𝑥𝑦 2 ×𝑧 4 4
𝑉𝑦 = 0 → 𝑥𝑧 − = 0→ 𝑥𝑧 2 = 𝑥𝑦 2 → 𝑧 2 = 𝑦 2 → 144 − 16𝑥 2 − 4𝑦 2 = 4𝑦 2
9𝑧 9 9
→ 16𝑥 2 + 8𝑦 2 = 144 2
solve
→ 6𝑦 2 = 72 → 𝑦 = 2√3, 𝑥 = √3,
4√3
𝑧= ,so the dimensions are (2√3, 4√3, 8√3/3)
3
2nd Method: Lagrange Method
12
4√3
𝑧= , so the dimensions are (2√3, 4√3, 8√3/3)
3
(8) A window has the shape of a rectangle surmounted by an
isosceles triangle as shown in the figure, if the perimeter of
window is 12 feet, what the values of 𝒙, 𝒚, and 𝜽 will
maximizes the total area?
Solution
𝑃 = 12 = 𝑥 + 2𝑦 + 𝑥 sec 𝜃 1
𝑥2
𝐴𝜃 = 𝜆 𝑃𝜃 → sec 2 𝜃 = 𝑥 𝜆(sec 𝜃 ⋅ tan 𝜃) 4
4
Form 4 𝑥=2𝜆
⇒ 𝑥 sec 2 𝜃 = 4 𝜆(sec 𝜃 ⋅ tan 𝜃) → sec 2 𝜃 = 2 sec 𝜃 ⋅ tan 𝜃
→ sec 𝜃 (sec 𝜃 − 2 tan 𝜃) = 0
1 2 sin 𝜃
sec 𝜃 = 0 refuse , sec 𝜃 = 2 tan 𝜃 → = → 2 sin 𝜃 = 1 → 𝜃 = 30°
cos 𝜃 cos 𝜃
Form 2 𝑥
⇒ 𝑦 + tan 𝜃 = 𝜆(1 + sec 𝜃) → 𝑦 = 𝜆(1 + 2 tan 𝜃) − 𝜆 tan 𝜃 = 𝜆(1 + tan 𝜃)
2
1
𝑦 = 𝜆 (1 + )
√3
Form 1 1 4𝜆 6 6 12
⇒ 12 = 2𝜆 + 2𝜆 (1 + )+ → (4 + ) 𝜆 = 12 → 𝜆 = , 𝑥= ,
√3 √3 √3 2 + √3 2 + √3
1 + √3 6 𝟔 + 𝟔√𝟑
𝑦= =
√3 2 + √3 𝟐√𝟑 + 𝟑
13
(9) Three electrical components of a computer are located at
𝑷𝟏 (𝟎, 𝟎), 𝑷𝟐 (𝟒, 𝟎), and 𝑷𝟑 (𝟎, 𝟒). Locate the position
if a fourth component so that the signal delay time is
minimal.
Solution:
𝑓(𝑥, 𝑦) = 𝑑1 + 𝑑2 + 𝑑3
𝑥 𝑥−4 𝑥 𝑦 𝑦 𝑦 − 4 to find critical points
𝑓𝑥 = + + , 𝑓𝑦 = + + → 𝑓𝑥 = 0, 𝑓𝑦 = 0
𝑑1 𝑑2 𝑑3 𝑑1 𝑑2 𝑑3
𝑥 𝑥−4 𝑥 𝑦 𝑦 𝑦−4 ( )2
+ + = 0, + + = 0→
𝑑1 𝑑2 𝑑3 𝑑1 𝑑2 𝑑3
𝑥 𝑥−4 2 𝑦 𝑦 2 𝑥 2 + (𝑦 − 4)2
( + ) +( + ) = =1
𝑑1 𝑑2 𝑑1 𝑑2 𝑑32
𝑥 2 (𝑥 − 4)2 2𝑥(𝑥 − 4) 𝑦 2 𝑦 2 2𝑦 2
+ + + 2+ 2+ =1
𝑑12 𝑑22 𝑑1 𝑑2 𝑑1 𝑑2 𝑑1 𝑑2
𝑥 2 + 𝑦 2 (𝑥 − 4)2 + 𝑦 2 2𝑥(𝑥 − 4) + 2𝑦 2
→ + + =1
𝑑12 𝑑22 𝑑1 𝑑2
𝑥(𝑥 − 4) + 𝑦 2 1
→ =−
𝑑1 𝑑2 2
⃗⃗⃗⃗⃗⃗⃗
𝑃𝑃1 = ⟨(𝑥1 − 𝑥), (𝑦1 − 𝑦)⟩ = ⟨−𝑥, −𝑦⟩
𝑥(𝑥 − 4) + 𝑦 2 1
⃗⃗⃗⃗⃗⃗⃗
𝑃𝑃2 = ⟨(𝑥2 − 𝑥), (𝑦2 − 𝑦)⟩ = ⟨4 − 𝑥, −𝑦⟩ → cos 𝜃 = = − → 𝜃 = 120°
𝑑1 𝑑2 2
According to symmetric all angle between vectors is 120°
𝑑12 + 𝑑22 − 2𝑑1 𝑑2 cos 120° = 16 (1), 𝑑12 + 𝑑32 − 2𝑑1 𝑑3 cos 120° = 16 (2)
(1)−(2)
⇒ 𝑑22 − 𝑑32 + 𝑑1 𝑑2 − 𝑑1 𝑑3 = 0 → (𝑑2 − 𝑑3 )(𝑑2 + 𝑑3 ) + 𝑑1 (𝑑2 − 𝑑3 ) = 0
𝑑2 = 𝑑3 (3), 𝑑1 + 𝑑2 + 𝑑3 = 0 (refuse) +ve distances
14
sin 𝛼 sin 120° 1
𝑑22 + 𝑑32 + 𝑑2 𝑑3 = 32 → 𝑑2 = 𝑑3 = 4√2/3 → = → sin 𝛼 = , 𝛼
4√2/3 4 √2
= 45°
32 32 32 16 −2√6 + 6√2
𝑑12 + + √ 𝑑1 = 16 → 𝑑12 + √ 𝑑1 − = 0 → 𝑑1 =
3 3 3 3 3
2 2
𝑥 = 𝑑1 cos 𝛼 = 2 − , 𝑦 =2− #
√3 √3
(10) Use Lagrange multipliers to find the extrema given function to the given
constraints:
(i) 𝒇(𝒙, 𝒚) = 𝒚𝟐 − 𝟒𝒙𝒚 + 𝟒𝒙𝟐 , 𝒙𝟐 + 𝒚𝟐 = 𝟏
Solution
𝑓𝑦 = 𝜆 𝑔𝑦 → 2𝑦 − 4𝑥 = 2𝜆𝑦 → 4𝑥 − 2𝑦 = −2𝜆𝑦 2
(ii) 𝒇(𝒙, 𝒚, 𝒛) = 𝒙𝟐 + 𝒚𝟐 + 𝒛𝟐 , 𝒙 + 𝒚 + 𝒛 = 𝟐𝟓
Solution
• 𝑓𝑥 = 𝜆 𝑔𝑥 → 2𝑥 = 𝜆
• 𝑓𝑦 = 𝜆 𝑔𝑦 → 2𝑦 = 𝜆
• 𝑓𝑧 = 𝜆 𝑔𝑧 → 2𝑧 = 𝜆
2𝑥 = 2𝑦 = 2𝑧 → 𝑥 = 𝑧 = 𝑦
15
𝑥 + 𝑥 + 𝑥 = 25 → 𝑥 = 25/3 = 𝑧, 𝑦 = 25/3 ⇒ Point: (25/3, 25/3, 25/3)
𝑓𝑥 = 𝜆 𝑔𝑥 + 𝛽 ℎ𝑥 → 𝑦𝑧𝑡 = 𝜆 3
𝑓𝑦 = 𝜆 𝑔𝑦 + 𝛽 ℎ𝑦 → 𝑥𝑧𝑡 = 2𝑦 𝛽 4
𝑓𝑧 = 𝜆 𝑔𝑧 + 𝛽 ℎ𝑧 → 𝑥𝑦𝑡 = −𝜆 5
𝑓𝑡 = 𝜆 𝑔𝑡 + 𝛽 ℎ𝑡 → 𝑥𝑦𝑧 = 𝛽 6
from 3 , 5
⇒ 𝑦𝑧𝑡 = −𝑥𝑦𝑡 → 𝑦𝑧𝑡 + 𝑥𝑦𝑡 = 0 → 𝑦𝑡(𝑧 + 𝑥) = 0 → 𝑦𝑡 = 0, or 𝑧 = −𝑥
from 4 , 6 𝑥𝑧𝑡
⇒ = 𝑥𝑦𝑧 → 𝑥𝑧𝑡 = 2𝑥𝑦 2 𝑧 → 𝑥𝑧(𝑡 − 2𝑦 2 ) = 0 → 𝑥𝑧 = 0, or 𝑡 = 2𝑦 2
2𝑦
2 1
𝑦𝑡 = 0, 𝑦 = 0 → 𝑡=4 𝑧 = −𝑥 → 𝑥 = 1, 𝑧 = −1
2
𝑦𝑡 = 0, 𝑡 = 0 → 𝑦 = ±2
2 2 2 8
𝑥𝑧 = 0, 𝑥 = 0 → 𝑧 = −2 𝑡 = 2𝑦 2 → 𝑦=± →𝑡=
2 √3 3
𝑥𝑧 = 0, 𝑧 = 0 → 𝑥=2
The values are:
2 8
(0,0, −2,4), (2,0,0,4), (0, ±2, −2,0), (2, ±2,0,0), , (1, ± , −1, )
√3 3
16
(11) Find the point on the sphere 𝒙𝟐 + 𝒚𝟐 + 𝒛𝟐 = 𝟗 that is closest to the point
(𝟏, 𝟑, 𝟒)
Solution
𝑔(𝑥, 𝑦, 𝑧) = 𝑥 2 + 𝑦 2 + 𝑧 2 = 9
By using Lagrange Multipliers
𝑥−1
• 𝐷𝑥 = 𝜆 𝑔𝑥 → 2(𝑥 − 1) = 2𝜆 𝑥 → 𝜆 =
𝑥
𝑦−3
• 𝐷𝑦 = 𝜆 𝑔𝑦 → 2(𝑦 − 3) = 2𝑦 𝜆 → 𝜆 =
𝑦
𝑧−4
• 𝐷𝑧 = 𝜆 𝑔𝑧 → 2(𝑧 − 4) = 2𝜆 𝑧 → 𝜆 =
𝑧
𝑥−1 𝑦−3 𝑧−4
= =
𝑥 𝑦 𝑧
𝑥𝑦 − 𝑦 = 𝑥𝑦 − 3𝑥 → 𝑦 = 3𝑥 , 𝑦𝑧 − 𝑦 = 𝑦𝑧 − 3𝑧 → 4𝑦 = 3𝑧 → 𝑧 = 4𝑥
9 9 9
𝑥 2 + 9𝑥 2 + 16𝑥 2 = 9 → 26𝑥 2 = 9 → 𝑥 = ±√ , 𝑦 = ±3√ , 𝑧 = ±4√
26 26 26
We choose positive sign to get the required smallest distance, so the point is
9 9 9
( √ , 3√ , 4√ )
26 26 26
(12) A container with a closed top and fixed surface area is to be constructed in
the shape of a right circular cylinder. Find the relative dimensions that maximize the
volume.
Solution
17
ℎ=2𝑟 𝐴 √ 𝐴 𝐴
From 1 ⇒ 𝐴 = 4𝜋𝑟 2 + 2𝜋𝑟 2 → 𝑟 2 = 6𝜋 → 𝑟 = √6𝜋 , and ℎ = 2√6𝜋
Solution
2
4𝑥𝑦 2 Ellipse: 𝑥2 /𝑎2 +𝑦2 /𝑏2 =1
𝑊 = 2𝑥(2𝑦) /6 = ,→ 𝑔(𝑥, 𝑦)
3 𝑎=24/2,𝑏=16/2
𝑥2 𝑦2
= + −1=0
144 64
4𝑦 2 𝑥
• 𝑊𝑥 = 𝜆 𝑔𝑥 ⇒ =𝜆 1,
3 72
8 𝑦 8 𝜆 3
• 𝑥𝑦 = 𝜆 2 → 𝑦 ( 𝑥 − ) = 0 ⇒ 𝑦 = 0 (refuse), or 𝑥 = 𝜆
3 32 3 32 256
4𝑦 2 𝑥 4𝑦 2 256𝑥 𝑥 32 2 8𝑥 2 2√2
=𝜆 → = ⋅ = 𝑥 ⇒ 𝑦2 = →𝑦= 𝑥 [refuse -ve]
3 72 3 3 72 27 9 3
sub. in 𝑔(𝑥,𝑦)=0
→
𝑥2 8𝑥 2 /9 8 16
+ = 1 → 𝑥 2 = 48 → 𝑥 = 4√3, 𝑦 = √6 → width = 8√3, depth = √6 in
144 64 3 3
Section modulus (W) is a geometric property for a given cross-section
Note used in the design of beams or flexural members. For rectangular sections
𝑊 = width×height 2 /6
𝑓𝑥 = 𝜆 𝑔𝑥 + 𝛽 ℎ𝑥 ⇒ 𝑦 = 𝜆 + 𝛽 1
𝑓𝑦 = 𝜆 𝑔𝑦 + 𝛽 ℎ𝑦 ⇒ 𝑥 + 𝑧 = 2𝜆 2
𝑓𝑧 = 𝜆 𝑔𝑧 + 𝛽 ℎ𝑧 ⇒ 𝑦 = −3𝛽 3
sub. 3 𝑖𝑛 1
→ 𝜆 + 𝛽 = −3𝛽 → 𝜆 = −4𝛽
18
𝜆=−4𝛽=4𝑦/3 8𝑦 solve g(x,y), h(x,y), 4
𝑥 + 𝑧 = 2𝜆 → 𝑥+𝑧 = → 3𝑥 − 8𝑦 + 3𝑧 = 0 4 →
3
3
𝑥 = 3, 𝑦 = , 𝑧 = 1
2
2nd Method: Substitution Method
3 sub. in 𝑓(𝑥,𝑦,𝑧) 3 3
𝑥 = 3𝑧 1 , 𝑦 = 3 − 𝑧 2 ,→ 𝐹(𝑧) = 𝑓(𝑧) = 3𝑧 (3 − 𝑧) + (3 − 𝑧) 𝑧
2 2 2
= 12𝑧 − 6𝑧 2
To get critical points 3
→ 𝐹𝑧 = 0 = 12 − 12𝑧 → 𝑧 = 1, 𝑥 = 3, 𝑦 =
2
19