Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
Heaviside - Heaviside step function
Calling Sequence
Heaviside(t)
Parameters
t
-
algebraic expression
Description
The Heaviside function is the step function,
Regarding the value of Heaviside at , Maple implements the following convention: Heaviside(0) returns undefined and signals the invalid_operation numeric event. You can change this behavior by catching this event. For details, see NumericEvent and the Examples section below.
The Heaviside function is also the anti-derivative of Dirac in that
The Heaviside and Dirac functions are frequently used in the context of integral transforms, for example, laplace, mellin, or fourier, or in formulations involving differential equation solutions. These functions are also particularly relevant in Theoretical Physics, for example in Quantum Mechanics.
When converting Heaviside to piecewise you may want to have the conversion performed taking Heaviside(0) = 1. For that purpose set the Environment Variable _EnvUseHeavisideAsUnitStep to true - see the example in the next section.
Examples
By default, the value of Heaviside at zero is undefined.
Convert the Heaviside function to a piecewise function.
To perform this conversion taking Heaviside(0) = 1 you can set a related handler.
To set the value of Heaviside(0) to or any other numerical value, replace by this value in the NumericEventHandler input line above. The invalid_operation event handler can be reset as follows.
For the particular case of computing with Heaviside representing a unit step, that is Heaviside(0) = 1, an alternative to setting a handler is to set the value of the Environment variable as seen below.
See Also
convert/piecewise, Dirac, inttrans[fourier], inttrans[laplace], inttrans[mellin], NumericEvent
Download Help Document