- #1

If g(x,y,z) = x2 + y2+z2 = 1 then what do I do next?

I need help to further solve for this plz? I am horrible at math and dont understand lagrange multipiers so can anyone better explain it to me and help me solve for difficult problem.

Dx

You are using an out of date browser. It may not display this or other websites correctly.

You should upgrade or use an alternative browser.

You should upgrade or use an alternative browser.

- Thread starter Dx
- Start date

- #1

If g(x,y,z) = x2 + y2+z2 = 1 then what do I do next?

I need help to further solve for this plz? I am horrible at math and dont understand lagrange multipiers so can anyone better explain it to me and help me solve for difficult problem.

Dx

- #2

Hurkyl

Staff Emeritus

Science Advisor

Gold Member

- 14,967

- 19

To find the maximum and minimum values of f(x, y, z) subject to the constraint g(x, y, z) = k (assuming these extreme values exist):

(a) Find all values of x, y, z, and λ such that:

[nab]f(x, y, z) = λ [nab]g(x, y, z)

and g(x, y, z) = k

(b) Evaluate f at all the points (x, y, z) that arise from step (a). The largest of these values is the maximum value of f; the smallest is the minimum value of f.

I imagine your text has something similar. Do you understand how to start step (a)?

- #3

Originally posted by Hurkyl

Well, my text has the following box for lagrange multipliers (interesting theorems / procedures are placed in boxes in the text):

I imagine your text has something similar. Do you understand how to start step (a)?

No, I dont understand this what-so-ever. I see one example in my book that wants to find the points of a rectangular hyperbola and its using partial Dx but I dont know how to perform step a could you plz help me.

Dx

- #4

Hurkyl

Staff Emeritus

Science Advisor

Gold Member

- 14,967

- 19

∇f(x, y, z) = < ∂f(x, y, z)/∂x, ∂f(x, y, z)/∂y, ∂f(x, y, z)/∂z >

I.E. the first coordinate is the partial derivative with respect to (WRT) the first variable, the second coordinate is the partial derivative WRT the second variable, and so on for as many variabes as the function has.

The equation in step (a) is, then, a vector equation, which we solve by setting corresponding coordinates equal:

∇f(x, y, z) = λ ∇g(x, y, z)

is

< ∂f(x, y, z)/∂x, ∂f(x, y, z)/∂y, ∂f(x, y, z)/∂z > = λ < ∂g(x, y, z)/∂x, ∂g(x, y, z)/∂y, ∂g(x, y, z)/∂z >

is

∂f(x, y, z)/∂x = λ ∂g(x, y, z)/∂x

∂f(x, y, z)/∂y = λ ∂g(x, y, z)/∂y

∂f(x, y, z)/∂z = λ ∂g(x, y, z)/∂z

(BTW, if you also want me to explain the "why" behind this method, ask and I'll do so... but the "why" may be quite difficult to understand)

Share:

- Last Post

- Replies
- 13

- Views
- 682

- Last Post

- Replies
- 0

- Views
- 354

- Last Post

- Replies
- 6

- Views
- 1K

- Last Post

- Replies
- 2

- Views
- 794

- Last Post

- Replies
- 2

- Views
- 277

- Last Post

- Replies
- 5

- Views
- 1K

- Last Post

- Replies
- 14

- Views
- 929

- Replies
- 8

- Views
- 849

- Last Post

- Replies
- 5

- Views
- 930

- Last Post

- Replies
- 3

- Views
- 972