Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Just confusing it does not evaluate correct Φ(0)=0.5 Bug Heaviside.sm (11kb) downloaded 48 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,364 Was thanked: 822 time(s) in 520 post(s)
|
Originally Posted by: Jean Giraud Just confusing it does not evaluate correct Φ(0)=0.5 Hi Jean. Heaviside, and it's brother, Dirac, aren't functions, are distributions: https://en.wikipedia.org/wiki/Distribution_(mathematics) Also can check this at: https://reference.wolfram.com/language/tutorial/GeneralizedFunctionsAndRelatedObjects.html Distributions came from the develop of french mathematicians, as the limit of successions of functions. Because are not functions, they don't have the usual properties, and are a kind of extension of the concept of functions, but can't be handled without some precautions. From Maple 5 help:
Description: The Dirac and Heaviside functions are distributions. The Dirac(t) delta function is defined as zero everywhere except at t = 0 where it has a singularity. It also has the property that Int(Dirac(t),t = -infinity..infinity) = 1 Derivatives of the Dirac function are denoted by the two-argument Dirac function. The first argument denotes the order of the derivative. For example, diff(Dirac(t), t$n) will be automatically simplified to Dirac(n, t) for any integer n. The Heaviside(t) function is defined as zero for t < 0, 1 for t > 0 and is not defined at 0. It is related to the Dirac function by diff(Heaviside(t),t) = Dirac(t). These functions are typically used in the context of integral transforms such as laplace(), mellin() or fourier() or the solving of differential equations. They are also used to represent piecewise continuous functions with conversion routines available.
So, value at 0 is undefined for Maple 5, but in newer versions you can change this. For Mathematica, uses UnitStep[0]=1, and Heaviside(0)=1/2 it's just another convention: the convention of taking ( f(x+)+f(x-) )/ 2 for finite jump discontinuities. Best regards. Alvaro.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.