summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/english/guide-to-latex/exercises/chap7/exer7-14.tex
blob: f4154ad0179bd13434aaf909fd5de0d8d1e284c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
\documentclass{article}
\begin{document}
\noindent\textbf{First solution example}:\\[1ex]
The shortest distance between two straight lines represented by the equations
\[ \frac{x-x_1}{l_1} = \frac{y-y_1}{m_1} = \frac{z-z_1}{n_1}\quad\mbox{und}%
\quad%
   \frac{x-x_2}{l_2} = \frac{y-y_2}{m_2} = \frac{z-z_2}{n_2}               \]
is given by the expression
\[ \frac{\pm\;\begin{array}{|ccc|}
     x_1 - x_2 & y_1 - y_2 & z_1 - z_2 \\
	 l_1   &     m_1   &    n_1    \\
	 l_2   &     m_2   &    n_2
    \end{array}}{
    \sqrt{\left|\begin{array}{cc} l_1 & m_1 \\ l_2 & m_2 \end{array}\right|^2
	+ \left|\begin{array}{cc} m_1 & n_1 \\ m_2 & n_2 \end{array}\right|^2
	+ \left|\begin{array}{cc} n_1 & l_1 \\ n_2 & l_2 \end{array}\right|^2}
		}   \]
If the numerator is zero, the two lines meet somewhere.

\bigskip
\noindent\textbf{Second solution example}:\\[1ex]
The shortest distance between two straight lines represented by the equations
\[ \frac{x-x_1}{l_1} = \frac{y-y_1}{m_1} = \frac{z-z_1}{n_1}\quad\mbox{und}%
\quad%
   \frac{x-x_2}{l_2} = \frac{y-y_2}{m_2} = \frac{z-z_2}{n_2}               \]
is given by the expression
\[ \frac{\pm\;\begin{array}{|ccc|}
     x_1 - x_2 & y_1 - y_2 & z_1 - z_2 \\
	 l_1   &     m_1   &    n_1    \\
	 l_2   &     m_2   &    n_2
    \end{array}}{
    \sqrt{\begin{array}{|cc|} l_1 & m_1 \\ l_2 & m_2 \end{array}^2
	    + \begin{array}{|cc|} m_1 & n_1 \\ m_2 & n_2 \end{array}^2
	    + \begin{array}{|cc|} n_1 & l_1 \\ n_2 & l_2 \end{array}^2}
		}   \]
If the numerator is zero, the two lines meet somewhere.
\end{document}