Please could you help me solve this question:
Find the co-ordinates of A on a line l and B on a line l' such
that AB is as short as possible.
l:
x=5t-6
y=4t
z=3t-3
l':
x=t+6
y=2t-8
z=3t-1
Thank-you!!!
Hi Christine. What you should do is to find the closest distance from a point to a line, there is a standard equation for this but I'll show you how to get it. Let (u,v,w) be a particular point, and let f(t)=(u-x(t))2 +(v-y(t))2 +(w-z(t))2 (where x(t), y(t) and z(t) are the coordinates of the point on the line at time t, in your line L we have x(t)=5t-6, etc.) You want to minimise the distance (which is sqrt(f(t))), but this can be done by minimising the distance squared (it saves a bit of time on the diferentiation). For your line L, we have f(t)=(u-5t+6)2 +(v-4t)2 +(w-3t+3)2 , differentiating this we get f'(t)=-10(u-5t+6)-8(v-4t)-6(w-3t+3)=0, so t(50+24+18)=10u+6v+6w+60+18. We then substitute this value of t back into the function f(t) to get the distance squared. If we want to minimise the distance between two skew lines, we want to minimise the distance between a point on L' and the line L, over all points on L'. In other words, suppose D(u,v,w) gives the distance squared between u,v,w and the line L. Let g(t)=D(t+6,2t-8,3t-1), this is the distance squared from the point on L' at time t and the line L. If we minimise this value over t, we will get the minimum distance squared between L and L'. If you don't know about differentiation then this problem is a bit harder.
There is also an elegant way to do it using the vector cross
and dot products. This method depends on first finding the
shortest distance between the two lines and then using this to
find the points on the lines. I'll deal with the general case
here.
If we have two lines l1 and l2 such that their equations are
r=a+td and r=a+ue
respectively then the shortest distance between them is the shortest distance
between two parallel planes p1 and p2 such that p1 contains
l1 and p2 contains l2.
At this point a diagram may be helpful.

The shortest distance between the lines is clearly P Q. This is equal to
N B, which is equal to A Bcosq.