# 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?

-

2
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". – The Chaz 2.0 Oct 18 '11 at 14:11

2
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}$ – platinumtucan Oct 18 '11 at 14:12
– J. M. Oct 18 '11 at 14:16
– Chris Phan Oct 18 '11 at 15:42

1
@Jeroen "[your text](the http address)" with the [ ] ( ) included – belisarius Oct 18 '11 at 21:20
show 4 more comments

## 2 Answers

I did it in Maple...

Vary b to change the picture.

-

ok thanks it is perfect! and can i ask you also some little comment about the kind and analysis of this formula? – nkint Oct 31 '11 at 9:25

$\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.

-
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 8, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9399075508117676, "perplexity_flag": "middle"}