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

Using LaTeX on Integrals and Series

Chat about anything here.

Moderator: galactus


Post Thu May 09, 2013 11:01 am
Shobhit Site Admin
Site Admin

Posts: 850
Location: Jaipur, India

Using LaTeX on Integrals and Series is easy.
  • Enclose your LaTeX code between [tex] and [/tex] 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. :ugeek:

Post 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
.

Post Tue May 28, 2013 8:01 am
sos440 User avatar
Integration Guru
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!

Post Tue May 28, 2013 8:36 am
Shobhit Site Admin
Site Admin

Posts: 850
Location: Jaipur, India

Thank you for reporting this problem to me sos440 :) !

I changed the latex rendering system to MathJax.

Post Tue May 28, 2013 8:57 am
Shobhit Site Admin
Site Admin

Posts: 850
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. :|

Post Tue May 28, 2013 9:02 am
sos440 User avatar
Integration Guru
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!

Post 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 :lol:

Post Sat Jun 22, 2013 5:19 am
Shobhit Site Admin
Site Admin

Posts: 850
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 :lol:


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.

Post 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 :lol:


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. :mrgreen:
Living in the pools, They soon forget about the sea...— Rush, "Natural Science" (1980)

Post Fri Jul 26, 2013 8:11 am
Shobhit Site Admin
Site Admin

Posts: 850
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. :mrgreen:


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

Next

Return to General Board

cron