{"id":513,"date":"2019-06-29T22:05:49","date_gmt":"2019-06-29T22:05:49","guid":{"rendered":"http:\/\/funfacts.104.42.120.246.xip.io\/?page_id=513"},"modified":"2019-11-18T22:46:17","modified_gmt":"2019-11-18T22:46:17","slug":"continuous-but-nowhere-differentiable","status":"publish","type":"page","link":"https:\/\/math.hmc.edu\/funfacts\/continuous-but-nowhere-differentiable\/","title":{"rendered":"Continuous but Nowhere Differentiable"},"content":{"rendered":"\n<p>You&#8217;ve seen all sorts of functions in calculus. Most of them are very nice and smooth&#8212; they&#8217;re &#8220;differentiable&#8221;, i.e., have derivatives defined everywhere. Some, like the absolute value function, have &#8220;problem points&#8221; where the derivative is not defined.<\/p>\n\n\n\n<p>But is it possible to construct a&nbsp;continuous function&nbsp;that has &#8220;problem points&#8221; everywhere?<\/p>\n\n\n\n<p>Surprisingly, the answer is yes! Weierstrass constructed the following example in 1872, which came as a total surprise. It is a continuous, but nowhere differentiable function, defined as an infinite series:<br>f(x) = SUM<sub>n=0 to infinity<\/sub>&nbsp;B<sup>n<\/sup>&nbsp;cos (A<sup>n <\/sup>* Pi * x)&nbsp;<\/p>\n\n\n\n<p>where A and B can be any numbers such that B is between 0 and 1, and       A * B is bigger than 1 + (3 * Pi\/2). For instance, A=12, B=1\/2 will work.<\/p>\n\n\n\n<p><strong>Presentation&nbsp;Suggestions:<\/strong><br>Draw graphs of the first few terms in the series. The discontinuities come from the fact that the terms wiggle faster and faster as n gets larger. But the diminishing amplitude of the terms makes the&nbsp;series&nbsp;converge everywhere.<\/p>\n\n\n\n<p><strong>The&nbsp;Math&nbsp;Behind&nbsp;the&nbsp;Fact:<\/strong><br>Showing this infinite sum of functions (i) converges, (ii) is continuous, but (iii) is not differentiable is usually done in an interesting course called&nbsp;real analysis&nbsp;(the study of properties of real numbers and functions). Property (ii) follows from the fact that this series exhibits&nbsp;<em>uniform convergence<\/em>, and in real analysis it is shown that a sequence of continuous functions that converges uniformly must converge to a continuous function.<\/p>\n\n\n\n<p><strong>How to Cite this Page:<\/strong>\u00a0<br>Su, Francis E., et al. &#8220;Continuous but Nowhere Differentiable.&#8221;\u00a0<em>Math Fun Facts<\/em>. &lt;http:\/\/www.math.hmc.edu\/funfacts>.<\/p>\n\n\n\n<p><strong>References:<\/strong><br>A classic text on real analysis is Walter Rudin&#8217;s <a href=\"http:\/\/www.amazon.com\/exec\/obidos\/ASIN\/007054235X\/ref=nosim\/mathfunfacts-20\">Principles of Mathematical Analysis.<\/a><\/p>\n\n\n\n<p><strong>Fun Fact suggested by:<\/strong><br>Lesley Ward<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You&#8217;ve seen all sorts of functions in calculus. Most of them are very nice and smooth&#8212; they&#8217;re &#8220;differentiable&#8221;, i.e., have&#46;&#46;&#46;<\/p>\n","protected":false},"author":7,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"tags":[57,20,7,130,60],"class_list":["post-513","page","type-page","status-publish","hentry","tag-advanced","tag-analysis","tag-calculus","tag-functions","tag-real-analysis"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/math.hmc.edu\/funfacts\/wp-json\/wp\/v2\/pages\/513","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/math.hmc.edu\/funfacts\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/math.hmc.edu\/funfacts\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/math.hmc.edu\/funfacts\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/math.hmc.edu\/funfacts\/wp-json\/wp\/v2\/comments?post=513"}],"version-history":[{"count":3,"href":"https:\/\/math.hmc.edu\/funfacts\/wp-json\/wp\/v2\/pages\/513\/revisions"}],"predecessor-version":[{"id":1391,"href":"https:\/\/math.hmc.edu\/funfacts\/wp-json\/wp\/v2\/pages\/513\/revisions\/1391"}],"wp:attachment":[{"href":"https:\/\/math.hmc.edu\/funfacts\/wp-json\/wp\/v2\/media?parent=513"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/math.hmc.edu\/funfacts\/wp-json\/wp\/v2\/tags?post=513"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}