# What is the most suitable function for a heart? [duplicate]

This question already has an answer here:

I have seen some codes to plot heart on matlab, e.g.

How can I prove/find from the theory how to plot a perfect heart?

-

## marked as duplicate by Andrew D. Hwang, Antonio Vargas, Mathmo123, Bookend, AlexRAug 19 '14 at 14:42

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Is there any theory of "heart perfectness"? Because I believe that is still subjective matter of taste. – zaarcis Feb 14 '13 at 19:33
Heart perfectness is a subject that can beat to death. – copper.hat Feb 14 '13 at 19:38
MathWorld has a few more: heart curve, heart surface. Unfortunately for you, none of them are perfect (whatever that means). – Rahul Feb 14 '13 at 19:41

## 3 Answers

First, a "perfect" heart should look something like this. I mean that's what I've been told anyway. I haven't really seen a (human) heart myself. Second, how much "complexity" or "simplicity" are you looking for in the equations? No matter what (digital) representation you give (any picture of a heart for example), it can easily be parametrized and represented by scores of equations. An example, give me any curve in 2D and I can split the curve up into little sections, do fourier analysis on each section, parametrize them and combine them together using step functions and then just plot them which is exactly what Wolfram people did here with Cupid. The equations fill six pages but hey it is a pretty good picture of cupid, no!

;-) So the smarty pants answer to your question is you give me a 2D/3D picture of whatever you think is a perfect heart and I will give you the equations describing it.

There is also this in 2D and this in 3D which is probably what you meant.

-

Well I think a perfekt heart is one which beats, and your question has no correct answer. A real heart doesn't look like those plotted ones and anyway I like them in 2d not in 3d.

-
And without any cholesterol clogging up the arteries...according to my doctor anyway ;-) – Fixed Point Mar 14 '13 at 11:10

For a 2-dimensional curve, try Paul Ma's Heart Equation $$(y - a|x|^b)^2 + (cx)^2 = d$$ Where   a b c d   are parameters that you can set.

In my light-hearted blog on heart curves ==>
http://onemanadreaming.blogspot.com.au/2014/08/mathematical-equation-of-love-heart.html
There are some sample values for  a b c d.  You can try out other values, then choose the most perfect heart curve that suits your fancy.

Would love to see you post here the best set of values you have picked.   :-)

-