Solve Lagrange Multipliers for x,y,z in Min Distance Problem

Click For Summary
SUMMARY

The discussion focuses on solving the Lagrange multipliers method for finding points on the surface defined by the equation x² - z² = 1 that minimize the distance from the origin (0,0,0). The participants derive the gradients and set up the equations, ultimately determining that the critical points are (1,0,0) and (-1,0,0) when λ = -1. The confusion regarding the point (0,0,0) is clarified, as it does not lie on the specified surface.

PREREQUISITES
  • Understanding of Lagrange multipliers
  • Familiarity with gradient vectors
  • Knowledge of surface equations in three-dimensional space
  • Basic principles of optimization in multivariable calculus
NEXT STEPS
  • Study the application of Lagrange multipliers in constrained optimization problems
  • Learn about gradient descent methods for optimization
  • Explore the geometric interpretation of surfaces and their equations
  • Investigate the implications of critical points in optimization
USEFUL FOR

Students and professionals in mathematics, particularly those studying multivariable calculus and optimization techniques, as well as anyone interested in applying Lagrange multipliers to real-world problems.

kliker
Messages
102
Reaction score
0

Homework Statement



find the points on the surface x^2-z^2 = 1 which are in minimum distance from (0,0)

i should find the points using d = x^2+y^2+z^2

first of all

gradf = λ gradg

where f = d and g = x^2-z^2

so we have (2x,2y,2z) = λ (2x,0,2z)

now
2x = λ2x
2y = 0 => y = 0
2z = λ2z

so λ=1

but now how can i find x and z?

im totally confused
 
Physics news on Phys.org
i would check your grad g

also i think you mean closest to (0,0,0)?
 
kliker said:

Homework Statement



find the points on the surface x^2-z^2 = 1 which are in minimum distance from (0,0)

i should find the points using d = x^2+y^2+z^2

first of all

gradf = λ gradg

where f = d and g = x^2-z^2

so we have (2x,2y,2z) = λ (2x,0,2z)
This s wrong. You have dropped a sign.

now
2x = λ2x
2y = 0 => y = 0
2z = λ2z

so λ=1

but now how can i find x and z?

im totally confused
 
oh you're right so now i have

2x = λ2x
2y = 0 => y = 0
2z = -λ2z => λ*2z+2z = 0 => 2z(1+λ)=0

hence we have λ = -1 and z = 0

but if z is 0 then x = +1 or x = -1

so for λ = -1 we have two points (1,0,0) and (-1,0,0)

is this correct? also, i would like to ask something, if these points are correct then why for λ = -1 in the first equation i get -4x = 0 hence x = 0?

but when x = 0 the point will be (0,0,0), can we check for this point too?

thanks for your help
 
(0,0,0) is not in your surface
 
its also worth drawing the surface to help understand what is going on

try drawing the curve given by y=0, x^2-z^2 = 1 in the xz plane...
 
Just curious, shouldn't d = sqrt(x^2+y^2+z^2)
 
yeah, but minimising x^2 will minimise |x| so its ok - but i suppose you should show it
 
Last edited:
the problem states by itself that it shouldn't be sqrt(x^2+y^2+z^2) I think i understand the solution now,

thanks for your help :)
 

Similar threads

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