# A conjecture on the Lyapunov equation: min ||P||_2 over unit-trace X equals 1/(-2 tr A)

iis:2612.00870 · by devsingh-lab · https://isitsolved.com/journal/6bfac8765e70

**Abstract.** Math.SE 2922967 (IIS-L-23078): for a Hurwitz stable real matrix A and X positive semidefinite with trace 1, let P solve A P + P A^T = -X. The asker conjectures that some X gives ||P||_2 = 1/(-2 tr A), proves it when A + A^T is negative semidefinite, and reports numerical evidence otherwise. We prove it in general, in the stronger form min_X ||P(X)||_2 = 1/(-2 tr A). Lower bound: with S = P^(1/2) and B = S^-1 A S one gets B + B^T = -M with M = S^-1 X S^-1 positive semidefinite of trace -2 tr A, and 1 = tr X = tr(P M) <= lambda_max(P) tr M. The same computation gives lambda_min <= 1/(-2 tr A). Attainment: tr(P(X) Y) = tr(X Q(Y)) with Q the solution of the adjoint equation, so by von Neumann's minimax theorem min_X lambda_max(P(X)) = max_Y lambda_min(Q(Y)), which is at most 1/(-2 tr A) by the bound applied to A^T. A numerical check on 150 random stable matrices agrees.

# A conjecture on the Lyapunov equation

**Result.** For every Hurwitz $A$, $\min_{X\succeq0,\ \operatorname{tr}X=1}\|P(X)\|_2=\dfrac{1}{-2\operatorname{tr}A}$, which proves the conjecture. Written proof with a numerical check; not machine-checked in Lean.


An answer to [Math.SE question 2922967](https://math.stackexchange.com/questions/2922967)
(asked in 2018, score 11, no answers or comments).

Let $A$ be a real $n\times n$ matrix whose eigenvalues all have negative real part (Hurwitz
stable). For a positive semidefinite $X$ with $\operatorname{tr}X=1$, let $P=P(X)$ be the
solution of

$$AP+PA^{\top}=-X .$$

**Question.** Is there always such an $X$ with $\|P\|_2=\dfrac{1}{-2\operatorname{tr}A}$?
The asker proves it when $A+A^{\top}\preceq 0$ and reports numerical evidence in general.

**Answer: yes.** In fact that number is exactly the smallest possible value of $\|P\|_2$:

**Theorem.** Put $c=\dfrac{1}{-2\operatorname{tr}A}$. Then $\|P(X)\|_2\ge c$ for every
$X\succeq0$ with $\operatorname{tr}X=1$, and equality holds for at least one such $X$:

$$\min_{X\succeq 0,\ \operatorname{tr}X=1}\ \|P(X)\|_2=\frac{1}{-2\operatorname{tr}A}.$$

## Proof

Write $\mathcal D$ for the set of positive semidefinite matrices of trace 1. Recall
$P(X)=\int_0^\infty e^{At}Xe^{A^{\top}t}\,dt$, which is positive semidefinite, depends
linearly and continuously on $X$, and is positive definite when $X$ is.

**Lemma.** Let $X\in\mathcal D$ and $P=P(X)$. Then
$\lambda_{\min}(P)\le c\le\lambda_{\max}(P)$.

*Proof.* First let $X\succ0$, so $P\succ0$. Put $S=P^{1/2}$ and $B=S^{-1}AS$. Multiplying
$AP+PA^\top=-X$ on both sides by $S^{-1}$ gives

$$B+B^{\top}=-M,\qquad M=S^{-1}XS^{-1}\succeq 0 .$$

Taking traces, $\operatorname{tr}M=-2\operatorname{tr}B=-2\operatorname{tr}A=1/c$. Since
$X=SMS$,

$$1=\operatorname{tr}X=\operatorname{tr}(PM),\qquad
\lambda_{\min}(P)\operatorname{tr}M\ \le\ \operatorname{tr}(PM)\ \le\ \lambda_{\max}(P)\operatorname{tr}M ,$$

because $M\succeq0$. This is the claim. For general $X\in\mathcal D$ apply it to
$(1-\varepsilon)X+\varepsilon I/n$ and let $\varepsilon\to0$. ∎

The lemma gives $\|P(X)\|_2=\lambda_{\max}(P(X))\ge c$ for all $X\in\mathcal D$.

**The value $c$ is attained.** For $Y\in\mathcal D$ let
$Q(Y)=\int_0^\infty e^{A^{\top}t}Ye^{At}\,dt$, the solution of $A^{\top}Q+QA=-Y$. Then

$$\operatorname{tr}\bigl(P(X)\,Y\bigr)=\operatorname{tr}\bigl(X\,Q(Y)\bigr)\qquad(X,Y\in\mathcal D).$$

This function is bilinear and $\mathcal D$ is compact and convex, so by von Neumann's minimax
theorem

$$\min_{X}\ \lambda_{\max}(P(X))=\min_X\max_Y\operatorname{tr}(P(X)Y)
=\max_Y\min_X\operatorname{tr}(XQ(Y))=\max_{Y}\ \lambda_{\min}(Q(Y)).$$

The lemma applied to $A^{\top}$ (which is also Hurwitz, with the same trace) says
$\lambda_{\min}(Q(Y))\le c$ for every $Y$. So the left side is at most $c$. It is at least
$c$ by the first part. Hence the minimum equals $c$, and it is attained because
$\mathcal D$ is compact and $X\mapsto\|P(X)\|_2$ is continuous. ∎

## Remarks

- The same argument gives the mirror statement
  $\max_{X}\lambda_{\min}(P(X))=\dfrac{1}{-2\operatorname{tr}A}$.
- When $A+A^{\top}\preceq0$ the minimiser can be taken to be the asker's
  $X=(A+A^\top)/(2\operatorname{tr}A)$, for which $P=cI$.
- In $2\times2$ examples with $A+A^\top$ indefinite, a grid search finds the minimum $c$ at a
  rank-one $X$.

## Check it

    pip install numpy
    python check.py        # about a minute

For 150 random Hurwitz matrices with $n=2,\dots,8$ it checks that $\|P(X)\|_2/c\ge1$ on
random $X$ (smallest seen 1.0005), that $\lambda_{\min}(Q(Y))/c\le1$ on random $Y$ (largest
seen 0.9997), and that a saddle-point iteration pushes $\|P(X)\|_2/c$ down towards 1.

## Status

The question has no answers or comments, and we found no earlier solution. The proof is
short and uses only standard facts; it has not had a second reader and is not formalised.

Produced with an AI assistant: Claude (Anthropic) found the proof and wrote the check.

