Convolution: Difference between revisions
From biophysics wiki
No edit summary |
No edit summary |
||
| (25 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
In the article on the [[Transfer Function|transfer function]] we have seen, that the relation between the input $x$ and the output $y$ of a system can be characterized by the transfer function $G$. | In the article on the [[Transfer Function|transfer function]] we have seen, that the relation between the input $x$ and the output $y$ of a system can be characterized by the transfer function $G$. We denote the [[From the Power Series to the Laplace Transform|Laplace transform]] of some quantity with capital letters. For zero initial conditions we can write | ||
\begin{align} | \begin{align} | ||
G(s)=\frac{Y(s)}{X(s)} | G(s)=\frac{Y(s)}{X(s)} | ||
| Line 5: | Line 5: | ||
in this case the relation between the input and the ouput is given by the equation. | in this case the relation between the input and the ouput is given by the equation. | ||
\begin{align} | \begin{align} | ||
Y(s)=G(s) | Y(s)=G(s)X(s) | ||
\end{align} | \end{align} | ||
<div style="background:#FEF5CA;border:1px solid #797979;border-radius:10px;padding:5px 15px 5px 15px;"> | |||
The convolution of $x$ and $g$ is denoted $x*g$ and is defined as the integral | |||
\begin{align} | |||
y(t)=\int_0^t x(\tau) \cdot g(t-\tau) d\tau | |||
\end{align} | |||
</div> | |||
The most important properties of the convolution are:<br\> | |||
*'''Commutativity''' | |||
: <math>x * g = g * x \, \label{com}</math> | |||
*'''Associativity''' | |||
: <math>x * (g * h) = (x * g) * h \label{ass}</math> | |||
*'''Distributivity''' | |||
: <math>x * (g + h) = (x * g) + (f * h) \,\label{dis}</math> | |||
*'''Multiplicative identity''' | |||
: <math>x * \delta = x \,\label{mul}</math> | |||
Furhter more associativity with scalar multiplication holds | |||
: <math>a (x * g) = (a x) * g \, \label{sca}</math> | |||
for any real (or complex) number <math>{a}\,</math>. | |||
== Convolution theorem == | |||
Let us now study the [[From the Power Series to the Laplace Transform|Laplace transfrom]] of the convolution | |||
\begin{align} | |||
Y(s)&=\int_0^{\infty} e^{-st} dt \left\{ \int_0^{\infty} x(\tau) \cdot g(t-\tau) d\tau \right\}\\ | |||
&=\int_0^{\infty} g(t-\tau) \, e^{-st} dt \left\{ \int_0^{\infty} x(\tau) d\tau \right\} | |||
\end{align} | |||
now we make the variable transformation $u=t-\tau$ to get | |||
\begin{align} | |||
&=\int_0^{\infty} g(u) \, e^{-s(u+\tau)} du \left\{ \int_0^{\infty} x(\tau) d\tau \right\}\\ | |||
&=\int_0^{\infty} g(u) \, e^{-su} du \, \int_0^{\infty} x(\tau) \, e^{-s\tau} d\tau \\ | |||
\end{align} | |||
This fundamental result is called the ''convolution theorem'' and also holds for the [[Fourier transform]] of the convolution. | |||
<div style="background:#FEF5CA;border:1px solid #797979;border-radius:10px;padding:5px 15px 5px 15px;"> | |||
The convolution of two functions in the time domain is equivalent with their multiplication in the frequency domain. | |||
\begin{align} | |||
G(s)X(s)=\int_0^{\infty} \left\{ x*g \right\} \, e^{-st} dt \\ | |||
\end{align} | |||
Let $\mathcal{F}$ denote the (Fourier or Laplace) transfrom, then we can write the '''convolution theorem''' as | |||
: <math>\mathcal{F}\{f*g\} = \mathcal{F}\{f\} \cdot \mathcal{F}\{g\}</math> | |||
It also works the other way around: | |||
: <math>\mathcal{F}\{f \cdot g\}= \mathcal{F}\{f\}*\mathcal{F}\{g\}</math> | |||
By applying the inverse Fourier transform <math>\mathcal{F}^{-1}</math>, we can write: | |||
: <math>f*g= \mathcal{F}^{-1}\big\{\mathcal{F}\{f\}\cdot\mathcal{F}\{g\}\big\}</math> | |||
</div> | |||
---- | |||
Further Reading: | |||
*Gianfranco Cariolaro - Unified Signal Theory | |||
*Riley, Hobson, Bence - Mathematical Methods for Physics and Engineering | |||
*Katsuhiko Ogata - Modern Control Engineering | |||
Latest revision as of 17:03, 8 June 2013
In the article on the transfer function we have seen, that the relation between the input $x$ and the output $y$ of a system can be characterized by the transfer function $G$. We denote the Laplace transform of some quantity with capital letters. For zero initial conditions we can write \begin{align} G(s)=\frac{Y(s)}{X(s)} \end{align} in this case the relation between the input and the ouput is given by the equation. \begin{align} Y(s)=G(s)X(s) \end{align}
The convolution of $x$ and $g$ is denoted $x*g$ and is defined as the integral \begin{align} y(t)=\int_0^t x(\tau) \cdot g(t-\tau) d\tau \end{align}
The most important properties of the convolution are:<br\>
- Commutativity
- $ x * g = g * x \, \label{com} $
- Associativity
- $ x * (g * h) = (x * g) * h \label{ass} $
- Distributivity
- $ x * (g + h) = (x * g) + (f * h) \,\label{dis} $
- Multiplicative identity
- $ x * \delta = x \,\label{mul} $
Furhter more associativity with scalar multiplication holds
- $ a (x * g) = (a x) * g \, \label{sca} $
for any real (or complex) number $ {a}\, $.
Convolution theorem
Let us now study the Laplace transfrom of the convolution \begin{align} Y(s)&=\int_0^{\infty} e^{-st} dt \left\{ \int_0^{\infty} x(\tau) \cdot g(t-\tau) d\tau \right\}\\ &=\int_0^{\infty} g(t-\tau) \, e^{-st} dt \left\{ \int_0^{\infty} x(\tau) d\tau \right\} \end{align} now we make the variable transformation $u=t-\tau$ to get \begin{align} &=\int_0^{\infty} g(u) \, e^{-s(u+\tau)} du \left\{ \int_0^{\infty} x(\tau) d\tau \right\}\\ &=\int_0^{\infty} g(u) \, e^{-su} du \, \int_0^{\infty} x(\tau) \, e^{-s\tau} d\tau \\ \end{align}
This fundamental result is called the convolution theorem and also holds for the Fourier transform of the convolution.
The convolution of two functions in the time domain is equivalent with their multiplication in the frequency domain. \begin{align} G(s)X(s)=\int_0^{\infty} \left\{ x*g \right\} \, e^{-st} dt \\ \end{align} Let $\mathcal{F}$ denote the (Fourier or Laplace) transfrom, then we can write the convolution theorem as
- $ \mathcal{F}\{f*g\} = \mathcal{F}\{f\} \cdot \mathcal{F}\{g\} $
It also works the other way around:
- $ \mathcal{F}\{f \cdot g\}= \mathcal{F}\{f\}*\mathcal{F}\{g\} $
By applying the inverse Fourier transform $ \mathcal{F}^{-1} $, we can write:
- $ f*g= \mathcal{F}^{-1}\big\{\mathcal{F}\{f\}\cdot\mathcal{F}\{g\}\big\} $
Further Reading:
- Gianfranco Cariolaro - Unified Signal Theory
- Riley, Hobson, Bence - Mathematical Methods for Physics and Engineering
- Katsuhiko Ogata - Modern Control Engineering