Site Logo

数学公式

在文档中使用数学公式

Inline Math

You can write inline math expressions like c=±a2+b2c = \pm\sqrt{a^2 + b^2} or E=mc2E = mc^2.

Block Math

Pythagorean Theorem

c2=a2+b2c^2 = a^2 + b^2

Quadratic Formula

The solutions to the quadratic equation ax2+bx+c=0ax^2 + bx + c = 0 are:

x=b±b24ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

Taylor Series Expansion

The Taylor expansion of a holomorphic function f(x)f(x) around point cc:

f(z)=k=0(zc)k2πiγf(w)(wc)k+1dwf(z) = \sum_{k=0}^{\infty} \frac{(z-c)^k}{2\pi i} \int_{\gamma} \frac{f(w)}{(w-c)^{k+1}} \,dw

Matrix Operations

Matrix multiplication example:

(1234)(5678)=(19224350)\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} \begin{pmatrix} 5 & 6 \\ 7 & 8 \end{pmatrix} = \begin{pmatrix} 19 & 22 \\ 43 & 50 \end{pmatrix}

Integral Calculus

The fundamental theorem of calculus:

abf(x)dx=f(b)f(a)\int_a^b f'(x) \,dx = f(b) - f(a)

Probability

The normal distribution probability density function:

f(x)=1σ2πe12(xμσ)2f(x) = \frac{1}{\sigma\sqrt{2\pi}} e^{-\frac{1}{2}\left(\frac{x-\mu}{\sigma}\right)^2}

这篇指南对你有帮助吗?