Calculating the jacobian matrix for a time-dependent system












0












$begingroup$


For testing purposes I would like to calculate the Jacobian matrix of the time-dependent heat equation, i.e.
$$partial_tu=nabla^2u+f$$
As far as I understood, the Jacobian can be calculated using
$$F(u)=partial_tu-nabla^2u-f$$
and (with $delta u$ a small step)
$$begin{split}F'(u)(delta u)&=limlimits_{hrightarrow0}frac{F(u+hdelta u)-F(u)}{h}\
&=limlimits_{hrightarrow0}frac{partial_t(u+hdelta u)-nabla^2(u+hdelta u)-f-partial_tu+nabla^2u+f}{h}\
&=limlimits_{hrightarrow0}frac{hpartial_t(delta u)-hnabla^2(delta u)}{h}\
&=partial_t(delta u)-nabla^2(delta u)forall hneq0end{split}$$

That result can be rewritten into
$$F'(u)(delta u)=frac{delta u_1-delta u_0}{dt}-nabla^2(delta u)$$
Is that correct? If yes, what would $delta u_1$ and $delta u_0$ be? Or is there a mistake in the last step?










share|cite|improve this question









$endgroup$












  • $begingroup$
    Why do you have $delta u_0$? The first term should be $partial_t(delta u)$.
    $endgroup$
    – xpaul
    Jan 31 at 17:10












  • $begingroup$
    I intended to use the approximation $partial_tu=frac{u_1-u_0}{dt}$, if that is possible here?
    $endgroup$
    – arc_lupus
    Jan 31 at 17:12










  • $begingroup$
    If you want, you can write it as $frac{partial delta u}{partial t}$. What are meanings of $u_1$ and $u_0$?
    $endgroup$
    – xpaul
    Jan 31 at 17:20












  • $begingroup$
    When comparing it to the usual approach for time-dependent systems, $u_1$ is the new solution, and $u_0$ the old/current solution. But I do not know if that applies here, too.
    $endgroup$
    – arc_lupus
    Jan 31 at 17:23










  • $begingroup$
    What are the old/current solutions? I doubt that they can be used here.
    $endgroup$
    – xpaul
    Jan 31 at 17:33


















0












$begingroup$


For testing purposes I would like to calculate the Jacobian matrix of the time-dependent heat equation, i.e.
$$partial_tu=nabla^2u+f$$
As far as I understood, the Jacobian can be calculated using
$$F(u)=partial_tu-nabla^2u-f$$
and (with $delta u$ a small step)
$$begin{split}F'(u)(delta u)&=limlimits_{hrightarrow0}frac{F(u+hdelta u)-F(u)}{h}\
&=limlimits_{hrightarrow0}frac{partial_t(u+hdelta u)-nabla^2(u+hdelta u)-f-partial_tu+nabla^2u+f}{h}\
&=limlimits_{hrightarrow0}frac{hpartial_t(delta u)-hnabla^2(delta u)}{h}\
&=partial_t(delta u)-nabla^2(delta u)forall hneq0end{split}$$

That result can be rewritten into
$$F'(u)(delta u)=frac{delta u_1-delta u_0}{dt}-nabla^2(delta u)$$
Is that correct? If yes, what would $delta u_1$ and $delta u_0$ be? Or is there a mistake in the last step?










share|cite|improve this question









$endgroup$












  • $begingroup$
    Why do you have $delta u_0$? The first term should be $partial_t(delta u)$.
    $endgroup$
    – xpaul
    Jan 31 at 17:10












  • $begingroup$
    I intended to use the approximation $partial_tu=frac{u_1-u_0}{dt}$, if that is possible here?
    $endgroup$
    – arc_lupus
    Jan 31 at 17:12










  • $begingroup$
    If you want, you can write it as $frac{partial delta u}{partial t}$. What are meanings of $u_1$ and $u_0$?
    $endgroup$
    – xpaul
    Jan 31 at 17:20












  • $begingroup$
    When comparing it to the usual approach for time-dependent systems, $u_1$ is the new solution, and $u_0$ the old/current solution. But I do not know if that applies here, too.
    $endgroup$
    – arc_lupus
    Jan 31 at 17:23










  • $begingroup$
    What are the old/current solutions? I doubt that they can be used here.
    $endgroup$
    – xpaul
    Jan 31 at 17:33
















0












0








0





$begingroup$


For testing purposes I would like to calculate the Jacobian matrix of the time-dependent heat equation, i.e.
$$partial_tu=nabla^2u+f$$
As far as I understood, the Jacobian can be calculated using
$$F(u)=partial_tu-nabla^2u-f$$
and (with $delta u$ a small step)
$$begin{split}F'(u)(delta u)&=limlimits_{hrightarrow0}frac{F(u+hdelta u)-F(u)}{h}\
&=limlimits_{hrightarrow0}frac{partial_t(u+hdelta u)-nabla^2(u+hdelta u)-f-partial_tu+nabla^2u+f}{h}\
&=limlimits_{hrightarrow0}frac{hpartial_t(delta u)-hnabla^2(delta u)}{h}\
&=partial_t(delta u)-nabla^2(delta u)forall hneq0end{split}$$

That result can be rewritten into
$$F'(u)(delta u)=frac{delta u_1-delta u_0}{dt}-nabla^2(delta u)$$
Is that correct? If yes, what would $delta u_1$ and $delta u_0$ be? Or is there a mistake in the last step?










share|cite|improve this question









$endgroup$




For testing purposes I would like to calculate the Jacobian matrix of the time-dependent heat equation, i.e.
$$partial_tu=nabla^2u+f$$
As far as I understood, the Jacobian can be calculated using
$$F(u)=partial_tu-nabla^2u-f$$
and (with $delta u$ a small step)
$$begin{split}F'(u)(delta u)&=limlimits_{hrightarrow0}frac{F(u+hdelta u)-F(u)}{h}\
&=limlimits_{hrightarrow0}frac{partial_t(u+hdelta u)-nabla^2(u+hdelta u)-f-partial_tu+nabla^2u+f}{h}\
&=limlimits_{hrightarrow0}frac{hpartial_t(delta u)-hnabla^2(delta u)}{h}\
&=partial_t(delta u)-nabla^2(delta u)forall hneq0end{split}$$

That result can be rewritten into
$$F'(u)(delta u)=frac{delta u_1-delta u_0}{dt}-nabla^2(delta u)$$
Is that correct? If yes, what would $delta u_1$ and $delta u_0$ be? Or is there a mistake in the last step?







numerical-methods jacobian






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Jan 31 at 16:55









arc_lupusarc_lupus

232218




232218












  • $begingroup$
    Why do you have $delta u_0$? The first term should be $partial_t(delta u)$.
    $endgroup$
    – xpaul
    Jan 31 at 17:10












  • $begingroup$
    I intended to use the approximation $partial_tu=frac{u_1-u_0}{dt}$, if that is possible here?
    $endgroup$
    – arc_lupus
    Jan 31 at 17:12










  • $begingroup$
    If you want, you can write it as $frac{partial delta u}{partial t}$. What are meanings of $u_1$ and $u_0$?
    $endgroup$
    – xpaul
    Jan 31 at 17:20












  • $begingroup$
    When comparing it to the usual approach for time-dependent systems, $u_1$ is the new solution, and $u_0$ the old/current solution. But I do not know if that applies here, too.
    $endgroup$
    – arc_lupus
    Jan 31 at 17:23










  • $begingroup$
    What are the old/current solutions? I doubt that they can be used here.
    $endgroup$
    – xpaul
    Jan 31 at 17:33




















  • $begingroup$
    Why do you have $delta u_0$? The first term should be $partial_t(delta u)$.
    $endgroup$
    – xpaul
    Jan 31 at 17:10












  • $begingroup$
    I intended to use the approximation $partial_tu=frac{u_1-u_0}{dt}$, if that is possible here?
    $endgroup$
    – arc_lupus
    Jan 31 at 17:12










  • $begingroup$
    If you want, you can write it as $frac{partial delta u}{partial t}$. What are meanings of $u_1$ and $u_0$?
    $endgroup$
    – xpaul
    Jan 31 at 17:20












  • $begingroup$
    When comparing it to the usual approach for time-dependent systems, $u_1$ is the new solution, and $u_0$ the old/current solution. But I do not know if that applies here, too.
    $endgroup$
    – arc_lupus
    Jan 31 at 17:23










  • $begingroup$
    What are the old/current solutions? I doubt that they can be used here.
    $endgroup$
    – xpaul
    Jan 31 at 17:33


















$begingroup$
Why do you have $delta u_0$? The first term should be $partial_t(delta u)$.
$endgroup$
– xpaul
Jan 31 at 17:10






$begingroup$
Why do you have $delta u_0$? The first term should be $partial_t(delta u)$.
$endgroup$
– xpaul
Jan 31 at 17:10














$begingroup$
I intended to use the approximation $partial_tu=frac{u_1-u_0}{dt}$, if that is possible here?
$endgroup$
– arc_lupus
Jan 31 at 17:12




$begingroup$
I intended to use the approximation $partial_tu=frac{u_1-u_0}{dt}$, if that is possible here?
$endgroup$
– arc_lupus
Jan 31 at 17:12












$begingroup$
If you want, you can write it as $frac{partial delta u}{partial t}$. What are meanings of $u_1$ and $u_0$?
$endgroup$
– xpaul
Jan 31 at 17:20






$begingroup$
If you want, you can write it as $frac{partial delta u}{partial t}$. What are meanings of $u_1$ and $u_0$?
$endgroup$
– xpaul
Jan 31 at 17:20














$begingroup$
When comparing it to the usual approach for time-dependent systems, $u_1$ is the new solution, and $u_0$ the old/current solution. But I do not know if that applies here, too.
$endgroup$
– arc_lupus
Jan 31 at 17:23




$begingroup$
When comparing it to the usual approach for time-dependent systems, $u_1$ is the new solution, and $u_0$ the old/current solution. But I do not know if that applies here, too.
$endgroup$
– arc_lupus
Jan 31 at 17:23












$begingroup$
What are the old/current solutions? I doubt that they can be used here.
$endgroup$
– xpaul
Jan 31 at 17:33






$begingroup$
What are the old/current solutions? I doubt that they can be used here.
$endgroup$
– xpaul
Jan 31 at 17:33












0






active

oldest

votes












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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3095143%2fcalculating-the-jacobian-matrix-for-a-time-dependent-system%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3095143%2fcalculating-the-jacobian-matrix-for-a-time-dependent-system%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

MongoDB - Not Authorized To Execute Command

How to fix TextFormField cause rebuild widget in Flutter

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith