17

Determine the maximum number of inflection points on $y=(1+x^{u_1})(1+x^{u_2})\dots(1+x^{u_n})$ where $u_i$ are chosen among the positive integers (not necessarily distinct).

Through experimentation, it seems that the maximum is five, for example $y=(1+x)(1+x^3)(1+x^4)(1+x^6)(1+x^7)$. (Here is the expansion.) Its graph is shown in red, with $y''$ in green.

Graph with red and green curves

Another example is $y=(1+x)(1+x^3)(1+x^4)(1+x^{13})$, provided by @Srini in the comments.

For a general function $y=(1+x^{u_1})(1+x^{u_2})\dots(1+x^{u_n})$, I can set $y''$ equal to $0$, but I do not know how to maximize the number of roots.

Not sure if this helps, but if we change all the plus signs to minus signs, i.e. $y=(1-x^{u_1})(1-x^{u_2})\dots(1-x^{u_n})$, it seems that the maximum number of inflection points is six, for example $y=(1-x)(1-x^3)(1-x^4)(1-x^6)(1-x^7)(1-x^8)(1-x^9)$. EDIT: This is not true; for example, $(1-x)(1-x^3)(1-x^4)(1-x^9)(1-x^{11})(1-x^{20})(1-x^{28})$ has eight inflection points (example provided by @Srini in chat).

Possibly related: this and this.

Context

I thought of this question when I noticed that $y=\prod\limits_{k=1}^\infty(1+x^k)$ seems to have exactly two inflection points, which I found peculiar.

Dan
  • 41,295
  • 2
    Very curious indeed. Two little facts I have noted : If we denote your polynomial $p(x)=(1+x)(1+x^3)(1+x^4)(1+x^6)(1+x^7)$ , the $5$ real roots of $p''(x)=0$ are $0,-1$ and 3 roots between $0$ and $1$. If we multiply $p(x)$ by any polynomial of the form $(1+x^a)(1+x^b)...$ with exponents $a,b,...$ greater than $7$, we have the same kind of roots with very small modifications. I have also observed that polynomial $q(x)=(1+x)(1+x^3)(1+x^4)(1+x^6)(1+x^9)$ has the same properties as $p(x)$. – Jean Marie Sep 27 '25 at 10:39
  • A trivial observation: Let $f(x)=\Pi_{j=1}^{N}(1+x^{u_j})$. Then, $\Sigma_{j=1}^{N}u_j - 2=M$ is the degree of the second derivative, which is of course a polynomial. This puts the upper bound at $M$. A second observation: If you consider polynomials of degree $n$, the number of polynomials that can be factored into the kind of product given in the problem is equal to the number of partitions of $n$, as the sum of $u_j$ need to equal $n$. There are only two polynomials of degree $n$ that can be written in this way, for example. One can of course check various $n$ with a computer.. – jazzblaster Sep 27 '25 at 11:28
  • $f′′(x_i)=0; i=1,2,3,4,5$ is a necessary but not sufficient condition for each of the $x_i$ values ​​to be an inflection point.It seems difficult to verify inflection points analitically for your $f(x)$, however the graph of this $f(x)$ seems to have at most only two inflection points. – Ataulfo Sep 27 '25 at 20:28
  • @Ataulfo The green curve passes through the $x$-axis at five $x$-values. These $x$-values are the $x$-values of the inflection points on the red curve. – Dan Sep 28 '25 at 04:12
  • Why does $y=\prod\limits_{k=1}^\infty(1+x^k)$ has exactly two inflection points? – Dabed Oct 06 '25 at 03:57
  • 1
    @Dabed I don't have a proof; I just observed it from the graph of the second derivative. Here is a Desmos graph. – Dan Oct 06 '25 at 04:11
  • 1
    For the case of $y=\prod\limits_{k=1}^n (1+x^k)$, there are only two real roots if we exclude the multiple $x=-1$. What would be interesting is how these roots change depending on the parity of $n$. – Claude Leibovici Oct 08 '25 at 03:23
  • 1
    I am write a not-an-answer – Claude Leibovici Oct 08 '25 at 03:33
  • 1
    https://www.reed.edu/physics/faculty/wheeler/documents/Miscellaneous%20Math/Bell%20Polynomials,%20Pochhammer%20Symbols,%20Etc/Pochhammer,%20Bell.pdf could be of interest – Claude Leibovici Oct 08 '25 at 05:21
  • 1
    For the infinite case where the same powers appear several times, the inflection points disappear. – Claude Leibovici Oct 10 '25 at 02:44
  • 1
    There are hundreds of solutions that give $5$ inflection points by brute search (besides your example of $1,3,4,6,7$ powers), but none that give $\ge 6$ inflection points. Also the smallest looking polynomial I found that gives $5$ inflection points is $(1+x)(1+x^3)(1+x^4)(1+x^{13})$. There are many such polynomials too with $4$ terms – Srini Oct 10 '25 at 23:01
  • @Srini What do you mean by "smallest looking"? – Dan Oct 10 '25 at 23:04
  • 1
    I mean that both the number of terms, i,e, $4$ here and also the smallest powers. For example, you can have another $4$ term polynomial like $(1+x)(1+x^3)(1+x^4)(1+x^{15})$, but I didn't pick that to tell you, since $13\lt15$. Your powers add up to $7+6+4+3+1=21$. Mine too, $13+4+3+1=21$. But I have $4$ terms. No big deal. Just something that came up in my search that I wanted to share, that's all. maybe just a distraction – Srini Oct 10 '25 at 23:12
  • Sorry if I am annoying. For the signs reversed case, we can get $7$ inflection points (at least, haven't searched more). For example $(1-x)(1-x^3)(1-x^4)(1-x^9)^2 (1-x^{14})$. We don't need the repetition at power $9$ either, we can get them all distinct (eg: $1,3,4,9,11,20$) – Srini Oct 10 '25 at 23:52
  • @Srini You're not annoying :) I still count six reflection points: here is a Desmos graph. The double root on $y''$ at $x=1$ does not correspond to an inflection point on $y$. – Dan Oct 11 '25 at 00:11
  • 1
    @Srini I got your chat invitation; I can see your message there, but I am unable to enter the room due to technical difficulties. Yes, you have shown that $(1-x)(1-x^3)(1-x^4)(1-x^9)(1-x^{11})(1-x^{20})(1-x^{28})$ has eight inflection points. Thanks! I will edit. – Dan Oct 11 '25 at 21:48

4 Answers4

3

This is not an answer.

As @jazzblaster wrote, for $$f_n(x)=\prod\limits_{k=1}^n (1+x^k)$$ excluding the multiple $x=-1$, there are only two inflection points.

I give below some of them $$\left( \begin{array}{ccc} n & x_1 & x_2 \\ 5 & -0.22589119064517197427 & -0.74028242166391524886 \\ 6 & -0.23484859262502136880 & -0.80000556779789281900 \\ 7 & -0.23159441913388658895 & -0.75894677414044432188 \\ 8 & -0.23256896711783560914 & -0.79246270029727908255 \\ 9 & -0.23227033506118166376 & -0.77117077732778199650 \\ 10 & -0.23235711575038931877 & -0.78971292565570820724 \\ 11 & -0.23233228909199430843 & -0.77926768123948581860 \\ 12 & -0.23233923645768187701 & -0.78846418191419616220 \\ 13 & -0.23233732152041012169 & -0.78453750049360149301 \\ 14 & -0.23233784213784544104 & -0.78785712011131879201 \\ 15 & -0.23233770220235508450 & -0.78781772572715844166 \\ 16 & -0.23233773944296335950 & -0.78763429876554399320 \\ 17 & -0.23233772961756267343 & -0.78970940998646838787 \\ 18 & -0.23233773219018299666 & -0.78766858325306359065 \\ 19 & -0.23233773152111734581 & -0.79066987381256456493 \\ 20 & -0.23233773169407638571 & -0.78786085603955366628 \\ 21 & -0.23233773164960654356 & -0.79104641260051896762 \\ 22 & -0.23233773166098447188 & -0.78813172393748620480 \\ 23 & -0.23233773165808624700 & -0.79108985860251648744 \\ 24 & -0.23233773165882150928 & -0.78842455903880744350 \\ 25 & -0.23233773165863566796 & -0.79096779242682615756 \\ \end{array} \right)$$

What is interesting is to notice that the roots follow two different lines depending on the parity of $n$.

Moreover, they are not monotonic. For example, if $n$ is odd, $x_2$ is minimum for $n=21$.

Using $$f_\infty (x)=\prod\limits_{k=1}^\infty (1+x^k)=\frac{1}{2}(-1;x)_{\infty }$$ where appears the q-Pochhammer symbol, the solutions are $$x_1=-0.23233773165867308048797254771753539814240447692346\cdots$$ $$x_2=-0.78983485691011228544265146474693127184443405841832\cdots$$

Edit

It is interesting to notice that, if we consider the case where the same powers appear multiple times such as with $$g_n(x)=\Bigg(\prod\limits_{k=1}^\infty (1+x^k)\Bigg)^n$$ the inflection points seem to disappear as soon as $n>1$.

3

Earlier I had searched for distinct $u_i$ and found nothing that had $\ge 6$ inflection points. But, OP says $u_i$ need not be distinct. So I expanded my search in Wolfram Cloud. Since I don't have a subscription, my search is limited. But I found several candidates that have $6$ inflection points. At least one that I verified in both Wolfram Cloud and Desmos is the following:

$$p_0(x) = (1+x)(1+x^3)(1+x^4)^\color{blue}{2}(1+x^{14})^\color{blue}{2}$$

Wolfram cloud lists the inflection points as $x=-0.957277,\color{red}{-0.796716,-0.787841},-0.589495,-0.228351,0$

Notice that the red highlighted roots are close to each other and may appear to be double root in Desmos graph non-distinct (so, zoom in more :) )

A few more candidates from my Wolfram search below (note: unverified in Desmos if they are true inflection points)

$$p_1(x) = (1+x)(1+x^3)(1+x^4)^\color{blue}{2}(1+x^{\color{red}{m}})^\color{blue}{2}$$ ($m=16,18,20,22,24,26$)

Edit 1: Using the same inelegant brute force search as in my comments reply to jazzblaster, the following polynomial was found with $\color{red}{6 \text{ distinct}}$ inflection points, while $u_i$ are distinct. Now, I am confident that $5$ is not a magic number at all.

$$p_2(x) = (1+x)(1+x^3)(1+x^4)(1+x^6)(1+x^{18})(1+x^{24})$$. Desmos graph distinct

Inflection points are at $x= -0.966089,-0.908615,-0.755146,-0.720714,-0.329131,0$

Edit 2: $\color{red}{7 \text{ Distinct}}$

$$p_3(x) = (1+x)(1+x^3)(1+x^4)(1+x^6)(1+x^{20})(1+x^{41})$$

Inflection points are at $x = -1, -0.913252, -0.883765, -0.844574, -0.68945, -0.329132, 0$

Srini
  • 2,450
  • Nice find! Following your lead, I found that $y=(1+x)(1+x^3)(1+x^4)^2(1+x^{14})^3(1+x^{17})$ has seven inflection points. – Dan Oct 12 '25 at 04:49
  • How extensive was your search with distinct $u_i$? – Dan Oct 12 '25 at 04:50
  • Very nice! What did kind of algorithm did you use? – jazzblaster Oct 12 '25 at 08:26
  • @jazzblaster, nothing elegant unfortunately. Brute force manual command like the following: Do[solutions=DeleteDuplicates[FindInstance[((D[(1+(x)^1)(1+(x)^3)(1+(x)^4)^2(1+x^m)^2,{x,2}]))==0,x,Reals,10]];If[Length[solutions]>=6,Print["m=",m,",",Length[solutions]]],{m,0,200}] – Srini Oct 12 '25 at 18:04
  • 1
    @Dan, as you can see from the command I pasted in my reply to jazzblaster, for distinct $u_i$, I need more variables to search without tying it down to small space. Unfortunately I couldn't do much unconstrained exploration. So to answer your question, I can't say with great confidence that distinct case is limited to $5$. Ideally I would like to introduce $7-8$ factorized terms and let them be explored in a nested loop exhaustively, but it keeps timing out in wolfram cloud with free membership. I might try something a little more clever. – Srini Oct 12 '25 at 18:09
  • 1
    One area I was looking at for analytical solution was: Rolle's theorem for complex plane. I found some paper that says that on the straight line connecting the roots, for the derivative, the real part and imaginary parts will have roots somewhere. How to find those or what criteria will make both real and imaginary parts have the same roots is currently beyond me. And we are talking about second derivative, which is another round of the same reasoning. So I gave up on the analytical solution. – Srini Oct 12 '25 at 19:20
  • @Dan, I will stop my search here, now that some taboos have been broken (distinct, non-distinct and sign reversed cases). Mathematica usually lets people try for free for $2$ weeks when they release a new version. I will try it then (usually happens once a year I think). If you happen to be academia ( I remember you mentioning a student in one of your posts), you may have access or someone you know may have access to subscribed version. The search should finish in a matter of minutes with that. Is your criteria for a reasonable answer contingent on it being an analytical one? – Srini Oct 13 '25 at 16:29
  • @Srini I have never used Mathematica (maybe I should). Yes, I think an answer to the OP should be analytical. It would not be enough to show cases with many inflection points, or to show the results of an extensive, but finite, search. Thank you for your interest in this question! – Dan Oct 13 '25 at 22:27
  • @Dan, thanks for your clarification. If I think of an analytical way to attack it, I will post. – Srini Oct 13 '25 at 22:31
  • 1
    @Dan, Don't know how this could be useful, but https://math.stackexchange.com/q/29354/335418 made me think of this question – Srini Oct 17 '25 at 01:30
2

(I have some partial results that are getting difficult to fit into a comment.Here goes.)

Partial Result: Critical Points

Let

$$f(x)=\Pi_{j=1}^N (1+x^{u_j})$$

where $u_j$ are positive integers, not necessarily distinct.

We can try to convert this product to a sum as follows:

$$\ln{f(x)}=\Sigma_{j=1}^N\ln{(1+x^{u_j})}$$

(Note that this works only if $f(x)$ is greater than zero. This is assured on the interval $(-1,\infty]$. The interval $[-1, -\infty)$ might still be analyzed if the number of terms with odd $u_j$ is even, or if all $u_j$ even.)

Differentiating both sides gives the following.

$$\frac{f'(x)}{f(x)}=\Sigma_{j=1}^N \frac{u_jx^{u_j - 1}}{1+x^{u_j}}$$

It follows that

$$\textbf{ (Eq.1) } f'(x)=f(x) \cdot \Sigma_{j=1}^N \frac{u_jx^{u_j - 1}}{1+x^{u_j}}$$

(If $f(x)$ doesn't have a zero at -1, this is well defined. If it does, we can extend our domain to include -1 by taking limits.)

Define

$$h(x)=\Sigma_{j=1}^N \frac{u_jx^{u_j - 1}}{1+x^{u_j}}$$

If we now assume that $u_j$ are all even or odd and sketch the graph of $\frac{u_jx^{u_j - 1}}{1+x^{u_j}}$ by using standard calculus techniques, we can see that

$$|h(x)| > 0$$

for all x≠0. This puts the maximum number of critical points at 2.

In the cases with mixed $u_j$, the terms of $h(x)$ can end up cancelling out in between -1 and 0. For the other intervals, we should be able to resort to some inequalities to show that there can be no critical point.

The upper bound given by the Mean Value Theorem would be $\Sigma u_j -1$. There's a significant reduction on the upper bound in these two cases.

Inflection Points:

The strategy found above gives us hope for the second derivative, so we proceed as follows:

$$f''(x)=f(x) \cdot (h(x)^2+h'(x))$$

where we have used the chain rule and Eq. 1.

The derivative is given by

$$h'(x)=\Sigma_{j=1}^N \frac{-u_jx^{u_j - 2}(x^{u_j}-u_j+1)}{(1+x^{u_j})^2}$$

(This is admittedly not very useful.)

  • 1
    Might be easier to show $f'(x)$ (or $h(x)$) has many zeros instead; if $f$ has $n$ local extrema, then it also has at least $n-1$ inflection points. I believe it's possible to construct $f$ so that $f'$ changes sign arbitrarily many times. – Benjamin Wright Sep 28 '25 at 14:22
2

We can exploit that $m_i$ does not need to be unique to find a solution that has any number of inflection points. All this inflection points are rational numbers and are also extremal points of the polynomial.

Let $$ P(x)= \prod_{i=1}^N (1+x^{m_i})^{A_i} $$ where $m_i$ have altenating parity. Let $c_j$ $j=1,\cdots r$ rational numbers belonging to $(-\varepsilon,0)$, where $\varepsilon$ is a small enough number and assume $N\ge 2(r+1)$ is even.

We want to find $A_i$ such that each of the $c_j$ is an inflection point of $P(x)$

Let $F(x)=\log P(x)$. We have $P'(x)=P(x) F'(x)$ and $P^{''}(x)=P(x) \left(F^{''}(x)+(F^{'}(x))^2\right)$. So a sufficient condition for $P^{''}(c_j)$ to be zero is having both $F'(c_j)=0= F^{''}(c_j)$.

Let $$f_{m_i}(x)= \frac{m_i x^{m_i-1}}{1+x^m} \quad g_{m_i}(x)= \frac{d}{dx} f_{m_i}(x)$$

The equations became $$ \begin{align} &\sum_{i=1}^N A_i f_{m_i}(c_j)=0\\ & \sum_{i=1}^N A_i g_{m_i}(c_j)=0 \end{align} $$ for each $c_j$. This is an homogeneous linear system over $\mathbb{Q}^{N}$ and it admits a not trivial solution.

If we can prove that all the $A_i$ are not negative, as the system is homogeneous we can multiplicate for the common denominator to obtain non negative integers $A_i$


Proof that the system admits a not negative solution

near $0^{-}$ we have that $f_{m_i}(x) \approx m_i x^{m_i-1}, g_{m_i}(x) \approx m_i(m_i-1) x^{m_i-2}$ In particular $\operatorname{sign} (f_{m_i}(c_j))=-\operatorname{sign}(g_{m_i}(c_j))$ for each $j$

By Stiemke's theorem the existence of a positive solution is equivalent to the statement that does not exist $p \in \mathbb{R}^{2r}$ such that $A^T p \ge 0$.

Let call $C_i=(f_{m_i}(c_1) \cdots f_{m_i}(c_r),g_{m_i}(c_1) \cdots g_{m_i}(c_r))$ a column of $A$. It has $r$ positive coordinates and $r$ negative coordinates. Then the interior of $C:=\operatorname{cone}((C_i)_{i=1,\cdots N})$ ( the conic hull of the columns) contains the origin.

But the interior of the cone consists of the points that have strictly positive inner product with each non zero element of its dual cone, so $C^*:= \{ y : A^T y \ge 0 \}= \{0\}$, that is what we want to prove.


I have found (using python) a polynomial with $10$ inflection points stricly less than $-1$ by choosing $$ \prod_{i=1}^{22} (1+x^i)^{A_i} $$ and finding $A_i$ such that the points $-\frac{1}{2^{j}}$ ($j=1,\cdots 10$) are inflection points. The code seems to work, but each $A_i$ has thousands of digits, so for obvious reasons I will not post them

Marco
  • 4,762