Week of 9/4

(Difference between revisions)
Jump to: navigation, search
(when is it ok to assume physical expressions are complex?)
(when is it ok to assume physical expressions are complex?)
Line 25: Line 25:
 
<math>\ddot{x_r} + \gamma \dot{x_r} + \omega_0 ^2 x_r +
 
<math>\ddot{x_r} + \gamma \dot{x_r} + \omega_0 ^2 x_r +
 
i\left[\ddot{x_i} + \gamma \dot{x_i} + \omega_0 ^2 x_i\right] = F_r/m + i F_i /m </math>
 
i\left[\ddot{x_i} + \gamma \dot{x_i} + \omega_0 ^2 x_i\right] = F_r/m + i F_i /m </math>
 +
 +
Now, whenever you have a complex equation this is equivalent to two real equations, among the
 +
real parts and the imaginary parts.  Here we have
 +
 +
<math>\ddot{x_r} + \gamma \dot{x_r} + \omega_0 ^2 x_r = F_r/m </math>
 +
 +
and
 +
 +
<math>\ddot{x_i} + \gamma \dot{x_i} + \omega_0 ^2 x_i = F_i/m </math>

Revision as of 03:09, 8 September 2006

Try the following notebook

Mathematica.png Download manipulating complex numbers in Mathematica.

Also, take a look at Mathematica Tips and Tricks.

A real amplitude and phase measurement. Top figure shows the amplitude of the transmitted and reflected electric fields. Bottom are the corresponding amplitudes.

Emfields.gif


when is it ok to assume physical expressions are complex?

Consider the forced, damped, simple harmonic oscillator.

\ddot{x} + \gamma \dot{x} + \omega_0 ^2 x_r = F/m

Let's pretend that both x and F are actually complex variables. So we would write

x = x_r + i x_i \ \ \ \  F = F_r + i F_i \,

Plugging these into the equation above we get

\ddot{x_r} + \gamma \dot{x_r} + \omega_0 ^2 x_r +
i\left[\ddot{x_i} + \gamma \dot{x_i} + \omega_0 ^2 x_i\right] = F_r/m + i F_i /m

Now, whenever you have a complex equation this is equivalent to two real equations, among the real parts and the imaginary parts. Here we have

\ddot{x_r} + \gamma \dot{x_r} + \omega_0 ^2 x_r = F_r/m

and

\ddot{x_i} + \gamma \dot{x_i} + \omega_0 ^2 x_i = F_i/m

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox