Solving the matrix equation
$begingroup$
How can I solve the matrix equation of the form
$$
mathbf{SXK} + mathbf{X} = mathbf{Y}
$$
Here $mathbf{S}$ and $mathbf{K}$ are symmetric matrices, in addition $mathbf{K}$ is a sparse symmetric matrix. $X$ is the variable. Though $mathbf{S}$ and $mathbf{K}$ are symmetric, it is not invertible in general and $mathbf{X}$ is not symmetric. Is it possible to find a closed-form solution for $mathbf{X}$ ?. Is there any relevant literature study about solving such equations ?
linear-algebra matrices matrix-equations
$endgroup$
add a comment |
$begingroup$
How can I solve the matrix equation of the form
$$
mathbf{SXK} + mathbf{X} = mathbf{Y}
$$
Here $mathbf{S}$ and $mathbf{K}$ are symmetric matrices, in addition $mathbf{K}$ is a sparse symmetric matrix. $X$ is the variable. Though $mathbf{S}$ and $mathbf{K}$ are symmetric, it is not invertible in general and $mathbf{X}$ is not symmetric. Is it possible to find a closed-form solution for $mathbf{X}$ ?. Is there any relevant literature study about solving such equations ?
linear-algebra matrices matrix-equations
$endgroup$
1
$begingroup$
Are all square matrices? $S,K$ are invertible?
$endgroup$
– Exodd
Dec 23 '18 at 19:45
$begingroup$
@Exodd, S and K are not invertible in general. though S and K are symmetric, X is not symmetric.
$endgroup$
– Shew
Dec 23 '18 at 20:05
add a comment |
$begingroup$
How can I solve the matrix equation of the form
$$
mathbf{SXK} + mathbf{X} = mathbf{Y}
$$
Here $mathbf{S}$ and $mathbf{K}$ are symmetric matrices, in addition $mathbf{K}$ is a sparse symmetric matrix. $X$ is the variable. Though $mathbf{S}$ and $mathbf{K}$ are symmetric, it is not invertible in general and $mathbf{X}$ is not symmetric. Is it possible to find a closed-form solution for $mathbf{X}$ ?. Is there any relevant literature study about solving such equations ?
linear-algebra matrices matrix-equations
$endgroup$
How can I solve the matrix equation of the form
$$
mathbf{SXK} + mathbf{X} = mathbf{Y}
$$
Here $mathbf{S}$ and $mathbf{K}$ are symmetric matrices, in addition $mathbf{K}$ is a sparse symmetric matrix. $X$ is the variable. Though $mathbf{S}$ and $mathbf{K}$ are symmetric, it is not invertible in general and $mathbf{X}$ is not symmetric. Is it possible to find a closed-form solution for $mathbf{X}$ ?. Is there any relevant literature study about solving such equations ?
linear-algebra matrices matrix-equations
linear-algebra matrices matrix-equations
edited Dec 23 '18 at 20:08
Shew
asked Dec 23 '18 at 19:33
ShewShew
596413
596413
1
$begingroup$
Are all square matrices? $S,K$ are invertible?
$endgroup$
– Exodd
Dec 23 '18 at 19:45
$begingroup$
@Exodd, S and K are not invertible in general. though S and K are symmetric, X is not symmetric.
$endgroup$
– Shew
Dec 23 '18 at 20:05
add a comment |
1
$begingroup$
Are all square matrices? $S,K$ are invertible?
$endgroup$
– Exodd
Dec 23 '18 at 19:45
$begingroup$
@Exodd, S and K are not invertible in general. though S and K are symmetric, X is not symmetric.
$endgroup$
– Shew
Dec 23 '18 at 20:05
1
1
$begingroup$
Are all square matrices? $S,K$ are invertible?
$endgroup$
– Exodd
Dec 23 '18 at 19:45
$begingroup$
Are all square matrices? $S,K$ are invertible?
$endgroup$
– Exodd
Dec 23 '18 at 19:45
$begingroup$
@Exodd, S and K are not invertible in general. though S and K are symmetric, X is not symmetric.
$endgroup$
– Shew
Dec 23 '18 at 20:05
$begingroup$
@Exodd, S and K are not invertible in general. though S and K are symmetric, X is not symmetric.
$endgroup$
– Shew
Dec 23 '18 at 20:05
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
The symmetry of $S$ and $K$ allow for you to write them as diagonalized matrices. Suppose we have
$$S=PDP^{-1},;;;;K=QCQ^{-1}$$
for diagonal matrices $C$ and $D$. We also may write $X$ as
$$X=PP^{-1}XQQ^{-1}$$
which gives us
$$PDP^{-1}XQCQ^{-1}+PP^{-1}XQQ^{-1}=Y$$
Letting $Z=P^{-1}XQ$, we have
$$PDZCQ^{-1}+PQ^{-1}Z=Y$$
or
$$DZC+Z=P^{-1}YQ$$
The matrix $DZC$ is the matrix $Z$ with rows scaled by elements of $D$ and columns scaled by elements of $C$. This leads to a system of equations that look like
$$[D]_i[Z]_{ij}[C]_j+[Z]_{ij}=[P^{-1}YQ]_{ij}$$
The existence and uniqueness of a solution can now be seen, as it is dependent upon the value of $[D]_i[C]_j$. Provided that this is not $-1$, then
$$[Z]_{ij}=frac{[P^{-1}YQ]_{ij}}{[D]_i[C]_j+1}$$
The matrix $X$ may the be recovered by $X=PZQ^{-1}$.
$endgroup$
add a comment |
$begingroup$
This equation is similar to the discrete Lyapunov equation and can be solved in a similar way. Using the equality
$$ operatorname{vec}(ABC)=(C^{T} otimes A)operatorname{vec}(B) $$
one obtains the system of linear equations
$$
left( K^T otimes S+I_{n^2} right)operatorname{vec}(X)=operatorname{vec}(Y).
$$
$endgroup$
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3050630%2fsolving-the-matrix-equation%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
The symmetry of $S$ and $K$ allow for you to write them as diagonalized matrices. Suppose we have
$$S=PDP^{-1},;;;;K=QCQ^{-1}$$
for diagonal matrices $C$ and $D$. We also may write $X$ as
$$X=PP^{-1}XQQ^{-1}$$
which gives us
$$PDP^{-1}XQCQ^{-1}+PP^{-1}XQQ^{-1}=Y$$
Letting $Z=P^{-1}XQ$, we have
$$PDZCQ^{-1}+PQ^{-1}Z=Y$$
or
$$DZC+Z=P^{-1}YQ$$
The matrix $DZC$ is the matrix $Z$ with rows scaled by elements of $D$ and columns scaled by elements of $C$. This leads to a system of equations that look like
$$[D]_i[Z]_{ij}[C]_j+[Z]_{ij}=[P^{-1}YQ]_{ij}$$
The existence and uniqueness of a solution can now be seen, as it is dependent upon the value of $[D]_i[C]_j$. Provided that this is not $-1$, then
$$[Z]_{ij}=frac{[P^{-1}YQ]_{ij}}{[D]_i[C]_j+1}$$
The matrix $X$ may the be recovered by $X=PZQ^{-1}$.
$endgroup$
add a comment |
$begingroup$
The symmetry of $S$ and $K$ allow for you to write them as diagonalized matrices. Suppose we have
$$S=PDP^{-1},;;;;K=QCQ^{-1}$$
for diagonal matrices $C$ and $D$. We also may write $X$ as
$$X=PP^{-1}XQQ^{-1}$$
which gives us
$$PDP^{-1}XQCQ^{-1}+PP^{-1}XQQ^{-1}=Y$$
Letting $Z=P^{-1}XQ$, we have
$$PDZCQ^{-1}+PQ^{-1}Z=Y$$
or
$$DZC+Z=P^{-1}YQ$$
The matrix $DZC$ is the matrix $Z$ with rows scaled by elements of $D$ and columns scaled by elements of $C$. This leads to a system of equations that look like
$$[D]_i[Z]_{ij}[C]_j+[Z]_{ij}=[P^{-1}YQ]_{ij}$$
The existence and uniqueness of a solution can now be seen, as it is dependent upon the value of $[D]_i[C]_j$. Provided that this is not $-1$, then
$$[Z]_{ij}=frac{[P^{-1}YQ]_{ij}}{[D]_i[C]_j+1}$$
The matrix $X$ may the be recovered by $X=PZQ^{-1}$.
$endgroup$
add a comment |
$begingroup$
The symmetry of $S$ and $K$ allow for you to write them as diagonalized matrices. Suppose we have
$$S=PDP^{-1},;;;;K=QCQ^{-1}$$
for diagonal matrices $C$ and $D$. We also may write $X$ as
$$X=PP^{-1}XQQ^{-1}$$
which gives us
$$PDP^{-1}XQCQ^{-1}+PP^{-1}XQQ^{-1}=Y$$
Letting $Z=P^{-1}XQ$, we have
$$PDZCQ^{-1}+PQ^{-1}Z=Y$$
or
$$DZC+Z=P^{-1}YQ$$
The matrix $DZC$ is the matrix $Z$ with rows scaled by elements of $D$ and columns scaled by elements of $C$. This leads to a system of equations that look like
$$[D]_i[Z]_{ij}[C]_j+[Z]_{ij}=[P^{-1}YQ]_{ij}$$
The existence and uniqueness of a solution can now be seen, as it is dependent upon the value of $[D]_i[C]_j$. Provided that this is not $-1$, then
$$[Z]_{ij}=frac{[P^{-1}YQ]_{ij}}{[D]_i[C]_j+1}$$
The matrix $X$ may the be recovered by $X=PZQ^{-1}$.
$endgroup$
The symmetry of $S$ and $K$ allow for you to write them as diagonalized matrices. Suppose we have
$$S=PDP^{-1},;;;;K=QCQ^{-1}$$
for diagonal matrices $C$ and $D$. We also may write $X$ as
$$X=PP^{-1}XQQ^{-1}$$
which gives us
$$PDP^{-1}XQCQ^{-1}+PP^{-1}XQQ^{-1}=Y$$
Letting $Z=P^{-1}XQ$, we have
$$PDZCQ^{-1}+PQ^{-1}Z=Y$$
or
$$DZC+Z=P^{-1}YQ$$
The matrix $DZC$ is the matrix $Z$ with rows scaled by elements of $D$ and columns scaled by elements of $C$. This leads to a system of equations that look like
$$[D]_i[Z]_{ij}[C]_j+[Z]_{ij}=[P^{-1}YQ]_{ij}$$
The existence and uniqueness of a solution can now be seen, as it is dependent upon the value of $[D]_i[C]_j$. Provided that this is not $-1$, then
$$[Z]_{ij}=frac{[P^{-1}YQ]_{ij}}{[D]_i[C]_j+1}$$
The matrix $X$ may the be recovered by $X=PZQ^{-1}$.
answered Dec 23 '18 at 20:33
Josh B.Josh B.
1,0298
1,0298
add a comment |
add a comment |
$begingroup$
This equation is similar to the discrete Lyapunov equation and can be solved in a similar way. Using the equality
$$ operatorname{vec}(ABC)=(C^{T} otimes A)operatorname{vec}(B) $$
one obtains the system of linear equations
$$
left( K^T otimes S+I_{n^2} right)operatorname{vec}(X)=operatorname{vec}(Y).
$$
$endgroup$
add a comment |
$begingroup$
This equation is similar to the discrete Lyapunov equation and can be solved in a similar way. Using the equality
$$ operatorname{vec}(ABC)=(C^{T} otimes A)operatorname{vec}(B) $$
one obtains the system of linear equations
$$
left( K^T otimes S+I_{n^2} right)operatorname{vec}(X)=operatorname{vec}(Y).
$$
$endgroup$
add a comment |
$begingroup$
This equation is similar to the discrete Lyapunov equation and can be solved in a similar way. Using the equality
$$ operatorname{vec}(ABC)=(C^{T} otimes A)operatorname{vec}(B) $$
one obtains the system of linear equations
$$
left( K^T otimes S+I_{n^2} right)operatorname{vec}(X)=operatorname{vec}(Y).
$$
$endgroup$
This equation is similar to the discrete Lyapunov equation and can be solved in a similar way. Using the equality
$$ operatorname{vec}(ABC)=(C^{T} otimes A)operatorname{vec}(B) $$
one obtains the system of linear equations
$$
left( K^T otimes S+I_{n^2} right)operatorname{vec}(X)=operatorname{vec}(Y).
$$
answered Dec 23 '18 at 20:42
AVKAVK
2,1561518
2,1561518
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3050630%2fsolving-the-matrix-equation%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
$begingroup$
Are all square matrices? $S,K$ are invertible?
$endgroup$
– Exodd
Dec 23 '18 at 19:45
$begingroup$
@Exodd, S and K are not invertible in general. though S and K are symmetric, X is not symmetric.
$endgroup$
– Shew
Dec 23 '18 at 20:05