Sunday, July 22, 2012

The Love Formula : How to Draw a Heart Shaped Curvy Graph






Ever wanted to know how to draw a heart shaped graph?
Is that real? well yes.
There are a number of mathematical curves that produced heart shapes, some of which are illustrated below.





The first curve is a rotated cardioid (whose name means "heart-shaped") given by the polar equation
 r(theta)=1-sintheta.
(1)
The second is obtained by taking the y=0 cross section of the heart surface and relabeling the z-coordinates as y, giving the order-6algebraic equation
 (x^2+y^2-1)^3-x^2y^3=0.
(2)
The third curve is given by the parametric equations
x=sintcostln|t|
(3)
y=|t|^(0.3)(cost)^(1/2),
(4)
where t in [-1,1] (H. Dascanio, pers. comm., June 21, 2003). The fourth curve is given by
 x^2+[y-(2(x^2+|x|-6))/(3(x^2+|x|+2))]^2=36
(5)
(P. Kuriscak, pers. comm., Feb. 12, 2006). Each half of this heart curve is a portion of an algebraic curve of order 6. And the fifth curve is the polar curve
 r(theta)=2-2sintheta+sintheta(sqrt(|costheta|))/(sintheta+1.4)
(6)
due to an anonymous source and obtained from the log files of Wolfram|Alpha in early February 2010.





Each half of this heart curve is a portion of an algebraic curve of order 12, so the entire curve is a portion of an algebraic curve of order 24.
A sixth heart curve can be defined parametrically as
x=16sin^3t
(7)
y=13cost-5cos(2t)-2cos(3t)-cos(4t).
(8)
The areas of these hearts are
A_1=3.661972725...
(9)
A_2=3/2pi
(10)
A_3=0.237153845...
(11)
A_4=36pi
(12)
A_5=12.52...
(13)
A_6=180pi,
(14)
where A_5 can be given in closed form as a complicated combination of hypergeometric functionsinverse tangents, and gamma functions.



The Bonne projection is a map projection that maps the surface of a sphere onto a heart-shaped region as illustrated above.


0 comments:

Post a Comment

Copyright © 2015 Live, Learn, Laugh, Love, Life
| Distributed By Gooyaabi Templates