Derivative polynomials and infinite series for squigonometric functions
Bart S. van Lith · 2025
Read Derivative polynomials and infinite series for squigonometric functions by Bart S. van Lith (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2503-19624.txt.
Introduction
Bart van Lith, writing alone, offers a 2025 math paper on a playful family of functions tied to a square circle. These squigonometric functions mimic sine and cosine for a square-shaped geometry. Their derivatives turn out to be polynomials in two basic members of the family, a tidy pattern worth pinning down.
Van Lith gives a framework that finds those polynomials step by step, plus a direct formula for every coefficient. The same work yields the power series coefficients for all functions in the family. Methods to compute the functions to any desired accuracy, across the whole real line, are also discussed. The paper rounds out the calculus of this curious family.
Catalog record
| CREATOR | Bart S. van Lith |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 58 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2503-19624
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Derivative polynomials and infinite series for squigonometric functions Thanks: Author supported by. Bart S. van Lith Abstract . All squigonometric functions admit derivatives that can be expressed as polynomials of the squine and cosquine. We introduce a general framework that allows us to determine these polynomials recursively. We also provide an explicit formula for all coefficients of these polynomials. This also allows us to provide an explicit expression for the MacLaurin series coefficients of all squigonometric functions. We further discuss some methods that can compute the squigonometric functions up to any given tolerance over all of the real line. 2020 Mathematics Subject Classification Primary 26A06; Secondary 26A24 1. Introduction: squigonometry Squigonometry is the study of imperfect circles, according to Robert D. Poodiack and William E. Wood [ 4 ] . The subject deals with geometric planar shapes that are, in some sense, generalizations of circles, i.e., shapes defined by (1.1) |x|^{p}+|y|^{p}=1. We can consider such shapes for many values of p , though typically we constrain ourselves to 1\leq p<\infty , with the p=\infty case as a limit. The most common alternative value is p=4 , and many of our examples will be for this case. Shapes described by ( 1.1 ) are sometimes called p -circles or squircles, as they look like a hybrid between squares and circles. In fact, for either p=1 or p=\infty , they are in fact squares. Ordinary trigonometry, dealing with circles, is the special case where p=2 . See Figure 1 for some examples. Figure 1. Several squircles for p=1 (dotted), p=2 (solid), p=4 (dashed), and p=20 (dash-dot). Just like trigonometric functions, it is possible to define the squigonometric functions that parametrize the p -circle. However, unlike trigonometry, there are various ways of doing so. For instance, we may consider parametrization by area, arc length, or angle. For the case p=2 , these parametrizations all happen to coincide, while they do not for other p . We will employ the areal parametrization, which is probably the most common. We start by defining the inverse functions by means of an integral, i.e., the arcsquine is defined by (1.2) \arcsq(x)=\int\limits_{0}^{x}(1-u^{p})^{\frac{1}{p}-1}\mathrm{d}u. The case p=2 corresponds to the familiar arcsine function. There seems to be no standard notation or naming convention at the moment. We will adopt \sq t and \cq t and name them squine and cosquine respectively, with the order p understood. In case the order is unclear, we shall append it as a subscript. We have plotted the squine and cosquine for p=4 in Figure 2 . Figure 2. Squine (solid) and cosquine (dashed) for p=4 . It is fairly easy to see that the integrand of ( 1.2 ) is positive on the interval [0,1] , so that we can actually define an inverse. The complete integral from 0 to 1 corresponds to a special number, defined as \pi_{p}=2\arcsq(1) , which is a generalization of \pi . The squine is, as a consequence, monotonic on [0,\frac{\pi_{p}}{2}] . The cosquine can then be defined as \cq t=\sq(\frac{\pi_{p}}{2}-t) . We simply define the squine and cosquine to satisfy the familiar shift and reflection identities such as \sq(\pi_{p}-t)=\sq t , etc. This allows us to extend their definition to all of \mathbb{R} . Defining the squine and cosquine on \mathbb{C} is a tricky matter that we will not deal with here. It is possible to show that in the first quadrant, the derivative of the squine and cosquine satisfy (1.3a) \displaystyle\frac{\mathrm{d}}{\mathrm{d}t}\sq t \displaystyle=\cq^{p-1}t, (1.3b) \displaystyle\frac{\mathrm{d}}{\mathrm{d}t}\cq t \displaystyle=-\sq^{p-1}t. Thus, as an alternative, we may define them to satisfy this set of differential equations, together with the initial condition \sq 0=0 , \cq 0=1 . Being parametrizations of the squircle, the squine and cosquine satisfy the Pythagorean identity (1.4) |\sq t|^{p}+|\cq t|^{p}=1. If p is an even integer, or we are working in the first quadrant, we can ignore the absolute values. The ordinary sine and cosine exhibit power series that are not too hard to obtain by a variety of ways. For instance, calculating all derivatives is a possibility, so that we can apply Taylor’s Theorem. Another method is to use Euler’s identity for the complex exponential, i.e., e^{i\theta}=\cos\theta+i\sin\theta . The exponential function has, arguably, one of the simplest power series, so that the power series for sine and cosine are very easily obtained. The power series of the squine and cosquine are less simple, for instance, we have (1.5) \sq t=t-\frac{p-1}{p(p+1)}t^{p+1}+\frac{(p-1)(2p^{2}-3p-1)}{2p^{2}(p+1)(2p+1)}t^{2p+1}+\ldots Clearly, the nonzero power series coefficients for the squine occur at powers 1+pj for j=0,\ldots,\infty . According to Poodiack and Wood, finding the coefficients of the MacLaurin series is somewhat of an open problem. Until now, only general methods such as series reversion techniques have proven effective. It is this open problem that has motivated this work. Unlike trigonometric functions, squigonometric functions have finite radius of convergence . The simplest expression for this radius is probably given by R_{p}=\frac{\pi_{p}}{4}\sec(\frac{\pi}{p}) . Thus, R_{2}=\infty , but, R_{4} is roughly 1.31 . Moreover, it is not hard to show that R_{p}\downarrow 1 as p\to\infty . Since \frac{\pi_{p}}{4}<1 , we can therefore extend the squigonometric functions to the entire real line by symmetry and periodicity, which we will use further on. The means by which we find the MacLaurin series is to define derivative polynomials for general squigonometric functions. This concept has been introduced by Hoffman to find derivatives of the tangent and secant [ 2 , 3 ] . He noticed, for instance, that all derivatives of the tangent can be written as polynomials in the tangent. These polynomials can then be calculated using very simple integer recursions. Boyadzhiev later generalized these results and found a connection to the Stirling numbers [ 1 ] . Our approach is also based on derivative polynomials. This leads to a family of integer triangles satisfying a very simple recursion that allows us to calculate all derivatives of general squigonometric functions. From these, finding Taylor and MacLaurin series is only a small step. 2. Derivative polynomials For the sake of generality, we take as our prototypical squigonometric function \cq^{m}t\cdot\sq^{n}t , which allows us to handle all squigonometric functions by appropriate choices of n and m . For instance, the tanquent \frac{\sq t}{\cq t} arises from the choice n=1 and m=-1 . Taking the derivative, we have (2.1) \frac{\mathrm{d}}{\mathrm{d}t}\cq^{m}t\cdot\sq^{n}t=m\cq^{m+p-1}t\cdot\sq^{n-1}t-n\cq^{m-k}t\cdot\sq^{n+p-1}t. However, we note that we can cast this in a more symmetric form (2.2) \frac{\mathrm{d}}{\mathrm{d}t}\cq^{m}t\cdot\sq^{n}t=\cq^{m-1}t\cdot\sq^{n-1}t\left(n\cq^{p}t-m\sq^{p}t\right). Even though we cannot simply cancel the term inside the brackets, the Pythagorean identity does allow us to rewrite it in terms of the tanquent, so that (2.3) \frac{\mathrm{d}}{\mathrm{d}t}\cq^{m}t\cdot\sq^{n}t=\cq^{m-1}t\cdot\sq^{n-1}t\cdot\frac{n-m\tq^{p}t}{1+\tq^{p}t}. It turns out that this relation is generalizable to any k th derivative with k\geq 0 . Theorem 2.1 . For any n,m\in\mathbb{Z} , p\geq 2 an integer and k\geq 0 an integer, we have (2.4) \frac{\mathrm{d}^{k}}{\mathrm{d}t^{k}}\cq^{m}t\cdot\sq^{n}t=\cq^{m-k}t\cdot\sq^{n-k}t\frac{Q_{k}\big(-\tq^{p}t\big)}{(1+\tq^{p}t)^{k}}, where Q_{k}(u) is a polynomial that satisfies the recursion (2.5) Q_{k+1}(u)=\big(n-k+(m+k(p-1))u\big)Q_{k}(u)+pu(1-u)Q^{\prime}_{k}(u), together with the initial condition Q_{0}(u)=1 . Remark 2.2 . We define the derivative polynomials in this seemingly strange way so that all coefficients end up being nonnegative for n,m\geq 0 . Proof. Let us for convenience write u=-\tq^{p}t , then we have \frac{\mathrm{d}u}{\mathrm{d}t}=-p\frac{\tq^{p-1}t}{\cq^{2}t}=\frac{pu}{\cq t\cdot\sq t}. Thus, differentiation of ( 2.4 ) leads to \displaystyle\frac{\mathrm{d}^{k+1}}{\mathrm{d}t^{k+1}}\cq^{m}t\cdot\sq^{n}t= \displaystyle\cq^{m-k-1}t\cdot\sq^{n-k-1}t\cdot\frac{n-k+(m-k)u}{1-u}\frac{Q_{k}(u)}{(1-u)^{k}} \displaystyle+\cq^{m-k-1}t\cdot\sq^{n-k-1}t\cdot pu\left(\frac{Q^{\prime}_{k}(u)}{(1-u)^{k}}+k\frac{Q_{k}(u)}{(1-u)^{k+1}}\right). Bringing everything under one denominator,