Tutorial Sheet 6 Solution
Tutorial Sheet 6 Solution
SOLUTION
1. Locate the stationary points on the following surfaces. Determine the nature of each and
calculate the critical function values:
a) 𝑧 = 𝑥 2 + 𝑦 2 − 𝑥𝑦 + 𝑥 3
𝑧𝑥 = 2𝑥 − 𝑦 + 3𝑥 2 = 0; 𝑧𝑦 = 2𝑦 − 𝑥 = 0
From second equation, 𝑥 = 2𝑦.
Substitute into first equation: 2(2𝑦) − 𝑦 + 3(2𝑦)2 = 0
1
3𝑦 + 12𝑦 2 = 0; 3𝑦(1 + 4𝑦) = 0; 𝑦 = 0, −
4
1 1 1
SPs: (− , − ,
2 4 16
) 𝑎𝑛𝑑 (0, 0, 0)
b) 𝑧 = 𝑥𝑦 − 𝑥 2 − 𝑦 2 − 2𝑥 − 2𝑦 + 4
𝑧𝑥 = 𝑦 − 2 = 0 → 𝑦 = 2
𝑧𝑦 = 𝑥 − 2𝑦 − 2 = 0; 𝑥 − 4 − 2 = 0, 𝑥 = 6
𝑧 = (6)(2) − 62 − 22 − 2(6) − 2(2) + 4 = 12 − 36 − 4 − 12 − 4 + 4 = −40
SP (6, 2, −40)
𝑧𝑥𝑥 = 0, 𝑧𝑦𝑦 = −2, 𝑧𝑥𝑦 = 1
𝐷 = (0)(−2) − 1 = −1, 𝑠𝑎𝑑𝑑𝑙𝑒
1
c) 𝑓(𝑥, 𝑦) = 3𝑦 2 − 2𝑦 3 − 3𝑥 2 + 6𝑥𝑦
𝑓𝑥 = −6𝑥 + 6𝑦 = 0 → 𝑦 = 𝑥
𝑓𝑦 = 6𝑦 − 6𝑦 2 + 6𝑥 = 0
Substituting 𝑦 = 𝑥 in the second equation: 6𝑦 − 6𝑦 2 + 6𝑦 = 0
12𝑦 − 6𝑦 2 = 6𝑦(2 − 𝑦) = 0, 𝑦 = 0, 2
SPs: (0, 0, 0) 𝑎𝑛𝑑 (2, 2, 8)
Nature (second order partial derivatives): 𝑧𝑥𝑥 = −6, 𝑧𝑦𝑦 = 6 − 12𝑦, 𝑧𝑥𝑦 = 6
At (0, 0, 0), 𝐷 = (−6)(6) − 36 = −72, 𝑠𝑎𝑑𝑑𝑙𝑒
At (2, 2, 8), 𝐷 = (−6)(−18) − 36 = 72, 𝑚𝑎𝑥𝑖𝑚𝑢𝑚
d) 𝑧 = 𝑥 3 − 2𝑦 2 − 2𝑦 4 + 3𝑥 2 𝑦
𝑧𝑥 = 3𝑥 2 + 6𝑥𝑦 = 0; 𝑧𝑦 = −4𝑦 − 8𝑦 3 + 3𝑥 2 = 0
In equation 1, 3𝑥(𝑥 + 2𝑦) = 0 → 𝑥 = 0, 𝑥 = −2𝑦
If 𝑥 = 0, −4𝑦 − 8𝑦 3 = 0; −4𝑦(1 + 2𝑦 2 ) = 0; 𝑦 = 0, 𝑛𝑜 𝑟𝑒𝑎𝑙 𝑠𝑜𝑙𝑛
SP is (𝟎, 𝟎, 𝟎)
If 𝑥 = −2𝑦; = −4𝑦 − 8𝑦 3 + 3(−2𝑦)2 = 0; −4𝑦 − 8𝑦 3 + 12𝑦 2 = 0
1
−4𝑦(2𝑦 2 − 3𝑦 + 1) = 0; −4𝑦(2𝑦 − 1)(𝑦 − 1) = 0; 𝑦 = 0, , 1
2
𝟏
SPs are (𝟎, 𝟎, 𝟎), (−𝟏, , ___) 𝒂𝒏𝒅 (−𝟐, 𝟏, ___)
𝟐
e) 𝑧 = 𝑓(𝑥, 𝑦) = 𝑥 4 + 𝑦 4 − 4𝑥𝑦
𝑧𝑥 = 4𝑥 3 − 4𝑦 = 0 → 𝑥 3 = 𝑦 𝑎𝑛𝑑 𝑧𝑦 = 4𝑦 3 − 4𝑥 = 0 → 𝑥 = 𝑦 3
2
Using the method of substitution:
(𝑦 3 )3 = 𝑦 → 𝑦 9 − 𝑦 = 0
Factorising gives:
𝑦(𝑦 8 − 1) = 0
So, 𝑦 = 0, 1, −1
Then 𝑥 = 0, 1, −1
And 𝑧 = 0, −2, −2
SPs are :(0, 0, 0), (1, 1, −2) 𝑎𝑛𝑑 (−1, −1, −2)
Nature (Second-order partial derivative test):
𝑧𝑥𝑥 = 12𝑥 2 , 𝑧𝑦𝑦 = 12𝑦 2 , 𝑧𝑥𝑦 = −4
At (0, 0, 0); 𝐷 = (0)(0) − 16 = −16, 𝑠𝑎𝑑𝑑𝑙𝑒
At (1, 1, −2); 𝐷 = (12)(12) − 16 = +𝑣𝑒, 𝑚𝑖𝑛𝑖𝑚𝑢𝑚
At (−1, −1, −2); 𝐷 = (12)(12) − 16 = +𝑣𝑒, 𝑚𝑖𝑛𝑖𝑚𝑢𝑚
2. Using the method of LaGrange multipliers, find the critical point(s) of the function,
𝑓(𝑥, 𝑦) = 𝑥 2 + 4𝑦 2 + 6 subject to the given constraint: 2𝑥 − 8𝑦 = 20.
𝑓𝑥 = 2𝑥, 𝑓𝑦 = 8𝑦, 𝑔𝑥 = 2, 𝑔𝑦 = −8
2𝑥 = 2𝜆; 8𝑦 = −8𝜆 → 𝑦 = −𝑥
Substitute into the constraint gives, 2𝑥 − 8(−𝑥) = 20 → 𝑥 = 2, 𝑦 = −2
𝑧 = 26
3. Using Lagrange multiplier, find the maximum value of the function 𝑓(𝑥, 𝑦) = 𝑥𝑦 subject
to the constraint 4𝑥 2 + 9𝑦 2 = 32. State the x and y values required to achieve the
maximum.
𝑓𝑥 = 𝜆𝑔𝑥 𝑦 = 𝜆8𝑥 𝑓𝑦 = 𝜆𝑔𝑦 𝑥 = 18𝑦𝜆
𝑦 𝑥
→𝜆= = → 18𝑦 2 = 8𝑥 2 → 9𝑦 2 = 4𝑥 2
8𝑥 18𝑦
2
9𝑦 2 − 4𝑥 2 = 0 = (3𝑦 − 2𝑥)(3𝑦 + 2𝑥) = 0; 𝑦 = ± 𝑥
3
2 2
Substitute in constraint gives: 4𝑥 2 + 9 (± 𝑥) = 32;
3
3
4𝑥 2 + 4𝑥 2 = 32; 8𝑥 2 = 32 → 𝑥 2 = 4 → 𝑥 = ±2
4
𝑦=±
3
The maximum value is achieved by either using positives only for x and y OR negatives
4 4
only, that is (2, ) 𝑜𝑟 (−2, − ).
3 3
4 8
𝑓𝑚𝑎𝑥 = 2 × =
3 3
4. The temperature T at any point (𝑥, 𝑦, 𝑧) in space is𝑇 = 200𝑥𝑦𝑧 2 . Find the highest
temperature on the surface of the sphere 𝑥 2 + 𝑦 2 + 𝑧 2 = 4.(Use Lagrange Multipliers)
𝑇𝑥 = 200𝑦𝑧 2 , 𝑇𝑦 = 200𝑥𝑧 2 , 𝑇𝑧 = 400𝑥𝑦𝑧 𝑎𝑛𝑑 𝑔𝑥 = 2𝑥, 𝑔𝑦 = 2𝑦, 𝑔𝑧 = 2𝑧
200𝑦𝑧 2 = 2𝑥𝜆
2 2
𝑧2 2
𝑧2
(200𝑥𝑧 = 2𝑦𝜆) → 𝑥 = 𝑎𝑛𝑑 𝑦 =
2 2
400𝑥𝑦𝑧 = 2𝑧𝜆
𝑧2 𝑧2
Substitute in constraint gives: + + 𝑧 2 = 4 → 𝑧 = ±√2 𝑎𝑛𝑑 𝑥, 𝑦 = ±1
2 2