Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm having a lot of trouble trying to figure this out. Our prof hasn't covered this and we our assignment is due in two days. I'm trying to figure this out on my own:

Consider the two lines $L_1:x=-2t, y=1+2t, z=3t$ and $L_2:x=-1+4s,y=3+2s,z=5+s$. Find the point $P:(x,y,z)$ of intersection of the two lines.

Any ideas?

share|cite|improve this question
Any ideas – yes, I know the answer. Do you have any ideas? Do you understand what the line definitions mean? Do you understand what a point of intersection is? – Ben Millwood Feb 25 '13 at 0:37
very likely he first equation in $L_1$ should read $x=-2t.$ Edited to that. – Will Jagy Feb 25 '13 at 0:51
Yea, it was a mis-type from his part...thanks for noticing that. – Dimitri Feb 25 '13 at 0:54
up vote 2 down vote accepted

At the point of intersection, the coordinates must satisfy the equations of both lines. Thus: $x_1=x_2, y_1=y_2,$ and $ z_1=z_2$. You have the following system of $t,s$:

$$-2t=-8+4s $$ $$1+2t=3+2s$$ $$3t=5+s$$

This system has a unique solution: $t=2,s=1$. Therefore, the point of intersection is: $P(-4,5,6)$

share|cite|improve this answer

A point on both lines will satisfy both equations. You can then write $$-2t=-8+4s \\ 1+2t = 3 + 2s \\ 3t=5+s$$

You can pick any two, solve them for $s,t$ and plug into the lines. You should get the same point no matter which line you plug into-a good check.

share|cite|improve this answer
I did exactly that which gave me s = -3 and t = 2/3 However, plugging those values back, I get the wrong answer for some reason. – Dimitri Feb 25 '13 at 0:44
Adding the first 2 equations together gives, 1=-5+6s which would imply s=1. – JB King Feb 25 '13 at 0:49
Got it! Thanks a lot! – Dimitri Feb 25 '13 at 0:54

To complement the other solutions, you can also note that the system of equations you obtained is equivalent to the matrix equation $$ \begin{bmatrix} 4 & 2 \\ 2 & -2 \\ 1 & -3 \end{bmatrix} \begin{bmatrix} s \\ t \end{bmatrix} = \begin{bmatrix} 8 \\ -2 \\ -5 \end{bmatrix}. $$

This matrix equation is also equivalent to saying that the right hand side (which represents a vector from a point on one line to a point on the other line) is a linear combination of the direction vectors of the lines. It is a worthwhile exercise to see that this condition is equivalent to the two lines intersecting.

share|cite|improve this answer

Set $x=x$, $y=y$, etc. Then solve for $s$ and $t$. Then plug back into one of the line equations to get $x$, $y$, and $z$.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.