<?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[Not Zero - Medium]]></title>
        <description><![CDATA[Not zero deals with mathematics without any pretense of completeness or originality. It doesn’t want to teach anyone anything. Please take it as personal entertainment, born to clarify the ideas to its author. - Medium]]></description>
        <link>https://medium.com/not-zero?source=rss----364125a34125---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Not Zero - Medium</title>
            <link>https://medium.com/not-zero?source=rss----364125a34125---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 13 Nov 2026 16:50:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/not-zero" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Proving the Pythagorean Theorem]]></title>
            <link>https://medium.com/not-zero/proving-the-pythagorean-theorem-fbf58d3811ce?source=rss----364125a34125---4</link>
            <guid isPermaLink="false">https://medium.com/p/fbf58d3811ce</guid>
            <category><![CDATA[science]]></category>
            <category><![CDATA[pythagorean-theorem]]></category>
            <category><![CDATA[geometry]]></category>
            <category><![CDATA[math]]></category>
            <category><![CDATA[mathematics]]></category>
            <dc:creator><![CDATA[Michele Diodati]]></dc:creator>
            <pubDate>Thu, 25 Nov 2021 16:27:36 GMT</pubDate>
            <atom:updated>2021-11-25T16:27:36.522Z</atom:updated>
            <content:encoded><![CDATA[<h4>Some algebraic and geometric proofs of the best-known theorem of all time</h4><p>A right triangle is a triangle in which one of the three angles is <strong>90°</strong>. The triangle shown below is <strong>right-angled</strong> because the angle ⦣<em>ACB</em> between sides <em>a</em> and <em>b</em> is 90°. The side opposite the right angle, <em>c</em>, is called the <strong>hypotenuse</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yvYTJjuiuoGQ5mLk8Ly_sw.jpeg" /></figure><p>One of the most important and best-known theorems of Euclidean geometry, the <strong>Pythagorean theorem</strong>, expresses a fundamental property of right-angled triangles. It <a href="https://www.merriam-webster.com/dictionary/Pythagorean%20theorem">states</a> that <em>the square of the length of the hypotenuse of a right triangle equals the sum of the squares of the lengths of the other two sides.</em> The equation <strong><em>c² = a²+b²</em></strong> expresses this relationship in mathematical symbols.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rLSv6kuVBcb3lXA_0k2vvQ.jpeg" /></figure><p>Throughout history, countless proofs of the Pythagorean theorem have been given. Below we will examine some of the best known.</p><h3>The simplest and most convincing proof</h3><p>The simplest and most immediately convincing proof is a <strong>geometric</strong> one based on <strong>rearranging</strong> the position of four triangles within a square, as shown in the following image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j_KkJ2ev4dqHlErh-XqO_Q.jpeg" /></figure><p>In the square on the left, four congruent right-angled triangles leave a central space of area <strong><em>c²</em></strong>, corresponding to the square with the hypotenuse of each of the four triangles for its sides. The square on the right is the same as the other. The only difference is that the inner triangles have been moved so as to leave space for the formation of two internal squares, one of area <strong><em>a²</em></strong>, which has sides equal to side <em>a</em> of each triangle, and the other of area <strong><em>b²</em></strong>, whose sides are equal to side <em>b</em> of each triangle. The rearrangement of the triangles visually shows that the square <em>c²</em> is equal to the sum of the squares <em>a² </em>and <em>b², </em>as it was meant to prove.</p><h3>Bhāskara’s proof</h3><p>The same identity can also be proved <strong>algebraically</strong>. Let’s consider the square on the left in the image above. The length of each side is equal to the sum of sides <em>a</em> and <em>b</em> of the triangles inside it. Therefore, its area is equal to <strong>(<em>a</em>+<em>b</em>)<em>²</em></strong>. But we can also get the same area by adding the figures inside it, that is, the square of area <em>c²</em> and the four right-angled triangles. From this, it follows that the area <em>c²</em> of the inner square is equal to the area of the outer square (<em>a</em>+<em>b</em>)<em>² minus</em> the area of the four right triangles. Since the four triangles are <strong>congruent</strong>, we can write the equation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SATGJdu3H4K-iq-IJOnTqA.png" /></figure><p>Carrying out the calculations, we get:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*utlaePn-FbxMJXxpFIV8Sg.png" /></figure><p>Adding the like terms, it remains:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5ry_99iDVWRGX3BsZaetWg.png" /></figure><p>which is what we wanted to prove. This proof was given by the Indian mathematician and astronomer <a href="https://en.wikipedia.org/wiki/Bh%C4%81skara_II">Bhāskara</a> around 1150 CE.</p><h3>Four triangles and a square</h3><p>We can obtain another proof of the Pythagorean theorem by arranging the same four congruent right-angled triangles to form a square as in the following image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hhy2eAfCeMBqFo1YJ_X8mw.jpeg" /></figure><p>In this case, the four triangles form a square whose sides are their hypotenuses, i.e., their sides <em>c</em>. Thus, the area of this square is <strong><em>c²</em></strong>. The space left free by the triangles in the center of the figure forms a small square, the sides of which have a length equal to the difference between side <em>a</em> and side <em>b</em> of each triangle. Therefore, the area of this inner square is <strong>(<em>a−b</em>)<em>²</em></strong>. So, we can write the following equation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sebBEJDN_jeXNIRcqcB23Q.png" /></figure><p>Carrying out the calculations, we get:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T1tkpCTHtido1W6Qo3XhFg.png" /></figure><p>Again, adding the like terms we get:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5ry_99iDVWRGX3BsZaetWg.png" /></figure><p>which is what we wanted to prove.</p><h3>Garfield’s proof</h3><p>The following proof of the Pythagorean theorem <a href="https://www.maa.org/press/periodicals/convergence/mathematical-treasure-james-a-garfields-proof-of-the-pythagorean-theorem">was published</a> in 1876 in the <em>New-England Journal of Education </em>by James Garfield, who would become the twentieth president of the United States in 1881.</p><p>Let’s consider the figure below. If we take into account only the outer edge, it is a <strong>trapezoid</strong> (or trapezium), the area of which is calculated by multiplying the half sum of the lengths of the parallel sides by the height. In this case, the sum of the parallel sides is <strong><em>a</em>+<em>b</em></strong>. The height is also given by <strong><em>a</em>+<em>b</em></strong>. Therefore, the formula for the area of this trapezoid is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AcDfFLLk3FCalQqyQvDc4Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3-jG9hH381zvBP2-hQu3dw.jpeg" /></figure><p>On the other hand, if we consider its internal subdivision, the area of the figure is given by the sum of the areas of three right-angled triangles, two of which are congruent. So, the total area is equal to:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M_P8BvE66MsTJXWc5-iWpA.png" /></figure><p>Thus, equating the area of the trapezoid to that of the three triangles, we can write the equation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RBxrcDBxh_qB7F8ch7BkzA.png" /></figure><p>Finally, carrying out the calculations, we get:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u1-fXijVkoEgV8ezUJ4rCg.png" /></figure><p>which, once again, proves the identity established by the Pythagorean theorem.</p><h3>Einstein’s proof</h3><p>Based on the properties of <strong>similar triangles</strong>, one of the most elegant proofs of the Pythagorean theorem is due to Einstein, who discovered it when he was just twelve years old, according to the account given by the German physicist in his autobiography.</p><p>For this proof, the only figure needed is a right triangle, like the one in the image below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a3zKjDBdH9MQOz8XyzCeCg.jpeg" /></figure><p>If we draw the perpendicular <strong><em>h</em></strong> from vertex <strong><em>C</em></strong> to the opposite side <strong><em>c</em></strong>, the right-angled triangle <em>ABC</em> is divided into two triangles <em>ADC</em> and <em>DBC</em>, both right-angled, as shown in the following image. As can easily be deduced from the figure, the sum of the areas of the inner triangles <em>ADC</em> and <em>DBC</em> is equal to the area of the outer triangle <em>ABC</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k4mTAGOn5rco0fK0Bot9mw.jpeg" /></figure><p>The key point in drawing the perpendicular <em>h</em> to side <em>c</em> of the triangle <em>ABC </em>is that the two internal triangles consequently obtained are <strong>similar</strong> to <em>ABC</em>. The hypotenuses of these two right triangles are the legs (side <em>a </em>and<em> </em>side<em> b</em>) of <em>ABC</em>. All this can be seen from the following image, in which the three triangles are drawn with the same spatial orientation and vertically aligned.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mNTig1LxsQnRUCLrW-3S0w.jpeg" /></figure><p>Similar triangles not only have their sides in <strong>proportion</strong>, but their areas are also in proportion, as well as the <strong>squares</strong> of each side. In particular, the <strong>ratio</strong> of the area of the triangle <em>ABC</em> to the square <em>c²</em> of its hypotenuse <em>c</em> is equal to the ratio of the area of the triangle <em>ACD</em> to the square <em>a²</em> of its hypotenuse <em>a</em> and the ratio of the area of the triangle <em>CBD</em> to the square <em>b²</em> of its hypotenuse <em>b</em>. If we call respectively <em>X</em>, <em>Y</em>, and <em>Z</em> the <strong>areas</strong> of the three triangles, the following equivalences hold:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zM9IhdCxq26s5oSza-zQtg.png" /></figure><p>Since <strong><em>Y</em>+<em>Z = X</em></strong> (i.e., the sum of the areas of the two inner triangles is equal to the area of the outer triangle), it follows that <strong><em>a²+b² = c²</em></strong>.</p><p>We can algebraically derive this identity from the equation that relates the sum of the areas of the two inner triangles to the area of the outer triangle:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t9EWGsapHerIdC-bmBvdVQ.png" /></figure><p>Since the three triangles are similar, we can replace in the equation the variables that designate the sides of the two inner triangles (<em>d</em>, <em>h</em> and <em>e</em>,<em> h</em>, respectively) with the variables <em>a</em> and <em>b</em>, which designate the sides of the outer triangle, multiplied by the <strong>constant of proportionality</strong> that expresses the ratio of side <em>a</em> to side <em>c,</em> and the ratio of side <em>b</em> to side <em>c</em> of the outer triangle:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F7RGV3UHgctDfKH95oyJNw.png" /></figure><p>Now, dividing both sides by <strong>½ <em>ab</em></strong>, we get:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QJeANsgXJrJm85AyJ_aK9g.png" /></figure><p>Finally, multiplying both sides by <strong><em>c²</em></strong> to eliminate the denominators on the left, we get:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TKt5f5D09y-oGCrc6q6S1A.png" /></figure><p>which is what we wanted to prove.</p><h3>Euclid’s proof</h3><p>This proof is given in <a href="http://www.perseus.tufts.edu/hopper/text?doc=Perseus%3Atext%3A1999.01.0086%3Abook%3D1%3Atype%3DProp%3Anumber%3D47">Proposition 47</a> of Book 1 of Euclid’s <em>Elements</em> (about 300 CE).</p><p>Let <em>ABC </em>be a triangle with a right angle in vertex <em>A</em>. Let <em>BDEC</em> be the square, one of whose sides is the hypotenuse <em>BC</em> of the triangle, and let <em>ACKH </em>and <em>BAGF</em> be the squares one of whose sides are, respectively, the legs <em>AC</em> and <em>BA</em> of the right triangle. Now, let us draw from vertex <em>A</em> the perpendicular to the hypotenuse <em>BC</em>, which meets <em>BC</em> at point <em>M, </em>extending the perpendicular until it meets side <em>DE</em> of the square <em>BDEC</em> at point <em>L</em>. Finally, let us construct with suitable line segments the triangles <em>FBC</em>, <em>ABD</em>, <em>AEC</em>, and <em>BCK</em>, as shown in the following figure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8vrcfahXfS6xc3C3TA6CCA.jpeg" /></figure><p>The final purpose of the proof is, as always, to show that the square that has the hypotenuse of the right triangle for its side (<em>BDEC</em>) is equal to the sum of the squares that have for their sides the two legs of the triangle (<em>ACKH</em> and <em>BAGF</em>). The way chosen by Euclid to prove this is to demonstrate that the two <strong>rectangles</strong> in which the square <em>BDEC </em>has been divided by the perpendicular conducted from the vertex <em>A </em>of the triangle, that is, <em>LECM</em> and <em>DLMB</em>, have area equal to the squares <em>ACKH</em> and <em>BAGF</em> respectively. Proving this also proves the Pythagorean theorem since the area of the square <em>BDEC</em> is equal to the <strong>sum</strong> of the areas of the two rectangles <em>LECM</em> and <em>DLMB</em>.</p><p>First, we note that the angle ⦣<em>FBC</em> is equal to the angle ⦣<em>ABD</em>. In fact, both angles are obtained by adding the same angle ⦣<em>ABC</em> to the right angles ⦣<em>FBA</em> and ⦣<em>DBC</em>. Also, sides <em>FB</em> and <em>AB</em> are the same because they are sides of the square <em>BAGF</em>. Similarly, sides <em>BD</em> and <em>BC</em> are the same because they belong to the square <em>BDEC</em>. Therefore, the triangles <em>FBC</em> and <em>ABD</em> are <strong>congruent</strong> since they have two equal sides and the angle between them is also equal.</p><p>We also note that <em>FB</em> is the base of the triangle <em>FBC</em> and <em>FG</em> (or <em>BA</em>) its height. Therefore, the area of ​​the triangle<em> FBC</em> is equal to ½(<em>BF</em>×<em>FG</em>). Since the area of ​​the square <em>BAGF</em> is equal to <em>BF</em>×<em>FG</em>, it follows that the area of ​​the triangle <em>FBC</em> is <strong>half</strong> that of the square <em>BAGF</em>.</p><p>Similarly, we note that <em>BD</em> is the base of the triangle <em>ABD</em> and <em>BM</em> (or <em>DL</em>) its height. Therefore, the area of ​​the triangle <em>ABD</em> is equal to ½(<em>BD</em>×<em>BM</em>). Since the area of ​​the rectangle <em>BDLM </em>is equal to <em>BD</em>×<em>BM</em>, it follows that the area of ​​the triangle <em>ABD </em>is half that of the<em> </em>rectangle <em>BDLM</em>.</p><p>But, as demonstrated above, the two triangles <em>FBC</em> and <em>ABD</em> are congruent. It follows that the area of ​​the square <em>BAGF</em> is <strong>equal</strong> to that of the rectangle <em>DLMB</em>.</p><p>With entirely analogous reasoning to that carried out so far, we can demonstrate that:</p><ol><li>the triangles <em>BCK</em> and <em>AEC</em> are congruent because they have two sides and the angle between them equal;</li><li>the area of ​​the triangle <em>BCK</em> is half of the area of ​​the square <em>ACKH</em>;</li><li>the area of ​​the triangle <em>AEC</em> is half of the area of ​​the rectangle <em>LECM</em>;</li><li>the area of ​​the rectangle <em>LECM</em> is equal to that of the square <em>ACKH</em>.</li></ol><p>Therefore, the area of ​​the square <em>BDEC</em>, which is the<strong> sum</strong> of the areas of the rectangles <em>BDLM</em> and <em>LECM</em>, is equal to the sum of the areas of the squares <em>BAGF</em> and <em>ACKH</em>, which is what we wanted to prove.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fbf58d3811ce" width="1" height="1" alt=""><hr><p><a href="https://medium.com/not-zero/proving-the-pythagorean-theorem-fbf58d3811ce">Proving the Pythagorean Theorem</a> was originally published in <a href="https://medium.com/not-zero">Not Zero</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Calculate Square Roots by Hand]]></title>
            <link>https://medium.com/not-zero/how-to-calculate-square-roots-by-hand-21a78b6da9ae?source=rss----364125a34125---4</link>
            <guid isPermaLink="false">https://medium.com/p/21a78b6da9ae</guid>
            <category><![CDATA[square-roots]]></category>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[mathematics-education]]></category>
            <category><![CDATA[multiplication]]></category>
            <category><![CDATA[math]]></category>
            <dc:creator><![CDATA[Michele Diodati]]></dc:creator>
            <pubDate>Sat, 13 Nov 2021 23:09:50 GMT</pubDate>
            <atom:updated>2021-11-14T09:02:48.761Z</atom:updated>
            <content:encoded><![CDATA[<h4>The long method, to obtain a correct result to any level of accuracy without resorting to estimates</h4><p>In the last fifty years, the ever more widespread diffusion of increasingly cheaper and more powerful home computers has made it possible to fully delegate to machines the execution of calculations that only humans could perform until recently. Among these calculations, we can certainly include finding the square roots of whole or decimal numbers. Few people today feel the need to learn how to compute a square root <strong>by hand</strong>, preferring to entrust the tedious task to software or a pocket calculator, digital instruments that are now within reach of practically anyone.</p><p>Be that as it may, here is the method for calculating the square root of a positive number to any desired level of accuracy for all those interested in learning how to do it. (There are also simpler methods based on estimates by trial-and-error, but we will leave the discussion for a future article.)</p><h3>The calculation of a square root step by step</h3><p>For this example exercise, we want to calculate the square root of <strong>66,615.61</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jiNx_MgwKyG2oF6i0DsZxA.png" /></figure><p>First, let’s write this number by separating its digits into <strong>pairs</strong> so that the <strong>decimal point </strong>doesn’t occur in the middle of a pair. Only the first digit can be left <strong>unpaired</strong> if the number we are dividing into pairs has an odd number of digits before the decimal point, as in this case.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*op6CxjkXS_IV0XZ34V1iPA.jpeg" /></figure><p>When calculating a square root, we proceed similarly to <a href="https://medium.com/not-zero/division-296c060c732e#6988">long division</a>, but we always bring down two digits at a time, except if we have an unpaired first digit. In our example, the first goal is to find the <strong>highest positive integer</strong>, which, when <strong>squared</strong>, is<strong> less than or equal </strong>to <strong>6</strong>. This number is <strong>2</strong> because 2 squared equals 4, while 3, the successor of 2, when squared is 9:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zdad6ffLwjtl01s4_y0uQw.png" /></figure><p>Let us draw a separating line above the <strong>radicand</strong> (the number we want to find the square root of), so we can write <strong>2</strong> above that line. 2 is the first digit of the number we are calculating, i.e., the square root of <strong>66,615.61</strong>. Now, let us draw a vertical line to the left of the radicand, writing on its left <strong>2×2</strong>, that is, the operation that allowed us to find <strong>4</strong> as the largest square less than or equal to 6. Then, we write 4 under the first digit of the radicand and perform the subtraction <strong>6 – 4</strong>, writing the result under the number 4. Finally, we bring down the second pair of digits, <strong>66</strong>, writing it to the right of 2, the result of the subtraction just performed. So, we get the number <strong>266</strong>, as shown in the following image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mS71BL24yDa4fEc1BA1WZg.jpeg" /></figure><p>The next step is to <strong>multiply by 2</strong> the first digit of our solution, <strong>2</strong>, and write the result, <strong>4</strong>, under the previous multiplication. In doing so, we leave two blanks next to 4 for a multiplication between two digits, as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*adlV4RqWe5MQfoY_frCs8g.jpeg" /></figure><p>Those two blanks must both be filled with the <strong>same number</strong>. Our goal is to find the multiplication, including the number 4 we wrote at the beginning, that yields the greater product equal to or less than <strong>266</strong>. The number 6 is too big because 46×6 = 276. Instead, 5 is for us because <strong>45×5 = 225</strong>. Therefore, we fill in the two empty spaces with <strong>5</strong> and write the multiplication result, 225, under 266. As in the previous case, now we perform a subtraction: <strong>266 − 225 = 41</strong>. We write the difference under 225. The number 5, used for multiplying 45<strong>×</strong>5, is the <strong>second digit</strong> of the square root of 66,615.61. Thus, we write <strong>5</strong> to the right of 2 above the horizontal separation line.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gE7Ai1kSV9S_G7QK9Fvnvg.jpeg" /></figure><p>We proceed by repeating the previous steps. We bring down the next pair of numbers in the radicand, <strong>15</strong>, by writing it to the right of <strong>41</strong>, the result of the last subtraction. We get the number <strong>4,115</strong>. Now, we multiply <strong>25</strong> (the partial result of the calculation of the square root of 66,615.61) by <strong>2</strong> and write the product, <strong>50</strong>, under the previous multiplication (45<strong>×</strong>5), leaving, as usual, two empty spaces for a number we will use for the next multiplication.</p><p>We have to find the largest number that is equal to or less than 4,115. The number that is right for us is <strong>8</strong>. In fact, <strong>508×8 = 4,064</strong>, while 509<strong>×</strong>9 = 4,581, a number greater than 4,115. Therefore, we write 8 in the two empty spaces and insert the multiplication result, 4,064, under 4,115. Then, we write <strong>8</strong> to the right of 5 above the radicand. Our partial result is <strong>258</strong>. Now, it is important not to forget to enter the <strong>decimal point</strong>, which must be written to the right of the number 8, in correspondence with where the decimal point is in the radicand.</p><p>Finally, we perform the<strong> subtraction 4,115 − 4,064</strong>, getting 51 as the difference. So, we write <strong>51</strong> in the appropriate positions reserved for tens and units, as shown in the image below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jJ5PKr9xGAqPNMY2MzmIQA.jpeg" /></figure><p>Now, we bring down the last pair of digits of the radicand, <strong>61</strong>, by writing it next to 51. We get the number <strong>5,161</strong>. Then, we multiply the partial result of our calculations, <strong>258</strong>, by <strong>2</strong> and write the result, <strong>516</strong>, to the left of the vertical line, in a position corresponding to 5,161. As always, we leave <strong>two empty spaces</strong> for the number that we will have to use for the next multiplication. This number must necessarily be <strong>1</strong> because it is the only number that allows us to obtain a product less than or equal to 5,161. In fact, 5,161<strong>×</strong>1 = 5,161. We write this product under the number 5,161 obtained by bringing down the last couple of digits of the radicand. Finally, we perform the subtraction <strong>5,161–5,161</strong>, the result of which is <strong>0</strong>.</p><p>Therefore, we write <strong>1</strong> as the last digit of our solution to the right of the decimal point. Since the <strong>remainder</strong> of the last subtraction is 0, it means our work is done. The <strong>square root</strong> of 66,615.61 is <strong>exactly 258.1</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TPN0clDqhDaDwCyHEWExvw.jpeg" /></figure><h3>A never-ending task</h3><p>It should be noted that ending the calculation with a remainder of zero and an exact square root is an exception rather than the rule. Much more often, it happens that no subtraction yields a difference of zero. Therefore the calculation of the square root continues indefinitely, with the addition of new <strong>decimals</strong>. It is wise in these cases to <strong>interrupt</strong> the procedure when the square root obtained has a level of <strong>precision</strong> sufficient for any useful purpose.</p><p>For example, I report below the calculations performed to find the square root of <strong>53,728</strong>, interrupted after reaching the <strong>fifth</strong> decimal place. Squaring the partial result of <strong>231.79301</strong>, we get <strong>53,727.99948…</strong>, only 52 hundred thousandths less than 53,728.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B2g9yLtnDk7fv-Xx8FMirw.jpeg" /></figure><p>Two points deserve to be highlighted in the example above. After bringing down the last two digits of the radicand, i.e., 28, the square root calculation did not finish because we got a difference other than zero (367). In this case, you can continue the square root calculation, adding <strong>two zeros</strong> to the last difference, as shown in the above image. All solution digits calculated from this point on will be <strong>decimal</strong>.</p><p>The second point concerns the case in which the <a href="https://medium.com/not-zero/subtraction-6e32b0d6b90f">minuend</a> is <strong>less</strong> than the subtrahend in the subtraction to be carried out. In the above example, this happened when the minuend was 515,100. In this case, the digit to add in the multiplication that yields the subtrahend must be <strong>zero</strong>. In this way, the product is zero, the subtrahend is zero, too, so the operation can continue. Zero will also be the digit to be added to the square root we are calculating.</p><h3>Understanding the Mechanism</h3><p>Why is the square root of a number computed exactly in the way we have illustrated so far? The reason can be understood by resorting to a <strong>geometric</strong> explanation. We can consider the <strong>radicand</strong> as the <strong>area of a square</strong>. If we call <strong><em>S</em>²</strong> this area, then <strong><em>S</em></strong> is the measure of one <strong>side</strong> of the square and, also, the <strong>square root</strong> we are interested in finding.</p><p>If we divide each side of the square into two parts, one of length <strong>10<em>A</em></strong> and one of length <strong><em>B</em></strong>, the square’s area <strong><em>S</em>²</strong> is equal to the <strong>square of the binomial:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_-Ic7C6gSbhtUqgMk7-zlw.png" /></figure><p>The <a href="https://medium.com/not-zero/the-binomial-theorem-and-a-silver-stater-from-aegina-fb6a59484e90">expansion</a> of the square of this binomial is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eixtQmO40kfemnhwtGYCVA.png" /></figure><p>which can also be written as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TLL1cBp-P4NaK033-GcY1w.png" /></figure><p>Since <strong><em>B</em></strong> is a <strong>common factor</strong> of the last two terms, we can rewrite the expression as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3XDEdy1m3HULMtchgiRIXg.png" /></figure><p>The image below visually illustrates these geometric relationships.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0IdiQo22kes09YOX4z3P5Q.jpeg" /></figure><p>Suppose we want to calculate the square root of <strong>1024</strong>. First, we divide the radicand into two pairs of digits: <strong>10</strong> and <strong>24</strong>. Then, we start the calculation by looking for the largest number which, when squared, is less than or equal to 10. Such number is <strong>3</strong>, since 3² = 9 and 9 ≤ 10. Therefore, 3 is the first digit of the square root of 1024. At this point, we perform the subtraction 10−9 = 1 and bring down the other two digits of the radicand. So, we get the number <strong>124</strong>.</p><p>Now let’s ask ourselves what relationship there is between 1024 and 124. It is easy to calculate that the difference of the two numbers is <strong>900</strong>, which corresponds to <strong>30²</strong>. We note that <strong>30 = 10×3</strong>. It corresponds to the segment of length <strong>10<em>A</em></strong> (with <strong><em>A</em>=3</strong>), i.e., one of the two parts into which we divided the sides of the square of area <strong><em>S</em>²</strong>.</p><p>900 is also equal to <strong>100×3²</strong>, which corresponds to <strong>100<em>A</em>²</strong>, the area of the largest inner square in the figure above. In other words, subtracting 9 from 10 and then bringing the second pair of digits down is equivalent to subtracting 900 from 1024. It means that we calculated the area of the largest inner square (<strong>100<em>A</em>² = 900</strong>) and then subtracted it from the overall area of the square <strong><em>S</em>² = 1024</strong>. Thus, <strong>124</strong> is the area of what remains of the square <em>S</em>² after subtracting the inner square 100<em>A</em>². This area consists of <strong>2</strong> rectangles of area <strong>10<em>AB</em></strong> and a square of area <strong><em>B</em>²</strong>. These relationships are illustrated in the following image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4h1bGgODgFa0SV-5LwrTPA.png" /></figure><p>At this point, we continue the calculation of the square root of 1024. We multiply by <strong>2</strong> the first digit of the solution, <strong>3</strong>, getting <strong>6</strong>. Then we add to the right of 6 <strong>two blanks</strong> separated by the multiplication sign. The blanks need to be filled by the same 1-digit number, with the ultimate goal of finding, through this multiplication, the largest number that is equal to or less than 124. The number we are looking for is 2 because <strong>62×2 = 124</strong>.</p><p>Let us now ask ourselves what relationship the multiplication 62<strong>×</strong>2 has with the parts into which we have divided the square of area <em>S</em>²=1024. We know from the previous calculations that <strong>A=3 </strong>and the segment <strong>10A=30</strong>. If we set <strong>B=2</strong>, then 62<strong>×</strong>2 corresponds exactly to <strong>[2(10<em>A</em>)+ <em>B</em>]<em>B</em></strong>, i.e., the <strong>difference</strong> between ​​the square <em>S</em>² and the inner square 100<em>A</em>², shown in the above image.</p><p>In summary, the first operation to calculate a square root is to find the area of ​​the inner square 100<em>A</em>². The second operation consists of finding ​​the difference between the square of area <em>S</em>² (i.e., the radicand, the number we want to find the square root of) and the inner square of area 100<em>A</em>². This difference equals the sum of two rectangles of area 10<em>AB</em> and a square of area <em>B</em>². The common factor <em>B</em> allows us to transform this sum into the multiplication [2(10<em>A</em>)+<em>B</em>]<em>B</em>.</p><p>In this example, the remainder of 124–124 is <strong>zero</strong>. So the calculation is finished, and we are left with an exact square root: <strong>32</strong>. In fact, 32²=1024.</p><p>Suppose, instead, that we want to calculate the square root of <strong>1084</strong>. The calculations to be done are the same as the previous example up to the multiplication 62<strong>×</strong>2. This time, however, the subtraction to be made has <em>not </em>a zero remainder, since <strong>184–124=60</strong>. This means that the square root of 1084 is a number greater than 32 but less than 33 (otherwise, the minuend would not have been 184 but 189, equal to 63<strong>×</strong>3).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sR7HcMU2E8QTrBC2CgCbFg.jpeg" /></figure><p>Bringing all this back to our geometric explanation, having obtained a remainder of <strong>60</strong> indicates that with the last multiplication, 62<strong>×</strong>2, we could not calculate the <strong>total</strong> area of ​​the difference <em>S</em>²–100<em>A</em>². The partial result of the calculation of the square root of 1084, i.e., 32, corresponds to one side of a square of area <strong>1024</strong>, equal to the sum of the inner square of area 100<em>A</em>² plus the two rectangles of area 10<em>AB</em> plus the square of area <em>B</em>². For now, an area <strong>X=60</strong>, equal to the sum of two rectangles of area <strong>(10<em>A</em>+<em>B</em>)<em>C</em></strong> plus a square of area <strong><em>C</em>²</strong>, corresponding to the <strong>outermost</strong> of the two regions highlighted in the following image, remains out of the calculation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VBukqkSB2YaRFRCwDC2OsA.jpeg" /></figure><p>To get a more precise solution, we add two zeros to 60, getting <strong>6,000</strong>. At this point, we double the partial result, 32, and write the product, <strong>64</strong>, on the left of the vertical line (<em>see image below</em>) leaving the usual two blanks for a 1-digit number. This number, added to 64 in the place of units, must be used for a multiplication with which we want to get the greater number that is equal to or less than 6,000. The 1-digit number we are searching for is <strong>9</strong>. In fact, 649<strong>×</strong>9=5,841 and 5,841 ≤ 6,000. Thus, we have improved the calculation precision of the square root of 1084, bringing it from 32 to <strong>32.9</strong>.</p><p>With the last multiplication, we got even closer to the total area of the square <em>S</em>². In fact, <strong>32.9²=1082.41</strong>, just a bit less than <strong>1084</strong>. This means that we have almost completely covered the outermost region highlighted in the above image, containing the two rectangles of area (10<em>A</em>+<em>B</em>)<em>C</em> plus the square of area <em>C</em>².</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l8Rr9rs_Y6IIZe1tlXHPIg.jpeg" /></figure><p>But, whenever there is a <strong>remainder</strong>, an area formed by the sum of two smaller and smaller rectangles and a square has remained out of the calculation. The mechanism for forming a new multiplication to increase the square root’s calculation precision is <strong>incremental</strong>. Multiplication 62<strong>×</strong>2 is equivalent to searching for the area of the section of the square <em>S</em>² corresponding to</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*43xaCL_tRSutKQZFV0B0Qg.png" /></figure><p>The subsequent multiplication 649<strong>×</strong>9 tries to cover the area represented by the expression</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3K3jqrb--P6XCZvzK33Biw.png" /></figure><p>If we continued the calculations in the search for even greater precision, the new multiplication should find the area represented by the expression</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kSCwvozZ2r7QNmuwvGYS5w.png" /></figure><p>corresponding to two rectangles of area <strong>(10<em>A</em>+<em>B</em>+<em>C</em>)<em>D</em></strong> plus a very small square of area <strong><em>D</em>²</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=21a78b6da9ae" width="1" height="1" alt=""><hr><p><a href="https://medium.com/not-zero/how-to-calculate-square-roots-by-hand-21a78b6da9ae">How to Calculate Square Roots by Hand</a> was originally published in <a href="https://medium.com/not-zero">Not Zero</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Russell’s Paradox]]></title>
            <link>https://medium.com/not-zero/russells-paradox-f81bd690df7e?source=rss----364125a34125---4</link>
            <guid isPermaLink="false">https://medium.com/p/f81bd690df7e</guid>
            <category><![CDATA[paradox]]></category>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[axioms]]></category>
            <category><![CDATA[math]]></category>
            <category><![CDATA[set-theory]]></category>
            <dc:creator><![CDATA[Michele Diodati]]></dc:creator>
            <pubDate>Sun, 07 Nov 2021 16:36:25 GMT</pubDate>
            <atom:updated>2021-11-10T14:44:22.769Z</atom:updated>
            <content:encoded><![CDATA[<h4>Is the set of all sets that are not elements of themselves an element of itself or not? Russell’s paradox in Russell’s own words and some of its possible solutions</h4><h3>A fateful letter</h3><p>In 1903, the German logician and mathematician <a href="https://en.wikipedia.org/wiki/Gottlob_Frege">Gottlob Frege</a> published, ten years after the first, the second volume of a work entitled <em>Grundgesetze der Arithmetik</em> (“Basic Laws of Arithmetic”), whose aim was to derive the laws of arithmetic from some logical axioms.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/458/1*USuOSIRBtAFzNIrwC777zw.jpeg" /><figcaption>Frege around 1879 at the age of about 31</figcaption></figure><p>In contrast to this ambitious goal, or perhaps precisely because of that, we can read in the Appendix of that second volume a statement by Frege in some ways astonishing. With rare honesty, the author admits that the work he has just published, the fruit of years of hard study, contains a tremendous <strong>flaw</strong> that he does not quite know how to eliminate:</p><blockquote>Hardly anything more unfortunate can befall a scientific writer than to have one of the foundations of his edifice shaken after the work is finished. This was the position I was placed in by a letter of Mr <a href="https://en.wikipedia.org/wiki/Bertrand_Russell">Bertrand Russell</a>, just when the printing of this volume was nearing its completion. It is a matter of my Axiom (V). I have never disguised from myself its lack of the self-evidence that belongs to the other axioms and that must properly be demanded of a logical law.<em> (…)</em> I should gladly have dispensed with this foundation if I had known of any substitute for it.</blockquote><p>Bertrand Russell’s letter to Frege is dated June 16, 1902. The part of the letter that threw Frege into despair and confusion deserves to be quoted:</p><blockquote>I find myself in full accord with you on all main points, especially in your rejection of any psychological element in logic<em> (…)</em>. On functions in particular I have been led independently to the same views even in detail. I have encountered a difficulty only on one point. You assert (p. 17) that a function could also constitute the indefinite element. This is what I used to believe, but this view now seems to me dubious because of the following contradiction: Let <em>w </em>be the predicate of being a predicate which cannot be predicated of itself. Can <em>w</em> be predicated of itself? From either answer follows its contradictory. We must therefore conclude that <em>w </em>is not a predicate. Likewise, there is no class (as a whole) of those classes which, as wholes, are not members of themselves. From this I conclude that under certain circumstances a definable set does not form a whole.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*1sEOncc-ZSWS7SEOL4-5rw.jpeg" /><figcaption>Bertrand Russell in 1907 at the age of 35</figcaption></figure><h3>Cantor’s definition of set and Russell’s paradox</h3><p>The contradiction that Russell pointed out had to do with the very concept of what can be considered a <strong>set</strong> and what cannot. According to the definition of the creator of <a href="https://medium.com/not-zero/basics-of-sets-dabcafa3db66">set theory</a>, the German mathematician <a href="https://en.wikipedia.org/wiki/Georg_Cantor">Georg Cantor</a>,</p><blockquote>By a “set” we mean any collection <em>M</em> into a whole of definite, distinct objects <em>m</em> (which are called the “elements” of <em>M</em>) of our perception or of our thought.</blockquote><p>Cantor’s definition left room for the possibility of considering as a set any collection of objects of perception or thought based on any conceivable <strong>property</strong>. According to such definition, even extremely abstract objects of thought, like, for example, the whole of all existing things, could rightly be considered a set.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*Hb7Hkyf_sqj_FNfjQbL4fw.jpeg" /><figcaption>Cantor around 1910 at the age of about 65</figcaption></figure><p>So, if we call <em>U</em> the set of all existing things, both those endowed with physical reality and those simply thought of, it follows that <em>U</em> plays <strong>a double role</strong>. As a set, it is the <strong>container</strong> of this totality of objects. But it is also a <strong>content of itself</strong> because it is an existing thing, albeit as a pure object of thought. And, if a set can contain itself among its elements, then it is also possible to conceive <em>the set of all sets that are elements of themselves</em>. Let <em>Y</em> be such a set. In <a href="https://medium.com/not-zero/%E2%84%92-the-language-of-set-theory-4b00a86ecaac">symbols</a> it can be defined as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vt-MhgHSDUMhJKAtdiOCUQ.png" /></figure><p>But this overlapping of roles between content and container ended up turning into a lethal weapon for the logical coherence of a theory that allowed any property to be used to build a set. The contradiction Russell speaks of in his letter to Frege arises from a definition of a set which is opposite and yet extremely similar to the set defined above: <em>The set of all sets that are NOT elements of themselves</em>. Let <em>W</em> be such a set. In symbols, it corresponds to:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FTaAPpVegn8uzIg6z6v-gQ.png" /></figure><p>The contradiction follows directly from the very definition of such a set. If <em>W</em> is the set of all sets that are not elements of themselves, is <em>W</em> or not an element of itself? If <em>W</em> is NOT an element of itself, then it SHOULD BE an element of itself under its definition. But, if <em>W</em> IS an element of itself, then <em>W</em> no longer matches its definition. Both alternatives inevitably lead to a <strong>contradiction</strong>. In symbols:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MZIhC37q8iR_7ChmEbsoSA.png" /></figure><p>The formula states that defining <em>W</em> as the set of all sets that are not elements of themselves implies that <em>W</em> is an element of itself<em> if and only if W</em> is NOT an element of itself, which is openly contradictory.</p><h3>Russell’s view of the paradox</h3><p>According to Russell, the contradiction he notified to Frege arose because the <strong>logic</strong> underlying the statements describing a class of objects that contains or does not contain itself was <strong>inadequate</strong>. It is interesting to read what Russell wrote about this problem in “The Philosophy of Logical Atomism” (1918):</p><blockquote><em>(…) </em>the whole question whether a class is or is not a member of itself is nonsense, i.e. that no class either is or is not a member of itself, and that it is not even true to say that, because the whole form of words is just a noise without meaning. That has to do with the fact that classes<em> (…) </em>are incomplete symbols <em>(…) </em>; you are talking nonsense when you ask yourself whether a class is or is not a member of itself, because in any full statement of what is meant by a proposition which seems to be about a class, you will find that the class is not mentioned at all and that there is nothing about a class in that statement. It is absolutely necessary, if a statement about a class is to be significant and not pure nonsense, that it should be capable of being translated into a form in which it does not mention the class at all. This sort of statement, “Such-and-such a class is or is not a member of itself”, will not be capable of that kind of translation. <em>(…) </em>the symbol for a class is an incomplete symbol; it does not really stand for part of the propositions in which symbolically it occurs, but in the right analysis of those propositions that symbol has been broken up and disappeared.</blockquote><h3>Russell’s solution</h3><p>Russell’s solution to the paradox that bears his name was the so-called <strong>theory of</strong> <strong>types</strong>. In this theory, classes are formed hierarchically, starting from the simplest, created to describe particular objects. More abstract classes only make sense if they are properly formed from lower-level classes. The following quote is also taken from “The Philosophy of Logical Atomism” (1918):</p><blockquote>For instance, the totality of classes in the world cannot be a class in the same sense in which they are. So we shall have to distinguish a hierarchy of classes. We will start with the classes that are composed entirely of particulars: that will be the first type of classes. Then we will go on to classes whose members are classes of the first type: that will be the second type. Then we will go on to classes whose members are classes of the second type: that will be the third type, and so on. Never is it possible for a class of one type either to be or not to be identical with a class of another type.</blockquote><p>In such a hierarchical construction, the class of all the classes which are not elements of themselves is pure logical nonsense; it cannot exist because it cannot be constructed correctly from a lower hierarchical level. Charles C. Pinter, a professor at the Bucknell University, briefly but clearly explains the basic mechanism of the theory of types in his “A Book of Set Theory” (2014):</p><blockquote><em>(…) </em>in his efforts to reinstate intuitive set theory, Russell was led to the idea that we may consider sets to be ordered in a hierarchy of “levels,” where, if <em>A </em>and <em>B </em>are sets and <em>A </em>is an element of <em>B</em>, then is <em>B </em>“one level higher” than <em>A</em>. <em>(…) </em>Every set has a natural number assigned to it, called its <em>level</em>. The simplest sets, those of level <em>0</em>, are called <em>individuals</em>—they do not have elements. A collection of individuals is a set of level <em>1</em>; a collection of sets of level <em>1</em> is a set of level <em>2</em>; and so on. In the theory of types the expression <em>a ∈</em> <em>B </em>is only meaningful if, for some number <em>n</em>, <em>a </em>is a set of level <em>n </em>and <em>B </em>is a set of level <em>n</em>+<em>1</em>. It follows that the statement <em>x ∈</em> <em>x </em>has no meaning in the theory of types, and as a result, Russell’s paradox vanishes for the simple reason that it cannot even be formulated.</blockquote><p>However, as Pinter explains in his book, the theory of types, due to a certain heaviness and the numerous assumptions to which Russell was forced, has never managed to gain widespread favor among mathematicians:</p><blockquote>Russell’s theory of types is built upon a beautifully simple idea. Unfortunately, in order to make it “work,” Russell was forced to add a host of new assumptions, until finally the resulting theory became too cumbersome to work with and too complicated to be truly pleasing. <em>(…) </em>As a result of these shortcomings, the theory of types has not gained wide acceptance among mathematicians, although it is still an interesting (and maybe promising) area of research.</blockquote><h3>Zermelo-Fraenkel’s solution to Russell’s paradox</h3><p>The solution to Russell’s paradox that has been most successful and widely accepted today is that deriving from the <strong>axiomatic set theory</strong> known as <strong>ZFC</strong>. In this acronym, the Z stands for Zermelo (the German logician and mathematician <a href="https://en.wikipedia.org/wiki/Ernst_Zermelo">Ernst Zermelo</a>, who provided the first axiomatization of the theory in 1908); the F stands for Fraenkel (the mathematician <a href="https://en.wikipedia.org/wiki/Abraham_Fraenkel">Abraham Fraenkel</a>, author of important contributions to Zermelo’s theory); finally, the C stands for “choice,” referring to the <a href="https://en.wikipedia.org/wiki/Axiom_of_choice">axiom of choice</a>, formulated in 1904 by Zermelo and today considered an integral part of ZFC axiomatic theory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/623/1*CSV06D0sDilJqh1Yshpi6A.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*17fKZmgbkzvYUXFRHzXfMA.jpeg" /><figcaption><strong>Left</strong>: Ernst Zermelo in the early 1900s. <strong>Right</strong>: Abraham Fraenkel around 1940</figcaption></figure><p>In the cited “A Book of Set Theory” (2014), Pinter explains synthetically how Zermelo’s theory works:</p><blockquote>In Zermelo’s system, there is one primitive relation, denoted by the symbol<em> ∈</em>; the expression <em>x ∈</em> <em>Y </em>is to be read “<em>x </em>is an element of <em>Y </em>”. The variables <em>x, y, z, X, Y</em>, etc., which we place to the right or to the left of the symbol<em> ∈</em>, stand for objects which we agree to call “sets.”</blockquote><blockquote><em>(…) </em>The reader may feel there ought to be <em>two </em>kinds of objects, namely sets and elements. Actually, this distinction is unnecessary<em> (…)</em>; a useful simplification which is made in axiomatic set theory is to regard the elements of every set to be sets themselves; in other words, every set is considered to be a set <em>of sets</em>.</blockquote><blockquote><em>(…) </em>Almost every set that arises in our thinking is a set consisting of all the objects of a specified kind — that is, consisting of all the objects which satisfy a given condition. This is the most natural way in which sets occur: we are able to describe a condition on <em>x</em> — let us symbolize this condition by <em>S</em>(<em>x</em>) — and we are led to speak of the set of all objects <em>x </em>which satisfy <em>S</em>(<em>x</em>).</blockquote><blockquote><em>(…) </em>Since this is the most natural way that sets arise, it is clearly desirable to have a principle in set theory which makes it possible — given any condition <em>S</em>(<em>x</em>) — to form the set of all objects <em>x </em>which satisfy <em>S</em>(<em>x</em>). However, if such a principle is adopted <em>without any restrictions</em>, we are led to the paradoxes (for example, we can form the set of all sets which are not elements of themselves). Thus, we must devise such restrictions on this principle as will eliminate the paradoxes. Zermelo conceived the following restriction: Let <em>S</em>(<em>x</em>) be a condition on <em>x</em>; we <em>cannot </em>form the set of all <em>x </em>which satisfy <em>S</em>(<em>x</em>); but, if <em>A </em>is a given set, we can form the <em>set of all x in A which satisfy S</em>(<em>x</em>). Thus, roughly speaking, a property of objects cannot be used to form a “new” set, but only to “select,” from a set <em>A </em>whose existence has already been secured, all the elements which satisfy the given property.</blockquote><p>According to its function, Zermelo called this principle the <strong>axiom of selection </strong>and stated it as follows:</p><blockquote>Let <em>A </em>be a set, and let <em>S</em>(<em>x</em>) be a statement about <em>x </em>which is meaningful for every object <em>x </em>in <em>A</em>. There exists a set which consists of exactly those elements in <em>x </em>and <em>A </em>which satisfy <em>S</em>(<em>x</em>).</blockquote><p>In other words, the axiom of selection allows associating a set with a given property <em>only</em> if this set is an element of another set, whose existence is already granted by the axioms defined in the ZFC system. In symbols,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nkbUJqmneZye8LfxzygeoA.png" /></figure><p>to be read: “the set of all <em>x </em>in <em>A </em>such that <em>S</em>(<em>x</em>)”. The point worth noting is that Zermelo’s theory does NOT allow directly creating the set of all sets endowed with a certain property:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y-jXOq64fOevKRzrvhxSAA.png" /></figure><p>to be read: “the set of all <em>x </em>which satisfy <em>S</em>(<em>x</em>)”.</p><p>Finally, let us follow Pinter’s account of how the restriction introduced by Zermelo avoids Russell’s paradox:</p><blockquote>First, let us see what happens to Russell’s paradox: the crucial set in Russell’s argument is the “set of all sets which are not elements of themselves,” which can be symbolized as <em>{x | x ∉ x}</em>. As we have noted, this set cannot be formed in Zermelo’s system; the best we can do is to produce <em>{x ∈ A | x ∉ x}</em>, where <em>A </em>is any set which can be shown to exist. If we substitute <em>{x ∈ A |x ∉ x}</em> for <em>{x | x ∉ x}</em> in Russell’s argument, the outcome changes completely. Indeed, let us go through the steps of the argument, with <em>S </em>denoting <em>{x ∈ A | x ∉ x}</em>:</blockquote><blockquote><em>S ∈ S </em>is impossible, for <em>S ∈ S </em>implies <em>S ∉ S</em>, a contradiction! Thus <em>S ∉ S</em>. It follows that <em>S ∉ A</em>, for if <em>S </em>were in <em>A</em>, then (because <em>S ∉ S</em>) we would have <em>S ∈ S</em>, which would be a contradiction.</blockquote><blockquote>Hence Russell’s argument merely proves that if <em>A </em>is any set, then the set<em> {x ∈ A | x ∉ x}</em> cannot be an element of <em>A</em>.</blockquote><h3>The architect’s view of set theory</h3><p>ZFC axiomatic theory resembles Euclidean geometry in some respects. Just as Euclidean theorems are deductively derived from a few undefined principles, similarly, the ZFC theory does not focus on what sets are philosophically but on how it is possible to construct ever larger and more complex sets in a non-contradictory way, starting from the simplest possible set, that is, the <strong>empty set</strong>. This way of proceeding, similar to that by which an <strong>architect</strong> designs and constructs a building, is sufficient to solve Russell’s paradox and, more importantly, to provide a coherent foundation for the whole construction of mathematics. Winfried Just and Martin Weese explain this clearly and briefly in the first volume of their “Discovering Modern Set Theory” (1996):</p><blockquote>Think of the elements of a set as building blocks, and the formation of a set as assembling these building blocks into a whole. It is reasonable to require that at the moment a given set <em>M </em>is being formed, all its building blocks must have already attained their final shape; in this sense they should be “definite.” Let us call this stance the <em>architect’s view of set theory. </em>It stipulates that although it is possible to contemplate all sets at once, each set has to be formed at some moment in an abstract “time,” and at that moment, all its building blocks must already have been available in their final shape. Also, once a set is formed, one should be able to use it as a building block of other sets.</blockquote><blockquote>This view solves Russell’s Paradox in an unexpected way: <em>M </em>is not a set, because it could never have been assembled! At no moment in set-theoretic time do all the building blocks for the construction of <em>M </em>exist.</blockquote><blockquote>How can the architect’s view of set theory be expressed with sufficient mathematical precision? The approach concentrates not on what sets are, but on how sets are being formed. At the beginning of set-theoretic time, the only set that can be formed is the empty set, since no previous building blocks exist. Once this set is formed, it can be used as a building block for further sets. The modern alternative to Cantor’s definition is to describe precisely by which operations new sets can be built from existing ones, and then to apply these operations successively to the empty set.</blockquote><blockquote>Can we get all sets in this way? Perhaps not, but we can construct a universe of sets rich enough to encompass all known mathematics. This will do for starters. The architect’s view of set theory can be formalized by axioms, similar to the way in which our space intuitions were formalized by Euclid more than two thousand years ago. <em>(…)</em> Once an axiom system has been formulated, one can ask whether a given mathematical statement or its negation follows from the axioms. The answer may be a ‘’yes,’’ a “no,” or an independence result.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f81bd690df7e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/not-zero/russells-paradox-f81bd690df7e">Russell’s Paradox</a> was originally published in <a href="https://medium.com/not-zero">Not Zero</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Equivalence Relations, Equivalence Classes and Partitions]]></title>
            <link>https://medium.com/not-zero/equivalence-relations-equivalence-classes-and-partitions-5b6e2e406267?source=rss----364125a34125---4</link>
            <guid isPermaLink="false">https://medium.com/p/5b6e2e406267</guid>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[math]]></category>
            <category><![CDATA[category]]></category>
            <category><![CDATA[partition]]></category>
            <category><![CDATA[set]]></category>
            <dc:creator><![CDATA[Michele Diodati]]></dc:creator>
            <pubDate>Wed, 03 Nov 2021 15:39:42 GMT</pubDate>
            <atom:updated>2021-11-03T20:58:54.354Z</atom:updated>
            <content:encoded><![CDATA[<h4>Equivalence relations are powerful tools for organizing sets of any kind into homogeneous subsets</h4><h3>Equivalence relations and equivalence classes</h3><p>Given a nonempty set <em>A</em>, a relation <em>R</em> in <em>A</em> is a <a href="https://medium.com/not-zero/basics-of-sets-dabcafa3db66">subset</a> of the <a href="https://medium.com/not-zero/ordered-pairs-cartesian-product-and-binary-relations-809ad2a274ca">Cartesian product</a> <em>A</em>×<em>A</em>. An <strong>equivalence relation</strong>, denoted usually with the symbol <strong>~</strong>, is a relation in <em>A</em>, which is reflexive, symmetric, and transitive. More specifically, an equivalence relation <em>~</em> in <em>A</em> is:</p><ul><li><strong>reflexive</strong> if <em>x~x</em> for every <em>x</em> ∈ <em>A</em> (any <em>x</em> element of <em>A</em> is equivalent to itself);</li><li><strong>symmetric</strong> if, for every <em>x</em>, <em>y</em> ∈ <em>A</em>, <em>x~y</em> implies <em>y~x </em>(any <em>x</em> equivalent to <em>y</em> in <em>A</em>, implies that <em>y</em> is equivalent to <em>x</em>);</li><li><strong>transitive</strong> if, for every <em>x</em>, <em>y</em>, <em>z</em> ∈ <em>A</em>, <em>x~y</em> and <em>y~z</em> imply <em>x~z</em> (if <em>x</em> is equivalent to <em>y</em> and <em>y</em> is equivalent to <em>z</em>, then <em>x</em> is equivalent to <em>z</em>).</li></ul><p>If ~ is an equivalence relation on a set <em>A</em>, the <strong>equivalence class</strong><em> </em>of an element <em>x</em> of <em>A</em> under the equivalence relation ~ is the set</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*062w4vZ98OFRWZisKw28Wg.png" /></figure><p>This formula means that <em>x</em> and <em>y, </em>both elements of <em>A</em>,<em> </em>can belong to the same equivalence class if and only if they are equivalent. Stated in other words, an equivalence class can contain only elements sharing the same equivalence relation.</p><h3>Partitioning a set through equivalence relations</h3><p>A <strong>partition </strong><em>P</em><strong> </strong>of a set <em>A </em>is a set of <strong>subsets</strong> of <em>A </em>with the following three properties:</p><ul><li>it is <strong>disjoint</strong>, i.e., no two different sets in <em>P</em> have any common elements; therefore, if <em>C</em> and <em>D</em> are any two distinct subsets of <em>P</em>, the intersection of <em>C</em> and <em>D</em> is the empty set;</li><li>it is <strong>exhaustive</strong>, i.e., each element of <em>A </em>is in some set in <em>P</em>; therefore, the union of all subsets of <em>P</em> is equal to <em>A</em>;</li><li>No set in <em>P</em> is empty.</li></ul><p><em>Any</em> equivalence relation on a set <em>A</em> creates a partition <em>P</em> of <em>A </em>whose elements are nonempty subsets of <em>A</em> formed by the equivalence classes based on that relation.</p><p>For example, let <em>A</em> be the set of the standard 52 cards in a deck of French-suited cards, and let ~ be the equivalence relation “has the same rank as.” This equivalence relation produces thirteen distinct <strong>equivalence classes</strong>, each for any rank from aces to kings. In this way, from a single set <em>A</em> made up of 52 elements (all the cards in the deck), we arrive at a partition <em>P</em> of <em>A</em>, consisting of the thirteen subsets shown in the following image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-vIwcR2JemmYezXc9j-gMg.jpeg" /><figcaption>This partition P of set A consists of 13 subsets formed by the elements in the equivalence classes based on the equivalence relation ~ on A “has the same rank as”</figcaption></figure><p>Each of the thirteen boxes represents a subset in <em>P</em>. As you can easily verify, <em>P</em>, i.e., the union of all thirteen subsets, is a <strong>partition</strong> of <em>A</em>, since:</p><ul><li>no subset in <em>P</em> is empty;</li><li>no elements (the single cards of the deck) is found in more than one subset;</li><li>all the elements of <em>A</em> are in <em>P</em>, so the union of all subsets of <em>P</em> is equal to <em>A</em>.</li></ul><p>The above is in no way the only partition <em>P</em> of <em>A</em> we can create using an equivalence relation. Another trivial partition is that based on the equivalence relation ~ on <em>A</em> “has the same suit as.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7eVH0KtgIerneFDE0lS1bg.jpeg" /><figcaption>In this case, the partition P of set A consists of 4 subsets formed by the elements in the equivalence classes induced by the equivalence relation ~ on A “has the same suit as”</figcaption></figure><p>This subdivision of <em>A</em> is also a partition of <em>A</em> as the above, since it meets the three required criteria:</p><ol><li>no empty set;</li><li>no elements in more than one set (all subsets of <em>P</em> are <strong>pairwise disjoint</strong>);</li><li>no elements of <em>A</em> left out (<em>P</em> is <strong>exhaustive</strong>).</li></ol><p>A set consisting of all the subsets of a given set induced by an equivalence relation on that set is also called a <strong>quotient set</strong>. Given a set <em>A</em> and an equivalence relation <strong>~</strong> on <em>A</em>, the quotient set, denoted <strong><em>A</em>\~,</strong> consists of all the equivalence classes based on that relation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0_TuxhMWaaaN2anBdth_QA.png" /></figure><h3>A powerful categorization tool</h3><p>Equivalence relations, equivalence classes, and partitions are powerful tools for organizing sets of any kind into categories, based on the sharing of specific properties by the elements that belong to a set.</p><p>Once a property has been defined through an equivalence relation, all the elements of a set can be divided into disjoint and nonempty subsets, each characterized by having or not having that particular property. For example, a city’s population can be divided by age, gender, educational level, eye color, wealth, etc. Each of these properties can be defined by an equivalence relation, thanks to which the original set, i.e., the total population, can be divided into homogeneous groups. A partition is nothing more than a way of dividing the elements of a set into groups, that is, subsets, homogeneous concerning a particular property.</p><p>Any member of an equivalence class defined by a particular equivalence relation can represent that class. For example, in a deck of French-suited playing cards, any one of the thirteen cards of hearts is a fully-fledged <strong>representative</strong> of that equivalence class.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5b6e2e406267" width="1" height="1" alt=""><hr><p><a href="https://medium.com/not-zero/equivalence-relations-equivalence-classes-and-partitions-5b6e2e406267">Equivalence Relations, Equivalence Classes and Partitions</a> was originally published in <a href="https://medium.com/not-zero">Not Zero</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ordering Relations]]></title>
            <link>https://medium.com/not-zero/ordering-relations-7b396a693fae?source=rss----364125a34125---4</link>
            <guid isPermaLink="false">https://medium.com/p/7b396a693fae</guid>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[relations]]></category>
            <category><![CDATA[set]]></category>
            <category><![CDATA[ordering]]></category>
            <category><![CDATA[math]]></category>
            <dc:creator><![CDATA[Michele Diodati]]></dc:creator>
            <pubDate>Thu, 28 Oct 2021 21:45:10 GMT</pubDate>
            <atom:updated>2021-10-29T22:00:32.294Z</atom:updated>
            <content:encoded><![CDATA[<h4>The concepts of total and partial ordering</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rMyqzeYHHXdEx8mAkznhhA.jpeg" /></figure><h3>Trichotomy</h3><p>Let us consider the case in which <strong><em>x</em></strong> and <strong><em>y</em></strong> are two distinct elements of a set <strong><em>A</em></strong>. Given a <a href="https://medium.com/not-zero/ordered-pairs-cartesian-product-and-binary-relations-809ad2a274ca">binary relation</a> <strong><em>R</em></strong> on <strong><em>A</em></strong>, there are orderings of the set requiring that exactly one of the following three alternatives is true with respect to that relation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OhGzib5Gk76-4eIU-Q7J2A.png" /></figure><p>(<strong><em>xRy</em></strong> means that <strong><em>x</em></strong> is related to <strong><em>y</em></strong> by the relation <strong><em>R</em></strong>; symmetrically, <strong><em>yRx</em></strong> means that <strong><em>y</em></strong> is related to <strong><em>x</em></strong> by the relation <strong><em>R</em></strong>.) <strong>Trichotomy</strong> is the technical term used to define the condition where exactly one of three alternatives must be true.</p><h3>Total or linear ordering</h3><p>Trichotomy plays a role in defining the properties of an <strong>ordering relation </strong>called <strong>total ordering</strong>. Given any distinct <strong><em>x</em></strong> and <strong><em>y</em></strong> in a set <strong><em>A</em></strong>, this relation tells us just which one is <strong>smaller</strong>. First of all, no element of <strong><em>A</em></strong> can be smaller than itself. Furthermore, if <strong><em>x</em></strong> is less than <strong><em>y</em></strong> and <strong><em>y</em></strong> is less than <strong><em>z</em></strong>, then <strong><em>x</em></strong> should be less than <strong><em>z</em></strong>. Those properties participate in the definition of total ordering.</p><p>Thus, a total (or <strong>linear</strong>) ordering on a set <em>A</em> is a binary relation <strong><em>R</em></strong> on <strong><em>A</em></strong> that obeys the following conditions:</p><ol><li><strong><em>R</em></strong> is <strong>antireflexive</strong>: There is no <strong><em>x</em></strong> in <strong><em>A</em></strong> for which <strong><em>xRx</em></strong>;</li><li><strong><em>R</em></strong> is <strong>transitive</strong>: If <strong><em>xRy</em></strong> and <strong><em>yRz</em></strong>, then <strong><em>xRz</em></strong>;</li><li><strong><em>R</em></strong> satisfies trichotomy. As explained above, this means that only one among <strong><em>xRy</em></strong>, <strong><em>x=y</em></strong>, and <strong><em>yRx </em></strong>is true. More specifically, for any distinct <strong><em>x</em></strong> and <strong><em>y</em></strong> in <strong><em>A</em></strong>, either <strong><em>xRy</em></strong> or <strong><em>yRx </em></strong>is true, but not both. In this case, <strong><em>R</em></strong> is said to be <strong>connected</strong> on <em>A</em>.</li></ol><p>Total ordering is also called <strong>linear</strong> ordering because the binary relations of this kind on a given set cannot create circles. To clarify the point, let us consider the following relations:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ztD_gMsKp-QDVbYwkrQoKw.png" /></figure><p>Since total ordering is a transitive relation, then</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9T_ldu3XwAPAIGD0RH4SGw.png" /></figure><p>But the last relation should infringe the first condition: No <strong><em>x</em></strong> for which <strong><em>xRx</em></strong> is true can be an element of <strong><em>A</em></strong> if <strong><em>A</em></strong> is a totally ordered set.</p><p>All that being said, <strong><em>R</em></strong> is certainly not the most used symbol to define this relation in the context of a comparison of numbers. The symbol normally used is instead <strong>&lt;</strong>. For example,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dgnp6OSSf0njW1RljvLRYQ.png" /></figure><p>are three total ordering relations on the set ℕ of <a href="https://medium.com/not-zero/natural-numbers-88bde9d51420">natural numbers</a>. The same relations can be symbolically expressed in non-abbreviated form as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uuENbwtzWnweIxhob-GA5Q.png" /></figure><p>Therefore, &lt; is a subset of ℕ and precisely the set that contains the above three <strong>ordered pairs</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6feuEuFqcx9MY6cAC2LnFQ.png" /></figure><p>The total ordering defined by these three relations can be represented graphically as a series of three equally spaced points on a line segment, a representation from which we can deduce why this ordering is also called <strong>linear</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bX4Syw0IPQLc4ZbiWFlrfw.jpeg" /></figure><p>The <strong>graph</strong> conveys the same information defined above symbolically: <strong>3</strong> is less than <strong>4</strong> and less than <strong>5</strong>, <strong>4</strong> is less than <strong>5</strong>.</p><h3>Partial ordering</h3><p>A relation <strong><em>R</em></strong> on a set <em>A</em> is a partial ordering if and only if:</p><ul><li><strong><em>R</em></strong> is <strong>reflexive</strong> (for all <strong><em>x</em></strong> elements of <em>A</em>, <strong><em>xRx</em></strong>);</li><li><strong><em>R</em></strong> is <strong>antisymmetric</strong> (for all <strong><em>x</em></strong>, <strong><em>y</em></strong> elements of <em>A</em>, if <strong><em>xRy</em></strong> and <strong><em>yRx</em></strong>, then <strong><em>x=y</em></strong>);</li><li><strong><em>R</em></strong> is <strong>transitive</strong> (for all <strong><em>x</em></strong>, <strong><em>y</em></strong> and <strong><em>z</em></strong> elements of <em>A</em>, if <strong><em>xRy</em></strong> and <strong><em>yRz</em></strong>, then <strong><em>xRz</em></strong>).</li></ul><p>The <strong>divisibility</strong> relation over positive integers is an example of partial ordering. The following diagram shows a very little part of what would be an infinite structure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0NXNKkFRVD8iIFsENoDDWw.jpeg" /><figcaption>The<strong> </strong>divisibility relation, an example of partial ordering adapted from H.B. Enderton, “Elements of Set Theory” (1977)</figcaption></figure><p>Another example of partial ordering is the <strong>inclusion </strong>ordering of all the subsets of a given set (a relation defined by the symbol <strong>⊆</strong>). The following <a href="https://en.wikipedia.org/wiki/Hasse_diagram">Hasse diagram</a> shows the inclusion ordering on the set <strong>{0, 1, 2}</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5r_ICupV22VeX7_wmsijTA.jpeg" /><figcaption>The inclusion ordering on the set <strong>{0, 1, 2}</strong></figcaption></figure><p>This kind of diagram is a <strong>simplification</strong> in which the reflexive relations of each element with itself are not shown. Likewise, the transitive relations (the arcs linking any element <strong><em>a</em></strong> to <strong><em>c</em></strong>, both related to a common element <strong><em>b</em></strong>) are not shown. The diagram only shows the direct ordering relations from any element <strong><em>a</em></strong> to any element <strong><em>b</em></strong>, such that no intermediate element <strong><em>i</em></strong> exists between <strong><em>a</em></strong> and <strong><em>b</em></strong>. The lines indicating these relations point all <strong>upwards</strong>, so there is no need to use arrows suggesting the direction of each relation.</p><p>Even though with this simplification, Hasse diagrams perfectly capture the distinctive features of partial orderings. As can be easily noted observing the above figures, each element of a partially ordered set can be related to <strong>many </strong>elements of the same set. Moreover, two distinct elements can be totally <strong>unrelated</strong>. For instance, no line connects the positive integers 3 and 4 in the diagram showing the divisibility relation. Also, no line connects 6 and 7 in the same diagram. In fact, 4 is not divisible by 3. Similarly, 7 is not divisible by 6.</p><p>These two features <strong>differentiate</strong> partial ordering from total ordering. All the elements of a totally ordered set are connected in a series forming a <strong>linear chain</strong>. Instead, the elements of a partially ordered set form <strong>branches</strong> in which the same element can be directly connected to many other elements, maintaining the possibility to be unrelated to other elements of the same set.</p><h3>Comparable and incomparable elements of a set</h3><p>A binary relation <strong><em>R</em></strong> on a set <strong><em>A</em></strong> is a subset of the <a href="https://medium.com/not-zero/ordered-pairs-cartesian-product-and-binary-relations-809ad2a274ca#bd05">Cartesian product</a> <strong><em>A</em>×<em>A</em></strong>. Given two elements <strong><em>x</em>, <em>y</em> ∈ <em>A</em></strong>, <strong><em>x</em></strong> is said to be <strong>comparable</strong> to <strong><em>y</em></strong> with respect to the binary relation <strong><em>R</em></strong> if either <strong><em>xRy</em></strong> or <strong><em>yRx</em></strong> is true. Conversely, <strong><em>x</em></strong> is said to be <strong>incomparable</strong> to <strong><em>y</em></strong> with respect to the same relation <strong><em>R</em></strong> if neither <strong><em>xRy</em></strong> nor <strong><em>yRx</em></strong> is true.</p><p>Let us consider, for example, the natural numbers 19 and 21 with respect to the ordering relation <strong>&lt;</strong>. Since 19 &lt; 21, then 19 and 21 are comparable with respect to the binary relation <strong>&lt;</strong>.</p><p>Let us consider, instead, the elements <strong>{0}</strong> and <strong>{1} </strong>of the <a href="https://medium.com/not-zero/power-set-d377e16cc35a">power set</a> <strong>℘({0,1,2})</strong> with respect to the partial order <strong>⊆</strong>. Since they are not <a href="https://medium.com/not-zero/basics-of-sets-dabcafa3db66">subsets</a> of each other, {0} and {1} are incomparable with respect to <strong>⊆</strong>.</p><p>The distinction between comparable and incomparable elements of a set helps to clarify the difference between total ordering and partial ordering. A totally ordered set is a partially ordered set in which <em>any two elements are comparable</em>. From this definition, it follows, for example, that natural numbers are a totally ordered set with respect to the binary relations &lt; (‘less than’) and &gt; (‘greater than’) while they are a partially ordered set with respect to the relation | of divisibility.</p><h3>Posets and tosets</h3><p>The symbol <strong>⪯</strong> is usually used to denote a partial ordering. A partially ordered set or <strong>poset</strong> is a set together with a binary relation indicating that one of the elements precedes the other in the ordering for certain pairs of elements in the set. Therefore, if <strong><em>A </em></strong>is a set, a poset is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ua232cnt0WUfP4iY67EdMw.png" /></figure><p>Another example of a poset is the set of natural numbers together with the binary relation of divisibility:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZPbB8uBaw-t73eGmwGRNyw.png" /></figure><p>Similarly, a totally ordered set, sometimes called a <strong>toset</strong>, is a set together with a binary relation indicating that one of the elements precedes the other in the ordering for <em>any</em> pair of elements in the set. Some authors use the symbol <strong>⊑</strong> to denote this relation. Thus, if <strong><em>A</em></strong> is a set, a toset is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HcAtRaCsB9tI1SwSbWOcVA.png" /></figure><p>Natural numbers are an example of a totally ordered set with respect to the binary relation &lt;:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vu18jp0UHdJsYbEHDARyHQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7b396a693fae" width="1" height="1" alt=""><hr><p><a href="https://medium.com/not-zero/ordering-relations-7b396a693fae">Ordering Relations</a> was originally published in <a href="https://medium.com/not-zero">Not Zero</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ordered Pairs, Cartesian Product, Binary Relations]]></title>
            <link>https://medium.com/not-zero/ordered-pairs-cartesian-product-and-binary-relations-809ad2a274ca?source=rss----364125a34125---4</link>
            <guid isPermaLink="false">https://medium.com/p/809ad2a274ca</guid>
            <category><![CDATA[binary-relation]]></category>
            <category><![CDATA[set]]></category>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[math]]></category>
            <category><![CDATA[cartesian-product]]></category>
            <dc:creator><![CDATA[Michele Diodati]]></dc:creator>
            <pubDate>Mon, 25 Oct 2021 21:24:28 GMT</pubDate>
            <atom:updated>2021-10-26T07:08:42.080Z</atom:updated>
            <content:encoded><![CDATA[<h4>A binary relation <em>R</em> on a set A is a subset of the Cartesian product A<strong>×</strong>A</h4><p>A fundamental feature of mathematics is the possibility of exploiting the link between algebra and geometry made visible by the representation of objects such as straight lines, curves, circles, etc., in the so-called Cartesian plane. This system is so effective because each point of the plane can be unambiguously described by a <strong>pair of</strong> <strong>coordinates</strong>. The <em>x-</em>coordinate defines the position of each point to the horizontal axis or abscissa; the <em>y</em>-coordinate defines this position to the vertical axis or ordinate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AU4s6tM6t1VFoa28IjfdeQ.jpeg" /><figcaption>A pair of coordinates unambiguously defines the position of each point in a Cartesian coordinate system</figcaption></figure><h3>The set-theoretic definition of ordered pair</h3><p>The attempt undertaken at the beginning of the last century to rethink mathematics in terms of set theory was confronted, among other things, with the need to define every possible pair of coordinates as a particular type of <strong>set</strong>. This produced a difficulty of no small relevance. In fact, the <strong>order</strong> in which the elements of a set are listed does not matter. Therefore, <strong>{<em>x</em>, <em>y</em>}</strong> and <strong>{<em>y</em>, <em>x</em>}</strong> are exactly the same set. If we want a set in which the order of the elements <em>does</em> matter, we need something different. The challenge is that a set, every set, needs to be completely defined <em>solely</em> by its elements.</p><p>The first to find a satisfactory solution to the problem was the Polish mathematician Kazimierz Kuratowski in 1921. His definition of an <strong>ordered pair</strong> as a set of elements in which the order is unambiguously defined is still in use today:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IPYEV6gEgPHUup5ll_1-3Q.png" /></figure><p>In this definition, <strong>(<em>x</em>, <em>y</em>)</strong> is an <strong>abbreviation</strong> for the set <strong>{{<em>x</em>}, {<em>x</em>, <em>y</em>}}</strong>, in which <strong>{<em>x</em>, <em>y</em>}</strong> is an <strong>unordered</strong> pair of elements and <strong>{<em>x</em>}</strong> what establishes which of the two elements of the pair is the <strong>first</strong>.</p><h3>An ordered pair is a set defined only by its elements</h3><p>For this definition to determine the <strong>property</strong> we are interested in, that is, <strong><em>x</em></strong> is the first coordinate and <strong><em>y</em></strong> the second, there must be no other possible orderings. In particular, if the pair <strong>(<em>x</em>, <em>y</em>)</strong> is equal to another pair <strong>(<em>u</em>, <em>v</em>)</strong>, it is necessary that <strong><em>x</em> = <em>u</em></strong> and <strong><em>y</em> = <em>v</em></strong> and that no other possibilities are given.</p><p>To prove that this is the case, once we have assumed that <strong>(<em>x</em>, <em>y</em>) = (<em>u</em>, <em>v</em>)</strong>, we must analyze the consequences of the two possible alternatives, that is, when <strong><em>u</em> = <em>v</em></strong> and when, instead, <strong><em>u</em> ≠ <em>v</em></strong>.</p><p>If <strong><em>u</em> = <em>v</em></strong>, then</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rs-pT9XHXVg6fNidx4Ivtw.png" /></figure><p>Hence,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZR2eX6XM_TBmM4YNE-bAcQ.png" /></figure><p>This implies that</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MM9O6id3gujYBPHit96EwA.png" /></figure><p>with the necessary consequence that <strong><em>x</em></strong>, <strong><em>y</em></strong>, <strong><em>u</em></strong>, and <strong><em>v</em></strong> are all the same, and, in particular, <strong><em>x</em> = <em>u</em></strong> and <strong><em>y</em> = <em>v</em></strong>.</p><p>The second alternative requires a little more complicated reasoning. If <strong><em>u</em> ≠ <em>v</em></strong>, then</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v3OU5aar87HnXpo_fuqPIw.png" /></figure><p>Since <strong>(<em>x</em>, <em>y</em>) = (<em>u</em>, <em>v</em>)</strong>, then</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TQgjmt4ESjLzhlrlC8rrXg.png" /></figure><p>From the first statement it follows that <strong>{<em>x</em>} = {<em>u</em>}</strong> and, in turn, <strong><em>x </em>= <em>u</em></strong>. Given that <strong>{<em>x</em>} ≠ {<em>u</em>,<em>v</em>}</strong>, from the second statement it follows that</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RgN9y1AzdtVlS5N4nYSzuw.png" /></figure><p>This implies that</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OW5Eow0VZD6DYWdeXOFKmQ.png" /></figure><p>It follows that <strong><em>x</em></strong> <strong>≠ <em>y</em> </strong>and<strong> <em>y</em> ≠ <em>u</em></strong>. Hence,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HUR2waA4Fel2qUjrWQy4jw.png" /></figure><p>This proves that an ordered pair <strong>(<em>x</em>, <em>y</em>)={{<em>x</em>}, {<em>x</em>, <em>y</em>}}</strong> is a set whose order is unambiguously determined by its two elements only.</p><h3>Cartesian product</h3><p>If we have two sets <strong><em>A</em></strong> and <strong><em>B</em></strong>, we can form ordered pairs <strong>(<em>x</em>, <em>y</em>)</strong> with</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sqC-qPtLvuvzaJEhCqNj1w.png" /></figure><p>The set of all ordered pairs formed in such a way is called the Cartesian product <strong><em>A </em>× <em>B</em></strong> of <strong><em>A</em></strong> and <strong><em>B</em></strong>. In <a href="https://medium.com/not-zero/%E2%84%92-the-language-of-set-theory-4b00a86ecaac">symbols</a>,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3Cvjtso4tfL4v554s8uLsw.png" /></figure><p>In plain language, the <a href="https://medium.com/not-zero/%E2%84%92-the-language-of-set-theory-4b00a86ecaac">formula</a> means that the cartesian product <strong><em>A </em>× <em>B</em></strong> is the set of all ordered pairs <strong>(<em>x</em>, <em>y</em>)</strong> such that <strong><em>x</em></strong> is an element of set <strong><em>A</em></strong> and <strong><em>y</em></strong> is an element of set <strong><em>B</em></strong>.</p><p>For example, let</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MpdGDXS81vaCGqdxONoLgA.png" /></figure><p>Combining the elements of <strong><em>A</em></strong> and <strong><em>B </em></strong>to form ordered pairs, we get the following Cartesian product:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mj2al-3fFR23EUSamAvWgw.png" /></figure><p>As usual, the order in which we list the elements of the set does not matter. Therefore, the following is the same as the previous set:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n3T_y9KO0wQKOTY4EkqNpQ.png" /></figure><p>However, the order in which the elements of any ordered pair of the set are listed <em>does </em>matter. For example, <strong>(<em>b</em>, 0)</strong> is different from <strong>(0, <em>b</em>)</strong>. Therefore, if we reverse the internal order of even one of the ordered pairs of the above set, it will no longer be the Cartesian product <strong><em>A </em>× <em>B</em></strong> of the sets <strong><em>A</em></strong> and <strong><em>B</em></strong>. In general, the Cartesian product of two sets <em>A</em> and <em>B</em> is <strong>not </strong><a href="https://medium.com/not-zero/commutative-property-369c3e38e1bf"><strong>commutative</strong></a> unless <em>A</em> and <em>B</em> are equal or one of the two sets is empty.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ofgbRmZT2avae5mqvU6c2Q.jpeg" /></figure><h3>Binary relations</h3><p>A <strong>binary relation</strong> is a set whose elements are all ordered pairs. From this definition, it follows that the Cartesian product <strong><em>A </em>× <em>B</em></strong> of two sets <strong><em>A</em></strong> and <strong><em>B</em></strong> is a binary relation, since all its members are ordered pairs.</p><p>In general, <strong><em>R</em></strong> is a binary relation on a set <strong><em>A</em></strong> if and only if <strong><em>R </em></strong>is a <a href="https://medium.com/not-zero/basics-of-sets-dabcafa3db66"><strong>subset</strong></a> of the Cartesian product <strong><em>A </em>× <em>A</em></strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ONPCA-xpKGLcnPpTfNzQmQ.png" /></figure><p>A binary relation <strong>(<em>a</em>, <em>b</em>) ∈ <em>R</em> </strong>is usually abbreviated as <strong><em>aRb</em></strong>. A typical example of a binary relation is the<strong> ordering relation</strong> <strong>&lt;</strong>. For example, let <strong><em>R</em></strong> be the set of all ordered pairs <strong>(<em>a</em>, <em>b</em>)</strong> elements of <strong>ℕ</strong> such that <strong><em>a</em></strong> is less than <strong><em>b</em></strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mw-REjlQ0PiB1XRPZTeJ8A.png" /></figure><p>Since 1 is less than 2, we have <strong>(1, 2)</strong> <strong>∈ <em>R</em></strong>. This relation can be abbreviated as <strong>1<em>R</em>2</strong>. Instead of <strong><em>R</em></strong>, we can use the symbol <strong>&lt;</strong> to define the same subset of the Cartesian product <strong>ℕ</strong> <strong>× ℕ</strong>. Therefore, we can write concisely <strong>1 &lt; 2</strong> meaning that the ordered pair <strong>(1, 2)</strong> is an element of the set <strong>&lt;</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kDHgAqrVibstPapuPP0bqQ.png" /></figure><p>There are many types of binary relations. What distinguishes one type from another are the <strong>properties</strong> that hold for any relation. Some of these properties are mutually exclusive, as can easily be seen from the following list.</p><p>We say that a binary relation <strong><em>R</em></strong> on a set <strong><em>A</em></strong> is</p><ul><li><strong>reflexive</strong> if for all <strong><em>a</em></strong> <strong>∈ <em>A</em></strong>,<strong> (<em>a</em>, <em>a</em>) ∈ <em>R</em></strong>. An example of reflexive relation is the relation ‘is equal to’, applicable to any number since each number is equal to itself;</li><li><strong>symmetric</strong> if for all <strong><em>a</em>,<em> b </em>∈ <em>A</em></strong>,<strong> (<em>a</em>, <em>b</em>) ∈ <em>R</em></strong> implies <strong>(<em>b, a</em>) ∈ <em>R</em></strong>. ‘John is Jack’s twin’ is a non-mathematical example of a symmetric binary relation, since it implies that ‘Jack is John’s twin’;</li><li><strong>transitive</strong> if for all <strong><em>a</em>,<em> b</em>,<em> c </em>∈ <em>A</em></strong>,<strong> (<em>a</em>, <em>b</em>), (<em>b</em>, <em>c</em>) ∈ <em>R</em></strong> implies <strong>(<em>a, c</em>) ∈ <em>R</em></strong>. An example is the relation ‘is less than’. If 2 &lt; 5 and 5 &lt; 7, then 2 &lt; 7.</li><li><strong>antireflexive</strong> if for all <strong><em>a</em></strong> <strong>∈ <em>A</em></strong>,<strong> (<em>a</em>, <em>a</em>) ∉ <em>R</em></strong>. The binary relations ‘is greater than’ and ‘is less than’ are both antireflexive since no number can be greater or less than itself;</li><li><strong>antisymmetric</strong> if for all <strong><em>a</em>,<em> b </em>∈ <em>A</em></strong>,<strong> (<em>a</em>, <em>b</em>) ∈ <em>R</em></strong> and <strong>(<em>b, a</em>) ∈ <em>R </em></strong>implies <strong><em>a</em> =<em> b</em></strong>. The divisibility relation on <a href="https://medium.com/not-zero/natural-numbers-88bde9d51420">natural numbers</a> is an example of an antisymmetric relation. For instance, four is divisible by two, but two is not divisible by four. The only way two natural numbers can be mutually divisible is if they are the same number: Four is divisible by four, two is divisible by two.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=809ad2a274ca" width="1" height="1" alt=""><hr><p><a href="https://medium.com/not-zero/ordered-pairs-cartesian-product-and-binary-relations-809ad2a274ca">Ordered Pairs, Cartesian Product, Binary Relations</a> was originally published in <a href="https://medium.com/not-zero">Not Zero</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ℒ, the Language of Set Theory]]></title>
            <link>https://medium.com/not-zero/%E2%84%92-the-language-of-set-theory-4b00a86ecaac?source=rss----364125a34125---4</link>
            <guid isPermaLink="false">https://medium.com/p/4b00a86ecaac</guid>
            <category><![CDATA[math]]></category>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[set-theory]]></category>
            <category><![CDATA[formal-languages]]></category>
            <dc:creator><![CDATA[Michele Diodati]]></dc:creator>
            <pubDate>Thu, 21 Oct 2021 22:30:21 GMT</pubDate>
            <atom:updated>2021-10-22T07:54:20.206Z</atom:updated>
            <content:encoded><![CDATA[<h4>A formal language based on a few symbols, through which it is possible to express an infinity of mathematical concepts</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uDzUIv3CdJPSyQU5SNOQLg.jpeg" /></figure><p>One of the problems with natural languages is the <strong>ambiguity</strong> of many expressions. Nouns, verbs, and adjectives often have two or more meanings: Words that have a certain meaning in one context take on a completely different one in another context. For these and other reasons, fully mastering a language takes years of study. The subtleties of natural languages are so numerous and complex that, even with the advice of the best linguists, the largest IT companies on the planet have not yet been able to produce fully reliable machine translation software.</p><p>Thus, to avoid the problems caused by the ease with which natural languages produce ambiguous phrases, mathematics has long developed <strong>formal languages</strong> that have the express purpose of producing <strong>statements</strong> that are, as far as possible, <strong>precise,</strong> <strong>clear</strong>, <strong>concise</strong>, and, most of all, <strong>not</strong> <strong>self-contradictory</strong>.</p><p>It is perfectly possible to express a theorem and its proof in a natural language. Still, formal languages specifically designed to express mathematical concepts make the enunciation of theorems and proofs more precise and effective.</p><p>An exemplary case of formal language designed to eliminate any ambiguity is the language used in <strong>set theory</strong>, denoted by the symbol <strong>ℒ</strong>. This language uses few symbols to express many mathematical concepts. Since the twentieth century, almost all mathematics has been reformulated in terms of set theory. Therefore, knowing the basic elements of the set language allows us to have the necessary tools to understand the foundations on which modern mathematics is built.</p><p>The following are the <strong>basic symbols</strong> used in ℒ:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F1wiagWBgQUdLbTXI2Hc1w.png" /></figure><p>Using these symbols, it is possible to produce <strong>basic statements</strong> such as <em>x</em> = <em>y, </em>meaning<em> x </em>equals <em>y, </em>and <em>x</em> ∈ <em>y, </em>meaning<em> x </em>is an element of <em>y</em>.</p><p><strong>Compound statements</strong> can be created by combining basic statements in many different ways. For example, we can write:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9R4t-QWJm_MTCMxaw4bpQA.png" /></figure><p>to say that <em>b</em> is an element of both <em>x</em> and <em>y;</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GP9rnrmU-N52sUO9v7C3_A.png" /></figure><p>to say that <em>x</em> and <em>y</em> are different sets;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ytr88_AeFdQRaqwf3f-50w.png" /></figure><p>to say that the set <em>y</em> is empty;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iVJyOY3KLkQFicaSaVKGJA.png" /></figure><p>to say that <em>w</em> is a <a href="https://medium.com/not-zero/basics-of-sets-dabcafa3db66">subset</a> of <em>z;</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zxYPp_HjAmqGUD7kzbNneA.png" /></figure><p>to say that <em>w</em> has exactly one element. Basic and compound statements are also called <strong>formulas</strong>.</p><p>In addition, some <strong>abbreviations</strong> have been added to the language to make statements or formulas more concise. To say that <em>x</em> and <em>y</em> are different sets, the following two statements are perfectly equivalent:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UsW1Ilk1thyVnDmzB2S2cA.png" /></figure><p>Similarly, to say that <em>b</em> is not an element of <em>y,</em> we can write indifferently:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xqk9_dz8VoSXhFfnHCJ6-Q.png" /></figure><p>To say that the set <em>y</em> is empty, we can use any of the two following statements:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NwsfuCiHeTrFHp6-xb6BIw.png" /></figure><p>To say that <em>w</em> is a subset of <em>z</em>, we can write:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SiXNlyHbJ6yg_8pZLA6Ziw.png" /></figure><p>To say that <em>w</em> is a <em>proper</em><strong> </strong>subset of <em>z</em>, i.e., that <em>w</em> is not equal to <em>z</em>, we can write:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rv7T5-rPKUKQ7FiSP4a9VQ.png" /></figure><p>instead of the more complex statement:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qGuOuIvfX6bF0nFGDBAqkw.png" /></figure><p>The expression</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YGwhy7yJd3tiCcJPW5I8mQ.png" /></figure><p>stands for the <strong>intersection</strong> of the sets <em>x</em> and <em>y</em>, i.e., the collection of all elements belonging to both <em>x</em> and <em>y</em>. The expression</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eY3mWr_K7xR548PsoHntig.png" /></figure><p>means the <strong>union</strong> of sets <em>x</em> and <em>y</em>, i.e., the collection of all elements in either <em>x</em> or <em>y</em>. Finally, the expression</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-1wGS6KLA_JlMnBCEYwv0Q.png" /></figure><p>stands for the collection of all elements of <em>x</em> that are not in <em>y</em>.</p><p>This basic list of symbols is enough to understand and formulate even extremely complex statements expressed in the language of set theory.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4b00a86ecaac" width="1" height="1" alt=""><hr><p><a href="https://medium.com/not-zero/%E2%84%92-the-language-of-set-theory-4b00a86ecaac">ℒ, the Language of Set Theory</a> was originally published in <a href="https://medium.com/not-zero">Not Zero</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Magic Squares and How to Construct them]]></title>
            <link>https://medium.com/not-zero/magic-squares-and-how-to-construct-them-4019b21c2ef2?source=rss----364125a34125---4</link>
            <guid isPermaLink="false">https://medium.com/p/4019b21c2ef2</guid>
            <category><![CDATA[recreational]]></category>
            <category><![CDATA[magic-square]]></category>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[puzzle]]></category>
            <category><![CDATA[math]]></category>
            <dc:creator><![CDATA[Michele Diodati]]></dc:creator>
            <pubDate>Mon, 18 Oct 2021 15:49:46 GMT</pubDate>
            <atom:updated>2021-10-18T20:06:46.964Z</atom:updated>
            <content:encoded><![CDATA[<h4>How to find the position of all numbers in a magic square of order three. Also, how to create magic squares of odd order with the method of de la Loubère and magic squares of even order with the method of Devedec</h4><p>Known since ancient times, magic squares are arrays filled with numbers, made up of an equal number of rows and columns. Numbers are usually <a href="https://medium.com/not-zero/integers-9a8a8e69422c">positive integers</a> and must all be <strong>distinct</strong> from each other. What makes these squares “magical” is that the <a href="https://medium.com/not-zero/addition-55471178da2a"><strong>sum</strong></a> of the numbers in each row, column, and main diagonal is <em>always the same</em>.</p><h3>Some definitions</h3><p>Magic squares are called <strong>normal</strong> if they are filled with a progressive series of <a href="https://medium.com/not-zero/natural-numbers-88bde9d51420">natural numbers</a> starting from 1 up to <em>n²</em>, where <em>n</em> is the number of rows or columns that make up the square. The constant sum of the horizontal, vertical, and diagonal lines is called the <strong>magic constant</strong> and equals</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_OgZAQxpyu4Ya6ZJ8tDkYw.png" /></figure><p>For example, if the number of vertical lines is 4, the magic constant is</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J2N7wHv4nG25Eq2Z_jb5iA.png" /></figure><p>The number of rows and columns defines the <strong>order </strong>of the magic square. Therefore, a magic square with 5 rows and 5 columns will be of order 5, one with 6 rows and 6 columns of order 6, etc. Since the construction rules are different, it is also important to distinguish whether the number of rows and columns is odd or even. A magic square with an odd number of rows and columns is said to be of <strong>odd order</strong>; one with an even number is said to be of <strong>even order</strong>.</p><p>The smallest possible magic square has <strong>three</strong> rows and three columns. In fact, with two rows and two columns, that is, with four different numbers in all, it is not possible to construct one. And a magic square made of a single number would make the concepts of row, column, and diagonal meaningless.</p><h3>The arrangement of the numbers in a magic square of order 3</h3><p>We can easily determine the arrangement of the numbers in a magic square of order three with a little algebra and some calculation. Let us consider as a starting point a square filled with an ordered sequence of letters from <em>a</em> to <em>i</em> like the one shown in the following image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SffDAopFaJkrrQKtxcxkdg.jpeg" /></figure><p>By applying the formula for the magic constant to a square of order three, we get <strong>15</strong>. Thus, we know that the numbers must be arranged in the square so that the sum of each row, column, and main diagonal is 15. Consequently, we also know that the sum of the two main diagonals and the median row and column must be <strong>60</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wkpMZdASIWwbfBeDoc0kIg.jpeg" /></figure><p>Each letter appears only once in the four sums, except <em>e</em>, which, being in the center of the square, appears four times. Therefore, we can write the following equation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ms24xOSDkXLO1nYXPaOAUQ.png" /></figure><p>Solving for <em>e</em>, we get:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BsCcSnT9QmCdnGRM16Kr1w.png" /></figure><p>Now, we know that the number in the center of the magic square must be <strong>5</strong>. Furthermore, we can deduce the following equalities:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p5ZfByzjDKVkBQGr2Bvf6g.png" /></figure><p>From these equalities, we derive that one of the complementary pairs of the central 5 must be 1 and 9. So let’s ask ourselves: Can <strong>1</strong> and <strong>9</strong> occupy one of the diagonals? The answer is <strong>no</strong>, as can be seen from the six test squares reproduced below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QB2WtDZnQFdF1DudX6aobQ.jpeg" /></figure><p>In fact, if we put 1 and 9 in two opposite corners with 5 fixed in the center, none of the six remaining numbers could occupy one of the other corners of the square. 2, 3, and 4 cannot occupy a corner because they would be in the same row or column with 1, and, among the remaining numbers, there is none that, added to the other two, would give 15 as a sum. Conversely, 6, 7, and 8 cannot be in the same row or column with 9 because, in this case, the sum would be greater than 15.</p><p>There are also other reasons why we cannot put 1 and 9 in the corners of the square, but those listed are enough. Therefore, we conclude that 1 and 9 must be in the <strong>median</strong> row or column. The following four are the only possible positions for 1 and 9 in a normal magic square of order 3.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*00bzM3sYdrpWkubVeeHglg.jpeg" /></figure><p>At this point, placing the remaining six numbers in the left empty cells is easy. Each choice is forced by the need to get 15 as the sum of each row, column, and main diagonal. We then obtain the following eight solutions, all equivalent to each other.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cflgvY1NI9_sfxUWD5M5xw.jpeg" /></figure><p>We can perform <strong>reflections</strong> and <strong>rotations</strong> on a magic square without altering the sums generated by the numbers it contains. By keeping the reciprocal positions of each number, we can get by reflections and rotations <strong>eight</strong> equivalent magic squares in all, as can be deduced from the solutions reported above for the magic square of order 3.</p><h3>How to construct a magic square of odd order</h3><p>The one of order 3 just examined is only a special case of a magic square of odd order.</p><p>There are several methods of generating odd-order magic squares. Probably the simplest and best known is the one also known as the “Siamese method,” attributed to the French diplomat and mathematician <strong>Simon de la Loubère</strong>. This method is based on the use of broken diagonals. So, before introducing his method, let’s see what a broken diagonal is and the difference between main diagonals and broken diagonals.</p><p>The <strong>main diagonals</strong> of a magic square are two, precisely those that start from one corner of the square and end in the opposite corner. They pass through all the rows and columns of the square in sequence.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K6CCq7yAfZGP2ZG2ZKn20w.jpeg" /></figure><p>On the other hand, a <strong>broken diagonal</strong> does not start from a corner but from an intermediate cell. Due to this, it reaches the opposite end of the square without crossing all the rows and columns but only part of them. It is therefore broken into two parts. The second piece of the diagonal begins to cross the square starting from the first row/column not crossed by the first piece of the diagonal. To be complete, a broken diagonal must cross <em>each</em> row/column of the magic square once.</p><p>There are two types of broken diagonals, one in which the numbers grow downward, one in which the numbers grow upward. The following image illustrates the two types of broken diagonal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g9SsI8eXHkpows9toOMDYg.jpeg" /></figure><p>The first step in creating an odd-order magic square with de la Loubère’s method is to put 1 in the upper central cell of the square.</p><p>The second step is to put 2 in the first available cell of the upward broken diagonal to which the cell where we put 1 belongs. At this point, we complete the broken diagonal by inserting the numbers following 2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vdalujWO4Zo75QoExkS7GQ.jpeg" /></figure><p>Once the diagonal is complete, we enter the next number in the cell below the one in which we entered the last number of the previous diagonal. Therefore, we complete in the same way the second broken diagonal and all subsequent ones, depending on the size of the magic square, always inserting the first number of each new diagonal in the cell below the one in which we entered the last number of the previous diagonal.</p><p>Below is a magic square of order 5 created with de la Loubère’s method. The magic constant is 65. The different colors help to visualize the broken diagonals that make up the magic square.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BDebKVD_NkcvSkrR8tYXcw.jpeg" /></figure><p>Below a magic square of order 7 always created with de la Loubère’s method. The magic constant is 175.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r4zLe88Jq9cfouhYwcZm_Q.jpeg" /></figure><h3>How to construct a magic square of even order</h3><p>There are also several methods for constructing magic squares of even order. One of the most interesting dates back to the early 1900s and is attributed to a certain <strong>Mr. Devedec</strong> about whom absolutely nothing is known. But his method works.</p><p>The construction of a magic square with the Devedec method is based on a scheme that uses <strong>four symbols</strong> to indicate which number should be inserted in each square position. The symbols refer to the positions of the numbers in a <strong>fundamental square</strong>, in which all numbers are entered in progressive order from left to right and top to bottom.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9522V26kd7Ev3FHcZn-OKw.jpeg" /><figcaption>A fundamental square of order 8</figcaption></figure><p>The four symbols are the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LQW34ZyTJUAES5xGHqK_Ug.jpeg" /></figure><ul><li>The <strong>circle</strong> indicates a cell that we must fill with a number that is in the same position in the fundamental square;</li><li>the <strong>diagonal line </strong>indicates a cell that we must fill with a number that is in a symmetrical position to the center in the fundamental square;</li><li>the <strong>vertical line</strong> indicates a cell that we must fill with a number that is in a symmetrical position to the horizontal median line in the fundamental square;</li><li>the <strong>horizontal line </strong>indicates a cell that we must fill with a number that is in a symmetrical position to the vertical median line in the fundamental square.</li></ul><p>Below is the scheme of the symbols for a magic square of order 8 made by Devedec’s method. The different colors help to better perceive the regularities in the distribution of symbols.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BPGh-KFqlIkmFvqqHd-TKg.jpeg" /></figure><p>The one below is a magic square of order 8 made with the Devedec scheme shown above. The sum of the numbers in each row, column, and main diagonal is <strong>260</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1FJgXxyhRHx0rjURA8R9HA.jpeg" /></figure><p>Comparing the numbers in this magic square with the scheme shown above and with the arrangement of the numbers in the fundamental square, it is easy to see that the numbers on a <strong>yellow</strong> background, corresponding to the symbol of the <strong>circle</strong>, are in the <em>same</em> position as they are in the fundamental square. Instead, the numbers on an azure background, corresponding to the horizontal line symbol, are in a symmetrical position to the vertical median line of the square. For example, 6 is in the position of 3, and 3 is in the position of 6.</p><p>Analogous displacements based on the <strong>symmetries</strong> associated with the other two symbols are valid for the remaining numbers of the square. Once one has learned the “grammar” of the symmetries of the Devedec scheme, filling the magic square with the appropriate numbers requires only a little patience and attention.</p><p>Below, the filling pattern of a magic square of <strong>order 10</strong> and the magic square itself are shown. The magic constant is <strong>505</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tdr1ndEPFzTGjGYs9hvjHQ.jpeg" /></figure><p>Before concluding this review of magic squares of even order, it is important to highlight a detail. As you can see by comparing the filling pattern of a magic square of order 8 with that of order 10, there are in both <strong>eight central boxes</strong>, filled with different symbols but all marked with a single color.<br>The Devedec method requires that those eight central boxes have a different pattern, depending on whether the number of rows/columns of the square is a <strong>multiple of 4</strong> or not. If the order is a multiple of 4, as in the case of the magic square of order 8, then we have the central pattern with the circles. On the other hand, if the order is not a multiple of 4, as in the case of the magic square of order 10, then the scheme of the central squares does not contain circles.</p><p>The difference between the two central patterns is shown in the following image, which shows side by side the two general patterns to create magic squares of order 8 and 10.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s02goK8kfSW7sOkveZ1ONA.jpeg" /></figure><p>For the rest, there are no other differences. It is possible to make magic squares of even larger order than those shown here simply by <strong>expanding</strong> the general scheme given above. Just take care to respect the various <strong>symmetries</strong> in the distribution of the symbols that can be inferred from the magic squares presented in this paragraph.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4019b21c2ef2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/not-zero/magic-squares-and-how-to-construct-them-4019b21c2ef2">Magic Squares and How to Construct them</a> was originally published in <a href="https://medium.com/not-zero">Not Zero</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Power Set]]></title>
            <link>https://medium.com/not-zero/power-set-d377e16cc35a?source=rss----364125a34125---4</link>
            <guid isPermaLink="false">https://medium.com/p/d377e16cc35a</guid>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[mathematics-education]]></category>
            <category><![CDATA[math]]></category>
            <category><![CDATA[powerset]]></category>
            <category><![CDATA[set]]></category>
            <dc:creator><![CDATA[Michele Diodati]]></dc:creator>
            <pubDate>Thu, 14 Oct 2021 15:35:25 GMT</pubDate>
            <atom:updated>2021-10-14T15:35:25.498Z</atom:updated>
            <content:encoded><![CDATA[<h4>The set of all subsets of a given set</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J7-VQ7WYiAC3mUBiPvwqYQ.jpeg" /></figure><p>The power set of a set <em>X</em>, denoted 𝒫(<em>X</em>), is the set of <strong>all subsets</strong> of <em>X</em>, including <em>X</em> itself and the <strong>empty set</strong>.</p><p>Let us begin with the smallest of all <a href="https://medium.com/not-zero/basics-of-sets-dabcafa3db66">sets</a>, the empty set. If</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cT_TPLCz6caDAk5P86MGEQ.png" /></figure><p>then</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*czYTJ9r9hwptc9D262-ZZA.png" /></figure><p>A little more complicated case is a set with only one element. If</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sTyu1styQ2j_VUetAU2CWw.png" /></figure><p>then</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0Cnu3ke61spuUtIL-AkMaQ.png" /></figure><p>Now, let us examine the cases in which <em>X</em> has two, three, and four elements, respectively:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dqHB90X2UGkgIELJJS5dFA.png" /></figure><p>We have listed until now five sets, increasing by one the number of elements at each step. <a href="https://medium.com/not-zero/counting-6dc72519fc19">Counting</a> the <strong>number of elements</strong> in each set and the relative power sets, we can notice the following relation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6sPaNpqHFsg2p6YAqj0XEQ.png" /></figure><p>We can derive a <strong>general rule</strong> from this short list: If <em>n</em> is the number of elements in a set, <strong>2<em>ⁿ</em></strong> is the number of elements in its power set. In other words, every time we increase by <strong>one</strong> the number of elements in a set, the number of subsets in its power set <strong>doubles</strong>.</p><p>Why is it so? The reason is simple. The power set of a set containing <em>n</em>+1 elements contains all the subsets already listed in the power set of a set containing <em>n</em> elements <strong>plus</strong> all the subsets created by adding the new element. As it is easy to verify looking at the examples above, the number of subsets created just by adding this new element<strong> equals</strong> the number of subsets in the power set of the set with <em>n</em> elements. The obvious consequence is that the number of elements in a power set doubles every time we increase by 1 the elements in the starting set.</p><p>The following are the power sets of <em>X</em> when <em>X </em>has three and four elements, respectively. The subsets of 𝒫(<em>X</em>) containing the new element <em>d</em> are highlighted in<strong> red</strong> to immediately clarify which subsets it was necessary to add to the previous power set.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uJS_VPBtSFJoT723aOZ_XA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d377e16cc35a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/not-zero/power-set-d377e16cc35a">Power Set</a> was originally published in <a href="https://medium.com/not-zero">Not Zero</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Basics of Sets]]></title>
            <link>https://medium.com/not-zero/basics-of-sets-dabcafa3db66?source=rss----364125a34125---4</link>
            <guid isPermaLink="false">https://medium.com/p/dabcafa3db66</guid>
            <category><![CDATA[mathematics-education]]></category>
            <category><![CDATA[math]]></category>
            <category><![CDATA[set]]></category>
            <category><![CDATA[subsets]]></category>
            <category><![CDATA[mathematics]]></category>
            <dc:creator><![CDATA[Michele Diodati]]></dc:creator>
            <pubDate>Tue, 12 Oct 2021 08:14:56 GMT</pubDate>
            <atom:updated>2021-10-12T20:09:02.002Z</atom:updated>
            <content:encoded><![CDATA[<h4>The concepts of set and subset, the principle of extensionality, the empty set, union and intersection of sets</h4><p>A set is a collection of objects. It can be thought of as the container of those objects and, together, as what gives them unity.</p><h3>Membership, order, listing</h3><p>The objects that belong to a set are called <strong>elements</strong> or members of the set. The symbol ∈ indicates that an object belongs to a set. For example, to say that the object <em>x</em> belongs to the set <em>A</em>, we write:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*0zLItnMOHKSjrilgkf0wqQ.png" /></figure><p>Instead, to indicate that <em>x</em> does not belong to <em>A</em>, we write:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*XIs-e48v9drtc8foXuathQ.png" /></figure><p>For sets consisting of a few elements, it is convenient to list the elements of the set. Usually, the list of elements, separated by <strong>commas</strong>, is enclosed in <strong>curly brackets</strong> and preceded by the set’s name, denoted by a capital letter, and by the <strong>equal sign</strong>. For example, if <em>A</em> is the set of <a href="https://medium.com/not-zero/sums-of-odd-numbers-and-perfect-squares-5fdda06e9011">perfect squares</a> less than 50, then we will write:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*jI7-mVci2CNpl0i2kIidyg.png" /></figure><p>The <strong>order</strong> in which the elements are listed does not matter. The following two writings are completely equivalent:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*CBmfQUlU3JTpy0vYGXawjw.png" /></figure><p>Furthermore, each element must appear <strong>only once</strong> in the listing. For example, the set of the consonants of the word ‘shuffle’ is {<em>s</em>, <em>h</em>, <em>f</em>, <em>l</em>}, not {<em>s</em>, <em>h</em>, <em>f</em>, <em>f</em>, <em>l</em>}.</p><h3>Principle of extensionality</h3><p>A fundamental aspect of set theory is that <em>a set is completely determined by its elements. </em>To understand what this means, let’s define <em>A</em> as the set of the consonants of the word ‘shuffle’ and <em>B</em> as the set of the consonants of the word ‘shelf.’ The two sets will therefore be:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*zfhLrDfalwVoyavf7hyg6Q.png" /></figure><p>As can be seen, they contain precisely the same four elements <em>s</em>, <em>h</em>, <em>l</em>, <em>f</em>. Therefore, we say that <strong><em>A = B</em></strong>. It doesn’t matter that the two sets have been defined differently and that the order in which the elements are listed is slightly different. What matters is that both sets have <em>exactly</em> the same elements and that there is no ambiguity about it.</p><p>Saying that two sets are equal means that they are the <em>same object</em>. What is true for the first is equally true for the second.</p><p>In set theory, the fact that the <em>identity</em> of two sets is determined exclusively by their elements is called the <strong>Principle of Extensionality</strong>. It states that if two sets have <em>exactly</em> the same elements, then they are <strong>equal</strong>. In symbols, this property can be synthetically expressed, for any object <em>x</em>, as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*ma7zovnFqhoxZsAoqAT5UQ.png" /></figure><p>The expression means: If <em>x</em> is an element of <em>A</em> necessarily implies that <em>x</em> is an element of <em>B</em>, then <em>A = B</em>.</p><p>Conversely, if <em>A = B</em>, then any object <em>x</em>, if it belongs to <em>A</em>, necessarily also belongs to <em>B</em>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*i3DyUgCrVEvOoL_3jr7ffA.png" /></figure><p>If two sets <em>A</em> and <em>B</em> are <strong>not equal</strong>, we will write:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*aI866GSP6hQX0Oj5rG_3sw.png" /></figure><h3>The empty set</h3><p>The set <em>A</em> listed below contains only 0 as its element:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*PSu1MF97iQqDTJhXbuTP-Q.png" /></figure><p>However, there is an even smaller set than a set that contains only one element. It is the <strong>empty set</strong>, which, as the name implies,<em> does not contain any elements</em>. It is denoted by the symbol ∅. Having no elements, it is the only set that we can fully describe simply using one symbol, namely ∅. Moreover, by the extensionality principle, the empty set is <strong>unique</strong>. In fact, all empty sets are necessarily equal and, as such, are the <em>same</em> set.</p><p>Although the empty set does not contain any elements, it can be the content of another set:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*rFRGbWyuYUnGCaZquyeBIg.png" /></figure><p>In this case, <em>A</em> is the set that contains the empty set. In this regard, it is important to note that the set containing the empty set, {∅}, is different from the empty set itself ∅. In symbols, we will write:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*Ravio8tVTwHiNlvWd7GCKA.png" /></figure><p>The difference between the two cases is the same as between a person who has an empty container and one who does not even have the container. This difference becomes clearer if we reflect on the fact that the empty set is an element — the only element — of the set that contains the empty set:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*o6V3zt0IdaItIhAyn4SSJA.png" /></figure><p>Conversely, the empty set is<em> not</em> an element of the empty set:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*4BIqM2UFtpo47ozU4I0NLg.png" /></figure><p>Indeed, if it were, the empty set would no longer be empty.</p><h3>Sets of sets</h3><p>A set can contain other sets, creating a <strong>layering</strong> of contents. For example, the set containing the set whose only element is the empty set is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*QdZ8SUP5CN5EpVTyu6E8mQ.png" /></figure><p>Similarly, the set of the set that contains the set whose only element is the empty set is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*n-KUCPAGao0mqGPrVM9_yw.png" /></figure><p>The following set contains <strong>three elements</strong>, namely the empty set, the set containing the empty set, and the set containing the set whose only element is the empty set:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*Tf7iDc18nkAb0c9Z9HdbqQ.png" /></figure><h3>Union of sets</h3><p>The <strong>union</strong> of two sets <em>A</em> and <em>B</em>, denoted by the symbol <strong>∪</strong>, is the set that contains all the elements of <em>A</em> and all the elements of <em>B</em>. Here are some examples:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SEIbpJ4dQwd0V-c2GkLC1A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*9PwMQSs2Ttf8tiwjwzawnw.jpeg" /><figcaption>Graphic representation of the union of set A and set B</figcaption></figure><h3>Intersection of sets</h3><p>The <strong>intersection</strong> of two sets <em>A</em> and <em>B</em>, denoted by the symbol <strong>∩</strong>, is the set that contains only the elements common to <em>A</em> and <em>B</em>. Here are some examples:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*MW0HstSP3l26RR8iyPiv2w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*xWluRuau1Ov4-4r4whriYQ.jpeg" /><figcaption>Graphic representation of the intersection of the sets A and B</figcaption></figure><p>Two sets whose intersection is the empty set, that is, two sets that have no element in common, are said to be <strong>disjoint</strong>.</p><h3>Subsets</h3><p>A set <em>A </em>is a <strong>subset</strong> of the set <em>B</em> if <em>all</em> the elements of <em>A</em> are also elements of <em>B</em>. In symbols,</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*c3-LdxLIukV_uCF3zokM_w.png" /></figure><p>This relation means that <em>A</em> is <strong>included</strong> in <em>B</em> or, symmetrically, that <em>B</em> includes <em>A</em>. Each set is a subset of <strong>itself</strong>. Hence, for any set <em>A</em>, it is always true that:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*pkw_RVbAmvcfqcQ4fahIYQ.png" /></figure><p>A special case is the empty set, which is a subset of <strong>any</strong> set, including itself:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*0ZE-lhp0YWTnqR9OyNJ1Nw.png" /></figure><p>However, we must not confuse the <strong>membership</strong> relation of an element to a set defined by the symbol <strong>∈</strong> with the <strong>inclusion</strong> relation of a subset in a set defined by the symbol <strong>⊆</strong>. For example, while it is true that the empty set is a subset of itself:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*rkdv-XJKm1ULtlNziumLmg.png" /></figure><p>it is not true that the empty set is an element of itself:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*XSH6Wk9XYdb66k_u1WbSSg.png" /></figure><p>Unlike the previous case, the set containing the empty set is an element of the set containing the set whose only element is the empty set:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*qAJsAAlJ_FsjU7AdHo4DNw.png" /></figure><p>However, the first set is <em>not</em> a subset of the second:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*63YtvzNZDMHYumY2_nDbdQ.png" /></figure><p>It is not a subset of the second set because the empty set is an element of the first set, not the second. In fact, the only element of the second set is the set that contains the empty set, but not the empty set itself. (Recall that, for <em>A</em> to be a subset of <em>B</em>, all the elements of <em>A</em> must also be in <em>B</em>.)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dabcafa3db66" width="1" height="1" alt=""><hr><p><a href="https://medium.com/not-zero/basics-of-sets-dabcafa3db66">Basics of Sets</a> was originally published in <a href="https://medium.com/not-zero">Not Zero</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>