๊ณ ๊ธ ์ํ
๊ณ ๊ธ ์ํ¶
์ฃผ์ : LaTeX ๋ ์จ: 16๊ฐ ์ค 5๋ฒ์งธ ์ ์์ง์: ๊ธฐ๋ณธ ์ํ ์กฐํ, ํจํค์ง & ๋ฌธ์ ํด๋์ค ๋ชฉํ: ๋ค์ค ํ ์์, ํ๋ ฌ, ์ ๋ฆฌ ํ๊ฒฝ, ๋ฌผ๋ฆฌํ ๋ฐ ์ปดํจํฐ ๊ณผํ์ ์ํ ํน์ ํ๊ธฐ๋ฒ ๋ฑ ๊ณ ๊ธ ์ํ ์กฐํ ๋ง์คํฐํ๊ธฐ.
์๊ฐ¶
๊ธฐ๋ณธ ์ํ ๋ชจ๋๊ฐ ์ธ๋ผ์ธ ์์๊ณผ ๊ฐ๋จํ ๋์คํ๋ ์ด๋ฅผ ๋ค๋ฃจ๋ ๋ฐ๋ฉด, ์ ๋ฌธ์ ์ธ ์ํ ์์ฑ์๋ ๋ค์ค ํ ์ ๋, ์ ๋ ฌ๋ ์์, ํ๋ ฌ, ์ ๋ฆฌ ๋ฌธ์ฅ, ๋๋ฉ์ธ๋ณ ํ๊ธฐ๋ฒ์ ์ํ ์ ๊ตํ ๋๊ตฌ๊ฐ ํ์ํฉ๋๋ค. ์ด ๋ ์จ์์๋ LaTeX๋ฅผ ์ํ ์กฐํ์ ํ์ค์ผ๋ก ๋ง๋๋ ๊ฐ๋ ฅํ amsmath ํจํค์ง ์ํ๊ณ์ ํน์ ํจํค์ง๋ฅผ ํ๊ตฌํฉ๋๋ค.
amsmath ํจํค์ง¶
amsmath ํจํค์ง๋ ๊ณ ๊ธ ์ํ์ ํ์์ ์
๋๋ค. ํ๋ฆฌ์ฐ๋ธ์์ ๋ก๋ํ์ธ์:
\usepackage{amsmath}
์ด ํจํค์ง๋ LaTeX์ ๊ธฐ๋ณธ ์ํ ๊ธฐ๋ฅ์ ๊ฐ์ ํ๋ ์๋ง์ ํ๊ฒฝ๊ณผ ๋ช ๋ น์ ์ ๊ณตํฉ๋๋ค.
๋์คํ๋ ์ด ์ํ ํ๊ฒฝ¶
equation๊ณผ equation*¶
equation ํ๊ฒฝ์ ๋ฒํธ๊ฐ ๋งค๊ฒจ์ง ๋์คํ๋ ์ด ์์์ ์์ฑํฉ๋๋ค:
\begin{equation}
E = mc^2
\end{equation}
๋ณํ ๋ฒ์ equation*๋ ๋ฒํธ๋ฅผ ์ต์ ํฉ๋๋ค:
\begin{equation*}
\nabla \times \mathbf{E} = -\frac{\partial \mathbf{B}}{\partial t}
\end{equation*}
align๊ณผ align*¶
align ํ๊ฒฝ์ ํน์ ์ง์ (์ผ๋ฐ์ ์ผ๋ก = ๋๋ \leq)์์ ์ ๋ ฌ๋ ์ฌ๋ฌ ์์์ ์ํ ๊ฒ์
๋๋ค:
\begin{align}
x^2 + y^2 &= 1 \\
x &= \cos\theta \\
y &= \sin\theta
\end{align}
& ๊ธฐํธ๊ฐ ์ ๋ ฌ ์ง์ ์ ํ์ํฉ๋๋ค. ๊ฐ ์ค์ ์์ฒด ์์ ๋ฒํธ๋ฅผ ๋ฐ์ต๋๋ค. align*๋ฅผ ์ฌ์ฉํ์ฌ ๋ชจ๋ ๋ฒํธ๋ฅผ ์ต์ ํ์ธ์:
\begin{align*}
\nabla \cdot \mathbf{E} &= \frac{\rho}{\epsilon_0} \\
\nabla \cdot \mathbf{B} &= 0 \\
\nabla \times \mathbf{E} &= -\frac{\partial \mathbf{B}}{\partial t} \\
\nabla \times \mathbf{B} &= \mu_0\mathbf{J} + \mu_0\epsilon_0\frac{\partial \mathbf{E}}{\partial t}
\end{align*}
gather์ gather*¶
gather ํ๊ฒฝ์ ์ ๋ ฌ ์์ด ์ฌ๋ฌ ์์์ ์ค์์ ๋ฐฐ์นํฉ๋๋ค:
\begin{gather}
a = b + c \\
x = y + z \\
p = q \cdot r
\end{gather}
multline๊ณผ multline*¶
์ฌ๋ฌ ์ค์ ๊ฑธ์ณ ๋๋์ด์ผ ํ๋ ํ๋์ ๊ธด ์์์ ์ํ ๊ฒ์ ๋๋ค:
\begin{multline}
p(x) = 3x^6 + 14x^5y + 590x^4y^2 + 19x^3y^3 \\
- 12x^2y^4 - 12xy^5 + 2y^6 - a^3b^3
\end{multline}
์ฒซ ๋ฒ์งธ ์ค์ ์ผ์ชฝ ์ ๋ ฌ, ๋ง์ง๋ง ์ค์ ์ค๋ฅธ์ชฝ ์ ๋ ฌ, ์ค๊ฐ ์ค์ ์ค์ ์ ๋ ฌ๋ฉ๋๋ค.
์์ ๋ฒํธ ์ ์ด¶
์ฌ์ฉ์ ์ ์ ํ๊ทธ¶
\tag{}๋ก ์๋ ๋ฒํธ๋ฅผ ์ฌ์ ์ํ์ธ์:
\begin{equation}
E = mc^2 \tag{Einstein}
\end{equation}
๊ฐ๋ณ ๋ฒํธ ์ต์ ¶
๋ค์ค ํ ํ๊ฒฝ์์ \notag๋ก ํน์ ์ค์ ๋ฒํธ๋ฅผ ์ต์ ํ์ธ์:
\begin{align}
x &= a + b \\
y &= c + d \notag \\
z &= e + f
\end{align}
์ฒซ ๋ฒ์งธ์ ์ธ ๋ฒ์งธ ์์๋ง ๋ฒํธ๊ฐ ๋งค๊ฒจ์ง๋๋ค.
๋ ์ด๋ธ๊ณผ ์ฐธ์กฐ¶
์ํธ ์ฐธ์กฐ๋ฅผ ์ํด ์์์ ๋ ์ด๋ธ์ ์ง์ ํ์ธ์:
\begin{equation}
\label{eq:pythagorean}
a^2 + b^2 = c^2
\end{equation}
By the Pythagorean theorem (Equation~\ref{eq:pythagorean}), we have...
\eqref{} ๋ช
๋ น์ ๊ดํธ๋ฅผ ์๋์ผ๋ก ์ถ๊ฐํฉ๋๋ค:
As shown in \eqref{eq:pythagorean}, the relationship holds.
์ด๊ฒ์ "As shown in (1), the relationship holds."๋ฅผ ์์ฑํฉ๋๋ค.
ํ๋ ฌ¶
amsmath ํจํค์ง๋ ์ฌ๋ฌ ํ๋ ฌ ํ๊ฒฝ์ ์ ๊ณตํฉ๋๋ค:
pmatrix (์๊ดํธ)¶
\[
A = \begin{pmatrix}
a_{11} & a_{12} & a_{13} \\
a_{21} & a_{22} & a_{23} \\
a_{31} & a_{32} & a_{33}
\end{pmatrix}
\]
bmatrix (๋๊ดํธ)¶
\[
B = \begin{bmatrix}
1 & 0 & 0 \\
0 & 1 & 0 \\
0 & 0 & 1
\end{bmatrix}
\]
vmatrix์ Vmatrix (ํ๋ ฌ์)¶
\[
\det(A) = \begin{vmatrix}
a & b \\
c & d
\end{vmatrix} = ad - bc
\]
Vmatrix๋ ์ด์ค ์์ง์ ์ ์ฌ์ฉํฉ๋๋ค:
\[
\|A\| = \begin{Vmatrix}
1 & 2 \\
3 & 4
\end{Vmatrix}
\]
smallmatrix (์ธ๋ผ์ธ)¶
์ธ๋ผ์ธ ํ๋ ฌ์๋ smallmatrix๋ฅผ ์ฌ์ฉํ์ธ์:
The transformation matrix $\bigl(\begin{smallmatrix} a & b \\ c & d \end{smallmatrix}\bigr)$ maps...
์ฐธ๊ณ : smallmatrix๋ ๊ตฌ๋ถ ๊ธฐํธ๋ฅผ ์ถ๊ฐํ์ง ์์ผ๋ฏ๋ก \bigl(๊ณผ \bigr)๋ฅผ ์๋์ผ๋ก ์ฌ์ฉํ์ธ์.
ํ๋ ฌ ์์ ¶
\begin{align*}
\mathbf{A} &= \begin{bmatrix}
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9
\end{bmatrix} \\
\mathbf{I}_3 &= \begin{pmatrix}
1 & 0 & 0 \\
0 & 1 & 0 \\
0 & 0 & 1
\end{pmatrix}
\end{align*}
cases๋ฅผ ์ฌ์ฉํ ์กฐ๊ฐ๋ณ ํจ์¶
\[
f(x) = \begin{cases}
x^2 & \text{if } x \geq 0 \\
-x^2 & \text{if } x < 0
\end{cases}
\]
๋ ๋ณต์กํ ์์ :
\begin{equation}
|x| = \begin{cases}
x & \text{if } x > 0 \\
0 & \text{if } x = 0 \\
-x & \text{if } x < 0
\end{cases}
\end{equation}
์ ๋ฆฌ ํ๊ฒฝ¶
amsthm ํจํค์ง¶
amsthm ํจํค์ง๋ฅผ ๋ก๋ํ์ธ์:
\usepackage{amsthm}
์ ๋ฆฌ์ ์ ์ฌํ ํ๊ฒฝ์ ์ ์ํ์ธ์:
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{corollary}[theorem]{Corollary}
์ ํ์ [theorem] ์ธ์๋ ์ด๋ฌํ ํ๊ฒฝ์ด ๋์ผํ ์นด์ดํฐ๋ฅผ ๊ณต์ ํ๋๋ก ํฉ๋๋ค.
์ ๋ฆฌ ํ๊ฒฝ ์ฌ์ฉ¶
\begin{theorem}[Pythagorean Theorem]
\label{thm:pythagoras}
In a right triangle with legs of length $a$ and $b$ and hypotenuse of length $c$,
\[
a^2 + b^2 = c^2
\]
\end{theorem}
\begin{proof}
Consider a square of side length $a+b$...
Thus, we have shown that $a^2 + b^2 = c^2$.
\end{proof}
proof ํ๊ฒฝ์ ์์ ๋ถ๋ถ์ ์๋์ผ๋ก "Proof"๋ฅผ ์ถ๊ฐํ๊ณ ๋์ QED ๊ธฐํธ (โก)๋ฅผ ์ถ๊ฐํฉ๋๋ค.
์ฌ์ฉ์ ์ ์ ์ ๋ฆฌ ์คํ์ผ¶
์ ์, ๋น๊ณ ๋ฑ์ ์ํ ์ฌ์ฉ์ ์ ์ ์คํ์ผ์ ์ ์ํ์ธ์:
\theoremstyle{definition}
\newtheorem{definition}{Definition}
\newtheorem{example}{Example}
\theoremstyle{remark}
\newtheorem{remark}{Remark}
\newtheorem{note}{Note}
์ธ ๊ฐ์ง ๋ด์ฅ ์คํ์ผ:
- plain: ์ดํค๋ฆญ์ฒด ํ
์คํธ (์ ๋ฆฌ, ๋ณด์กฐ์ ๋ฆฌ์ฉ)
- definition: ์ ์ฒด ํ
์คํธ (์ ์, ์์ ์ฉ)
- remark: ๋ค๋ฅธ ๊ฐ๊ฒฉ์ ์ ์ฒด ํ
์คํธ (๋น๊ณ , ์ฐธ๊ณ ์ฉ)
์์ ํ ์์ ¶
\documentclass{article}
\usepackage{amsmath,amsthm}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{lemma}[theorem]{Lemma}
\theoremstyle{definition}
\newtheorem{definition}[theorem]{Definition}
\theoremstyle{remark}
\newtheorem{remark}[theorem]{Remark}
\begin{document}
\section{Fundamental Concepts}
\begin{definition}[Continuity]
A function $f: \mathbb{R} \to \mathbb{R}$ is continuous at $x = a$ if
\[
\lim_{x \to a} f(x) = f(a)
\]
\end{definition}
\begin{theorem}[Intermediate Value Theorem]
If $f$ is continuous on $[a,b]$ and $f(a) < 0 < f(b)$, then there exists
$c \in (a,b)$ such that $f(c) = 0$.
\end{theorem}
\begin{remark}
This theorem does not hold for discontinuous functions.
\end{remark}
\end{document}
QED ๊ธฐํธ ์ฌ์ฉ์ ์ ์¶
\renewcommand{\qedsymbol}{$\blacksquare$}
์ฌ์ฉ์ ์ ์ ์ฐ์ฐ์¶
\DeclareMathOperator๋ฅผ ์ฌ์ฉํ์ฌ ๋ก๋ง์ฒด(์ ์ฒด)๋ก ์กฐํ๋์ด์ผ ํ๋ ์ฌ์ฉ์ ์ ์ ์ฐ์ฐ์๋ฅผ ๋ง๋์ธ์:
\DeclareMathOperator{\argmax}{arg\,max}
\DeclareMathOperator{\argmin}{arg\,min}
\DeclareMathOperator{\tr}{tr}
\DeclareMathOperator{\rank}{rank}
\DeclareMathOperator{\diag}{diag}
์ฌ์ฉ๋ฒ:
\[
\theta^* = \argmax_\theta \mathcal{L}(\theta)
\]
\[
\tr(AB) = \tr(BA)
\]
ํ๊ณ๊ฐ ์๋ ์ฐ์ฐ์(\max์ \min์ฒ๋ผ)์ ๊ฒฝ์ฐ ๋ณํ ๋ฒ์ ์ ์ฌ์ฉํ์ธ์:
\DeclareMathOperator*{\argmax}{arg\,max}
\[
x^* = \argmax_{x \in \mathbb{R}^n} f(x)
\]
๋ค์ค ํ ์์¶
split ํ๊ฒฝ¶
ํ๋์ ๋ฒํธ๋ก ๋ค์ค ํ ์ ๋๋ฅผ ์ํด equation ๋ด์์ split์ ์ฌ์ฉํ์ธ์:
\begin{equation}
\begin{split}
(a + b)^2 &= (a + b)(a + b) \\
&= a^2 + ab + ba + b^2 \\
&= a^2 + 2ab + b^2
\end{split}
\end{equation}
์ฃผ์์ด ์๋ ์ ๋ ฌ๋ ์์¶
\begin{align}
f(x) &= x^2 + 2x + 1 \\
&= (x + 1)^2 && \text{(completing the square)} \\
&\geq 0 && \text{(squares are non-negative)}
\end{align}
&&๋ ์ฃผ์์ ์ํ ๋ ๋ฒ์งธ ์ ๋ ฌ ์ง์ ์ ์์ฑํฉ๋๋ค.
์คํ ๊ธฐํธ¶
overset๊ณผ underset¶
\[
A \overset{\text{def}}{=} B
\]
\[
\lim_{n \to \infty} a_n \overset{?}{=} L
\]
\[
X \underset{\text{i.i.d.}}{\sim} \mathcal{N}(0, 1)
\]
stackrel¶
\[
f(x) \stackrel{x \to 0}{\longrightarrow} L
\]
๋ค์ค ์คํ¶
\[
A \underset{\text{below}}{\overset{\text{above}}{=}} B
\]
๊ณ ๊ธ ์์ ¶
๋ณต์ ์ ๋ถ¶
\begin{equation}
\int_{-\infty}^{\infty} e^{-x^2} \, dx = \sqrt{\pi}
\end{equation}
์กฐ๊ฑด์ด ์๋ ํฉ¶
\[
\sum_{\substack{1 \leq i \leq n \\ i \text{ odd}}} i^2
\]
์ฐ๋ถ์¶
\[
x = a_0 + \cfrac{1}{a_1 + \cfrac{1}{a_2 + \cfrac{1}{a_3 + \cdots}}}
\]
์ฐธ๊ณ : ๋ ๋์ ๊ฐ๊ฒฉ์ ์ํด \frac ๋์ \cfrac(์ฐ๋ถ์)๋ฅผ ์ฌ์ฉํ์ธ์.
์ฐ๋ฆฝ ๋ฐฉ์ ์¶
\[
\left\{
\begin{aligned}
x + y + z &= 6 \\
2x - y + 3z &= 14 \\
-x + 3y - 2z &= -8
\end{aligned}
\right.
\]
๊ฐํ ๋ํ¶
๋ฒ์ฃผ๋ก ๊ณผ ๋์ํ์ ์ํด tikz-cd ํจํค์ง๋ฅผ ์ฌ์ฉํ์ธ์:
\usepackage{tikz-cd}
\begin{tikzcd}
A \arrow[r, "f"] \arrow[d, "g"] & B \arrow[d, "h"] \\
C \arrow[r, "k"] & D
\end{tikzcd}
๊ฐ๋จํ ๊ฐํ ์ฌ๊ฐํ:
\[
\begin{tikzcd}
X \times Y \arrow[r, "\pi_1"] \arrow[d, "\pi_2"] & X \arrow[d, "f"] \\
Y \arrow[r, "g"] & Z
\end{tikzcd}
\]
๋๊ฐ์ ํ์ดํ:
\[
\begin{tikzcd}
A \arrow[r] \arrow[dr] & B \arrow[d] \\
& C
\end{tikzcd}
\]
physics ํจํค์ง¶
physics ํจํค์ง๋ ์์์ญํ๊ณผ ๋ฏธ์ ๋ถ ํ๊ธฐ๋ฒ์ ์ํ ๋จ์ถํค๋ฅผ ์ ๊ณตํฉ๋๋ค:
\usepackage{physics}
๋ฏธ๋ถ¶
% Ordinary derivatives
\dv{x} % d/dx
\dv{f}{x} % df/dx
\dv[2]{f}{x} % dยฒf/dxยฒ
% Partial derivatives
\pdv{x} % โ/โx
\pdv{f}{x} % โf/โx
\pdv{f}{x}{y} % โยฒf/โxโy
\pdv[2]{f}{x} % โยฒf/โxยฒ
์์ :
\begin{equation}
\pdv{u}{t} = \alpha \pdv[2]{u}{x}
\end{equation}
์์์ญํ ํ๊ธฐ๋ฒ¶
% Bra-ket notation
\bra{\psi} % โจฯ|
\ket{\phi} % |ฯโฉ
\braket{\psi|\phi} % โจฯ|ฯโฉ
\braket{\psi} % โจฯ|ฯโฉ
\ketbra{\psi}{\phi} % |ฯโฉโจฯ|
% Expectation value
\expval{A} % โจAโฉ
\expval{A}{\psi} % โจฯ|A|ฯโฉ
์์ :
\begin{equation}
\expval{\hat{H}}{\psi} = \int_{-\infty}^{\infty} \psi^*(x) \hat{H} \psi(x) \, dx
\end{equation}
๋ฒกํฐ ํ๊ธฐ๋ฒ¶
\vb{v} % bold vector
\vb*{v} % arrow vector
\grad % gradient โ
\div % divergence
\curl % curl
\laplacian % Laplacian โยฒ
ํ๋ ฌ ์ฐ์ฐ¶
\tr{A} % trace
\Tr{A} % trace (capital)
\rank{A} % rank
\det{A} % determinant
์์ ํ ๊ณ ๊ธ ์์ ¶
\documentclass{article}
\usepackage{amsmath,amsthm,amssymb}
\usepackage{physics}
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}[theorem]{Lemma}
\theoremstyle{definition}
\newtheorem{definition}[theorem]{Definition}
\DeclareMathOperator*{\argmin}{arg\,min}
\begin{document}
\section{Optimization Theory}
\begin{definition}[Convex Function]
A function $f: \mathbb{R}^n \to \mathbb{R}$ is convex if for all $x, y \in \mathbb{R}^n$
and $\lambda \in [0,1]$,
\begin{equation}
f(\lambda x + (1-\lambda)y) \leq \lambda f(x) + (1-\lambda)f(y)
\end{equation}
\end{definition}
\begin{theorem}[First-Order Condition]
\label{thm:first-order}
Let $f: \mathbb{R}^n \to \mathbb{R}$ be differentiable. If $x^*$ is a local minimum, then
\begin{equation}
\nabla f(x^*) = \mathbf{0}
\end{equation}
\end{theorem}
\begin{proof}
Suppose $\nabla f(x^*) \neq \mathbf{0}$. Then we can find a direction $d$ such that
\begin{align}
\nabla f(x^*)^\top d &< 0 \\
f(x^* + \epsilon d) &< f(x^*) && \text{for sufficiently small } \epsilon > 0
\end{align}
This contradicts the assumption that $x^*$ is a local minimum.
\end{proof}
\begin{lemma}[Gradient Descent Update]
The gradient descent iteration
\begin{equation}
x_{k+1} = x_k - \alpha_k \nabla f(x_k)
\end{equation}
decreases the objective value when $\alpha_k$ is sufficiently small.
\end{lemma}
Consider the quadratic optimization problem:
\begin{equation}
\begin{split}
\min_{x \in \mathbb{R}^n} \quad & \frac{1}{2} x^\top Q x - b^\top x \\
\text{subject to} \quad & Ax = c
\end{split}
\end{equation}
The Lagrangian is:
\begin{align}
\mathcal{L}(x, \lambda) &= \frac{1}{2} x^\top Q x - b^\top x + \lambda^\top (Ax - c)
\end{align}
The optimality conditions are:
\begin{align}
\nabla_x \mathcal{L} &= Qx - b + A^\top \lambda = 0 \\
\nabla_\lambda \mathcal{L} &= Ax - c = 0
\end{align}
In matrix form:
\begin{equation}
\begin{bmatrix}
Q & A^\top \\
A & 0
\end{bmatrix}
\begin{bmatrix}
x^* \\
\lambda^*
\end{bmatrix}
=
\begin{bmatrix}
b \\
c
\end{bmatrix}
\end{equation}
\end{document}
ํ์ดํฌ๊ทธ๋ํผ ๋ชจ๋ฒ ์ฌ๋ก¶
- ์ฌ๋ฐ๋ฅธ ํ๊ฒฝ ์ฌ์ฉ: ์ ๋ ฌ๋ ์์์
align, ์ค์ ๋ฐฐ์น๋gather, ํ๋์ ๊ธด ์์์multline - ๋ฒํธ ๊ณผ์ฉ ๊ธ์ง: ์ฐธ์กฐ๊ฐ ํ์ ์์ ๋๋ ๋ณํ ๋ฒ์ (
align*,equation*) ์ฌ์ฉ - ์ ๋ ฌ ์ผ๊ด์ฑ: ๊ด๊ณ ๊ธฐํธ(
=,<,\leq)์์ ์ ๋ ฌ - ํ๋ ฌ์ ๊ฐ๊ฒฉ: LaTeX๊ฐ ์๋์ผ๋ก ์ฒ๋ฆฌํ๋ฏ๋ก ๊ฐ์ ๊ฐ๊ฒฉ ๊ธ์ง
- ์ํ ๋ชจ๋์ ํ
์คํธ: ์ฃผ์์๋
\text{}์ฌ์ฉ - ๊ตฌ๋์ : ๋์คํ๋ ์ด ์์์ ๋ฌธ์ฅ์ ์ผ๋ถ์ด๋ฏ๋ก ๊ตฌ๋์ ํฌํจ
- ์ผ๊ด๋ ํ๊ธฐ๋ฒ: ๋ฐ๋ณต ์ฌ์ฉ์ ์ํด ์ฌ์ฉ์ ์ ์ ์ฐ์ฐ์ ์ ์
์ผ๋ฐ์ ์ธ ์ค์¶
eqnarray์ฌ์ฉ: ์ด ํ๊ฒฝ์ ๊ตฌ์์ด๋ฏ๋กalign์ฌ์ฉ- ์๋ ๊ฐ๊ฒฉ: ํ์ํ ๊ฒฝ์ฐ๊ฐ ์๋๋ฉด
\,,\!์ฌ์ฉ ๊ธ์ง, LaTeX๊ฐ ๊ฐ๊ฒฉ ์ฒ๋ฆฌํ๋๋ก ํจ - ์ ๋ ฌ ๊นจ์ง:
align์ ๋ชจ๋ ์ค์ ๊ณ์ํ๊ธฐ ์ ์ ์ ํํ ํ๋์&๊ฐ ํ์ \\์๊ธฐ: ๋ค์ค ํ ํ๊ฒฝ์ ์ค์ ๋๋๊ธฐ ์ํด\\๊ฐ ํ์(๋ง์ง๋ง ์ ์ธ)- ์ค์ฒฉ ์์ ํ๊ฒฝ:
align๋ด๋ถ์equation๋ฃ์ง ์๊ธฐ
์ฐ์ต ๋ฌธ์ ¶
์ฐ์ต ๋ฌธ์ 1: Maxwell ๋ฐฉ์ ์¶
๋ฏธ๋ถ ํ์๊ณผ ์ ๋ถ ํ์์ Maxwell ๋ฐฉ์ ์์ align ํ๊ฒฝ์ ์ฌ์ฉํ์ฌ ์กฐํํ์ธ์. ์์ ๋ฒํธ์ ๋ ์ด๋ธ์ ์ถ๊ฐํ์ธ์.
์ฐ์ต ๋ฌธ์ 2: ํ๋ ฌ ์ฆ๋ช ¶
๋ค์ ์ ๋ฆฌ์ ์ฆ๋ช ์ ์กฐํํ์ธ์:
์ ๋ฆฌ: $A$์ $B$๊ฐ $n \times n$ ํ๋ ฌ์ด๋ฉด, $\det(AB) = \det(A)\det(B)$.
์ฆ๋ช : ํ๋ ฌ์์ด ๊ณฑ์ ์ ์ด๋ผ๋ ์ฌ์ค์ ์ฌ์ฉ...
์ฐ์ต ๋ฌธ์ 3: ์กฐ๊ฐ๋ณ ํจ์¶
Heaviside ๊ณ๋จ ํจ์๋ฅผ ์์ฑํ์ธ์:
H(x) = { 0 if x < 0
{ 1 if x โฅ 0
์ฐ์ต ๋ฌธ์ 4: ์ฌ์ฉ์ ์ ์ ์ ๋ฆฌ¶
๋ค์์ ํฌํจํ๋ ๋ฌธ์๋ฅผ ์์ฑํ์ธ์: - ์ธ ๊ฐ์ง ์ ๋ฆฌ ์คํ์ผ (์ ๋ฆฌ, ์ ์, ๋น๊ณ ) - ์ฆ๋ช ์ด ์๋ ์ ๋ฆฌ ํ๋ ์ด์ - ๋ฒํธ๊ฐ ๋งค๊ฒจ์ง ์ ์ - ์ ๋ฆฌ ๊ฐ ์ํธ ์ฐธ์กฐ
์ฐ์ต ๋ฌธ์ 5: ์ต์ ํ ๋ฌธ์ ¶
๋ค์ ์ ์ฝ ์ต์ ํ ๋ฌธ์ ๋ฅผ Lagrangian๊ณผ KKT ์กฐ๊ฑด๊ณผ ํจ๊ป ์กฐํํ์ธ์:
minimize f(x)
subject to g_i(x) โค 0, i = 1,...,m
h_j(x) = 0, j = 1,...,p
์ฐ์ต ๋ฌธ์ 6: ์์์ญํ¶
physics ํจํค์ง๋ฅผ ์ฌ์ฉํ์ฌ ์๊ฐ ์์กด Schrรถdinger ๋ฐฉ์ ์์ ์กฐํํ๊ณ Hamiltonian์ ๊ธฐ๋๊ฐ์ด ๋ณด์กด๋จ์ ๋ณด์ด์ธ์.
์ฐ์ต ๋ฌธ์ 7: ์ฐ๋ถ์¶
ํฉ๊ธ๋น๋ฅผ ์ฐ๋ถ์๋ก ์กฐํํ์ธ์:
ฯ = 1 + 1/(1 + 1/(1 + 1/(1 + ...)))
์ฐ์ต ๋ฌธ์ 8: ๊ฐํ ๋ํ¶
๋ฒ์ฃผ๋ก ์์ pullback ๋๋ pushout์ ๋ณด์ฌ์ฃผ๋ ๊ฐํ ๋ํ๋ฅผ ์์ฑํ์ธ์.
์์ฝ¶
์ด ๋ ์จ์์ ๋ค๋ฃฌ ๋ด์ฉ:
- amsmath ํ๊ฒฝ: equation, align, gather, multline
- \tag, \notag, \label, \eqref๋ฅผ ์ฌ์ฉํ ์์ ๋ฒํธ ๋งค๊ธฐ๊ธฐ
- ํ๋ ฌ ํ๊ฒฝ: pmatrix, bmatrix, vmatrix
- cases๋ฅผ ์ฌ์ฉํ ์กฐ๊ฐ๋ณ ํจ์
- amsthm์ ์ฌ์ฉํ ์ ๋ฆฌ ํ๊ฒฝ
- \DeclareMathOperator๋ฅผ ์ฌ์ฉํ ์ฌ์ฉ์ ์ ์ ์ฐ์ฐ์
- ๋ค์ค ํ ์์ ๊ธฐ๋ฒ
- ์คํ ๊ธฐํธ์ ์ฃผ์
- tikz-cd๋ฅผ ์ฌ์ฉํ ๊ฐํ ๋ํ
- physics ํจํค์ง๋ฅผ ์ฌ์ฉํ ๋ฌผ๋ฆฌํ ํ๊ธฐ๋ฒ
์ด๋ฌํ ๋๊ตฌ๋ฅผ ์ฌ์ฉํ๋ฉด ์ฌ์ค์ ๋ชจ๋ ์ํ ์ฝํ ์ธ ๋ฅผ ์ ๋ฌธ ์์ค์ผ๋ก ์กฐํํ ์ ์์ต๋๋ค.
๋ด๋น๊ฒ์ด์ : - ์ด์ : 04_Math_Basics.md - ๋ค์: 06_Floats_and_Figures.md - ๊ฐ์๋ก ๋์๊ฐ๊ธฐ