MHB Convolution - calculation and drawing

Click For Summary
Convolution is defined as z(t) = ∫y(τ)x(t-τ)dτ, where y(τ) = (Bτ/T) for 0 ≤ τ ≤ T and x(τ) = A for 0 ≤ τ ≤ T. The discussion outlines how to compute z(t) based on the value of t, noting that there is no overlap when t ≤ 0 or t > 2T, resulting in z(t) = 0 in these cases. For 0 < t ≤ T, the convolution results in a quadratic function, while for T < t ≤ 2T, the limits of integration change, leading to a different expression for z(t). The graphical representation helps visualize the overlapping regions of the functions involved in the convolution process.
aruwin
Messages
204
Reaction score
0
Hi! I need your help with convolution. I am having problem understanding it. I don't understand the example, it shows the calculation and the drawing. Could you please explain the solution to me - why the ranges of t are taken that way and how does the drawing represent the answer?I'll show you one example, and one exercise (the one I need to solve).


Ignore the Japanese writing, it only says to "find z", and "when t=..."
 

Attachments

  • image-14-10-14-02-01-1.jpeg
    image-14-10-14-02-01-1.jpeg
    28 KB · Views: 110
  • image-14-10-14-02-01.jpeg
    image-14-10-14-02-01.jpeg
    32.8 KB · Views: 119
Physics news on Phys.org
I will try to explain the convolution by analyzing it graphically. (you can see how convolution happen in this link http://upload.wikimedia.org/wikipedia/commons/b/b9/Convolution_of_spiky_function_with_box2.gif)

The convolution is $z(t)= \int \limits_{-\infty}^{\infty} y(\tau)x(t-\tau) \;d\tau$

now take

[math] y(\tau) = \frac{B\tau}{T} \quad 0\leq \tau \leq T[/math]

[math] x(\tau) = A \quad 0\leq \tau\leq T \implies x(t-\tau) = A \quad t-T\leq \tau \leq t[/math]

above two function are shown in the below graph (remember the variable of the integral is $\tau$)View attachment 3428

Now we should see what happens to the integral ($z(t)$) when the value $t$ changes

(i) when $t\leq 0$

As the graph below suggest there is no overlapping in the $x(t-\tau)$ and $y(\tau)$
View attachment 3429View attachment 3431

Therefore $\int_{-\infty}^\infty x(t-\tau)y(\tau)$ is 0. Thus when $t\leq 0 \implies z(t)=0$

(ii) When $0<t\leq \tau$
View attachment 3427
View attachment 3433

As the graph shows the overlapping of two graphs starts at $\tau=0$ and ends at $\tau=t$.

Therefore the convolution at this scenario will be,

$z(t) = \int_0^t x(t-\tau)y(\tau) d\tau=\int_0^t A\frac{B}{T}\tau d\tau$

Thus, when $$0<t\leq T \implies z(t) = \int_0^t A\frac{B}{T}\tau d\tau$$

(iii) when $T<t\leq 2T$View attachment 3434

View attachment 3432

As the graphs show the overlapping always end at $T$ and starts at $t-T$. Therefore the limits of the convolution in this scenario changes as following

$\int\limits_{t-T}^{T} x(t-\tau)y(\tau) \;d\tau = \int\limits_{t-T}^T A\frac{B}{T}\tau d\tau$

$$\therefore \text{when } T<t\leq 2T \implies z(t)=\int\limits_{t-T}^T A\frac{B}{T}\tau d\tau$$

(iv) when $t>2T$

View attachment 3430

On this occasion also the overlapping does not occur (similar to t<0). Therefore the convolution is zero.

Thus $t>2T \implies z(t) =0$So eventually the piece-wise function of the z will be as following.

$$z(t)=\begin{cases}0 \quad t\leq 0 \\ A\frac{B}{2T}t^2 \quad 0<t\leq T \\ \frac{AB}{2T}(2tT-t^2)\quad T<t\leq 2T\\0 \quad t>2T \\ \end{cases}$$

View attachment 3436

Hope this will help to understand the convolution theory :)
 

Attachments

  • 0tT.PNG
    0tT.PNG
    2.8 KB · Views: 121
  • normal.PNG
    normal.PNG
    4.2 KB · Views: 112
  • t_lest_0.PNG
    t_lest_0.PNG
    2.9 KB · Views: 117
  • t_lt_2T.PNG
    t_lt_2T.PNG
    3.9 KB · Views: 108
  • t0.PNG
    t0.PNG
    2.6 KB · Views: 112
  • t2T.PNG
    t2T.PNG
    4.1 KB · Views: 120
  • tT.PNG
    tT.PNG
    2.7 KB · Views: 127
  • Tt2T.PNG
    Tt2T.PNG
    3.8 KB · Views: 117
  • z.PNG
    z.PNG
    1.4 KB · Views: 117
Last edited:
BAdhi said:
I will try to explain the convolution by analyzing it graphically. (you can see how convolution happen in this link http://upload.wikimedia.org/wikipedia/commons/b/b9/Convolution_of_spiky_function_with_box2.gif)

The convolution is $z(t)= \int \limits_{-\infty}^{\infty} y(\tau)x(t-\tau) \;d\tau$

now take

[math] y(\tau) = \frac{B\tau}{T} \quad 0\leq \tau \leq T[/math]

[math] x(\tau) = A \quad 0\leq \tau\leq T \implies x(t-\tau) = A \quad t-T\leq \tau \leq t[/math]

above two function are shown in the below graph (remember the variable of the integral is $\tau$)View attachment 3428

Now we should see what happens to the integral ($z(t)$) when the value $t$ changes

(i) when $t\leq 0$

As the graph below suggest there is no overlapping in the $x(t-\tau)$ and $y(\tau)$
View attachment 3429View attachment 3431

Therefore $\int_{-\infty}^\infty x(t-\tau)y(\tau)$ is 0. Thus when $t\leq 0 \implies z(t)=0$

(ii) When $0<t\leq \tau$
View attachment 3427
View attachment 3433

As the graph shows the overlapping of two graphs starts at $\tau=0$ and ends at $\tau=t$.

Therefore the convolution at this scenario will be,

$z(t) = \int_0^t x(t-\tau)y(\tau) d\tau=\int_0^t A\frac{B}{T}\tau d\tau$

Thus, when $$0<t\leq T \implies z(t) = \int_0^t A\frac{B}{T}\tau d\tau$$

(iii) when $T<t\leq 2T$View attachment 3434

View attachment 3432

As the graphs show the overlapping always end at $T$ and starts at $t-T$. Therefore the limits of the convolution in this scenario changes as following

$\int\limits_{t-T}^{T} x(t-\tau)y(\tau) \;d\tau = \int\limits_{t-T}^T A\frac{B}{T}\tau d\tau$

$$\therefore \text{when } T<t\leq 2T \implies z(t)=\int\limits_{t-T}^T A\frac{B}{T}\tau d\tau$$

(iv) when $t>2T$

View attachment 3430

On this occasion also the overlapping does not occur (similar to t<0). Therefore the convolution is zero.

Thus $t>2T \implies z(t) =0$So eventually the piece-wise function of the z will be as following.

$$z(t)=\begin{cases}0 \quad t\leq 0 \\ A\frac{B}{2T}t^2 \quad 0<t\leq T \\ \frac{AB}{2T}(2tT-t^2)\quad T<t\leq 2T\\0 \quad t>2T \\ \end{cases}$$

View attachment 3436

Hope this will help to understand the convolution theory :)

Thank you for the explanation. But I still don't understand how you get the amplitude? How do you know the values of the y axis?
 
BAdhi said:
I will try to explain the convolution by analyzing it graphically. (you can see how convolution happen in this link http://upload.wikimedia.org/wikipedia/commons/b/b9/Convolution_of_spiky_function_with_box2.gif)

The convolution is $z(t)= \int \limits_{-\infty}^{\infty} y(\tau)x(t-\tau) \;d\tau$

now take

[math] y(\tau) = \frac{B\tau}{T} \quad 0\leq \tau \leq T[/math]

[math] x(\tau) = A \quad 0\leq \tau\leq T \implies x(t-\tau) = A \quad t-T\leq \tau \leq t[/math]

above two function are shown in the below graph (remember the variable of the integral is $\tau$)View attachment 3428

Now we should see what happens to the integral ($z(t)$) when the value $t$ changes

(i) when $t\leq 0$

As the graph below suggest there is no overlapping in the $x(t-\tau)$ and $y(\tau)$
View attachment 3429View attachment 3431

Therefore $\int_{-\infty}^\infty x(t-\tau)y(\tau)$ is 0. Thus when $t\leq 0 \implies z(t)=0$

(ii) When $0<t\leq \tau$
View attachment 3427
View attachment 3433

As the graph shows the overlapping of two graphs starts at $\tau=0$ and ends at $\tau=t$.

Therefore the convolution at this scenario will be,

$z(t) = \int_0^t x(t-\tau)y(\tau) d\tau=\int_0^t A\frac{B}{T}\tau d\tau$

Thus, when $$0<t\leq T \implies z(t) = \int_0^t A\frac{B}{T}\tau d\tau$$

(iii) when $T<t\leq 2T$View attachment 3434

View attachment 3432

As the graphs show the overlapping always end at $T$ and starts at $t-T$. Therefore the limits of the convolution in this scenario changes as following

$\int\limits_{t-T}^{T} x(t-\tau)y(\tau) \;d\tau = \int\limits_{t-T}^T A\frac{B}{T}\tau d\tau$

$$\therefore \text{when } T<t\leq 2T \implies z(t)=\int\limits_{t-T}^T A\frac{B}{T}\tau d\tau$$

(iv) when $t>2T$

View attachment 3430

On this occasion also the overlapping does not occur (similar to t<0). Therefore the convolution is zero.

Thus $t>2T \implies z(t) =0$So eventually the piece-wise function of the z will be as following.

$$z(t)=\begin{cases}0 \quad t\leq 0 \\ A\frac{B}{2T}t^2 \quad 0<t\leq T \\ \frac{AB}{2T}(2tT-t^2)\quad T<t\leq 2T\\0 \quad t>2T \\ \end{cases}$$

View attachment 3436

Hope this will help to understand the convolution theory :)
But you got the shapes the other way around. It's x(tau)y(t-tau).
 
Last edited:
Thread 'Problem with calculating projections of curl using rotation of contour'
Hello! I tried to calculate projections of curl using rotation of coordinate system but I encountered with following problem. Given: ##rot_xA=\frac{\partial A_z}{\partial y}-\frac{\partial A_y}{\partial z}=0## ##rot_yA=\frac{\partial A_x}{\partial z}-\frac{\partial A_z}{\partial x}=1## ##rot_zA=\frac{\partial A_y}{\partial x}-\frac{\partial A_x}{\partial y}=0## I rotated ##yz##-plane of this coordinate system by an angle ##45## degrees about ##x##-axis and used rotation matrix to...

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 49 ·
2
Replies
49
Views
4K
Replies
7
Views
947
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 11 ·
Replies
11
Views
7K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K