ASCIIMath for integrals

I’ve enabled ASCIIMath on the forum, which is an easier way to type mathematics into your posts. For example, I can type the following:

Note that if we write

(x^2+2x+1)/(x^3+x) = A/x+(Bx+c)/(x^2+1),

then you can show that A=1, C=2, and B=0. Thus,

int (x^2+2x+1)/(x^3+x) dx= int(A/x+(Bx+c)/(x^2+1))dx = ln(x) + 2 arctan(x) + c.

as follows:

Note that if we write

%(x^2+2x+1)/(x^3+x) = A/x+(Bx+c)/(x^2+1),%

then you can show that %A=1%, %C=2%, and %B=0%.  Thus,

%int (x^2+2x+1)/(x^3+x)  dx= int(A/x+(Bx+c)/(x^2+1))dx = ln(x) + 2 arctan(x) + c.%

Note that mathematics needs to be enclosed in a pair of percentage signs. Thus,

x^2

can be written

%x^2%

Other than that, it really is quite intuitive. You can read more about the syntax on the ASCIIMath site.

Please use either ASCIIMath or LaTeX when communicating with Mathematical formulae on our forum!!