1 / 35

P1- Complex Algebra

P1- Complex Algebra. 4. Solving Differential Equations with Complex Numbers (I). Summary of previous lecture. The derivative of a complex function with respect to a real variable follows the same rules of differentiation as for real functions. We simply treat i as a constant.

katherync
Download Presentation

P1- Complex Algebra

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. P1- Complex Algebra 4. Solving Differential Equations with Complex Numbers (I)

  2. Summary of previous lecture • The derivative of a complex function with respect to a real variable follows the same rules of differentiation as for real functions. We simply treat i as a constant. • Complex functions are only differentiable wrt a complex variable zif they are analytic. All the known rules of differentiation then apply, and again we treat i as a constant.

  3. Summary cont. • In integrating complex functions along the real line, it is useful to bear in mind that

  4. Summary cont. • Substitution of trial solutions of the form can be used to solve homogenouslinear ordinary differential equations, i.e. of the form • This produces an auxiliary polynomial with n complex solutions.

  5. Summary cont. • Each of those solutions sk, substituted into produces one valid solution to the differential equation. • The value of the constants Akis determined by the initial conditions. • The general solution to the original differential equation is given by

  6. Contents 4.1Inhomogenous ordinary differential equations 4.2 Introduction to phasors 4.3 Solution of 1st order differential equations using phasors 4.4 Solution of 2nd order differential equations using phasors

  7. 4.1 Inhomogeneous ODEs • Many differential equations describing physical systems are inhomogeneous, i.e. they contain terms that are not functions of the dependent variable, e.g. • The inhomogeneous term (the non-zero RHS) is known as the forcing function.

  8. Inhomogeneous ODEs cont. • The solution to an inhomogenous linear ODE will consist of 2 parts: • The complementary function or transient solution • The particular integral or steady state solution

  9. Inhomogeneous ODEs cont. • The complementary function is found by ignoring the forcing function and solving the corresponding homogenous equation (as in section 4.2). • The particular integral requires the use of a different trial solution, whose form will be determined by the forcing function.

  10. Inhomogeneous ODEs cont. • Complex numbers can be used to simplify finding the particular integral. • First the forcing function must be rewritten in complex form. • We use the fact that (cosθ + isinθ) = eiθ and so cosθ = Re(eiθ).

  11. Inhomogeneous ODEs cont. • Thus the forcing function in this case can be rewritten as Note that C = ceiφis complex and denotes both the magnitude (c) and phase(φ) of the forcing function with respect to the reference function eiωt.

  12. 4.2 Phasors • For this reason, C = ceiφis called a phasor. • Our trial solution for the steady state response of the system x will be of the same form where X is again complex and is known as the response phasor

  13. Phasorscont. • If we differentiate , we obtain the phasor component of which is • Note that differentiating xmultiplies the magnitude of the phasor by ωand rotated the phasor by π/2. • Differentiating again repeats the effect giving the phasor

  14. Phasorscont. • are complex numbers and so can be plotted on an Argand diagram, which is then called a phasor diagram.

  15. Phasors cont. • Notation convention • Responses that have phasorsclockwise of another phasor are said to lag it. • Responses that have phasorsanticlockwise of another phasor are said to lead it.

  16. Phasors cont. • So if there are 2 functions • x2 is said to lag x1 by ϕ or alternatively ϕis the phase lag between x1 and x2

  17. 4.3 Solution of 1st order differential equations using phasors • We can use this type of diagram to solve differential equations • Consider again • Converting to phasor form

  18. Solution of differential equations using phasors cont. • Substituting gives • We can drop the Re() notation for convenience as this is implicit in equating real numbers.

  19. Solution of differential equations using phasors cont. • We can obtain the solution either algebraically or graphically using a phasor diagram. • Algebraically:

  20. Solution of differential equations using phasors cont. • Thus • And hence • With phase difference

  21. Solution of differential equations using phasors cont. • Graphically: • To plot the phasor diagram we choose one function to be our reference function. • Let us choose xin this case and Ψ as the phase lead of the forcing function phasorC.

  22. Solution of differential equations using phasors cont. • We can now use Pythagoras’ theorem to find |X| • and trigonometry gives

  23. Solution of differential equations using phasors cont. • We therefore have the steady state solution

  24. 4.4 Solution of 2nd order differential equations using phasors • e.g. Consider a mass mounted on a spring and a damper. We assume that the spring and the damper are linear, the spring providing a force proportional to its extension, and the damper a force proportional to the rate of extension. There is an additional sinusoidally varying force f acting on the mass. Describe the steady state motion of the mass.

  25. Solution of 2nd order differential equations using phasors cont. • The equation of motion of the mass is: • As before we make the substitutions and giving

  26. Solution of 2nd order differential equations using phasors cont. • f varies sinusoidally so we can represent it using a phasorF • Similarly the steady state response will be of the form • And thus and

  27. Solution of 2nd order differential equations using phasors cont. • Substituting the above into the equation of motion gives: • Cancelling the exponentials and rearranging the equation gives

  28. Solution of 2nd order differential equations using phasors cont. • Which can be written in polar form as

  29. Solution of 2nd order differential equations using phasors cont. • The steady state solution is then

  30. Solution of 2nd order differential equations using phasors cont. • We can plot the magnitude and phase of x as a function of ωand c (i.e. the driving frequency and damping in the system)

  31. Solution of 2nd order differential equations using phasors cont. • For low levels of damping we can see a peak at around the frequency of free vibrations (resonance). • The lower the damping, the higher the peak and the closer the resonance frequency to the natural frequency. • As damping increases, the peak disappears.

  32. Solution of 2nd order differential equations using phasors cont.

  33. Solution of 2nd order differential equations using phasors cont. • At low frequencies, the displacement is in phase with the force: this is the response of a spring, and the magnitude is then given by Hooke’s law. • At resonance, the response is out of phase with the force. • At high frequencies, the response is in anti-phase

  34. Mass phasor Damper phasor Spring phasor Solution of 2nd order differential equations using phasors cont. • We can also predict these trends from the phasor diagram:

  35. Solution of 2nd order differential equations using phasors cont. • At low frequencies, the phase lag is small and the force phasor is almost equal to the spring force phasor. • Near resonance, the spring force and the mass force phasors cancel each other out and the response is dominated by damping (the damping phasor). • At high frequencies, the mass phasor grows to be much larger than all others.

More Related