Distance from origin to a surface

  • Thread starter Thread starter noelo2014
  • Start date Start date
  • Tags Tags
    Origin Surface
Click For Summary
SUMMARY

The discussion centers on finding the shortest distance from the origin to the surface defined by the equation xyz² = 2. The solution involves using the gradient to determine the normal line to the surface, leading to the equations yz² = λx, xz² = y, and 2xyz = λz, which are solved using the method of Lagrange multipliers. The final result shows that the minimum distance is 2, occurring at the points (1, 1, √2) and (-1, -1, -√2).

PREREQUISITES
  • Understanding of multivariable calculus, specifically gradients and normal vectors.
  • Familiarity with the method of Lagrange multipliers for constrained optimization.
  • Knowledge of partial derivatives and their applications in optimization problems.
  • Basic understanding of three-dimensional coordinate systems and distance formulas.
NEXT STEPS
  • Study the method of Lagrange multipliers in detail to solve optimization problems with constraints.
  • Learn about gradients and their geometric interpretations in multivariable calculus.
  • Explore applications of partial derivatives in real-world optimization scenarios.
  • Practice solving distance minimization problems in three-dimensional space.
USEFUL FOR

Students and professionals in mathematics, engineering, and physics who are looking to deepen their understanding of optimization techniques in multivariable calculus.

noelo2014
Messages
45
Reaction score
0
Had this question on a test today, Find the shortest distance from the origin to the surface

xyz2=2

I figured out by intuition that the shortest line between the origin to the surface will also be normal to the surface.

I haven't done much of these functions in 3 variables, I read somewhere that the gradient at the point on the surface will denote the normal line.
 
Last edited:
Physics news on Phys.org
z²=2/(xy)
d²=x²+y²+z²=x²+y²+2/(xy)
Partial derivative relative to x :
2x-2/(x²y)=0
Partial derivative relative to y :
2y-2/(xy²)=0
Solving the equations y*(x^3)=x*(y^3)=1 leads to :
x=y=1
then z=sqrt(2)
min.distance d=2
 
  • Like
Likes 1 person
I'm not that smart, you'll have to explain a bit more clearly.
I'm guessing d is the distance.
I guess you're using the distance formula in line 2. I guess x,y and z refer to the x,y and z coordinate of the point on the surface nearest the origin.

I think you need some more brackets too. I think I see what you're doing though... Too bad 2 was the first number I guessed, should have just wrote it down!
 
Write it yourself. So, it will be possible to correct you if there is something that you don't make correctly.
 
Another way to do this: we want to minimize the distance from (0, 0, 0) to (x, y, z) subject to the condition that xyz^2= 2. You say you know that "the shortest line between the origin to the surface will also be normal to the surface." Okay, the normal to that surface at any point will be in the direction of the vector \nabla (xyz^2)= yz^2\vec{i}+ xz^2\vec{j}+ 2xyz\vec{k}. And any line through the origin to point (x, y, z) is in the direction x\vec{i}+ y\vec{j}+ z\vec{k}.

In order that the line through the origin be normal to the surface, those two vectors must be parallel which means one is a multiple of the other. Calling that multiplier "\lambda". Then we must have
yz^2\vec{i}+ xz^2\vec{j}+ 2xyz\vec{k}= \lambda(x\vec{i}+ y\vec{j}+ z\vec{k})
(this is equivalent to the "Lagrange multiplier" method).

So yz^2= \lambda x, xz^2= y, and 2xyz= \lambda z as well as the original equation of the surface, xyz^2= 2. That gives four equations to solve for x, y, z, and \lambda.

Since a value for \lambda is not part of the solution, I find it typically best to eliminate \lambda first by dividing one equation by another. Dividing the first equation by the second,
\frac{yz^2}{xz^2}= \frac{\lambda x}{\lambda y}
\frac{y}{x}= \frac{x}{y}
so y^2= x^2 so y= x or y= -x.
Similarly, dividing the second equation by the third
\frac{xz^2}{2xyz}= \frac{\lambda y}{\lambda z}
\frac{z}{2y}= \frac{y}{z}
z^2=2y^2 so z= \sqrt{2}y or z= -\sqrt{2}y.

If x= y and z= \sqrt{2}y= \sqrt{2}x then xyz^2= x(x)(2x^2)= 2x^4= 2 so x= y= z= 1 or x= y= z= -1.

Do the other possibilities, y= -x and/or z= -\sqrt{2}y in the same way.
 
Relativistic Momentum, Mass, and Energy Momentum and mass (...), the classic equations for conserving momentum and energy are not adequate for the analysis of high-speed collisions. (...) The momentum of a particle moving with velocity ##v## is given by $$p=\cfrac{mv}{\sqrt{1-(v^2/c^2)}}\qquad{R-10}$$ ENERGY In relativistic mechanics, as in classic mechanics, the net force on a particle is equal to the time rate of change of the momentum of the particle. Considering one-dimensional...

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 57 ·
2
Replies
57
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
14
Views
3K