IntMath Home » Forum home » Entering math graphs images » How to enter math

# How to enter math

You can add math to your post either using either simple plain text math, or LaTeX.

You need to surround your math with backticks (not apostrophes).

Mobile devices: You can use qq at the beginning and end of your math - it's much easier than finding the back tick.

## 1. Plain text math

You can use calculator-like syntax (also called ASCIIMath).

### Examples:

Pythagoras' Theorem: a^2 + b^2 = c^2, gives: a^2 + b^2 = c^2

If you are using a phone, you can enter the above example like this:

qq a^2 + b^2 = c^2 qq

(Note the qq at the beginning and end of the math.)

Integral: int_0^(2pi) sin x dx=0

int_0^(2pi) sin x dx=0

Matrices:

[(1,2,3),(4,7,2),(4,2,1)] gives

[(1,2,3),(4,7,2),(4,2,1)]

See Syntax for ASCIIMathML for all of the math symbols you can use, and how to enter them.

## 2. LaTeX math input

### Examples:

Partial fractions:

\frac{\partial f(x,y)}{\partial x}=x^2 \cosh x^y gives

\frac{\partial f(x,y)}{\partial x}=x^2 \cosh x^y

Summation notation:

\sum_{n=0}^{\infty}\frac{1}{2^n}=2, which produces:

\sum_{n=0}^{\infty}\frac{1}{2^n}=2

### Relevant page

Syntax for ASCIIMathML

X


You can add math to your post either using either simple plain text math, or LaTeX.

You need to surround your math with <b>backticks</b> (not apostrophes).

<b>Mobile devices:</b> You can use <b><code>qq</code></b> at the beginning and end of your math - it's much easier than finding the back tick.

<h2>1. Plain text math</h2>

You can use calculator-like syntax (also called ASCIIMath).

<h3>Examples:</h3>
<b>Pythagoras' Theorem:</b> <code>a^2 + b^2 = c^2</code>, gives: a^2 + b^2 = c^2

If you are using a phone, you can enter the above example like this:

<code>qq a^2 + b^2 = c^2 qq</code>

(Note the <code>qq</code> at the beginning and end of the math.)

<b>Integral:</b> <code>int_0^(2pi) sin x dx=0</code>

int_0^(2pi) sin x dx=0

<b>Matrices:</b>

<code>[(1,2,3),(4,7,2),(4,2,1)]</code> gives

[(1,2,3),(4,7,2),(4,2,1)]

See <a href="/help/send-math-email-syntax.php">Syntax for ASCIIMathML</a> for all of the math symbols you can use, and how to enter them.

<h2>2. LaTeX math input</h2>

<h3>Examples:</h3>
<b>Partial fractions:</b>

<code>\frac{\partial f(x,y)}{\partial x}=x^2 \cosh x^y</code> gives

\frac{\partial f(x,y)}{\partial x}=x^2 \cosh x^y

<b>Summation notation: </b>

<code>\sum_{n=0}^{\infty}\frac{1}{2^n}=2</code>, which produces:

\sum_{n=0}^{\infty}\frac{1}{2^n}=2
Relevant page

<a href="/help/send-math-email-syntax.php">Syntax for ASCIIMathML</a>



## Re: How to enter math

Very useful, thanks.

X

Very useful, thanks.

## Re: How to enter math

How to enter square root?

X

How to enter square root?

## Re: How to enter math

The square root sign uses the following syntax:

sqrt(a^2 + b^2)

This produces:

sqrt(a^2 + b^2)

See all possible symbols in the link given above

X

The square root sign uses the following syntax:

<code>sqrt(a^2 + b^2)</code>

This produces:

sqrt(a^2 + b^2)

See all possible symbols in the link given above

## Re: How to enter math

Thank you!

X

Thank you!

## Re: How to enter math

Can you do partial derivatives using the simpler ASCIIMath input?

X

Can you do partial derivatives using the simpler ASCIIMath input?

## Re: How to enter math

Sure can! Here's the plain text math version:

(partial f(x,y))/(partial x)=x^2 cosh x^y

gives you

(partial f(x,y))/(partial x)=x^2 cosh x^y

X

Sure can! Here's the plain text math version:

<code>(partial f(x,y))/(partial x)=x^2 cosh x^y</code>

gives you

(partial f(x,y))/(partial x)=x^2 cosh x^y

## Re: How to enter math

Thank you very much for this, Murray. I did not know how to do cube root and now I do:)

X

Thank you very much for this, Murray. I did not know how to do cube root and now I do:)