More fun with lagrange multipliers

Click For Summary

Homework Help Overview

The discussion revolves around finding the point closest to the origin on the line of intersection of two planes defined by the equations y + 2z = 12 and x + y = 6, using the method of Lagrange multipliers.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • The original poster attempts to apply Lagrange multipliers but expresses difficulty in understanding the method and its application to the problem. They present their equations and seek clarification on how to proceed with the constraints. Other participants suggest checking the application of constraints and the relationships between the variables.

Discussion Status

Participants are actively engaging with the problem, with some providing feedback on the original poster's attempts. There is a recognition of algebraic errors and a suggestion to recheck calculations. The discussion is ongoing, with no explicit consensus reached yet.

Contextual Notes

There is mention of confusion regarding the number of equations and unknowns, as well as the need for additional equations to relate the unknowns to the constraints. The original poster expresses frustration with algebraic manipulation and the clarity of their textbook.

hiigaranace
Messages
9
Reaction score
0

Homework Statement



Find the point closest to the origin on the line of intersection of the planes y + 2z = 12 and x + y = 6

Homework Equations



[tex]\nu[/tex]f = [tex]\lambda\nu[/tex]g1 +[tex]\mu\nu[/tex]g2
f = x2+y2+z2
g1: y + 2z = 12
g2: x + y = 6

There are supposed to be gradients on all of those, whether or not LaTeX wants to show them.

The Attempt at a Solution



Let [tex]\nu[/tex]f(x, y, z) = 2x[tex]\vec{i}[/tex]+2y[tex]\vec{j}[/tex]+2z[tex]\vec{k}[/tex], [tex]\nu[/tex]g1(x, y, z) = [tex]\vec{j}[/tex]+2[tex]\vec{k}[/tex], and [tex]\nu[/tex]g2(x, y, z) = [tex]\vec{i}[/tex]+[tex]\vec{j}[/tex]

this gives:

2x = [tex]\mu[/tex] 2y = [tex]\lambda + \mu[/tex] 2z = [tex]2\lambda[/tex]

I tried pushing ahead from here, but I end up getting nowhere. Can someone please help me?
...annnnnnnnnnnd much as I hate to admit it, I'm having a lot of trouble with lagrange multipliers in the first place, and my textbook is sadly not a whole lot of help. If anyone out there can explain how to work these out in a general sense, I would very much appreciate it.
 
Last edited:
Physics news on Phys.org
It looks good so far (you probably should put some commas into make your solution easier to read). You should apply the constraints to the solution to determine the Lagrange multipliers.
 
fzero said:
It looks good so far (you probably should put some commas into make your solution easier to read). You should apply the constraints to the solution to determine the Lagrange multipliers.

Soooo...plug the lambda and mu back into the equation I'm trying to optimize?

EDIT: When I try to trn the constraints into lambda and mu, I wind up with:

2[tex]\mu[/tex] + [tex]\lambda[/tex] -12 = 0 3[tex]\lambda[/tex]+[tex]\mu[/tex]-12=0

combine them, and you get

[tex]\mu[/tex] = 2[tex]\lambda[/tex]

so, x = 1/2[tex]\mu[/tex] = [tex]\lambda[/tex] = z y = 3/2 [tex]\lambda[/tex]

which ends up giving me 5[tex]\lambda[/tex] = 12.

Problem is that this is wrong. It's supposed to come out as point = (2, 4, 4). I don't understand what I'm doing wrong.
 
Last edited:
You have 3 equations and 5 unknowns. You need 2 additional equations relating the unknowns - the constraint equations.
 
hotvette said:
You have 3 equations and 5 unknowns. You need 2 additional equations relating the unknowns - the constraint equations.

I'm sorry, I don't follow. I thought the constraint equations were:

g1=y+2z=12
g2=x+y=6

The other equations I have are:

f = x2+y2+z2
[tex]\grad{f}[/tex] = 2x+2y+2z
[tex]\grad{g1}[/tex] = [tex]\vec{j}[/tex] + 2[tex]\vec{k}[/tex]
[tex]\grad{g2}[/tex] = [tex]\vec{i}[/tex] + [tex]\vec{j}[/tex]

if these are what you had in mind, then I'm afraid I don't see how to go forward without running into the same problems as before.
 
hiigaranace said:
Soooo...plug the lambda and mu back into the equation I'm trying to optimize?

EDIT: When I try to trn the constraints into lambda and mu, I wind up with:

2[tex]\mu[/tex] + [tex]\lambda[/tex] -12 = 0 3[tex]\lambda[/tex]+[tex]\mu[/tex]-12=0

There's a mistake in your 2nd equation, it should be [tex]2\mu + \lambda =12[/tex]. I find (2,4,4). Just recheck your algebra.
 
Ah, crud, I see it now. Blasted algebra always gets me.
Thanks for the help!
 

Similar threads

Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
10
Views
1K
Replies
20
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K