summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/guide-to-latex/exercises/chap7/exer7-14.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/guide-to-latex/exercises/chap7/exer7-14.tex')
-rw-r--r--Master/texmf-dist/doc/latex/guide-to-latex/exercises/chap7/exer7-14.tex38
1 files changed, 38 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/guide-to-latex/exercises/chap7/exer7-14.tex b/Master/texmf-dist/doc/latex/guide-to-latex/exercises/chap7/exer7-14.tex
new file mode 100644
index 00000000000..f4154ad0179
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/guide-to-latex/exercises/chap7/exer7-14.tex
@@ -0,0 +1,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}
+