Expressing a function as Heaviside function

Click For Summary
SUMMARY

The piecewise function f(t) = {t when t <= 0, 0 when 0 < t <= 1, 1 - t when t > 1} can be expressed using the Heaviside function, but the initial attempt f(t) = (1 - t) * H(t - 1) + t * H(t) is incorrect. The error arises because the term t * H(t) contributes to the function's value when it should not, as demonstrated by the example where f(2) yields an incorrect result. A correct formulation must eliminate the inappropriate contributions from the Heaviside function.

PREREQUISITES
  • Understanding of piecewise functions
  • Familiarity with the Heaviside step function
  • Basic knowledge of function notation and evaluation
  • Experience with mathematical modeling and transformations
NEXT STEPS
  • Explore the properties of the Heaviside function in mathematical modeling
  • Learn how to correctly express piecewise functions using Heaviside functions
  • Investigate common errors in function transformations and their implications
  • Study examples of piecewise functions and their Heaviside representations
USEFUL FOR

Mathematicians, engineers, and students studying mathematical modeling, particularly those interested in piecewise functions and the application of the Heaviside function in various contexts.

tics
Messages
15
Reaction score
0
I have a question: given a piecewise function, f(t)= {t when t<=0 ,0 when 0<t<=1, 1-t when t>1. How do express it as a Heaviside function?
I have tried to do the solution which is : f(t)= (1-t)*H(t-1)+t*H(t). Here I have considered two non-zero portions of f(t), which are t and 1-t. Is that right? Please let me know about my attempt.
 
Physics news on Phys.org
tics said:
I have a question: given a piecewise function, f(t)= {t when t<=0, 0 when 0<t<=1, 1-t when t>1. How do express it as a Heaviside function?
I have tried to do the solution which is : f(t)=(1-t)*H(t-1)+t*H(t). Here I have considered two non-zero portions of f(t), which are t and 1-t. Is that right? Please let me know about my attempt.
No, it's not correct. Consider when t=2, for instance. You'd get

f(2) = (1-2) H(2-1) + 2 H(2) = (-1) H(1) + 2 H(2) = 1

whereas according to original the definition of f(t), f(2) should equal -1. You can see from this example the problem arises because the t*H(t) term contributes when it no longer should. Can you see how to modify your function to get that to go away?
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 3 ·
Replies
3
Views
6K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
3
Views
2K
Replies
2
Views
1K
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K