{"id":797,"date":"2017-06-15T12:16:00","date_gmt":"2017-06-15T16:16:00","guid":{"rendered":"http:\/\/advancedmathyoungstudents.com\/blog\/?p=797"},"modified":"2018-06-18T08:15:15","modified_gmt":"2018-06-18T12:15:15","slug":"exponential-decay-and-time-constants","status":"publish","type":"post","link":"https:\/\/advancedmathyoungstudents.com\/blog\/?p=797","title":{"rendered":"Exponential Decay and Time Constants"},"content":{"rendered":"<p><em>The other day, a colleague showed me a diagram about current vs. time in an RC circuit. The diagram helped me realize that there is another way to think about time constants and exponential decay, a way I had completely overlooked.\u00a0 I had all the right pieces floating around but I had never put them together.\u00a0 <\/em><\/p>\n<p><strong><strong>WHAT\u2019S A TIME CONSTANT?<\/strong><\/strong><\/p>\n<p>Here are three graphs showing a quantity that is decaying exponentially toward zero:<\/p>\n<p><a href=\"http:\/\/advancedmathyoungstudents.com\/blog\/2017\/06\/15\/exponential-decay-and-time-constants\/timeconstant3\/\" rel=\"attachment wp-att-814\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-814\" src=\"http:\/\/advancedmathyoungstudents.com\/blog\/wp-content\/uploads\/2017\/06\/timeconstant3.png\" alt=\"timeconstant3\" width=\"932\" height=\"507\" srcset=\"https:\/\/advancedmathyoungstudents.com\/blog\/wp-content\/uploads\/2017\/06\/timeconstant3.png 932w, https:\/\/advancedmathyoungstudents.com\/blog\/wp-content\/uploads\/2017\/06\/timeconstant3-300x163.png 300w, https:\/\/advancedmathyoungstudents.com\/blog\/wp-content\/uploads\/2017\/06\/timeconstant3-768x418.png 768w, https:\/\/advancedmathyoungstudents.com\/blog\/wp-content\/uploads\/2017\/06\/timeconstant3-500x272.png 500w\" sizes=\"(max-width: 932px) 100vw, 932px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Each of these is a graph of a function:\u00a0N(t) = N<sub>o<\/sub>e<sup>-kt<\/sup><\/p>\n<p>The only difference is the value of the constant, <em>k<\/em>. \u00a0Higher values of <em>k<\/em> lead, in a sense, to faster decay.<\/p>\n<p>To help emphasize this, we\u00a0can define a constant:\u00a0\u03c4 = 1\/k<\/p>\n<p>Then\u00a0we can \u00a0re-write the function this way: N(t) = N<sub>o<\/sub>e<sup>-t\/\u03c4<\/sup><\/p>\n<p>We call \u03c4 the \u201ctime constant\u201d for this decay.\u00a0 It has the units of time.\u00a0 And it gives us an intuitive feeling for how fast a function is decaying.<\/p>\n<p><strong><em><strong>For every time constant that passes, our decaying quantity gets reduced by another factor of e. <\/strong><\/em><\/strong><\/p>\n<p>So after one time constant has passed, the function&#8217;s value is N<sub><span style=\"font-size: small;\">o<\/span><\/sub>\/e.\u00a0 After two time constants, it&#8217;s N<sub>o<\/sub>\/e<sup>2<\/sup>.\u00a0\u00a0After three, <span style=\"font-family: Calibri;\"><span style=\"color: #000000;\">N<sub><span style=\"font-size: medium;\">o<\/span><\/sub><\/span><span style=\"color: #000000;\">\/e<\/span><span style=\"font-size: medium;\"><span style=\"color: #000000;\"><sup>3<\/sup> <\/span><\/span><\/span>&#8230;and so on.<\/p>\n<p>But there is another way to think about the time constant.<\/p>\n<p><strong><i>The time constant\u00a0tells us how long it would take to reach the asymptote <span style=\"text-decoration: underline;\">at the current rate of change.<\/span><\/i><\/strong><\/p>\n<p><b><\/b><i><\/i>Maybe this should have been obvious, but I never thought about that way until just a few days ago. Here\u2019s the diagram that got me started:<\/p>\n<p><a href=\"http:\/\/advancedmathyoungstudents.com\/blog\/2017\/06\/15\/exponential-decay-and-time-constants\/timeconstant1\/\" rel=\"attachment wp-att-799\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-799\" src=\"http:\/\/advancedmathyoungstudents.com\/blog\/wp-content\/uploads\/2017\/06\/timeconstant1.png\" alt=\"timeconstant1\" width=\"880\" height=\"553\" srcset=\"https:\/\/advancedmathyoungstudents.com\/blog\/wp-content\/uploads\/2017\/06\/timeconstant1.png 880w, https:\/\/advancedmathyoungstudents.com\/blog\/wp-content\/uploads\/2017\/06\/timeconstant1-300x189.png 300w, https:\/\/advancedmathyoungstudents.com\/blog\/wp-content\/uploads\/2017\/06\/timeconstant1-768x483.png 768w, https:\/\/advancedmathyoungstudents.com\/blog\/wp-content\/uploads\/2017\/06\/timeconstant1-477x300.png 477w\" sizes=\"(max-width: 880px) 100vw, 880px\" \/><\/a><\/p>\n<p>http:\/\/www.algebralab.org\/practice\/practice.aspx?file=Reading_ChargingCapacitor.xml<\/p>\n<p>The claim here is made in the context of a charging capacitor, but it is actually true for any function that is approaching an asymptote exponentially. Here is an animation I made in <em>Desmos<\/em> to illustrate the point:<\/p>\n<div id=\"kgvid_kgvid_0_wrapper\" class=\"kgvid_wrapper\">\n\t\t\t<div id=\"video_kgvid_0_div\" class=\"fitvidsignore kgvid_videodiv\" data-id=\"kgvid_0\" data-kgvid_video_vars=\"{&quot;id&quot;:&quot;kgvid_0&quot;,&quot;attachment_id&quot;:817,&quot;player_type&quot;:&quot;Video.js&quot;,&quot;width&quot;:&quot;640&quot;,&quot;height&quot;:&quot;376&quot;,&quot;fullwidth&quot;:&quot;false&quot;,&quot;countable&quot;:true,&quot;count_views&quot;:&quot;quarters&quot;,&quot;start&quot;:&quot;&quot;,&quot;autoplay&quot;:&quot;false&quot;,&quot;pauseothervideos&quot;:&quot;false&quot;,&quot;set_volume&quot;:1,&quot;muted&quot;:&quot;false&quot;,&quot;meta&quot;:true,&quot;endofvideooverlay&quot;:false,&quot;resize&quot;:&quot;true&quot;,&quot;auto_res&quot;:&quot;automatic&quot;,&quot;pixel_ratio&quot;:&quot;true&quot;,&quot;right_click&quot;:&quot;on&quot;,&quot;playback_rate&quot;:&quot;false&quot;,&quot;title&quot;:&quot;Time Constants in Motion&quot;,&quot;nativecontrolsfortouch&quot;:&quot;true&quot;,&quot;locale&quot;:&quot;en&quot;,&quot;enable_resolutions_plugin&quot;:false}\" itemprop=\"video\" itemscope itemtype=\"https:\/\/schema.org\/VideoObject\"><meta itemprop=\"embedUrl\" content=\"https:\/\/advancedmathyoungstudents.com\/blog\/?attachment_id=817&#038;kgvid_video_embed%5Benable%5D=true\"><meta itemprop=\"contentUrl\" content=\"https:\/\/advancedmathyoungstudents.com\/blog\/wp-content\/uploads\/2017\/06\/Time-Constants-in-Motion.mp4\"><meta itemprop=\"name\" content=\"Time Constants in Motion\"><meta itemprop=\"description\" content=\"Video\"><meta itemprop=\"uploadDate\" content=\"2017-06-15T12:15:44-04:00\">\n\t\t\t\t<video id=\"video_kgvid_0\" playsinline controls preload=\"metadata\" width=\"640\" height=\"376\" class=\"fitvidsignore video-js kg-video-js-skin\">\n\t\t\t\t\t<source src=\"https:\/\/advancedmathyoungstudents.com\/blog\/wp-content\/uploads\/2017\/06\/Time-Constants-in-Motion.mp4?id=0\" type=\"video\/mp4\" data-res=\"606p\">\n\t\t\t\t<\/video>\n\t\t\t<\/div>\n\t\t\t<div style=\"display:none\" id=\"video_kgvid_0_meta\" class=\"kgvid_video_meta kgvid_video_meta_hover \">\n\t\t\t\t<span class='kgvid_meta_icons'><\/span>\n\t\t\t\t<span id='video_kgvid_0_title' class='kgvid_title'>Time Constants in Motion<\/span>\n<\/div>\n\t\t<\/div>\n<p>In the still picture above, you can see the tangent line at t=0.\u00a0 The dotted green segment on the t-axis represents the time it would take for the tangent line to reach the asymptote.\u00a0 When you run the video, you will see the function decrease and\u00a0the tangent line get shallower.\u00a0 But that green segment stays the same length.<\/p>\n<p>(If you want to play with the Desmos file, you can get it <a href=\"https:\/\/www.desmos.com\/calculator\/q6nbyvnznd\">here<\/a>\ud83d\ude42<\/p>\n<p><strong>WAIT \u2013 WHAT\u2019S A TIME CONSTANT NOW?<\/strong><\/p>\n<p>A quantity that decays exponentially approaches its final value asymptotically. And as it decays, its rate of decay decreases as well.\u00a0 (That\u2019s the defining characteristic of exponential decay: the rate of decay toward the final value is proportional to the current distance from that value.\u00a0 In fact, we can write that as a differential equation. I went on and on about that <a href=\"http:\/\/wp.me\/p4uvY7-5j\">here<\/a>.)<\/p>\n<p>But now suppose that at some moment, the decay rate were to become constant. Instead of taking forever, the function would now be able to reach its asymptote in a finite amount of time. Not in just any old amount of time, but in fact in an amount that equals the \u201ctime constant\u201d of the decay. It doesn\u2019t matter what moment you pick.\u00a0 From any starting point during exponential decay, if the rate were to stay constant (which it doesn\u2019t, but still\u2026) the time to reach the asymptote would always comes out to \u03c4 = 1\/k.<\/p>\n<p>Or to say the same thing geometrically: the tangent line from any point on the curve will intercept the asymptote after one time constant has elapsed. That&#8217;s what the animation is trying to emphasize.\u00a0 I chose a k value of .2 so my time constant was 1\/.2 = 5 seconds.\u00a0 If you open the Desmos file, you can change the constants to see what changes and what doesn&#8217;t.<\/p>\n<p><strong>SO WHY\u00a0DID THIS\u00a0SURPRISE ME?<\/strong><\/p>\n<p>I wasn&#8217;t making the connection between the exponential decay and the differential equation lurking in the background (even though I teach that connection\u00a0and have blogged about it).<\/p>\n<p>That the function decreases\u00a0with a rate of change that is proportional to the value of the function\u00a0is actually a first-order differential equation.\u00a0 The exponential decay is its solution. (Again, gory detail <a href=\"http:\/\/wp.me\/p4uvY7-5j\"><u><span style=\"color: #0066cc;\">here<\/span><\/u><\/a>.)<\/p>\n<p><a href=\"http:\/\/advancedmathyoungstudents.com\/blog\/2014\/08\/08\/a-new-look-at-exponential-decay\/post21pic12\/\" rel=\"attachment wp-att-343\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-343\" src=\"http:\/\/advancedmathyoungstudents.com\/blog\/wp-content\/uploads\/2014\/08\/post21pic12.jpg\" alt=\"post21pic12\" width=\"451\" height=\"64\" srcset=\"https:\/\/advancedmathyoungstudents.com\/blog\/wp-content\/uploads\/2014\/08\/post21pic12.jpg 451w, https:\/\/advancedmathyoungstudents.com\/blog\/wp-content\/uploads\/2014\/08\/post21pic12-300x42.jpg 300w\" sizes=\"(max-width: 451px) 100vw, 451px\" \/><\/a><\/p>\n<p>And if slope is rise over run, then run is rise over slope!\u00a0 When the function is starting from a higher value, the tangent has a slope that is <em><strong>PROPORTIONALLY<\/strong><\/em> higher!\u00a0 So that proportionally higher slope will get you back to the asymptote in the same amount of time every time.<\/p>\n<p>To find how much time we are talking about, divide the &#8220;rise&#8221; (or in this case, a &#8220;fall&#8221;) by the slope:<\/p>\n<p><a href=\"http:\/\/advancedmathyoungstudents.com\/blog\/2017\/06\/15\/exponential-decay-and-time-constants\/timeconstant4\/\" rel=\"attachment wp-att-812\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-812\" src=\"http:\/\/advancedmathyoungstudents.com\/blog\/wp-content\/uploads\/2017\/06\/timeconstant4.png\" alt=\"timeconstant4\" width=\"289\" height=\"96\" \/><\/a><\/p>\n<p>I&#8217;ll leave a more rigorous, math-y proof as an exercise for those of you in your first calculus class.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The other day, a colleague showed me a diagram about current vs. time in an RC circuit. The diagram helped me realize that there is another way to think about time constants and exponential decay, a way I had completely &hellip; <a href=\"https:\/\/advancedmathyoungstudents.com\/blog\/?p=797\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4uvY7-cR","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/advancedmathyoungstudents.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/797"}],"collection":[{"href":"https:\/\/advancedmathyoungstudents.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/advancedmathyoungstudents.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/advancedmathyoungstudents.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/advancedmathyoungstudents.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=797"}],"version-history":[{"count":17,"href":"https:\/\/advancedmathyoungstudents.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/797\/revisions"}],"predecessor-version":[{"id":929,"href":"https:\/\/advancedmathyoungstudents.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/797\/revisions\/929"}],"wp:attachment":[{"href":"https:\/\/advancedmathyoungstudents.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=797"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/advancedmathyoungstudents.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=797"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/advancedmathyoungstudents.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=797"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}