Calculate the convolution between these functions

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
11 replies · 2K views
Telemachus
Messages
820
Reaction score
30
Hi there. I must calculate the convolution between these functions
[tex]f(t)= e^{-t} H(t)[/tex]
[tex]g(t)=e^t H(t)[/tex] H(t) the unit step Heaviside function.
So I have to find: [tex]f \star g[/tex]

This is what I did:
[tex]f \star g=\displaystyle\int_{-\infty}^{\infty}e^{-\lambda}e^{t-\lambda}H(\lambda)H(t-\lambda)d\lambda=\displaystyle\int_{-\infty}^{\infty}e^{t-2\lambda} \left [ H(\lambda)-H(\lambda-t) \right ] d\lambda=[/tex]
[tex]=\displaystyle\int_{-\infty}^{\infty}e^{t-2\lambda}H(\lambda)d\lambda-\displaystyle\int_{-\infty}^{\infty}e^{t-2\lambda} H(\lambda-t)d\lambda=\displaystyle\int_{0}^{\infty}e^{t-2\lambda}d\lambda-\displaystyle\int_{t}^{\infty}e^{t-2\lambda} d\lambda=\displaystyle\int_{0}^{t}e^{t-2\lambda} d\lambda=-2e^{-t}+2e^{t}[/tex]

Is this fine?
 
Physics news on Phys.org


I think that the product [itex]H(\lambda )H(t-\lambda )[/itex] is zero if [itex]\lambda <0[/itex] and also 0 if [itex]t<\lambda[/itex], and so the integral would become:
[tex] \int_{0}^{t}e^{t-2\lambda}d\lambda[/tex]
Sorry, I made a mistake.
 
Last edited:


Hi I like Serena. I've realized that [itex]H(\lambda)H(t-\lambda)[/itex] its equal to 0 for all lambda outside the interval [0,t], and then its easy to get the same result using a sum with the Heaviside function, I get the [itex]H(\lambda)[/itex] and subtracted all what I didn't want using another Heaviside function, but as hunt_mat said it can be reasoned on that other way, which is the same, using the definition for the function. Maybe that mid step was redundant.
 


Oh, I haven't think about what happens for t<0. But I've seen that always appear an Heaviside factor for this kind of integrals, but I don't know why.

The answer you get is [tex](-2e^{-t}+2e^{t})H(t)[/tex]?

I see, I have another mistake, I've made as if I was differentiating :P
So the answer is: [tex](\frac{-e^{-t}+e^{t}}{2})H(t)[/tex]?

Explain me how it is to be reasoned to get the Heaviside function as a factor there.
 


Right! That took care of the integration step. :wink:

And yes, you'd get a Heaviside function in your answer as you surmised.

(Btw, ever hear of the sinh function? It matches rather nicely.)

As for negative t.
You considered the interval [0, t] and checked the Heaviside product for different values of lambda, which is good.
But if t < 0, you'll get the intervall [t, 0].
You should check that as well for different values of lambda.

If necessary you can try it for instance with t = -2 and lambda = -3, -1, +1 (that's what I did).
You'll see! :smile:


Edit: on a more intuitive note, your function f and g are zero for negative t.
This means that their convolution will be zero as well.
 
Last edited:


Alright, for negative t I have
[tex]H(-t-\lambda)=1,\lambda\leq{-t}[/tex]
[tex]H(-t-\lambda)=0,\lambda\geq{-t}[/tex]
And by the other hand I have
[tex]H(\lambda)=1,\lambda\geq{0}[/tex]
[tex]H(\lambda)=0,\lambda<0[/tex]

So its zero for all negative t?

I've seen your edit note now, thank you very much Serena :)