Complex Number Arithmetics & modeling sine waves

Overview

** Basis of Complex Number Arithmetic**

» Modeling sine waves

→ same frequency $\omega$

→ different amplitude $r$

→ different phase $\varphi$
» amplitude and phase

→ $\mathrm{sin}1.1x$ is shown in blue

→ $2.5\mathrm{sin}(1.1x+0.7)$ is shown in orange

*$2.5$ amplitude is the size change.
$0.7$ phase is the horizontal shift.
*

» Algebraic explanation

→ $r\mathrm{sin}(\omega x+\varphi )$

→ $=r(\mathrm{cos}\varphi \mathrm{sin}\omega x$$+\mathrm{sin}\varphi \mathrm{cos}\omega x)$

→ $=r(\mathrm{cos}\varphi +i\mathrm{sin}\varphi )\mathrm{sin}\omega x$

→ $=(a+ib)\mathrm{sin}\omega x$

→ $=a+ib$

» Geometrical explanation

→ $r\mathrm{sin}(\omega x+\varphi )$

$=2.5\mathrm{cos}\left(.7\right)\mathrm{sin}\left(1.1x\right)$

$+2.5\mathrm{sin}\left(0.7\right)\mathrm{cos}\left(1.1x\right)$

» Sine waves of same frequency is modeled with complex number $a+ib$

→ Complex addition as per sine wave addition

→ Complex multiplication as per sine wave interaction

complex arithmetics

In case of real numbers, Arithmetic operations makes sense as quantities are measured in real numbers.

• add and subtract : $3.3$ m/sec + $2.1$ m/sec speed

• multiply and divide : $4.2$ meter $\times 1.1$ coins per meter

It is so far explained that complex numbers are solutions to polynomials. In that context, what does it mean to

• add and subtract complex numbers

• multiply and divide complex numbers

This topic explains that from application perspective.

Most authors directly discuss the abstraction without any need to understand an application perspective. And, when one comes across the application where the concepts are relevant, at that time he/she has to put in extra effort to understand the abstraction in the application context.

As part of this course one application context is explained.

Complex numbers serve as mathematical model for

• Alternating Current(AC) sine waves with amplitude and phase, and the passive elements in the AC circuits that modify amplitude and phase of the input.

• Analysis of Systems that modify amplitude and phase of input.

• Analysis of Signals that can be expressed as sum of sine waves of different frequencies, amplitude and phase.

• Abstracted 2D plane : called complex plane, and abstract problems in that.

Note again :

• AC with amplitude and phase

• Systems that change amplitude and phase of input.

The key points in the above are 'Amplitude and phase'. The frequency of sine waves is a constant in these.

Complex numbers model amplitude and phase for

• sine waves ( amplitude and phase)

• passive elements (modification of amplitude and phase)

A sine wave of frequency $f$ with amplitude $r$ and phase $\theta$ is equivalently a complex number $r\mathrm{cos}\theta +ir\mathrm{sin}\theta$.

An element acts on an incoming sine wave and affects the amplitude and phase. The factor by which it modifies $r$ and the amount by which it shifts the phase $\theta$ is equivalently a complex number $r\mathrm{cos}\theta +i\mathrm{sin}\theta$.

Note 1: These statements are explained in topic 'Physics : Alternating Current'

Note 2: For the super-scientific readers -- The passive elements does rate of change and continuous aggregate of input sine wave. In the case of sine waves, those are modeled as differentiation and integration, and effectively result in a phase shift.

The later part of this page "Complex Number : Modeling sine waves" provides proofs and detailed explanation on how complex number is used in sine wave with amplitude and phase.

When the frequency of sine wave is constant :

• Addition of two sine waves with different amplitude and phase results in one sine wave of result-amplitude and result-phase. This is modeled by complex number addition / subtraction.

• Interaction of one sine wave input by a passive component that changes amplitude and phase, results in one sine wave of result-amplitude and result-phase. This is modeled by complex number multiplication and division.

Complex numbers provide the mathematical model for amplitude and phase of sine waves and how they are modified.

Complex numbers are a tool to approach problems in 2D complex plane.

Complex Arithmetic is understood from these applications perspective.

summary

**Application Scenario: **Complex number $a+ib$ model

• a sine wave of amplitude and phase

• an element that modifies amplitude and phase of sine waves

Mathematical operations (like addition, subtraction, multiplication, division) between complex numbers are defined for that model.

modelling sine waves

It is quite easy to introduce the following in abstract definitions:

• complex numbers,

• the arithmetic operations (addition, multiplication, powers, etc.) and

• properties (commutative, distributive, etc.)

Apart from understanding the abstract concepts, it will immensely benefit to understand application scenarios. This topic explains this.

One has to apply his or her mind to understand. Hope you enjoy exercising your brains.

The figure shows a sine wave. It is the plot for $f\left(x\right)=\mathrm{sin}\left(1.1x\right)$

The figure shows the sine wave $\mathrm{sin}\left(1.1x\right)$ in blue. In comparison, the sine wave in orange has different magnitude and phase. Phase is the horizontal shift the wave is having as shown in the figure.

The curve in orange is for $f\left(x\right)=2.5\mathrm{sin}(1.1x+.7)$.

This plot has $r=2.5$ and $\theta =0.7\text{radian}$.

Complex number $2.5(\mathrm{cos}\left(0.7\right)+i\mathrm{sin}\left(0.7\right))$ represents the wave. We will explain this in next few pages.

A sine wave with an amplitude and phase can be equivalently represented as sum of a sine wave and a cosine wave of different amplitudes and $0$ phase.

This is shown with a plot of sine and sum of (sin and cos) in the figure (explained in the next page).

**Mathematical Proof**:

$r\mathrm{sin}(\omega x+\varphi )$ Substituting sin(a+b) formula

$=a\mathrm{sin}\left(\omega x\right)+b\mathrm{cos}\left(\omega x\right)$

Where $a=r\mathrm{cos}\varphi$ and $b=r\mathrm{sin}\varphi$

Substituting $\mathrm{cos}\left(\omega x\right)=i\mathrm{sin}\left(\omega x\right)$

$r\mathrm{sin}(\omega x+\varphi )$

$=a\mathrm{sin}\left(\omega x\right)+ib\mathrm{sin}\left(\omega x\right)$

$=(a+ib)\mathrm{sin}\left(\omega x\right)$

Inverse of that, sum of sine and cosine waves of different amplitudes make a sine wave of a certain phase.

Prove

$a\mathrm{sin}\left(\omega x\right)+b\mathrm{cos}\left(\omega x\right)$

$=r\mathrm{sin}(\omega x+\varphi )$

The figure shows three plots. The sine wave in green equals the sum of sine waves in orange and purple. The sine wave in green is $2.5\mathrm{sin}(1.1x+.7)$

The sine wave in orange is $2.5\mathrm{cos}\left(.7\right)\mathrm{sin}\left(1.1x\right)$

The sine wave in purple is $2.5\mathrm{sin}\left(.7\right)\mathrm{cos}\left(1.1x\right)$

It can be verified that the first equals the sum of latter two at every point.

It is easy to prove that the addition of two sine waves of different phase results in another sine wave.

Prove

${r}_{1}\mathrm{sin}(\omega x+{\varphi}_{1})+{r}_{2}\mathrm{sin}(\omega x+{\varphi}_{2})$

$={a}_{3}\mathrm{sin}\left(\omega x\right)+{b}_{3}\mathrm{cos}\left(\omega x\right)$

prove that

$a}_{3}={a}_{1}+{a}_{2$

$b}_{3}={b}_{1}+{b}_{2$

This uses only trigonometry to prove the results. The complex number models this addition.

The sine waves, when passing through passive elements (resistors, capacitors, inductors) in AC circuits, undergo change in amplitude and phase. The passive elements are modeled as complex numbers.

The change in amplitude is given by $r$ and the change in phase is given by $\theta$, then the passive element is given as a complex number $r(\mathrm{cos}\theta +i\mathrm{sin}\theta )$.

It is easy to prove that the interaction of sine wave with an element that modifies amplitude and phase, is complex multiplication.

${r}_{1}\mathrm{sin}(\omega x+{\varphi}_{1})$ is the sine wave

$({r}_{2},{\varphi}_{2})$ is the element given as an ordered pair.

Multiplication is given by

Prove

${r}_{1}\mathrm{sin}(\omega x+{\varphi}_{1})\times ({r}_{2},{\varphi}_{2})$

$={r}_{1}{r}_{2}\mathrm{sin}(\omega x+{\varphi}_{1}+{\varphi}_{2})$

$={a}_{3}\mathrm{sin}\left(\omega x\right)+{b}_{3}\mathrm{cos}\left(\omega x\right)$

prove that

$a}_{3}={a}_{1}{a}_{2}-{b}_{1}{b}_{2$

$b}_{3}={a}_{1}{b}_{1}+{a}_{2}{b}_{2$

This uses only trigonometry to prove the results. The complex number models this.

Electrical current, Sine waves (having constant frequency) of different amplitude and phase is mathematically modeled with complex numbers.

Electrical passive elements that affect the amplitude and phase of sine waves is mathematically modeled with complex numbers.

Complex arithmetics (addition, multiplication, etc.) models the interaction between the sine waves and the elements.

Complex number is used to model Sine waves of same frequency, varying in amplitude and phase.

Complex number is used to model Systems that modify amplitudes and phase.

summary

**Application Details: **

• Sine wave is modeled as $(a+bi)\mathrm{sin}\left(\omega x\right)$

• sine wave addition $[({a}_{1}+{a}_{2})+i({b}_{1}+{b}_{2})]\mathrm{sin}\left(\omega x\right)$

•
sine wave interaction with an element as multiplication $[({a}_{1}{a}_{2}-{b}_{1}{b}_{2})+i({a}_{1}{b}_{1}+{a}_{2}{b}_{2})]\mathrm{sin}\left(\omega x\right)$

Complex number arithmetic is defined for these applications

• Complex number $a+ib$

• Complex number addition $({a}_{1}+{a}_{2})+i({b}_{1}+{b}_{2})$

•
Complex number multiplication

$({a}_{1}{a}_{2}-{b}_{1}{b}_{2})$

$+i({a}_{1}{b}_{1}+{a}_{2}{b}_{2})$

Outline

The outline of material to learn "complex numbers" is as follows.

Note : * Click here for detailed overview of Complex-Numbers *

→ __Complex Numbers in Number System__

→ __Representation of Complex Number (incomplete)__

→ __Euler's Formula__

→ __Generic Form of Complex Numbers__

→ __Argand Plane & Polar form__

→ __Complex Number Arithmetic Applications__

→ __Understanding Complex Artithmetics__

→ __Addition & Subtraction__

→ __Multiplication, Conjugate, & Division__

→ __Exponents & Roots__

→ __Properties of Addition__

→ __Properties of Multiplication__

→ __Properties of Conjugate__

→ __Algebraic Identities__