{"id":1033,"date":"2014-10-31T23:47:46","date_gmt":"2014-11-01T03:47:46","guid":{"rendered":"http:\/\/www.curtisbright.com\/bln\/?p=1033"},"modified":"2014-10-31T23:47:46","modified_gmt":"2014-11-01T03:47:46","slug":"revisiting-a-lemma","status":"publish","type":"post","link":"http:\/\/localhost\/blog\/index.php\/2014\/10\/31\/revisiting-a-lemma\/","title":{"rendered":"Revisiting a lemma"},"content":{"rendered":"<p>We&#8217;ve discussed before the &#8220;trigonometric harmonic&#8221; series $\\sum_{n=1}^\\infty\\cos n\/n$. In particular, <a href=\"http:\/\/www.curtisbright.com\/bln\/2014\/04\/29\/harmonic-series-variant-solution\/\">we\u00a0showed<\/a> that the series converges (<a href=\"http:\/\/www.curtisbright.com\/bln\/2014\/09\/30\/that-harmonic-series-variant-absolutely\/\">conditionally<\/a>). The argument involved the partial sums\u00a0of the sequence\u00a0$\\{\\cos n\\}_{n=1}^\\infty$, and\u00a0we denoted these by $C(m)$. The closed-form expression we found for $C(m)$ involved the quantity $\\cos m-\\cos(m+1)$; in this post we show that this expression can also be written in the alternative form $2\\sin(1\/2)\\sin(m+1\/2)$.<\/p>\n<p><!--more--><\/p>\n<p>The proof is a straightforward application of the complex exponential expression for\u00a0sine and cosine:<\/p>\n<p>\\begin{align*}<br \/>\n2\\sin(1\/2)\\sin(m+1\/2) &amp;= 2\\frac{e^{i\/2}-e^{-i\/2}}{2i}\\cdot\\frac{e^{i(m+1\/2)}-e^{-i(m+1\/2)}}{2i} \\\\<br \/>\n&amp;= \\frac{e^{i(m+1)}-e^{im}-e^{-im}+e^{-i(m+1)}}{-2} \\\\<br \/>\n&amp;= \\cos m-\\cos(m+1)<br \/>\n\\end{align*}<\/p>\n<p>Applying this with $m:=0$ yields\u00a0$2\\sin(1\/2)^2=1-\\cos 1$, and we have<\/p>\n<p>\\begin{align*}<br \/>\nC(m) &amp;= \\frac{\\cos m-\\cos(m+1)}{2(1-\\cos 1)}-\\frac{1}{2} \\\\<br \/>\n&amp;= \\frac{2\\sin(1\/2)\\sin(m+1\/2)}{4\\sin(1\/2)^2}-\\frac{1}{2} \\\\<br \/>\n&amp;= \\frac{\\sin(m+1\/2)}{2\\sin(1\/2)}-\\frac{1}{2} .<br \/>\n\\end{align*}<\/p>\n<p>Written in this form, the naive upper bound on $\\lvert C(m)\\rvert$ becomes<\/p>\n<p>\\[ \\frac{1}{2\\sin(1\/2)}+\\frac{1}{2} \\approx\u00a01.54\u00a0, \\]<\/p>\n<p>which is actually slightly better than the previous upper bound we gave of<\/p>\n<p>\\[ \\frac{1}{1-\\cos1}+\\frac{1}{2}\u00a0\\approx 2.68\u00a0. \\]<\/p>\n<p>In fact, it is easy to see that our new upper bound the best possible, since it is reached at for example $m:=(3\\pi-1)\/2$.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;ve discussed before the &#8220;trigonometric harmonic&#8221; series $\\sum_{n=1}^\\infty\\cos n\/n$. In particular, we\u00a0showed that the series converges (conditionally). The argument involved the partial sums\u00a0of the sequence\u00a0$\\{\\cos n\\}_{n=1}^\\infty$, and\u00a0we denoted these by $C(m)$. The closed-form expression we found for $C(m)$ involved the &hellip; <a href=\"http:\/\/localhost\/blog\/index.php\/2014\/10\/31\/revisiting-a-lemma\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"_links":{"self":[{"href":"http:\/\/localhost\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1033"}],"collection":[{"href":"http:\/\/localhost\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/localhost\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/localhost\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/localhost\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1033"}],"version-history":[{"count":0,"href":"http:\/\/localhost\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1033\/revisions"}],"wp:attachment":[{"href":"http:\/\/localhost\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1033"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/localhost\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1033"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/localhost\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1033"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}