# Trying to get this PDE in terms of 'y'

by jaketodd
Tags: terms
 HW Helper P: 1,585 So if I asked you to find y when: $$\frac{dy}{dx}+2xy=x$$ Could you tell me how to calculate y? Solving PDEs such as this is straightforward, if you have the right experience. It looks to me as if you're jumping way ahead of your experience. I would humbly suggest that you start with how to solve the equation I gave you before you start on the wave equation. On an aside, I would also suggest you look how to solve 1st order partial differential equations before you look into 2nd order PDEs.
PF Gold
P: 298
 Quote by hunt_mat So if I asked you to find y when: $$\frac{dy}{dx}+2xy=x$$ Could you tell me how to calculate y? Solving PDEs such as this is straightforward, if you have the right experience. It looks to me as if you're jumping way ahead of your experience. I would humbly suggest that you start with how to solve the equation I gave you before you start on the wave equation. On an aside, I would also suggest you look how to solve 1st order partial differential equations before you look into 2nd order PDEs.
Well you see, that's the whole reason I am coming to physics forums; I don't have the experience to figure it out on my own.
 HW Helper P: 1,585 My advice would be to get a book on differential equations, and start reading it. If you get stuck on some concepts then by all means ask and we will help you.
 PF Gold P: 298 I wish someone could just show me the steps involved... I'll transfer $50 with Paypal to the first person who does this for me; anyone who provides the steps of solving for y from the original post with all variables definable (for example, no unsolvable constants). It's for a physics paper I'm working on; I don't need to understand all the mathematical concepts, I just need the equation solved for y please. Jake  PF Gold P: 298 Please help guys; it's for a physics paper and I really don't need to understand all the math.  P: 737 The arbitrary constants are arbitrary. That means the equation is true no matter their value. Think about what taking a derivative does to a constant, it's like that. For example, if y'=k, where k is constant, then y=kx+C, where C is an arbitrary constant. As you can see, no matter what C is, since it is constant, it just "goes away," and the derivative of kx+C is k, which is what we wanted. So, what I'm saying is, the arbitrary constants are just that. You can't solve for them, because they're true for all real numbers ie, they're arbitrary.  PF Gold P: 298 I see what Tyler means. So those equations in earlier posts - are they enough to solve for y? Could someone put it all together for me?$50 on the line.
PF Gold
P: 298
A lot of thought went into this. I don't know if it's right, but it's the best I can do right now...

Do I put these:

 Quote by TylerH $$X(x)=C_1e^2+C_2e^-x$$ $$T(t)=C_3e^{vt}+C_4e^{-vt}$$
BTW: shouldn't the first line be: $$X(x)=C_1e^x+C_2e^{-x}$$

Into these:

 Quote by hunt_mat $$X''(x)-kX(x)=0,\quad T''(t)-\nu^{2}kT(t)=0$$
Then, solve for X(x) and T(t), and then multiply them together?

How do the C's go away? And how do I solve for k?

Thanks,

Jake
 P: 737 Yes. It should be e-x No. The equations you quoted from me are the solutions to those you quoted from hunt_mat. To get y, you multiply X(x) and T(t), like I did in the third equation in my post you quoted. The C's don't go away. They're part of the answer. You CAN'T get the answer in terms of ONLY the original variables. They HAVE to be there.
PF Gold
P: 298
 Quote by TylerH Yes. It should be e-x No. The equations you quoted from me are the solutions to those you quoted from hunt_mat. To get y, you multiply X(x) and T(t), like I did in the third equation in my post you quoted. The C's don't go away. They're part of the answer. You CAN'T get the answer in terms of ONLY the original variables. They HAVE to be there.
Mkay...

Is there a way of solving for the C's? I can define all the variables when y = 0. However, would that make all the C's zero if there is a time, t, when y = 0?

Thanks,

Jake
 HW Helper P: 1,585 The two solutions of the differential equations should be: $$X(x)=Ae^{x\sqrt{k}}+Be^{-x\sqrt{k}},\quad T(t)=Ce^{\nu t\sqrt{k}}+De^{-\nu t\sqrt{k}}$$ So the solution for y becomes: $$y=(Ae^{x\sqrt{k}}+Be^{-x\sqrt{k}})(Ce^{\nu t\sqrt{k}}+De^{-\nu t\sqrt{k}})$$ But there are two things you need to consider, the sign of k, as this will decide what sort of solutions you will get (do you want oscillatory solutions ($k=-\lambda^{2}$), then there is the fact that the equation is linear and you can just add solutions together to find a new solution, so if y_1 and y_2 solve your equation then so does y_3=y_1+y_2 (exercise). So the next thing you require is initial and boundary conditions.
 PF Gold P: 298 So for oscillatory solutions with k=-lambda^2, wouldn't that produce imaginary numbers? Thanks, Jake
 HW Helper P: 1,585 Go back to the original equations: $$X''(x)+\lambda^{2}X(x)=0,\quad T''(t)+\lambda^{2}T(t)=0$$ What are the solutions to these equations?
 Math Emeritus Sci Advisor Thanks PF Gold P: 38,895 An nth order ordinary differential equation always involves n unknown constants. An nth order partial differential equation always involves n unknown functions. I pretty much told you before that the general solution to that differential equation is y= F(x- vt)+ G(x+ vt) where F and G are arbitrary, twice differentiable, functions. The simple fact is that you are trying to do a problem that is far beyond your knowledge. If you do not know how to solve basic ordinary differential equations, no one is going to be able to tell you how to solve partial differential equations in a few sentences.
P: 341
I agree with Ivy. Everyone here is trying to help you (the OP) solve the problem, but it's your inexperience that's stopping you from understanding the solution process. PDEs are fairly difficult to solve a lot of the time even for people with a fair amount of math under their belt. I do appreciate your bravado in tackling the wave equation and applaud your desire to extend your mathematical prowess, however I think you should spend a bit more time learning the fundamentals.

 It's for a physics paper I'm working on; I don't need to understand all the mathematical concepts, I just need the equation solved for y please.
About this, you can't just expect to post a problem and get a detailed solution back. It doesn't work that way. IMHO, the forums are really an aid to your own problem solving. If you're looking for the other kind of problem solving, try http://www.wolframalpha.com/.

 Related Discussions General Discussion 7 Calculus & Beyond Homework 2 Quantum Physics 0 Advanced Physics Homework 8 Precalculus Mathematics Homework 4