1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Solve the integral of differential equation

  1. Feb 6, 2013 #1
    1. The problem statement, all variables and given/known data

    Solve the integral of differential equation

    ∫[itex]^{t}_{0}[/itex] y([itex]\tau[/itex]) d[itex]\tau[/itex] -[itex]\acute{y}[/itex] (t) = t

    for t≥0 with y(0)=4

    3. The attempt at a solution

    take laplace both sides

    [itex]\frac{Y}{s}[/itex] - sY + 4 = [itex]\frac{1}{s^{2}}[/itex]

    Y [itex]\frac{1 - s^{2}}{s}[/itex] =[itex]\frac{1}{s^{2}}[/itex] - 4

    Y [itex]\frac{s^{2}-1}{s}[/itex] =- [itex]\frac{1}{s^{2}}[/itex] + 4

    Y = - [itex]\frac{1}{s(s^{2}-1)}[/itex] + [itex]\frac{4s}{s^{2}-1}[/itex]

    Partial fraction - [itex]\frac{1}{s(s^{2}-1)}[/itex]

    [itex]\frac{1}{s}[/itex] -[itex]\frac{s}{s^{2}-1}[/itex] +[itex]\frac{4s}{s^{2}-1}[/itex]

    inverse laplace transform

    1-cos(t)+4cos(t) = > 1+3cos(t)

    but the answer is 1+[itex]\frac{3}{2}[/itex] (e[itex]^{t}[/itex] + e[itex]^{-t}[/itex])

    Please check my solution

    Thank you
  2. jcsd
  3. Feb 6, 2013 #2


    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    I think you mean cosh, not cos. It would be cos if the denominator were s2+1.
  4. Feb 6, 2013 #3


    User Avatar
    Science Advisor

    I have never like "Laplace Transform"- too mechanical. In particular, for this problem, using the Laplace Transform is using a cannon to kill a fly.

    Here is how I would do this problem: differentiate both sides of the equation, with respect to t, to get rid of the integral: y(t)- y''(t)= 1 or y''- y= -1. We have initial conditions y(0)= 0 and y'(0)= 0 (from setting t=0 in the orginal equation). That's a very simple linear equation with constant coefficients. The characteristic equation has real roots so the solution will involve exponentials (and so cosh as haruspex says) not trig functions.
  5. Feb 6, 2013 #4
    ohh thanks 1+3cosh(t) and then i can use the complex exponential formula to change cosh(t) to 1/2 (e^t + e^-t) thanks haruspex :)

    HallsofIvy << I like your saying "using the Laplace Transform is using a cannon to kill a fly" could not agree more thanks for the the comment :)
  6. Feb 6, 2013 #5
    My teacher convinces the class that the Laplace transform is so powerful but like your saying maybe it is too powerful on such this simple problem. :)
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook