ArticleslgStudy

mathematics

Sylvester equation

Sylvester equation is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Sylvester equation rather than just read about it. In short: In mathematics, in the field of control theory, a Sylvester equation is a matrix equation of the form: AX+XB=C. It is named after English mathematician James Joseph Sylvester.

Key takeaways

  • Sylvester equation belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Sylvester equation to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Sylvester equation from memory before moving on to harder problems.

Reference excerpt

In mathematics, in the field of control theory, a Sylvester equation is a matrix equation of the form:

AX+XB=C. It is named after English mathematician James Joseph Sylvester. Then given matrices A, B, and C, the problem is to find the possible matrices X that obey this equation. All matrices are assumed to have coefficients in the complex numbers. For the equation to make sense, the matrices must have appropriate sizes, for example they could all be square matrices of the same size. But more generally, A and B must be square matrices of sizes n and m respectively, and then X and C both have n rows and m columns. A Sylvester equation has a unique solution for X exactly when there are no common eigenvalues of A and −B. More generally, the equation AX + XB = C has been considered as an equation of bounded operators on a (possibly infinite-dimensional) Banach space. In this case, the condition for the uniqueness of a solution X is almost the same: There exists a unique solution X exactly when the spectra of A and −B are disjoint.

Existence and uniqueness of the solutions Using the Kronecker product notation and the vectorization operator vec, we can rewrite Sylvester's equation in the form

(Im⊗A+BT⊗In)vec⁡X=vec⁡C, where A is of dimension n×n, B is of dimension m×m, X of dimension n×m and Ik is the k×k identity matrix. In this form, the equation can be seen as a linear system of dimension mn×mn. Theorem. Given matrices A∈ℂn×n and B∈ℂm×m, the Sylvester equation AX+XB=C has a unique solution X∈ℂn×m for any C∈ℂn×m if and only if A and −B do not share any eigenvalue. Proof. The equation AX+XB=C is a linear system with mn unknowns and the same number of equations. Hence it is uniquely solvable for any given C if and only if the homogeneous equation AX+XB=0 admits only the trivial solution 0. (i) Assume that A and −B do not share any eigenvalue. Let X be a solution to the abovementioned homogeneous equation. Then AX=X(−B), which can be lifted to AkX=X(−B)k for each k≥0 by mathematical induction. Consequently, p(A)X=Xp(−B) for any polynomial p. In particular, let p be the characteristic polynomial of A. Then p(A)=0 due to the Cayley–Hamilton theorem; meanwhile, the spectral mapping theorem tells us σ(p(−B))=p(σ(−B)), where σ(⋅) denotes the spectrum of a matrix. Since A and −B do not share any eigenvalue, p(σ(−B)) does not contain zero, and hence p(−B) is nonsingular. Thus X=0 as desired. This proves the "if" part of the theorem. (ii) Now assume that A and −B share an eigenvalue λ. Let u be a corresponding right eigenvector for A, v be a corresponding left eigenvector for −B, and X=uv∗. Then X≠0, and AX+XB=A(uv∗)−(uv∗)(−B)=λuv∗−λuv∗=0. Hence X is a nontrivial solution to the aforesaid homogeneous equation, justifying the "only if" part of the theorem. Q.E.D. As an alternative to the spectral mapping theorem, the nonsingularity of p(−B) in part (i) of the proof can also be demonstrated by the Bézout's identity for coprime polynomials. Let q be the characteristic polynomial of −B. Since A and −B do not share any eigenvalue, p and q are coprime. Hence there exist polynomials f and g such that p(z)f(z)+q(z)g(z)≡1. By the Cayley–Hamilton theorem, q(−B)=0. Thus p(−B)f(−B)=I, implying that p(−B) is nonsingular. The theorem remains true for real matrices with the caveat that one considers their complex eigenvalues. The proof for the "if" part is still applicable; for the "only if" part, note that both Re(uv∗) and Im(uv∗) satisfy the homogenous equation AX+XB=0, and they cannot be zero simultaneously.

Roth's removal rule Given two square complex matrices A and B, of size n and m, and a matrix C of size n by m, then one can ask when the following two square matrices of size n + m are similar to each other: [AC0B] and [A00B]. The answer is that these two matrices are similar exactly when there exists a matrix X such that AX − XB = C. In other words, X is a solution to a Sylvester equation. This is known as Roth's removal rule. One easily checks one direction: If AX − XB = C then

[InX0Im][AC0B][In−X0Im]=[A00B]. Roth's removal rule does not generalize to infinite-dimensional bounded operators on a Banach space. Nevertheless, Roth's removal rule generalizes to the systems of Sylvester equations.

Numerical solutions A classical algorithm for the numerical solution of the Sylvester equation is the Bartels–Stewart algorithm, which consists of transforming A and B into Schur form by a QR algorithm, and then solving the resulting triangular system via back-substitution. This algorithm, whose computational cost is 𝒪(n3) arithmetical operations, is used, among others, by LAPACK and the lyap function in GNU Octave. See also the sylvester function in that language. In some specific image processing applications, the derived Sylvester equation has a closed form solution.

See also Lyapunov equation, a special case of the Sylvester equation Algebraic Riccati equation

Notes

References Sylvester, J. (1884). "Sur l'equations en matrices px=xq". C. R. Acad. Sci. Paris. 99 (2): 67–71, 115–116. Bartels, R. H.; Stewart, G. W. (1972). "Solution of the matrix equation AX+XB=C". Comm. ACM. 15 (9): 820–826. doi:10.1145/361573.361582. S2CID 12957010. Bhatia, R.; Rosenthal, P. (1997). "How and why to solve the operator equation AX−XB=Y ?". Bull. London Math. Soc. 29 (1): 1–21. doi:10.1112/S0024609396001828. S2CID 122259404. Dmytryshyn, Andrii; Kågström, Bo (2015). "Coupled Sylvester-type Matrix Equations and Block Diagonalization". SIAM Journal on Matrix Analysis and Applications. 36 (2): 580–593. doi:10.1137/151005907. Lee, S.-G.; Vu, Q.-P. (2011). "Simultaneous solutions of Sylvester equations and idempotent matrices separating the joint spectrum". Linear Algebra Appl. 435 (9): 2097–2109. doi:10.1016/j.laa.2010.09.034. Wei, Q.; Dobigeon, N.; Tourneret, J.-Y. (2015). "Fast Fusion of Multi-Band Images Based on Solving a Sylvester Equation". IEEE Transactions on Image Processing. 24 (11): 4109–4121. arXiv:1502.03121. Bibcode:2015ITIP...24.4109W. doi:10.1109/TIP.2015.2458572. PMID 26208345. S2CID 665111. Birkhoff and MacLane. A survey of Modern Algebra. Macmillan. pp. 213, 299.

External links Online solver for arbitrary sized matrices. Archived 2013-07-09 at the Wayback Machine Mathematica function to solve the Sylvester equation MATLAB function to solve the Sylvester equation

Worked examples

Example 1 — a first encounter with Sylvester equation

Start with the simplest possible case. Write down what Sylvester equation claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Sylvester equation before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Sylvester equation ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Sylvester equation

In research
Sylvester equation appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Sylvester equation in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Sylvester equation is common in secondary-school and first-year university syllabi. It links to neighbouring topics Control theory, Matrices (mathematics), so understanding it makes those chapters shorter.
In everyday life
Look for Sylvester equation outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Sylvester equation” →

How to study Sylvester equation in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Sylvester equation means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Sylvester equation out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Sylvester equation in simple terms?

In mathematics, in the field of control theory, a Sylvester equation is a matrix equation of the form: AX+XB=C. It is named after English mathematician James Joseph Sylvester.

Why does Sylvester equation matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Sylvester equation?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Sylvester equation.

Tags

  • Control theory
  • Matrices (mathematics)

Keep exploring