<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Bill Markos on Medium]]></title>
        <description><![CDATA[Stories by Bill Markos on Medium]]></description>
        <link>https://medium.com/@billmarkos?source=rss-5150e975c9ec------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Y0KcjlvEf5pzXL3M17krTQ.jpeg</url>
            <title>Stories by Bill Markos on Medium</title>
            <link>https://medium.com/@billmarkos?source=rss-5150e975c9ec------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 00:44:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@billmarkos/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Fairness Through Unfairness]]></title>
            <link>https://billmarkos.medium.com/fairness-through-unfairness-becbbc94830?source=rss-5150e975c9ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/becbbc94830</guid>
            <category><![CDATA[simulation]]></category>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[math]]></category>
            <category><![CDATA[probability]]></category>
            <dc:creator><![CDATA[Bill Markos]]></dc:creator>
            <pubDate>Thu, 23 Mar 2023 12:16:44 GMT</pubDate>
            <atom:updated>2023-03-23T12:16:44.633Z</atom:updated>
            <content:encoded><![CDATA[<h4>How math can help you make an unfair coin… fair</h4><figure><img alt="An Irish 20 cents of euro coin standing on a surface." src="https://cdn-images-1.medium.com/max/1024/0*FJGc_mmEGCBzOWmy" /><figcaption>Photo by <a href="https://unsplash.com/@neural_notworks?utm_source=medium&amp;utm_medium=referral">Shaojie</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Assume that it is unimaginably important to play a round of “Heads or Tails?”. Naturally, a fair coin — one that turns Heads or Tails roughly with the same frequency in the long run — is required. However, further assume that you are only given an unfair coin, say one that turns “Heads” about 70% of the times and “Tails” the rest 30%.</p><p>So, what can we do to play that so much wanted round of “Heads or Tails”?</p><h3>Forging Fairness</h3><p>We can clearly forge our way to a fair round of “Heads or Tails” by melting that unfair coin and then crafting a new, well-balanced, and fair one. However, since it is unsurprisingly more probable for a reader of this post to be proficient at Math rather than iron forging, we shall not delve into more details about that.</p><p>So, back to coin-tossing, what we actually want is to <strong>simulate</strong> the toss of a fair coin by using an unfair one. Evidently, this simulation will require us to flip our coin more than once, so, let us try to mathematically formulate what we want to do.</p><p>At first, let us denote by <em>p</em> the probability with which our <em>unfair</em> coin yields “Heads”. So, in our above example, we would have <em>p=0.70. </em>Next, we have to describe what a “fair coin toss” would look like, using our unfair coin. Let us assume that, for instance, a “fair coin toss” — FCT, for short — consists of tossing our unfair coin twice and keeping the last result. We should prove, then, that this FCT is, well, fair. That is, we have to prove that it yields <em>Heads</em> or <em>Tails</em> with equal probability — we shall write FCT results in <em>italics, </em>to distinguish them from the unfair ones.</p><p>So, let us compute the probability to have <em>Heads</em> in a FCT. Since we are interested in the result of the last coin toss, we have two cases of interest:</p><ul><li>The first toss might be Heads followed by a second Heads toss. That can happen — assuming that naturally each coin toss is independent of any other — with probability <em>0.7</em> x <em>0.7 = 0.49</em>.</li><li>The second toss might well be Tails with probability <em>0.3</em>, so in this case the probability to have Heads in the second toss is <em>0.3</em> x <em>0.7 = 0.21</em>.</li><li>Then, the total probability to have Heads in the second toss, i.e., to have <em>Heads</em> as a result in our FCT is <em>0.21 + 0.49 = 0.70.</em></li></ul><p>Yeah… This did change exactly nothing. But, isn’t it interesting that we got <em>0.7</em> as a result for our FCT? Well, not that much, if you think of it for a bit. In our calculations we have assumed that each toss is independent of each other, i.e., there is no interference among any two different tosses. So, essentially, the probability to have Heads as a result in any toss is the same — <em>0.7</em> in our case.</p><p>So, there is no way to forge our fair coin by just considering a sequence of independent tosses as a single FCT.</p><p>But, then, what else could we do?</p><h3>Refining Fairness</h3><p>The major problem in our rationale so far is that each toss is independent of each other, so we have actually no chance to get something better than what we already had. But, what if we make the following minor change in our definition of a FCT:</p><ul><li>We make two coin tosses and note down their results.</li><li>In case the first one is Tails but the second one is Heads, we say the FCT result is <em>Heads</em>.</li><li>In case the first one is Heads but the second one is Tails, we say the FCT result is <em>Tails</em>.</li><li>If both tosses have the same result, we repeat the above.</li></ul><p>Okay, we have indeed refined our definition of a FCT. The idea behind the above process is that, under the above, <em>Heads</em> and <em>Tails</em> have the same probability to occur, i.e., <em>0.3 </em>x<em> 0.7 = 0.21</em>. So, in that sense, the two interesting results of FCT appear at the same frequency. Also, observe how in the improbable case we get two tails (<em>0.3 </em>x<em> 0.3 = 0.09</em>), or the much more frequent case we get two heads (<em>0.7 </em>x<em> 0.7 = 0.49</em>), we proceed as if nothing significant has happened. That way, we “ignore” our coin’s unfairness, trying to favor balanced pairs of coin tosses more than imbalanced ones.</p><p>Okay, but, does all this really work?</p><p>Well, you know, this means we have to try to prove it. So, as before, let us compute the probability for <em>Heads</em>:</p><ul><li>There is the case that we have a pair of Tails-Heads (in that order) with the first pair of tosses, which happens with probability <em>0.3 </em>x<em> 0.7 = 0.21.</em></li><li>There is the case that we have a pair of Tails-Heads <em>for the first time</em> in our second pair of tosses, i.e., the first pair is either Heads-Heads or Tails-Tails (<em>0.7 </em>x<em> 0.7 + 0.3 </em>x<em> 0.3 = 0.58</em>) and then the second one is Tails-Heads (<em>0.3</em> x<em> 0.7 = 0.21</em>), so, in total <em>0.58 </em>x<em> 0.21 = 0.1218.</em></li><li>In a similar fashion, the desired result might come in the third pair, with probability <em>0.58 </em>x<em> 0.58 </em>x<em> 0.21 = 0.070644</em>.</li><li>…</li></ul><p>In general, one might reach the desired Tails-Heads pair for the first time after <em>n</em> steps, where the first <em>n-1</em> steps are of the form Heads-Heads or Tails-Tails. The probability to reach that <em>n</em>-th step, as you might well suspect is given by:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/151/0*n7geLviCw75u7wd-" /><figcaption>Nice an neat result.</figcaption></figure><p>So, the total probability that we get <em>Heads</em> in our FCT is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/267/0*4OlXf9oFnSrdgHkZ" /><figcaption>Okay, this seems easy to compute, right?</figcaption></figure><p>The above is nothing more but a mere geometric series, so we can make some further computations as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/212/0*yWTqNzt9tPC1oDdZ" /><figcaption>Amazing! We got this!</figcaption></figure><p>Okay, that is really reassuring. We got exactly what we wished for, so we can go and take a power nap…</p><h3>But, does this really work?</h3><p>We got the result we wanted to but, well, we did so for a very specific case. In the general case, it would be nice to have the same result hold for any coin that yields Heads with probability <em>p</em> and Tails with probability <em>1-p</em>. In that case, using the same simulation process as before, the probability to get <em>Heads</em> at the <em>n</em>-th step is given by:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/542/0*fWGtozPgwBlKce4p" /><figcaption>Just let p = 0.7 and everything is the same as above.</figcaption></figure><p>So, the total probability for our coin to turn <em>Heads</em> in a FCT is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/336/0*dNyHoGyJGrbZvywQ" /><figcaption>Yeap, we did it again!</figcaption></figure><p>Perfect, exactly as above, we got a fair “coin” for any unfair one — but for the extreme cases when <em>p=0 </em>or <em>p=1.</em></p><h3>Conclusions</h3><p>We managed to show that there is a way to simulate a fair coin with an arbitrarily unfair one. While simple in its key ideas, there is a deeper layer into that approach. Indeed, what we managed to do above was to interweave some independent events — in that case, the tosses of the unfair coin — in such a way that we managed to essentially wipe out their independence.</p><p>At this point, a question arises. Is there something special with 1/2? In other words, could we, given a coin that yields Heads with probability <em>p</em>, simulate any other coin that yields Heads with probability <em>q</em>? In other words, given an unfair coin, do we have full control over its unfairness or are we doomed to just convert it to a fair one?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=becbbc94830" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Mild Introduction to Tikz]]></title>
            <link>https://billmarkos.medium.com/a-mild-introduction-to-tikz-b1d0891f85ed?source=rss-5150e975c9ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/b1d0891f85ed</guid>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[latex]]></category>
            <category><![CDATA[typesetting]]></category>
            <category><![CDATA[tikz]]></category>
            <category><![CDATA[visualization]]></category>
            <dc:creator><![CDATA[Bill Markos]]></dc:creator>
            <pubDate>Wed, 22 Mar 2023 05:26:32 GMT</pubDate>
            <atom:updated>2023-03-22T05:26:32.653Z</atom:updated>
            <content:encoded><![CDATA[<h4>Or another path to enlightenment</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*j1e_VjboxetomfXq" /><figcaption>Lines and colors — Photo by <a href="https://unsplash.com/ko/@tamanna_rumee?utm_source=medium&amp;utm_medium=referral">Tamanna Rumee</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>I still remember the day I decided to deep dive into the mysteries of ti<em>k</em>z. From the very first day I started learning LaTeX I had an almost innate fear of it. Actually, I was so unwilling to learn tikz that I often added a “…no tikz” suffix to all my LaTeX-related google searches. Most of the times, this fear was due to the <a href="https://ftp.cc.uoc.gr/mirrors/CTAN/graphics/pgf/base/doc/pgfmanual.pdf">vast and exhaustive documentation</a> that ti<em>k</em>z and pgf share — which, by the way, after so many pages and figures drawn with ti<em>k</em>z, has turned out to be one of the most helpful documents on the internet. But, as with most things, learning ti<em>k</em>z becomes easier when you have some concrete reason to learn it.</p><p>So, let us start with two simple examples.</p><h3>Lines and Nodes</h3><p>Have a look at the following Figure:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/0*2E9meIk19-8ex6GX" /><figcaption>Probably one of the simplest functions you could have thought of, right?</figcaption></figure><p>In case you have any doubts, this is nothing more but the plot of the following function:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/204/0*dIKPxp1scp-vTT3O" /><figcaption>Simple, it is.</figcaption></figure><p>The code to generate the above plot is as follows:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2f1296f1afa9da1cbd63d95c5f4a7a8e/href">https://medium.com/media/2f1296f1afa9da1cbd63d95c5f4a7a8e/href</a></iframe><p>Let‘s explain the above snippet line by line:</p><ul><li>At first, as a shorthand, we include tikz within the optional parameters of our documentclass. Also, through the parameter margin = 5mm we ask LaTeX to insert a 5mm margin around our figure. One may however regularly include ti<em>k</em>z through \usepackage{tikz} as with any other package.</li><li>With \begin{document} and \begin{tikzpicture} commands we enter the document and ti<em>k</em>z environments, respectively.</li><li>The first important line of code is line 5. There, we draw a dashed grid starting from point (-2.99,-2.99) and extending (as a rectangle) up to point (2.99,2.99). By default, grids are considered to be rectangular and the two points provided correspond to the bottom left and top right corners of the rectangle, respectively.</li><li>The next two lines of code draw the two axes. Namely, we draw two thick lines that end with and arrowhead (-&gt;) starting from and ending to certain points.</li><li>At the end of each line we add a node to indicate the name of each axis. This is done through the node keyword, which we position using two parameters. The first one, pos=1, indicates that the node should be placed at the end (100%) of the line while the second one (below or left) determines node’s location relative to the endpoint of the line. At last, any code in curly braces, {…}, corresponds to the node’s text — which should always be provided, even if empty.</li><li>In lines 8 and 9 we draw two straight lines — those that correspond to the plot of our function.</li><li>In lines 10 and 11 we draw the two points appearing on our Figure, using two nodes. We can determine the drawing color of a node using the draw parameter, while if we would like to change a node’s fill color — which is none by default, so all nodes are internally transparent — we can use the fill parameter. Also, while ti<em>k</em>z nodes are considered rectangles by default, using the circle keyword we can change their shape to, well, circles. At last, the inner sep keyword determines the gap between the node’s text — here, empty — and the node’s border — in this case, it acts as the node’s “radius”.</li><li>Outside the rectangle braces, we provide the name of each node within parentheses, then determine its location in absolute coordinates using the at keyword and, at last, provide their text using {…}.</li></ul><p>There are two key takeaways from the above. To begin with, the abstract syntax of \draw is as follows:</p><pre>\draw[options] (...) &lt;shape&gt; (...);</pre><p>Within the options part, enclosed in rectangle brackets, […], we can pass several parameters, mostly concerning the styling of the drawn line. Then, using parentheses, we determine, usually through points, the starting and ending points of the corresponding line (in some relevant sense), while the shape parameter determines the lines shape. In our example, we have used rectangle, grid and -- as shape types, which correspond to rectangles, grids and straight lines.</p><p>The other important command we have learned about is \node which places a node on the plot. In general — but not strictly speaking — nodes serve as points, adhering to the following abstract syntax:</p><pre>\node[options] (name) at (position) {text};</pre><p>Again, anything regarding style goes to the options part. A node’s name is any string — including alphanumerical characters and spaces — that is used as a unique internal identifier for each node. The position of a node is usually given in Cartesian coordinates in the form (x,y) while a node’s text might be empty or contain some text / math content.</p><p>As an important disclaimer, observe that all drawing commands should end with a semicolon, ;!</p><h3>What Αbout Labels?</h3><p>What if we wanted to draw some shape like the following one, where we have included lots of labels?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/0*fVwAB9n0vIEP9q4a" /><figcaption>A nice rectangle.</figcaption></figure><p>You can figure out whose function’s plot that is, for sure, but can you write the code to generate it? If not, let us have a look at it:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/49cec95777ac3b06c7a6523b91d3a2e6/href">https://medium.com/media/49cec95777ac3b06c7a6523b91d3a2e6/href</a></iframe><p>As you see, there are some parts you can already recognize from our previous plot. However, we have introduced some new stuff as well.</p><p>To begin with, one might determine a grid’s step by providing the step parameter within the options of the \draw command, as seen above — by default, any values are interpreted as centimeters.</p><p>We have also provided some node labels through the label={}:{} option. But, why did we use that one instead of merely adding some text / math into the node’s “native” label, i.e., text? Well, the reason is that, by default, a node’s text is anchored to its center and moves around with it. However, in our case, what we wanted to achieve was to add some text next to each point to indicate its position on the plane. For this purpose, one might utilize the label={}:{} keyword, whose general syntax is as follows:</p><pre>label = {parameters} : {text / math}</pre><p>Parameters might be anything concerning relative positioning, anchors and many more that we will explore in subsequent tutorials. As for now, we have utilized left and right to position our labels left and right of their corresponding nodes — as you may suspect, there are also their vertical counterparts, above and below.</p><p>Note that we have also made use of the xfrac package to typeset inline fractions in a more elegant way — at least, in this case. This is achieved through the \sfrac{}{} command, which is used exactly as the regular \frac{}{} command for fractions.</p><h3>What else?</h3><p>Just lines and nodes. That’s all we have at the moment. But, well, it seems we can already do plenty of things using just them. There are several other things that ti<em>k</em>z offers us, however. For instance, the tools we have presented so far do not suffice for drawing a more complex plot — e.g., that of a cosine. But, don’t be impatient, we shall cover all this stuff sooner or later.</p><p>So, till next time, keep drawing!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b1d0891f85ed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Peculiar Limit]]></title>
            <link>https://billmarkos.medium.com/a-peculiar-limit-392415952986?source=rss-5150e975c9ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/392415952986</guid>
            <category><![CDATA[calculus]]></category>
            <category><![CDATA[math]]></category>
            <category><![CDATA[function]]></category>
            <category><![CDATA[mathematics]]></category>
            <dc:creator><![CDATA[Bill Markos]]></dc:creator>
            <pubDate>Mon, 20 Mar 2023 17:22:30 GMT</pubDate>
            <atom:updated>2023-03-20T17:22:30.441Z</atom:updated>
            <content:encoded><![CDATA[<h4>A short story about cosines</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vBVo93H_AxYi0k-w" /><figcaption>Limits and speed are two interchangeably used terms in mathematics — Photo by <a href="https://unsplash.com/@mrthetrain?utm_source=medium&amp;utm_medium=referral">Joshua Hoehne</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>You know, probably the cornerstone of modern calculus are <em>limits</em>. So, it makes no surprise that some of the most interesting problems in mathematics are related to them. Today we are going to work with a really peculiar one…</p><h3>The “Casus Belli”</h3><p>I was working on a <a href="https://q-ctrl.com/topics/what-is-quantum-control">Quantum Control</a> problem the other day and I stumbled upon a quite neat limit:</p><figure><img alt="\lim_{n\to\infty}\cos^{2n}\frac{1}{2n}" src="https://cdn-images-1.medium.com/max/117/0*_UD4lsLw29MJy6vh" /><figcaption>Seems simple — and it truly is!</figcaption></figure><p>Nice and simple, one would say; and that is actually true. There are many ways to compute this limit, as, e.g., using these monstrous yet extremely powerful identities about <a href="https://mathworld.wolfram.com/TrigonometricPowerFormulas.html">powers of sines and cosines</a>, however we shall make use of a more common trick here. Consider the following function:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/135/0*oMYjP-VF2sRmDYoU" /><figcaption>When does this expression make sense?</figcaption></figure><p>Evidently, one has to be quite careful with functions that involve variable exponents, since they are not always well defined. In our case, let’s have a quick look on the plot of cosine around zero:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/416/1*Xd9SsC0W1amvHRxlS0w3Ew.png" /><figcaption>The plot of <em>cos </em>x around zero — plot generated with <a href="https://www.desmos.com/calculator">desmos</a>.</figcaption></figure><p>As you may easily observe, cosine takes strictly positive values around zero, so <em>f(x)</em> is well defined there. Let’s now consider the following limit:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/205/0*V820ra8Zs16UipNF" /><figcaption>You see where this is going, right?</figcaption></figure><p>Probably the most usual way to tackle limits that involve variable exponents is by taking advantage of logarithms and their amazing ability to handle them. So, let’s consider the following limit:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/377/0*KrcT10lu40eaSOD1" /><figcaption>No more tricky exponents!</figcaption></figure><p>Observe how this limit is of a really well-known form: zero over zero. Such limits are easily computed using a bit of algebra and de l’Hôspital’s rule. Namely:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/278/0*3JerhQcmPqrhUgi5" /><figcaption>Classy, right?</figcaption></figure><p>Given that, we can easily compute the limit of <em>f</em> to zero, since:</p><figure><img alt="\lim_{x\to0}f(x)=\lim_{x\to0}e^{\ln f(x)}=e⁰=1." src="https://cdn-images-1.medium.com/max/281/0*RVwhAW0rV9AChEfk" /><figcaption>Nice and clean result.</figcaption></figure><p>Now, where did all this start? Scroll a bit up and you see that we wanted to compute the limit of the following sequence:</p><figure><img alt="\lim_{n\to\infty}\cos^{2n}\frac{1}{2n}" src="https://cdn-images-1.medium.com/max/117/0*_UD4lsLw29MJy6vh" /><figcaption>Do you remember me?</figcaption></figure><p>Since the limit of <em>f </em>to zero exists, and the sequence <em>1/2n</em> converges to zero, we can directly infer that:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/0*E7VdITYdC8Yn38wK" /><figcaption>Ha! We got that really fast!</figcaption></figure><h3>The Start of the “War”</h3><p>Okay, we computed a nice limit, quite quickly, and we can move on with our lives, can’t we?</p><p>Well, that’s not how mathematicians think — at least most of the times. Once we are done with a problem, it seems like natural for a mathematician to ask “Yeah, but <em>why</em> did this thing work?”. So, let us meditate on the above for a little bit…</p><p>[Let that “little bit” pass…]</p><p>Okay, back from our meditative break, we can make some comments about the above limit. To begin with, the limit has the following more general form:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/113/0*Che_2puDxIYSh2hK" /><figcaption>Well, there was a “2” there, but, you know, constants do not matter that often, do they?</figcaption></figure><p>In the above example, <em>f</em> was a mere cosine but things might be much worse, for sure. Another interesting property of <em>f</em> is that <em>f(0)=1</em>, which is actually no coincidence, since the limit we end-up with is also 1<em>.</em></p><p>But, not all functions such that <em>f(0)=1</em> can lead to the above limit being equal to 1 — alas, it might not even exist! So, there are some other missing conditions that may ensure that given a function <em>f </em>such that <em>f(0)=1 </em>and *something else* then:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/154/0*h8QAeZHL6ynHPtPg" /><figcaption>This is our goal, remember!</figcaption></figure><p>Let’s start our investigation!</p><h3>First Try: A Common Thought</h3><p>All this thing about functions and limits being equal brings to mind continuity — which, in most cases, boils down to exactly this. So, we might first consider continuity as that missing condition.</p><p>Whenever we consider a hypothesis, we have to choose between two paths:</p><ul><li>Are we going to prove this hypothesis?</li><li>Are we going to disprove this hypothesis?</li></ul><p>In case we have some strong intuition that our hypothesis works, we can start by trying to prove it. But, in this case, do we?</p><p>Well, even posing that question, it means that we don’t. So, let us try to think of some examples at first, to get a better grasp of what’s going on. Consider the following function:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/115/0*BfMzUSMFLqMU8rmB" /><figcaption>How simpler could things be?</figcaption></figure><p>Then, the desired limit is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/339/0*Py2REeB6grisZ60f" /><figcaption>Okay, that went really bad…</figcaption></figure><p>As you might recall <em>1/e</em> is significantly less than one, so all our thoughts seem to have been in vain.</p><p>But, hey, a failure in mathematics can be really informative. To begin with, let us have a look at the plot of this function, compared to cosine’s:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*JFhQI8acjfcB3HycPrz3Qw.png" /><figcaption>y = cos x (red) and y = 1-x (green).</figcaption></figure><p>Now, consider the limit we are trying to compute. As one might observe, <em>f(1/n)</em> vanishes while <em>n</em> grows indefinitely, which means that, given that <em>f(0)=1</em>, it gradually approaches 1. However, adding an exponent to this makes things wildly different. As you might already know, while exponentiation tends to make large numbers larger, this is not the case when it comes to small ones — where “small” means “less than 1”. Indeed, observe the following plot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/346/1*dFxQCeB1hOh8yzETW_DSsA.png" /><figcaption>Various powers of x in [0,1].</figcaption></figure><p>The straight line corresponds to <em>y = x, </em>while the rest represent increasingly larger powers of <em>x </em>(the purple one being the largest). Observe how most numbers in (0,1) virtually vanish once raised to a large enough power.</p><p>So, there seems to be a trade-off here, where a function needs not only to converge to 1 as we approach 0, but this has to be done relatively <em>fast</em> so as to cancel out the lowering effects of exponentiation.</p><h3>Second Try: The Expected Step Forward</h3><p>Okay, we have made a point out there, about speed of convergence. If you scroll a bit up, you shall see how, indeed, cos <em>x</em> converges much faster to 1 than <em>1 — x </em>as we approach zero, so our argument above makes sense. A way to ensure speed, in some sense, seems to be to demand our function to be <strong>strictly concave — </strong>that is, at each point its values should be greater than any segment joining two of its plot’s points.</p><p>For instance, let us consider the following function:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/123/0*2vlZQLAIxFAV0LYu" /><figcaption>Okay, almost like before, just a bit faster.</figcaption></figure><p>Its plot, compared to cosine, looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/534/1*sicubJsvltE5Jq1P6E5lLw.png" /><figcaption>cos x (red) and f(x) (green).</figcaption></figure><p>Okay, this might seem a bit slower than cosine but, again, definitely faster than our previous try. Our limit in this case translates to:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/385/0*AG63EUxsnqB2AlDK" /><figcaption>Seems familiar…</figcaption></figure><p>The innermost parenthesis is quite familiar; indeed, it converges to <em>1/e</em>. But, what happens when we take the <em>n</em>-th root of a convergent sequence? Well, we know from calculus that for any positive number <em>a</em> the following holds:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/111/0*SjZx_fu7ZDLjsIH9" /><figcaption>One of the most useful common limits.</figcaption></figure><p>In a similar fashion, since we already know that:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/210/0*YnSMmze-fehwDrb7" /><figcaption>Another useful limit.</figcaption></figure><p>we also know that after some certain integer <em>N</em>, it holds that:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/208/0*-E1Uov50cqAeQAn6" /><figcaption>Essentially, any convergent sequence is finally arbitrarily close to its limit.</figcaption></figure><p>Then, taking <em>n</em>-th roots to all parts we get:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/293/0*HBk65rKNaG5fSYSW" /><figcaption>Again, you see where this goes…</figcaption></figure><p>So, since both the LHS and the RHS of the above inequality converge to 1, the same applies to the “sandwiched” part of the inequality. We have finally arrived to our goal:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/394/0*2shX5KFgpg9RTEQL" /><figcaption>Okay, we’ve got two functions now.</figcaption></figure><p>Observe how the square term is not that significant in the following sense. Consider the following functions, where <em>r &gt; 1</em>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/129/0*tP9jWP3RXWTfIVqO" /><figcaption>Another group of nice concave functions.</figcaption></figure><p>Let us have a look at some of their plots, below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*J3XFY5qGee0wu8GDvSvnNg.png" /><figcaption>r = 0 (red), r = 1.2 (purple), r = 2 (blue), r = 4 (green).</figcaption></figure><p>As you might have observed, the interesting cases are when <em>1 &lt; r &lt; 2</em>, i.e., when we consider a function faster than <em>1-x</em> but not “that fast”. So, let us consider the same limit:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/388/0*zlMhaBERJuV1lHQ4" /><figcaption>I’ve already met you before, right?</figcaption></figure><p>Similarly, the innermost parenthesis converges to <em>1/e</em> while again, taking these strange quasi <em>n</em>-th roots doesn’t change our argument that much. So, again, we get:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/154/0*WT8H-CdaBIe8AdVN" /><figcaption>Oh, yeah, now we’ve got infinitely many!</figcaption></figure><p>Okay, so, it seems as if concavity is what we needed, since all functions we have tried so far have worked — more or less under the same argument.</p><p>So, shall we try to prove our result?</p><h3>Third Try: The Catch</h3><p>No, to prove we shall not. The examples we have considered so far, while providing quite satisfying results, are of a very certain form. So, we should first try to consider a really slow strictly concave function. If you have a little experience with asymptotics and all that stuff, you have probably correctly guessed our next try:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/184/0*EzvWxwYTRRjlxeV9" /><figcaption>Of course, logarithms…</figcaption></figure><p>To have a quick look on how slow things are, let us compare this with our all time slow try so far; <em>1-x</em>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/924/1*kIHVoGOI-HA4BYvq8w3LYA.png" /><figcaption>f(x) (red), 1-x (blue) and cos x (green).</figcaption></figure><p>Okay, things seem really bad in this case. Indeed, observe that:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/222/0*cSMKMceeRg2PyOjv" /><figcaption>It’s nice to have already proved some results.</figcaption></figure><p>So, in case the above limit exists, it must be at most <em>1/e</em> which is less than 1. So, (strict) concavity does not seem to be our much-sought missing condition. Indeed, while there are “hyper-linear” concave functions, they all have their slow counterparts, as with logarithms above.</p><p>But, if concavity is not what we need, what are we looking for then?</p><p>Let us have a closer look on concavity’s definition. Its formal definition is that a function <em>f </em>is strictly concave over an interval <em>I</em> whenever for any two points <em>x,y</em> of <em>I</em> and any <em>t</em> in (0,1) one has:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/343/0*9oAMqX1lYXMeD1sU" /><figcaption>The classical definition of concavity.</figcaption></figure><p>Intuitively, this is interpreted as in the following Figure:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/709/1*BX6ND88IiJ-fFhnrXj2ezQ.png" /><figcaption>A visualization of concavity’s definition.</figcaption></figure><p>Essentially, what the above definition tells us is that, given any two points on the plot of a concave function, each point between them is above any point of the line segment connecting these two points. This “betweeness” is captured by the parameter <em>t</em> we have introduced in the definition of concavity. So, the definition of concavity demands that the function has some certain sort of non-trivial curvature. However, as we have seen, this does not suffice.</p><p>But then, what would?</p><p>Well, when a concept is not strong enough to capture our intuition, we try to make it stronger by appropriate modifications. So, in this case, since we are trying to impose some certain sort of curvature onto our curve — hoping that this will also increase convergence speed — we might try to demand something better than “just” super-linear curvature.</p><p>A step towards that direction might be the following modification of concavity’s definition:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/521/0*8KLq4AuU8zNbjQOp" /><figcaption>Just another term — where it all begins.</figcaption></figure><p>In the above, <em>a </em>might be any positive real number. If you have a closer look on the above equation, you might see that we have just added another term, this time of square order with respect to <em>t</em>.</p><p>So, let us again get some intuition about that definition. As we said above, in the usual definition, we ask for our functions curvature to be non-trivial. In this case, we ask for something more, as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/590/1*AuOcH5hJ3DZ3D87J38MApA.gif" /><figcaption>Interpreting the definition of strong concavity.</figcaption></figure><p>Let us explain what we are seeing in the above Figure. At first, we have fixed two points, in this case (0,1) and (1,0) and have connected them in two different ways:</p><ul><li>the green line is a plain old straight line;</li><li>the blue line is a <em>parabola </em>connecting those two points with (0,1) being its peak point.</li></ul><p>The red dashed line is the curve described by the RHS of strong-concavity’s definition, with <em>a </em>varying from 0 up to 2. Observe how the closer <em>a</em> is to 0 the more our refined definition resembles that of typical concavity. On the other hand, the larger <em>a </em>gets, the closer we move to a parabola — in terms of curvature. So, depending on the value of <em>a</em>, a strongly concave function might be really… curvy.</p><p>But, again, does this suffice?</p><h3>A Cliffhanger</h3><p>You might now expect a proof that strong concavity leads to the desired limit equaling 1. But, we shall discuss more about that in our next story. In the meantime, you can share your thoughts on whether this is going to work in the comments section.</p><p>Until next time, stay tuned!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=392415952986" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Into the Mind of an Abused Child]]></title>
            <link>https://medium.com/the-book-cafe/into-the-mind-of-an-abused-child-9fed68775e05?source=rss-5150e975c9ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/9fed68775e05</guid>
            <category><![CDATA[abuse]]></category>
            <category><![CDATA[books]]></category>
            <category><![CDATA[novel]]></category>
            <category><![CDATA[book-review]]></category>
            <category><![CDATA[family]]></category>
            <dc:creator><![CDATA[Bill Markos]]></dc:creator>
            <pubDate>Thu, 28 Jul 2022 05:25:02 GMT</pubDate>
            <atom:updated>2022-07-28T05:25:02.766Z</atom:updated>
            <content:encoded><![CDATA[<h4>A review of Michael Kimball’s “Dear Everybody”</h4><figure><img alt="A boy with a piece of tape on its mouth." src="https://cdn-images-1.medium.com/max/1024/0*YPvmcOkj75J8ycuZ" /><figcaption>Photo by <a href="https://unsplash.com/@simmerdownjpg?utm_source=medium&amp;utm_medium=referral">Jackson Simmer</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Can you think of a book you would read even if you were told the entire plot at a significant level of detail from the very beginning? Michael Kimball’s “Dear Everybody” is surely a good candidate for that.</p><h3>The Plot</h3><p>Jonathon Bender, the book’s main character, suicides. Before departing this life, however, he comprises a list of letters and writings regarding anything that mattered the most to him: letters to friends and relatives, or to his old school, psychological assessments, old notebook pages, his will. Everything that he would like to tell the world but he didn’t manage to is there. Through these glimpses of his past, Kimball allows us to fill in the details and draw any conclusions needed about Jonathon and his relation with everyone and everything surrounding him.</p><h3>The Characters</h3><p>Instead of a typical table of contents, this book starts right away with a timeline, were all milestones in Jonathon’s life are briefly described. This naturally shifts our focus away from the plot itself, allowing for more intrinsic parts of the book to come to our attention at first read. Probably the book’s stronger point in terms of writing is how characters are finely woven throughout its course. Coming to know most central characters from their writings — as well as Jonathon’s impressions of them — is a difficult writing exercise, yet executed perfectly by Kimball.</p><p>Indeed, Kimball’s writing is vastly empathetic. Any piece of writing included into Jonathon’s ultimate collection is written in a way convincingly original, unveiling various subtleties of the emotional state of their writer. Jonathon’s letters are written as if indeed someone composed them a little before they died. All his life memories, many seemingly insignificant to us, emancipate from everything that kept them captive, put into words in a way that only one who has nothing lose would. There is a strange clarity, a fierce honesty, in the way Jonathon writes. He makes claims in full confidence, he is open to admit anything, so long as he seems to believe it.</p><p>Throughout the book, Jonathon’s brother, Robert, interferes to clarify that many things have not been as described by his brother. However, the way he does so is often quite fragile; he seems to be in limbo, shocked by Jonathon’s recollections of their childhood and his own, romanticized, memories of it. This builds a silent tension between the two brothers, a tension that contributes to their many differences: alive and dead, conformed and defiant, captive and liberated. It is as if the two brothers have an ironically vivid argument through Jonathon’s letters and Robert’s comments on them. One that Robert can’t win.</p><p>Alice and Tom, Jonathon’s parents, provide another source of, mostly unresolved, conflict. Interestingly enough, Tom’s rationale on his fundamentally abusing behavior against his family is often and clearly demonstrated through excerpts of discussions with Robert. While usually exasperating, Tom’s way of thinking sheds more light to the motivation behind Jonathon’s and Alice’s actions. Moreover, juxtaposing the mindsets of both the abuser and the abused presents the reader with a rare chance to delve into such detail in the anatomy of such relations. Deliberately or not, Kimball manages to bring to surface some deep twists in abusive relations with terrific precision.</p><p>Alice, Jonathon’s mother, introduced to us through her diary entries that Robert has chosen to present alongside Jonathon’s letters, is probably one of the most important figures in this book. She serves as a silent companion of Jonathon, taking care of him in ways that slip her husband’s attention. In a Biblical analogy, Alice constantly prepares for the Exodus of her family from the tyranny of Tom. Indeed, the “exodian” sense of her actions is prevalent throughout her thoughts. At first mildly hinted and then explicitly stated, she awaits for the time both her children will be away; then she is allowed to escape.</p><h3>The Writing</h3><p>As discussed above, Kimball manages to perfectly capture and describe the personalities of all his characters, building their portraits, word by word, sentence by sentence. All four main characters, as well as many secondary ones, are illustrated finely through their and the other’s writings about them. Echoing Raymond Queneau’s <em>Exercises in Style</em>, Kimball adopts different writing identities to often describe the very same event from different perspectives. However, in contrast to Queneau’s book, the goal is not to praise the immense expressive capabilities of human language — in a mostly humorous way. On the contrary, it is the depth and complexity of the abuse that is so eloquently stressed.</p><p>Throughout the book, the “implicit author” is considered to be Jonathon’s brother. This choice serves as a means to further underline the contrast between the apparent and the factual truth. Robert is found to be often appalled by his brother’s descriptions, rejecting them as overly unrealistic figment’s of his imagination. Nevertheless, there are cases where he — directly or not — comes to dispute his own recollections of their past. Over the time, we see Robert moving from negating the past to silently being convinced about the truth of his brother’s writings. This shift, executed again perfectly by Kimball, contributes further to the juxtaposition of what “is” versus what “seems to be”.</p><p>Another interesting feature of Kimball’s writing is succinctness. Most letters are quite short, yet quite dense in their meanings. However, there are no “tough” words used. The way all main characters express themselves is quite simple, resembling everyday language anybody would use. This contributes even more to building up proximity with them, making their stories all sound quite familiar.</p><h3>Concluding</h3><p>Compelling, emotional, deep: Kimball’s third book is probably one of the best shots to capture abusive relations. All parts are given their time to express their intentions, their thoughts, their motives. The entire book is a well-studied but steep introduction to how “things can go bad”. It seems like a next-door story, which however is crowned with a suicide.</p><p>A chance to question a lot and, hence, a good candidate for your summer reading list, <em>Dear Everybody</em> is definitely worth reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9fed68775e05" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-book-cafe/into-the-mind-of-an-abused-child-9fed68775e05">Into the Mind of an Abused Child</a> was originally published in <a href="https://medium.com/the-book-cafe">The Book Cafe</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Choosing the Right Path]]></title>
            <link>https://medium.com/math-simplified/choosing-the-right-path-acb1d836e83d?source=rss-5150e975c9ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/acb1d836e83d</guid>
            <category><![CDATA[tips]]></category>
            <category><![CDATA[limits]]></category>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[calculus]]></category>
            <category><![CDATA[tips-and-tricks]]></category>
            <dc:creator><![CDATA[Bill Markos]]></dc:creator>
            <pubDate>Fri, 15 Jul 2022 15:02:44 GMT</pubDate>
            <atom:updated>2022-07-15T15:02:44.542Z</atom:updated>
            <content:encoded><![CDATA[<h4>Some tricks for frightening multivariable limits!</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*J0pUO9cvkvD7pADK" /><figcaption>Photo by <a href="https://unsplash.com/@helloimnik?utm_source=medium&amp;utm_medium=referral">Hello I&#39;m Nik</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Single variable limits can be from quite simple to extremely difficult. However, one way or another, most of us are accustomed to the most common limit calculation techniques. Yet, the same may not be true for their multivariable counterpart. Indeed, while single variable calculus matters are usually thoroughly covered at an undergraduate level, the same is not always true when it comes to multivariate entities. Consequently, most students have had the chance to build up a rich and diverse arsenal of techniques regarding limits such as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/159/0*BwyLwPvOLue5W4WI" /><figcaption>A simple single variable limit.</figcaption></figure><p>but they were not provided with that many opportunities to get to know limits like the following one:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/176/0*ZK1Yy_floix8FTXc" /><figcaption>An equally simple two variable limit.</figcaption></figure><p>In this post we are going to explore some simple tricks that may help us build intuition about multivariable limits — or, at least, learn some tricks to easily decide whether a limit exists or not in several cases.</p><h3>Taking different paths…</h3><p>Let us consider a two-variable limit:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/167/0*9SVMsF0REK0FAS9O" /><figcaption>An even simpler two variable limit.</figcaption></figure><p>There are two possible scenarios:</p><ol><li>the above limit exists and is either a real number of infinity and;</li><li>the above limit does not exist at all.</li></ol><p>It would be nice to have a simple rule of thumb to choose which case we should explore first so as to save some time. The above limit is one of the following form:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/160/0*As-OXETszCdJdWaZ" /><figcaption>The limit of a multivariable rational function.</figcaption></figure><p>In the above, both <em>p</em> and <em>q</em> are two-variable polynomials. A nice rule of thumb for such limits is to check the degrees of the two polynomials. In case the denominator’s degree with respect to both <em>x</em> and <em>y</em> is greater than or equal to that of the numerator, then possibly the limit does not exist — provided, of course, that it is of some indefinite form such as 0/0. On the contrary, in case the denominator’s degree is less than the numerator’s, then it may be wiser to examine whether the limit exists first.</p><p>Of course, the above are not written in stone, however they let us easily choose a line of attack in several occasions. For instance, in the above limit, our rule of thumb says our limit might not exist. So, we may try to prove this first. A common trick is to show that the desired limit either does not exist on a certain path or that it exists over two paths but results in different values. So, let us consider some straight lines passing through <em>O(0,0):</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/71/0*bW9c1s9Qqar8yygp" /><figcaption>A family of nice straight lines!</figcaption></figure><p>Over these lines, for some fixed <em>λ,</em> <em>f</em> has the following form:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/554/0*Ucz3dTlkGVFwAllT" /><figcaption>Simple and elegant, as all important math results!</figcaption></figure><p>From the above it is easy to check that, indeed, <em>f</em> converges for all values of <em>λ</em> but to some different constant. Indeed, let at first <em>λ=1</em>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/344/0*51sSszgIDD9LgvlQ" /><figcaption>That was an easy one.</figcaption></figure><p>Also, for <em>λ=2</em> we have:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*M6sOZbQRakIyWVhc" /><figcaption>That was also an easy one.</figcaption></figure><p>So, since <em>f </em>converges to two different values on two different paths approaching <em>(0,0)</em>, its limit does not exist!</p><h3>What about infinity?</h3><p>Let us now consider another limit, namely, the following one:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/167/0*YO3VN58m1fNpJKZ-" /><figcaption>A limit quite similar to the previous one…</figcaption></figure><p>The rule of thumb we have mentioned above tells us to examine first whether this limit exists, since the denominator seems to converge faster to <em>0</em> than the numerator. However, as we shall see soon, the above limit does not exist, either!</p><p>Let us try the trick we tried above, so, let us again consider the same straight lines and examine our function’s behavior, let <em>f</em>, on them:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/321/0*MmFbtWDSSaSmpW0f" /><figcaption>Impressively simple!</figcaption></figure><p>Now, observe that for <em>λ=1 </em>we have:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/264/0*fbn0qxICZ6kPUlYg" /><figcaption>A nice positive infinity.</figcaption></figure><p>while for <em>λ=0 </em>we get:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/137/0*2I-AQksIiestE2XW" /><figcaption>Straight-up result.</figcaption></figure><p>Evidently, our limit does not exist in this case either, since over different paths we obtain different results.</p><h3>Does this always work?</h3><p>As with many Math tricks, this one does not always work as expected. For instance, consider the following limit:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*TVenbuIIkHsRXREJ" /><figcaption>Seems easy, right?</figcaption></figure><h4>Wrong paths…</h4><p>Here, again, we are prompted by our little trick to examine first the case that the rule does not exist. Charging from our previous examples, we again try some straight paths:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/316/0*g1m-vVSraUzPagN1" /><figcaption>That sneaky x in the denominator…</figcaption></figure><p>In this case, letting <em>x</em> vanish, we observe that:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/179/0*PLlw7Rc9r2LmWZ43" /><figcaption>Troubles in paradise…</figcaption></figure><p>since the resulting fraction is always non-negative, while its denominator vanishes to zero. So, what should we do now? Look for other paths? Or maybe start working on computing the limit, assuming that it exists?</p><p>In general, it is a good strategy to work with a few different path families before we quit this approach. Apart from lines, another quite popular choice are paths of the form:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/140/0*NAc0hK0TvwsjpccC" /><figcaption>Simple power laws.</figcaption></figure><p>Such paths correspond to power laws and are in general quite useful most of the times. Observe how straight lines are just a trivial case of power laws, for <em>p=1</em>.</p><p>Back to our limit, what value of <em>p</em> should we choose in our case? Well, it doesn’t matter a lot in this case, since for any value of <em>p </em>we have:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/557/0*OmLLxj8nVec2GZxb" /><figcaption>Too complex?</figcaption></figure><p>The above, for any value of <em>p</em> greater than or equal to 1 converges to positive infinity, as <em>x</em> vanishes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/377/0*kmkgvjXMX-cIA3Nn" /><figcaption>Nothing useful, so far.</figcaption></figure><p>However, what about <em>p&lt;1</em>? Let us try <em>p=0.5</em>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/324/0*yJ5UMqoshy2jagen" /><figcaption>Something interesting is going on here…</figcaption></figure><p>Let us choose <em>λ=1. </em>In this case, we have:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/177/0*ZlKGKq8KX7ASWqkm" /><figcaption>Again, positive infinity…</figcaption></figure><p>Observe at this point that it doesn’t make sense to take limits for negative values of <em>x </em>since we are working along the path:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/69/0*8x-kjuooof5koIrV" /><figcaption>A half-parabola.</figcaption></figure><p>So, any values of <em>x</em> must be non-negative.</p><h4>Proving the limit exists</h4><p>Regardless of how much we try, none of these paths will lead to a different result. So, we might try to prove that the limit exists and, given all the hints we have above, that actually:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/215/0*y5siGDMVQzjDfkAA" /><figcaption>Does this hold?</figcaption></figure><p>So, it suffices to prove that:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/160/0*hlEhOUQ7WASo5mB0" /><figcaption>Our target inequality.</figcaption></figure><p>for some “nice” function <em>g(x,y)</em>. Here, by “nice” we refer to all these simple two-variable functions that converge to infinity close to <em>(0,0).</em> Inspired from <em>f</em>, we might choose:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/155/0*-cEpXl9IDKZWmCZI" /><figcaption>Probably the simplest yet reasonable choice.</figcaption></figure><p>Observe now how this indeed works:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/386/0*k8W5lgeA87XSg17G" /><figcaption>We’re just an identity apart from our goal!</figcaption></figure><p>The above is obviously true, since:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/0*po34k7cFvURExbik" /><figcaption>Phew! We’re there!</figcaption></figure><p>So, indeed, our limit diverges to infinity.</p><h3>Closing remarks</h3><p>While explicitly working with rational functions, the above tricks may well be utilized in limits that reduce to ones of rational functions. For instance, consider the following limit:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/174/0*pITAdRlXO_ERWcDv" /><figcaption>Weren’t we done with trigonometry?</figcaption></figure><p>While this is not a rational function, we may re-write it as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/431/0*V2S2rXunK0fkT0qe" /><figcaption>To make matters worse…</figcaption></figure><p>In the above, the left fraction is known to converge to <em>1</em>, while the right fraction may be shown to diverge with the tricks we have presented above — write your solutions in comments!</p><p>Till next time, keep mathing!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=acb1d836e83d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/math-simplified/choosing-the-right-path-acb1d836e83d">Choosing the Right Path</a> was originally published in <a href="https://medium.com/math-simplified">Math Simplified</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Where’s Math?]]></title>
            <link>https://medium.com/math-simplified/wheres-math-44e416de6746?source=rss-5150e975c9ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/44e416de6746</guid>
            <category><![CDATA[inquiry-based-learning]]></category>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[mathematics-education]]></category>
            <category><![CDATA[teaching]]></category>
            <category><![CDATA[opinion]]></category>
            <dc:creator><![CDATA[Bill Markos]]></dc:creator>
            <pubDate>Mon, 11 Jul 2022 16:57:13 GMT</pubDate>
            <atom:updated>2022-07-11T16:57:13.669Z</atom:updated>
            <content:encoded><![CDATA[<h4>Or how Mathematics are not meant to be useful.</h4><figure><img alt="A magnifying glass on a light blue background" src="https://cdn-images-1.medium.com/max/1024/0*yHWvQhdTJ5lc1dcB" /><figcaption>Photo by <a href="https://unsplash.com/@markuswinkler?utm_source=medium&amp;utm_medium=referral">Markus Winkler</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Isn’t the apparent absence of Mathematics in your everyday life shocking? Come to think of it, and you will soon realize that, apart from some elementary arithmetic, there is almost no other Math in your everyday routines. Surprisingly enough, however, we — Mathematics educators — insistingly try to convince our audiences that Math is everywhere.</p><p>There is a current trend in Mathematics Education, regarding everyday applications of Math and how they may be utilized in classroom in various ways. Stemming mostly from <a href="https://www.edutopia.org/blog/what-heck-inquiry-based-learning-heather-wolpert-gawronhttps://www.edutopia.org/blog/what-heck-inquiry-based-learning-heather-wolpert-gawron">Inquiry-Based Learning</a> (IBL), such approaches tend to utilize a certain application as a motivation behind exploring a certain area of Mathematics. By doing so, one is expected to:</p><ul><li>cultivate a positive stance from students towards Math;</li><li>grab students’ attention;</li><li>increase student in-class involvement…</li></ul><p>…and several other things that you may find in any decent IBL related resource.</p><h3>An Often-ignored Dichotomy</h3><p>Finding ways to motivate students study Math — or any field of study — is probably the most benign motivation behind adopting a certain teaching practice. However, intentions are not always finely coupled with results, and this might often be the case with heavily “practically-oriented” Math teaching.</p><p>Before we continue, let us consider a simple everyday scenario. You are about to change your Mobile Service Provider (MSP), considering the various options available. Clearly, each MSP’s pricing might be precisely modeled as a function of your monthly talking time, so, comparing MSPs reduces to comparing the corresponding functions’ plots on the talking-time-against-cost plane.</p><p>While mathematically sound — and often used as a standard introductory problem to functions — how close is this to everyday practice? Instead of delving into the slippery slope of functions, you most probably would just compute your average monthly charge for each MSP and then pick the one that suits you best. So, no functions and, consequently, no Math, other than practical arithmetic and common sense.</p><p>The above example, while deliberately simple, clearly illustrates a weak point of providing everyday-life motivations to Mathematics. Even if useful in grabbing the students’ attention, they often lead to quite unrealistic approaches in simple tasks, which typically would require no further elaboration. As such, they end up shifting students’ interest away from Mathematics in the long run, since they appear to offer an unnecessarily complicated approach to reality.</p><p>In fact, such cases unveil a significant dichotomy that often goes unnoticed by educators. While Mathematics are present in various circumstances <em>implicitly</em>, there is no <em>explicit</em> need for them to come to the forefront. This is actually nothing more than restating <a href="https://www.merriam-webster.com/dictionary/Occam%27s%20razor">Occam’s Razor</a>: “Keep it simple”. When choosing a problem or scenario to serve as a motivation to introduce a new area of mathematics, this problem should not be easily solved by other known — and, thus, simpler — means. Introducing novel and complex tools to solve old and well-studied problems is, the least, backwards, don’t you think?</p><h3>Wrong Motivation</h3><p>Mathematics are thought to have emerged from the need of people to measure the world around them: how many acres is the size of a field, or how many tonnes of wheat was this year’s harvest might have been questions that led people to crawl their way to arithmetic. Evidently, Mathematics are of a quite practical descent, which has vastly shaped their development throughout history. However, there is also a “Math for the sake of Math” component in that long-lived saga. Mathematics tend to deviate from their practical origins quite often, over-abstracting things and exploring alien fields of thought, just for the —often questionable — fun of it.</p><p>This tendency to escape from everyday worries and run carefree in the weirdest valleys of thought is what has allowed mathematicians to develop — or <em>discover</em>, depending on your proximity to <a href="https://en.wikipedia.org/wiki/Platonism/">Platonism </a>— what now serves as the underlying language of all natural sciences. Indeed, the abstract nature of Mathematics allows for complex, yet universal, statements about the world to be voiced succinctly and with a significant amount of clarity, most of the times. Were Math less abstract and more tied to the physical reality, and that expressive flexibility would have vanished.</p><p>Back to Mathematics Education and motivation, what are the chances that we have missed the point in how we motivate our students to study Math? Providing only “practical” motivation is like click-baiting them: We promise a science that is implied to be more earthbound than it could ever be. As <a href="https://www.maa.org/external_archive/devlin/devlin_03_08.html">Paul Lockhart</a> has pointed out in his <a href="https://www.maa.org/external_archive/devlin/LockhartsLament.pdf"><em>Lament</em></a>, teaching art cannot be based on art’s “usefulness”; and the same applies to Math. Part-art and part-science, Mathematics cannot be taught based solely on how useful they may or may not be. Hiding their abstract, wild and inherently artistic nature is like conceding math to an endless and strikingly pointless utilitarianism.</p><h3>Rethink, we shall</h3><p>As remarked above, there is nothing wrong with IBL in the first place. Actually, the idea to draw inspiration from outside Mathematics to motivate their study is brilliant. But, aren’t Mathematics rich enough to provide intrinsic motivation for their study, as well? Humanity has been doing Math for millennia based on both its everyday experience and the abstract impressions of the world Mathematics have helped us build. Why not teach Math in the same way? Instead of looking at, often absurd, everyday “applications” of Mathematics where they do not actually exist, why not look everywhere, including in Math itself?</p><p>Artists may seek inspiration anywhere. Mathematicians, standing amidst science and art, have to.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=44e416de6746" width="1" height="1" alt=""><hr><p><a href="https://medium.com/math-simplified/wheres-math-44e416de6746">Where’s Math?</a> was originally published in <a href="https://medium.com/math-simplified">Math Simplified</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Inspiration Well]]></title>
            <link>https://medium.com/the-brave-writer/the-inspiration-well-f9d83707a10c?source=rss-5150e975c9ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/f9d83707a10c</guid>
            <category><![CDATA[motivation]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[creativity]]></category>
            <category><![CDATA[thoughts]]></category>
            <category><![CDATA[inspiration]]></category>
            <dc:creator><![CDATA[Bill Markos]]></dc:creator>
            <pubDate>Mon, 23 May 2022 10:28:57 GMT</pubDate>
            <atom:updated>2022-05-23T10:28:57.051Z</atom:updated>
            <content:encoded><![CDATA[<h4>Let your ideas grow on their own</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*445dSCwf8OroWh-B" /><figcaption>A deep well; your subconscious — Photo by <a href="https://unsplash.com/@valentinlacoste?utm_source=medium&amp;utm_medium=referral">Valentin Lacoste</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>I cannot tell on how many of my ideas I have not worked on yet. Actually, as years pass by, I barely start working on a new project the time it strikes me. It is not that I am not eager to explore new things or that I like procrastinating or whatever. Just, with time, I have figured out that often things don’t work the rushy way. It actually often seems that letting your thoughts aside every now and then actually facilitates their coming to life.</p><h3>Inspiration: A subliminal process</h3><p>I could not do better than quote Henri Poincaré on the nature of inspiration:</p><blockquote>“The subliminal self is in no way inferior to the conscious self; it is not purely automatic; it is capable of discernment; it has tact, delicacy; it knows how to choose, to divine.”</blockquote><p>Indeed, inspiration itself is a process you can’t control. No one can. You cannot say “I’ll have some great idea now” and, “boom!” this great project to change the world just came to life. Instead, we are all doomed — or blessed — to wait for these tiny magical moments to come, as per their wish, in the ways and forms they prefer to.</p><p>So, let’s adapt to it.</p><p>I have always been quite busy the last years, doing various things, often orthogonal to one another. As a result, several side-project ideas that come to my mind never reach a more serious level of discourse than a simple shower or subway thought. Yet, many of these projects have managed, to some extent, inexplicably, to come to reality.</p><p>Actually, there is no mystery in the above; it is just what Poincaré had described so many years ago. The subliminal self has its very own powers, its very own personality, its very own <em>temperament</em>. It works like a wishing well, most of the times. Just, instead of coins, you have to offer what you consider to be your most promising plans and wish for them to come true. And, as with wishes, if not all of them, then at least some will make it to meeting you again.</p><h3>Confidence, not passivity</h3><p>It might sound like just “wishing” for things to happen and then waiting for some sort of miracle is quite a passive, almost pathetic, way of spending your life. “Chase your dreams” has become one of the most prominent western mantras over the past few decades. But, chasing, while full of liveliness and passion for whatever the prey might be, is also a hasty, aggressive and, most importantly, stressful condition. It is no wonder that chasing your dreams may just let you lying burnt out for quite a lot of time.</p><p>But, what if, in some cases, you chose to not step up? What if you decided that this idea does not have a place in your present, at least not as it is? What if you left all this haste away for a while and focused on<em> what you already have</em>?</p><p>All this stream of new things we learn every day, the instant gratification mindset cultivated partly through social media, all that inconceivably fast-track stuff can easily turn you off. Most of the times, this eagerness for life becomes actually toxic — like anything at uncontrollably high doses. So, just close the door to what you cannot actually handle at the moment; let your subconscious do the hard job from time to time.</p><p>Letting your “subliminal self”, as Poincaré puts it, take care of some of your work is actually an act of <em>calmness</em>; an act of<em> confidence</em>. Because, instead of trying to control everything, even things you do not have the faintest trace of influence on them, you just trust yourself at a significantly deep level. You realize that, instead of agonizingly wasting your time upon every single thought, you’d better just actively focus on your “today”, while having another part of yourself siletnly worry for your “tomorrow”.</p><h3>A case study</h3><p>It must have been about four years that I have been working this way — i.e., pushing some of my ideas to the back of my mind and then waiting for them to rise up afloat, more mature. So, I think it might be useful to describe you how all this process works, at least for me.</p><p>At first, the most familiar setting for me the last several years is either working or studying. So, most ideas strike me while doing something else which, most of the times, is of remarkably higher importance than starting another blog about obscure theorems of mathematics or whatever. This naturally forces me just let most of my new ideas take a nap for a little more in my mind’s darkest corners — after all, a deep and long sleep is vital for all newborns, isn’t it?</p><p>The important part when pushing back stuff is not to let it go in your brain’s inner sanctum unaccompanied. Try to make some connections to things you already know or care about. Try to make some small but of critical importance thoughts about your newly born idea. Why would you enjoy it? Can you relate it to something you’re already doing? Is this somehow relevant to a person you know or something else in your life? Find anything you can tie your new idea with. Our brain is surely good at encoding and storing information, however helping it accommodate new knowledge with already existing one is thought to enhance recall — you can read a brief introduction on human memory <a href="https://human-memory.net/memory-recall-retrieval/#Recall">here</a>.</p><p>Once you have packed your idea with some nice connections, you can feel safe to forget it. Your subliminal will take on from this point. Anytime you find yourself in a position where this idea might be useful, in a place that relates to it or in a similar state as the one you first met your idea, it is quite possible — yet not sure — that it will come to your mind again. And, who knows, maybe this new setting is more fertile than the first time.</p><p>So, all in all, stop worrying. Start forgetting.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f9d83707a10c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-brave-writer/the-inspiration-well-f9d83707a10c">The Inspiration Well</a> was originally published in <a href="https://medium.com/the-brave-writer">The Brave Writer</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Long Way to Walk]]></title>
            <link>https://billmarkos.medium.com/a-long-way-to-walk-e6915f8e9c1f?source=rss-5150e975c9ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/e6915f8e9c1f</guid>
            <category><![CDATA[book-review]]></category>
            <category><![CDATA[books]]></category>
            <category><![CDATA[feminism]]></category>
            <category><![CDATA[novel]]></category>
            <category><![CDATA[korea]]></category>
            <dc:creator><![CDATA[Bill Markos]]></dc:creator>
            <pubDate>Tue, 03 May 2022 09:07:32 GMT</pubDate>
            <atom:updated>2022-05-03T09:07:32.832Z</atom:updated>
            <content:encoded><![CDATA[<h4>A review of Nam-Joo Cho’s “Kim Jiyoung, Born 1982”</h4><figure><img alt="“Feminism” written with purple spray on a walk, over two chairs." src="https://cdn-images-1.medium.com/max/1024/0*tpmBDpILvN2D-ISV" /><figcaption>Feminism — Photo by <a href="https://unsplash.com/@markusspiske?utm_source=medium&amp;utm_medium=referral">Markus Spiske</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Nam-Joo Cho’s <em>Kim Jiyoung</em> came as a bolt from the blue for me. Her writing style is so colorless, minimal and severely lacks ornamentation. All this leads to her words being quite impactful. When I first bought it, I thought it would be just another view on feminism, possibly with some Korean touch.</p><p>Yet Nam-Joo Cho’s masterpiece begs to differ.</p><h3>The plot</h3><p>A 33 year old woman, named Kim Jiyoung — which turns out to be the most common name in Korea — suddenly starts impersonating other women she has met in her life. Her husband, alarmed by this behavior, contacts a psychiatrist, who prescribes her some medication that is expected to help her staying more calm. At this point, the author, in a cold and distant manner, starts describing Jiyoung’s life, off from her childhood and all the way up to her present.</p><h3>The writing</h3><p>The entire novel is written using a quite distant third-person narration. It often gives the feeling of reading an article rather than a typical novel, a feeling cultivated also by the author often interrupting narration to provide facts about women and their social status in Korea— facts that are often further supported by relevant statistics provided by the Korean National Statistics Agency, further stressing that “articlish” scent.</p><p>While such a choice could have easily been disastrous, turning the entire book to a boring manifest, written on top of Jiyoung’s story, Nam-Joo Cho manages to keep a perfect balance. It feels like reading the script of a documentary, where the main plot is cleverly woven with facts necessary for non-Korean readers to fully gasp what is going on. This leads to a surprisingly vivid and concrete outcome — it took me about an evening of smooth and tireless reading to finish it and I could read more, for sure.</p><p>The above “reporting” style of writing is also highlighted by the surprising lack of ornamentation. Her words seem to be chosen in a way that conveys the desired message as compactly as possible. She does not seem to empathize with Jiyoung, at least not in the first place, which leaves plenty of room for the readers to decide themselves about how they feel towards her. While describing oftentimes quite devastating situations for her protagonist, she insists on presenting them as if she is just the <em>medium</em> through which the readers are allowed to peek throughout Jiyoung’s past — again, much like a more distant documentary narration.</p><blockquote>The events described speak for themselves and Joo-Nam Cho’s writing lets them be heard.</blockquote><p>Actually, there are a few occasions where the author takes the lead, expressing her views on the underlying issues. Nevertheless, she remains laconic; one or two sentences are most of the times enough to make her position clear or to stimulate thoughts.</p><p>Indicative of the distance Joo-Nam Cho takes from her hero is the fact that, at no point, does she actually make connections between Jiyoung’s present condition and her past. She insists on being just a third part — the narrator of her life — which again, allows for the readers to connect the dots and shape their own view on the matter.</p><h3>A hymn to feminism</h3><p>Being born and raised in a western society, one may not find many surprising facts about women oppression in <em>Kim Jiyoung, Born 1982. </em>The patterns exposed in Joo-Nam Cho’s book are pretty much common in most contemporary analyses of western feminism and how patriarchy in modern western societies has had severe impacts on women’s lives. What makes <em>Kim Jiyoung, Born 1982 </em>a significant addition to the above is the <em>way</em> this oppression is presented.</p><p>In a concise and systematic way, Joo-Nam Cho demonstrates a life that could not have led to any other outcome but for what we are already reading — or something of similar impact. The events described speak for themselves and Joo-Nam Cho’s writing lets them be heard. And for a good reason. This book, given the context in which it is written, could easily be considered a self-proving manifest of Korean feminism. Unsettling as it may be, it exposes in a profound way a tough truth: we still have a long way to walk in the path of gender equality.</p><p>Definitely, a must-read.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e6915f8e9c1f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your Life Does Not End At Thirty]]></title>
            <link>https://billmarkos.medium.com/your-life-does-not-end-at-thirty-63fa110e08ff?source=rss-5150e975c9ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/63fa110e08ff</guid>
            <category><![CDATA[quarter-life-crisis]]></category>
            <category><![CDATA[life-lessons]]></category>
            <category><![CDATA[adulting]]></category>
            <category><![CDATA[life]]></category>
            <category><![CDATA[post-grad-life]]></category>
            <dc:creator><![CDATA[Bill Markos]]></dc:creator>
            <pubDate>Sun, 01 May 2022 20:25:35 GMT</pubDate>
            <atom:updated>2022-05-01T20:25:35.976Z</atom:updated>
            <content:encoded><![CDATA[<h4>Or how to realize the best part of your life tends to be “today”</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wnfXHwU7V_SmOKsR" /><figcaption>Don’t let your mid 20’s be just a closet of dead ambitions — Photo by <a href="https://unsplash.com/@schwarzeweissheitenfotografie?utm_source=medium&amp;utm_medium=referral">J Taubitz</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>I have heard it a million times since I finished high-school: “These are going to be your best years!”. But, hey, why do I have to make such a commitment? Even better, why are even my mid 20s supposed to be “my best years”?</p><h3>The Myth of 25</h3><p>Being 25, you are at a stage when you have enough experience with life to make statements about it that are not always wrong. You are at a point where — in most cases — you either live on your own or are going to do so soon, you may have finished some part of your studies or have delved deeper into them. You may be working or chasing other dreams, but, in general, you are in what is often considered to be “the best time of your life”. From an external viewpoint, that’s correct. You are possibly healthy, your body is close to its physical peak, you stand on your own feet and go out there and do whatever you wish — usually, within some socially acceptable lines.</p><p>You know, based on the above, most people assume that people in their mid 20s have the power to perform miracles. They are adults, fully responsible for most things in their lives and, at the same time, have enough time for themselves — usually one starts a family later on in their life, if they even do so. So, in your mid 20s you are possibly self-sustained and free at just the right proportions.</p><p>Because, as a kid or a teenager you were entirely free from various perspectives but could not survive entirely on your own. Similarly, as you get older, you may become capable of taking responsibilities well above what classifies as “yourself” — be it your partner, your family, your job or whatever — but this <em>duties surplus</em> is exactly what makes you “less free”. So, this seemingly perfect harmony between your responsibilities and your freedom is what makes 25 and their neighborhood the perfect age to be around on Earth in this century.</p><h3>The Burden of the Myth</h3><p>But, hey, having identified a certain narrow period of one’s life as “the best” has a very sad implication. Everything other than you mid 20s is not “the best”. It might be good, it might me mediocre, it might just suck, but it is surely not “the best”.</p><p>So, you are condemned to live a life that, at its most part, is not “the best”. To add some more sadness, while you are waiting for your 20s to come, you know you have “the best” waiting for you out there. But, after that, there is nothing that will match this, so, while there might be good moments, they will always be inferior to your past. And I’m sure you will agree with me that there is nothing worse than knowing that you have left something so good behind you. Forever.</p><p>This is probably the major reason for almost anyone’s quarter-life crisis. We, as western developed societies, put so much stress onto this Myth, that we make anything else seem meaningless. After you leave your 20s, there’s no way back. Your life is just going to be a miserable compromise with the fact that your are here just to live the rest of it. Just exist. What you have ahead of you is a life that’s not going to be as thrilling and as amazing as your 20s. Gone are the years of your youth; Gone is a life you can only dream of now.</p><p>But, this exact realization has also an adverse effect on your “best years” as well. Because, if you are in you mid 20s, knowing that you have just this narrow time frame to live your life’s “actual” part, how can you not be stressed? How can you noτ be depressed <em>in the present</em> when you know that there is no “actual” <em>future</em>?</p><p>How can you live this “best” period of your life, under the burden of it being “the best”?</p><h3>Debunking the Myth</h3><p>I remember once watching a local TV channel. It was summer, early August, I had just returned from the first part of my vacations and was enjoying my time in the city — you know, 40 Celsius, everything boiling around you and you just lying on your couch in that I’m-not-sleeping-but-just-don’t-wake-me-up mood.</p><p>Anyway, there was that channel on TV and, actually, there was a show where a journalist was walking around the city asking people which do they think is the best age — an unexpectedly tough question, I’d dare to say. I guess you know what their favorite answer was: “25”.</p><p>However, there was one guy who made me smile. His dialogue with the journalist went something like this:</p><ul><li>(Journalist) What do you think is the best age?</li><li>(Guy) 23.</li><li>Wow, that’s too specific! Why is that?</li><li>You know… I’m 23 at the moment.</li><li>So, if I ask you next year…</li><li>… It’ll be 24.</li></ul><p>My sleepy eyes spontaneously opened as wide as they could. This guy managed to help me see something I had not realized about life till then.</p><p>There are no maxima when it comes to how good — well, or bad — life can be, and that’s the entire point. Life is what it is, life is indeed unpredictable and life is inherently not at your hand. You cannot <em>control</em> it, you can just <em>live</em> it. And this lack of control means that you cannot know when your “best years” are going to happen.</p><p>What you can do is make each year you live your best. Make a step towards the direction you want each year. It doesn’t matter whether you are 20 or 30 or 70. Just head to wherever you want to go. If you are 76 then this is the best time of <em>your life</em>, because you have another 75 years of life, 75 years of presence on this planet, to back it up.</p><p>Thinking of it a little more, there is something inherently optimistic in this guy’s mindset. Having virtually almost no clue about how tomorrow is going to be — something firmly verified by the COVID-19 pandemic or the Ukrainian Crisis — why not believe that every “today” is the best it could. Naive as this mindset is, it naturally uplift a vast amount of stress from one’s shoulders. Removing the “best” label from today also removes a significant amount of misery from tomorrow.</p><p>So, enjoy the “best” which are yet to come.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=63fa110e08ff" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Plotting Free-Hand Curves]]></title>
            <link>https://medium.com/math-simplified/plotting-free-hand-curves-184f84053b64?source=rss-5150e975c9ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/184f84053b64</guid>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[plotting]]></category>
            <category><![CDATA[calculus]]></category>
            <category><![CDATA[tips]]></category>
            <category><![CDATA[tricks]]></category>
            <dc:creator><![CDATA[Bill Markos]]></dc:creator>
            <pubDate>Mon, 25 Apr 2022 17:39:19 GMT</pubDate>
            <atom:updated>2022-04-25T17:39:19.023Z</atom:updated>
            <content:encoded><![CDATA[<h4>Because, who needs free-hand drawing tools when you have Weierstrass?</h4><p>Have you ever tried plotting a free-hand-looking curve without a nice and shiny stylus? I have. And it never turns out to be that good — at least not as nice and smooth it would be on a paper. It might be a matter of mouse/touchpad dexterity or something similar, but I am pretty sure I do not possess that skill even at the slightest level of expertise. And I am also sure that several of you find it quite challenging to draw free-hand curves, as well.</p><h3>When real analysis comes in handy</h3><p>So, except for whining for our inability to use our computer’s mouse, what else could we do? Let us assume that our aim is to draw a curve like the following one:</p><figure><img alt="The plot of a polynomial function looking like a free-hand curve." src="https://cdn-images-1.medium.com/max/409/1*5D1KhWA3D8Q6j9tk9Up34w.png" /><figcaption>A nice free-hand-looking plot.</figcaption></figure><p>So, what are our thoughts? To begin with, this is a plot of a continuous function <em>f </em>that is defined on a closed interval. So, by <a href="https://en.wikipedia.org/wiki/Stone%E2%80%93Weierstrass_theorem">Weierstrass’s Approximation Theorem</a>, we know that for any desired accuracy <em>ε&gt;0 </em>we may find some polynomial <em>p=p(ε) </em>that lies uniformly close to <em>f</em>. That is, we have:</p><figure><img alt="|f(x)-p(x)|&lt;ε (Weierstrass approximation)" src="https://cdn-images-1.medium.com/max/289/0*N6QRxcSntxN1bkX3" /><figcaption>A uniformly approximating polynomial.</figcaption></figure><p>Graphically, this means that, we can find a polynomial function <em>p</em> that lies within a “belt” around <em>f</em> like to following one, no matter how tight this “belt” is.</p><figure><img alt="The plot of a function with a green belt of “radius” 1." src="https://cdn-images-1.medium.com/max/412/1*ciZg3U_8a9xoZVs5_emPyg.png" /><figcaption>A belt of radius 1 around f.</figcaption></figure><p>So, Weierstrass’s Approximation Theorem actually tells us that in almost any case — since most of the times, what we need is a free-hand curve corresponding to a continuous function on a (closed) interval — we may find a polynomial that should be the right choice for our purposes.</p><p>But, hey, how are we supposed to find that polynomial? Below, we will present some rules of thumb that will allow us to easily determine that polynomial most of the times.</p><h3>The root cause</h3><p>What is the first thing that comes to your mind when you hear of polynomials? Roots, of course. Every (real or complex) polynomial has (possibly strictly complex) roots. So, what can the roots of a polynomial tell us about the polynomial itself? Furthermore, what do a polynomial’s roots tell us about its shape?</p><p>To begin with, consider the following plots, all of which belong to some very simple polynomials — actually, they are just monomials:</p><figure><img alt="The plots of y=x, y=x² and y=x³." src="https://cdn-images-1.medium.com/max/1024/1*erjYcI5JULybYWd1QAMcpQ.png" /><figcaption>Three humble monomials.</figcaption></figure><p>You can probably recognize the above plots, however, you may haven’t yet observed how the above correspond to three typical types of plots that we can utilize in drawing “free-hand” looking plots.</p><p>Let us focus, for a while, on the behavior of our monomials around <em>O(0,0). </em>Starting with <em>y=x</em>, it just cuts the <em>x-</em>axis there in a pretty much straightforward way. Observe at this point that <em>y=x</em> has a <strong>simple root</strong> at <em>O(0,0)</em> — we will make use of this observation later on.</p><p>Regarding <em>y=x², </em>again, it cuts the <em>x-</em>axis at <em>O(0,0)</em>, however, this time the curve stays on one side of the axis. Namely, the axis is the<strong> tangent</strong> of the curve at <em>O(0,0)</em>. The same property also holds for <em>y=x³</em>,<em> </em>however, this time, the curve crosses the axis, being on both of its sides. Moreover, <em>y=x³</em>, has an <strong>inflection point </strong>at <em>O(0,0)</em>, i.e., the curve turns from concave (left) to convex (right).</p><p>As you may suspect, the crucial parts in the above are the bold ones: simple roots, tangents and inflection points. Indeed, it is not difficult to prove the results shown in the following Table:</p><figure><img alt="A table summarizing all the relevant properties of each type of root." src="https://cdn-images-1.medium.com/max/1024/1*cSYpNsBs_1nnBTj4Kl2afQ.png" /><figcaption>The three “root causes”.</figcaption></figure><h3>Okay, but…?</h3><p>What are all these for? The plot below will help us in what follows:</p><figure><img alt="A polynomial curve." src="https://cdn-images-1.medium.com/max/1024/1*p21DQxQwg089_b7HNK1LuQ.png" /><figcaption>A nice polynomial, isn’t it?</figcaption></figure><p>The above is the graph of the following polynomial:</p><figure><img alt="The formula of the polynomial of the above curve." src="https://cdn-images-1.medium.com/max/509/0*6esXciOS3vdcrn2t" /><figcaption>Well, not what you may have expected…</figcaption></figure><p>The above might not seem that useful, but it comes in handy once you factorize it:</p><figure><img alt="The above polynomial, just factorized." src="https://cdn-images-1.medium.com/max/260/0*8Q9lTx2iONQwGYOp" /><figcaption>Nice, right?</figcaption></figure><p>Now that it is factorized, there are lot that we can say about it. To begin with, we easily observe that our polynomial has:</p><ul><li>a <strong>simple root</strong> at 0;</li><li>a <strong>double root</strong> at -1 and;</li><li>a <strong>triple root</strong> at 3.</li></ul><p>Let us observe again the Figure above. Namely, let us focus at its three roots and its shape around them. It is relatively easy to observe that our plot:</p><ul><li>merely <strong>cuts</strong> the <em>x-</em>axis at 0;</li><li>is <strong>tangential</strong> to the x-axis at -1 and;</li><li>is <strong>tangential </strong>and has an <strong>inflection point</strong> at 3;</li></ul><p>as predicted in the above Table. This is not a coincidence. Let us consider the behavior of <em>p(x)</em> around 3. Since 3 is a root of <em>p(x)</em> it is natural to expect that its shape will be mostly affected by the vanishing factor which, in this case, is <em>(x-3)³</em>. Indeed, consider the following polynomial, which is nothing more than a factor of <em>p(x)</em> containing everything else but for <em>(x-3)³</em>:</p><figure><img alt="A factor of p(x), namely 0.05x(x+1)²." src="https://cdn-images-1.medium.com/max/186/0*MInVGw6mUlmjUJVb" /><figcaption>A factor of <em>p(x).</em></figcaption></figure><p>Around 3, its values are close to <em>q(3)=2.4</em>, so we could say that, in a neighborhood of 3, the following approximation holds:</p><figure><img alt="p(x) is approximately 2.4 times (x-3)³." src="https://cdn-images-1.medium.com/max/166/0*dUN3PVfzxzpmubEr" /><figcaption>A crucial approximation.</figcaption></figure><p>This may be also verified plotting the two curves side by side, as follows:</p><figure><img alt="“Around 3, p(x) and 2.4(x-3)³ are quite similar”." src="https://cdn-images-1.medium.com/max/1024/1*CDFJVzfvXktWzXtaxuwQ3A.png" /><figcaption>Zooming in and out is an essential tool for calculus, isn’t it?</figcaption></figure><p>This is also true for the rest of our polynomials roots, as one may easily verify by playing around a little bit as we did above.</p><h3>Back to our… roots (?)</h3><p>Let us shift our focus again to our initial plot, which we would like draw using some nice polynomial:</p><figure><img alt="The plot of a polynomial function looking like a free-hand curve." src="https://cdn-images-1.medium.com/max/409/1*5D1KhWA3D8Q6j9tk9Up34w.png" /><figcaption>A nice free-hand-looking plot.</figcaption></figure><p>As one observes, the above has:</p><ul><li>a <strong>double root</strong> at -1;</li><li>a <strong>single root </strong>at 1 and;</li><li>a <strong>single root</strong> at 3.</li></ul><p>So, our first shot would be the following polynomial (the simplest we could think of, satisfying the above):</p><figure><img alt="p(x)=(x+1)²(x-1)(x-3)" src="https://cdn-images-1.medium.com/max/266/0*dhvU5BqBdAX25jEB" /><figcaption>Our first try.</figcaption></figure><p>Let us now plot this (drum roll, please):</p><figure><img alt="The plot of (x+1)²(x-1)(x-3)." src="https://cdn-images-1.medium.com/max/1024/1*Tt13TNEJ53mS54iP2_Ld-g.png" /><figcaption>Well…</figcaption></figure><p>Okay, that was close enough, but not as close as we would have wished for. Taking a time to breath and recover from our first shock, sooner or later we will realize that things are not as bad as they might have seemed. The major problem in the above is <strong>scale</strong>. Indeed, should we try to multiply the above by a factor of, say, 0.5, we obtain the following:</p><figure><img alt="The plot of 05(x+1)²(x-1)(x-3)." src="https://cdn-images-1.medium.com/max/1024/1*zGwF_anNRIz6rKdI12HNmg.png" /><figcaption>Okay, closer, indeed.</figcaption></figure><p>We can play around a little more with scaling factors until we reach an acceptable shape. Or, we can be a little bit more clever. Let us look at the following Figure:</p><figure><img alt="Our target plot and our first try, (x+1)²(x-1)(x-3)." src="https://cdn-images-1.medium.com/max/1024/1*2KXj31CwU4gOlkfybVabfQ.png" /><figcaption>“The devil lies in the details”.</figcaption></figure><p>The key to fix our estimation’s scale lies in the two red points shown above. Namely, in our target plot, the curve cuts the <em>y-</em>axis at <em>(0,0.75)</em> while in our first estimation, this point is significantly higher, at <em>(0,3)</em>. So, multiplying our first estimation by:</p><figure><img alt="\frac{0.75}{3}=0.25" src="https://cdn-images-1.medium.com/max/104/0*WkODJdGHfq47bv46" /><figcaption>Towards our target plot!</figcaption></figure><p>We expect to arrive at a plot much closer to our target. Indeed, what we get is the following:</p><figure><img alt="Our target curve and p(x)=0.25(x+1)²(x-1)(x-3)." src="https://cdn-images-1.medium.com/max/1024/1*1BSJMkrVMlsnylZE8HXJCg.png" /><figcaption>We got it!</figcaption></figure><p>Sweet, right?</p><h3>Shifting things a little bit…</h3><p>You know how math works. Once we have learned a trick, we try to generalize. So, let us consider the following plot:</p><figure><img alt="The plot of a relatively strange function." src="https://cdn-images-1.medium.com/max/1024/1*VuQsOz6MQ5z0qAAxAdwQrQ.png" /><figcaption>Okay, how about this?</figcaption></figure><p>Here, we have two roots, at roughly 0.8 and -0.7, so we may expect that something of the following for would work:</p><figure><img alt="p(x)=A(x-0.8)(x+0.7)" src="https://cdn-images-1.medium.com/max/241/0*X8CBhZk832mS2zZ8" /><figcaption>A nice quadratic polynomial.</figcaption></figure><p>However, as the following Figure unveils, things beg to differ this time:</p><figure><img alt="Approximating a strange curve with a quadratic." src="https://cdn-images-1.medium.com/max/1024/1*1Z0qOoeuOZLHUzpXtD5y9A.png" /><figcaption>Upon this fail we shall build our success (or not).</figcaption></figure><p>Well, evidently, a quadratic could not capture all this complex behavior displayed by our target function. So, one may think that our root-based is severely limited to “easy” curves. However, again, we have to pay a little more attention to our target. Indeed, consider the following:</p><figure><img alt="Our previous strange plot with a red line at y=1." src="https://cdn-images-1.medium.com/max/1024/1*q8nlSC6-MrXx1JO0jhIKSw.png" /><figcaption>A red line is often enough.</figcaption></figure><p>The red line is <em>y=1</em>, or, in our setting, the place were it all happens:</p><ul><li><em>(-1.5,1) </em>seems to be an inflection point;</li><li><em>(1.5,1)</em> seems to be a point where <em>y=1</em> is tangential to our target function and;</li><li><em>(2,1)</em> seems to be a simple root of <em>f(x)=1</em>.</li></ul><p>So, let us try the following polynomial:</p><figure><img alt="p(x)=(x+1.5)³(x-1.5)²(x-2)+1" src="https://cdn-images-1.medium.com/max/344/0*gbL9xRRH_Tla5fOd" /><figcaption>A more promising approach.</figcaption></figure><p>We added a constant equal to 1 since we would like our “x”-axis to be shifted up by 1, so as to match the red line shown in the above Figure. This results to the following, much better estimation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o_6CZ_qddNfQbHLcFnNm_g.png" /><figcaption>Much, much better.</figcaption></figure><p>Well, again we have to deal with scaling. Messing a little bit around, we can see that multiplying by a constant of 0.15, we have something like the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uZi2xxAnjy3g5Q8gPWTQEw.png" /><figcaption>Perfect!</figcaption></figure><p>Sweet again, right?</p><h3>Limitations</h3><p>So far we have presented a methodology that seems capable of effortlessly approximating a very wide range of continuous functions defined over closed intervals. However, there are naturally cases not captured by our methodology. Probably the most prominent case has to do with functions that have some sort of asymptotic behavior. Since polynomials — but for first degree ones —do not have any asymptotes, approximating such functions using higher degree polynomials will naturally fail.</p><p>But…</p><p>If we think of real continuous functions as the <em>real numbers</em> and polynomials as the <em>integers </em>(an, admittedly, frequently used analogy), then, a natural choice for approximating continuous functions of a more general shape would be <strong>rational functions</strong>. Indeed, such functions can capture more complex phenomena like asymptotes or poles and much more. However, we shall discuss them in a future story.</p><p>Till then, take care and keep mathing! ;)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=184f84053b64" width="1" height="1" alt=""><hr><p><a href="https://medium.com/math-simplified/plotting-free-hand-curves-184f84053b64">Plotting Free-Hand Curves</a> was originally published in <a href="https://medium.com/math-simplified">Math Simplified</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>