Tuesday, January 31, 2012

Plot Batman Logo in Google Search and Wolfram Alpha

While researching for the article "Use Google Search to Plot Heart Shaped Graphs", I came to know an interesting equation called the "Batman Curve" (sometimes referred as "Batman Equation" or "Batman Function"). According to Wolfram MathWorld, "The Batman Curve is a piecewise curve in the shape of the logo of the Batman superhero originally posted on reddit.com on Jul. 28, 2011"

The Batman Curve

If you want to check this amazing function yourself or wish to know more about it, go to www.wolframalpha.com, type batman curve and press [enter] :

Batman Curve in Wolfram Alpha
Last year when Google added graphing functionality on Google Search, many people asked, "Is it possible to plot Batman Equation in Google Search too?". Many pundits argued that it is not as the graphing tool is not advanced enough to handle such a heavy duty equation.

Bad news for the pundits and good news for the rest of us : A guy named Roland Mieslinger has been able to figure out how to plot this seemingly impossible equation in Google Search.

Type the following functions in Google Search bar :

2 sqrt(-abs(abs(x)-1)*abs(3-abs(x))/((abs(x)-1)*(3-abs(x))))(1+abs(abs(x)-3)/(abs(x)-3))sqrt(1-(x/7)^2)+(5+0.97(abs(x-.5)+abs(x+.5))-3(abs(x-.75)+abs(x+.75)))(1+abs(1-abs(x))/(1-abs(x))),-3sqrt(1-(x/7)^2)sqrt(abs(abs(x)-4)/(abs(x)-4)),abs(x/2)-0.0913722(x^2)-3+sqrt(1-(abs(abs(x)-2)-1)^2),(2.71052+(1.5-.5abs(x))-1.35526sqrt(4-(abs(x)-1)^2))sqrt(abs(abs(x)-1)/(abs(x)-1))+0.9

Batman Logo in Google Search

Have fun sharing this trick with your friends :)

Also check :


  1. amazing function, for increasing interest of peoples in maths......will try to make even more shapes.

  2. I too have developed an equation, what it lacks in grace, it makes up for in insight:

    Batman = Zero Girls

    1. Looks like Mr "Ketchup Chips" is back with a vengeance ;)

  3. I thought those cupcakes were unbelievable- I mean seriously, I'd kill Jesus for one of those


Your feedback is always appreciated. We will try to reply to your queries as soon as time allows.