이것은 글자에 것이다.
이것은 어떻게 될까?
수식 끝에 번호가 자동으로 붙을까? -> Yes(equation으로 시작,끝을 해야함)
\[ \begin{equation} E= mc \label{e1} \end{equation} \]
- eqref 기능이 먹힌다. \eqref{e1} eqref은 괄호가 붙은 수식으로 뜬다. 항상 end{equation} 전에 label을 할 것.
- ref 기능은 먹힌다. \ref{e1} ref는 괄호가 안붙은 수식으로 뜬다.
\[ \begin{equation} E= mc^2 \end{equation} \]
\[ \begin{equation} E= mc^3 \end{equation} \]
\[ \begin{equation} E= mc^4 \end{equation} \]
행렬 끝에 번호가 자동으로 붙을까? -> Yes(equation으로 시작,끝을 해야함)
\[ \begin{equation}\vec {A} = \begin{pmatrix} 1 & x & x^2 \\ 1 & y & y^2 \\ 1 & z & z^2 \\ \end{pmatrix} \end{equation}\]
\[ \begin{equation}\vec {B} = \begin{matrix} 1 & x & x^2 \\ 1 & y & y^2 \\ 1 & z & z^2 \\ \end{matrix} \end{equation}\]
\[ \begin{equation}\vec {C} = \begin{bmatrix} 1 & x & x^2 \\ 1 & y & y^2 \\ 1 & z & z^2 \\ \end{bmatrix} \end{equation}\]
\[ \begin{equation}\vec {D} = \begin{Bmatrix} 1 & x & x^2 \\ 1 & y & y^2 \\ 1 & z & z^2 \\ \end{Bmatrix} \end{equation}\]
\[ \begin{equation}\vec {E} = \begin{vmatrix} 1 & x & x^2 \\ 1 & y & y^2 \\ 1 & z & z^2 \\ \end{vmatrix} \end{equation}\]
\[ \begin{equation}\vec {F} = \begin{Vmatrix} 1 & x & x^2 \\ 1 & y & y^2 \\ 1 & z & z^2 \\ \end{Vmatrix} \end{equation}\]
align 식의 번호가 자동으로 붙을까? -> Yes(&로 줄바꿈 할 때마다 번호가 자동으로 붙네)
\[ \begin{align} \sqrt{37} & = \sqrt{\frac{73^2-1}{12^2}} \\ & = \sqrt{\frac{73^2}{12^2}\cdot\frac{73^2-1}{73^2}} \\ & = \sqrt{\frac{73^2}{12^2}}\sqrt{\frac{73^2-1}{73^2}} \\ & = \frac{73}{12}\sqrt{1 - \frac{1}{73^2}} \\ & \approx \frac{73}{12}\left(1 - \frac{1}{2\cdot73^2}\right) \end{align}\]
aligned 식의 번호가 자동으로 붙을까? -> Yes(aligned 를 하나의 식으로 취급)
\[\begin{equation} \begin{aligned} \sqrt{37} & = \sqrt{\frac{73^2-1}{12^2}} \\ & = \sqrt{\frac{73^2}{12^2}\cdot\frac{73^2-1}{73^2}} \\ & = \sqrt{\frac{73^2}{12^2}}\sqrt{\frac{73^2-1}{73^2}} \\ & = \frac{73}{12}\sqrt{1 - \frac{1}{73^2}} \\ & \approx \frac{73}{12}\left(1 - \frac{1}{2\cdot73^2}\right) \end{aligned} \end{equation} \]
align* 식의 번호가 자동으로 붙을까? -> No
\[ \begin{align*} \sqrt{37} & = \sqrt{\frac{73^2-1}{12^2}} \\ & = \sqrt{\frac{73^2}{12^2}\cdot\frac{73^2-1}{73^2}} \\ & = \sqrt{\frac{73^2}{12^2}}\sqrt{\frac{73^2-1}{73^2}} \\ & = \frac{73}{12}\sqrt{1 - \frac{1}{73^2}} \\ & \approx \frac{73}{12}\left(1 - \frac{1}{2\cdot73^2}\right) \end{align*}\]
align로 정의되는 함수식의 특정 행만 번호가 안붙게 할 수 있을까? -> NO(내가 못찾은 건지, 아직 모르는 건지 모르겠음)
\begin{align} v + w & = 0 &&\text{Given} \\ -w & = -w + 0 && \text{additive identity} \\ -w + 0 & = -w + (v + w) && \text{equations $(1)$ and $(2)$} \end{align}
split 식의 번호가 자동으로 붙을까? -> No(*가 없어도 번호가 안붙음)
\[ \begin{split} \sqrt{37} & = \sqrt{\frac{73^2-1}{12^2}} \\ & = \sqrt{\frac{73^2}{12^2}\cdot\frac{73^2-1}{73^2}} \\ & = \sqrt{\frac{73^2}{12^2}}\sqrt{\frac{73^2-1}{73^2}} \\ & = \frac{73}{12}\sqrt{1 - \frac{1}{73^2}} \\ & \approx \frac{73}{12}\left(1 - \frac{1}{2\cdot73^2}\right) \end{split}\]
case로 정의되는 함수식의 번호가 자동으로 붙을까? -> Yes(equation으로 시작,끝을 해야함)
\[\begin{equation} f(n)= \begin{cases} n/2, & \text{if $n$ is even} \\ 3n+1, & \text{if $n$ is odd} \end{cases} \end{equation}\]