Determining Local Extrema with Lagrange

Click For Summary

Homework Help Overview

The discussion revolves around finding local extrema of the function f(x,y,z) = 8x + 4y - z under the constraint g(x,y,z) = x^2 + y^2 + z^2 = 9, utilizing the method of Lagrange multipliers.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the calculation of partial derivatives and the setup of equations based on Lagrange's method. There is an exploration of the algebraic manipulation involved in solving for x, y, and z, with specific attention to the step where the equation 81x^2/64 = 9 is derived. Questions arise regarding the validity of certain algebraic steps and the interpretation of results.

Discussion Status

Some participants have confirmed the value of x as 8/3, aligning with the book's answer. However, there are ongoing questions about the algebraic steps taken to arrive at this conclusion, particularly regarding the manipulation of fractions and the interpretation of the results.

Contextual Notes

Participants are navigating through potential mistakes in algebraic calculations and are questioning the assumptions made during the problem-solving process. There is a focus on ensuring the correctness of each step without reaching a definitive resolution.

cse63146
Messages
435
Reaction score
0
[SOLVED] Determining Local Extrema with Lagrange

Homework Statement



Find local extram of f(x,y,z) = 8x+4y-z with constraint g(x,y,z) = x^2 + y^2 + z^2 = 9

Homework Equations



[tex]\nabla f(x,y,z) = \lambda g(x,y,z)[/tex]

The Attempt at a Solution



So I did the partial derivatives for F and G:

[tex]\nabla f(x,y,z) = (8,4,-1)[/tex] [tex]\nabla g(x,y,z) = (2x,2y,2x)[/tex]

Now I use Lagrange to get

[tex]8 =2 \lambda x , 4 = 2\lambda y , -1 =2 \lambda z[/tex]

Now I isolated [tex]\lambda = \frac{4}{x} = \frac{2}{y} =- \frac{1}{2z}[/tex]

Now I re-write both y and z in terms of x and I get:

[tex]y = \frac{x}{2}, z =- \frac{x}{8}[/tex]

Then I put them back into g(x,y,z) = g(x,x/2,x/8)

and get:

[tex]g(x,x/2,x/8) = x^2 + \frac{x^2}{4} +\frac{x^2}{64} = 9 \Rightarrow \frac{64x^2 + 16x^2 + x^2}{64} = 9 \Rightarrow \frac{81x^2}{64} = 9 \Rightarrow x = \sqrt{\frac{193}{27}}[/tex]

but the book says x = 8/3

Can anyone see what mistake did I make? Thank You.
 
Last edited:
Physics news on Phys.org
Yeah I do. It's tricky. Let's rewind to... the step before

81x2/64 = 9

So dividing both sides by 81 we get

x2/64 = 1/9

Multiplying both sides by 64 we get

x2 = 64/9

Try solving that one instead
 
x = 8/3 which agrees with the book. Thank You.

but why couldn't I multiply 9 by 64, and then divide it by 81?
 
cse63146 said:
x = 8/3 which agrees with the book. Thank You.

but why couldn't I multiply 9 by 64, and then divide it by 81?

You can, but 9*64/81=192/27=64/9 not 193/27
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
Replies
2
Views
2K
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 26 ·
Replies
26
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 105 ·
4
Replies
105
Views
11K