# Basic Convolution - if someone wouldn't mind checking

I have two convolution problems, that I would like to be sure are right. If someone wouldn't mind the fun job of checking these, that would be great.

QUESTION:

Compute the convolution of $x(t)$ and $h(t)$ where:

1:
$$x(t) = u(t)$$
$$h(t) = e^{-at}u(t), \,\,\, a>0$$

2.
$$x(t) = u(t) - u(t-T_1)$$
$$h(t) = u(t) - u(t-T_2), \,\,\, T_1 > T_2$$

Let $y(t)$ be the convolution of x(t), h(t)

(1):

$$t < 0$$:
y(t) =0

$$t \geq 0$$:
$$y(t) = \int_{-\infty}^t e^{-a(t-\tau)}d\tau = \frac{1}{a}$$

(2):

$$t < 0$$ or $$t-T_2 > 0$$:
y(t) =0

$$t \geq 0$$ and $$t-T_2 < 0$$:
$$y(t) = \int_0^t d\tau = t$$

$$t-T_2 > 0$$ and $$t<T_1$$:
$$y(t) = \int_{t-T_2}^t d\tau = T_2$$

Related Calculus and Beyond Homework Help News on Phys.org
HallsofIvy
Homework Helper
Is u(t) a specific function- say, the unit step function?

Is u(t) a specific function- say, the unit step function?
My apologies. I thought that was the standard notation. Yes, u(t) is the step function.

EDIT: I see how I should have said that to begin with. It is rather vague in the opening question.

D H
Staff Emeritus

I don't think your first integral is correct. For $t \geq 0$,

$$\int_{0}^{t}x(t) h(t-\tau) \ d \tau = \int_{0}^{t} e^{-a(t-\tau)} \ d \tau$$.

D H
Staff Emeritus
Corneo, I did not post that result because the intent of the homework section is the help the student get to the correct answer. If you give the correct answer, how does that help the student?

Is what I posted considered too much help? I just wanted to show the OP the setup was wrong. I didn't think I solved the problem already. But I guess I can keep this in mind next time.

Is what I posted considered too much help? I just wanted to show the OP the setup was wrong. I didn't think I solved the problem already. But I guess I can keep this in mind next time.
I think you were fine. I redid the first one and got this:

$$y(t) = \int_{-\infty}^{\infty} x(\tau)h(t-\tau)d\tau$$

Setting up the bounds gives:
$$x(\tau)$$ --- a step function in the $\tau$ domain.
$$h(t-\tau)$$ --- (this is kind of hard to describe), but... a inverted decaying exponential that has a value from $-\infty$ to $t$ in the $\tau$ domain.

We now look at the overlap regions:

$$t<0$$ , $$y(t) = 0$$

$$t \geq 0$$ , $$y(t) = \int_0^t e^{-a(t-\tau)}d\tau = \frac{1}{a}(1- e^{-at})$$

Thus, $$y(t) = \frac{u(t)}{a} (1 - e^{-at})$$

Does this look better?

For the second problem.

x(t) = u(t) - u(t - T1)
y(t) = u(t) - u(t-T2)
y(t)=x(t)*h(t)

Graphically,

$$x(\tau)$$ is a function that is 1 from 0 to T1
$$h(t-\tau)$$ is a function that is 1 from t-T2 to t

Thus the bounds are:

$$t< 0$$: no overlap, $$y(t) = 0$$

$$t-T_2 > T_1$$: no overlap, $$y(t) = 0$$

$$t>0$$ AND $$t-T_2 < 0$$: partial overlap (left side)
$$y(t) = \int_0^t d\tau = t$$

$$t-T_2 > 0$$ AND $$t< T_1$$ h(t-tau) is fully enclosed within x(tau)
$$y(t) = \int_{t-T_2}^t d\tau = T_2$$

$$t-T_2 < T_1$$ AND $$t> T_1$$: partial overlap (right side)
$$y(t) = \int_{t-T_2}^{T_1} d\tau = T_1 + T_2 -t$$

Is this right? Thanks again you guys

Does this look better?
This one looks right.