Markdown常见数学符号和运算
MarkDown常用数学符号,记得一定要加$$才可以显示效果.
基本语法
$ 数学符号或者表达式$
上标
$x^2$
\(x^2\)
包括整体
${Z^{yx}}$
\({Z^{yx}}\)
大括号
$ \left(大括号)\right. $
$ \left(大括号)\right. $
分割线
$\frac{ x }{ y }$
\(\frac{ x }{ y }\)
开方
$\sqrt{ x }$
\(\sqrt{ x }\)
$\sqrt[ 3 ]{ x }$
\(\sqrt[ 3 ]{ x }\)
省略号
$\ldots$ 表示与文本底线对齐的省略号
$\cdots$ 表示与文本中线对齐的省略号
\(\ldots\)\(\cdots\)
矢量
$\vec{ a }$
\(\vec{ a }\)
积分
$\int_0^2 x^2 {\rm d}x$
\(\int_0^2 x^2 {\rm d}x\)
极限
$\lim\limits_{n \rightarrow +\infty} \frac{1}{n(n+1)}$
\(\lim\limits_{n \rightarrow +\infty} \frac{1}{n(n+1)}\)
累加
$\sum_{i=0}^n \frac{1}{i^2}$
\(\sum_{i=0}^n \frac{1}{i^2}\)
累乘
$\prod_{i=0}^n \frac{1}{i^2}$
\(\prod_{i=0}^n \frac{1}{i^2}\)
希腊字母
表达式 | 预览 |
---|---|
$\alpha$ |
\(\alpha\) |
$\beta$ |
\(\beta\) |
$\gamma$ |
\(\gamma\) |
$\Gamma$ |
\(\Gamma\) |
$\delta$ |
\(\delta\) |
$\Delta$ |
\(\Delta\) |
$\epsilon$ |
\(\epsilon\) |
$\varepsilon$ |
\(\varepsilon\) |
$\zeta$ |
\(\zeta\) |
$\eta$ |
\(\eta\) |
$\theta$ |
\(\theta\) |
$\Theta$ |
\(\Theta\) |
$\vartheta$ |
\(\vartheta\) |
$\iota$ |
\(\iota\) |
$\kappa$ |
\(\kappa\) |
$\lambda$ |
\(\lambda\) |
$\Lambda$ |
\(\Lambda\) |
$\mu$ |
\(\mu\) |
$\nu$ |
\(\nu\) |
$\xi$ |
\(\xi\) |
$\Xi$ |
\(\Xi\) |
$\pi$ |
\(\pi\) |
$\Pi$ |
\(\Pi\) |
$\varpi$ |
\(\varpi\) |
$\rho$ |
\(\rho\) |
$\varrho$ |
\(\varrho\) |
$\sigma$ |
\(\sigma\) |
$\varsigma$ |
\(\varsigma\) |
$\tau$ |
\(\tau\) |
$\upsilon$ |
\(\upsilon\) |
$\Upsilon$ |
\(\Upsilon\) |
$\phi$ |
\(\phi\) |
$\Phi$ |
\(\Phi\) |
$\varphi$ |
\(\varphi\) |
$\chi$ |
\(\chi\) |
$\psi$ |
\(\psi\) |
$\Psi$ |
\(\Psi\) |
$\omega$ |
\(\omega\) |
$\Omega$ |
\(\Omega\) |
关系运算符
表达式 | 预览 |
---|---|
$\pm$ |
\(\pm\) |
$\times$ |
\(\times\) |
$\div$ |
\(\div\) |
$\mid$ |
\(\mid\) |
$\nmid$ |
\(\nmid\) |
$\cdot$ |
\(\cdot\) |
$\circ$ |
\(\circ\) |
$\ast$ |
\(\ast\) |
$\bigodot$ |
\(\bigodot\) |
$\bigotimes$ |
\(\bigotimes\) |
$\bigoplus$ |
\(\bigoplus\) |
$\leq$ |
\(\leq\) |
$\geq$ |
\(\geq\) |
$\neq$ |
\(\neq\) |
$\approx$ |
\(\approx\) |
$\equiv$ |
\(\equiv\) |
$\sum$ |
\(\sum\) |
$\prod$ |
\(\prod\) |
$\coprod$ |
\(\coprod\) |
集合运算符
表达式 | 预览 |
---|---|
$\emptyset$ |
\(\emptyset\) |
$\in$ |
\(\in\) |
$\notin$ |
\(\notin\) |
$\subset$ |
\(\subset\) |
$\supset$ |
\(\supset\) |
$\subseteq$ |
\(\subseteq\) |
$\supseteq$ |
\(\supseteq\) |
$\bigcap$ |
\(\bigcap\) |
$\bigcup$ |
\(\bigcup\) |
$\bigvee$ |
\(\bigvee\) |
$\bigwedge$ |
\(\bigwedge\) |
$\biguplus$ |
\(\biguplus\) |
$\bigsqcup$ |
\(\bigsqcup\) |
对数运算符
表达式 | 预览 |
---|---|
$\log$ |
\(\log\) |
$\lg$ |
\(\lg\) |
$\ln$ |
\(\ln\) |
三角运算符
表达式 | 预览 |
---|---|
$\bot$ |
\(\bot\) |
$\angle$ |
\(\angle\) |
$30^\circ$ |
30\(^\circ\) |
$\sin$ |
\(\sin\) |
$\cos$ |
\(\cos\) |
$\tan$ |
\(\tan\) |
$\cot$ |
\(\cot\) |
$\sec$ |
\(\sec\) |
$\csc$ |
\(\csc\) |
微积分运算符
表达式 | 预览 |
---|---|
$\prime$ |
\(\prime\) |
$\int$ |
\(\int\) |
$\iint$ |
\(\iint\) |
$\iiint$ |
\(\iiint\) |
$\oint$ |
\(\oint\) |
$\lim$ |
\(\lim\) |
$\infty$ |
\(\infty\) |
$\nabla$ |
\(\nabla\) |
逻辑运算符
表达式 | 预览 |
---|---|
$\because$ |
\(\because\) |
$\therefore$ |
\(\therefore\) |
$\forall$ |
\(\forall\) |
$\exists$ |
\(\exists\) |
$\not=$ |
\(\not=\) |
$\not>$ |
\(\not>\) |
$\not\subset$ |
\(\not\subset\) |
戴帽符号
表达式 | 预览 |
---|---|
$\hat{x}$ |
\(\hat{x}\) |
$\check{x}$ |
\(\check{x}\) |
$\breve{x}$ |
\(\breve{x}\) |
$\bar{x}$ |
\(\bar{x}\) |
$\tilde{x}$ |
\(\tilde{x}\) |
$\widetilde{X}$ |
\(\widetilde{X}\) |
$\vec{x}$ |
\(\vec{x}\) |
$\dot{x}$ |
\(\dot{x}\) |
$\ddot{x}$ |
\(\ddot{x}\) |
连线符号
表达式 | -----------预览----------- |
---|---|
$\overline{a+b+c+d}$ |
\(\overline{a+b+c+d}\) |
$\underline{a+b+c+d}$ |
\(\underline{a+b+c+d}\) |
$\overbrace{a+\underbrace{b+c}{1.0}+d}^{2.0}$ |
\(\overbrace{a+\underbrace{b+c}{1.0}+d}^{2.0}\) |
箭头符号
表达式 | 预览 |
---|---|
$\uparrow$ |
\(\uparrow\) |
$\downarrow$ |
\(\downarrow\) |
$\Uparrow$ |
\(\Uparrow\) |
$\Downarrow$ |
\(\Downarrow\) |
$\rightarrow$ |
\(\rightarrow\) |
$\leftarrow$ |
\(\leftarrow\) |
$\Rightarrow$ |
\(\Rightarrow\) |
$\Leftarrow$ |
\(\Leftarrow\) |
$\longrightarrow$ |
\(\longrightarrow\) |
$\longleftarrow$ |
\(\longleftarrow\) |
$\Longrightarrow$ |
\(\Longrightarrow\) |
$\Longleftarrow$ |
\(\Longleftarrow\) |
分段函数
$$
函数名=\begin{cases}
公式1 & 条件1 \\
公式2 & 条件2 \\
公式3 & 条件3 \\
\end{cases}
$$
\[函数名=\begin{cases}
公式1 & 条件1 \\
公式2 & 条件2 \\
公式3 & 条件3 \\
\end{cases}
\]
矩阵
$$
\left[
\begin{matrix}
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9 \\
\end{matrix}
\right] \tag{3}
$$
\[\left[
\begin{matrix}
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9 \\
\end{matrix}
\right] \tag{3}
\]