Trouble solving for the Jacobian update formula in Broyden's method
$begingroup$
I'm having trouble understanding how to update this formula (it's Broyden's method in multiple dimensions) by solving the following equations:
$$A^{(m)}(x^{(m)}-x^{(m-1)}) = f(x^{(m)})-f(x^{(m-1)})$$ and
$$A^{(m)}v=A^{(m-1)}v,$$ where $A^{(m)}$ is a matrix, $x^{(m)}$ is the $m^{th}$ iteration, and for all vectors v orthogonal to $(x^{(m)}-x^{(m-1)})$.
These two equations should lead to $$A^{(m)}=$$ $$A^{(m-1)} + frac{f(x^{(m)})-f(x^{(m-1)})-A^{(m-1)}(x^{(m)}-x^{(m-1)})}{(x^{(m)}-x^{(m-1)})^T(x^{(m)}-x^{(m-1)})}(x^{(m)}-x^{(m-1)})^T$$.
How does one find the last equation?
numerical-methods numerical-linear-algebra
$endgroup$
add a comment |
$begingroup$
I'm having trouble understanding how to update this formula (it's Broyden's method in multiple dimensions) by solving the following equations:
$$A^{(m)}(x^{(m)}-x^{(m-1)}) = f(x^{(m)})-f(x^{(m-1)})$$ and
$$A^{(m)}v=A^{(m-1)}v,$$ where $A^{(m)}$ is a matrix, $x^{(m)}$ is the $m^{th}$ iteration, and for all vectors v orthogonal to $(x^{(m)}-x^{(m-1)})$.
These two equations should lead to $$A^{(m)}=$$ $$A^{(m-1)} + frac{f(x^{(m)})-f(x^{(m-1)})-A^{(m-1)}(x^{(m)}-x^{(m-1)})}{(x^{(m)}-x^{(m-1)})^T(x^{(m)}-x^{(m-1)})}(x^{(m)}-x^{(m-1)})^T$$.
How does one find the last equation?
numerical-methods numerical-linear-algebra
$endgroup$
add a comment |
$begingroup$
I'm having trouble understanding how to update this formula (it's Broyden's method in multiple dimensions) by solving the following equations:
$$A^{(m)}(x^{(m)}-x^{(m-1)}) = f(x^{(m)})-f(x^{(m-1)})$$ and
$$A^{(m)}v=A^{(m-1)}v,$$ where $A^{(m)}$ is a matrix, $x^{(m)}$ is the $m^{th}$ iteration, and for all vectors v orthogonal to $(x^{(m)}-x^{(m-1)})$.
These two equations should lead to $$A^{(m)}=$$ $$A^{(m-1)} + frac{f(x^{(m)})-f(x^{(m-1)})-A^{(m-1)}(x^{(m)}-x^{(m-1)})}{(x^{(m)}-x^{(m-1)})^T(x^{(m)}-x^{(m-1)})}(x^{(m)}-x^{(m-1)})^T$$.
How does one find the last equation?
numerical-methods numerical-linear-algebra
$endgroup$
I'm having trouble understanding how to update this formula (it's Broyden's method in multiple dimensions) by solving the following equations:
$$A^{(m)}(x^{(m)}-x^{(m-1)}) = f(x^{(m)})-f(x^{(m-1)})$$ and
$$A^{(m)}v=A^{(m-1)}v,$$ where $A^{(m)}$ is a matrix, $x^{(m)}$ is the $m^{th}$ iteration, and for all vectors v orthogonal to $(x^{(m)}-x^{(m-1)})$.
These two equations should lead to $$A^{(m)}=$$ $$A^{(m-1)} + frac{f(x^{(m)})-f(x^{(m-1)})-A^{(m-1)}(x^{(m)}-x^{(m-1)})}{(x^{(m)}-x^{(m-1)})^T(x^{(m)}-x^{(m-1)})}(x^{(m)}-x^{(m-1)})^T$$.
How does one find the last equation?
numerical-methods numerical-linear-algebra
numerical-methods numerical-linear-algebra
edited Dec 13 '18 at 15:46
platypus17
asked Dec 13 '18 at 14:56
platypus17platypus17
296
296
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
You want $A_{+1}s=d$ while $A_{+1}v=Av$ for $vperp s$. The second condition means that $A_{+1}$ is a rank-one update of $A$,
$$
A_{+1}=A+ws^top.
$$
Now insert this into the first condition
$$
d=A_{+1}s=As+ws^top simplies w = frac{d-As}{s^top s}.
$$
The orthogonality comes from the minimization in the Frobenius norm, $A_{+1}$ is there the closest matrix to $A$ such that the first condition holds. As Lagrange function this gives (using the notation $A:B={rm trace}(AB^T)$)
begin{align}
L(X,w)&=frac12|X-A|_F^2-w^top(Xs-d)
\
&=frac12(X-A):(X-A)-(ws^top):X+w^top d
\
&=frac12|X-A-ws^top|^2-(ws^top):A-frac12(w^top s)_F^2+w^top d
end{align}
with the stationarity condition
$$
0=(X-A)-ws^top
$$
which implies the invariance on the space orthogonal to $s$.
$endgroup$
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%2f3038114%2ftrouble-solving-for-the-jacobian-update-formula-in-broydens-method%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 want $A_{+1}s=d$ while $A_{+1}v=Av$ for $vperp s$. The second condition means that $A_{+1}$ is a rank-one update of $A$,
$$
A_{+1}=A+ws^top.
$$
Now insert this into the first condition
$$
d=A_{+1}s=As+ws^top simplies w = frac{d-As}{s^top s}.
$$
The orthogonality comes from the minimization in the Frobenius norm, $A_{+1}$ is there the closest matrix to $A$ such that the first condition holds. As Lagrange function this gives (using the notation $A:B={rm trace}(AB^T)$)
begin{align}
L(X,w)&=frac12|X-A|_F^2-w^top(Xs-d)
\
&=frac12(X-A):(X-A)-(ws^top):X+w^top d
\
&=frac12|X-A-ws^top|^2-(ws^top):A-frac12(w^top s)_F^2+w^top d
end{align}
with the stationarity condition
$$
0=(X-A)-ws^top
$$
which implies the invariance on the space orthogonal to $s$.
$endgroup$
add a comment |
$begingroup$
You want $A_{+1}s=d$ while $A_{+1}v=Av$ for $vperp s$. The second condition means that $A_{+1}$ is a rank-one update of $A$,
$$
A_{+1}=A+ws^top.
$$
Now insert this into the first condition
$$
d=A_{+1}s=As+ws^top simplies w = frac{d-As}{s^top s}.
$$
The orthogonality comes from the minimization in the Frobenius norm, $A_{+1}$ is there the closest matrix to $A$ such that the first condition holds. As Lagrange function this gives (using the notation $A:B={rm trace}(AB^T)$)
begin{align}
L(X,w)&=frac12|X-A|_F^2-w^top(Xs-d)
\
&=frac12(X-A):(X-A)-(ws^top):X+w^top d
\
&=frac12|X-A-ws^top|^2-(ws^top):A-frac12(w^top s)_F^2+w^top d
end{align}
with the stationarity condition
$$
0=(X-A)-ws^top
$$
which implies the invariance on the space orthogonal to $s$.
$endgroup$
add a comment |
$begingroup$
You want $A_{+1}s=d$ while $A_{+1}v=Av$ for $vperp s$. The second condition means that $A_{+1}$ is a rank-one update of $A$,
$$
A_{+1}=A+ws^top.
$$
Now insert this into the first condition
$$
d=A_{+1}s=As+ws^top simplies w = frac{d-As}{s^top s}.
$$
The orthogonality comes from the minimization in the Frobenius norm, $A_{+1}$ is there the closest matrix to $A$ such that the first condition holds. As Lagrange function this gives (using the notation $A:B={rm trace}(AB^T)$)
begin{align}
L(X,w)&=frac12|X-A|_F^2-w^top(Xs-d)
\
&=frac12(X-A):(X-A)-(ws^top):X+w^top d
\
&=frac12|X-A-ws^top|^2-(ws^top):A-frac12(w^top s)_F^2+w^top d
end{align}
with the stationarity condition
$$
0=(X-A)-ws^top
$$
which implies the invariance on the space orthogonal to $s$.
$endgroup$
You want $A_{+1}s=d$ while $A_{+1}v=Av$ for $vperp s$. The second condition means that $A_{+1}$ is a rank-one update of $A$,
$$
A_{+1}=A+ws^top.
$$
Now insert this into the first condition
$$
d=A_{+1}s=As+ws^top simplies w = frac{d-As}{s^top s}.
$$
The orthogonality comes from the minimization in the Frobenius norm, $A_{+1}$ is there the closest matrix to $A$ such that the first condition holds. As Lagrange function this gives (using the notation $A:B={rm trace}(AB^T)$)
begin{align}
L(X,w)&=frac12|X-A|_F^2-w^top(Xs-d)
\
&=frac12(X-A):(X-A)-(ws^top):X+w^top d
\
&=frac12|X-A-ws^top|^2-(ws^top):A-frac12(w^top s)_F^2+w^top d
end{align}
with the stationarity condition
$$
0=(X-A)-ws^top
$$
which implies the invariance on the space orthogonal to $s$.
edited Dec 13 '18 at 22:47
answered Dec 13 '18 at 22:34
LutzLLutzL
59.1k42056
59.1k42056
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%2f3038114%2ftrouble-solving-for-the-jacobian-update-formula-in-broydens-method%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