f
(
x
)
=
{
x
=
1
1
x
=
2
2
x
>
2
x
=
f
(
x
−
1
)
+
f
(
x
−
2
)
f(x)=\begin{cases} x=1 & 1 \\ x=2 & 2 \\ x>2 & x=f(x-1)+f(x-2) \end{cases}
f(x)=⎩⎨⎧x=1x=2x>212x=f(x−1)+f(x−2)
求和
代码
效果
$\sum_{i=1}{100}i$
∑
i
=
1
100
i
\sum_{i=1}^{100}i
∑i=1100i
$$\sum_{i=1}{100}i$$(特例)
∑
i
=
1
100
i
\sum_{i=1}^{100}i
i=1∑100i
矩阵
代码
效果
$\begin{matrix} a & b \\ c & d \end{matrix}$
a
b
c
d
\begin{matrix} a & b \\ c & d \end{matrix}
acbd
$\begin{pmatrix} a & b \\ c & d \end{pmatrix}$
(
a
b
c
d
)
\begin{pmatrix} a & b \\ c & d \end{pmatrix}
(acbd)
$\begin{bmatrix} a & b \\ c & d \end{bmatrix}$
[
a
b
c
d
]
\begin{bmatrix} a & b \\ c & d \end{bmatrix}
[acbd]
$\begin{Bmatrix} a & b \\ c & d \end{Bmatrix}$
{
a
b
c
d
}
\begin{Bmatrix} a & b \\ c & d \end{Bmatrix}
{acbd}
$\begin{vmatrix} a & b \\ c & d \end{matrix}$
∣
a
b
c
d
∣
\begin{vmatrix} a & b \\ c & d \end{vmatrix}
acbd