πŸ“ Math for physics

Just the math you need β€” vectors, trigonometry, calculus, complex numbers and linear algebra β€” explained with physics in mind.

Formula cheat-sheet

Quadratic formula

x=βˆ’bΒ±b2βˆ’4ac2ax=\frac{-b\pm\sqrt{b^2-4ac}}{2a}

Logs

ln⁑(ab)=ln⁑a+ln⁑b,eln⁑x=x\ln(ab)=\ln a+\ln b,\quad e^{\ln x}=x

Binomial approx.

(1+x)nβ‰ˆ1+nxβ€…β€Š(xβ‰ͺ1)(1+x)^n\approx 1+nx\;(x\ll1)

Taylor series

f(x)=βˆ‘nf(n)(a)n!(xβˆ’a)nf(x)=\sum_{n}\frac{f^{(n)}(a)}{n!}(x-a)^n

Product rule

(fg)β€²=fβ€²g+fgβ€²(fg)'=f'g+fg'

Integration by parts

∫u dv=uvβˆ’βˆ«v du\int u\,dv=uv-\int v\,du

Gradient

βˆ‡f=(βˆ‚xf,βˆ‚yf,βˆ‚zf)\nabla f=\left(\partial_x f,\partial_y f,\partial_z f\right)

Gaussian integral

βˆ«βˆ’βˆžβˆžeβˆ’x2dx=Ο€\int_{-\infty}^{\infty}e^{-x^2}dx=\sqrt\pi

Where this math is used