1. PF Contest - Win "Conquering the Physics GRE" book! Click Here to Enter
    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!

Help with Heaviside functions

  1. Sep 2, 2010 #1
    1. The problem statement, all variables and given/known data

    Consider the initial value problem

    y'' + 1/3y' + 4y = fk(t)

    with y(0) = y'(0) = 0,

    fk(t) = piecewise function 1/2k if 4 - k <= t < 4 + k
    0 otherwise

    and 0 < k < 4

    (a) Sketch the graph of fk(t). Observe that the area under the graph is independent of k.
    (b) Write fk(t) in terms of Heaviside step functions and then solve the initial value problem.
    (c) Plot the solution for k = 2, k = 1 and k = 1/2. Describe how the solution depends on k.

    3. The attempt at a solution

    I can sketch the graph fine etc, just struggling with putting fk(t) in terms of a heaviside function and then solving the initial value problem

    I tried on maple and it gave me a heaviside function


    But by my calculation it should be


    Thanks for any help!!
  2. jcsd
  3. Sep 2, 2010 #2
    If you plot the two different combinations of the Heaviside functions you will notice, that both are identical.
    The one from Maple just has an additional redundant factor.
  4. Sep 2, 2010 #3
    That makes sence. So how do I go from that to solving the initial value problem??
  5. Sep 2, 2010 #4


    User Avatar
    Science Advisor

    The simplest way is to do it as two separate problems.

    For 0< k< 4, 0< 4-k < k so first solve
    y'' + (1/3)y' + 4y = 1/(2k), y(0)= y'(0)= 0

    Use that solution to find A= y(k) and B= y'(k)

    Then solve
    y"+ (1/3)y'+ 4y= 0, y(k)= A, y'(k)= B.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Threads - Help Heaviside functions Date
Method of undetermined coefficients -- Help please Saturday at 5:04 PM
Need help with an integral Feb 27, 2018
Help with a negation Jan 25, 2018
Help with Heaviside equations Dec 6, 2010
The Heaviside function! Help! Mar 13, 2010