Inertigratus
- 123
- 0
Homework Statement
Find the maximum and minimum value of the function, defined over x2 + y2 + z2 \leq 1.
x \geq 0, y \geq 0, y \geq 0.
Homework Equations
f(x,y,z) = xy(z+1)
The Attempt at a Solution
\nablaf = (y(z+1), x(z+1), xy) = 0
Gets me (0, y, -1), (x, 0, -1), (0, 0, z) and they all result in f(x,y,z) = 0.
Then I wasn't sure how to find the values on the sphere.
What I did was I switched to spherical coordinates with r = 1 and plugged them into the eq.
f(\theta, \varphi) = sin2\theta(cos\theta + 1)cos\varphisin\varphi.
Then it's rather obvious that to get max, \theta = +-\pi/2 and \varphi = \pi/4.
Plugging that back into the cartesian coordinates and into the function gives +- 1/2.
Maximum is supposed to be 16/27 and minimum 0.
By the way, this problem comes before the problems that are about optimizing functions with constraints. So no need to use the lagrange multiplier.
Any ideas? :)