2D notes

Intersection of two lines

\begin{align} \left\{ \begin{array}{l} y = a_1x+b_1 \\ y = a_2x+b_2 \end{array} \right. \end{align} If $a_1 \ne a_2$, \begin{align} \left\{ \begin{array}{l} x = -\dfrac{b_2-b_1}{a_2-a_1} \\ y = \dfrac{a_2b_1-a_1b_2}{a_2-a_1} \end{array} \right. \end{align}

A line between two points

\begin{align} \left\{ \begin{array}{l} y_1 = ax_1+b \\ y_2 = ax_2+b \end{array} \right. \end{align} If $x_1 \ne x_2$, \begin{align} \left\{ \begin{array}{l} a=\dfrac{y_2-y_1}{x_2-x_1}\\ b=\dfrac{x_2y_1-x_1y_2}{x_2-x_1} \end{array} \right. \end{align}

research/memos/mathematics/2d_notes.txt · 最終更新: 2017/12/18 04:52 by kobayash
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0