A = B * C, how do I solve for B The Next CEO of Stack OverflowHow to solve equation using inverse matrix method?Solve (or appoximate) for B in A=B*C for matrix mult with non-square matrices.Let $M$ be a non-zero $3times 3$ matrix satisfying $M^3=O$how to solve the system of a.x=b with Matrix?How to solve AX=B for some given 3x3-matrix A and 3-vector BHow would you solve this equation for “A”?How to solve for matrix inside equation?Solve Ax = b when the dimension of b does not equal the dimension of ASolving a System of Equations without a Square MatrixHow to solve $Q$ matrix from Householder QR-factorization? - Lapack
Is it ever safe to open a suspicious HTML file (e.g. email attachment)?
Why the difference in type-inference over the as-pattern in two similar function definitions?
A Man With a Stainless Steel Endoskeleton (like The Terminator) Fighting Cloaked Aliens Only He Can See
Measuring resistivity of dielectric liquid
Is this "being" usage is essential?
How many extra stops do monopods offer for tele photographs?
Need help understanding a power circuit (caps and diodes)
Why this way of making earth uninhabitable in Interstellar?
Which one is the true statement?
If Nick Fury and Coulson already knew about aliens (Kree and Skrull) why did they wait until Thor's appearance to start making weapons?
How to get from Geneva Airport to Metabief?
Flying from Cape Town to England and return to another province
Won the lottery - how do I keep the money?
Is micro rebar a better way to reinforce concrete than rebar?
Can MTA send mail via a relay without being told so?
If a black hole is created from light, can this black hole then move at the speed of light?
Is it my responsibility to learn a new technology in my own time my employer wants to implement?
What was the first Unix version to run on a microcomputer?
I believe this to be a fraud - hired, then asked to cash check and send cash as Bitcoin
Proper way to express "He disappeared them"
Would this house-rule that treats advantage as a +1 to the roll instead (and disadvantage as -1) and allows them to stack be balanced?
What is the value of α and β in a triangle?
How to place nodes around a circle from some initial angle?
Can we say or write : "No, it'sn't"?
A = B * C, how do I solve for B
The Next CEO of Stack OverflowHow to solve equation using inverse matrix method?Solve (or appoximate) for B in A=B*C for matrix mult with non-square matrices.Let $M$ be a non-zero $3times 3$ matrix satisfying $M^3=O$how to solve the system of a.x=b with Matrix?How to solve AX=B for some given 3x3-matrix A and 3-vector BHow would you solve this equation for “A”?How to solve for matrix inside equation?Solve Ax = b when the dimension of b does not equal the dimension of ASolving a System of Equations without a Square MatrixHow to solve $Q$ matrix from Householder QR-factorization? - Lapack
$begingroup$
$$A = B C$$
where $A$'s dimension = $n$ x $1$, $B$ 's dimension = $n$ x $n$, C 's dimension = $A$ = $n$ x $1$
I know A and C.
How do I solve for B?
Attempt: I was thinking about multiply by the inverse of C. But C is non invertiable because its dimension nx1.
Context: statweb.stanford.edu/~tibs/sta305files/Rudyregularization.pdf (page 26, I am looking to solve for the Smoother Matrix S).
matrices problem-solving matrix-equations matrix-decomposition
$endgroup$
|
show 1 more comment
$begingroup$
$$A = B C$$
where $A$'s dimension = $n$ x $1$, $B$ 's dimension = $n$ x $n$, C 's dimension = $A$ = $n$ x $1$
I know A and C.
How do I solve for B?
Attempt: I was thinking about multiply by the inverse of C. But C is non invertiable because its dimension nx1.
Context: statweb.stanford.edu/~tibs/sta305files/Rudyregularization.pdf (page 26, I am looking to solve for the Smoother Matrix S).
matrices problem-solving matrix-equations matrix-decomposition
$endgroup$
$begingroup$
There is generally not a unique solution: there will be multiple $B$'s satisfying this equation. Are you looking to find just one of them? If so, how about making $B$ diagonal, with suitable diagonal entries?
$endgroup$
– avs
Mar 27 at 18:25
$begingroup$
I am trying to find the smoother matrix as indicated here: statweb.stanford.edu/~tibs/sta305files/Rudyregularization.pdf (page 26)
$endgroup$
– wrek
Mar 27 at 18:28
$begingroup$
@avs the process you mentioned is only valid if all the entries of $C$ are non zero.
$endgroup$
– Dbchatto67
Mar 27 at 18:30
$begingroup$
@Dbchatto67, why? If $C$ has a zero entry, just make the corresponding diagonal entry in $B$ zero. $B$ only has to map the specific vector $A$ to the specific vector $C$, as I understood correctly.
$endgroup$
– avs
Mar 27 at 18:34
$begingroup$
@wrek, the context in your comment is important: you should included it in your question. Otherwise, people might give your question negative votes.
$endgroup$
– avs
Mar 27 at 18:34
|
show 1 more comment
$begingroup$
$$A = B C$$
where $A$'s dimension = $n$ x $1$, $B$ 's dimension = $n$ x $n$, C 's dimension = $A$ = $n$ x $1$
I know A and C.
How do I solve for B?
Attempt: I was thinking about multiply by the inverse of C. But C is non invertiable because its dimension nx1.
Context: statweb.stanford.edu/~tibs/sta305files/Rudyregularization.pdf (page 26, I am looking to solve for the Smoother Matrix S).
matrices problem-solving matrix-equations matrix-decomposition
$endgroup$
$$A = B C$$
where $A$'s dimension = $n$ x $1$, $B$ 's dimension = $n$ x $n$, C 's dimension = $A$ = $n$ x $1$
I know A and C.
How do I solve for B?
Attempt: I was thinking about multiply by the inverse of C. But C is non invertiable because its dimension nx1.
Context: statweb.stanford.edu/~tibs/sta305files/Rudyregularization.pdf (page 26, I am looking to solve for the Smoother Matrix S).
matrices problem-solving matrix-equations matrix-decomposition
matrices problem-solving matrix-equations matrix-decomposition
edited Mar 27 at 18:37
wrek
asked Mar 27 at 18:23
wrekwrek
124214
124214
$begingroup$
There is generally not a unique solution: there will be multiple $B$'s satisfying this equation. Are you looking to find just one of them? If so, how about making $B$ diagonal, with suitable diagonal entries?
$endgroup$
– avs
Mar 27 at 18:25
$begingroup$
I am trying to find the smoother matrix as indicated here: statweb.stanford.edu/~tibs/sta305files/Rudyregularization.pdf (page 26)
$endgroup$
– wrek
Mar 27 at 18:28
$begingroup$
@avs the process you mentioned is only valid if all the entries of $C$ are non zero.
$endgroup$
– Dbchatto67
Mar 27 at 18:30
$begingroup$
@Dbchatto67, why? If $C$ has a zero entry, just make the corresponding diagonal entry in $B$ zero. $B$ only has to map the specific vector $A$ to the specific vector $C$, as I understood correctly.
$endgroup$
– avs
Mar 27 at 18:34
$begingroup$
@wrek, the context in your comment is important: you should included it in your question. Otherwise, people might give your question negative votes.
$endgroup$
– avs
Mar 27 at 18:34
|
show 1 more comment
$begingroup$
There is generally not a unique solution: there will be multiple $B$'s satisfying this equation. Are you looking to find just one of them? If so, how about making $B$ diagonal, with suitable diagonal entries?
$endgroup$
– avs
Mar 27 at 18:25
$begingroup$
I am trying to find the smoother matrix as indicated here: statweb.stanford.edu/~tibs/sta305files/Rudyregularization.pdf (page 26)
$endgroup$
– wrek
Mar 27 at 18:28
$begingroup$
@avs the process you mentioned is only valid if all the entries of $C$ are non zero.
$endgroup$
– Dbchatto67
Mar 27 at 18:30
$begingroup$
@Dbchatto67, why? If $C$ has a zero entry, just make the corresponding diagonal entry in $B$ zero. $B$ only has to map the specific vector $A$ to the specific vector $C$, as I understood correctly.
$endgroup$
– avs
Mar 27 at 18:34
$begingroup$
@wrek, the context in your comment is important: you should included it in your question. Otherwise, people might give your question negative votes.
$endgroup$
– avs
Mar 27 at 18:34
$begingroup$
There is generally not a unique solution: there will be multiple $B$'s satisfying this equation. Are you looking to find just one of them? If so, how about making $B$ diagonal, with suitable diagonal entries?
$endgroup$
– avs
Mar 27 at 18:25
$begingroup$
There is generally not a unique solution: there will be multiple $B$'s satisfying this equation. Are you looking to find just one of them? If so, how about making $B$ diagonal, with suitable diagonal entries?
$endgroup$
– avs
Mar 27 at 18:25
$begingroup$
I am trying to find the smoother matrix as indicated here: statweb.stanford.edu/~tibs/sta305files/Rudyregularization.pdf (page 26)
$endgroup$
– wrek
Mar 27 at 18:28
$begingroup$
I am trying to find the smoother matrix as indicated here: statweb.stanford.edu/~tibs/sta305files/Rudyregularization.pdf (page 26)
$endgroup$
– wrek
Mar 27 at 18:28
$begingroup$
@avs the process you mentioned is only valid if all the entries of $C$ are non zero.
$endgroup$
– Dbchatto67
Mar 27 at 18:30
$begingroup$
@avs the process you mentioned is only valid if all the entries of $C$ are non zero.
$endgroup$
– Dbchatto67
Mar 27 at 18:30
$begingroup$
@Dbchatto67, why? If $C$ has a zero entry, just make the corresponding diagonal entry in $B$ zero. $B$ only has to map the specific vector $A$ to the specific vector $C$, as I understood correctly.
$endgroup$
– avs
Mar 27 at 18:34
$begingroup$
@Dbchatto67, why? If $C$ has a zero entry, just make the corresponding diagonal entry in $B$ zero. $B$ only has to map the specific vector $A$ to the specific vector $C$, as I understood correctly.
$endgroup$
– avs
Mar 27 at 18:34
$begingroup$
@wrek, the context in your comment is important: you should included it in your question. Otherwise, people might give your question negative votes.
$endgroup$
– avs
Mar 27 at 18:34
$begingroup$
@wrek, the context in your comment is important: you should included it in your question. Otherwise, people might give your question negative votes.
$endgroup$
– avs
Mar 27 at 18:34
|
show 1 more comment
1 Answer
1
active
oldest
votes
$begingroup$
You can't solve for a unique $B$. For example let $A=kC$, therefore$$BC=kC$$then the answer $B$ to the above equation includes all matrices that have an eigenvalue $k$ and a corresponding eigenvector $C$.
Note that if $B$ is not symmetric, then its trace is not unique. For example if$$A=C=beginbmatrix1\1endbmatrix$$and$$B=beginbmatrixa&1-a\b&1-bendbmatrix$$then the equation $A=BC$ is satisfied for any $a,bin Bbb R$, but if $B$ is symmetric, we from $A=BC$ we can write $$C^TA=C^TBC$$therefore$$tr(C^TA)=tr(C^TBC)=tr(BC^TC)=C^TCcdot tr(B)$$hence$$tr(B)=A^TCover C^TC$$where I exploited the properties of trace.
$endgroup$
$begingroup$
I am looking for the trace of $B$
$endgroup$
– wrek
Mar 27 at 18:38
$begingroup$
@wrek: I think you can always get the trace of $B$ to be $0$ (assuming $nge 2$).
$endgroup$
– Henning Makholm
Mar 27 at 18:42
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");
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%2f3164907%2fa-b-c-how-do-i-solve-for-b%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
You can't solve for a unique $B$. For example let $A=kC$, therefore$$BC=kC$$then the answer $B$ to the above equation includes all matrices that have an eigenvalue $k$ and a corresponding eigenvector $C$.
Note that if $B$ is not symmetric, then its trace is not unique. For example if$$A=C=beginbmatrix1\1endbmatrix$$and$$B=beginbmatrixa&1-a\b&1-bendbmatrix$$then the equation $A=BC$ is satisfied for any $a,bin Bbb R$, but if $B$ is symmetric, we from $A=BC$ we can write $$C^TA=C^TBC$$therefore$$tr(C^TA)=tr(C^TBC)=tr(BC^TC)=C^TCcdot tr(B)$$hence$$tr(B)=A^TCover C^TC$$where I exploited the properties of trace.
$endgroup$
$begingroup$
I am looking for the trace of $B$
$endgroup$
– wrek
Mar 27 at 18:38
$begingroup$
@wrek: I think you can always get the trace of $B$ to be $0$ (assuming $nge 2$).
$endgroup$
– Henning Makholm
Mar 27 at 18:42
add a comment |
$begingroup$
You can't solve for a unique $B$. For example let $A=kC$, therefore$$BC=kC$$then the answer $B$ to the above equation includes all matrices that have an eigenvalue $k$ and a corresponding eigenvector $C$.
Note that if $B$ is not symmetric, then its trace is not unique. For example if$$A=C=beginbmatrix1\1endbmatrix$$and$$B=beginbmatrixa&1-a\b&1-bendbmatrix$$then the equation $A=BC$ is satisfied for any $a,bin Bbb R$, but if $B$ is symmetric, we from $A=BC$ we can write $$C^TA=C^TBC$$therefore$$tr(C^TA)=tr(C^TBC)=tr(BC^TC)=C^TCcdot tr(B)$$hence$$tr(B)=A^TCover C^TC$$where I exploited the properties of trace.
$endgroup$
$begingroup$
I am looking for the trace of $B$
$endgroup$
– wrek
Mar 27 at 18:38
$begingroup$
@wrek: I think you can always get the trace of $B$ to be $0$ (assuming $nge 2$).
$endgroup$
– Henning Makholm
Mar 27 at 18:42
add a comment |
$begingroup$
You can't solve for a unique $B$. For example let $A=kC$, therefore$$BC=kC$$then the answer $B$ to the above equation includes all matrices that have an eigenvalue $k$ and a corresponding eigenvector $C$.
Note that if $B$ is not symmetric, then its trace is not unique. For example if$$A=C=beginbmatrix1\1endbmatrix$$and$$B=beginbmatrixa&1-a\b&1-bendbmatrix$$then the equation $A=BC$ is satisfied for any $a,bin Bbb R$, but if $B$ is symmetric, we from $A=BC$ we can write $$C^TA=C^TBC$$therefore$$tr(C^TA)=tr(C^TBC)=tr(BC^TC)=C^TCcdot tr(B)$$hence$$tr(B)=A^TCover C^TC$$where I exploited the properties of trace.
$endgroup$
You can't solve for a unique $B$. For example let $A=kC$, therefore$$BC=kC$$then the answer $B$ to the above equation includes all matrices that have an eigenvalue $k$ and a corresponding eigenvector $C$.
Note that if $B$ is not symmetric, then its trace is not unique. For example if$$A=C=beginbmatrix1\1endbmatrix$$and$$B=beginbmatrixa&1-a\b&1-bendbmatrix$$then the equation $A=BC$ is satisfied for any $a,bin Bbb R$, but if $B$ is symmetric, we from $A=BC$ we can write $$C^TA=C^TBC$$therefore$$tr(C^TA)=tr(C^TBC)=tr(BC^TC)=C^TCcdot tr(B)$$hence$$tr(B)=A^TCover C^TC$$where I exploited the properties of trace.
edited Mar 27 at 18:53
answered Mar 27 at 18:37
Mostafa AyazMostafa Ayaz
18.2k31040
18.2k31040
$begingroup$
I am looking for the trace of $B$
$endgroup$
– wrek
Mar 27 at 18:38
$begingroup$
@wrek: I think you can always get the trace of $B$ to be $0$ (assuming $nge 2$).
$endgroup$
– Henning Makholm
Mar 27 at 18:42
add a comment |
$begingroup$
I am looking for the trace of $B$
$endgroup$
– wrek
Mar 27 at 18:38
$begingroup$
@wrek: I think you can always get the trace of $B$ to be $0$ (assuming $nge 2$).
$endgroup$
– Henning Makholm
Mar 27 at 18:42
$begingroup$
I am looking for the trace of $B$
$endgroup$
– wrek
Mar 27 at 18:38
$begingroup$
I am looking for the trace of $B$
$endgroup$
– wrek
Mar 27 at 18:38
$begingroup$
@wrek: I think you can always get the trace of $B$ to be $0$ (assuming $nge 2$).
$endgroup$
– Henning Makholm
Mar 27 at 18:42
$begingroup$
@wrek: I think you can always get the trace of $B$ to be $0$ (assuming $nge 2$).
$endgroup$
– Henning Makholm
Mar 27 at 18:42
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%2f3164907%2fa-b-c-how-do-i-solve-for-b%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
$begingroup$
There is generally not a unique solution: there will be multiple $B$'s satisfying this equation. Are you looking to find just one of them? If so, how about making $B$ diagonal, with suitable diagonal entries?
$endgroup$
– avs
Mar 27 at 18:25
$begingroup$
I am trying to find the smoother matrix as indicated here: statweb.stanford.edu/~tibs/sta305files/Rudyregularization.pdf (page 26)
$endgroup$
– wrek
Mar 27 at 18:28
$begingroup$
@avs the process you mentioned is only valid if all the entries of $C$ are non zero.
$endgroup$
– Dbchatto67
Mar 27 at 18:30
$begingroup$
@Dbchatto67, why? If $C$ has a zero entry, just make the corresponding diagonal entry in $B$ zero. $B$ only has to map the specific vector $A$ to the specific vector $C$, as I understood correctly.
$endgroup$
– avs
Mar 27 at 18:34
$begingroup$
@wrek, the context in your comment is important: you should included it in your question. Otherwise, people might give your question negative votes.
$endgroup$
– avs
Mar 27 at 18:34