{"id":10,"date":"2007-11-08T15:10:13","date_gmt":"2007-11-08T14:10:13","guid":{"rendered":"http:\/\/www.walkingrandomly.com\/?p=10"},"modified":"2010-01-30T21:28:35","modified_gmt":"2010-01-30T20:28:35","slug":"my-favourite-formula","status":"publish","type":"post","link":"https:\/\/walkingrandomly.com\/?p=10","title":{"rendered":"My favourite formula"},"content":{"rendered":"<p>Are you geeky enough to have a favourite formula? Because I am and it turns out that I am not the only one either. I have just googled &#8216;favourite formula&#8217; and the second result  was a link to the aply named &#8216;<a href=\"http:\/\/www.sixthform.info\/maths\/?p=7\">Mathematics Weblog<\/a>&#8216; where the author described an equation usually known as Euler&#8217;s formula.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/walkingrandomly.com\/wp-content\/ql-cache\/quicklatex.com-18832a65b373a910c115cceb6180e299_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#32;&#92;&#108;&#105;&#103;&#104;&#116;&#32;&#101;&#94;&#123;&#105;&#32;&#92;&#112;&#105;&#125;&#32;&#61;&#32;&#45;&#49;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"68\" style=\"vertical-align: -1px;\"\/><\/p>\n<p>The Nobel prize winning physicist, Richard Feynman, once referred to this equation as &#8216;<em>the most remarkable formula in mathematics&#8217; <\/em>and he really knew his stuff. Now I agree with Feynman, it really is an amazing formula since it connects some of the most important constants of mathematics in a small and elegant package, but it&#8217;s not my favourite.  Elegant it may be but it&#8217;s not particularly useful.<\/p>\n<p>My personal favourite is the general case of the above equation.  Also called Euler&#8217;s equation, it is written as<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/walkingrandomly.com\/wp-content\/ql-cache\/quicklatex.com-a4a7dfed4278467f137d7d19f4d34073_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#32;&#92;&#108;&#105;&#103;&#104;&#116;&#32;&#101;&#94;&#123;&#105;&#120;&#125;&#61;&#92;&#99;&#111;&#115;&#40;&#120;&#41;&#43;&#32;&#105;&#32;&#92;&#115;&#105;&#110;&#40;&#120;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"168\" style=\"vertical-align: -4px;\"\/><\/p>\n<p>Set <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/walkingrandomly.com\/wp-content\/ql-cache\/quicklatex.com-030ad36fe1f73b1c30e24b32433a4a97_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#32;&#92;&#108;&#105;&#103;&#104;&#116;&#32;&#120;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"10\" style=\"vertical-align: 0px;\"\/> to <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/walkingrandomly.com\/wp-content\/ql-cache\/quicklatex.com-660db81c2f7aff26015ee204957bb5d8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#108;&#105;&#103;&#104;&#116;&#32;&#92;&#112;&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"11\" style=\"vertical-align: 0px;\"\/>  and out pops Feynman&#8217;s favourite but we can do so much more with it than that and in this post I am going to focus on using it to obtain the trigonometric addition identities.<\/p>\n<p><!--more--><\/p>\n<p>I have always struggled to remember trig identities &#8211; No matter how hard I try, I somehow manage to get the signs wrong but with a little bit of work I can just derive them using Euler&#8217;s equation and be sure that I have got them right.  Start off by writing<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/walkingrandomly.com\/wp-content\/ql-cache\/quicklatex.com-bffb5236cd8c91a6fa29424475c40a4f_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#32;&#92;&#108;&#105;&#103;&#104;&#116;&#32;&#101;&#94;&#123;&#105;&#40;&#97;&#43;&#98;&#41;&#125;&#32;&#61;&#32;&#101;&#94;&#123;&#105;&#97;&#125;&#101;&#94;&#123;&#105;&#98;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"17\" width=\"112\" style=\"vertical-align: 0px;\"\/><\/p>\n<p>now substitute Euler&#8217;s formula in both sides of the equation<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/walkingrandomly.com\/wp-content\/ql-cache\/quicklatex.com-8362066c46d3ce61e68b337cc5b620b3_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#32;&#92;&#108;&#105;&#103;&#104;&#116;&#32;&#99;&#111;&#115;&#40;&#97;&#43;&#98;&#41;&#32;&#43;&#32;&#105;&#32;&#115;&#105;&#110;&#40;&#97;&#43;&#98;&#41;&#32;&#61;&#32;&#40;&#99;&#111;&#115;&#40;&#97;&#41;&#32;&#43;&#32;&#105;&#32;&#115;&#105;&#110;&#40;&#97;&#41;&#41;&#32;&#40;&#99;&#111;&#115;&#40;&#98;&#41;&#43;&#105;&#32;&#115;&#105;&#110;&#40;&#98;&#41;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"477\" style=\"vertical-align: -4px;\"\/><\/p>\n<p>Multiplying out the right hand side leads to<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/walkingrandomly.com\/wp-content\/ql-cache\/quicklatex.com-08226dd046bb3ea9930432f9ac8f7ea9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#32;&#92;&#108;&#105;&#103;&#104;&#116;&#32;&#99;&#111;&#115;&#40;&#97;&#43;&#98;&#41;&#32;&#43;&#32;&#105;&#32;&#115;&#105;&#110;&#40;&#97;&#43;&#98;&#41;&#32;&#32;&#61;&#32;&#99;&#111;&#115;&#40;&#97;&#41;&#32;&#99;&#111;&#115;&#40;&#98;&#41;&#45;&#115;&#105;&#110;&#40;&#97;&#41;&#32;&#115;&#105;&#110;&#40;&#98;&#41;&#32;&#43;&#32;&#105;&#32;&#40;&#32;&#99;&#111;&#115;&#40;&#97;&#41;&#115;&#105;&#110;&#40;&#98;&#41;&#32;&#43;&#32;&#115;&#105;&#110;&#40;&#97;&#41;&#99;&#111;&#115;&#40;&#98;&#41;&#32;&#41;&#32;&#32;\" title=\"Rendered by QuickLaTeX.com\" height=\"40\" width=\"582\" style=\"vertical-align: -4px;\"\/><\/p>\n<p>Equating real and imaginary parts on both sides gives us two trig identities for the price of one<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/walkingrandomly.com\/wp-content\/ql-cache\/quicklatex.com-015e4946bd076735dbcaa4951bd14738_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#32;&#92;&#108;&#105;&#103;&#104;&#116;&#32;&#99;&#111;&#115;&#40;&#97;&#43;&#98;&#41;&#32;&#61;&#32;&#99;&#111;&#115;&#40;&#97;&#41;&#32;&#99;&#111;&#115;&#40;&#98;&#41;&#45;&#115;&#105;&#110;&#40;&#97;&#41;&#32;&#115;&#105;&#110;&#40;&#98;&#41;&#32;&#32;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"310\" style=\"vertical-align: -4px;\"\/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/walkingrandomly.com\/wp-content\/ql-cache\/quicklatex.com-3e744a260c0de01873710932ce43a441_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#32;&#92;&#108;&#105;&#103;&#104;&#116;&#32;&#115;&#105;&#110;&#40;&#97;&#43;&#98;&#41;&#32;&#61;&#32;&#99;&#111;&#115;&#40;&#97;&#41;&#115;&#105;&#110;&#40;&#98;&#41;&#32;&#43;&#32;&#115;&#105;&#110;&#40;&#97;&#41;&#99;&#111;&#115;&#40;&#98;&#41;&#32;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"311\" style=\"vertical-align: -4px;\"\/><\/p>\n<p>We can get similar equations for <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/walkingrandomly.com\/wp-content\/ql-cache\/quicklatex.com-336509b69506132c12b5fb47f820f6c8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#32;&#92;&#108;&#105;&#103;&#104;&#116;&#32;&#99;&#111;&#115;&#40;&#97;&#45;&#98;&#41;&#32;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"77\" style=\"vertical-align: -4px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/walkingrandomly.com\/wp-content\/ql-cache\/quicklatex.com-c71776686af4b3045635fd6a004698d7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#32;&#92;&#108;&#105;&#103;&#104;&#116;&#32;&#115;&#105;&#110;&#40;&#97;&#45;&#98;&#41;&#32;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"77\" style=\"vertical-align: -4px;\"\/>  by simply substituting -b for b.<\/p>\n<p>In my dim and distant past I used to be an assistant instructor for undergraduate physics problems classes and I found that many students had not seen this derivation before but they felt that it was obvious (and rather useful) once they had been shown it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are you geeky enough to have a favourite formula? Because I am and it turns out that I am not the only one either. I have just googled &#8216;favourite formula&#8217; and the second result was a link to the aply named &#8216;Mathematics Weblog&#8216; where the author described an equation usually known as Euler&#8217;s formula. The [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[6],"tags":[],"class_list":["post-10","post","type-post","status-publish","format-standard","hentry","category-general-math"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3swhs-a","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/posts\/10","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10"}],"version-history":[{"count":5,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/posts\/10\/revisions"}],"predecessor-version":[{"id":2250,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/posts\/10\/revisions\/2250"}],"wp:attachment":[{"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}