Board index General Board General Board Using LaTeX on Integrals and Series

## Using LaTeX on Integrals and Series

Moderator: galactus

### Using LaTeX on Integrals and Series

Thu May 09, 2013 11:01 am

Posts: 852
Location: Jaipur, India

Using LaTeX on Integrals and Series is easy.
• Enclose your LaTeX code between $$and$$ tags.
• A few examples are

$\displaystyle \int_0^1 \frac{x}{x^4+1} \log \log \left(\frac{1}{x} \right)dx = \frac{\pi}{4} \log \left( \frac{\sqrt{\pi} \Gamma \left(\frac{3}{4} \right)}{\Gamma \left(\frac{1}{4} \right)}\right)$

$\displaystyle K(k)=\frac{\pi}{2}\sum_{n=0}^\infty \left[ \frac{(2n-1)!!}{(2n)!!}\right]^2 k^{2n} = \frac{\pi}{2} {\;}_2F_1 \left( \frac{1}{2},\frac{1}{2};1 ;k^2\right)$

$\displaystyle \int_0^1 \frac{x^4(1-x)^4}{1+x^2}dx=\frac{22}{7}-\pi$

This certainly looks better than the LaTeX at MMF.

Any questions and comments are welcome.

### Re: Using LaTeX on Integrals and Series

Mon May 13, 2013 4:59 pm

Posts: 38
Location: India, West Bengal
I don't like the spacing system of the latex (MathJax?) here, it takes a lot of negative spaces to give a desired output, can it be fixed anyways?

As for the negative spacings (\!), I am happy that their are no limitations to the spacing implies that we can perform some LaTeX without restrictions which cannot be performed in MMF :

$\displaystyle \iint_{\mathbb{D}} \!\!\!\!\!\!\!\!\!\! \bigcirc \; f(z) \, \mathrm{d}z$

But I think such occurrence of moments forcing us to write the above would be rare.

Balarka
.

### Re: Using LaTeX on Integrals and Series

Tue May 28, 2013 8:01 am
sos440
Integration Guru

Posts: 124
Location: California, US

It is frustrating that the line-break character inside the TEX tag is also rendered into <br />:

\displaystyle \begin{align*} \int_{0}^{\infty} \frac{t^2 \log t}{(t^2+ 1)^2} \, dt &= - \int_{0}^{\infty} \frac{t^2 \log t}{(t^2+ 1)^2} \, dt \qquad (t \mapsto t^{-1}) \\ &= 0. \end{align*}
Every integral harbors a story as fascinating as a comic book!

### Re: Using LaTeX on Integrals and Series

Tue May 28, 2013 8:36 am

Posts: 852
Location: Jaipur, India

Thank you for reporting this problem to me sos440 !

I changed the latex rendering system to MathJax.

### Re: Using LaTeX on Integrals and Series

Tue May 28, 2013 8:57 am

Posts: 852
Location: Jaipur, India

We can use "tex" for inline math. For example:

$\displaystyle \int_0^\infty \frac{1}{1+x^2}dx= \frac{\pi}{2}$

"tex2" for outline math:

$\int_0^\infty \frac{1}{1+x^2}dx =\frac{\pi}{2}$

This is the best we can do for now.

### Re: Using LaTeX on Integrals and Series

Tue May 28, 2013 9:02 am
sos440
Integration Guru

Posts: 124
Location: California, US

ETYUCAN wrote:
Thank you for reporting this problem to me sos440 !

I changed the latex rendering system to MathJax.

I'm very happy for that!
Every integral harbors a story as fascinating as a comic book!

### Re: Using LaTeX on Integrals and Series

Fri Jun 21, 2013 2:54 pm

Posts: 19
Location: Guangzhou,China
Hi,can you change the MathJax system to support
$,and   for latex ? I think it's more better than tex and tex2 ### Re: Using LaTeX on Integrals and Series Sat Jun 22, 2013 5:19 am Shobhit Site Admin Posts: 852 Location: Jaipur, India pxchg wrote: Hi,can you change the MathJax system to support \[ ,and   for latex ? I think it's more better than tex and tex2 Unfortunately, prophpbb system does not allow to use javascript. The only way to use is to run it through bbcode. We have to keep using tex and tex2. It is the only way. ### Re: Using LaTeX on Integrals and Series Fri Jul 26, 2013 7:42 am Posts: 30 Location: St. Augustine, FL., USA's oldest city Shobhit wrote: pxchg wrote: Hi,can you change the MathJax system to support \[ ,and   for latex ? I think it's more better than tex and tex2 Unfortunately, prophpbb system does not allow to use javascript. The only way to use is to run it through bbcode. We have to keep using tex and tex2. It is the only way. With an edit of your header files to include some HTML code, you can get the  and  and \[$ delimiters to work.

Let me know, and I can PM you the instructions on how to accomplish this.
Living in the pools, They soon forget about the sea...— Rush, "Natural Science" (1980)

### Re: Using LaTeX on Integrals and Series

Fri Jul 26, 2013 8:11 am

Posts: 852
Location: Jaipur, India

MarkFL wrote:
With an edit of your header files to include some HTML code, you can get the $and$\$ and  delimiters to work.

Let me know, and I can PM you the instructions on how to accomplish this.

Thanks Mark but my host does not allow me to edit the header file. I can edit the CSS file only.

Next