Function of distance between a point and vector in 3D

AI Thread Summary
The discussion revolves around finding a function that calculates the squared distance between a point on line p and line q in 3D space. The first step involves deriving a parametric equation for line q and then computing the distance D between points on both lines. The goal is to determine the values of parameters t and t' that minimize this distance. Additionally, the minimum value m of the squared distance function f(x) is to be found, with its square root providing the actual minimum distance. The use of computational tools like Maple is suggested for simplifying the calculations.
Rosengrip
Messages
19
Reaction score
0

Homework Statement



Two lines are given p: \stackrel{\rightarrow}{r}(t) = (4,7,4) + t(2,2,-8) and q: z = 3, x = 7 -y (second one is given in parametric form).

Questions:
a)
find a function f(x) which has a value in x that equals a distance from a point \stackrel{\rightarrow}{r}(x) (which lies on the first line, e.g. p) to line q squared (squared refers to the whole function).

b)
find minimum m of function f(x) and analyze the meaning of \sqrt{m}

Homework Equations


An equation for a distance between a vector and point

d = [PLAIN]http://www.shrani.si/f/z/nX/128JEovx/distance.jpg

e = direction vector of p
r_{0} = position vector of p
r_{1} = vector from point to one of the points defining a line

Equations for converting from vector to parametric form, which are really simple and I won't be writing here.



The Attempt at a Solution



Now I only have basic knowledge about vectors only and I was learning them some time ago. I can guess this assignment is pretty simple but because we haven't done any similar cases at the course, I don't really know where to begin.

Any hint would be greatly appreciated.
 
Last edited by a moderator:
Physics news on Phys.org
  1. rewrite the other one to a param. equation (with a variable t') as well
  2. compute the distance D = || point on line 1 - point on line 2 ||
  3. We want to know for which t and t' the distance D is minimal
  4. To make it easy this is the same as looking at how D2 is minimal
  5. now you found your t and t' you can compute (by the param. eqn.) the two points
  6. compute the distance between the two points

Use Maple if this is a lot of work
 
Last edited:
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Essentially I just have this problem that I'm stuck on, on a sheet about complex numbers: Show that, for ##|r|<1,## $$1+r\cos(x)+r^2\cos(2x)+r^3\cos(3x)...=\frac{1-r\cos(x)}{1-2r\cos(x)+r^2}$$ My first thought was to express it as a geometric series, where the real part of the sum of the series would be the series you see above: $$1+re^{ix}+r^2e^{2ix}+r^3e^{3ix}...$$ The sum of this series is just: $$\frac{(re^{ix})^n-1}{re^{ix} - 1}$$ I'm having some trouble trying to figure out what to...
Back
Top