{"id":528,"date":"2020-11-08T14:27:12","date_gmt":"2020-11-08T14:27:12","guid":{"rendered":"https:\/\/samhartburn.co.uk\/sh\/?p=528"},"modified":"2020-11-08T14:27:14","modified_gmt":"2020-11-08T14:27:14","slug":"spin-laugh-and-dance","status":"publish","type":"post","link":"https:\/\/samhartburn.co.uk\/sh\/spin-laugh-and-dance\/","title":{"rendered":"Spin, Laugh and Dance"},"content":{"rendered":"\n<meta name=\"viewport\" content=\"width=device-width,initial-scale=1\">  \n<meta charset=\"utf-8\">\n<script src=\"https:\/\/www.geogebra.org\/apps\/deployggb.js\"><\/script>\n\n\n\n<p>I&#8217;d like to introduce you to the graph of $x=\\sin(f_1t)e^{d_1t}$, $y=\\sin(f_2t)e^{d_2t}$, a curve that spins, laughs and dances.<\/p>\n\n\n\n<!--more-->\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"The Curve that Spins, Laughs and Dances\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/YxiC6XohCzU?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>&#8220;But what is this witchcraft?&#8221; I hear you ask. Well, sit yourself down somewhere comfortable and I&#8217;ll tell you.<\/p>\n\n\n\n<p>$x=\\sin(f_1t)e^{d_1t}$, $y=\\sin(f_2t)e^{d_2t}$ is a system of parametric equations, where $x$ and $y$ are each defined by a function in terms of $t$. The underlying functions look like this, for $f_1=f_2=1, d_1=d_2=0$.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-1 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/xsint-699x1024.png\" alt=\"\" class=\"wp-image-539\" width=\"175\" height=\"256\" srcset=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/xsint-699x1024.png 699w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/xsint-205x300.png 205w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/xsint-768x1125.png 768w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/xsint-1049x1536.png 1049w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/xsint-1398x2048.png 1398w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/xsint.png 1401w\" sizes=\"(max-width: 175px) 100vw, 175px\" \/><figcaption>$f_1=1,d_1=0$<\/figcaption><\/figure><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/ysint-699x1024.png\" alt=\"\" class=\"wp-image-540\" width=\"175\" height=\"256\" srcset=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/ysint-699x1024.png 699w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/ysint-205x300.png 205w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/ysint-768x1125.png 768w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/ysint-1049x1536.png 1049w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/ysint-1398x2048.png 1398w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/ysint.png 1401w\" sizes=\"(max-width: 175px) 100vw, 175px\" \/><figcaption>$f_2=1,d_2=0$<\/figcaption><\/figure><\/div>\n<\/div>\n<\/div>\n\n\n\n<p>They&#8217;re just sine waves! And with these values of the variables the graph is, frankly, boring.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/xy10-2-1024x1024.png\" alt=\"\" class=\"wp-image-550\" width=\"256\" height=\"256\" srcset=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/xy10-2-1024x1024.png 1024w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/xy10-2-300x300.png 300w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/xy10-2-150x150.png 150w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/xy10-2-768x768.png 768w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/xy10-2.png 1420w\" sizes=\"(max-width: 256px) 100vw, 256px\" \/><figcaption>$f_1=f_2=1,d_1=d_2=0$<\/figcaption><\/figure><\/div>\n\n\n\n<p>$x$ and $y$ have the same value for every value of $t$, so the graph of the parametric equations is the graph of $y=x$.<\/p>\n\n\n\n<p>When $f_1$ and $f_2$ are different, things start to get more interesting.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-2 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"946\" height=\"1024\" src=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/f1_2p5_f2_1-946x1024.png\" alt=\"\" class=\"wp-image-545\" srcset=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/f1_2p5_f2_1-946x1024.png 946w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/f1_2p5_f2_1-277x300.png 277w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/f1_2p5_f2_1-768x831.png 768w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/f1_2p5_f2_1.png 1420w\" sizes=\"(max-width: 946px) 100vw, 946px\" \/><figcaption>$f_1=2.5,f_2=1$<\/figcaption><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"946\" height=\"1024\" src=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/f1_3_f2_2-1-946x1024.png\" alt=\"\" class=\"wp-image-547\" srcset=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/f1_3_f2_2-1-946x1024.png 946w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/f1_3_f2_2-1-277x300.png 277w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/f1_3_f2_2-1-768x831.png 768w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/f1_3_f2_2-1.png 1420w\" sizes=\"(max-width: 946px) 100vw, 946px\" \/><figcaption>$f_1=3,f_2=2$<\/figcaption><\/figure>\n\n\n\n<p><\/p>\n<\/div>\n<\/div>\n\n\n\n<p>In this form the curves are known as Lissajous curves. But if we change $d_1$ and $d_2$ as well, things get even more interesting. Using negative values for these variables has the effect of dampening the underlying functions &#8211; the sine waves get smaller as $t$ gets bigger. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/x_f1_1_d1_-0.1-737x1024.png\" alt=\"\" class=\"wp-image-553\" width=\"184\" height=\"256\" srcset=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/x_f1_1_d1_-0.1-737x1024.png 737w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/x_f1_1_d1_-0.1-216x300.png 216w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/x_f1_1_d1_-0.1-768x1067.png 768w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/x_f1_1_d1_-0.1-1105x1536.png 1105w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/x_f1_1_d1_-0.1.png 1375w\" sizes=\"(max-width: 184px) 100vw, 184px\" \/><figcaption>$f_1=1,d_1=-0.1$<\/figcaption><\/figure><\/div>\n\n\n\n<p>We could also use positive values for $d_1$ and $d_2$; this makes the sine waves get bigger as $t$ gets bigger, which has much the same effect on the final curve, although you might need to zoom out to see it.<\/p>\n\n\n\n<p>Here are the graphs with the same $f_1$ and $f_2$ values as earlier, but with $d_1=d_2=-0.1$.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-3 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"945\" height=\"1024\" src=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/f1_2.5_f2_1_d1_-0p1_d2_-0p1-1-945x1024.png\" alt=\"\" class=\"wp-image-557\" srcset=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/f1_2.5_f2_1_d1_-0p1_d2_-0p1-1-945x1024.png 945w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/f1_2.5_f2_1_d1_-0p1_d2_-0p1-1-277x300.png 277w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/f1_2.5_f2_1_d1_-0p1_d2_-0p1-1-768x832.png 768w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/f1_2.5_f2_1_d1_-0p1_d2_-0p1-1-1418x1536.png 1418w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/f1_2.5_f2_1_d1_-0p1_d2_-0p1-1.png 1421w\" sizes=\"(max-width: 945px) 100vw, 945px\" \/><figcaption>$f_1=2.5,f_2=1,d_1=d_2=-0.1$<\/figcaption><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"945\" height=\"1024\" src=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/f1_3_f2_2_d1_-0p1_d2_-0p1-1-945x1024.png\" alt=\"\" class=\"wp-image-558\" srcset=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/f1_3_f2_2_d1_-0p1_d2_-0p1-1-945x1024.png 945w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/f1_3_f2_2_d1_-0p1_d2_-0p1-1-277x300.png 277w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/f1_3_f2_2_d1_-0p1_d2_-0p1-1-768x832.png 768w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/f1_3_f2_2_d1_-0p1_d2_-0p1-1-1418x1536.png 1418w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/10\/f1_3_f2_2_d1_-0p1_d2_-0p1-1.png 1421w\" sizes=\"(max-width: 945px) 100vw, 945px\" \/><figcaption>$f_1=3,f_2=2,d_1=d_2=-0.1$<\/figcaption><\/figure>\n<\/div>\n<\/div>\n\n\n\n<p>These curves are known as harmonograph curves. The name comes from a Victorian device consisting of two pendulums of different lengths swinging at right angles to each other, with a pencil suspended between them. As the pendulums swing, the pencil moves and draws a curve representing the combined movement of the pendulums, producing curves very much like the ones above.<\/p>\n\n\n\n<p>In the interactive below you can try different values of $f_1$, $f_2$, $d_1$ and $d_2$. What glorious curves can you find? What effect does the ratio $f_1 : f_2$ have on the curve? What happens when $d_1$ and $d_2$ are different?<\/p>\n\n\n\n<div id=\"ggb-element\"><\/div> \n<script>  \n    var ggbApp = new GGBApplet({\"appName\": \"classic\", \"material_id\":\"hbnn5ked\",   \"showToolBar\": false, \"showAlgebraInput\": false, \"showMenuBar\": false}, true);\n    window.addEventListener(\"load\", function() { \n        ggbApp.inject('ggb-element');\n    });\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;d like to introduce you to the graph of $x=\\sin(f_1t)e^{d_1t}$, $y=\\sin(f_2t)e^{d_2t}$, a curve that spins, laughs and dances.<\/p>\n","protected":false},"author":1,"featured_media":575,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"saved_in_kubio":false,"footnotes":""},"categories":[29,38],"tags":[26,41,39],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/posts\/528"}],"collection":[{"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/comments?post=528"}],"version-history":[{"count":27,"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/posts\/528\/revisions"}],"predecessor-version":[{"id":574,"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/posts\/528\/revisions\/574"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/media\/575"}],"wp:attachment":[{"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/media?parent=528"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/categories?post=528"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/tags?post=528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}