# LOVE +MATH = can you read this formula?

i don't remember where exactly, i found in internet this image:

i tried to replicate the formula with python and i tried this:

b = 0.9
y = 2*b + sqrt(x*x) + sqrt((x+b)*(3*b-x))
y1 = 2*b + sqrt(x*x) - sqrt((x+b)*(3*b-x))
plot(x,y, x, y1)


where sqrt is the square root!

but my curve is not very similar to the picture.. mayebe i'm not able to read it because of it is handwritten. some help?

• I'm fairly certain that it's not $\sqrt{x^2}$... the root and the exponent are probably different so as to give the desired "cusp". Commented Oct 18, 2011 at 14:11
• The first radical appears to not be a square root, but an $n$th root, which is pretty hard to make out. It'd be silly to use $\sqrt{x^2}$, which is $|x|$, since there's probably a nice function for that in Python. Try experimenting with some other roots, maybe $x^{2/3}$ Commented Oct 18, 2011 at 14:12
• A related thread. Commented Oct 18, 2011 at 14:16
• Perhaps you found the image here: mathematische-basteleien.de/heart.htm (That's what came up when I used Google image search.) Commented Oct 18, 2011 at 15:42
• @Jeroen "[your text](the http address)" with the [ ] ( ) included Commented Oct 18, 2011 at 21:20

$\sqrt{x^2}$ is the same thing as $|x|$, the absolute value of $x$, whose graph has a sharp corner. When I plot exactly the first equation you wrote above, what I get is quite similar to the part of the graph above the two left and right vertical tangents. But it doesn't have a vertical tangent at the cusp in the middle, although it does have a sharp corner there.