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

rendering mathematical formula using latex | syntax | latex code examples

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.latex tag image and latex code inside them.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Array:  \begin{array}{|l|cr}left1 & center1 & right1\\\hlined & e & f\end{array}
Latex code is:
\begin{array}{|l|cr}
left1 & center1 & right1\\
\hline
d & e & f
\end{array}

Array:  \begin{array}{lcl}z & = & a \\& = & a \\f(x,y,z) & = & x + y + z\end{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]

Leave a Reply