If you find the title of this post confusing, join the club! A question on Operations Research Stack Exchange, "Randomly constructing a bounded ellipsoid", sent me down a rabbit hole, eventually leading to this opus. I'm going to make a couple of notational tweaks to the original question, but the gist is as follows. We have an elliptical feasible region X={x∈Rn:f(x)≤0} where f(x)=x′Qx+q′x+q0. (One of my tweaks is to absorb the author's factor 1/2 into Q.) Q∈Rn×n, q∈Rn and q0∈R are generated by sampling random numbers from the standard normal distribution. In the case of Q, we sample an n×n matrix H and then set Q=12H′H. (My introducing the symbol H for the sampled matrix is the other notational tweak.) Note that Q is automatically symmetric and positive semidefinite, and is positive definite with probability 1. (For it not to be positive definite, H would have to have less than full rank, which has zero probability of occurring.) I should point out here that saying something has probability 1 or 0 assumes that the random number generator works as advertised.
The author of the question said that in their experience X was unbounded "most of the time." That struck me as impossible, and after a bunch of scribbling on marker boards I finally came down to what I think is a correct argument that X must be bounded. Let {x1,…,xn} be an orthonormal basis of eigenvectors of Q, with Qxi=λixi and x′ixj={1i=j0i≠j.
(I'll leave the proof that such a basis exists to the reader as an exercise.)
Now suppose that X is unbounded, meaning that for an arbitrarily large M we can find x∈X such that ∥x∥>M. Write x in terms of the basis: x=∑iaixi. Observe that M2=∥x∥2=x′x=∑i∑jaiajx′ixj=∑ia2i(x′ixi)=∑ia2i.Expanding f(x), we have
f(x)=(∑iaixi)′Q(∑iaixi)+q′(∑iaixi)+q0=∑i,jaiaj(x′iQxj)+∑iai(q′xi)+q0=∑i,jaiajλj(x′ixj)+∑iai(q′xi)+q0=∑ia2iλi+∑iai(q′xi)+q0.
Since x∈X, ∑ia2iλi≤−∑iai(q′xi)−q0. According to the Cauchy-Schwarz inequality, |q′xi|≤∥q∥∥xi∥=∥q∥, so we have ∑ia2iλi≤−∑iai(q′xi)−q0≤∑i|ai|∥q∥+|q0|.
On the other hand, if Λ=miniλi>0, then ∑ia2iλi≥Λ∑ia2i=ΛM2. Combining these, ΛM2≤∥q∥∑i|ai|+|q0|.(1)
Now let A=maxi|ai| and assume without loss of generality that |a1|=A. Since M2=∑ia2i, A2=M2−∑i>1a2i≤M2 and so 0<A≤M. Meanwhile, M2=∑ia2i≤nA2, which implies A≥M√n.
Dividing both sides of (1) by A, we have ΛM≤ΛM2A≤∥q∥∑i|ai|A+|q0|A≤∥q∥n+|q0|A.(2)
The left side of (2) increases as we increase M, while the right side decreases (since A increases and both q0 and ∥q∥n are constant). This leads to a contradiction.
So, barring an error in the above, we have a mathematical proof that X must be bounded. In the next post I will explore the computational side of things.
No comments:
Post a Comment
Due to intermittent spamming, comments are being moderated. If this is your first time commenting on the blog, please read the Ground Rules for Comments. In particular, if you want to ask an operations research-related question not relevant to this post, consider asking it on Operations Research Stack Exchange.