# Math notation

**URL:** <https://discourse.mcneel.com/t/math-notation/51681>\
**Category:** Grasshopper\
**Created:** [December 15, 2017, 9:57pm UTC](https://discourse.mcneel.com/t/math-notation/51681 "2017-12-15T21:57:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![DavidRutten](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/davidrutten/32/755688_2.png) [@DavidRutten](https://discourse.mcneel.com/u/DavidRutten)\
**Post date:** [December 15, 2017, 9:57pm UTC](https://discourse.mcneel.com/t/math-notation/51681/1 "2017-12-15T21:57:37Z")

</div>

Just an informative message. We have enabled \LaTeX formatting for mathematical notation on discourse. Encase valid latex math inside dollar symbols and you can create fractions, super- and subscripts, roots, and a lot more:

For example, this notation:

```auto
$\frac{(12+144+20)+(3 \cdot \sqrt{4})}{7} + (5 \cdot 11)=9^2+0$

```

Yields:

\frac{(12+144+20)+(3 \cdot \sqrt{4})}{7} + (5 \cdot 11)=9^2+0

---

<div class="post-metadata">

**Author:** ![anon55473861](https://avatars.discourse-cdn.com/v4/letter/a/34f0e0/32.png) [@anon55473861](https://discourse.mcneel.com/u/anon55473861)\
**Post date:** [December 15, 2017, 10:09pm UTC](https://discourse.mcneel.com/t/math-notation/51681/2 "2017-12-15T22:09:31Z")

</div>

Latex \ is^{sexy}

---

<div class="post-metadata">

**Author:** ![DavidRutten](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/davidrutten/32/755688_2.png) [@DavidRutten](https://discourse.mcneel.com/u/DavidRutten)\
**Post date:** [February 1, 2018, 3:49pm UTC](https://discourse.mcneel.com/t/math-notation/51681/6 "2018-02-01T15:49:17Z")

</div>

Yep.

\lim\_{x\to 0}{\frac{e^x-1}{2x}} \overset{\left[\frac{1+\sqrt{5}}{2}\right]}{\underset{\mathrm{H}}{=}} \lim\_{x\to 0}{\frac{e^x}2}=\underbrace{ \{\frac{1}{4} + \frac{1}{8} + \frac{1}{16} + \frac{1}{32} + ... \}}\_\text{an infinite sum}

---

<div class="post-metadata">

**Author:** ![anon55473861](https://avatars.discourse-cdn.com/v4/letter/a/34f0e0/32.png) [@anon55473861](https://discourse.mcneel.com/u/anon55473861)\
**Post date:** [February 2, 2018, 1:21pm UTC](https://discourse.mcneel.com/t/math-notation/51681/7 "2018-02-02T13:21:31Z")

</div>

i am not sure what limits you are posting here can you describe that?  
copying the latex expression from here is a bit fiddly, it seems to work when i activate plain source as the math renderer, but i have to switch back… not very comfortable.

\left[\begin{array}{c} r\_{0} \\ \theta \\ z \end{array} \right]\; =\; \left[\begin{array}{c} 3+\sin t+\cos u \\ 2t \\ \sin u+2\cos t \end{array} \right],\; t=0…2\pi ,\; u=0…2\pi

toroid

 ![22](https://global.discourse-cdn.com/mcneel/original/3X/9/6/96335683960211c5620d725e0ce5e373bba05389.png)

---

<div class="post-metadata">

**Author:** ![DavidRutten](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/davidrutten/32/755688_2.png) [@DavidRutten](https://discourse.mcneel.com/u/DavidRutten)\
**Post date:** [February 2, 2018, 2:51pm UTC](https://discourse.mcneel.com/t/math-notation/51681/8 "2018-02-02T14:51:59Z")

</div>

> [@RichardZ](#):
>
> i am not sure what limits you are posting here can you describe that?

I was just posting nonsense that looked interesting\*, because my original example was so simplistic. It was also a limerick, but nobody noticed that:

_A dozen, a gross and a score,_  
_plus three times the square root of four,_  
_divided by seven,_  
_plus five times eleven,_  
_equals nine squared and not a bit more._

\* I mean if you forget about the gunk around the equals symbol it’s all true, but not very interesting or succinct. The limit of x going to zero of those two function is \frac{1}{2}.

---

<div class="post-metadata">

**Author:** ![vikthor](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/vikthor/32/436812_2.png) [@vikthor](https://discourse.mcneel.com/u/vikthor)\
**Post date:** [May 9, 2020, 8:04pm UTC](https://discourse.mcneel.com/t/math-notation/51681/10 "2020-05-09T20:04:39Z")

</div>

cool  
\begin{align} \oint\_{|z|=2}f(z)\,dz&=\oint\_{|z|=R}f(z)\,dz\\\\ &=\oint\_{|z|=R} z^2\sqrt{1-\frac{1}{z^3}}\,dz\\\\ &=\oint\_{|z|=R} z^2\left(1-\frac{1}{2z^3}+O\left(\frac{1}{z^6}\right)\right)\,dz\\\\ &=\int\_0^{2\pi}R^2e^{i2\phi}\left(1-\frac{1}{2R^3e^{i3\phi}}+O\left(\frac{1}{R^6}\right)\right)\,iRe^{i\phi}\,d\phi\\\\ &=-i\pi+O\left(\frac1{R^3}\right)\\\\ &\to -i\pi \,\,\text{as}\,\,R\to \infty \;\;\;\;\;\; \_\text{I really like this David} \end{align}

[I always wondered how to do this?](https://discourse.mcneel.com/t/need-some-help-with-polar-array-geometry/54389/5)
