# How you can add Mathematical formula in question – answer or in forum

Our website support **latex code**. Using latex code you can render any mathematical formula. To use latex rendering, you must put latex open and close tags i.e. and latex code inside them.

Syntax to be followed for writing a correct latex code are discussed below:

**Function & super scripts:** **Latex code is:** f(x)=x^2+sin(x)

**Fraction:** **Latex code is: ** k=-/frac{a^2+b^2}{c*d}

**Subscript:** **Latex code is:** f(x_n)=f(x_{n-1})+ f(x_{n-2})

**Quad and dots:** **Latex code is: ** \left\{P_{N-1}(x_k)=f_k \right\}, \quad k= -\frac{N-1}{2},\dots,\frac{1}{2}

**Sum:** ** Latex code is: ** f_{N}(x)=\sum_{i=0}^{n}{a_ix^i}

**Permutation:** **Latex code is: ** ^nP_k=\frac{n!}{(n-k)!}

**Binomial or Combination:** ** Latex code is: ** \binom nk=^nC_k=\frac{n!}{k!(n-k)!}

**Integrals:** ** Latex code is:** \int_a^b x^2\;\mathrm{d}x= \tfrac{1}{3} x^3 \Big|_a^b

**integrals:** **Latex code is:** \int_a^b f(x) \mathrm{d} x,

**oint, nabla:** **Latex code is: ** \oint ! \nabla f (x) \mathrm{d} x=0

**integrals:** **Latex code is:** \iint\limits_D \, \mathrm{d} x\,\mathrm{d} y \quad

**integrals:** **Latex code is:** \iiint\limits_E \, \mathrm{d} x\,\mathrm{d} y\,\mathrm{d}z

**Big Oh:** **Latex code is:** \bigotimes_{i=1}^{n}\{ M_i,t_1,t_2 \ldots t_50 \}

**Because and Therefore:** Latex code is: \because x+3&=5\\ \therefore x&=2

**Array:**

**Latex code is:**

\begin{array}{|l|cr}

left1 & center1 & right1\\

\hline

d & e & f

\end{array}

**Array:**

**Latex code is:**

\begin{array}{lcl}

z & = & a \\

& = & a \\

f(x,y,z) & = & x + y + z

\end{array}

If the symbol you are searching for is not in this list, please let us know. email us: [email protected]