Results 1 to 8 of 8

Math Help - Integration of a step function

  1. #1
    Newbie
    Joined
    Feb 2013
    From
    Europe
    Posts
    5

    Integration of a step function

    I've got a function

    PV(t) = PV0 * (1 + ie)(D - t) * (1 - ii)(D - t)

    which feeds into a step function, and which I have to integrate

    F(t) = 0ID PV0 * (1 + ie)(D - [t]) * (1 - ii)(D - [t]) dt

    (0ID...Integral; [t]...ceiling t)
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    Joined
    Sep 2012
    From
    Australia
    Posts
    3,664
    Thanks
    606

    Re: Integration of a step function

    Hey mhcqr.

    Have you considered breaking up the integral into analytic parts by partitioning it in the right way?
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Feb 2013
    From
    Europe
    Posts
    5

    Re: Integration of a step function

    Hi chiro,

    To be perfectly frank and honest, I haven't got the slightest clue any more; you see, it's more than two decades now since I've been heavily engaged with mathematics...

    ...how could such a breaking up potentially be looking like?

    Cheers,
    M.
    Follow Math Help Forum on Facebook and Google+

  4. #4
    MHF Contributor
    Joined
    Sep 2012
    From
    Australia
    Posts
    3,664
    Thanks
    606

    Re: Integration of a step function

    As an example lets say we are integrating H(t-2) over the region 0 to 4 (H(t-a) is the Heaviside function where its 0 if t < a and 1 otherwise).

    In this case you would break it up into two integrals: one with limits 0 to 2 and the other with limits 2 to 4 where the first integral would be 0dt and the other would be 1dt.

    The basic idea is to make the integral analytic over the region so you can use the standard rules for that region.
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Newbie
    Joined
    Feb 2013
    From
    Europe
    Posts
    5

    Re: Integration of a step function

    So basically this would mean breaking up the integral into a sequence of consecutive steps, determine the result of each of these steps and finally summing these up?
    Follow Math Help Forum on Facebook and Google+

  6. #6
    MHF Contributor
    Joined
    Sep 2012
    From
    Australia
    Posts
    3,664
    Thanks
    606

    Re: Integration of a step function

    Yep that's pretty much it.
    Follow Math Help Forum on Facebook and Google+

  7. #7
    Newbie
    Joined
    Feb 2013
    From
    Europe
    Posts
    5

    Re: Integration of a step function

    Okay, so as long as I've got only a few interval steps to cover, it's kind of a piece of cake, but as the number of steps increases it appears to be rather a tedious undertaking, is it?

    Considering the range t=0 to t=1,000,000 ideally I'd like to do F(1,000,000) - F(0) only...(I'm somehow more of the lazy persuasion!
    Follow Math Help Forum on Facebook and Google+

  8. #8
    MHF Contributor
    Joined
    Sep 2012
    From
    Australia
    Posts
    3,664
    Thanks
    606

    Re: Integration of a step function

    You would probably want to use a computer if that is the case.

    Whether the package is a symbolic one or numerical one is up to you.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 1
    Last Post: November 12th 2012, 07:08 PM
  2. Replies: 2
    Last Post: September 8th 2012, 12:30 AM
  3. [SOLVED] An integration step in PDE by Laplace transform method
    Posted in the Calculus Forum
    Replies: 2
    Last Post: October 22nd 2011, 03:23 PM
  4. Greatest integer function (=step function) problem
    Posted in the Math Topics Forum
    Replies: 5
    Last Post: June 7th 2009, 01:43 PM
  5. step function integration
    Posted in the Algebra Forum
    Replies: 5
    Last Post: April 23rd 2009, 05:53 AM

Search Tags


/mathhelpforum @mathhelpforum