Loading [MathJax]/jax/output/CommonHTML/jax.js

User Tools

Site Tools


howto:hambasics:sections:test

This is an old revision of the document!


Optional Math of Waves

This is a brief survey of the math required to analyze waves at the first or second year university level.

Real numbers

If (5)×(5)=25 and (5)×(5)=25, what number (and it has to be the same number) can you put in the boxes so that:

×=25

It turns out that nowhere on the real number line is there a number such that when you multiply it by itself you get a negative number since two positive numbers give a positive number, and two negative numbers also give a positive number.

But could we invent one?

Complex Numbers

Let's create an imaginary number called i such that:

i=1i2=1

Even though i is nowhere on the real line (in math, we say that: iR), we can none-the-less perform interesting mathematical operations with it:

  • We can add it to a real number and create a complex number:

(1+i)

  • We can multiply complex numbers together:

(1+i)2=1+2i+i2=1+2i1=2i

  • We can find roots:

z4=16z2={4z=±24z=±2i

A Little Philosophy

If these weird numbers follow all of the algebra rules without inconsistencies, does it mean they exist as much as the real numbers? Aren't complex numbers a mere creation of mathematicians? Is mathematics discovered or invented?1)

In a certain way, negative numbers are just as weird as complex numbers: after all, we know what 5 cars look like, but −5 cars?

The Complex Plane

To represent a complex number graphically, we can use the horizontal axis for the real part and the vertical axis for the imaginary part. For example, (1+i) could be represented as a point 45° up the horizontal axis and 2 away from the origin.

You can move the point around to see what the polar representation (rθ) is.

Download polar.ggb

To convert between the Cartesian (a,b) and the Polar (rθ) representations, only simple trigonometry and Pythagoras is needed.

a+ibrθ rθa+ib
r2=a2+b2 a=rcosθ
tanθ=ba b=rsinθ

Roots

The complex plane allows us to take another look at how to find roots of the form zn=w. For example, if we set w=9 and n=2 on the graph below, we'll see that the roots to z2=9 are z=±3.

Download complexroots.ggb

Without using the graph above, what do you expect the solution(s) to z3=8 will be? That is, what number(s), when multiplied by itself three times gives 8?

Now move w=8 and n=3 to have a look at the solutions.

Click to display ⇲

Click to hide ⇱

So z = 2 was to be expected since 23=8 but it looks like there's two more solutions.

To find them, we first notice that the three solutions are spread out evenly around the circle, that is they are 120° apart. So in polar coordinates, the three solutions are z=20,2120,2240.

We can now convert them to Cartesian:

  • z=20=(2cos(0),2sin(0))=(2,0)=2
  • z=2120=(2cos(120),2sin(120))=(1,3)=1+i3
  • z=2240=(2cos(240),2sin(240))=(1,3)=1i3

Let's check that the second solution works: (1+i3)3=(1+i3)(1+i3)(1+i3)=(1+i3)(12i3+(i2)(3))=(1+i3)(12i3+(1)(3))=(1+i3)(22i3)=2+2i32i3(2)i2(3)=2(2)(1)(3)=2+6=8


The Euler Identity

The Euler identity exposes a deep relationship between trigonometric and exponential functions2):

eiθ=cosθ+isinθ

Let's use two different ways to verify that this mysterious identity works.

The Derivatives

If we separate this identity into two functions and take their derivatives, we notice that: f(θ)=eiθ & g(θ)=cosθ+isinθf(θ)=ieiθ & g(θ)=sinθ+icosθf(θ)=if(θ) & g(θ)=ig(θ)

We know that there's only one functions h(x) that satisfies the differential equation h(x)=ah(x), and it is h(x)=Aeax What Euler discovered is that when a=i , there's a second function that also satisfies the same differential equation! These two functions must therefore be one and the same.

Taylor

Another method to verify the Euler identity is to use Taylor series:

ex=1+x+x22!+x33!+x44!+x55!+sinx=xx33!+x55!cosx=1x22!+x44!

  1. Replace x with iθ in the Taylor series of ex
  2. Replace x with θ in the Taylor series for sinx and cosx
  3. Add the Taylor series of cosθ and isinθ together and you'll get the Taylor series for eiθ

Exercises

  • Use the Euler identity to get the following two useful results:

cosθ=eiθ+eiθ2 & sinθ=eiθeiθ2i

Click to display ⇲

Click to hide ⇱

  • Modify the Euler identity to see what happens when the angle is (θ)

eiθ=cosθ+isinθei(θ)=cos(θ)+isin(θ)eiθ=cosθisinθ

  • Add the original Euler identity to the new one for (θ) and simplify:

eiθ=cosθ+isinθ+eiθ_=cosθisinθ_eiθ+eiθ=2cosθcosθ=eiθ+eiθ2

  • To get the second equation, take the original Euler identity and subtract the new one for (θ) from it and simplify:

eiθ=cosθ+isinθeiθ_=cosθisinθ_eiθeiθ=2isinθsinθ=eiθeiθ2i


  • Use the Euler identity to show that:

cos(θ+ϕ)=cosθcosϕ+sinθsinϕsin(θ+ϕ)=cosθsinϕ+sinθcosϕ

Click to display ⇲

Click to hide ⇱

  • Multiply the Euler identities for θ and ϕ and simplify.

eiθ=cosθ+isinθ×eiϕ_=cosϕ+isinϕ_eiθeiϕ=(cosθ+isinθ)(cosϕ+isinϕ)eiθ+iϕ=(cosθ)(cosϕ)+(cosθ)(isinϕ)+(isinθ)(cosϕ)+(isinθ)(isinϕ)ei(θ+ϕ)=cosθcosϕ+icosθsinϕ+isinθcosϕ+i2sinθsinϕei(θ+ϕ)=cosθcosϕ+i(cosθsinϕ+sinθcosϕ)sinθsinϕei(θ+ϕ)=(cosθcosϕsinθsinϕ)+i(cosθsinϕ+sinθcosϕ)

But the Euler identity for angle (θ+ϕ) is: ei(θ+ϕ)=cos(θ+ϕ)+isin(θ+ϕ)

So comparing the real and imaginary parts, we can conclude that: cos(θ+ϕ)=cosθcosϕsinθsinϕsin(θ+ϕ)=cosθsinϕ+sinθcosϕ


  • Use the two earlier results to show that:

sin(θ+Δθ)+sin(θΔθ)=2cosΔθsinθ

  • Use the last result for sin(θ+ϕ) but replace ϕ with Δθ

sin(θ+Δθ)=cosθsinΔθ+sinθcosΔθ

Similarily, sin(θΔθ)=cosθsin(Δθ)+sinθcos(Δθ)sin(θΔθ)=cosθsinΔθ+sinθcosΔθ

Adding both of these together, we get: sin(θ+Δθ)+sin(θΔθ)=cosθsinΔθ+sinθcosΔθcosθsinΔθ+sinθcosΔθ=2sinθcosΔθ

Équations différentiels

Dans la physique des ondes, on aura bientôt à trouver la solutions d'une équation différentiel de ce type: a¨x(t)+b˙x(t)+cx(t)=0

Dans nos applications, les paramètres a,b,c serons tous des quantités réels et positive. Même sans avoir étudier le sujet d'équation différentiels en profondeurs, on peut imaginer qu'une solution possible serait x(t)=ert puisque la dérivé d'une fonction exponentiel est elle même une fonction exponentiel, ce qui est encourageant... L'étape suivante est donc d'essayer cette fonction dans l'équation différentiel, pour trouver les valeurs de r qui fonctionnent. Donc:

x(t)=ert˙x(t)=rert¨x(t)=r2ert

et notre équation différentiel devient:

a¨x(t)+b˙x(t)+cx(t)=0a(r2ert)+b(rert)+c(ert)=0ert(ar2+br+c)=0ar2+br+c=0

r=b2a±b24ac2a

Puisque r contient une racine carré, il peut être réel, ou complexe. Pour simplifier la notation, disons que: α=b2aetβ=|b24ac|2a

Nous pourrons donc dire que: r={α±βsi b24ac>0,α±iβsi b24ac<0,

Examinons les deux cas en plus de détails.

Cas 1:

Quand b24ac>0 , r est réel et la solutions général sera:

x(t)=A1er1t+A2er2t=A1e(α+β)t+A2e(αβ)t=A1eαteβt+A2eαteβt

x(t)=eαt(A1eβt+A2eβt)

C'est normal d'avoir deux constantes d'intégrations puisque notre équation différentiel a une dérivé du second degré. Pour trouver ces constantes, ça nous prendrait des valeurs initiales.

Cas 2:

Quand b24ac<0 , r est complexe et nous utiliserons la formule de Euler pour simplifier notre solutions.

x(t)=A1er1t+A2er2t=A1e(α+iβ)t+A2e(αiβ)t=A1eαteiβt+A2eαteiβt=eαt(A1eiβt+A2eiβt)=eαt(A1(cos(βt)+isin(βt))+A2(cos(βt)+isin(βt)))=eαt(A1(cos(βt)+isin(βt))+A2(cos(βt)isin(βt)))=eαt((A1+A2)cos(βt)+i(A1A2)sin(βt))=eαt(a1cos(βt)+a2sin(βt))=eαt(Asinϕcos(βt)+Acosϕsin(βt))

Dans les deux dernière ligne, nous avons ré-écrit les constantes d'intégration:

a1=A1+A2,a2=i(A1A2)a1=Asinϕ,a2=Acosϕ

Pour finalement pouvoir utiliser une identité trigonométrique:

x(t)=Aeαtsin(βt+ϕ)

Exemple

Nous avons donc deux types de solutions complètement différents qui dépendent de trois paramètres a,b,c. Pour voir comment ces paramètres affectent le graphique, imaginons qu'une de nos conditions initiales est ϕ=π2 . Ça veut dire que:

a1=Asinπ/2=Aa2=Acosπ/2=0A1+A2=AA1A2=0A1=A/2A2=A/2

Dans ce cas particulier, nous avons donc:

x(t)={Aeαteβt+eβt2si b24ac>0,Aeαtcos(βt)si b24ac<0,

FIXME Geogebra

1)
Whether math is discovered or invented is a famous philosophical problem. If you think it's invented: does that mean that 2 + 2 didn't equal 4 until someone invented that? If you think it's discovered, what about computer programs? At the root, all computing is basically just math.
2)
Note, to obtain the most beautiful equation in the world, put set θ=π in the Euler identity ...
howto/hambasics/sections/test.1609697414.txt.gz · Last modified: by va7fi