Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

PDE question

  • 08-03-2012 4:48pm
    #1
    Registered Users, Registered Users 2 Posts: 434 ✭✭


    I'm just trying to get an understanding of answering PDEs, so wanted to ask what you thought of my answer to this question.

    The one-dimensional wave equation is given by the first equation shown in this link;

    http://mathworld.wolfram.com/WaveEquation1-Dimensional.html

    where Ψ = f(x, t)

    Is f(x, t) = cos(x-vt) + (x-vt) a possible solution?


    ∂^2 f/∂x^2 = -cos(x-vt)

    and

    ∂^2 f/∂t^2 = c^2 cos(x-ct)

    So, since -cos(x-vt) ≠ cos(x-vt) I assume this is not a solution.


Comments

  • Registered Users, Registered Users 2 Posts: 233 ✭✭Iderown


    There is a very wide range of solutions for the 1-D wave equation. Any expression of the form f(x - nt) + g(x + nt) is a solution. Obviously, not all are waves.
    The further requirement for a wavelike solution is to choose initial/boundary conditions which are appropriate to a wavelike solution.


  • Registered Users, Registered Users 2 Posts: 434 ✭✭Smythe


    Thanks Iderown.

    So do you mean I am correct that f(x, t) = cos(x-vt) + (x-vt) is not a solution?


  • Registered Users, Registered Users 2 Posts: 233 ✭✭Iderown


    It is a solution. Just not a fully wavelike solution. The h(x,t) = x - vt part is not wavelike. You can easily check that this h(x,t) satisfies the wave equation.
    The wave equation is linear - that means that sums of solutions are also solutions. The initial/boundary conditions are an important feature in the solution of partial differential equations.


  • Moderators, Science, Health & Environment Moderators Posts: 1,852 Mod ✭✭✭✭Michael Collins


    Smythe wrote: »
    ...
    ∂^2 f/∂t^2 = v^2 cos(x-vt) [edited to replace 'c' with 'v' like other equations]

    So, since -cos(x-vt) ≠ cos(x-vt) I assume this is not a solution.

    There's a minus missing here for the second derivative with respect to time. You obviously know the chain rule since you realised that the 'v' must come outside the cos( ) function, so it was probably just a sign slip up.

    So you should have

    [latex] \displaystyle \frac{\partial^2 \psi}{\partial t^2} = \frac{\partial}{\partial t} \Big(-\sin(x-vt)\cdot(-v)\Big) = \frac{\partial}{\partial t} \Big(v\sin(x-vt)\Big) = v\cos(x-vt)\cdot(-v)=-v^2\cos(x-vt)[/latex]

    which when divided by [latex] v^2 [/latex] then will equal the second derivative with respect to x.

    What Iderown says is quite useful too, and in fact it's easy to show that any function of the form

    [latex] \displaystyle f(x - vt) + g(x + vt) [/latex]

    is a solution. Specifically

    [latex] \displaystyle \frac{\partial^2}{\partial t^2} \Big(f(x - vt) + g(x + vt)\Big)=f''(x-vt)\cdot(-v)\cdot(-v)+g''(x+vt)\cdot(v)\cdot(v) = v^2f''(x-vt) + v^2g''(x+vt)[/latex]

    and the left hand side is

    [latex] \displaystyle \frac{\partial^2}{\partial x^2} \Big(f(x - vt) + g(x + vt)\Big)=f''(x-vt)+g''(x+vt).[/latex]

    Dividing the first result above by [latex] v^2 [/latex], according to the 1-D wave equation, gives the last result above. So any function of the given form must be a solution (provided all the relevent derivatives exist, of course). Also as Iderown says, initial and boundary conditions must be met for a particular solution to a given problem.


  • Registered Users, Registered Users 2 Posts: 434 ✭✭Smythe


    There's a minus missing here for the second derivative with respect to time. You obviously know the chain rule since you realised that the 'v' must come outside the cos( ) function, so it was probably just a sign slip up.
    Thanks. Don't know how I made that mistake.



    What Iderown says is quite useful too, and in fact it's easy to show that any function of the form

    [latex] \displaystyle f(x - vt) + g(x + vt) [/latex]

    is a solution. Specifically

    [latex] \displaystyle \frac{\partial^2}{\partial t^2} \Big(f(x - vt) + g(x + vt)\Big)=f''(x-vt)\cdot(-v)\cdot(-v)+g''(x+vt)\cdot(v)\cdot(v) = v^2f''(x-vt) + v^2g''(x+vt)[/latex]

    and the left hand side is

    [latex] \displaystyle \frac{\partial^2}{\partial x^2} \Big(f(x - vt) + g(x + vt)\Big)=f''(x-vt)+g''(x+vt).[/latex]

    Dividing the first result above by [latex] v^2 [/latex], according to the 1-D wave equation, gives the last result above. So any function of the given form must be a solution (provided all the relevent derivatives exist, of course). Also as Iderown says, initial and boundary conditions must be met for a particular solution to a given problem.

    That's interesting. Thank you for that.


  • Advertisement
Advertisement