Saturday, 20 February 2016

na.numerical analysis - Finding all roots of a polynomial

This argument is problematic; see Andrej Bauer's comment below.




Sure. I have no idea what an efficient algorithm looks like, but since you only asked whether it's possible I'll offer a terrible one.



Lemma: Let $f(z) = z^n + a_{n-1} z^{n-1} + ... + a_0$ be a complex polynomial and let $R = text{max}(1, |a_{n-1}| + ... + |a_0|)$. Then all the roots of $f$ lie in the circle of radius $R$ centered at the origin.



Proof. If $|z| > R$, then $|z|^n > R |z|^{n-1} ge |a_{n-1} z^{n-1}| + ... + |a_0|$, so by the triangle inequality no such $z$ is a root.



Now subdivide the disk of radius $R$ into, say, a mesh of squares of side length $epsilon > 0$ and evaluate the polynomial at all the lattice points of the mesh. As the mesh size tends to zero you'll find points that approximate the zeroes to arbitrary accuracy.



There are also lots of specialized algorithms for finding roots of polynomials at the Wikipedia article.

plane geometry - Why does the area function of a parallelogram have a nonintuitive geometric solution?

I was reading a blog post on a simple derivation of the cross product. I learned how to determine the area of a parallelogram enclosed by two vectors $A$ and $B$.



First, here is the proof of the solution ($area = A_x B_y - B_x A_y$)



And here's the geometric implication of the solution.



It bewilders me that the geometric solution is simple but nonintuitive.



One commenter (Tim Poston) on the blog offered an explanation by using the following lemma, which he states can be easily shown using elementary plane geometry, without the use of right angles or base*height to find areas:



$C(u+w,v) = C(u,v) + C(w,v)$



where $u, v, w$ are arbitrary vectors, and $C$ is the area function of the parallelogram between 2 vectors.



Here's my illustration of an example implication of this lemma (visually simplified to triangles without loss of generality)



I was unable to prove this lemma, so I couldn't follow the argument. Any thoughts or direction with this lemma or the original problem would be appreciated.

ag.algebraic geometry - When does direct image with proper support have a right adjoint?

I assume the question holds in contexts where we can glue open immersions and proper morphisms to produce $f_!$ for $f$ separated of finite type. In particular, we shall have $f_!=f_ast$ for $f$ proper.



Non derived setting ---
If $f:Xrightarrow Y$ is proper, one can ask if $f_ast$ has a right adjoint.
Note that, if $Y=mathrm{Spec}(k)$ for an algebraically closed field, then $f_ast$ is essentially the global section functor on $X$ (if we work with reasonnable topologies like Zariski, Nisnevich, or étale). This suggests that $f_ast$ does not have a right adjoint in general (otherwise, it would be exact, and this would say that proper schemes have not any interesting cohomology).
If $f$ is quasi-compact and quasi-separed, then $f_ast$ preserves filtered colimits (this is the case if $f$ is proper). Hence the obstruction for $f_ast$ to have a right adjoint is only its left exactness. There are still cases where $f_ast$ has a right adjoint at the level of sheaves: when f is a closed immersion (for the Zariski topology), and when f is finite (for the Nisnevich topology and for the étale topology): the right exactness of $f_ast$ is proved by contemplating the behaviour of $f_ast$ on stalks of $Y$: for the Zariski topology, one uses that the points are the local rings, and that any quotient of a local ring is local; similarly, for the Nisnevich (resp. étale) topology, one uses the fact that the points are the henselian (resp. strictly henselian) rings, and that any finite extension of an henselian ring is still henselian. So in conclusion, it seems that we might expect $f^!$ to exists when $f$ is an immersion (for the Zariski topology), or when $f$ is quasi-finite (for the Nisnevich or étale topology).



Derived setting --- As, for an open immersion $j, j_!$ is still the extension by zero, it always has a right adjoint $j^ast$. The problem is then again to get an adjoint of $f_!=f_ast$ for $f$ proper. The problem is similar to the one in the non derived case, except that the obstruction is smaller: as $f_ast$ is an exact functor between well generated triangulated categories (in the sense of Neeman; for this we have to work with unbouded complexes), $f_ast$ has a right adjoint if and only if it preserves small direct sums (this is an instance of the Brown representability theorem). There is a nice sufficient condition for this, which I will recall. Remember that an object $X$ in a triangulated category is compact if, for any integer $n$, the functor $mathsf{Hom}(X[n],-)$ preserves small direct sums. A triangulated category $T$ is compactly generated if it admits small sums, and if there exists a small generating family $G$ in $T$ which consists of compact objects (i.e. all the element of $G$ are compact in $T$, and for an object $M$ in $T$, one has $M=0$ iff $mathsf{Hom}(X[n],M)=0$ for any integer $n$ and any $X$ in $G$). A compactly generated triangulated category is a basic example of a well generated triangulated category. In particular, if $F:Trightarrow T'$ is functor between compactly generated triangulated categories, then it has a right adjoint iff it preserves small direct sums. The good news are that, for such an $F$, a sufficient condition for this is the following: assume that $F$ has a left adjoint $L:T'rightarrow T$ and that there exists a small family $G'$ of compact generators of $T'$ such that $L$ sends the elements of $G'$ to compact objects of $T$. Then $F$ preserves small direct sums (hence, has a right adjoint).



If we come back to our functor $f_ast$ (with $f$ proper), a sufficient condition for $f^!$ to exist is then that our derived categories of sheaves are compactly generated and that the representable sheaves form a family of compact generators: as $f^ast$ obviously preserves representables, these assumptions give the existence of $f^!$. As for the conditions under which representables are compact or not (which is a finiteness assumption on $X$ and $Y$ themselves), some sufficient conditions have already been suggested here (the fact that representables form a generating family is obviously always true).

Friday, 19 February 2016

lo.logic - Abstract Thought vs Calculation

A beautiful classical example from Functional Analysis is the Hausdorff moment problem: characterize the sequences
$m:=(m_0,m_1,dots)$ of real numbers that are moments of some positive, finite Borel measure on the unit interval $I:=[0,1]$:
$$m_k=int_I x^kdmu(x).$$
A necessary condition immediately comes from $int_I x^{ j}(1-x)^{ k} dmu(x)geq0$, and is expressed saying that $m$ has to be a "completely monotone" sequence, that is
$$(I-S)^k mge0,$$
where $S$ is the shift operator acting on sequences (in other words, the $k$-th discrete difference of $m$ has the sign of $(-1)^k$: $m$ is positive, decreasing, convex,...). The nontrivial fact is that this is also a sufficient condition, thus caracterizing the sequences of moments. Moreover, the measure is then unique.



I'll quote two proofs, both very nice. The first is close to the original one by Hausdorff; the second is a consequence of the Choquet's theorem.



Proof I, with computation (skipped). Bernstein polynomials
$$B_nf(x):=sum_{k=0}^n fbig(frac{k}{n}big)Big( {n atop k}Big)x^k(1-x)^{n-k}, qquad ninmathbb{N},; fin C^0(I), ; xin I ,$$
define a sequence of linear positive operators strongly convergent to the identity
$$B_n:C^0(I)to C^0(I) .$$



Therefore the transpose operators $$B_n ^*:C^0(I)^ *to C^0(I)^ *$$ give a sequence of operators weakly convergent to the identity. If you write down what is $B_n^ *(mu)$ for a Radon measure $muin C^0(I)^ *$ you'll observe that it is a linear combinations of Dirac measures located at the points ${k/n}_{0leq kleq n}$, and with coefficients only depending on the moments of $mu$. This gives a uniqueness result and a heuristic argument: if $m$ is a sequence of moments for some measure $mu$, then $mu$ can be reconstructed by its moments as a weak* limit of discrete measures $mu_n:=B_n^*(mu)$. This observation leads to a constructive solution of the problem. Indeed, given a completely monotone sequence $m$, consider the corresponding sequence of measures $mu_n$ suggested by the experssion of $B_n^*(mu)$ in terms of the $(m_k)$. Due to the assumption of complete monotoniticy they turns out to be positive measures, and with some more computations one shows that they converges weakly* to a measure $mu$ with moment's sequence $m$.



Proof II, no or little computation. Completely monotone sequences with $m_0=1$ are a closed convex, thus weakly* compact and metrizable subset $M$ of $l^infty$. A one-line, smart computation shows that the extremal points of $M$ are exactly the exponential sequences, $m^{ (t)}:=(1,t,t^2,dots)$, for $0leq t leq1$ (these turn out to be the moments of Dirac measures in points of $I$, of course). By the Choquet's theorem, for any given $min M$ there exists a probability measure on $mathrm{ex}(M),$ that we identify with $I,$ such that $m=int_I m^{ (t) } dmu(t).$ But this exactly means $m_k=int_I t^{ k} d mu(t)$ for all $kinmathbb{N}.$

set theory - Are there as many real-closed fields of a given cardinality as I think there are?

Hi Pete!



There's been a lot of study of this and similar problems. I believe that Shelah's theorem, from his 1971 paper "The number of non-isomorphic models of an unstable first-order theory" (Israel J. of Math) answers your question about real closed fields in the positive.



The best big result on such questions that I know of is in the 2000 Annals paper "The uncountable spectra of countable theories." by Hart, Hrushovski, Laskowski.



To answer the question on real closed fields specifically (and somewhat cautiously since I'm not a model-theorist):



The theory of real closed fields is a complete first order theory, with countable language. It is an unstable (an easy fact, I think, and explained better on wikipedia than I could explain) theory as well. Hence Shelah's result applies, and the bound $2^kappa$ is realized as you surmised.



Bonus points should go to Shelah (and perhaps also to Hart, Hrushovski, Laskowski, whose paper mentions the result of Shelah and proves other things) for proving that this bound is realized (for uncountable cardinals), except for theories $T$ which have all of the following properties:



  1. $T$ has infinite models.

  2. $T$ is superstable.

  3. $T$ has prime models over pairs.

  4. $T$ does not have the dimensional order property.

I have no clue what the fourth property means. But there are plenty of non-superstable theories to which Shelah's theorem applies, and hence which realize your bound (for uncountable cardinals).



For countable cardinality, I think there are still some open problems about how many non-isomorphic models there can be of a given theory, with cardinality $aleph_0$.

Thursday, 18 February 2016

set theory - Is the collection of isomorphism classes of groups a proper class?

All the other answers are more than satisfactory. I have some lecture notes on basic set theory which also answer these questions, so I might as well post links to them:



To see that the cardinals do not form a set, see Fact 20 on page 10 of



http://math.uga.edu/~pete/settheorypart1.pdf



This first handout is super-naive set theory (countable choice is assumed without comment) which is meant to be accessible to an undergraduate math major. In particular I don't say "cardinal" there but rather spell things out in a more explicit way.



This seems a little simpler than the Burali-Forti paradox (which on the other hand is manifestly choice-free), for which see Section 1.4 of



http://math.uga.edu/~pete/settheorypart3.pdf



To see that there is an X of any given infinite cardinality (where X is: a field, a noncommutative group, etc.) see



http://math.uga.edu/~pete/settheorypart4.pdf



My argument for the case of fields -- which implies that of groups by taking the additive group of the field -- uses (only) that for any infinite cardinal $kappa$,
$kappa times aleph_0 = kappa$. I'm pretty sure that this is a lot weaker than AC.



If you know the Skolem-Lowenheim theorem in model theory, then it is silly to do all of these cases individually: a consistent theory in a language of cardinality $kappa$ admits models of any infinite cardinality which is greater than or equal to $kappa$. This is equivalent to AC (see Bell and Slomson), but the special case of countable languages is presumably not.

Wednesday, 17 February 2016

graph theory - Why do we use priority queues when implementing Dijkstra's Algorithm?

Consider the running time for adding a new element to a sorted list, keeping the list sorted. If the list is an array, you can find the insertion point in $O(log n)$ steps, where $n$ is the current size of the list. But then you have to make room for the new element by shifting all the elements behind it one step back, and that takes $n/2$ steps on the average. Or you could use a linked list, but then binary search is not available, and it takes $n/2$ steps (on the average) to find the insertion point (and $O(1)$ to do the actual insertion). For a properly implemented priority queue, insertion is $O(log n)$, and so is fixing up the queue after removing the smallest member.