Suppose I have the following equation $AB + BC=D$, where $A$, $C$, and $D$ are known, how can I derive the solution for $B$?
Asked
Active
Viewed 77 times
1
-
2It's called Sylvester equation and there are ways to solve this. You might start with the Wikipedia link, or have a look at the many questions here about this equation. – Jean-Claude Arbaut Feb 05 '21 at 19:48
-
Thank you! It helps! – Zhang Yinwei Feb 07 '21 at 02:22
1 Answers
1
This is a Sylvester equation. Suppose that $B$ has shape $m \times n$. In terms of vectorization and the Kronecker product, we have $$ (I_n \otimes A + C^T \otimes I_m)\operatorname{vec}(B) = \operatorname{vec}(D). $$ If the coefficient matrix is invertible, this can be solved as usual with $$ \operatorname{vec}(B) = (I_n \otimes A + C^T \otimes I_m)^{-1}\operatorname{vec}(D). $$
Ben Grossmann
- 225,327