7

Firstly, I am sorry for my poor english since it is only my second language.

During my spare time, I tried to form a hearshaping function.

Here's what I did.

If I drew a ellipse that looks like this,

enter image description here

by making the $x$ values absolute, I can make the positive side to be symmetrical and form a heart-shape.

So, I first drew $x^2 + y^2 = 1$ (a circle)

In order to make it into a ellipse, I time $0.5$ to the $x^2$ and I got an ellipse enter image description here

To make it into an ellipse shown previously, here's what I did:

I put $(x-y)$ into $y$ and $(x+y)$ into $x$ because if you think carefully, if the below part of $x=y$ is symmetrical, the ellipse would form the first image.

enter image description here

So I did get a ellipse as shown at the top, with the equation,

$$x^2 + y^2- \frac{2}{3}\cdot x\cdot y = \frac{2}{3}$$

Now, if I make the $x$ value to be absolute,

$$x^2 + y^2 - \frac{2}{3}\cdot\left|x\right|\cdot y = \frac{2}{3}$$

Theoretically, it should work, but GEOGEBRA , an app I use for drawing graphs, won't get me a heart shaped graph, instead it is keep saying that there is an error.

Can anyone check and show what's wrong??

Nick
  • 6,804