The question
Question: find and classify the critical points of f(x, y) = xยฒ + yยฒ โ 4x + 6y.
f(x, y) = x2 + y2 โ 4x + 6y
1 Find the critical points
At a top, a bottom or a saddle, the surface is flat: both partial derivatives are 0.
Term by term.
xยฒ: the power 2 comes down.
The power goes down by 1.
So 2x.
yยฒ has no x: it is a fixed number, so it gives 0.
4x gives 4.
6y has no x: it is a fixed number, so it gives 0.
โfโx = 2x + 0 โ 4 + 0
Drop the zeros: โf/โx = 2x โ 4.
โfโx = 2x โ 4
Term by term.
xยฒ has no y: it is a fixed number, so it gives 0.
yยฒ: the power 2 comes down.
The power goes down by 1.
So 2y.
4x has no y: it is a fixed number, so it gives 0.
6y gives 6.
โfโy = 0 + 2y + 0 + 6
Drop the zeros: โf/โy = 2y + 6.
โfโy = 2y + 6
Set โf/โx = 0.
It has only x in it.
2x โ 4 = 0
Move the number: add 4 on both sides.
2x = 4
Divide by 2: x = 2.
x = 2
Set โf/โy = 0.
It has only y in it.
2y + 6 = 0
Move the number: take away 6 on both sides.
2y = โ6
Divide by 2: y = โ3.
y = โ3
So there is one critical point: (2, โ3).
= (2, โ3)
2 The second partials
Term by term.
2x gives 2.
4 has no x: it is a fixed number, so it gives 0.
fxx = 2 + 0
Drop the zeros: f_xx = 2.
fxx = 2
Term by term.
2y gives 2.
6 has no y: it is a fixed number, so it gives 0.
fyy = 2 + 0
Drop the zeros: f_yy = 2.
fyy = 2
Term by term.
2x has no y: it is a fixed number, so it gives 0.
4 has no y: it is a fixed number, so it gives 0.
fxy = 0 + 0
Drop the zeros: f_xy = 0.
fxy = 0
The test number: D = f_xx ร f_yy โ (f_xy)ยฒ.
D = fxx ร fyy โ (fxy)ยฒ
3 Test each point
At (2, โ3): f_xx is 2, f_yy is 2, f_xy is 0.
So D is 4.
D(2, โ3) = 2 ร 2 โ 0ยฒ = 4
Careful!
f_xx alone is not enough.
If D is negative, it is a saddle, whatever f_xx is.
Careful: D first, then the sign of fxx
D is positive and f_xx is positive: a bowl.
A local minimum.
There f is โ13.
(2, โ3): = local minimum, f = โ13
4 Check
Let's check.
Here is the surface near (2, โ3).
It is a bowl: the point is at the bottom.
Now small steps away from the point.
Near (2, โ3), one step gives a bigger value, the other a bigger one.
That fits a local minimum.
Right!
f(2, โ3) = โ13: f(2.1, โ3) = โ12.99, f(2, โ2.9) = โ12.99
Let's look back.
First: find the critical points.
Then: the second partials.
Then: test each point.
Last: check.
โถ Watch it solved
The question
Question: find and classify the critical points of f(x, y) = xยฒ + 3yยฒ โ 6x + 6y.
f(x, y) = x2 + 3y2 โ 6x + 6y
1 Find the critical points
At a top, a bottom or a saddle, the surface is flat: both partial derivatives are 0.
Term by term.
xยฒ: the power 2 comes down.
The power goes down by 1.
So 2x.
3yยฒ has no x: it is a fixed number, so it gives 0.
6x gives 6.
6y has no x: it is a fixed number, so it gives 0.
โfโx = 2x + 0 โ 6 + 0
Drop the zeros: โf/โx = 2x โ 6.
โfโx = 2x โ 6
Term by term.
xยฒ has no y: it is a fixed number, so it gives 0.
3yยฒ: the power 2 comes down: 3 times 2 is 6.
The power goes down by 1.
So 6y.
6x has no y: it is a fixed number, so it gives 0.
6y gives 6.
โfโy = 0 + 6y + 0 + 6
Drop the zeros: โf/โy = 6y + 6.
โfโy = 6y + 6
Set โf/โx = 0.
It has only x in it.
2x โ 6 = 0
Move the number: add 6 on both sides.
2x = 6
Divide by 2: x = 3.
x = 3
Set โf/โy = 0.
It has only y in it.
6y + 6 = 0
Move the number: take away 6 on both sides.
6y = โ6
Divide by 6: y = โ1.
y = โ1
So there is one critical point: (3, โ1).
= (3, โ1)
2 The second partials
Term by term.
2x gives 2.
6 has no x: it is a fixed number, so it gives 0.
fxx = 2 + 0
Drop the zeros: f_xx = 2.
fxx = 2
Term by term.
6y gives 6.
6 has no y: it is a fixed number, so it gives 0.
fyy = 6 + 0
Drop the zeros: f_yy = 6.
fyy = 6
Term by term.
2x has no y: it is a fixed number, so it gives 0.
6 has no y: it is a fixed number, so it gives 0.
fxy = 0 + 0
Drop the zeros: f_xy = 0.
fxy = 0
The test number: D = f_xx ร f_yy โ (f_xy)ยฒ.
D = fxx ร fyy โ (fxy)ยฒ
3 Test each point
At (3, โ1): f_xx is 2, f_yy is 6, f_xy is 0.
So D is 12.
D(3, โ1) = 2 ร 6 โ 0ยฒ = 12
Careful!
f_xx alone is not enough.
If D is negative, it is a saddle, whatever f_xx is.
Careful: D first, then the sign of fxx
D is positive and f_xx is positive: a bowl.
A local minimum.
There f is โ12.
(3, โ1): = local minimum, f = โ12
4 Check
Let's check.
Here is the surface near (3, โ1).
It is a bowl: the point is at the bottom.
Now small steps away from the point.
Near (3, โ1), one step gives a bigger value, the other a bigger one.
That fits a local minimum.
Right!
f(3, โ1) = โ12: f(3.1, โ1) = โ11.99, f(3, โ0.9) = โ11.97
Let's look back.
First: find the critical points.
Then: the second partials.
Then: test each point.
Last: check.
โถ Watch it solved
The question
Question: find and classify the critical points of f(x, y) = xยณ + yยณ โ 3x โ 12y.
f(x, y) = x3 + y3 โ 3x โ 12y
1 Find the critical points
At a top, a bottom or a saddle, the surface is flat: both partial derivatives are 0.
Term by term.
xยณ: the power 3 comes down.
The power goes down by 1.
So 3xยฒ.
yยณ has no x: it is a fixed number, so it gives 0.
3x gives 3.
12y has no x: it is a fixed number, so it gives 0.
โfโx = 3x2 + 0 โ 3 + 0
Drop the zeros: โf/โx = 3xยฒ โ 3.
โfโx = 3x2 โ 3
Term by term.
xยณ has no y: it is a fixed number, so it gives 0.
yยณ: the power 3 comes down.
The power goes down by 1.
So 3yยฒ.
3x has no y: it is a fixed number, so it gives 0.
12y gives 12.
โfโy = 0 + 3y2 + 0 โ 12
Drop the zeros: โf/โy = 3yยฒ โ 12.
โfโy = 3y2 โ 12
Set โf/โx = 0.
It has only x in it.
3x2 โ 3 = 0
Move the number and divide by 3: xยฒ = 1.
x2 = 1
Two numbers square to 1: x = 1 or โ1.
x = 1 or x = โ1
Set โf/โy = 0.
It has only y in it.
3y2 โ 12 = 0
Move the number and divide by 3: yยฒ = 4.
y2 = 4
Two numbers square to 4: y = 2 or โ2.
y = 2 or y = โ2
Every x goes with every y: 4 critical points.
= (1, 2), (1, โ2), (โ1, 2), (โ1, โ2)
2 The second partials
Term by term.
3xยฒ: the power 2 comes down: 3 times 2 is 6.
The power goes down by 1.
So 6x.
3 has no x: it is a fixed number, so it gives 0.
fxx = 6x + 0
Drop the zeros: f_xx = 6x.
fxx = 6x
Term by term.
3yยฒ: the power 2 comes down: 3 times 2 is 6.
The power goes down by 1.
So 6y.
12 has no y: it is a fixed number, so it gives 0.
fyy = 6y + 0
Drop the zeros: f_yy = 6y.
fyy = 6y
Term by term.
3xยฒ has no y: it is a fixed number, so it gives 0.
3 has no y: it is a fixed number, so it gives 0.
fxy = 0 + 0
Drop the zeros: f_xy = 0.
fxy = 0
The test number: D = f_xx ร f_yy โ (f_xy)ยฒ.
D = fxx ร fyy โ (fxy)ยฒ
3 Test each point
At (1, 2): f_xx is 6, f_yy is 12, f_xy is 0.
So D is 72.
D(1, 2) = 6 ร 12 โ 0ยฒ = 72
Careful!
f_xx alone is not enough.
If D is negative, it is a saddle, whatever f_xx is.
Careful: D first, then the sign of fxx
D is positive and f_xx is positive: a bowl.
A local minimum.
There f is โ18.
(1, 2): = local minimum, f = โ18
At (1, โ2): f_xx is 6, f_yy is โ12, f_xy is 0.
So D is โ72.
D(1, โ2) = 6 ร (โ12) โ 0ยฒ = โ72
D is negative: up one way, down the other.
A saddle point.
(1, โ2): = saddle point
At (โ1, 2): f_xx is โ6, f_yy is 12, f_xy is 0.
So D is โ72.
D(โ1, 2) = (โ6) ร 12 โ 0ยฒ = โ72
D is negative: up one way, down the other.
A saddle point.
(โ1, 2): = saddle point
At (โ1, โ2): f_xx is โ6, f_yy is โ12, f_xy is 0.
So D is 72.
D(โ1, โ2) = (โ6) ร (โ12) โ 0ยฒ = 72
D is positive and f_xx is negative: a dome.
A local maximum.
There f is 18.
(โ1, โ2): = local maximum, f = 18
4 Check
Let's check.
Here is the surface near (1, 2).
It is a bowl: the point is at the bottom.
Now small steps away from the point.
Near (1, 2), one step gives a bigger value, the other a bigger one.
That fits a local minimum.
Right!
f(1, 2) = โ18: f(1.1, 2) = โ17.969, f(1, 2.1) = โ17.939
Near (1, โ2), one step gives a bigger value, the other a smaller one.
That fits a saddle point.
Right!
f(1, โ2) = 14: f(1.1, โ2) = 14.031, f(1, โ1.9) = 13.941
Near (โ1, 2), one step gives a bigger value, the other a smaller one.
That fits a saddle point.
Right!
f(โ1, 2) = โ14: f(โ1, 2.1) = โ13.939, f(โ0.9, 2) = โ14.029
Near (โ1, โ2), one step gives a smaller value, the other a smaller one.
That fits a local maximum.
Right!
f(โ1, โ2) = 18: f(โ0.9, โ2) = 17.971, f(โ1, โ1.9) = 17.941
Let's look back.
First: find the critical points.
Then: the second partials.
Then: test each point.
Last: check.
Answer = (1, 2), (1, โ2), (โ1, 2), (โ1, โ2)
โถ Watch it solved