<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by eric evers on Medium]]></title>
        <description><![CDATA[Stories by eric evers on Medium]]></description>
        <link>https://medium.com/@remindserfer?source=rss-747337a903b8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*RMZND3XPpegfycpO.</url>
            <title>Stories by eric evers on Medium</title>
            <link>https://medium.com/@remindserfer?source=rss-747337a903b8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 16:52:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@remindserfer/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Experiment with a Constant of Integration]]></title>
            <link>https://medium.com/@remindserfer/experiment-with-a-constant-of-integration-10abf753277c?source=rss-747337a903b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/10abf753277c</guid>
            <dc:creator><![CDATA[eric evers]]></dc:creator>
            <pubDate>Sun, 01 Feb 2026 02:08:29 GMT</pubDate>
            <atom:updated>2026-02-01T02:08:29.830Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*regzh0o0RV3p9nvyTQu8ew.png" /><figcaption>Many Bunny Rabbits</figcaption></figure><p>When we integrate a function, we generate an arbitrary constant of integration, C.</p><p>(x²)/2 + C = ∫ x dx</p><p>This C can be any real number.</p><p>Today, we will conduct and experiment. Let us start with some simple value, 1. Let us pick a simple constant of integration, C = 1. Now we start integrating.</p><p>∫ 1 dx = x + C = x + 1</p><p>OK, Let us repeat.</p><p>∫ x + 1 dx = x²/2 + x + 1</p><p>OK, again.</p><p>∫ x²/2 + x + 1 dx = x³/6 + x²/2 + x + 1</p><p>Interesting. That looks familiar. Lets reverse it.</p><p>1 + x + x²/2 + x³/6</p><p>This is the beginning of the series for e^x, nice.</p><pre> m<br> ∑  x^n/n!<br>n=1</pre><p>If we keep going, we get more terms for e^x.</p><p>It seems like e^x is born ex nihilo. But actually, e^x is growing from the seed we planted, f(x) = 1. The fertilizer we feed it, C = 1. And we water with the recursive application of integration.</p><p>Since we keep integrating and adding a 1, we are reversing the process of differentiation of e^x, which removes the 1, and lowers the powers. The full infinite series for e^x is infinitely differentiable. We can integrate the infinite series an infinite number of times as well.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=10abf753277c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Other Inverse of Rho]]></title>
            <link>https://medium.com/@remindserfer/the-other-inverse-of-rho-2af4cae44aec?source=rss-747337a903b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/2af4cae44aec</guid>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[functional-programming]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[apl]]></category>
            <dc:creator><![CDATA[eric evers]]></dc:creator>
            <pubDate>Mon, 24 Nov 2025 12:39:24 GMT</pubDate>
            <atom:updated>2026-02-01T04:23:04.640Z</atom:updated>
            <content:encoded><![CDATA[<p>The Other Inverse of Rho</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pKssXbmVTZxfj9et3jv5tg.jpeg" /><figcaption>Two Wheels</figcaption></figure><p>In APL there is a function rho, ⍴.</p><pre>5 ⍴ 1 2 3<br>yields<br>1 2 3 1 2</pre><p>Rho, ⍴ takes input data on the right. It duplicates the input data until it has output the size described on the left. The output has length 5, built from the input on the right.</p><pre>⍴ 1 2 3 1 2<br>yields <br>5</pre><p>The first inverse of Rho, ⍴</p><p>Rho with one argument returns the shape of the input. But rho takes two arguments. I believe rho, ⍴, needs a second inverse, the input data. But not any input data, the shortest possible input data. Lets call the shortest input that could produce the output the “core” of the input. Let us calculate the core of a vector in APL.</p><pre>a ← 1 2 3 1 2<br>b ← 5 ⍴ ⊂ a<br>c ← (1 2 3 4 5) ↑¨ b<br>d ← 1↑(5 4 3 2 1) ∘.⍴ c<br>e ← d = ⊂a</pre><p>We want to calculate the core of 1 2 3 1 2.</p><p>Lets look at the values in our program:</p><p>a</p><p>1 2 3 1 2</p><p>b</p><p>│1 2 3 1 2│1 2 3 1 2│1 2 3 1 2│1 2 3 1 2│1 2 3 1 2│</p><p>c</p><p>│1│1 2│1 2 3│1 2 3 1│1 2 3 1 2│</p><p>d</p><p>│1 1 1 1 1│1 2 1 2 1│1 2 3 1 2│1 2 3 1 1│1 2 3 1 2│</p><p>e</p><p>│1 0 0 1 0│1 1 0 0 0│1 1 1 1 1│1 1 1 1 0│1 1 1 1 1│</p><p>1 2 3 is the third truncation that generates the first core because</p><p>1 1 1 1 1 indicates a complete match of the input: 1 2 3 1 2.</p><p>1 2 3 1 2 is the fifth truncation that generates the second core</p><p>but (1 2 3) is shorter than (1 2 3 1 2) so (1 2 3) is our winner.</p><p>So core (1 2 3 1 2) yields (1 2 3), which is the other inverse of rho, ⍴.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2af4cae44aec" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Generalized Product Spaces]]></title>
            <link>https://medium.com/@remindserfer/generalized-product-spaces-6ebe918f3e9d?source=rss-747337a903b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ebe918f3e9d</guid>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[linear-algebra]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[eric evers]]></dc:creator>
            <pubDate>Sat, 15 Nov 2025 00:52:22 GMT</pubDate>
            <atom:updated>2025-11-15T00:52:22.208Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="A multiplication table is an example of an output product space" src="https://cdn-images-1.medium.com/max/364/1*dWmJw3oor4n5JXB_fnzfgA.png" /><figcaption>An Outer Product Space</figcaption></figure><p>Here is an idea for a new function in mathematics. I looked for it but could not find it existing already, so I thought I should share it.</p><p>We can have an inner product space :</p><p>Inner product: (1 2 3) multiply (1 2 3) = 1 4 9</p><p>and an outer product space:</p><p>Output product space: (1 2 3) multiply (1 2 3) =</p><p>1 2 3<br>2 4 6<br>3 6 9</p><p>The product space is built from a binary operator. Here the binary operator is multiplication, but it can be any binary operator: plus, mod, power, choose, etc.</p><p>But product spaces seem so all or nothing: Inner or Outer.</p><p>What if we could create a gradual transition between inner and outer product spaces, a generalized product space, a GPS.</p><p>Well, I created the following algorithm that computes an inner and outer product in the extreme cases. I am sure there are other generalized product spaces, but this one seemed to be the simplest. Often the simplest function gives the greatest insight. It is written in python for brevity.</p><pre>def gps():<br>    max_i = 4<br>    matrix = []<br>    for limit_i in range(4):<br>        plane = []<br>        for j in range(4):<br>            row = []<br>            for i in range(limit_i+1):<br>                x = (j + i) % max_i<br>                row.append( (x+1)*(j+1) )<br>            plane.append( row)<br>        matrix.append( plane)<br><br>    for limit_i in range(4):<br>        print (&quot;\n&quot;, &quot;gps&quot;, 4, 4, &quot;mul&quot;, limit_i + 1, end=&quot;&quot;)<br>        for j in range(4):<br>            print(&quot; &quot;)<br>            for i in range( limit_i+1):<br>                count_i = (i-j) % (limit_i + 1)<br>                print( matrix[limit_i][j][count_i], end=&quot;\t&quot;)<br><br>gps()</pre><pre><br> gps 4 4 mul 1 <br>1  <br>4  <br>9  <br>16 <br> gps 4 4 mul 2 <br>1 2  <br>6 4  <br>9 12  <br>4 16 <br> gps 4 4 mul 3 <br>1 2 3  <br>8 4 6  <br>12 3 9  <br>16 4 8 <br> gps 4 4 mul 4 <br>1 2 3 4  <br>2 4 6 8  <br>3 6 9 12  <br>4 8 12 16 </pre><p>We can see the output of the program. It shows a function that takes a binary function and applies it to two vectors, 1 2 3 4 and 1 2 3 4 and gives an outer product and an inner product space as output. But we can also give it a parameter, m, ranging from 1 to n.</p><p>In the program, m is called limit_i. If m = 1 we get an inner product space. If m = n then we get an outer product space. If 1 &lt; m &lt; n, then we get a rectangular matrix whose size is between 1 x N and N x N. If this has any use, who knows? It seemed to me to be a hole in the tapestry of mathematics. Enjoy.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ebe918f3e9d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Save the Constants]]></title>
            <link>https://medium.com/@remindserfer/save-the-constants-db20cecf972f?source=rss-747337a903b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/db20cecf972f</guid>
            <category><![CDATA[inverse-problem]]></category>
            <category><![CDATA[category-theory]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[math]]></category>
            <category><![CDATA[polynomial-multiplication]]></category>
            <dc:creator><![CDATA[eric evers]]></dc:creator>
            <pubDate>Sun, 24 Mar 2024 03:19:18 GMT</pubDate>
            <atom:updated>2024-03-24T11:21:42.357Z</atom:updated>
            <content:encoded><![CDATA[<p>When we have a polynomial:</p><p>p(x) = 5x² + 3x + 4</p><p>If we take a derivative. We get:</p><p>10x + 3</p><p>If we then integrate. We do not get p(x) back. We get some mangled poly, q(x).</p><p>The constant 4 is lost forever.</p><figure><img alt="Category theory diagram, we differentiate polynomial p, 3 times, then we integrate 3 times, producing a q." src="https://cdn-images-1.medium.com/max/416/1*XxHftBBWXv8S8jCFvyRH9g.png" /><figcaption>Trying to undo Differentiation of a polynomial.</figcaption></figure><p>First, we take derivatives of the polynomial, p(x). Then we integrate the polynomial. Information gets destroyed by each derivative, for normal polynomials. By the time we get to q, q is not equal to p. q looks nothing like p because the terms of p have been killed off one at a time with differentiation. Integration cannot fix them. Intergration can add generic constants, but not the actual constants that have been destroyed. This lack of symmetry bothered me. So, here is a solution. We can make polynomials differentiation fully reversable.</p><p>We add the M operator. Imagine M is for memory.</p><p>Now the differentiation is fully reversable, and no information is erased.</p><figure><img alt="Category diagram, with a proper inverse for Differentiation of polynomials." src="https://cdn-images-1.medium.com/max/480/1*iUo0I3wVpQ0Zmh6O4Pr_Hw.png" /><figcaption>Save the constants with the operator, M.</figcaption></figure><p>What is M?</p><figure><img alt="To apply the function M to the poly p, we multiply by x to the power c." src="https://cdn-images-1.medium.com/max/280/1*JkI_EbwGo44OFhODb3nNfw.png" /><figcaption>Definition of M, and the use of M.</figcaption></figure><p>To remove M, we apply M inverse.</p><p>Definition of M inverse: we apply the limit as c -&gt; 0.</p><p>If you save the constants, then you save the polynomial. This is probably not an original idea, but it is new to me. If you need to save all the info in your poly, you can keep it safe with the M operator in this situation.</p><p>We can check an example with sympy.</p><p>A is a poly, apply M, apply D, apply I, and L is inverse M.</p><p>lidma = a</p><p>looks good. IDA is mangled, check.</p><p>a : 2.0*x**1.0 + 1.0*x**2.0 + 3.0</p><p>ma : 1.0*x**m*(2.0*x**1.0 + 1.0*x**2.0 + 3.0)</p><p>dma : 1.0*m*x**m*(2.0*x**1.0 + 1.0*x**2.0 + 3.0)/x + 1.0*x**m*(2.0*x**1.0 + 2.0)</p><p>idma : x**m*(2.0*x**1.0 + 1.0*x**2.0 + 3.0)</p><p>lidma : 2.0*x**1.0 + 1.0*x**2.0 + 3.0</p><p>vs ida : 2.0*x + 1.0*x**2.0</p><p>note: I used simplify to clean things up between some steps.</p><p>The sympy program listing:</p><p>==========</p><p>import sympy as sp <br><br>x = sp.Symbol(&quot;x&quot;)<br>m = sp.Symbol(&quot;m&quot;, constant=True)</p><p>a = ( 1.0*x**2.0 + 2.0*x**1.0 + 3.0)<br>ma = ( 1.0*x**m) * a<br>dma = sp.diff( ma, x)<br>idma = sp.simplify( sp.integrate( dma, x))</p><p># 2.0*x**1.0<br>print(&quot; &quot;, &quot;\n&quot;)<br>print(&quot; a : &quot;, a, &quot;\n&quot;)<br>print(&quot; ma : &quot;, ma, &quot;\n&quot;)<br>print(&quot; dma : &quot;, dma, &quot;\n&quot;)<br>print(&quot; idma : &quot;, idma, &quot;\n&quot;)<br>print(&quot; lidma : &quot;, sp.limit( idma, m, 0), &quot;\n&quot;)<br>print(&quot;vs ida : &quot;, sp.integrate( sp.diff(a)), &quot;\n&quot;)</p><p>==========</p><p>Are they really polynomials?</p><p>Are all the values at each step actually a legal polynomial? Well, since we do not define c until the last step, we could just say c is a large enough integer temporarily, without specifying a particular value.</p><p>Also, the final output is a proper poly, with positive exponents. So things do clean up at the end.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db20cecf972f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>