Math Websites

For the discussion of math. Duh.

Moderators: gmalivuk, Moderators General, Prelates

masher
Posts: 821
Joined: Tue Oct 23, 2007 11:07 pm UTC
Location: Melbourne, Australia

Re: mathurl - a LaTeX thingy

Postby masher » Mon Apr 28, 2008 4:56 am UTC

antonfire wrote:Also, for embedding, these fora actually have the "imath" and "math" tags now.

Code: Select all

[math]\zeta(s) = \sum_{n=1}^{\infty} \frac{1}{n^s}[/math]
[math]\zeta(s) = \sum_{n=1}^{\infty} \frac{1}{n^s}[/math]


that don't work for me on subsilver...

User avatar
antonfire
Posts: 1772
Joined: Thu Apr 05, 2007 7:31 pm UTC

Re: mathurl - a LaTeX thingy

Postby antonfire » Mon Apr 28, 2008 5:25 am UTC

Yeah, that's actually what pushed me to switch over to prosilver. I like my math pretty.
Jerry Bona wrote:The Axiom of Choice is obviously true; the Well Ordering Principle is obviously false; and who can tell about Zorn's Lemma?

User avatar
Torn Apart By Dingos
Posts: 817
Joined: Thu Aug 03, 2006 2:27 am UTC

Re: mathurl - a LaTeX thingy

Postby Torn Apart By Dingos » Mon Apr 28, 2008 6:18 am UTC

Thanks, this is great! Image

User avatar
antonfire
Posts: 1772
Joined: Thu Apr 05, 2007 7:31 pm UTC

Re: mathurl - a LaTeX thingy

Postby antonfire » Mon Apr 28, 2008 7:17 am UTC

There's also a very neat little hack that embeds image data directly in the HTML using the "data:" URI here. This doesn't work in IE (people using IE will see a broken image, I guess), but it does work on these fora, using an "img" tag (I had to add two slashes to the URI). It looks ugly in the code, but no outside hosting required, so even if that service ever goes down, your math stays up.

Image


The way the code is right now, I presume it makes images with a white background, which is kind of annoying. It's probably not terribly hard to modify it to make it use an alpha layer, though.
Jerry Bona wrote:The Axiom of Choice is obviously true; the Well Ordering Principle is obviously false; and who can tell about Zorn's Lemma?

User avatar
the tree
Posts: 801
Joined: Mon Apr 02, 2007 6:23 pm UTC
Location: Behind you

Re: mathurl - a LaTeX thingy

Postby the tree » Mon Apr 28, 2008 8:25 am UTC

jtin wrote:I got tired of trying to type math to peole in IM, and made http://mathurl.com/.
You are amazing. Have some ice cream.
Image

User avatar
antonfire
Posts: 1772
Joined: Thu Apr 05, 2007 7:31 pm UTC

Re: mathurl - a LaTeX thingy

Postby antonfire » Mon Apr 28, 2008 11:33 am UTC

Okay, you only need to add '-bg Transparent' to the dvipng command in the Ruby script to get it to have a transparent background. I think. I haven't tested it. The antialiasing is messed up for me but I think that's just because I have an older version of dvipng (version 1.5), and it's hardly noticeable on a light background anyway. (By the way, the antialiasing is messed up on mathurl.com as well.)

Anyway, I wrote up a bash script based on the idea above which will turn latex code into the bbcode with an image. This requires latex, dvipng, and openssl.

Code: Select all

#!/bin/bash

latex -halt-on-error -output-directory /tmp \
   '\documentclass[12pt]{article}' \
   '\pagestyle{empty}' \
   '\begin{document}' \
   '\[' \
   "$1" \
   '\]' \
   '\end{document}' > /dev/null

dvipng -gamma 2 -z 9 -T tight -bg Transparent -o /tmp/article.png /tmp/article.dvi > /dev/null

echo -n '[img]'
echo -n 'data://image/png;base64,'
openssl enc -A -a < /tmp/article.png
echo -n '[/img]'

rm -f /tmp/article.aux /tmp/article.log /tmp/article.dvi /tmp/article.png


Code: Select all

 > latex2bbcode '0=e^{i\pi}+1'
[img]data://image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEwAAAARCAMAAABAWbowAAAANlBMVEX///8ZGRkJCQkxMTEkJCSQkJAAAAAEBASpqakBAQEQEBDExMRkZGTh4eFRUVF5eXlAQED///8pVmCYAAAAAXRSTlMAQObYZgAAANRJREFUOMvNkt0OwiAMhTuhUn4KvP/TWsAoy8bA6IW9WAhrvp4eDsBieYbflfLwl8Upizgnla8bc0pxZkhgB8kHGKI4bJUVxF03kxZiaQXd32F3jKEiLMnHzOy9MYLPsBu6k4nll7+XowvjTCCKCRt60ATmGoYNNjRDyTKyoj+RPoH5/Kqn1CgusRq83KfKrM5ZHd+6znPd0AajBovnLLRXmToog3txw1C9ofea1LWsw3QSr8woi7UlLMNYMygah5VrNCYwzJtt9g276yxaW/PbOkTvAez4CDOxjqqXAAAAAElFTkSuQmCC[/img]

Image

It's fairly easy to change it to make it spit out html, or just the URI, or whatever.


Obviously, this isn't appropriate for IM conversations (the URIs are huge), but it might be better for forums without TeX support, since all the data is there, rather than on some other server.
Jerry Bona wrote:The Axiom of Choice is obviously true; the Well Ordering Principle is obviously false; and who can tell about Zorn's Lemma?

Fafnir43
Posts: 98
Joined: Mon Apr 14, 2008 11:11 pm UTC

Re: mathurl - a LaTeX thingy

Postby Fafnir43 » Mon Apr 28, 2008 11:37 am UTC

Holy awesome, Batman! Posting about it in the Maths Sites thread now.
This post brought to you by the language C and the number F.

Fafnir43
Posts: 98
Joined: Mon Apr 14, 2008 11:11 pm UTC

Re: Math Websites

Postby Fafnir43 » Mon Apr 28, 2008 11:39 am UTC

For when you need to use LaTeX in chat conversation or email with someone who doesn't speak the language: http://mathurl.com/. Enter in the LaTeX, get a tinyurl-style address with the output. Brilliant!
This post brought to you by the language C and the number F.

User avatar
Torn Apart By Dingos
Posts: 817
Joined: Thu Aug 03, 2006 2:27 am UTC

Re: mathurl - a LaTeX thingy

Postby Torn Apart By Dingos » Mon Apr 28, 2008 12:31 pm UTC

There's an online data:url script here: http://software.hixie.ch/utilities/cgi/data/data
I tried it out and it does transparency too!

User avatar
gmalivuk
GNU Terry Pratchett
Posts: 25817
Joined: Wed Feb 28, 2007 6:02 pm UTC
Location: Here and There
Contact:

Re: mathurl - a LaTeX thingy

Postby gmalivuk » Mon Apr 28, 2008 3:36 pm UTC

masher wrote:
antonfire wrote:Also, for embedding, these fora actually have the "imath" and "math" tags now.

Code: Select all

[math]\zeta(s) = \sum_{n=1}^{\infty} \frac{1}{n^s}[/math]
[math]\zeta(s) = \sum_{n=1}^{\infty} \frac{1}{n^s}[/math]


that don't work for me on subsilver...

Because subsilver is no longer really supported, this and subsequent additions are probably not going to work right with it. You should switch to prosilver or prosilver_left if you really can't stand having the user information on the right side of your posts.

Because while all the resources just mentioned, the math and imath tags are still about the most convenient things for forum users to put into their posts, even if they're slightly less convenient for everyone else to read.
Unless stated otherwise, I do not care whether a statement, by itself, constitutes a persuasive political argument. I care whether it's true.
---
If this post has math that doesn't work for you, use TeX the World for Firefox or Chrome

(he/him/his)

jtin
Posts: 9
Joined: Sun Feb 04, 2007 3:30 am UTC

Re: mathurl - a LaTeX thingy

Postby jtin » Mon Apr 28, 2008 4:51 pm UTC

antonfire wrote:There's also a very neat little hack that embeds image data directly in the HTML using the "data:" URI here. This doesn't work in IE (people using IE will see a broken image, I guess), but it does work on these fora, using an "img" tag (I had to add two slashes to the URI). It looks ugly in the code, but no outside hosting required, so even if that service ever goes down, your math stays up.


That's a neat hack!

Thanks antonfire. Will see if I can add this, too...

EDIT: equations on the main page are now rendered with src="data:..." unless user-agent matches MSIE. So you should be able to copy image location to use this method of embedding.

User avatar
errrr
Posts: 31
Joined: Tue Dec 04, 2007 9:18 pm UTC
Location: Swimming in a fish bowl, year after year

Re: mathurl - a LaTeX thingy

Postby errrr » Wed Apr 30, 2008 3:13 pm UTC

jtin wrote:(Unfortunately LaTeX doesn't contain a symbol for "girl"...)Image


http://mathurl.com/?5ptk2v
*smiles*


There's also \Womanface in marvosym, but apparently you don't have that package installed.
"The Internet being what it is, absolutely anything might show up in the collage including -- quite possibly -- pornography, or even nudity." (xscreensaver/webcollage docs)

User avatar
existential_elevator
The awesomest one!
Posts: 3328
Joined: Fri Jul 27, 2007 10:31 am UTC
Location: The Ocean of Regret
Contact:

Re: Math Websites

Postby existential_elevator » Thu May 29, 2008 1:07 pm UTC

http://futuramamath.com/ - does what it says on the tin
http://music.princeton.edu/~dmitri/ - something slightly off the wall linking music and maths

User avatar
Alpha Omicron
Posts: 2765
Joined: Thu May 10, 2007 1:07 pm UTC

Re: Math Websites

Postby Alpha Omicron » Sat Jun 28, 2008 9:03 pm UTC

Is there anyway to get newlines on mathurl.com? It seems to parse out \\s for me.
Here is a link to a page which leverages aggregation of my tweetbook social blogomedia.

User avatar
Torn Apart By Dingos
Posts: 817
Joined: Thu Aug 03, 2006 2:27 am UTC

Re: Math Websites

Postby Torn Apart By Dingos » Sat Jun 28, 2008 10:05 pm UTC

Alpha Omicron wrote:Is there anyway to get newlines on mathurl.com? It seems to parse out \\s for me.
You're probably in math mode, where you can't use newlines.

Image
http://mathurl.com/?5cpll8

User avatar
HenryS
Posts: 199
Joined: Mon Nov 27, 2006 9:16 am UTC
Location: Melbourne
Contact:

Re: Math Websites

Postby HenryS » Thu Jul 31, 2008 5:06 pm UTC

Self links, but seem like the kinds of things people here might be interested in:


Note To Self
Posts: 6
Joined: Sun Oct 05, 2008 10:38 am UTC

Re: Math Websites

Postby Note To Self » Sun Oct 05, 2008 10:43 am UTC

My Maths teacher started this one after leaving for Austrailia shortly after our GCSE's. It's a pretty good site for GCSE and A-Level UK qualifications, though I don't think it will help much more beyond that.

http://www.mrbartonmaths.com
Wanted: Schrödingers Cat - Dead or and Alive

doishmere
Posts: 3
Joined: Fri Oct 24, 2008 3:24 pm UTC

Re: Math Websites

Postby doishmere » Sun Oct 26, 2008 1:42 am UTC

http://www.projecteuler.net

Its an ever growing list of mathematical programming challenges. The problems start off easy, such as calculating the sum of the multiples of 3 and 5 through 1000, then get increasingly difficult, such as least-path-sum problems and solving diophantine equations.

This isn't a strictly mathematical website, but its a very good exercise for those who enjoy math and know how to program, or for those who enjoy programing and know math. You'll certainly learn quite a bit about both, but I wouldn't necessarily suggest it to those who are unfamiliar with programming.

This I also find it to be a very good tool when trying to learn a new language; since the first few problems are easy to understand, you can concentrate on how to properly program the problems. Once you get familiar with the language, you're prepared to try to tackle some of the harder problems.

User avatar
thornahawk
Posts: 64
Joined: Wed Oct 29, 2008 3:56 am UTC
Location: somewhere out in the SEA
Contact:

Re: Math Websites

Postby thornahawk » Wed Oct 29, 2008 4:44 pm UTC

Seein' that nobody's posted these yet (from a cursory read, that is; never checked hyperlinks):

http://numbers.computation.free.fr/Cons ... tants.html

http://oldweb.cecm.sfu.ca/projects/ISC/ISCmain.html

http://www.specialfunctions.com/

and last but not the least

http://fooplot.com/

:D

~ Werner
John Dolan wrote:Cigarettes are insanely expensive and turn lots of poor people into cringing beggars.


E-mail!

User avatar
NathanielJ
Posts: 882
Joined: Sun Jan 13, 2008 9:04 pm UTC

Re: Math Websites

Postby NathanielJ » Tue Jan 27, 2009 4:33 am UTC

For people who like Conway's Game of Life, I put together http://www.conwaylife.com. In particular, the LifeWiki could use some more editors if you know a thing or two about the game ;)
Homepage: http://www.njohnston.ca
Conway's Game of Life: http://www.conwaylife.com

User avatar
Alpha Omicron
Posts: 2765
Joined: Thu May 10, 2007 1:07 pm UTC

Re: Math Websites

Postby Alpha Omicron » Wed Jan 28, 2009 6:04 pm UTC

NathanielJ wrote:For people who like Conway's Game of Life, I put together http://www.conwaylife.com. In particular, the LifeWiki could use some more editors if you know a thing or two about the game ;)

Wow, awesome! I'll stick to Life32 and MCell for my application needs, but that Wiki looks really cool.
Here is a link to a page which leverages aggregation of my tweetbook social blogomedia.

User avatar
bobsbarricades
Posts: 42
Joined: Mon Sep 22, 2008 2:01 am UTC

Re: Math Websites

Postby bobsbarricades » Thu Feb 12, 2009 2:15 pm UTC

What about people that went to college for music and didn't take any math classes. Someone that always had an easy go at math class in school, but doesn't remember a lick of it after 10 years. How would someone like that start learning again? I'm thinking they should start at Algebra and work their way up, but what's the best way to do that? Are there old books on-line (this certain individual lives in Korea and doesn't have access to used book stores)?

Thanks!

User avatar
Yakk
Poster with most posts but no title.
Posts: 11049
Joined: Sat Jan 27, 2007 7:27 pm UTC
Location: E pur si muove

Re: Math Websites

Postby Yakk » Sat Feb 28, 2009 12:10 am UTC

One of the painful things about our time is that those who feel certainty are stupid, and those with any imagination and understanding are filled with doubt and indecision - BR

Last edited by JHVH on Fri Oct 23, 4004 BCE 6:17 pm, edited 6 times in total.


User avatar
jaimeastorga2000
Posts: 11
Joined: Fri Oct 26, 2007 3:21 am UTC

Re: Math Websites

Postby jaimeastorga2000 » Mon Mar 23, 2009 3:02 am UTC

Here are a few good websites that didn't look like they were posted yet. They are mostly low level stuff, but could be useful to someone who is just starting out.

Trig Without Tears
Allow me to quote a review of this site I have posted elsewhere on the web:
Trig without tears is an awesome site in which some guy explains trigonometry, from the basic functions of sine and cosine to the double and half angle identities. The interesting part is that the author, who believes it is wrong to use memorization as a substitute for thinking and disagrees with the memorization-based approach to identities regularly found in school, instead teaches you how to develop the identities in a way that is easy to follow and remember. I wish I had read this when I was taking pre-calculus in high school.

Karl's Calculus Tutor
Calculus Notes, kinda like the Pauls Online Notes website.

Tutorials For The Calculus Phobe
Calculus Tutorials done in Flash. Well made.
"Screw the rules, I have money!" ~ Seto Kaiba, Yu-Gi-Oh: The Abridged Series

Kippen
Posts: 1
Joined: Tue Jun 30, 2009 1:22 am UTC

Re: Math Websites

Postby Kippen » Tue Jun 30, 2009 1:45 am UTC

For whoever has used the wolfram integrator:
http://www23.wolframalpha.com/
It integrates, shows steps, and does so much more. And, it's free!

Try putting in things like:
int 2x^2 dx
int sin(x^2) dx
int x^y^z dz
sum sum from 2 to infinity 1/n!
FT x^2
23 in base 12

duncanMKZ
Posts: 3
Joined: Wed Jul 15, 2009 10:27 pm UTC

Re: Math Websites

Postby duncanMKZ » Wed Jul 15, 2009 10:34 pm UTC

On a lighter note, I've just started a comedy website called The Daily Week, which has the odd math/science article. Here's the first few paragraphs of a recent example. Hope you enjoy it.


Mathematicians celebrate baffling new proof

Mathematicans around the world were celebrating today, after the announcement that Glimpi's Conjecture had been proved by Edward Chen and Elias Gruenwald at MIT. The 29-year-old Chen said, "We are delighted. Glimpi's Conjecture is literally the Holy Grail of numeric set lassitude mathematics." Gruenwald laughed as he added "And of non-polychromic mathematics in general!"

Reaction from mathematicians worldwide was swift. "Whatever Glimpi's Conjecture is, it sounds like these young men have solved it," said Roger Plapper, from Britain's Royal Society of Sums. "This breakthrough is tremendously, tremendously exciting. We are living in historic times." ...

Full article at: http://dailyweek.com/stories/20090710_math/math.html

duncanMKZ
Posts: 3
Joined: Wed Jul 15, 2009 10:27 pm UTC

Re: Math Websites

Postby duncanMKZ » Wed Jul 15, 2009 10:41 pm UTC

NathanielJ wrote:For people who like Conway's Game of Life, I put together http://www.conwaylife.com. In particular, the LifeWiki could use some more editors if you know a thing or two about the game ;)


Fantastic! Thanks for this. I love Conway's Life!

Duncan

osj1961
Posts: 7
Joined: Fri Aug 14, 2009 4:20 pm UTC

Re: Math Websites

Postby osj1961 » Sat Aug 22, 2009 2:46 am UTC

A site I really love is http://www.cut-the-knot.org/content.shtml. It covers a lot of nice math and
has interactive applets that let you play with the ideas.

Another great site for when those inevitable historical questions come up is
http://www-groups.dcs.st-and.ac.uk/~history/ the MacTutor History of Mathematics archive.
-J

User avatar
Outchanter
Posts: 668
Joined: Mon Dec 17, 2007 8:40 am UTC
Location: South African in Americaland

Re: Math Websites

Postby Outchanter » Sat Oct 17, 2009 8:43 pm UTC

And now, in the tradition of Stack Overflow:

http://mathoverflow.net/

...the Internet is awesome.
~ You will eat a tasty fortune cookie. Oh look, it came true already! ~

Tyr_oathkeeper
Posts: 30
Joined: Tue Mar 18, 2008 4:03 am UTC

Re: Math Websites

Postby Tyr_oathkeeper » Wed Nov 25, 2009 10:22 pm UTC

http://betterexplained.com
Very good, intuitive explanations.

Random832
Posts: 2525
Joined: Wed Oct 10, 2007 4:38 pm UTC

Re: Math Websites

Postby Random832 » Thu Jan 07, 2010 7:46 pm UTC

Code: Select all

javascript:var s=prompt("Paste the URL").split('=');s[1]=escape(unescape(s[1]));prompt("Here you go",s.join('='));void(0)

A bookmarklet to convert Wolfram Alpha urls into a format that will work on the forum, since []{} need to be escaped to work with bbcode.

(It's a more general problem, but wolfram alpha is the only site I've seen people run into with this, so I posted here - I also only set it up to handle a single url parameter [as with wolfram alpha urls])

User avatar
BlackSails
Posts: 5314
Joined: Thu Dec 20, 2007 5:48 am UTC

Re: Math Websites

Postby BlackSails » Tue Jan 19, 2010 9:32 pm UTC

http://calculuspowerup.com/

This has a whole bunch of stuff, including pdf textbooks (old ones)

User avatar
MathChief
Posts: 8
Joined: Mon Sep 28, 2009 3:18 pm UTC

Re: Math Websites

Postby MathChief » Wed Feb 17, 2010 9:29 pm UTC

A very nice site, math riddles, some are algorithm problems

Using your Head is Permitted
http://brand.site.co.il/riddles/usingyourhead.html
I am a Math/Physics/Astrodynamics/Programming geek
I am currently working on Navier-Stokes and Maxwell equations
My Gamertag for XBOX LIVE and PSN same as my username

tweetie
Posts: 5
Joined: Thu Feb 18, 2010 4:10 pm UTC

Re: Math Websites

Postby tweetie » Thu Feb 18, 2010 4:18 pm UTC

A very nice site with a few math games (sudoku, kakuro ,jigsawdoku.. ) and other math puzzle releated games: http://mypuzzle.org/

Oolong
Posts: 2
Joined: Thu Apr 01, 2010 3:01 pm UTC

Re: Math Websites

Postby Oolong » Thu Apr 01, 2010 3:04 pm UTC

I've got a page about trigonometry at http://oolong.co.uk/trig.htm

I'm experimenting with expandable sections (to include some *slightly* more advanced stuff without scaring off newbies) and an interactive diagram (I love interactive diagrams, but I'm still not sure about including Java or non-IE JavaScript without warning, so by default this diagram is still just an image)... so feedback on those bits is especially welcome.

Blarnay
Posts: 7
Joined: Sun Jan 04, 2009 11:17 pm UTC

Re: Math Websites

Postby Blarnay » Wed Apr 21, 2010 11:24 pm UTC

Khan Academy

Salman Khan (Sal) founded the Khan Academy with the goal of using technology to educate the world
Sal received his MBA from Harvard Business School. He also holds a Masters in electrical engineering and computer science, a BS in electrical engineering and computer science, and a BS in mathematics from the Massachusetts Institute of Technology.

http://www.khanacademy.org/

He's got youtube videos on everything from basic arithmetic to calculus and linear algebra. This man is my hero.

wigglyworm91
Posts: 51
Joined: Tue Feb 24, 2009 2:44 am UTC

Re: Math Websites

Postby wigglyworm91 » Thu May 27, 2010 7:11 pm UTC

Here's ( http://www.mathoverflow.com/ ) a really useful question-and-answer site for concrete, answerable questions. Used a lot -- the latest question was asked 2 minutes ago and it already has 2 answers.

It's actually part of a family of sites:
http://www.stackoverflow.com
http://www.serverfault.com
http://www.superuser.com
http://www.doctype.com
Need more help or clarification? Feel free to PM me.
Fractal_Tangent wrote:(speaking of the xkcd fora)
I have never seen anyone on any website get a virtual beating for lack of proper grammar and capitalization.
I like it here.

aleph_one
Posts: 140
Joined: Sun Oct 28, 2007 4:27 pm UTC
Location: Cambridge, MA

Re: Math Websites

Postby aleph_one » Tue Aug 10, 2010 4:09 am UTC

I recently found The Unapologetic Mathematician, an expository math blog by John Armstrong. It has readable, well-explained, and decently comprehensive expositions on pretty much everything (linear algbebra, category theory, topology, etc...) My only complaint is that the blog format makes it hard to follow a topic, since sometimes a post links to one in another topic for background, which links to another one, and so on, and the reverse order (later things come first) is annoying - does anyone know a convenient way to read it?

User avatar
rrwoods
Posts: 1509
Joined: Mon Sep 24, 2007 5:57 pm UTC
Location: US

the khan academy

Postby rrwoods » Tue Sep 07, 2010 7:16 pm UTC

I had reason to post about this in F/RT and thought I'd give it a mention here.

The Khan Academy has an absolutely enormous amount of information on lots of mathematical topics and even some non-mathy ones. Salman Khan is amazing at explaining things, and he's got videos on basic arithmetic, algebra, geometry, linear algebra, calculus, differential equations... chemistry... the french revolution (lolwut)...

Anyone have any success stories or other thoughts to share?
31/M/taken/US
age/gender/interest/country

Belial wrote:The sex card is tournament legal. And I am tapping it for, like, six mana.


Return to “Mathematics”

Who is online

Users browsing this forum: No registered users and 12 guests