How Do You Express a Piecewise Function Using Singularity Functions?

Click For Summary

Discussion Overview

The discussion revolves around expressing a piecewise function using singularity functions, specifically focusing on the function g(t) defined in segments over different intervals. Participants explore the correct formulation of this function in terms of ramp and unit step functions.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant presents the piecewise function g(t) and proposes an expression using singularity functions: g(t) = r(t-1) - r(t-2) - r(t-4) + r(t-5).
  • Another participant agrees that four ramp functions are needed and confirms the correctness of the first three terms of the proposed expression.
  • A participant acknowledges a typo in their previous message regarding the last term of the expression.
  • One participant questions the correctness of their professor's answer, seeking clarification on the differences between their formulation and the professor's version.
  • Another participant points out that the original specification includes the term 4-t for the interval 4
  • This participant also provides a revised expression that incorporates adjustments based on the professor's formulation, leading to a more complex expression: g(t) = r(t-1) - r(t-2) - r(t-4) + r(t-5) - u(t-4) + u(t+5).

Areas of Agreement / Disagreement

Participants express differing views on the correctness of the original function's graph and the professor's answer. While some agree on the need for four ramp functions, there is no consensus on the final expression or the validity of the original graph.

Contextual Notes

There are indications of potential misunderstandings regarding the piecewise function's definition and its graphical representation, as well as the specific terms used in the singularity function expressions. The discussion reflects a need for clarity on these aspects.

E&H12
Messages
6
Reaction score
0
I was given the problem to:
express the following signal in terms of the singularity function

g(t)= t-1, 1<t<2
1, 2<t<4
4-t, 4<t<5
0, otherwise


I graphed this function it is attached in below.

My final answer for this function is

g(t)= r(t-1)-r(t-2)-r(t-4)+r(t-5).

Is this answer correct? Thank You
 

Attachments

  • singularity_function.png
    singularity_function.png
    1.9 KB · Views: 683
Last edited:
Physics news on Phys.org
You're right that you need four ramp functions.
And your first three terms are correct.
 
  • Like
Likes   Reactions: 1 person
I made a correction to the last term, it was a typo. thou thanks scott.
 
Singularity Function ans from professor

So my linear systems professor had an answer that looked like this, but i really don't agree with this answer. Will someone please explain which one is correct? Where did my professor get those last terms from? (it does not make sense to me)
 

Attachments

  • singularity_function_ans.PNG
    singularity_function_ans.PNG
    25.8 KB · Views: 924
The original specification includes: 4-t for 4<t<5
So this would range from 4-4 to 4-5 or 0 to -1. So your original graph is wrong and the teacher is correct.
(Sorry, I didn't catch that one either)
Still, your original graph is useful as an intermediate result. Your teach called your function G3 and his/her work is in agreement with your corrected result:
g3(t)= r(t-1)-r(t-2)-r(t-4)+r(t-5)

But then we need to drop that 4<t<5 segment so we need a -u(t-4)+u(t+5).
The whole thing becomes, just as your teacher reported:
g(t)= r(t-1)-r(t-2)-r(t-4)+r(t-5)-u(t-4)+u(t+5)
 
  • Like
Likes   Reactions: 1 person

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
0
Views
2K
Replies
23
Views
6K