Unit Step Response: Solving s(t) = e^{-t}u(t) for u(t) - u(t-2)

In summary, the step response of an LTI system is given by s(t) = e^{-t}u(t) . Find its response to the input u(t) - u(t-2) .
  • #1
FrogPad
810
0
The step response of an LTI system is given by [itex] s(t) = e^{-t}u(t) [/itex]. Find its response to the input [itex] u(t) - u(t-2) [/itex].

Note: [itex]u(t)[/itex] is the unit step function.

So I have the solution, but I do not understand it.

[tex] y(t) = s(t) - s(t-2) = e^{-t}u(t) - e^{-(t-2)}u(t-2) [/tex]

I really don't understand where this is coming from. If somone could guide me to this solution, that would be good.

Thanks!
 
Physics news on Phys.org
  • #2
the only thing I can see here is that LTI system is a linear system and so a superposition of step function inputs give a superposition of response.
(linearity)
 
  • #3
I need to see the steps filled in here to understand it. The professor just skipped too much for my understanding.

I don't understand this well enough I guess.

Here is my attempt.

We can categorize an LTI system as:

x(t)------>h(t)------>y(t)

If we let x(t) be the unit step function, then [itex] y(t)=\int_{-\infty}^t dt [/itex]

Since the step response is given:
[tex]y(t)=e^{-t}u(t)[/tex]
Therefore, [tex] h(t)=\frac{dy(t)}{dt}=-e^{-t}u(t) [/tex]

So when the response of [itex] x(t) = u(t)-u(t-2) [/itex]

Performming the Laplace transforms yield:
[tex]X(s)=\frac{1}{s}-\frac{e^{-s2}}{s}[/tex]
[tex]H(s)=\frac{-1}{s}[/tex]

[tex]Y(s)=\frac{e^{-s2}}{s(s+1)}-\frac{1}{s(s+1)}[/tex]

The inverse transform yields:
[tex]y(t)=u(t-2)+e^{-(t-2)}u(t-2)-u(t)-e^{-t}u(t)[/tex]
[tex]y(t)=u(t-2)(e^{t-2}+1)-u(t)(e^{-t}+1)[/tex]

Why am I getting these extra factors of u(t-2) and u(t)?

Thanks!
 
  • #4
short ans: you've forgotten one very important thing, namely, the derivative of a unit step function, is the delta function.

longer ans: (by the way, symbols, x, y, h, s etc,... were kind of mixed up in your post so I will define them again)

x(t) input signal, y(t) output signal, h(t) impulse response, s(t) unit step response, u(t) unit step function.
X(s), Y(s), H(s), S(s)... etc.. are Laplace Transformed quantities.

you are given [tex]x(t) = u(t) -u(t-2)[/tex] and that [tex]s(t) =e^{-t} u(t)[/tex] which is the response of a [tex]u(t)[/tex] input. ie. the results of
[tex]s(t)=\int_{-\infty}^{\infty} u(\tau) h(t-\tau) \,d\tau[/tex] where h(t) is the yet to be determined impulse response that characterise the system. Ok, now LTI system has a nice property called linearity that means
[tex]f(aX+bY) = a f(X) + b f(Y)[/tex]
And this works nicely (in this case) because your x(t) is made up of just step functions and you are given the response for a step function s(t) already!
so if u(t) gives your s(t) then u(t) - u(t-2) will give you s(t) - s(t-2).
to see that u(t-a) does lead to s(t-a), just do a change of variable as follow

recall: [tex]s(t)=\int_{-\infty}^{\infty} u(\tau) h(t-\tau) \,d\tau[/tex]
now you have instead
[tex]\int_{-\infty}^{\infty} u(\tau-2) h(t-\tau) \,d\tau[/tex]
let [tex]\kappa = \tau-2, \; d\kappa = d\tau[/tex] then
[tex]\int_{-\infty}^{\infty} u(\kappa) h(t-(\kappa+2)) \,d\kappa
=\int_{-\infty}^{\infty} u(\kappa) h((t-2)-\kappa) \,d\kappa
=s(t-2)[/tex]

Usually this is all you need to get your result...which may explain why your prof did not show more workings... But to prove to you that this is indeed correct, we can try this again in the long way. ie. first acquire h(t) from s(t) then do the convolution integral (or go to frequency domain by Laplace transform). I shall cut the narrative for the following (to save me some time)... just showing you the maths, symbols are as described above

[tex]h(t) = \frac{d s(t)}{dt} = -e^{-t}u(t) + e^{-t}u'(t)=
-e^{-t}u(t) + e^{-t}\delta(t)[/tex]

[tex]H(s) = -\frac{1}{s+1}+1[/tex]

[tex]X(s) = \frac{1}{s} - \frac{e^{-2s}}{s}[/tex]

[tex]Y(s) = H(s)X(s) = \frac{1-e^{-2s}}{s+1} \;
\Rightarrow\; y(t) = e^{-t}u(t) - e^{2-t}u(t-2)[/tex]
try it!
 
Last edited:
  • #5
mjsd said:
short ans: you've forgotten one very important thing, namely, the derivative of a unit step function, is the delta function.

First off. You are so amazing, I can't even begin to tell you how much that helped. Thanks a million!

Second, yeah... I did not differentiate right :(
I went about this method:
[tex] e^{-t}u(t) = \left\{ \begin{array}{c} e^{-t}, \,\,\,\, t \geq 0 \\ 0, \,\,\,\, t< 0 \end{array}[/tex]

I then just blindly differentiated [itex] e^{-t} [/itex] and [itex] 0 [/itex]. However I didn't take into account the fact that it is discontinuous at 0! So thankyou for pointing that out.

I appreciate your beautiful post very much. Have a good one!
 
Last edited:

What is the unit step response?

The unit step response is a mathematical function that represents the behavior of a system in response to a sudden change in input. It is commonly used in control systems and signal processing to analyze the stability and performance of a system.

How do you solve for s(t) = e^{-t}u(t) for u(t) - u(t-2)?

To solve for this equation, we first need to understand that u(t) is the unit step function, which is equal to 0 for t < 0 and 1 for t ≥ 0. We can then break down the equation into two parts: s(t) = e^{-t} for t ≥ 0 and s(t) = 0 for t < 0. This means that the unit step response will be a decaying exponential function for t ≥ 0 and 0 for t < 0.

What is the significance of e^{-t} in the unit step response equation?

e^{-t} is the decaying exponential function, which represents the natural response of a system. It is commonly used in engineering and science to model the behavior of systems that exhibit damping or decay.

How does the unit step response change when the value of t changes?

As t increases, the value of e^{-t} decreases, resulting in a slower decay of the unit step response. On the other hand, as t decreases, the value of e^{-t} increases, resulting in a faster decay of the unit step response.

What are the practical applications of the unit step response?

The unit step response has various practical applications in engineering and science. It is commonly used in control systems to analyze the stability and performance of a system. It is also used in signal processing to analyze the behavior of signals in systems. Additionally, it can be used to model the response of physical systems such as electrical circuits and mechanical systems.

Similar threads

  • Calculus and Beyond Homework Help
Replies
0
Views
134
  • Calculus and Beyond Homework Help
Replies
8
Views
205
  • Calculus and Beyond Homework Help
Replies
7
Views
248
  • Calculus and Beyond Homework Help
Replies
1
Views
690
  • Calculus and Beyond Homework Help
Replies
0
Views
440
  • Calculus and Beyond Homework Help
Replies
2
Views
796
  • Calculus and Beyond Homework Help
Replies
11
Views
725
  • Calculus and Beyond Homework Help
Replies
3
Views
305
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
556
Back
Top