How to Analytically Solve this PDE?How to solve this PDE?Coordinate method for solving first order linear PDESolving a PDE: basic first-order hyperbolic equation $u_t = -u_x$PDE/ODE question, nonhomogeneousHow to solve this linear hyperbolic PDE analytically?How to solve this Quasi-linear PDE?Question on PDE concepts (Introductory course)A way of solving this PDE? (Other than method of characteristics)When solving PDE, why this ansatz?How can you solve this PDE analytically?

Should an arbiter claim draw at a K+R vs K+R endgame?

What's the largest optical telescope mirror ever put in space?

If you had a giant cutting disc 60 miles diameter and rotated it 1000 rps, would the edge be traveling faster than light?

Taxi Services at Didcot

How would a aircraft visually signal "in distress"?

Russian equivalents of "no love lost"

Were Alexander the Great and Hephaestion lovers?

What can plausibly explain many of my very long and low-tech bridges?

Are there downsides to using std::string as a buffer?

Is the term 'open source' a trademark?

Why is one of Madera Municipal's runways labelled with only "R" on both sides?

How to Analytically Solve this PDE?

Payment instructions allegedly from HomeAway look fishy to me

GMRES vs Newton-GMRES for Solving nonlinear PDE's

Do any instruments not produce overtones?

Was there a priest on the Titanic who stayed on the ship giving confession to as many as he could?

Trapping Rain Water

Why would future John risk sending back a T-800 to save his younger self?

Is using haveibeenpwned to validate password strength rational?

What risks are there when you clear your cookies instead of logging off?

Should I compare a std::string to "string" or "string"s?

At what point in time did Dumbledore ask Snape for this favor?

How to retract an idea already pitched to an employer?

Can a black dragonborn's acid breath weapon destroy objects?



How to Analytically Solve this PDE?


How to solve this PDE?Coordinate method for solving first order linear PDESolving a PDE: basic first-order hyperbolic equation $u_t = -u_x$PDE/ODE question, nonhomogeneousHow to solve this linear hyperbolic PDE analytically?How to solve this Quasi-linear PDE?Question on PDE concepts (Introductory course)A way of solving this PDE? (Other than method of characteristics)When solving PDE, why this ansatz?How can you solve this PDE analytically?













3












$begingroup$


Thanks for looking at my question. I'm working through/self-studying the second edition of Partial Differential Equations: An Introduction by Walter A. Strauss.



On page three, example two, he says



"Solve the PDE $u_xx + u = 0$. Again, its really an ODE with an extra variable y. We know how to solve the ODE, so the solution is $u = f(y)cos(x) + g(y)sin(x)$, where again $f(y)$ and $g(y)$ are two arbitrary functions of $y$. You can easily check this formula by differentiating twice to verify that $u_xx = -u$."



What I don't understand is how he gets $u = f(y)cos(x) + g(y)sin(x)$.



He says it's basically just an ODE with an extra variable y, but I'm not quite seeing that. I was able to understand Example 1 before it and Example 3 after it, and I can sort of see that this PDE is similar to the ODE form $y'' + y = 0$, but it's just been a hot minute since I've solved an ODE like this. I see it's homogenous, and one could use the method of integrating factors for it, but since this is a PDE I'm not sure how to solve this. My initial guess of $C_1e^r_1t + C_2e^r_2t$ didn't work, so I'm not sure how they got what they got for $u$. I get that when you integrate with respect to $x$ the constant you get is a function of $y$, but that's all I understand about this problem. Could someone show me how Walter got his solution for $u$, please? Thanks.










share|cite|improve this question











$endgroup$











  • $begingroup$
    You're usually given boundary conditions.
    $endgroup$
    – Shogun
    7 hours ago















3












$begingroup$


Thanks for looking at my question. I'm working through/self-studying the second edition of Partial Differential Equations: An Introduction by Walter A. Strauss.



On page three, example two, he says



"Solve the PDE $u_xx + u = 0$. Again, its really an ODE with an extra variable y. We know how to solve the ODE, so the solution is $u = f(y)cos(x) + g(y)sin(x)$, where again $f(y)$ and $g(y)$ are two arbitrary functions of $y$. You can easily check this formula by differentiating twice to verify that $u_xx = -u$."



What I don't understand is how he gets $u = f(y)cos(x) + g(y)sin(x)$.



He says it's basically just an ODE with an extra variable y, but I'm not quite seeing that. I was able to understand Example 1 before it and Example 3 after it, and I can sort of see that this PDE is similar to the ODE form $y'' + y = 0$, but it's just been a hot minute since I've solved an ODE like this. I see it's homogenous, and one could use the method of integrating factors for it, but since this is a PDE I'm not sure how to solve this. My initial guess of $C_1e^r_1t + C_2e^r_2t$ didn't work, so I'm not sure how they got what they got for $u$. I get that when you integrate with respect to $x$ the constant you get is a function of $y$, but that's all I understand about this problem. Could someone show me how Walter got his solution for $u$, please? Thanks.










share|cite|improve this question











$endgroup$











  • $begingroup$
    You're usually given boundary conditions.
    $endgroup$
    – Shogun
    7 hours ago













3












3








3


2



$begingroup$


Thanks for looking at my question. I'm working through/self-studying the second edition of Partial Differential Equations: An Introduction by Walter A. Strauss.



On page three, example two, he says



"Solve the PDE $u_xx + u = 0$. Again, its really an ODE with an extra variable y. We know how to solve the ODE, so the solution is $u = f(y)cos(x) + g(y)sin(x)$, where again $f(y)$ and $g(y)$ are two arbitrary functions of $y$. You can easily check this formula by differentiating twice to verify that $u_xx = -u$."



What I don't understand is how he gets $u = f(y)cos(x) + g(y)sin(x)$.



He says it's basically just an ODE with an extra variable y, but I'm not quite seeing that. I was able to understand Example 1 before it and Example 3 after it, and I can sort of see that this PDE is similar to the ODE form $y'' + y = 0$, but it's just been a hot minute since I've solved an ODE like this. I see it's homogenous, and one could use the method of integrating factors for it, but since this is a PDE I'm not sure how to solve this. My initial guess of $C_1e^r_1t + C_2e^r_2t$ didn't work, so I'm not sure how they got what they got for $u$. I get that when you integrate with respect to $x$ the constant you get is a function of $y$, but that's all I understand about this problem. Could someone show me how Walter got his solution for $u$, please? Thanks.










share|cite|improve this question











$endgroup$




Thanks for looking at my question. I'm working through/self-studying the second edition of Partial Differential Equations: An Introduction by Walter A. Strauss.



On page three, example two, he says



"Solve the PDE $u_xx + u = 0$. Again, its really an ODE with an extra variable y. We know how to solve the ODE, so the solution is $u = f(y)cos(x) + g(y)sin(x)$, where again $f(y)$ and $g(y)$ are two arbitrary functions of $y$. You can easily check this formula by differentiating twice to verify that $u_xx = -u$."



What I don't understand is how he gets $u = f(y)cos(x) + g(y)sin(x)$.



He says it's basically just an ODE with an extra variable y, but I'm not quite seeing that. I was able to understand Example 1 before it and Example 3 after it, and I can sort of see that this PDE is similar to the ODE form $y'' + y = 0$, but it's just been a hot minute since I've solved an ODE like this. I see it's homogenous, and one could use the method of integrating factors for it, but since this is a PDE I'm not sure how to solve this. My initial guess of $C_1e^r_1t + C_2e^r_2t$ didn't work, so I'm not sure how they got what they got for $u$. I get that when you integrate with respect to $x$ the constant you get is a function of $y$, but that's all I understand about this problem. Could someone show me how Walter got his solution for $u$, please? Thanks.







ordinary-differential-equations pde






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited 10 hours ago







Matthew Graham

















asked 10 hours ago









Matthew GrahamMatthew Graham

19112




19112











  • $begingroup$
    You're usually given boundary conditions.
    $endgroup$
    – Shogun
    7 hours ago
















  • $begingroup$
    You're usually given boundary conditions.
    $endgroup$
    – Shogun
    7 hours ago















$begingroup$
You're usually given boundary conditions.
$endgroup$
– Shogun
7 hours ago




$begingroup$
You're usually given boundary conditions.
$endgroup$
– Shogun
7 hours ago










3 Answers
3






active

oldest

votes


















3












$begingroup$

We want to solve $fracpartial^2partial x^2 u(x,y)+u(x,y)=0.$ As you said, we can solve this like an ODE. Let us consider a guess $u(x,y)=c(y)e^rx.$ We make $c$ depend on $y$ because $c(y)$ is still constant in $x$, which is the variable that we're differentiating in. Plugging in such a guess, we get the characteristic equation
$$r^2+1=0,$$ which has imaginary roots at $pm i$, which yields the solution
$$u(x,y)=c(y)cos x+b(y)sin x.$$ So, the mistakes in your interpretation were that your guess should depend on $y$ and that your guess was a perfectly valid one, but you must consider complex roots here.






share|cite|improve this answer











$endgroup$












  • $begingroup$
    Thanks for the answer, it is definitely helpful and nicely written. This is a dumb question, but I get where the $r^2$ comes from, but why do you keep the $r$ term? Shouldn't that correspond to the first derivative of a function? Something like $y'' + y' = 0$? Why is it not some constant term, like $a$? Wait, would it correspond to $1$ which creates the complex roots $+i$ and $-i$ which is where the solution comes from? Is that it?
    $endgroup$
    – Matthew Graham
    10 hours ago










  • $begingroup$
    I made a typo, fixed!
    $endgroup$
    – cmk
    10 hours ago










  • $begingroup$
    Ah, I see it now, yeah, makes sense now. Is there a way to solve for $c(y)$ and $b(y)$ or would we need initial conditions for those? I was just thinking of Euler's formula which looks similar to the solution here.
    $endgroup$
    – Matthew Graham
    10 hours ago










  • $begingroup$
    You're correct, we need (boundary) condition to find our coefficients. As for Euler's formula, this is what allows us to get from our solution $c(y)e^rx$, with $r$ imaginary, to solutions of the form of $sin x$ and $cos x$.
    $endgroup$
    – cmk
    10 hours ago


















4












$begingroup$

Fix an arbitrary value for $y$, say $y_0$. Then let $f(x) =u(x,y_0)$. You can immediately see that $f''+f=0$. This is very common ODE and most people just know that $sin$ and $cos$ are solutions, but if you're unhappy with that you can get there with $exp(omega x)$ solutions and some algebra.



Now we know that $f(x) = A sin(x) + B cos(x)$ for an arbitrary $y_0$. The only thing that can change when we change $y_0$ are the values of constants $A,B$.



This finally leads to conclusion $u(x,y) = A(y)sin(x) + B(y)cos(x)$ and the $A,B$ now functions of $y$ are determined by boundary conditions.






share|cite|improve this answer









$endgroup$












  • $begingroup$
    Thanks for the answer. I can see it now.
    $endgroup$
    – Matthew Graham
    10 hours ago


















3












$begingroup$

There are a few facts that are always treated as "obvious" in ODEs (because, presumably, you've been thinking about them non-stop since Calc I):



  • The derivative of a constant (with respect to any independent variable) is zero.

  • The derivative of a polynomial (with respect to its variable) reduces the degree by one.

  • The derivative of $f(x) = mathrme^kx$ with respect to $x$ is a constant multiple of $f$. (Precisely, $dfracmathrmdmathrmdx mathrme^kx = k mathrme^kx$.)

  • The second derivatives of $g(x) = sin kx$ and $h(x) = cos kx$ with respect to $x$ are constant multiples of $g$ and $h$, respectively. (Precisely, $dfracmathrmd^2mathrmdx^2 sin kx = -k^2 sin x$, and similarly for cosine.) Additionally, odd order derivatives of $g$ and $h$ swap them.

So, when you see "the second derivative of $y$ is the negative of $y$", you should be thinking "sine and cosine" pretty much immediately.



The bullet point about sine and cosine can be rolled into the one about exponentials, so you could have gotten there with your characteristic equation method, but you need to recall what exponentiation does to complex numbers. In particular, you recall $mathrme^mathrmix = cos x + mathrmi sin x$. So what would happen with your characteristic equation is, from
$$ y'' + y = 0 $$
you have the characteristic equation
$$ x^2 + 1 = 0 text. $$
Then the characteristic roots are $pm mathrmi$, so the solutions (with arbitrary constants $c_1$ and $c_2$) are $c_1 mathrme^mathrmi x$ and $c_2 mathrme^-mathrmi x$. These are sines and cosines in disguise: beginalign*
mathrme^mathrmi x &= cos x + mathrmi sin x \
mathrme^-mathrmi x &= cos x - mathrmi sin x text.
endalign*






share|cite|improve this answer









$endgroup$












  • $begingroup$
    Ahh, yes, thanks for the answer. I appreciate the thoroughness and how well written it is. Yeah, those facts are definitely at play here. It all makes sense now though.
    $endgroup$
    – Matthew Graham
    10 hours ago











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



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3249846%2fhow-to-analytically-solve-this-pde%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























3 Answers
3






active

oldest

votes








3 Answers
3






active

oldest

votes









active

oldest

votes






active

oldest

votes









3












$begingroup$

We want to solve $fracpartial^2partial x^2 u(x,y)+u(x,y)=0.$ As you said, we can solve this like an ODE. Let us consider a guess $u(x,y)=c(y)e^rx.$ We make $c$ depend on $y$ because $c(y)$ is still constant in $x$, which is the variable that we're differentiating in. Plugging in such a guess, we get the characteristic equation
$$r^2+1=0,$$ which has imaginary roots at $pm i$, which yields the solution
$$u(x,y)=c(y)cos x+b(y)sin x.$$ So, the mistakes in your interpretation were that your guess should depend on $y$ and that your guess was a perfectly valid one, but you must consider complex roots here.






share|cite|improve this answer











$endgroup$












  • $begingroup$
    Thanks for the answer, it is definitely helpful and nicely written. This is a dumb question, but I get where the $r^2$ comes from, but why do you keep the $r$ term? Shouldn't that correspond to the first derivative of a function? Something like $y'' + y' = 0$? Why is it not some constant term, like $a$? Wait, would it correspond to $1$ which creates the complex roots $+i$ and $-i$ which is where the solution comes from? Is that it?
    $endgroup$
    – Matthew Graham
    10 hours ago










  • $begingroup$
    I made a typo, fixed!
    $endgroup$
    – cmk
    10 hours ago










  • $begingroup$
    Ah, I see it now, yeah, makes sense now. Is there a way to solve for $c(y)$ and $b(y)$ or would we need initial conditions for those? I was just thinking of Euler's formula which looks similar to the solution here.
    $endgroup$
    – Matthew Graham
    10 hours ago










  • $begingroup$
    You're correct, we need (boundary) condition to find our coefficients. As for Euler's formula, this is what allows us to get from our solution $c(y)e^rx$, with $r$ imaginary, to solutions of the form of $sin x$ and $cos x$.
    $endgroup$
    – cmk
    10 hours ago















3












$begingroup$

We want to solve $fracpartial^2partial x^2 u(x,y)+u(x,y)=0.$ As you said, we can solve this like an ODE. Let us consider a guess $u(x,y)=c(y)e^rx.$ We make $c$ depend on $y$ because $c(y)$ is still constant in $x$, which is the variable that we're differentiating in. Plugging in such a guess, we get the characteristic equation
$$r^2+1=0,$$ which has imaginary roots at $pm i$, which yields the solution
$$u(x,y)=c(y)cos x+b(y)sin x.$$ So, the mistakes in your interpretation were that your guess should depend on $y$ and that your guess was a perfectly valid one, but you must consider complex roots here.






share|cite|improve this answer











$endgroup$












  • $begingroup$
    Thanks for the answer, it is definitely helpful and nicely written. This is a dumb question, but I get where the $r^2$ comes from, but why do you keep the $r$ term? Shouldn't that correspond to the first derivative of a function? Something like $y'' + y' = 0$? Why is it not some constant term, like $a$? Wait, would it correspond to $1$ which creates the complex roots $+i$ and $-i$ which is where the solution comes from? Is that it?
    $endgroup$
    – Matthew Graham
    10 hours ago










  • $begingroup$
    I made a typo, fixed!
    $endgroup$
    – cmk
    10 hours ago










  • $begingroup$
    Ah, I see it now, yeah, makes sense now. Is there a way to solve for $c(y)$ and $b(y)$ or would we need initial conditions for those? I was just thinking of Euler's formula which looks similar to the solution here.
    $endgroup$
    – Matthew Graham
    10 hours ago










  • $begingroup$
    You're correct, we need (boundary) condition to find our coefficients. As for Euler's formula, this is what allows us to get from our solution $c(y)e^rx$, with $r$ imaginary, to solutions of the form of $sin x$ and $cos x$.
    $endgroup$
    – cmk
    10 hours ago













3












3








3





$begingroup$

We want to solve $fracpartial^2partial x^2 u(x,y)+u(x,y)=0.$ As you said, we can solve this like an ODE. Let us consider a guess $u(x,y)=c(y)e^rx.$ We make $c$ depend on $y$ because $c(y)$ is still constant in $x$, which is the variable that we're differentiating in. Plugging in such a guess, we get the characteristic equation
$$r^2+1=0,$$ which has imaginary roots at $pm i$, which yields the solution
$$u(x,y)=c(y)cos x+b(y)sin x.$$ So, the mistakes in your interpretation were that your guess should depend on $y$ and that your guess was a perfectly valid one, but you must consider complex roots here.






share|cite|improve this answer











$endgroup$



We want to solve $fracpartial^2partial x^2 u(x,y)+u(x,y)=0.$ As you said, we can solve this like an ODE. Let us consider a guess $u(x,y)=c(y)e^rx.$ We make $c$ depend on $y$ because $c(y)$ is still constant in $x$, which is the variable that we're differentiating in. Plugging in such a guess, we get the characteristic equation
$$r^2+1=0,$$ which has imaginary roots at $pm i$, which yields the solution
$$u(x,y)=c(y)cos x+b(y)sin x.$$ So, the mistakes in your interpretation were that your guess should depend on $y$ and that your guess was a perfectly valid one, but you must consider complex roots here.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited 10 hours ago

























answered 10 hours ago









cmkcmk

1,482214




1,482214











  • $begingroup$
    Thanks for the answer, it is definitely helpful and nicely written. This is a dumb question, but I get where the $r^2$ comes from, but why do you keep the $r$ term? Shouldn't that correspond to the first derivative of a function? Something like $y'' + y' = 0$? Why is it not some constant term, like $a$? Wait, would it correspond to $1$ which creates the complex roots $+i$ and $-i$ which is where the solution comes from? Is that it?
    $endgroup$
    – Matthew Graham
    10 hours ago










  • $begingroup$
    I made a typo, fixed!
    $endgroup$
    – cmk
    10 hours ago










  • $begingroup$
    Ah, I see it now, yeah, makes sense now. Is there a way to solve for $c(y)$ and $b(y)$ or would we need initial conditions for those? I was just thinking of Euler's formula which looks similar to the solution here.
    $endgroup$
    – Matthew Graham
    10 hours ago










  • $begingroup$
    You're correct, we need (boundary) condition to find our coefficients. As for Euler's formula, this is what allows us to get from our solution $c(y)e^rx$, with $r$ imaginary, to solutions of the form of $sin x$ and $cos x$.
    $endgroup$
    – cmk
    10 hours ago
















  • $begingroup$
    Thanks for the answer, it is definitely helpful and nicely written. This is a dumb question, but I get where the $r^2$ comes from, but why do you keep the $r$ term? Shouldn't that correspond to the first derivative of a function? Something like $y'' + y' = 0$? Why is it not some constant term, like $a$? Wait, would it correspond to $1$ which creates the complex roots $+i$ and $-i$ which is where the solution comes from? Is that it?
    $endgroup$
    – Matthew Graham
    10 hours ago










  • $begingroup$
    I made a typo, fixed!
    $endgroup$
    – cmk
    10 hours ago










  • $begingroup$
    Ah, I see it now, yeah, makes sense now. Is there a way to solve for $c(y)$ and $b(y)$ or would we need initial conditions for those? I was just thinking of Euler's formula which looks similar to the solution here.
    $endgroup$
    – Matthew Graham
    10 hours ago










  • $begingroup$
    You're correct, we need (boundary) condition to find our coefficients. As for Euler's formula, this is what allows us to get from our solution $c(y)e^rx$, with $r$ imaginary, to solutions of the form of $sin x$ and $cos x$.
    $endgroup$
    – cmk
    10 hours ago















$begingroup$
Thanks for the answer, it is definitely helpful and nicely written. This is a dumb question, but I get where the $r^2$ comes from, but why do you keep the $r$ term? Shouldn't that correspond to the first derivative of a function? Something like $y'' + y' = 0$? Why is it not some constant term, like $a$? Wait, would it correspond to $1$ which creates the complex roots $+i$ and $-i$ which is where the solution comes from? Is that it?
$endgroup$
– Matthew Graham
10 hours ago




$begingroup$
Thanks for the answer, it is definitely helpful and nicely written. This is a dumb question, but I get where the $r^2$ comes from, but why do you keep the $r$ term? Shouldn't that correspond to the first derivative of a function? Something like $y'' + y' = 0$? Why is it not some constant term, like $a$? Wait, would it correspond to $1$ which creates the complex roots $+i$ and $-i$ which is where the solution comes from? Is that it?
$endgroup$
– Matthew Graham
10 hours ago












$begingroup$
I made a typo, fixed!
$endgroup$
– cmk
10 hours ago




$begingroup$
I made a typo, fixed!
$endgroup$
– cmk
10 hours ago












$begingroup$
Ah, I see it now, yeah, makes sense now. Is there a way to solve for $c(y)$ and $b(y)$ or would we need initial conditions for those? I was just thinking of Euler's formula which looks similar to the solution here.
$endgroup$
– Matthew Graham
10 hours ago




$begingroup$
Ah, I see it now, yeah, makes sense now. Is there a way to solve for $c(y)$ and $b(y)$ or would we need initial conditions for those? I was just thinking of Euler's formula which looks similar to the solution here.
$endgroup$
– Matthew Graham
10 hours ago












$begingroup$
You're correct, we need (boundary) condition to find our coefficients. As for Euler's formula, this is what allows us to get from our solution $c(y)e^rx$, with $r$ imaginary, to solutions of the form of $sin x$ and $cos x$.
$endgroup$
– cmk
10 hours ago




$begingroup$
You're correct, we need (boundary) condition to find our coefficients. As for Euler's formula, this is what allows us to get from our solution $c(y)e^rx$, with $r$ imaginary, to solutions of the form of $sin x$ and $cos x$.
$endgroup$
– cmk
10 hours ago











4












$begingroup$

Fix an arbitrary value for $y$, say $y_0$. Then let $f(x) =u(x,y_0)$. You can immediately see that $f''+f=0$. This is very common ODE and most people just know that $sin$ and $cos$ are solutions, but if you're unhappy with that you can get there with $exp(omega x)$ solutions and some algebra.



Now we know that $f(x) = A sin(x) + B cos(x)$ for an arbitrary $y_0$. The only thing that can change when we change $y_0$ are the values of constants $A,B$.



This finally leads to conclusion $u(x,y) = A(y)sin(x) + B(y)cos(x)$ and the $A,B$ now functions of $y$ are determined by boundary conditions.






share|cite|improve this answer









$endgroup$












  • $begingroup$
    Thanks for the answer. I can see it now.
    $endgroup$
    – Matthew Graham
    10 hours ago















4












$begingroup$

Fix an arbitrary value for $y$, say $y_0$. Then let $f(x) =u(x,y_0)$. You can immediately see that $f''+f=0$. This is very common ODE and most people just know that $sin$ and $cos$ are solutions, but if you're unhappy with that you can get there with $exp(omega x)$ solutions and some algebra.



Now we know that $f(x) = A sin(x) + B cos(x)$ for an arbitrary $y_0$. The only thing that can change when we change $y_0$ are the values of constants $A,B$.



This finally leads to conclusion $u(x,y) = A(y)sin(x) + B(y)cos(x)$ and the $A,B$ now functions of $y$ are determined by boundary conditions.






share|cite|improve this answer









$endgroup$












  • $begingroup$
    Thanks for the answer. I can see it now.
    $endgroup$
    – Matthew Graham
    10 hours ago













4












4








4





$begingroup$

Fix an arbitrary value for $y$, say $y_0$. Then let $f(x) =u(x,y_0)$. You can immediately see that $f''+f=0$. This is very common ODE and most people just know that $sin$ and $cos$ are solutions, but if you're unhappy with that you can get there with $exp(omega x)$ solutions and some algebra.



Now we know that $f(x) = A sin(x) + B cos(x)$ for an arbitrary $y_0$. The only thing that can change when we change $y_0$ are the values of constants $A,B$.



This finally leads to conclusion $u(x,y) = A(y)sin(x) + B(y)cos(x)$ and the $A,B$ now functions of $y$ are determined by boundary conditions.






share|cite|improve this answer









$endgroup$



Fix an arbitrary value for $y$, say $y_0$. Then let $f(x) =u(x,y_0)$. You can immediately see that $f''+f=0$. This is very common ODE and most people just know that $sin$ and $cos$ are solutions, but if you're unhappy with that you can get there with $exp(omega x)$ solutions and some algebra.



Now we know that $f(x) = A sin(x) + B cos(x)$ for an arbitrary $y_0$. The only thing that can change when we change $y_0$ are the values of constants $A,B$.



This finally leads to conclusion $u(x,y) = A(y)sin(x) + B(y)cos(x)$ and the $A,B$ now functions of $y$ are determined by boundary conditions.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered 10 hours ago









RadostRadost

1,24916




1,24916











  • $begingroup$
    Thanks for the answer. I can see it now.
    $endgroup$
    – Matthew Graham
    10 hours ago
















  • $begingroup$
    Thanks for the answer. I can see it now.
    $endgroup$
    – Matthew Graham
    10 hours ago















$begingroup$
Thanks for the answer. I can see it now.
$endgroup$
– Matthew Graham
10 hours ago




$begingroup$
Thanks for the answer. I can see it now.
$endgroup$
– Matthew Graham
10 hours ago











3












$begingroup$

There are a few facts that are always treated as "obvious" in ODEs (because, presumably, you've been thinking about them non-stop since Calc I):



  • The derivative of a constant (with respect to any independent variable) is zero.

  • The derivative of a polynomial (with respect to its variable) reduces the degree by one.

  • The derivative of $f(x) = mathrme^kx$ with respect to $x$ is a constant multiple of $f$. (Precisely, $dfracmathrmdmathrmdx mathrme^kx = k mathrme^kx$.)

  • The second derivatives of $g(x) = sin kx$ and $h(x) = cos kx$ with respect to $x$ are constant multiples of $g$ and $h$, respectively. (Precisely, $dfracmathrmd^2mathrmdx^2 sin kx = -k^2 sin x$, and similarly for cosine.) Additionally, odd order derivatives of $g$ and $h$ swap them.

So, when you see "the second derivative of $y$ is the negative of $y$", you should be thinking "sine and cosine" pretty much immediately.



The bullet point about sine and cosine can be rolled into the one about exponentials, so you could have gotten there with your characteristic equation method, but you need to recall what exponentiation does to complex numbers. In particular, you recall $mathrme^mathrmix = cos x + mathrmi sin x$. So what would happen with your characteristic equation is, from
$$ y'' + y = 0 $$
you have the characteristic equation
$$ x^2 + 1 = 0 text. $$
Then the characteristic roots are $pm mathrmi$, so the solutions (with arbitrary constants $c_1$ and $c_2$) are $c_1 mathrme^mathrmi x$ and $c_2 mathrme^-mathrmi x$. These are sines and cosines in disguise: beginalign*
mathrme^mathrmi x &= cos x + mathrmi sin x \
mathrme^-mathrmi x &= cos x - mathrmi sin x text.
endalign*






share|cite|improve this answer









$endgroup$












  • $begingroup$
    Ahh, yes, thanks for the answer. I appreciate the thoroughness and how well written it is. Yeah, those facts are definitely at play here. It all makes sense now though.
    $endgroup$
    – Matthew Graham
    10 hours ago















3












$begingroup$

There are a few facts that are always treated as "obvious" in ODEs (because, presumably, you've been thinking about them non-stop since Calc I):



  • The derivative of a constant (with respect to any independent variable) is zero.

  • The derivative of a polynomial (with respect to its variable) reduces the degree by one.

  • The derivative of $f(x) = mathrme^kx$ with respect to $x$ is a constant multiple of $f$. (Precisely, $dfracmathrmdmathrmdx mathrme^kx = k mathrme^kx$.)

  • The second derivatives of $g(x) = sin kx$ and $h(x) = cos kx$ with respect to $x$ are constant multiples of $g$ and $h$, respectively. (Precisely, $dfracmathrmd^2mathrmdx^2 sin kx = -k^2 sin x$, and similarly for cosine.) Additionally, odd order derivatives of $g$ and $h$ swap them.

So, when you see "the second derivative of $y$ is the negative of $y$", you should be thinking "sine and cosine" pretty much immediately.



The bullet point about sine and cosine can be rolled into the one about exponentials, so you could have gotten there with your characteristic equation method, but you need to recall what exponentiation does to complex numbers. In particular, you recall $mathrme^mathrmix = cos x + mathrmi sin x$. So what would happen with your characteristic equation is, from
$$ y'' + y = 0 $$
you have the characteristic equation
$$ x^2 + 1 = 0 text. $$
Then the characteristic roots are $pm mathrmi$, so the solutions (with arbitrary constants $c_1$ and $c_2$) are $c_1 mathrme^mathrmi x$ and $c_2 mathrme^-mathrmi x$. These are sines and cosines in disguise: beginalign*
mathrme^mathrmi x &= cos x + mathrmi sin x \
mathrme^-mathrmi x &= cos x - mathrmi sin x text.
endalign*






share|cite|improve this answer









$endgroup$












  • $begingroup$
    Ahh, yes, thanks for the answer. I appreciate the thoroughness and how well written it is. Yeah, those facts are definitely at play here. It all makes sense now though.
    $endgroup$
    – Matthew Graham
    10 hours ago













3












3








3





$begingroup$

There are a few facts that are always treated as "obvious" in ODEs (because, presumably, you've been thinking about them non-stop since Calc I):



  • The derivative of a constant (with respect to any independent variable) is zero.

  • The derivative of a polynomial (with respect to its variable) reduces the degree by one.

  • The derivative of $f(x) = mathrme^kx$ with respect to $x$ is a constant multiple of $f$. (Precisely, $dfracmathrmdmathrmdx mathrme^kx = k mathrme^kx$.)

  • The second derivatives of $g(x) = sin kx$ and $h(x) = cos kx$ with respect to $x$ are constant multiples of $g$ and $h$, respectively. (Precisely, $dfracmathrmd^2mathrmdx^2 sin kx = -k^2 sin x$, and similarly for cosine.) Additionally, odd order derivatives of $g$ and $h$ swap them.

So, when you see "the second derivative of $y$ is the negative of $y$", you should be thinking "sine and cosine" pretty much immediately.



The bullet point about sine and cosine can be rolled into the one about exponentials, so you could have gotten there with your characteristic equation method, but you need to recall what exponentiation does to complex numbers. In particular, you recall $mathrme^mathrmix = cos x + mathrmi sin x$. So what would happen with your characteristic equation is, from
$$ y'' + y = 0 $$
you have the characteristic equation
$$ x^2 + 1 = 0 text. $$
Then the characteristic roots are $pm mathrmi$, so the solutions (with arbitrary constants $c_1$ and $c_2$) are $c_1 mathrme^mathrmi x$ and $c_2 mathrme^-mathrmi x$. These are sines and cosines in disguise: beginalign*
mathrme^mathrmi x &= cos x + mathrmi sin x \
mathrme^-mathrmi x &= cos x - mathrmi sin x text.
endalign*






share|cite|improve this answer









$endgroup$



There are a few facts that are always treated as "obvious" in ODEs (because, presumably, you've been thinking about them non-stop since Calc I):



  • The derivative of a constant (with respect to any independent variable) is zero.

  • The derivative of a polynomial (with respect to its variable) reduces the degree by one.

  • The derivative of $f(x) = mathrme^kx$ with respect to $x$ is a constant multiple of $f$. (Precisely, $dfracmathrmdmathrmdx mathrme^kx = k mathrme^kx$.)

  • The second derivatives of $g(x) = sin kx$ and $h(x) = cos kx$ with respect to $x$ are constant multiples of $g$ and $h$, respectively. (Precisely, $dfracmathrmd^2mathrmdx^2 sin kx = -k^2 sin x$, and similarly for cosine.) Additionally, odd order derivatives of $g$ and $h$ swap them.

So, when you see "the second derivative of $y$ is the negative of $y$", you should be thinking "sine and cosine" pretty much immediately.



The bullet point about sine and cosine can be rolled into the one about exponentials, so you could have gotten there with your characteristic equation method, but you need to recall what exponentiation does to complex numbers. In particular, you recall $mathrme^mathrmix = cos x + mathrmi sin x$. So what would happen with your characteristic equation is, from
$$ y'' + y = 0 $$
you have the characteristic equation
$$ x^2 + 1 = 0 text. $$
Then the characteristic roots are $pm mathrmi$, so the solutions (with arbitrary constants $c_1$ and $c_2$) are $c_1 mathrme^mathrmi x$ and $c_2 mathrme^-mathrmi x$. These are sines and cosines in disguise: beginalign*
mathrme^mathrmi x &= cos x + mathrmi sin x \
mathrme^-mathrmi x &= cos x - mathrmi sin x text.
endalign*







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered 10 hours ago









Eric TowersEric Towers

34.5k22371




34.5k22371











  • $begingroup$
    Ahh, yes, thanks for the answer. I appreciate the thoroughness and how well written it is. Yeah, those facts are definitely at play here. It all makes sense now though.
    $endgroup$
    – Matthew Graham
    10 hours ago
















  • $begingroup$
    Ahh, yes, thanks for the answer. I appreciate the thoroughness and how well written it is. Yeah, those facts are definitely at play here. It all makes sense now though.
    $endgroup$
    – Matthew Graham
    10 hours ago















$begingroup$
Ahh, yes, thanks for the answer. I appreciate the thoroughness and how well written it is. Yeah, those facts are definitely at play here. It all makes sense now though.
$endgroup$
– Matthew Graham
10 hours ago




$begingroup$
Ahh, yes, thanks for the answer. I appreciate the thoroughness and how well written it is. Yeah, those facts are definitely at play here. It all makes sense now though.
$endgroup$
– Matthew Graham
10 hours ago

















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%2f3249846%2fhow-to-analytically-solve-this-pde%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

Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

Tom Holland Mục lục Đầu đời và giáo dục | Sự nghiệp | Cuộc sống cá nhân | Phim tham gia | Giải thưởng và đề cử | Chú thích | Liên kết ngoài | Trình đơn chuyển hướngProfile“Person Details for Thomas Stanley Holland, "England and Wales Birth Registration Index, 1837-2008" — FamilySearch.org”"Meet Tom Holland... the 16-year-old star of The Impossible""Schoolboy actor Tom Holland finds himself in Oscar contention for role in tsunami drama"“Naomi Watts on the Prince William and Harry's reaction to her film about the late Princess Diana”lưu trữ"Holland and Pflueger Are West End's Two New 'Billy Elliots'""I'm so envious of my son, the movie star! British writer Dominic Holland's spent 20 years trying to crack Hollywood - but he's been beaten to it by a very unlikely rival"“Richard and Margaret Povey of Jersey, Channel Islands, UK: Information about Thomas Stanley Holland”"Tom Holland to play Billy Elliot""New Billy Elliot leaving the garage"Billy Elliot the Musical - Tom Holland - Billy"A Tale of four Billys: Tom Holland""The Feel Good Factor""Thames Christian College schoolboys join Myleene Klass for The Feelgood Factor""Government launches £600,000 arts bursaries pilot""BILLY's Chapman, Holland, Gardner & Jackson-Keen Visit Prime Minister""Elton John 'blown away' by Billy Elliot fifth birthday" (video with John's interview and fragments of Holland's performance)"First News interviews Arrietty's Tom Holland"“33rd Critics' Circle Film Awards winners”“National Board of Review Current Awards”Bản gốc"Ron Howard Whaling Tale 'In The Heart Of The Sea' Casts Tom Holland"“'Spider-Man' Finds Tom Holland to Star as New Web-Slinger”lưu trữ“Captain America: Civil War (2016)”“Film Review: ‘Captain America: Civil War’”lưu trữ“‘Captain America: Civil War’ review: Choose your own avenger”lưu trữ“The Lost City of Z reviews”“Sony Pictures and Marvel Studios Find Their 'Spider-Man' Star and Director”“‘Mary Magdalene’, ‘Current War’ & ‘Wind River’ Get 2017 Release Dates From Weinstein”“Lionsgate Unleashing Daisy Ridley & Tom Holland Starrer ‘Chaos Walking’ In Cannes”“PTA's 'Master' Leads Chicago Film Critics Nominations, UPDATED: Houston and Indiana Critics Nominations”“Nominaciones Goya 2013 Telecinco Cinema – ENG”“Jameson Empire Film Awards: Martin Freeman wins best actor for performance in The Hobbit”“34th Annual Young Artist Awards”Bản gốc“Teen Choice Awards 2016—Captain America: Civil War Leads Second Wave of Nominations”“BAFTA Film Award Nominations: ‘La La Land’ Leads Race”“Saturn Awards Nominations 2017: 'Rogue One,' 'Walking Dead' Lead”Tom HollandTom HollandTom HollandTom Hollandmedia.gettyimages.comWorldCat Identities300279794no20130442900000 0004 0355 42791085670554170004732cb16706349t(data)XX5557367