Understanding Heaviside Function: Explained with Examples

  • Context: Undergrad 
  • Thread starter Thread starter physicsmad33
  • Start date Start date
  • Tags Tags
    Heaviside
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
physicsmad33
Messages
2
Reaction score
0
Hi,

If you have a Heaviside function such as (u(x-2)-u(x-6), then am I right in thinking that this would be = 1 or 'on' between x=2 and x=6? What happens if you put x in front of the equation? E.g. x(u(x-2)-u(x-6))

Im trying to understand Heaviside but I am getting quite confused by it all at the moment?
 
Physics news on Phys.org
you are right about that it is only in the interval 2<=x<6 that u(x-2)-u(x-6=1; otherwise, it equals zero.

Thus, x*(u(x-2)-u(x-6))=x for 2<=x<6, while 0 otherwise
 
Hi Thanks for the reply. If you replaced the x at the front with a number, does this mean that the function would then be true or 'on' between 2 and 6, but at the amplitude of the number that has replaced x?