4D: mimimum distance between point and parametric line

Click For Summary

Homework Help Overview

The problem involves finding the minimum distance between a point Q and a parametric line L defined by a point P and a direction vector A in four-dimensional space. The original poster attempts to derive a function for the distance between points on the line and point Q, and subsequently minimize this distance.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the method of minimizing the squared distance function d² and question the correctness of the original poster's differentiation approach. Some suggest using simpler methods to find the minimum of the quadratic function.

Discussion Status

There is ongoing exploration of different methods to minimize the distance function. Some participants provide alternative perspectives on the minimization process, while others express confusion about the calculations and the implications of the function's shape.

Contextual Notes

Participants are navigating through the complexities of differentiating and minimizing a quadratic function, with some uncertainty about the implications of the results and the correct interpretation of the minimum distance in the context of the problem.

dustydude
Messages
18
Reaction score
0

Homework Statement


There is points:
P=(1,2,3,4)
Q=(4,3,2,1)
and line L passes through P and is parallel to A
A=(1,1,1,1).
X(t) is anypoint on line L.

1. Find the distance between X and Q as a function of t.
2. Find the minimum distance between Q and the line.(which is 2(51/2))

Homework Equations


Parametric equations...
distance between two points.

The Attempt at a Solution



Im really not sure if my approach is right at all... i just want to understand where I am going wrong.

For 1.
I tried the parametric equation of the line which is
X(t)=P+At

to go from X(t) to Q its
X(t)-Q=(P-Q)+At=(-3,-1,1,3)+(1,1,1,1)t
X(t)-Q=(-3+t,-1+t,1+t,3+t)
the distance between X(t) and Q would be
d=||(X(t)-Q)|| or d=((X(t)-Q).(X(t)-Q))1/2For 2.
then the distance squared as a function of t would be
d2=(X(t)-Q).(X(t)-Q)

this gives d2=20+4t2
the derivative is (d2)'=2((d2)'d(2
(d2)'=(2(8t)(20+4t2)
(d2)'=320t+64t3

set the derivative to 0 for minimum and i get
t=(-320/64)1/2

Its clearly not the right answer of 2(5)1/2

I don't know where I am going wrong.
 
Last edited:
Physics news on Phys.org
You can also minimise d^2 to get the shortest distance between a point and a line. This is just the normal from the line, can you just use that?

Mat
 
I've minimised d^2 by taking the derivative and setting to 0
 
You differentiated incorrectly. What Mat is suggesting is that you minimize f(t)=20+4t2. There's no need to use the chain rule.
 
How can you minimize f(t)=20+4t2?
Is it not only do when is a minus?
 
You can do it by inspection. It's a parabola, right?

Or you can solve f'(t)=0. Note I just called it f(t) instead of d2 since the notation seemed to be leading you astray.
 
dustydude said:
How can you minimize f(t)=20+4t2?
Is it not only do when is a minus?
y= 20+ 4t2 is a parabola opening upward. It's minimum value is at the vertex (which is very easy to find here- t2 is never negative).

You may be thinking that y= 20+ 4t2 has no maximum- and that y= 20- 4t2 has no minimum.
 
so t=5 is the time where the distance between the line is at a minimum?
...visualisation helps sometimes

the substitue t into X(t)

and then find distance betweeb X(t) and Q?
 
sorry i mean t=20
 
  • #10
No. How did you get t=20?
 
  • #11
I see now i get what u mean by minimize.
Find the value of d^2 which is the smallest.

The smallest value of d^2 is 20.
so d=2(5)^1/2
 
Last edited:

Similar threads

Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
4
Views
2K
Replies
12
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K