11

Let $p_n(\cdot)$ be a $d-$variate polynomial of degree $n$. How many connected components does the set

$$\{x:\ p_n(x)>0\}$$

have? Are these components also convex?

Note that, in case $d=1$ there are at most $n$ connected components, all convex, as it follows from the fundamental theorem of algebra. In fact, as $p_n$ has at most $n$ many zeros $x_1,\dots x_n$, the set $\{x:\ p_n(x)>0\}$ cannot be made by more than $n$ open intervals.

EDIT:

No more convexity, the question is now only on the connected components (I suspect they are of order $O(n^d)$). Also, I am satisfied with the order of magnitude in $n,d$, without the precise upper bound.

red_trumpet
  • 11,169
Davide Maran
  • 1,259

4 Answers4

7

Let me explain an upper bound on the number of components, which is asymptotically consistent with your conjecture.

I will be using your notation where the dimension is $d$ and the degree is $n$ even though it is inconsistent with the reference below.

The following is Theorem 3 in

Milnor, John W., On the Betti numbers of real varieties, Proc. Am. Math. Soc. 15, 275-280 (1964). ZBL0123.38302.

Theorem: If $X\subset \mathbb R^d$ is defined by a polynomial inequality of the form $f\ge 0$ of degree $n$, then the sum of Betti numbers of $X$ is at most $$ B_{n,d}:=\frac{1}{2}(2+n)(1+n)^{d-1} $$
which is asymptotically (as $n, d\to\infty$) $\frac{1}{2}n^d$.

In particular, the number of path-connected components of $X$ is $\le B_{n,d}$, since this number is the zeroth Betti number of $X$.

Milnor in his paper proves a more general result in the case of several polynomial inequalities. Milnor's work was motivated by an earlier work of Rene Thom who obtained an upper bound on the total Betti numbers of algebraic subsets of $\mathbb R^d$.

Corollary. In the above setting, the number of connected components of the subset $X:=\{x\in \mathbb R^d: f(x)>0\}$ is at most $B_{n,d}$.

Proof. Consider the family of polynomials $f_t(x):= f(x) - t$, $t>0$. For every polynomial $f_t$ define the subset $X_t:=\{x\in \mathbb R^d: f_t(x)\ge 0\}$. Then, clearly, $$ X= \bigcup_{t>0} X_t. $$ According to Milnor's theorem, each $X_t$ has at most $B_{n,d}$ components.

Lemma. Suppose that $X$ is a topological space represented as an increasing union of subsets $X_t$, $t>0$, where each $X_t$ has at most $N$ path-components. Then $X$ also has at most $N$ path-components.

Proof. We need to show that if $x_0,...,x_N$ are points in $X$, then at least two of these points belong to the same path-component. There exists $t$ such that $x_0,...,x_N\in X_t$. Since $X_t$ has at most $N$ components, there is a path in $X_t$ connecting two of these points, say, $x_0, x_1$. But then $x_0, x_1$ belong to the same path-component of $X$ as well. qed.

Applying this lemma, we obtain the corollary. qed

Moishe Kohan
  • 111,854
3

Consider the following univariate polynomial:

$$p_n(x)=(x-1)(x-2)...(x-n)$$

Then $p_n(x)>0$ has $\lceil \frac{n+1}{2}\rceil$ connected components and it's pretty obvious what they are. Then consider the following d-variate polynomial:

$$P_{n,d}(x_1, x_2,..., x_d)=p_n(x_1)p_n(x_2)...p_n(x_d)$$

Then $P_{n,d}(x_1, x_2,..., x_d)>0$ should have ${\lceil\frac{(n+1)^d}{2}\rceil}$ connected components which are again pretty obvious. This is thus at least a minimum. I suspect, like you did, that it's also a maximum but I don't have a rigorous proof for that part.

EDIT:

I'll add some motivation for why I think this is the maximum. If you look at any line, it can intersect with at most $n$ separate component edges. In case of a bivariate polynomial and thus 2D plane, you can consider such line sweeping the plane. How many times can the components intersecting with the sweeping line change. It would seem intuititive that it's as many times as an orthogonal line can intersect with the component edges which is again $n$.

Then for e.g. a bivariate polynomial you can consider $n$ such lines in the direction of one coordinate axis and $n$ lines in the direction of the other coordinate axis. These intersect at $n^2$ points and you can get $n^2$ components arranged into 2D grid. Then it goes similarly for $d$ dimensions. It would seem intuitive that you can't have more but I don't know how to make this argument more rigorous.

  • This was precisely the argument that I was thinking of. Unfortunately, there are sets composed by several connected components but no line is able to intersect more than two of them (one can in principle make these components little larger than single points and put them on a circle). This is where I got stuck. – Davide Maran Dec 04 '24 at 19:59
  • Isn't the degree of $P_{n,d}$ equal to $nd$, not $n$? Also won't $p_n(x) > 0$ have more like $\frac{n}{2}$ connected components since they will only be every second interval between the $n$ zeros? – MartianInvader Dec 04 '24 at 20:15
  • @MartianInvader As for the first part, it seems you're right. I made a guess what Davide Maran meant by $n$ in the multivariate case but after asking for clarification it seems that was wrong. As for the second part, it seems you're right there as well. It's $\lceil\frac{n+1}{2}\rceil$ (rounded up). This error is in the question as well. I'll make a comment about that. – QuantumWiz Dec 04 '24 at 20:31
  • $P_{n,d} > 0$ will have more than $(\lceil \frac{n+1}{2}\rceil)^d$ components, because (eg with two variables) we also have components where $p_n(x_1) < 0$ and $p_n(x_2) < 0$. – Jair Taylor Dec 04 '24 at 20:48
  • @MartianInvader Yes, in fact I said "at most" $n$ components. An answer that gives the order of magnitude for me is good, I am not very interested in the precise constant. – Davide Maran Dec 04 '24 at 20:49
  • @JairTaylor Hmm, then I guess the number is actually ${\lceil\frac{(n+1)^d}{2}\rceil}$? Do you think I got it right this time? – QuantumWiz Dec 04 '24 at 20:59
  • Yes that looks right. – Jair Taylor Dec 04 '24 at 21:08
  • 1
    You can do a bit better than this, though; your construction gives a polynomial of degree $4$ with $5$ regions, but you can get $6$ regions with the construction I give in my answer, taking $p(x)$ of the form $(a_1x + b_1y)(a_2x + b_2y)(a_3x + b_3y)(a_4x + b_4y)$; you can draw four lines in the plane to get 11 regions, and 6 of them can be made "positive".) – Jair Taylor Dec 04 '24 at 23:23
  • @JairTaylor Hmm, that's like splitting a circle with lines into different areas. The maximum of areas in such case is $\frac{n^2+n+2}{2}$ (also called the "Lazy caterer's sequence) and if we can have half of them be positive then we could get $\lceil\frac{n^2+n+2}{4}\rceil$ components in 2D in general. Though this doesn't prove we couldn't do even better if we could use curves instead of straight lines between the components. Also, I don't know how to generalize that into higher dimensions. – QuantumWiz Dec 05 '24 at 01:52
  • Yes, exactly. My answer gives one way to generalize it. – Jair Taylor Dec 05 '24 at 05:38
  • (Actually, in my comment above it should be $p(x) = (c_1 + a_1x + b_1y) \cdots (c_4 + a_4x + b_4y)$.) – Jair Taylor Dec 05 '24 at 20:28
3

Not a complete answer, but a lower bound is $$\Big\lceil \frac{1}{2}\sum_{i=0}^d {n \choose i}\Big\rceil.$$ To see this, let $$p(x) = q_1(x) q_2(x) \cdots q_n(x)$$ where each $q_i(x) = q_i(x_1, \ldots, x_d) = a_i + \sum_{j=1}^d c_{ij} x_i$ where the $c_{ij}$ and $a_i$ are random real numbers according to some continuous distribution, e.g. uniform on $[0,1]$. Then $\{x: p(x) = 0\} = \bigcup_{i=1}^n \{x | p_i(x) = 0\}$ is a union of hyperplanes in general position, and the number of components of $\{x: p(x) \neq 0\}$ is $$c = \sum_{i=0}^d {n \choose i}$$ by the argument here. Then, changing the sign of $p(x)$ if necessary, $\lceil c/2 \rceil$ of these components will have $p(x) > 0$.

Jair Taylor
  • 17,307
2

If you're not restricting the degree of the polynomial, it can be pretty weird.

The Stone-Weierstrass theorem is true in multiple variables, so you can take any continuous function you want (on a bounded subset of your domain) and approximate it with a polynomial to an arbitrary degree of accuracy. In particular, you can have any number of connected components, and they do not need to be convex.

  • 3
    But I'm sure he meant that $p_n$ is of degree $n$. It's obvious that you can have arbitrarily many components if you increase the degree but the question didn't ask that. – QuantumWiz Dec 04 '24 at 19:10
  • Yes that's clear, a continuous function can have an arbitrary number of zeros. Still, this does not dolve the question, as to have a good approximation we need the degree $n$ of the polynomial to grow to $+\infty$, and I am interested in a bound on the number of connected components that of course has also to scale with $n$. – Davide Maran Dec 04 '24 at 19:11