Writing in terms of step function

Click For Summary
The discussion focuses on expressing the piecewise function f(t) using the Heaviside step function H(t). The user seeks clarification on how to transition between different functions at specified intervals, specifically from f(t) to g(t) at t=0, from g(t) to h(t) at t=2, and from h(t) to 0 at t=4. The solution involves using the Heaviside function to create a composite function that smoothly transitions between these states. The concept of filter functions is introduced, which selectively activates the corresponding function within defined intervals. Overall, the explanation provides a clearer understanding of how to manipulate functions using step functions.
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:
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · 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 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K