This is my first question here and I'm not sure if it's the right place but I'm kinda desperate. I was learning about vector lines and parametric equations. My teacher gave me the assignment below and it is nothing like I saw in my lessons and when I asked him for help he didn't really help (it's an online school so communication is difficult). Here is the question word for word:
*Prove that (if exists) the point of intersection between two lines L1: r→=r01→+tu1→ , t∈R and L2: r→=r02→+su2→ , s∈R is given by the vector formula:
r→=r01→+[( r02→-r01→ )u2→] (u1→×u2→)u1→×u2→2 u1→*
Like I said, nothing similar to that was talked about in the lessons and I really have no idea of what to do or how to prove it so I was hoping someone could help me here. The arrows in the equations above mean that they are vectors.
First, you write your lines into vector form or in homogeneous coordinate. According to the definition of the cross product, if the two lines are non-parallel then the resulting vector $\mathbf{p}=\mathbf{a}\times\mathbf{b}$ is perpendicular to both $\mathbf{a}$ and $\mathbf{b}$. In addition from the definition of dot product, the dot product between the vertical vectors is $0$, so you can get: $$\mathbf{a}^\top\cdot(\mathbf{a}\times\mathbf{b})=\mathbf{a}^\top\cdot\mathbf{p}=0$$ $$\mathbf{b}^\top\cdot(\mathbf{a}\times\mathbf{b})=\mathbf{b}^\top\cdot\mathbf{p}=0$$ Therefore, the point $\mathbf{p}$ lies on the plane of $\mathbf{a}$ and $\mathbf{b}$, and on the line $\mathbf{a}$ and $\mathbf{b}$, and $\mathbf{p}$ is the intersection of the two lines. Note $\mathbf{p}$ is the homogeneous coordinates.