10

I'd like to compute the response to a step function of a electrical/thermal system. Generally I can "easily" compute the transfer function $H$:

$$H(\omega) = \frac{V_{out}(\omega)}{V_{in}(\omega)}$$

Since the Fourier transform ($\mathcal{F}$) of the Heaviside function is (computed with WA):

$$\mathcal{F}(\theta(t)) = V_{in}(\omega) = \sqrt{\frac{\pi}{2}}\delta(\omega)+\frac{i}{\sqrt{2\pi}\omega}$$

Hence, noting $\mathcal{IF}$ the Inverse Fourier transform:

$$V_{out}(t) = \mathcal{IF} \left\{ \left( \sqrt{\frac{\pi}{2}}\delta(\omega)+\frac{i}{\sqrt{2\pi}\omega} \right) H(\omega) \right\}$$

To check my math I tried to compute the response for a simple RC system:

enter image description here

I should get the well known charge of the capacitor. The transfer function:

$$H(\omega) = \frac{1}{1+i\omega R C}$$

Computing the Inverse Fourier transform ($\mathcal{IF}$) with WA ($R=C=1$) I get:

enter image description here

This would be correct if we were going backward in time :/. So the question is... What am I doing wrong?

I did the same using Laplace Transforms and everything works fine... But I don't understand why.

P.S. I don't want another method, I just want to understand what's wrong in my approach.

P.S. the reason why I am using WA is that for my more complicated system I need to compute the Fourier transforms using WA.

Worldsheep
  • 383
  • 1
  • 10

1 Answers1

0

The main reason is likely due to Wolfram Alpha applying the inverse Fourier transform as a second Fourier transform. In fact, doing so "flips time" - as can be shown mathematically:

Defining the '''flip-time operator''' $\mathcal{P}$ that inverts time, $\mathcal{P}[f(t)] ↦ f(−t)$ $$\begin{align} \mathcal{F}^0 &= \mathrm{Id}, \quad \mathcal{F}^1 = \mathcal{F}, \\ \mathcal{F}^2 &= \mathcal{P}, \quad \mathcal{F}^4 = \mathrm{Id}, \\ \mathcal{F}^3 &= \mathcal{F}^{-1} = \mathcal{P} \circ \mathcal{F} = \mathcal{F} \circ \mathcal{P} \end{align}$$

Applying the fourier transform 3 times to the system will get you the version in normal time. Since waves are time consistent, it normally does not matter.

Mark
  • 5,333
  • 16
  • 47