Markdown格式下符号及数学公式的输入
整理了比较全的数学符号及其他符号在markdown格式文档中的输入.
符号
文章目录
上下标:
d p i dp_{i} dpi : $dp_{i}$
d p a r i dp_{ar_{i}} dpari : $dp_{ar_{i}}$
a 2 2 a^{2^2} a22 : $a^{2^2}$
A i − 1 A_{i-1} Ai−1 : $A_{i-1}$
A i − 1 A^{i-1} Ai−1 : $A^{i-1}$
运算符:
- 乘号 × \times × :
$\times$- d p i = d p i − 1 × ( 1 − p ) dp_{i} = dp_{i-1} \times (1-p) dpi=dpi−1×(1−p) :
$dp_{i} = dp_{i-1} \times (1-p)$
- d p i = d p i − 1 × ( 1 − p ) dp_{i} = dp_{i-1} \times (1-p) dpi=dpi−1×(1−p) :
- 除号 ÷ \div ÷ :
$\div$ - 加减号 ± \pm ± :
$\pm$ - 开方 x \sqrt{ x } x :
$\sqrt{x}$ - 开n次方 x n \sqrt[ n ]{ x } nx :
$\sqrt[n]{x}$
如果要把符号往正上方或者正下方放
比如 :
-
min x 0 \min \limits_{x_0} x0min :
$\min \limits_{x_0}$ -
min x 0 \min \limits^{x_0} minx0 :
$\min \limits^{x_0}$ -
min x 0 x 0 \min \limits^{x_0}_{x_0} x0minx0 :
$\min \limits^{x_0}_{x_0}$ -
max x 0 \max \limits_{x_0} x0max :
$\max \limits_{x_0}$
但limits只允许用于运算符上, 其他的不行,比如:max和min为运算符
向量:
a ⃗ \vec{ a } a:$\vec{ a }$
a ⃗ ⋅ b ⃗ = 0 \vec a \cdot \vec b = 0 a⋅b=0:$\vec a \cdot \vec b = 0$
A B → \overrightarrow{AB} AB : $\overrightarrow{AB}$
微积分:
不定积分
∫ x 2 d x \int x^2 {\rm d}x ∫x2dx:$\int x^2 {\rm d}x$
定积分
∫ 0 2 x 2 d x \int_0^2 x^2 {\rm d}x ∫02x2dx:$\int_0^2 x^2 {\rm d}x$
二重积分
∬ D f ( x , y ) d x d y \iint \limits_{D} {f(x,y)}{\rm d}x{\rm d}y D∬f(x,y)dxdy:$\iint \limits_D {f(x,y)}{\rm d}x{\rm d}y$
三重积分
∭ Ω f ( x , y , z ) d x d y d z \iiint \limits_{\Omega} {f(x,y,z)}{\rm d}x{\rm d}y{\rm d}z Ω∭f(x,y,z)dxdydz:$\iiint \limits_{\Omega} {f(x,y,z)}{\rm d}x{\rm d}y{\rm d}z$
极限
lim n → + ∞ 1 n ( n + 1 ) \lim\limits_{n \rightarrow +\infty} \frac{1}{n(n+1)} n→+∞limn(n+1)1:$\lim\limits_{n \rightarrow +\infty} \frac{1}{n(n+1)}$
lim x → 0 sin x x = 1 \lim\limits_{x \rightarrow 0} \frac{\sin x}{x} = 1 x→0limxsinx=1 : $\lim\limits_{n \rightarrow 0} \frac{\sin x}{x} = 1$
累加
∑ i = 1 n x i \sum_{i = 1}^n{x_i} ∑i=1nxi:$\sum_{i = 1}^n{x_i}$
∑ i = 1 n x i \sum\limits_{i = 1}^n{x_i} i=1∑nxi:$\sum\limits_{i = 1}^n{x_i}$
∑ i = 0 n 1 i 2 \sum_{i=0}^n \frac{1}{i^2} ∑i=0ni21: $\sum_{i=0}^n \frac{1}{i^2}$
∑ i = 0 n 1 i 2 \sum\limits_{i=0}^n \frac{1}{i^2} i=0∑ni21 : $\sum\limits_{i=0}^n \frac{1}{i^2}$
∑ i = 1 n x i n \frac{\sum_{i = 1}^n{x_i}}{n} n∑i=1nxi: $\frac{\sum_{i = 1}^n{x_i}}{n}$
累乘
∏ i = 0 n 1 i 2 \prod_{i=0}^n \frac{1}{i^2} ∏i=0ni21: $\prod_{i=0}^n \frac{1}{i^2}$
∏ i = 0 n 1 i 2 \prod\limits_{i=0}^n \frac{1}{i^2} i=0∏ni21: $\prod\limits_{i=0}^n \frac{1}{i^2}$
∏ i = 0 n x i \prod\limits_{i=0}^n {x_i} i=0∏nxi: $\prod\limits_{i=0}^n {x_i}$
括号:
{ } \{ \} {} : $\{ \}$
( a b ) {a\choose b} (ba) : ${a\choose b}$
x y \frac{x}{y} yx : $\frac{x}{y}$
( ) \left ()\right. () : $\left ()\right.$
省略号:
-
跟文本底线对齐的省略号 … \ldots … :
$\ldots$ -
横向的省略号 ⋯ \cdots ⋯
$\cdots$ -
竖向的省略号 ⋮ \vdots ⋮
$\vdots$ -
对角线方向的省略号 ⋱ \ddots ⋱
$\ddots$
数学符号
∣ \mid ∣:$\mid$
\ \backslash \ : $\backslash$
∗ \ast ∗:$\ast$
≤ \leq ≤:$\leq$
≥ \geq ≥:$\geq$
≠ \neq =:$\neq$
≈ \approx ≈:$\approx$
≡ \equiv ≡:$\equiv$
∑ \sum ∑:$\sum$
∏ \prod ∏:$\prod$
∐ \coprod ∐:$\coprod$
⨀ \bigodot ⨀:$\bigodot$
⨂ \bigotimes ⨂:$\bigotimes$
⨁ \bigoplus ⨁:$\bigoplus$
百分号
数学模式下的百分号: % \% % : $\%$
约等号
约等号 : ≈ \approx ≈ : $\approx$
向上/下取整
向上取整:
⌈ \lceil ⌈ :$\lceil$
⌉ \rceil ⌉ : $\rceil$
向下取整:
⌊ \lfloor ⌊ :$\lfloor$
⌋ \rfloor ⌋ : $\rfloor$
例如:
向上取整 ⌈ \lceil ⌈ 4 5 \frac{4}{5} 54 ⌉ \rceil ⌉ :$\lceil$$\frac{4}{5}$$\rceil$
向下取整 ⌊ \lfloor ⌊ 4 5 \frac{4}{5} 54 ⌋ \rfloor ⌋:$\lfloor$$\frac{4}{5}$$\rfloor$
希腊字母:
| 希腊字母 | 写法 | 希腊字母 | 写法 | |
|---|---|---|---|---|
| α \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$ |
Σ \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$ |
集合运算符:
∅ \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$
A 2 A\\2 A2 : $A\\2$
对数符号:
log \log log:$\log$
lg \lg lg:$\lg$
ln \ln ln:$\ln$
排列组合:
A 4 3 A_4^3 A43 : $A_4^3$
C 4 2 C_4^2 C42 : $C_4^3$
箭头符号:
↑ \uparrow ↑:$\uparrow$
↓ \downarrow ↓:$\downarrow$
⇑ \Uparrow ⇑:$\Uparrow$
⇓ \Downarrow ⇓:$\Downarrow$
→ \rightarrow →:$\rightarrow$
← \leftarrow ←:$\leftarrow$
⇒ \Rightarrow ⇒:$\Rightarrow$
⇐ \Leftarrow ⇐:$\Leftarrow$
⟶ \longrightarrow ⟶:$\longrightarrow$
⟵ \longleftarrow ⟵:$\longleftarrow$
⟹ \Longrightarrow ⟹:$\Longrightarrow$
⟸ \Longleftarrow ⟸:$\Longleftarrow$
⇒ + \stackrel{+}{\Rightarrow} ⇒+ : $\stackrel{+}{\Rightarrow}$
⇒ ∗ \stackrel{*}{\Rightarrow} ⇒∗ : $\stackrel{*}{\Rightarrow}$
左箭头 ← \overleftarrow{左箭头} 左箭头 : $\overleftarrow{左箭头}$
右箭头 → \overrightarrow{右箭头} 右箭头 : $\overrightarrow{右箭头}$
左箭头 ← \underleftarrow{左箭头} 左箭头 : $\underleftarrow{左箭头}$
右箭头 → \underrightarrow{右箭头} 右箭头 : $\underrightarrow{右箭头}$
三角运算符:
⊥ \bot ⊥:$\bot$
∠ \angle ∠:$\angle$
3 0 ∘ 30^\circ 30∘:$30^\circ$
sin \sin sin:$\sin$
cos \cos cos:$\cos$
tan \tan tan:$\tan$
cot \cot cot:$\cot$
sec \sec sec:$\sec$
csc \csc csc:$\csc$
分段函数的写法
{ x x x x x x x x x x x x x x \begin{cases}xxxxxxx \\ xxxxxxx \end{cases} {xxxxxxxxxxxxxx : \begin{cases}xxxxxxx \\ xxxxxxx \end{cases}
举几个栗子:
L ( Y , f ( x ) ) = { 1 , Y ! = f ( x ) 0 , Y = f ( x ) L(Y,f(x))=\begin{cases}1, Y!=f(x) \\0, Y = f(x)\end{cases} L(Y,f(x))={1,Y!=f(x)0,Y=f(x)
写法 :$L(Y,f(x))=\begin{cases}1, Y!=f(x) \\0, Y = f(x)\end{cases}$
L ( Y , f ( x ) ) = { 1 , Y ! = f ( x ) 0 , Y = f ( x ) − 1 , Y = ∞ L(Y,f(x))=\begin{cases}1, Y!=f(x) \\0, Y = f(x)\\ -1,Y=\infty \end{cases} L(Y,f(x))=⎩ ⎨ ⎧1,Y!=f(x)0,Y=f(x)−1,Y=∞
写法 :$L(Y,f(x))=\begin{cases}1, Y!=f(x) \\0, Y = f(x)\\ -1,Y=\infty \end{cases}$
M p = { x ( [ n p ] + 1 ) n p 不是整数 1 2 ( x ( n p ) + x ( n p + 1 ) ) n p 为整数 M_p=\begin{cases}x_{([np]+1)} {\quad}{\quad} np不是整数 \\ \frac{1}{2}(x_{(np)}+x_{(np+1)}) {\quad}{\quad} np为整数\end{cases} Mp={x([np]+1)np不是整数21(x(np)+x(np+1))np为整数
写法 :$M_p=\begin{cases}x_{([np]+1)} {\quad}{\quad} np不是整数 \\ \frac{1}{2}(x_{(np)}+x_{(np+1)}) {\quad}{\quad} np为整数\end{cases}$
再例如:
{ y 1 = β 0 + β 1 x 11 + ⋯ + β p x 1 p + ϵ 1 y 2 = β 0 + β 1 x 21 + ⋯ + β p x 2 p + ϵ 2 ⋯ ⋯ y 1 = β 0 + β 1 x n 1 + ⋯ + β p x n p + ϵ n \begin{cases} y_1 = \beta_0+\beta_1 x_{11}+\cdots+\beta_p x_{1p}+\epsilon_1 \\y_2 = \beta_0+\beta_1x_{21}+\cdots+\beta_p x_{2p}+\epsilon_2\\ \cdots \qquad\qquad\quad\;\;\;\;\;\; \cdots \\ y_1 = \beta_0+\beta_1 x_{n1}+\cdots+\beta_p x_{np}+\epsilon_n \end{cases} ⎩ ⎨ ⎧y1=β0+β1x11+⋯+βpx1p+ϵ1y2=β0+β1x21+⋯+βpx2p+ϵ2⋯⋯y1=β0+β1xn1+⋯+βpxnp+ϵn
$\begin{cases} y_1 = \beta_0+\beta_1 x_{11}+\cdots+\beta_p x_{1p}+\epsilon_1 \\y_2 = \beta_0+\beta_1x_{21}+\cdots+\beta_p x_{2p}+\epsilon_2\\ \cdots \qquad\qquad\quad\;\;\;\;\;\; \cdots \\ y_1 = \beta_0+\beta_1 x_{n1}+\cdots+\beta_p x_{np}+\epsilon_n \end{cases}$
在数学公式中加空格
${\quad}$ : 输出一个空格
${\,}$ : 输出半个空格
在数学模式下如果输不出空格就先加大括号{}; 在复杂的公式下可能识别不出,就需要加{}
还有其他不同宽度空格的做法 :
| 空格宽度 | 写法 | 示例 : x y xy xy |
|---|---|---|
| 两个空格 | $x \qquad y$ |
x y x \qquad y xy |
| 一个空格 | $x \quad y$ |
x y x \quad y xy |
| 大空格 | $x \ y$ |
x y x\ y x y |
| 中等空格 | $x \; y$, |
x y x\; y xy |
| 小空格 | $x\,y$ |
x y x\, y xy |
| 紧贴 | $x\!y$ |
x y x \! y xy |
绝对值
|\overline{x}| : ∣ x ‾ ∣ |\overline{x}| ∣x∣
$|x|$ : ∣ x ∣ |x| ∣x∣
输出矩阵
1 2 3 4 5 6 7 8 9 \begin{matrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{matrix} 147258369
$\begin{matrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{matrix}$
\\ : 换行
带大圆括号的矩阵:
( 1 2 3 4 5 6 7 8 9 ) \left( \begin{matrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{matrix} \right) 147258369
$\left( \begin{matrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{matrix} \right)$
格式 : \left(:代表左圆括号 \right) : 代表右圆括号
再比如:
( 1 x 11 x 12 ⋯ x 1 p 1 x 11 x 12 ⋯ x 1 p ⋮ ⋮ ⋮ ⋱ ⋮ 1 x 11 x 12 ⋯ x 1 p ) \left( \begin{matrix} 1 & x_{11} & x_{12} & \cdots & x_{1p} \\ 1 & x_{11} & x_{12} & \cdots &x_{1p}\\ \vdots & \vdots & \vdots & \ddots & \vdots \\ 1 & x_{11} & x_{12} & \cdots &x_{1p} \end{matrix} \right)
11⋮1x11x11⋮x11x12x12⋮x12⋯⋯⋱⋯x1px1p⋮x1p
$\left( \begin{matrix} 1 & x_{11} & x_{12} & \cdots & x_{1p} \\ 1 & x_{11} & x_{12} & \cdots &x_{1p}\\ \vdots & \vdots & \vdots & \ddots & \vdots \\ 1 & x_{11} & x_{12} & \cdots &x_{1p} \end{matrix} \right)$
带中/方括号的矩阵 :
[ 1 2 3 4 5 6 7 8 9 ] \left[ \begin{matrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{matrix} \right] 147258369
$\left[ \begin{matrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{matrix} \right]$
格式 : \left[:代表左中括号 \right] : 代表右中括号
带大括号的矩阵 :
{ 1 2 3 4 5 6 7 8 9 } \left\{ \begin{matrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{matrix} \right\} ⎩ ⎨ ⎧147258369⎭ ⎬ ⎫
$\left\{ \begin{matrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{matrix} \right\}$
格式 : \left\{:代表左大括号 \right\} : 代表右大括号
阵列
↓ a b c R 1 c b a R 2 b c c \begin{array}{c|ccc} {↓}&{a}&{b}&{c}\\ \hline {R_1}&{c}&{b}&{a}\\ {R_2}&{b}&{c}&{c}\\ \end{array} ↓R1R2acbbbccac
$\begin{array}{c|ccc} {↓}&{a}&{b}&{c}\\ \hline {R_1}&{c}&{b}&{a}\\ {R_2}&{b}&{c}&{c}\\ \end{array}$
-
需要array环境:起始、结束处以
{array}声明 -
对齐方式:在{array}后以{逐一声明}
- 左对齐:
l;剧中:c;右对齐:r - 竖直线:在声明对齐方式时,插入
|建立竖直线
- 左对齐:
再举个栗子 :
p x y z R 1 1 2 3 R 2 3 2 1 \begin{array}{r|c|c|l|} {p}&{x}&{y}&{z}\\ \hline {R_1}&{1}&{2}&{3}\\ {R_2}&{3}&{2}&{1}\\ \end{array} pR1R2x13y22z31
$\begin{array}{r|c|c|l|} {p}&{x}&{y}&{z}\\ \hline {R_1}&{1}&{2}&{3}\\ {R_2}&{3}&{2}&{1}\\ \end{array}$
p x y z R 1 1 2 3 R 2 3 2 1 \begin{array}{|c|c|c|c|}\hline {p}&{x}&{y}&{z}\\ \hline {R_1}&{1}&{2}&{3}\\ \hline {R_2}&{3}&{2}&{1}\\ \hline \end{array} pR1R2x13y22z31
哈哈哈, 玩出表格的感觉。。。
$\begin{array}{|c|c|c|c|}\hline {p}&{x}&{y}&{z}\\ \hline {R_1}&{1}&{2}&{3}\\ \hline {R_2}&{3}&{2}&{1}\\ \hline \end{array}$
公式推导
说明一下 CSDN还不支持Latex的align , 但支持aligned的写法
它会报错KaTeX parse error: No such environment: align
但Typora支持 align 和 aligned
-
&符号对齐列,\\符号换行,\转义作用 -
推导内容 1 ⇒ 推导内容 2 ⇒ 推导内容 3 ⇒ 推导内容 4 \begin {aligned} 推导内容1 &\Rightarrow 推导内容2 \\ &\Rightarrow 推导内容3 \\ &\Rightarrow 推导内容4 \end {aligned} 推导内容1⇒推导内容2⇒推导内容3⇒推导内容4
$\begin {aligned} 推导内容1 &\Rightarrow 推导内容2 \\ &\Rightarrow 推导内容3 \\ &\Rightarrow 推导内容4 \end {aligned}$
举个栗子 :
( ∀ x ) ( P ( x ) ∨ Q ( x ) ) ⇒ ( ∀ x ) ( Q ( x ) ∨ P ( x ) ) ⇒ ( ∀ x ) ( ¬ Q ( x ) → P ( x ) ) ⇒ ( ∀ x ) ¬ Q ( x ) → ( ∀ x ) P ( x ) ⇒ ¬ ( ∃ x ) Q ( x ) → ( ∀ x ) P ( x ) ⇒ ( ∃ x ) Q ( x ) ∨ ( ∀ x ) P ( x ) ⇒ ( ∀ x ) P ( x ) ∨ ( ∃ x ) Q ( x ) \begin {aligned}(\forall x )(P(x) \vee Q(x)) &\Rightarrow (\forall x )( Q(x) \vee P(x)) \\&\Rightarrow (\forall x)(\neg Q(x) \rightarrow P(x)) \\&\Rightarrow (\forall x)\neg Q(x) \rightarrow (\forall x) P(x) \\ &\Rightarrow \neg (\exists x)Q(x) \rightarrow (\forall x) P(x) \\ &\Rightarrow (\exists x)Q(x) \vee (\forall x) P(x) \\&\Rightarrow (\forall x)P(x)\vee (\exists x)Q(x)\end {aligned} (∀x)(P(x)∨Q(x))⇒(∀x)(Q(x)∨P(x))⇒(∀x)(¬Q(x)→P(x))⇒(∀x)¬Q(x)→(∀x)P(x)⇒¬(∃x)Q(x)→(∀x)P(x)⇒(∃x)Q(x)∨(∀x)P(x)⇒(∀x)P(x)∨(∃x)Q(x)
$\begin {aligned}(\forall x )(P(x) \vee Q(x)) &\Rightarrow (\forall x )( Q(x) \vee P(x)) \\ &\Rightarrow (\forall x)(\neg Q(x) \rightarrow P(x)) \\ &\Rightarrow (\forall x)\neg Q(x) \rightarrow (\forall x) P(x) \\ &\Rightarrow \neg (\exists x)Q(x) \rightarrow (\forall x) P(x) \\ &\Rightarrow (\exists x)Q(x) \vee (\forall x) P(x) \\ &\Rightarrow (\forall x)P(x)\vee (\exists x)Q(x)\end {aligned}$
- 等式推导
- 式子 1 = 式子 2 = 式子 3 = 式子 4 \begin {aligned} 式子1 &= 式子2 \\ &= 式子3 \\ &= 式子4 \end {aligned} 式子1=式子2=式子3=式子4
$\begin {aligned} 式子1 &= 式子2 \\ &= 式子3 \\ &= 式子4 \end {aligned}$
举个栗子 :
1 × 2 + 2 × 3 + ⋯ + ( c − 1 ) × ( c ) + c × ( c + 1 ) = ( c − 1 ) c ( c + 1 ) 3 + c × ( c + 1 ) = ( c − 1 ) c ( c + 1 ) 3 + 3 c ( c + 1 ) 3 = c ( c + 1 ) + ( c + 2 ) 3 \begin {aligned}1\times 2 + 2 \times 3 +\cdots + (c-1)\times (c) +c\times(c+1) &= \frac{(c-1)c(c+1)}{3}+c\times(c+1) \\ &=\frac{(c-1)c(c+1)}{3}+\frac{3c(c+1)}{3} \\ &=\frac{c(c+1)+(c+2)}{3} \end {aligned} 1×2+2×3+⋯+(c−1)×(c)+c×(c+1)=3(c−1)c(c+1)+c×(c+1)=3(c−1)c(c+1)+33c(c+1)=3c(c+1)+(c+2)
$\begin {aligned}1\times 2 + 2 \times 3 +\cdots + (c-1)\times (c) +c\times(c+1) &= \frac{(c-1)c(c+1)}{3}+c\times(c+1) \\ &=\frac{(c-1)c(c+1)}{3}+\frac{3c(c+1)}{3} \\ &=\frac{c(c+1)+(c+2)}{3} \end {aligned}$
- k = 式子 1 k = 式子 2 k = 式子 3 \begin {aligned}k &= 式子1 \\ k &= 式子2 \\ k &= 式子3 \end {aligned} kkk=式子1=式子2=式子3
$\begin {aligned}k &= 式子1 \\ k &= 式子2 \\ k &= 式子3 \end {aligned}$
举个栗子 :
k = ( c 0 − 1 ) 3 − ( c 0 − 1 ) 3 k = c 0 3 − 3 c 0 2 + 3 c 0 − 1 − c 0 + 1 3 k = c 0 3 − c 0 + 3 c 0 − 3 c 0 2 3 k = c 0 3 − c 0 3 + c 0 − c 0 2 k + c 0 2 − c 0 = c 0 3 − c 0 3 \begin {aligned}k &= \frac{(c_0-1)^3 -(c_0 - 1)}{3} \\ k &= \frac{{c_0}^3 -3{c_0}^2 +3c_0 -1-c_0+1}{3} \\ k &= \frac{{c_0}^3 -c_0 +3{c_0} - 3{c_0}^2 }{3} \\ k &= \frac{{c_0}^3 -c_0}{3}+c_0 - {c_0}^2 \\ k +{c_0}^2-c_0 &= \frac{{c_0}^3 -c_0}{3} \end {aligned} kkkkk+c02−c0=3(c0−1)3−(c0−1)=3c03−3c02+3c0−1−c0+1=3c03−c0+3c0−3c02=3c03−c0+c0−c02=3c03−c0
$\begin {aligned}k &= \frac{(c_0-1)^3 -(c_0 - 1)}{3} \\ k &= \frac{{c_0}^3 -3{c_0}^2 +3c_0 -1-c_0+1}{3} \\ k &= \frac{{c_0}^3 -c_0 +3{c_0} - 3{c_0}^2 }{3} \\ k &= \frac{{c_0}^3 -c_0}{3}+c_0 - {c_0}^2 \\ k +{c_0}^2-c_0 &= \frac{{c_0}^3 -c_0}{3} \end {aligned}$
回归方程符号
| 样式 | 写法 | 样式 | 写法 |
|---|---|---|---|
| x ˉ \bar{x} xˉ | $\bar{x}$ |
η ˋ \grave{\eta} ηˋ | $\grave{\eta}$ |
| x ˙ \dot{x} x˙ | $\dot{x}$ |
a ˘ \breve{a} a˘ | $\breve{a}$ |
| α ^ \hat{\alpha} α^ | $\hat{\alpha}$ |
α ˇ \check{\alpha} αˇ | $\check{\alpha}$ |
| y ¨ \ddot{y} y¨ | $\ddot{y}$ |
ι ~ \tilde{\iota} ι~ | $\tilde{\iota}$ |
| η ˊ \acute{\eta} ηˊ | $\acute{\eta}$ |
- 如果在typora软件中没有显示出公式, 可能是设置中没有开启内联公式, 进入typora中设置即可

说明:
注意 : 在CSDN的markdown编辑器中数学模式下在公式后面是不允许有空格的, 否则会显示不出效果, 在typora中是可以有空格的,会自动去掉空格显示.
比如数学模式下$x=y $, 但在typora中是可以显示, 因此要在CSDN中显示出数学公式就不能多打空格
Markdown的数学模式主要是Latex的语法, 大部分的Latex的语法都可以用
Latex部分符号
还继续补充中…
更多推荐


所有评论(0)