Writing in terms of step function

Click For Summary
SUMMARY

The discussion focuses on expressing the piecewise function f(t) in terms of the Heaviside step function H(t). The function is defined as f(t) = 4t for t < 1 and f(t) = 4 for t ≥ 1. The solution involves using the Heaviside function to transition between different functions at specified points, specifically using u(t) to switch from f(t) to g(t) at t=0, from g(t) to h(t) at t=2, and eliminating h(t) at t=4. The final expression is f(t)(1 - u(t)) + g(t)(u(t)-u(t-2)) + h(t)(u(t-2)-u(t-4)).

PREREQUISITES
  • Understanding of Heaviside step function H(t)
  • Knowledge of piecewise functions
  • Familiarity with filter functions in signal processing
  • Basic calculus concepts related to function transitions
NEXT STEPS
  • Study the properties and applications of the Heaviside step function
  • Learn about piecewise function representation in mathematical modeling
  • Explore filter functions and their role in signal processing
  • Investigate advanced topics in calculus related to discontinuous functions
USEFUL FOR

Students in mathematics or engineering, particularly those studying signal processing or control systems, will benefit from this discussion. It is also valuable for anyone looking to understand the application of the Heaviside function in piecewise function representation.

rock.freak667
Homework Helper
Messages
6,221
Reaction score
31

Homework Statement



f(t)= 4t t<1
f(t)= 4 t≥1

I need to write f(t) in terms of H(t)



Homework Equations



H(t-t0)=0 for t<t0
= 1 for t≥t0

The Attempt at a Solution



I am not too sure how it is done, as what I read online, people can just immediately write it down but I don't get the the thought process.
 
Physics news on Phys.org
Here's the idea. Say you want your function to be f(t) for t < 0, g(t) between 0 and 2, h(t) between 2 and 4, and 0 for t > 4.

So start building your function with f(t). At t=0 you want to get rid of f and start g:

f(t) + (g(t) - f(t))u(t)

At 2 you want to get rid of the g and start h

f(t) + (g(t) - f(t))u(t) + (h(t) - g(t))u(t-2)

At t = 4 you want to get rid of the h.

f(t) + (g(t) - f(t))u(t) + (h(t) - g(t))u(t-2) - h(t)u(t-4)

and you are done. Equivalently you could collect terms on the functions:

f(t)(1 - u(t)) + g(t)(u(t)-u(t-2)) + h(t)(u(t-2)-u(t-4))

Sometimes terms like u(t-b)-u(t-a) are called filter functions because they just pick up whatever they are multiplied by between a and b.
 
LCKurtz said:
Here's the idea. Say you want your function to be f(t) for t < 0, g(t) between 0 and 2, h(t) between 2 and 4, and 0 for t > 4.

So start building your function with f(t). At t=0 you want to get rid of f and start g:

f(t) + (g(t) - f(t))u(t)

At 2 you want to get rid of the g and start h

f(t) + (g(t) - f(t))u(t) + (h(t) - g(t))u(t-2)

At t = 4 you want to get rid of the h.

f(t) + (g(t) - f(t))u(t) + (h(t) - g(t))u(t-2) - h(t)u(t-4)

and you are done. Equivalently you could collect terms on the functions:

f(t)(1 - u(t)) + g(t)(u(t)-u(t-2)) + h(t)(u(t-2)-u(t-4))

Sometimes terms like u(t-b)-u(t-a) are called filter functions because they just pick up whatever they are multiplied by between a and b.

Thank you, I wish my lecturer would have explained it like this :biggrin:
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 12 ·
Replies
12
Views
3K
Replies
8
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K