How to draw phase diagram of this hamiltonian?
$begingroup$
I am learning how to plot gradient and Hamiltonian systems. The system is thus.
$$
left{begin{array}{l}
x' = −sin^2 xsin y\
y' = −2 sin x cos x cos y.
end{array}right.
$$
I know that because this is a Hamiltonian system, the phase diagram is just the level sets of the Hamiltonian, the problem is, I'm not sure how to find the actual Hamiltonian. Integrating the x and y prime expressions in terms of x and y respectively don't seem to give me something that makes much sense.
ordinary-differential-equations
$endgroup$
add a comment |
$begingroup$
I am learning how to plot gradient and Hamiltonian systems. The system is thus.
$$
left{begin{array}{l}
x' = −sin^2 xsin y\
y' = −2 sin x cos x cos y.
end{array}right.
$$
I know that because this is a Hamiltonian system, the phase diagram is just the level sets of the Hamiltonian, the problem is, I'm not sure how to find the actual Hamiltonian. Integrating the x and y prime expressions in terms of x and y respectively don't seem to give me something that makes much sense.
ordinary-differential-equations
$endgroup$
add a comment |
$begingroup$
I am learning how to plot gradient and Hamiltonian systems. The system is thus.
$$
left{begin{array}{l}
x' = −sin^2 xsin y\
y' = −2 sin x cos x cos y.
end{array}right.
$$
I know that because this is a Hamiltonian system, the phase diagram is just the level sets of the Hamiltonian, the problem is, I'm not sure how to find the actual Hamiltonian. Integrating the x and y prime expressions in terms of x and y respectively don't seem to give me something that makes much sense.
ordinary-differential-equations
$endgroup$
I am learning how to plot gradient and Hamiltonian systems. The system is thus.
$$
left{begin{array}{l}
x' = −sin^2 xsin y\
y' = −2 sin x cos x cos y.
end{array}right.
$$
I know that because this is a Hamiltonian system, the phase diagram is just the level sets of the Hamiltonian, the problem is, I'm not sure how to find the actual Hamiltonian. Integrating the x and y prime expressions in terms of x and y respectively don't seem to give me something that makes much sense.
ordinary-differential-equations
ordinary-differential-equations
edited Dec 5 '18 at 3:42
AVK
2,0961517
2,0961517
asked Dec 5 '18 at 2:39
MathGuyForLifeMathGuyForLife
1007
1007
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
A Hamiltonian system is
$$
x'=-frac{partial H}{partial y},quad y'=frac{partial H}{partial x},
$$
thus, you need to integrate $x'$ with respect to $y$ or $y'$ with respect to $x$:
$$
H(x,y)=-int (-sin^2 xsin y),dy=-sin^2xsin y+c(x).$$
In order to obtain $c(x)$, we can differentiate $H(x,y)$:
$$
H_x= -2sin xcos xsin y+c'(x).
$$
Hence, $c'(x)=0$ and, if we take $c=0$, $H(x,y)=-sin^2xsin y$.
$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%2f3026521%2fhow-to-draw-phase-diagram-of-this-hamiltonian%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$
A Hamiltonian system is
$$
x'=-frac{partial H}{partial y},quad y'=frac{partial H}{partial x},
$$
thus, you need to integrate $x'$ with respect to $y$ or $y'$ with respect to $x$:
$$
H(x,y)=-int (-sin^2 xsin y),dy=-sin^2xsin y+c(x).$$
In order to obtain $c(x)$, we can differentiate $H(x,y)$:
$$
H_x= -2sin xcos xsin y+c'(x).
$$
Hence, $c'(x)=0$ and, if we take $c=0$, $H(x,y)=-sin^2xsin y$.
$endgroup$
add a comment |
$begingroup$
A Hamiltonian system is
$$
x'=-frac{partial H}{partial y},quad y'=frac{partial H}{partial x},
$$
thus, you need to integrate $x'$ with respect to $y$ or $y'$ with respect to $x$:
$$
H(x,y)=-int (-sin^2 xsin y),dy=-sin^2xsin y+c(x).$$
In order to obtain $c(x)$, we can differentiate $H(x,y)$:
$$
H_x= -2sin xcos xsin y+c'(x).
$$
Hence, $c'(x)=0$ and, if we take $c=0$, $H(x,y)=-sin^2xsin y$.
$endgroup$
add a comment |
$begingroup$
A Hamiltonian system is
$$
x'=-frac{partial H}{partial y},quad y'=frac{partial H}{partial x},
$$
thus, you need to integrate $x'$ with respect to $y$ or $y'$ with respect to $x$:
$$
H(x,y)=-int (-sin^2 xsin y),dy=-sin^2xsin y+c(x).$$
In order to obtain $c(x)$, we can differentiate $H(x,y)$:
$$
H_x= -2sin xcos xsin y+c'(x).
$$
Hence, $c'(x)=0$ and, if we take $c=0$, $H(x,y)=-sin^2xsin y$.
$endgroup$
A Hamiltonian system is
$$
x'=-frac{partial H}{partial y},quad y'=frac{partial H}{partial x},
$$
thus, you need to integrate $x'$ with respect to $y$ or $y'$ with respect to $x$:
$$
H(x,y)=-int (-sin^2 xsin y),dy=-sin^2xsin y+c(x).$$
In order to obtain $c(x)$, we can differentiate $H(x,y)$:
$$
H_x= -2sin xcos xsin y+c'(x).
$$
Hence, $c'(x)=0$ and, if we take $c=0$, $H(x,y)=-sin^2xsin y$.
answered Dec 5 '18 at 3:15
AVKAVK
2,0961517
2,0961517
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%2f3026521%2fhow-to-draw-phase-diagram-of-this-hamiltonian%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