munotes®

Applied Mathematics Notes | B.Sc. (Information Technology) Semester 3 | Mumbai University | munotes

Official Notes munotes.in

Applied Mathematics

B.SC. (INFORMATION TECHNOLOGY) · SEMESTER 3

Strictly as per the University of Mumbai NEP syllabus in force for B.Sc. (Information Technology)

For B.Sc. (Information Technology) students of the University of Mumbai and all its affiliated colleges

Open the book ↓

munotes.in Second Year

Applied Mathematics

Copyright © 2026 munotes.in. All rights reserved.

Written and first published by munotes.in, 2026.

This book is free for individual students to read at munotes.in. No part of it may be reproduced, distributed, stored, translated or used for institutional or classroom purposes in any form without a prior written licence from munotes.in.

Licensing and permissions: contact@munotes.in

The text of statutes and of judgments reproduced in this book is in the public domain under section 52(1)(q) of the Copyright Act 1957. The commentary, arrangement, examples and questions are the original work of munotes.in.

munotes.in is an independent study resource for MU students. It is not affiliated with, endorsed by, or officially connected to the University of Mumbai. Course names and university references describe the students and syllabus the material relates to.

munotes.in

Contents

Module I 1 Complex Numbers: Complex number, Equality of complex numbers, Graphical representation of complex number (Argand's Diagram), Polar form

  1. What This Subject Is About, and Where an IT Student Meets It 1
  2. How This Paper Is Examined, and What That Means for Your Revision 3
  3. Why the Square Root of Minus One Had To Be Invented 5
  4. The Complex Number, and Its Two Parts 7
  5. The Powers of i, and the Cycle of Four 10
  6. Equality of Two Complex Numbers, and the Two Equations It Gives You 12
  7. Adding and Subtracting Complex Numbers 15
  8. Multiplying Complex Numbers 17
  9. The Conjugate, and the Three Things It Is For 19
  10. Dividing Complex Numbers 22
  11. The Argand Diagram: Drawing a Complex Number 24
  12. The Modulus, and Distance in the Plane 27
  13. The Argument, and the Trap Every Calculator Sets 30
  14. Addition and Subtraction on the Argand Diagram 33
  15. Multiplication and Division on the Argand Diagram 36
  16. The Polar Form of a Complex Number 38
  17. The Polar Form of x + iy for Every Combination of Signs 40
  18. Multiplying and Dividing in Polar Form 42
  19. De Moivre's Theorem 44
  20. Taking a Power with De Moivre's Theorem 47
  21. The n Roots of a Complex Number 49
  22. The Roots of Unity, and Why a Computer Scientist Meets Them 52
  23. Euler's Formula, and the Exponential Form 54
  24. Why e to the i theta Really Is cos theta + i sin theta 56
  25. The Exponential Form at Work 58
  26. The Logarithm of a Complex Number 60
  27. Circular Functions of a Complex Angle 62
  28. Separating sin(x + iy) and cos(x + iy) 64
  29. The Hyperbolic Functions 66
  30. The Hyperbolic Identities 68
  31. The Relations Between the Circular and the Hyperbolic Functions 70
  32. Osborn's Rule, and Where It Fails 72
  33. tan(x + iy), and Separating It Into Real and Imaginary Parts 74
  34. The Inverse Hyperbolic Functions, and Why They Are Logarithms 76
  35. Inverse Circular Functions of a Complex Number 78
  36. Separating an Inverse Function Into Real and Imaginary Parts 80
  37. Indeterminate Forms, and Why Zero Over Zero Is Not a Number 82
  38. L'Hopital's Rule, and the Three Places This Paper Needs It 84
  39. What a Transform Is, and Why Anyone Would Want One 86
  40. The Definition of the Laplace Transform 88
  41. Does the Integral Exist? Piecewise Continuity and Exponential Order 91
  42. The Transform of 1, of t, and of t to the n, From the Definition 94
  43. The Transform of e to the at, From the Definition 96
  44. The Transform of sin at and cos at, From the Definition 98
  45. The Transform of sinh at and cosh at 100
  46. The Table of Elementary Transforms 102
  47. Linearity, and What It Does and Does Not Let You Do 104
  48. The First Shifting Theorem 106
  49. The First Shifting Theorem at Work 108
  50. Multiplying by t: Differentiating the Transform 110
  51. Multiplying by a Power of t 112
  52. Dividing by t: Integrating the Transform 114
  53. Change of Scale 116
  54. The Transform of a Derivative 118
  55. The Transform of an Integral 120
  56. The Initial and Final Value Theorems 122
  57. The Unit Step Function 125
  58. The Second Shifting Theorem 127
  59. Writing a Piecewise Function With Step Functions 129
  60. The Transform of a Periodic Function 132
  61. The Unit Impulse, and the Dirac Delta Function 134
  62. The Transform of Special Functions 137
  63. The Convolution Theorem 139
  64. Proving the Convolution Theorem, and Using It Forwards 142
  65. What the Inverse Transform Is 145
  66. The Table Read Backwards 147
  67. Completing the Square, and the First Shifting Theorem Backwards 149
  68. Partial Fractions: Distinct Linear Factors 151
  69. Partial Fractions: Repeated Factors 153
  70. Partial Fractions: Irreducible Quadratic Factors 155
  71. The Cover-Up Rule, and How to Check a Partial Fraction in Ten Seconds 157
  72. Inverting With the Second Shifting Theorem 160
  73. Inverting by Convolution 162
  74. Inverting When F(s) Is a Derivative, an Integral, or Has a Factor of s 164
  75. Solving a Differential Equation by the Transform: The Method 166
  76. Worked First-Order Initial Value Problems 168
  77. Second-Order Initial Value Problems 170
  78. Equations Driven by a Step or an Impulse 172
  79. Simultaneous Differential Equations by the Transform 174

Module II 1 Equation of the first order and of the first degree: Separation of variables, 15 Hrs

  1. What a Differential Equation Is 176
  2. Order, Degree, and Linearity 178
  3. Where Differential Equations Come From 180
  4. Forming a Differential Equation by Eliminating the Constants 182
  5. What a Solution Is: General, Particular, and Singular 184
  6. Separating the Variables 187
  7. Worked Separable Equations 189
  8. Equations That Become Separable by a Substitution 191
  9. Equations Homogeneous in x and y 193
  10. Worked Homogeneous Equations 196
  11. Non-Homogeneous Linear Equations 199
  12. When the Two Lines Are Parallel 201
  13. The Exact Differential Equation 203
  14. The Test for Exactness, and Why It Works 205
  15. Solving an Exact Equation 207
  16. Integrating Factors: What They Are and Why They Exist 210
  17. Finding an Integrating Factor by Inspection 212
  18. The Integrating Factor of a Homogeneous Equation 214
  19. The Integrating Factor When the Equation Has the Form y f(xy) dx + x g(xy) dy 216
  20. The Integrating Factor That Depends on x Alone 218
  21. The Integrating Factor That Depends on y Alone 220
  22. The Linear Equation of the First Order 223
  23. Bernoulli's Equation, and Other Equations Reducible to the Linear Form 226
  24. The Method of Substitution, Gathered Into One Place 229
  25. First-Order Equations in Practice: Decay, Cooling, Circuits and Trajectories 231
  26. An Equation of the First Order and a Degree Higher Than the First 234
  27. Solvable for p: The Method of Factors 236
  28. Worked Equations Solvable for p 239
  29. Solvable for y 241
  30. Worked Equations Solvable for y 243
  31. Solvable for x 245
  32. Clairaut's Form 247
  33. The Singular Solution, and the Envelope 249
  34. Reducing an Equation to Clairaut's Form 252
  35. Choosing the Method: A Decision Table for Module 2 254
  36. What a Linear Equation With Constant Coefficients Is 256
  37. The Differential Operator D 259
  38. The Laws D Obeys, and the One It Does Not 261
  39. The Auxiliary Equation 263
  40. Case One: Real and Distinct Roots 265
  41. Case Two: Repeated Roots 267
  42. Case Three: Complex Roots 269
  43. Case Four: Repeated Complex Roots 271
  44. The Complete Solution: Complementary Function Plus Particular Integral 273
  45. The Complementary Function, and What It Physically Means 276
  46. The Inverse Operator 1 Over f(D) 278
  47. The Particular Integral When X Is an Exponential 280
  48. When the Exponential Rule Fails, and What To Do 282
  49. The Particular Integral When X Is a Sine or a Cosine 284
  50. When the Sine Rule Fails 286
  51. The Particular Integral When X Is a Polynomial 288
  52. The Particular Integral When X Is an Exponential Times Something Else 290
  53. The Particular Integral When X Is x Times a Function 293
  54. The General Method, For When No Rule Fits 295
  55. Worked Equations End to End 298
  56. Where These Equations Come From: Circuits, Springs and Signals 301
munotes.in

Module I

1 Complex Numbers: Complex number, Equality of complex numbers, Graphical representation of complex number (Argand's Diagram), Polar form

munotes.in

Chapter One

What This Subject Is About, and Where an IT Student Meets It

Syllabus topic Module 1, "1.1 Complex Numbers" and Module 1, "1.2 The Laplace Transform" and Module 2, "2.1 Equation of the first order and of the first degree"

In one line

This paper teaches four things, and every one of them is a way of turning a problem you cannot do into a problem you can.

The four things

MU's own description of the course says it is "equipped with Complex numbers, Laplace transform, Inverse Laplace transform, Differential equations of first order with first degree and higher degree". Those are the four, and they come in that order for a reason: each one is built out of the one before it.

WhatWhere it sitsWhat it is for
Complex numbersModule 1A size and a rotation carried as one number
The Laplace transformModule 1Turning calculus into algebra
The inverse transformModule 1Turning the algebra back into an answer
Differential equationsModule 2Describing anything that changes

The two modules look like two unrelated halves and are not. Module 2 solves differential equations by hand, method by method. The second half of Module 1 solves them a completely different way, by transforming them into ordinary algebra. You will meet the same equations twice, from two directions, and understanding either one properly makes the other easier.

Why an Information Technology degree teaches mathematics with no computer in it

This is the honest question and it deserves an honest answer rather than a slogan.

Because a rotation is a multiplication. Rotating a point about the origin in two dimensions takes four multiplications and two additions if you write it with sines and cosines. Written as a complex number it is one multiplication. Every graphics library on earth does the three dimensional version of that trick with quaternions, which are what you get when you do to complex numbers what this chapter does to real ones.

Because compression is a transform. JPEG, MP3, and every modern video codec work by carrying a signal out of the place where it lives (amplitude against time) into a place where most of it is nearly zero (amplitude against frequency), throwing away the nearly zero part, and carrying it back. That is exactly the shape of what the Laplace transform does in Module 1, and the Fourier transform which does the compressing is its close relative.

Because a system that changes over time is a differential equation. The charge on a capacitor, the temperature of a processor under load, the number of packets queued at a router, the population of a cache: each is described by an equation relating a quantity to its own rate of change. Module 2 is how such an equation is solved.

None of those three is examinable. They are here because a technique learned with no idea what it is for is a technique forgotten by March, and because you are entitled to know.

munotes.in1

What This Subject Is About, and Where an IT Student Meets It

What is actually being asked of you

This is a two credit Vocational Skill Course of thirty hours, examined for fifty marks. It is one of the smaller papers of the semester and it is also one of the most concentrated: thirty hours is not much time for four topics of this size, so almost nothing in it is padding.

The examination is thirty marks in one hour and it is described in the next chapter, which is worth reading before you start rather than after you finish.

How this book is built

Three things about it are worth knowing before you begin.

It follows MU's own order and her own words. Every chapter says at the top which of her printed labels it sits under. Where she prints a label that carries three separate techniques, this book gives each technique its own chapter, because her paper sets them separately.

Nothing in it was proof-read. Every equation, every transform, every solution of every differential equation in all 135 chapters was read back out of the page by a computer algebra system and re-derived. A transform is recomputed from the defining integral; a solution of a differential equation is substituted back into the equation and must reduce to zero. In a subject where a reader cannot tell a wrong sign from a right one, proof-reading is not good enough.

It is written to be read from zero. If you have not touched mathematics since the first year, start at chapter one and keep going. Nothing is assumed except the algebra and the calculus of the first year: how to differentiate, how to integrate a standard function, how to integrate by parts, and how to split a fraction into partial fractions. Each of those is reintroduced at the point where it is first needed.

A word about what you already know

You have seen more of this than you think.

You know that the square root of a negative number "does not exist". Module 1 begins by showing that this was never quite true, and what happens when you stop insisting on it.

You know how to integrate. The Laplace transform is one integral, done once, and then never done again because the answers go in a table.

You know how to differentiate. Half of Module 2 is undoing that.

The new thing in this paper is not any single technique. It is the habit of asking, of a problem you cannot do, whether there is somewhere else it would be easy. That habit is worth more than the marks.

Contents This chapter on its own page

munotes.in2

Chapter Two

How This Paper Is Examined, and What That Means for Your Revision

Syllabus topic Module I, the paper as a whole

In one line

Thirty marks, one hour, and MU prints two different papers for it without saying which you will get.

What MU actually prints

Row 14 of MU's syllabus block for this paper reads: "Format of Question Paper: (Semester End Examination : 30 Marks. Duration:1 hour)", and then it prints this.

Pattern APattern B
Q1Any two out of four, Module 1Any three out of five, Module 1
Q2Any two out of four, Module 2Any three out of five, Module 2
Marks15 and 1515 and 15
Per sub-question7.55
Answers you write46

Between the two she prints the single word "Or". That is not a printing slip and it is not a choice you make in the hall. It means the paper setter may use either shape, and you will not know which until the paper is in front of you.

The four things that follow from it, and they are the whole of your strategy

Both modules carry exactly the same weight. Fifteen marks each, in separate questions, with no crossover question at all. You cannot trade one against the other. A student who knows Module 1 perfectly and Module 2 not at all is capped at fifteen out of thirty, which is a fail.

You write between four and six answers in sixty minutes. That is ten minutes an answer at most, including reading the paper and choosing. An answer that takes you twenty minutes has cost you another one.

Choice is generous, so nothing has to be perfect, but nothing can be blank. Four printed out of which you pick two, or five out of which you pick three. You can afford to be caught out by one topic in each module. You cannot afford to be caught out by three.

The grain is five marks and it is also seven and a half. This is the awkward one. Under pattern B a question is worth five marks, which is a statement plus a short worked example. Under pattern A the same material is worth seven and a half, which is the same thing plus the derivation or a second case. So every technique in this book is shown twice: in full, and then in the short form that fits five marks.

The internal twenty, which is easier to collect and is routinely thrown away

Row 13 prints the internal assessment.

She sets two class tests, each out of 15, and it is the average of the two that counts, so the marks that actually add up to the internal twenty are these.

ComponentMarks
The average of the two class tests, each out of 1515
Quizzes, presentations or assignments5
Total20
munotes.in3

How This Paper Is Examined, and What That Means for Your Revision

Two points about it are worth more than they look.

The two class tests are averaged, not added. A poor first test can be pulled up by a good second one, so a bad start is recoverable.

The five marks for quizzes and assignments are set against the Course Objectives, not against the module labels, and MU's sixth Course Objective names a topic that appears in no module: indeterminate forms. This book teaches it for that reason. It is the two chapters on indeterminate forms and L'Hopital's rule, and they are cheap marks that most students do not prepare at all.

Passing

MU's Scheme of Examination row prints "Individual Passing in Internal and External Examination" and her Standards of Passing row prints forty per cent. So you need eight of the twenty internal and twelve of the thirty external, separately. Collecting eighteen internal and eleven external is a fail, which is the outcome this arrangement exists to prevent and which happens every year.

What to do with this book in the last week

The chapters are short on purpose and each one ends with a section that tests you on it. If you have a week:

Work backwards from the methods, not forwards from the theory. In Module 2, the chapter called "Choosing the Method" is a decision table over everything in both of the first two sections; if you can use that table under time pressure you will not lose five minutes on a wrong method, which is where most of the marks in that module go.

In Module 1, make sure you can do three things without hesitating: separate a complex expression into real and imaginary parts, read the table of transforms in both directions, and split a fraction into partial fractions. Those three appear in nearly every question of the module in some form.

And do not skip the derivations because they look like they are not asked. They are the seven and a half mark half of pattern A.

Contents This chapter on its own page

munotes.in4

Chapter Three

Why the Square Root of Minus One Had To Be Invented

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

The square root of minus one was not invented to solve x squared plus one equals zero. It was forced on mathematics by cubic equations whose answers were perfectly ordinary real numbers.

The story everyone is told, and why it is wrong

The usual opening is this. Consider the equation below.

x^2 + 1 = 0

It has no real solution, because a square is never negative. So, the story goes, mathematicians invented a new number whose square is minus one, and called it i.

That is a tidy story and it is not what happened. For three hundred years mathematicians met equations like that one and were entirely content to say: this equation has no solution. There was no pressure at all. An equation with no answer is not a crisis; it is just an equation with no answer.

What actually broke the position was something much stranger.

What actually happened

In 1545 Cardano published a formula for solving the cubic equation. Applied to a cubic with three perfectly good real roots, the formula sometimes ran through the square root of a negative number on the way to them.

Take this cubic.

x^3 - 15x - 4 = 0

You can check by hand that x = 4 is a root.

4^3 - 15(4) - 4 = 64 - 60 - 4 = 0

So the equation has a real, whole number answer, sitting there in plain view. But Cardano's formula for this cubic asks you to compute the following.

sqrt(4^2 - 15^3/27) = sqrt(16 - 125) = sqrt(-109)

There is the difficulty, and it is a completely different difficulty from the first one. The answer is real. The question is real. The only route between them, by the one general formula anybody had, goes through the square root of a negative number.

You cannot dismiss this the way you dismiss x squared plus one equals zero. There is no "this has no solution" available, because the solution is four.

What Bombelli did about it

In 1572 Rafael Bombelli took the position that has been taken ever since: carry on calculating with the square roots of negative numbers as though they were ordinary, obeying the ordinary rules of algebra, and see whether the imaginary parts cancel at the end.

They did. The two awkward cube roots in Cardano's formula turned out to be, in modern notation, 2 + i and 2 - i, and adding them gives 4. The imaginary parts cancelled exactly and the real answer fell out.

Here is that cancellation, verified.

(2 + i)^3 = 2 + 11i

(2 - i)^3 = 2 - 11i

(2 + i) + (2 - i) = 4

munotes.in5

Why the Square Root of Minus One Had To Be Invented

The two cubes are the two quantities Cardano's formula asks for, and their sum is the root of the cubic. The square root of minus one appears in the middle of the calculation, does its work, and is gone by the end.

The point of telling you this

Three things, and all three matter for how you should think about the rest of Module 1.

i is not a fiction that mathematicians agreed to pretend in. It was accepted because calculations that go through it give right answers to questions that were asked in real numbers and answered in real numbers. It earned its place.

The imaginary part is usually temporary. In this paper, and in every application of it, complex numbers are most often a route between a real question and a real answer. That is exactly the pattern of the Laplace transform later in this module: go somewhere else, do the easy thing, come back.

It is called imaginary for a bad reason. Descartes coined the word in 1637 as an insult, and it stuck. There is nothing less real about i than about the square root of two, which also cannot be written down exactly and which also had to be forced on mathematics against considerable resistance. If the word bothers you, ignore it; nothing in this paper depends on it.

Check yourself

QuestionAnswer
Is 4 a root of x^3 - 15x - 4?4^3 - 15(4) - 4 = 0
Expand (2 + i)^3(2 + i)^3 = 2 + 11i
Expand (2 - i)^3(2 - i)^3 = 2 - 11i
Add the two(2 + i)^3 + (2 - i)^3 = 4

The third line should need no work at all once you have the second: the two expressions differ only in the sign of i throughout, so their expansions must differ only in the sign of the imaginary part. That observation is the conjugate, and it has a chapter of its own shortly.

Contents This chapter on its own page

munotes.in6

Chapter Four

The Complex Number, and Its Two Parts

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

A complex number is a pair of real numbers written as one object, x + iy, where i obeys one rule: i squared is minus one.

The definition, in the words you can write in the examination

A complex number is a number of the form z = x + iy, where x and y are real numbers and i is the imaginary unit, defined by the property that i squared is minus one.

i^2 = -1

Two things in that sentence are worth stopping on, because both are asked.

x and y are real. They are ordinary numbers off the number line. Nothing mysterious has been smuggled in; the only new object is the single symbol i.

i is defined by a rule, not by a value. You cannot write down a decimal for i, and you are not supposed to. It is defined by what it does when you square it, in exactly the way the square root of two is defined by what it does when you square it. That is the whole of the definition and nothing else about i needs to be remembered.

The two parts, and why they are both real

For z = x + iy:

  • x is the real part of z, written Re(z).
  • y is the imaginary part of z, written Im(z).

Careful. The imaginary part is y, and not iy. This is the single most common slip in the topic. If z = 3 + 4i then Im(z) is 4, a perfectly ordinary real number, and not 4i.

zRe(z)Im(z)
3 + 4i34
770
5i05
-2 - 6i-2-6
(1/2) + (3/4)i1/23/4

Both parts are real numbers. A complex number is therefore not one number in a new exotic sense; it is two real numbers carried around together, with a rule for how they combine. That is the sentence to hold on to for the rest of the module.

The names, one at a time

Purely real. y is zero, so z = x. Every real number you have ever used is a complex number with an imaginary part of zero, which is why the real number line sits inside the complex numbers rather than beside them.

Purely imaginary. x is zero and y is not, so z = iy. Zero itself is usually counted as purely real; whether it is also called purely imaginary is a convention and no examination turns on it.

The set. The collection of all complex numbers is written C. So R, the real numbers, is a subset of C.

Standard form, and why it matters

A complex number is in standard form when it is written as one real number plus i times one real number, with nothing left to simplify. Getting an answer into standard form is often the last mark in a question, so it is worth being fussy about.

munotes.in7

The Complex Number, and Its Two Parts

Here are the four things that have to be cleared away.

A power of i above the first. Replace it using i squared equals minus one.

3 + 2i^2 = 3 + 2(-1) = 1

A square root of a negative number. Write it as i times the square root of the positive number.

sqrt(-9) = sqrt(9)sqrt(-1) = 3i

sqrt(-5) = sqrt(5) i

An i in a denominator. Multiply above and below by i, which turns the denominator real.

1/i = i/i^2 = i/(-1) = -i

That last result is worth memorising as a fact in its own right: one over i is minus i.

A bracket left unmultiplied. Expand it, then collect the real terms and the i terms.

(2 + 3i) + (4 - 5i) = 6 - 2i

Worked: getting an expression into standard form

Take the expression below and put it in standard form.

z = 5 + sqrt(-16) - 3i^2 + 2/i

z = 5 + 4i + 3 - 2i = 8 + 2i

Read it one term at a time. The square root of minus sixteen is 4i. Minus three i squared is minus three times minus one, which is plus three. Two over i is two times minus i, which is minus 2i. Collecting: 5 plus 3 is 8 for the real part, and 4i minus 2i is 2i for the imaginary part.

A trap worth meeting once, deliberately. The familiar school rule that the square root of a product is the product of the square roots is not safe once negative numbers are allowed:

sqrt(-4) sqrt(-9) = (2i)(3i) = 6i^2 = -6

but the square root of the product of minus four and minus nine is the square root of thirty six, which is plus six. So the two answers differ in sign. The rule to follow is the one used above: take the i out first, always, and only then multiply. Never multiply two negative quantities under one radical sign.

Why a computing student is being taught this

MU's own description of the course says it is for "developing competency of the students in the applications of various mathematical concepts", which is true and tells you nothing. Here is the concrete version.

A complex number is the natural way to write a size together with a rotation, and that turns out to be the shape of a great deal of what a computer does with signals and pictures. Three examples that are genuinely about this object and not decoration:

munotes.in8

The Complex Number, and Its Two Parts

  • Rotating a point. Multiplying a complex number by another of modulus one rotates it about the

origin, and the chapter on multiplication on the Argand diagram shows why. That is the whole of two dimensional rotation in one multiplication.

  • The Fourier transform. The Fast Fourier Transform, which is how audio and image compression

actually work, is built on the roots of unity, a set of complex numbers met later in this module.

  • Whether a system is stable. A control loop or a digital filter is stable or not according to

where certain complex numbers sit relative to a circle or a line. Module 1's second half, the Laplace transform, is where those numbers come from.

None of that is examinable. It is here because a technique learned without knowing what it is for is forgotten by March.

Check yourself

Work each one out, then read on.

QuestionAnswer
Re(7 - 2i)7
Im(7 - 2i)-2
Simplify i^2i^2 = -1
Simplify 1/i1/i = -i
Write sqrt(-49) in standard formsqrt(-49) = 7i
Simplify (3 + i) - (1 + 4i)(3 + i) - (1 + 4i) = 2 - 3i
Simplify 4 - 2i^24 - 2i^2 = 6

If the fifth and the seventh came out as anything else, go back to the four clearing rules above: those two are where nearly all the marks are lost on this label.

Contents This chapter on its own page

munotes.in9

Chapter Five

The Powers of i, and the Cycle of Four

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

The powers of i repeat every four, so any power of i can be reduced by dividing the index by four and keeping the remainder.

Working them out

There is nothing to remember here. Everything follows from the one rule, i squared is minus one.

i^1 = i

i^2 = -1

i^3 = i^2 i = -i

i^4 = i^2 i^2 = (-1)(-1) = 1

And then it starts again, because multiplying by i to the fourth is multiplying by one.

i^5 = i^4 i = i

i^6 = i^4 i^2 = -1

i^7 = -i

i^8 = 1

So the four values i, minus one, minus i, one repeat for ever in that order.

Index modulo 41230
Valuei-1-i1

The rule for any power

Divide the index by four and look only at the remainder.

For i to the power 39: thirty nine divided by four is nine remainder three, so i to the 39 is i to the 3, which is minus i.

i^39 = i^36 i^3 = (i^4)^9 i^3 = -i

For i to the power 100: one hundred divided by four is twenty five remainder zero, so the answer is one.

i^100 = (i^4)^25 = 1

That is the whole technique, and it is worth being able to do in your head.

Negative powers

A negative power is one over the positive power, and then the four rules above finish the job. The key fact is the one from the previous chapter.

i^(-1) = 1/i = -i

i^(-2) = 1/i^2 = -1

i^(-3) = 1/i^3 = 1/(-i) = i

i^(-4) = 1

Notice that the sequence of negative powers is the positive one read backwards, which is what you would expect.

A neater way to handle any negative power: add a multiple of four to the index until it becomes positive, since multiplying by i to the fourth changes nothing.

i^(-39) = i^(-39) i^40 / i^40 = i^1 = i

So i to the minus 39 is i. The check: minus 39 plus 40 is 1, and i to the 1 is i.

Why the cycle of four is not a curiosity

This is the first appearance in the paper of a fact that turns out to be the whole point of complex numbers.

Multiplying by i four times brings you back to where you started. Four quarter turns make a full turn. That is not a coincidence: multiplication by i is a quarter turn anticlockwise about the origin, and the chapter on multiplication on the Argand diagram proves it. The cycle of four is the geometry showing through the algebra before the geometry has been introduced.

munotes.in10

The Powers of i, and the Cycle of Four

Once you know that, the table above stops being something to memorise. Start at 1 on the positive real axis, turn a quarter turn anticlockwise to reach i, again to reach minus one, again for minus i, and again to come home.

A worked sum of the kind that is set

Simplify the expression below.

i^13 + i^18 + i^31 + i^100

Reduce each index modulo four: thirteen leaves one, eighteen leaves two, thirty one leaves three, one hundred leaves zero.

i^13 + i^18 + i^31 + i^100 = i + (-1) + (-i) + 1 = 0

The i and the minus i cancel, and the minus one and the one cancel, so the whole thing is zero. Sums like this are constructed to collapse, and if yours does not collapse, check the remainders first.

Another form that appears often:

i + i^2 + i^3 + i^4 = 0

Any four consecutive powers of i add to zero, because they are exactly the four values of the cycle. That makes a long sum easy: strip off complete blocks of four and only the leftovers can contribute.

i + i^2 + i^3 + i^4 + i^5 + i^6 = i^5 + i^6 = i - 1

The first four terms are a complete cycle and vanish, leaving the fifth and sixth.

Check yourself

QuestionAnswer
i^7i^7 = -i
i^26i^26 = -1
i^48i^48 = 1
i^(-5)i^(-5) = -i
i^15 + i^17i^15 + i^17 = 0
The sum of any four consecutive powersi^9 + i^10 + i^11 + i^12 = 0

If the fourth one caught you, remember that minus five plus eight is three, and i cubed is minus i.

Contents This chapter on its own page

munotes.in11

Chapter Six

Equality of Two Complex Numbers, and the Two Equations It Gives You

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

Two complex numbers are equal when their real parts are equal and their imaginary parts are equal, so one complex equation gives you two real ones.

The definition

Two complex numbers z1 = a + ib and z2 = c + id are equal if and only if a = c and b = d.

That is it. There is no other way for them to be equal. It looks so obvious that students skip it, and then cannot start half the questions in the topic.

Why it is a technique and not a definition

Look at what the definition actually gives you. If somebody tells you that two complex expressions are equal, they have told you two separate facts about real numbers, for the price of one statement.

That is the engine of every "find the values of x and y" question in this part of the paper. The procedure is always the same three steps.

  1. Get both sides into the form (something real) + i (something real).
  2. Set the two real parts equal. That is your first equation.
  3. Set the two imaginary parts equal. That is your second equation.

Then you have two ordinary simultaneous equations in two unknowns and the complex numbers have done their job.

Worked: the standard question

Find real x and y such that the equation below holds.

(x + 2y) + i(3x - y) = 7 + i

The left side is already separated. Compare real parts, then imaginary parts.

Real parts: x + 2y = 7. Imaginary parts: 3x minus y equals 1.

Solve them together. From the second, y = 3x minus 1. Substituting into the first gives x plus 6x minus 2 equals 7, so 7x = 9 and therefore x = 9/7, and then y = 27/7 minus 1 = 20/7.

Now check, which is the step worth building a habit of.

x = 9/7

y = 20/7

x + 2y = 9/7 + 40/7 = 7

3x - y = 27/7 - 20/7 = 1

Both parts match, so the answer is right.

Worked: when the separating has to be done first

This is the harder version, and the commoner one in an examination. Find x and y from the equation below.

(2 + 3i)(x + iy) = 13 + i

Nothing can be compared yet, because the left side is not in standard form. Multiply it out first.

(2 + 3i)(x + iy) = 2x + 2iy + 3ix + 3i^2 y = (2x - 3y) + i(3x + 2y)

Now compare. Real: 2x minus 3y equals 13. Imaginary: 3x plus 2y equals 1.

Multiply the first by two and the second by three, then add: 4x minus 6y equals 26, and 9x plus 6y equals 3, so 13x = 29. Hmm, that does not give whole numbers, which usually means checking the arithmetic. Multiply the first by 2: 4x - 6y = 26. Multiply the second by 3: 9x + 6y = 3. Adding gives 13x = 29, so x = 29/13 and then from the second equation 2y = 1 - 3x = 1 - 87/13 = -74/13, so y = -37/13.

munotes.in12

Equality of Two Complex Numbers, and the Two Equations It Gives You

x = 29/13

y = -37/13

2x - 3y = 58/13 + 111/13 = 13

3x + 2y = 87/13 - 74/13 = 1

Both check. The lesson is not the arithmetic: it is that the answer to this kind of question is often a fraction, and a student who assumes it must be a whole number will hunt for a mistake that is not there.

The special case that gets asked as a trick

If a complex number is zero, then both its parts are zero.

0 = 0 + 0i

So from one equation of the form (something) + i(something) = 0 you get two equations, each saying a real quantity is zero. A question worded as "show that if ... then a = b = 0" is almost always this.

The thing that is NOT true, and is asked about

There is no useful order on the complex numbers. You cannot say that one complex number is greater than another.

Real numbers sit on a line, so of any two you can say which is further right. Complex numbers sit in a plane, and there is no way to order a plane that behaves the way "greater than" is supposed to behave. So an expression like "3 + 4i is greater than 2 + i" is meaningless.

What you can compare is their moduli, which are real numbers: the modulus of 3 + 4i is 5 and the modulus of 2 + i is the square root of 5, and 5 is the larger. But that is a statement about distances from the origin, not about the numbers themselves.

Check yourself

Find real x and y in each of these.

x + i y = 5 - 2i

(x - 3) + i(y + 1) = 0

2x + 3i y = 8 - 9i

(1 + i)(x + i y) = 2

The first is already separated, so read it off: x is 5 and y is minus 2.

The second says a complex number is zero, so both parts are zero: x is 3 and y is minus 1.

The third separates as it stands, giving 2x = 8 and 3y = minus 9, so x is 4 and y is minus 3.

munotes.in13

Equality of Two Complex Numbers, and the Two Equations It Gives You

The fourth has to be multiplied out first, which gives (x minus y) + i(x plus y), so x minus y is 2 and x plus y is 0. That makes x = 1 and y = minus 1, and here is the check.

(1 + i)(x + i y) = (x - y) + i(x + y)

(1 + i)(1 - i) = 1 - i^2 = 2

If the fourth one caught you, the reason is almost always that the multiplying out was skipped. Nothing can be compared until both sides are in the form (real) + i(real).

Contents This chapter on its own page

munotes.in14

Chapter Seven

Adding and Subtracting Complex Numbers

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

Add the real parts and add the imaginary parts, separately, and never let the two mix.

The rule

For z1 = a + ib and z2 = c + id:

(a + i b) + (c + i d) = (a + c) + i(b + d)

(a + i b) - (c + i d) = (a - c) + i(b - d)

That is all there is to it. Addition and subtraction treat the two parts as two separate sums, and nothing passes between them.

Why it is that simple, and why multiplication will not be

The reason the parts do not mix is that i is only a factor here, never something being multiplied by itself. Collecting ib and id gives i(b + d), and i has not been squared, so the rule i squared equals minus one never gets a chance to fire.

The moment you multiply two complex numbers, an i does meet another i, i squared appears, and a term that started imaginary lands in the real part. That is the whole difference between this chapter and the next one, and it is worth noticing now.

Worked

(3 + 4i) + (5 - 7i) = 8 - 3i

(3 + 4i) - (5 - 7i) = -2 + 11i

(-2 + i) + (2 - i) = 0

(1/2 + (2/3)i) + (1/2 + (1/3)i) = 1 + i

The third line is worth a second look. Two complex numbers can add to zero, exactly as two real numbers can, and the one that cancels another is its negative: the negative of a + ib is minus a minus ib.

In the fourth line the two parts are added as ordinary fractions. Nothing special happens to a fraction because it is inside a complex number.

The three properties, which are asked as a theory question

Addition of complex numbers is commutative, associative, and has an identity and inverses. Each follows immediately from the same property of real numbers, because all that is happening is two real additions side by side.

PropertyStatementWhy it holds
Commutativez1 + z2 = z2 + z1Real addition is commutative, in both parts
Associative(z1 + z2) + z3 = z1 + (z2 + z3)Real addition is associative, in both parts
Identityz + 0 = z0 means 0 + 0i
Inversez + (-z) = 0-z means (-a) + i(-b)

A question asking you to "verify that addition of complex numbers is commutative" wants the two lines below, not a paragraph.

(a + i b) + (c + i d) = (a + c) + i(b + d)

(c + i d) + (a + i b) = (c + a) + i(d + b)

munotes.in15

Adding and Subtracting Complex Numbers

Since real addition is commutative, a + c equals c + a and b + d equals d + b, so the two results are the same complex number.

Subtraction is addition of the negative

There is no separate theory of subtraction. Writing z1 minus z2 means z1 plus the negative of z2, and every rule above applies.

(7 + 2i) - (3 + 5i) = (7 + 2i) + (-3 - 5i) = 4 - 3i

Two consequences a student should know. Subtraction is not commutative, and the two answers differ by a sign throughout.

(7 + 2i) - (3 + 5i) = 4 - 3i

(3 + 5i) - (7 + 2i) = -4 + 3i

Adding several at once

Collect all the real parts, then all the imaginary parts. Doing it term by term is where sign errors come from.

(2 + 3i) + (4 - i) - (1 + 5i) + (-3 + 2i) = 2 - i

Check it by parts: the real parts are 2, 4, minus 1 and minus 3, which sum to 2. The imaginary parts are 3, minus 1, minus 5 and 2, which sum to minus 1. So the answer is 2 minus i.

What this looks like on the diagram

Both operations have a picture, and the chapter on addition on the Argand diagram draws it. In one sentence now, so the algebra does not feel arbitrary: adding two complex numbers is adding two vectors nose to tail, and subtracting them gives the vector that joins one point to the other. That is why the modulus of z1 minus z2 turns out to be the distance between the two points, which is the fact every locus question in this topic rests on.

Check yourself

QuestionAnswer
(1 + i) + (1 - i)(1 + i) + (1 - i) = 2
(1 + i) - (1 - i)(1 + i) - (1 - i) = 2i
(5 - 3i) + (-5 + 3i)(5 - 3i) + (-5 + 3i) = 0
(4 + 0i) - (0 + 4i)(4 + 0i) - (0 + 4i) = 4 - 4i
(2 + i) + (3 - 4i) - (1 - i)(2 + i) + (3 - 4i) - (1 - i) = 4 - 2i

The first two together make a point worth keeping: adding a number to its conjugate kills the imaginary part and leaves twice the real part, and subtracting kills the real part and leaves twice the imaginary part times i. Both are used constantly from here on, and the conjugate gets its own chapter shortly.

Contents This chapter on its own page

munotes.in16

Chapter Eight

Multiplying Complex Numbers

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

Multiply out the brackets as you always have, then replace i squared by minus one, which throws one term from the imaginary part into the real part.

Doing it from first principles

Take two complex numbers and expand the product term by term.

(a + i b)(c + i d) = a c + i a d + i b c + i^2 b d

Now the only new step: i squared is minus one, so the last term is minus bd, and it is real.

(a + i b)(c + i d) = (a c - b d) + i(a d + b c)

That is the general formula, and it is worth understanding rather than memorising. Two things are happening:

  • The real part is the product of the real parts minus the product of the imaginary parts. The minus sign is the i squared.
  • The imaginary part is the two cross terms added.

The point most students miss

Look at what just happened to the last term. It began life as an imaginary term, i b times i d, and it ended up in the real part with its sign changed.

That is why multiplication of complex numbers is not two separate multiplications the way addition was two separate additions. The parts are genuinely coupled, and it is the coupling that makes complex numbers interesting. It is also exactly the coupling that produces a rotation, as the chapter on multiplication on the Argand diagram shows.

Worked

(2 + 3i)(4 + 5i) = 8 + 10i + 12i + 15i^2 = -7 + 22i

(1 + i)(1 - i) = 1 - i^2 = 2

(3 - 2i)(3 + 2i) = 9 - 4i^2 = 13

(2 + i)^2 = 4 + 4i + i^2 = 3 + 4i

i(3 - 4i) = 3i - 4i^2 = 4 + 3i

Four of those five are patterns worth recognising on sight.

The second and third are a number times its conjugate, and the answer is real both times. That is the whole reason the conjugate exists, and the next chapter is about it.

The fourth is a square, so the usual expansion of (p + q) squared applies with q = i, and the middle term is the one to watch.

The fifth shows multiplication by i doing something very specific: 3 minus 4i became 4 plus 3i. The parts have swapped and one sign has changed. Plot both points and you will see a quarter turn anticlockwise, which is the geometric fact hiding in the cycle of the powers of i.

Squares and cubes

There is nothing new here, only care. Use the ordinary expansions and reduce every power of i at the end.

munotes.in17

Multiplying Complex Numbers

(1 + i)^2 = 1 + 2i + i^2 = 2i

(1 + i)^3 = (1 + i)(2i) = 2i + 2i^2 = -2 + 2i

(1 + i)^4 = (2i)^2 = 4i^2 = -4

The second line shows the move that saves time: do not expand a cube from scratch, use the square you already have.

That (1 + i) to the fourth is minus four is a fact worth carrying. It says (1 + i) to the eighth is sixteen, and so on, which makes an otherwise nasty question a single line. The chapter on De Moivre's theorem gives the general way of doing this for any complex number and any power.

The properties, which are set as a theory question

PropertyStatement
Commutativez1 z2 = z2 z1
Associative(z1 z2) z3 = z1 (z2 z3)
Identity1 z = z
Distributive over additionz1 (z2 + z3) = z1 z2 + z1 z3

Each is proved by expanding both sides with the general formula and comparing the two parts. Commutativity, for instance, is this.

(a + i b)(c + i d) = (a c - b d) + i(a d + b c)

(c + i d)(a + i b) = (c a - d b) + i(c b + d a)

The real parts agree because real multiplication is commutative, and the imaginary parts agree because real addition is as well.

The one property that fails, and why it matters

Real numbers have the property that a product is zero only if one of the factors is zero, and complex numbers keep that. But they lose something else entirely: there is no sensible way to say that one complex number is greater than another, so you cannot argue about products by saying "both factors are positive". Any inequality argument in this paper has to be made about moduli, which are real, and never about the complex numbers themselves.

Check yourself

QuestionAnswer
(3 + i)(2 - i)(3 + i)(2 - i) = 7 - i
(1 - 2i)(1 + 2i)(1 - 2i)(1 + 2i) = 5
(2 - 3i)^2(2 - 3i)^2 = -5 - 12i
i(1 + i)i(1 + i) = -1 + i
(1 + i)^4(1 + i)^4 = -4
(1 - i)^4(1 - i)^4 = -4

The last two coming out the same is not a coincidence: 1 minus i is the conjugate of 1 plus i, and taking a conjugate and then a power gives the conjugate of the power. Since minus four is real, it is its own conjugate.

Contents This chapter on its own page

munotes.in18

Chapter Nine

The Conjugate, and the Three Things It Is For

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

The conjugate of x + iy is x minus iy, and it is the tool that makes a complex denominator real, pulls out the two parts, and gives the modulus squared.

The definition

The conjugate of z = x + iy is the complex number with the sign of the imaginary part reversed. It is written with a bar over the z, and in this book, where a bar cannot be typeset in the text, as conjugate(z).

z = x + i y

conjugate(z) = x - i y

zconjugate(z)
3 + 4i3 - 4i
5 - 2i5 + 2i
77
6i-6i

Two of those rows are the special cases. A real number is its own conjugate, because there is no imaginary part to change. A purely imaginary number has its own negative as its conjugate.

The three things it is for

This is the reason the conjugate gets a chapter rather than a line.

One: it turns a complex denominator real. Multiply any complex number by its conjugate and the answer is real.

(x + i y)(x - i y) = x^2 - i^2 y^2 = x^2 + y^2

There is no i left. That single fact is the whole method of dividing complex numbers, which is the next chapter.

Two: it extracts the real and imaginary parts. Adding z to its conjugate cancels the imaginary part; subtracting cancels the real part.

z = x + i y

z + conjugate(z) = 2x

z - conjugate(z) = 2 i y

So the two parts can be written without ever mentioning x and y.

z = x + i y

(z + conjugate(z))/2 = x

(z - conjugate(z))/(2i) = y

Those two formulae are used in proofs and in locus questions, where you are given a condition on z and have to turn it into a condition on x and y.

Three: it gives the modulus squared. From the first fact, z times its conjugate is x squared plus y squared, which is the square of the distance of the point from the origin.

z = x + i y

z conjugate(z) = x^2 + y^2

The chapter on the modulus makes that the definition of the modulus, and this identity is how the modulus is computed in practice.

The rules the conjugate obeys

All of these are proved by writing out both sides, and all of them are set as short theory questions.

conjugate(conjugate(x + i y)) = x + i y

conjugate((a + i b) + (c + i d)) = conjugate(a + i b) + conjugate(c + i d)

conjugate((a + i b)(c + i d)) = conjugate(a + i b) conjugate(c + i d)

munotes.in19

The Conjugate, and the Three Things It Is For

In words: conjugating twice gets you back where you started; the conjugate of a sum is the sum of the conjugates; and the conjugate of a product is the product of the conjugates. The same holds for a quotient.

The product rule is the useful one, and it is worth seeing why it is not obvious. On the left you multiply first and flip the sign of the answer's imaginary part. On the right you flip both signs first and then multiply. Those are different procedures and they give the same result, which is a genuine fact about how the multiplication rule is built.

Here it is on numbers.

conjugate((2 + 3i)(1 - i)) = conjugate(5 + i) = 5 - i

conjugate(2 + 3i) conjugate(1 - i) = (2 - 3i)(1 + i) = 5 - i

What it means on the diagram

Conjugating a complex number reflects its point in the real axis. The real part is unchanged, the imaginary part changes sign, so the point flips from above the axis to below it or the other way.

That makes several facts obvious that are tedious to prove algebraically. The conjugate has the same modulus, because a reflection does not change distance from the origin. Its argument is the negative of the original argument, because the angle has flipped to the other side of the axis. And a real number sits on the axis, so reflecting it does nothing, which is why a real number is its own conjugate.

Conjugates and real coefficients

Here is the fact that makes conjugates matter beyond this module.

If a polynomial has real coefficients and a complex number is a root of it, then the conjugate of that number is also a root. Complex roots of a real polynomial always come in conjugate pairs.

You have already seen this without being told. In the chapter on why i had to be invented, Cardano's cubic threw up 2 + i and 2 minus i, a conjugate pair, and their sum was real. It is also why the quadratic formula, applied to a real quadratic with negative discriminant, gives two answers differing only in the sign of the i.

x = (-2 + sqrt(2^2 - 415))/2

x = -1 + 2i

That is one root of x squared plus 2x plus 5, and the other is minus one minus 2i. Both parts of the pair are needed, and their sum, minus two, is real, as is their product, five.

This fact is what makes Module 2 work. When the auxiliary equation of a differential equation has complex roots, they arrive as a conjugate pair, and the pair combines into a real answer in sines and cosines. Without conjugate pairs, a real equation would have a complex answer, which would be absurd.

munotes.in20

The Conjugate, and the Three Things It Is For

Check yourself

QuestionAnswer
conjugate(4 - 7i)conjugate(4 - 7i) = 4 + 7i
(5 + 2i) times its conjugate(5 + 2i)(5 - 2i) = 29
Add 3 - i to its conjugate(3 - i) + (3 + i) = 6
Subtract the conjugate of 3 - i from it(3 - i) - (3 + i) = -2i
conjugate(i^3)conjugate(i^3) = i
The other root when 1 + 3i is a root of a real quadraticconjugate(1 + 3i) = 1 - 3i

The fifth one is worth a moment: i cubed is minus i, and the conjugate of minus i is i.

Contents This chapter on its own page

munotes.in21

Chapter Ten

Dividing Complex Numbers

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

Multiply above and below by the conjugate of the denominator, which makes the denominator real, and then divide the two parts separately.

The method

There is one idea and it is the one the previous chapter set up: a complex number times its conjugate is real. So to divide, make the denominator real first.

(a + i b)/(c + i d) = ((a + i b)(c - i d))/((c + i d)(c - i d))

The bottom is now real, because it is c squared plus d squared. Expanding the top gives the general result.

(a + i b)/(c + i d) = (a c + b d)/(c^2 + d^2) + i(b c - a d)/(c^2 + d^2)

Nobody remembers that and nobody should. What you remember is the method: multiply top and bottom by the conjugate of the bottom. The formula then comes out every time.

Worked, in full

Divide 3 + 4i by 1 minus 2i.

Step one, multiply above and below by 1 plus 2i, the conjugate of the denominator.

(3 + 4i)/(1 - 2i) = ((3 + 4i)(1 + 2i))/((1 - 2i)(1 + 2i))

Step two, expand the bottom. It is a number times its conjugate, so it is real.

(1 - 2i)(1 + 2i) = 1 - 4i^2 = 5

Step three, expand the top as an ordinary product.

(3 + 4i)(1 + 2i) = 3 + 6i + 4i + 8i^2 = -5 + 10i

Step four, divide each part by 5.

(3 + 4i)/(1 - 2i) = (-5 + 10i)/5 = -1 + 2i

Step five, and this is the step worth making a habit: check it by multiplying back.

(-1 + 2i)(1 - 2i) = -1 + 2i + 2i - 4i^2 = 3 + 4i

That is the original numerator, so the division is right. Checking a division by multiplying takes ten seconds and catches every sign error.

The two special cases you should do by eye

Dividing by i. There is no need for a conjugate.

1/i = -i

(3 + 4i)/i = -i(3 + 4i) = 4 - 3i

Multiplying by one over i, which is minus i, is quicker than anything else. Note what it did to the number: 3 + 4i became 4 minus 3i, which is a quarter turn clockwise.

Dividing by a real number. Divide both parts and stop.

(6 - 9i)/3 = 2 - 3i

The reciprocal of a complex number

Taking a = 1 and b = 0 in the general rule gives the reciprocal, which is worth knowing in its own form.

1/(c + i d) = (c - i d)/(c^2 + d^2)

In words: the reciprocal of z is the conjugate of z divided by the modulus of z squared. Two consequences:

munotes.in22

Dividing Complex Numbers

z = x + i y

1/z = conjugate(z)/(z conjugate(z))

And if the modulus is one, the reciprocal is simply the conjugate, which is why numbers on the unit circle are so convenient. The roots of unity, later in this module, all have this property.

Worked: a compound expression

Simplify the expression below into standard form.

(2 + i)/(1 - i) + (1 - i)/(2 + i)

Do the two divisions separately and add.

(2 + i)/(1 - i) = ((2 + i)(1 + i))/2 = (1 + 3i)/2

(1 - i)/(2 + i) = ((1 - i)(2 - i))/5 = (1 - 3i)/5

(1 + 3i)/2 + (1 - 3i)/5 = 7/10 + (9/10)i

The common denominator at the end is ten, and the parts are handled independently once both fractions are in standard form. Trying to combine the two fractions before clearing their denominators is possible but is where the marks go.

Division and the modulus

There is a fact here that the chapter on the modulus will use: the modulus of a quotient is the quotient of the moduli.

abs((3 + 4i)/(1 - 2i)) = abs(3 + 4i)/abs(1 - 2i)

That is 5 divided by the square root of 5, which is the square root of 5, and the answer minus one plus 2i does indeed have modulus the square root of 5. It is a useful check on a division: work out the two moduli, divide them, and see whether your answer has that size.

Check yourself

QuestionAnswer
(1 + i)/(1 - i)(1 + i)/(1 - i) = i
(2 - 3i)/i(2 - 3i)/i = -3 - 2i
1/(3 + 4i)1/(3 + 4i) = 3/25 - (4/25)i
(5 + 5i)/(1 + 2i)(5 + 5i)/(1 + 2i) = 3 - i
Check the last one by multiplying back(3 - i)(1 + 2i) = 5 + 5i

The third one is the reciprocal rule with c = 3 and d = 4, so the denominator is 25, and the conjugate on top gives 3 minus 4i.

Contents This chapter on its own page

munotes.in23

Chapter Eleven

The Argand Diagram: Drawing a Complex Number

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

Plot the real part along the horizontal axis and the imaginary part along the vertical one, and a complex number becomes a point in a plane.

The picture

A real number needs one axis, because it is one number. A complex number is two real numbers carried together, so it needs two. Put the real part on a horizontal axis and the imaginary part on a vertical one, and every complex number is a point.

The complex plane, with the point 4 + 3i marked, its real and imaginary parts shown as dotted lines, and the line from the origin to the point labelled as the modulus

Figure 11.1 The Argand diagram. The point P is 4 + 3i: four along and three up. The length OP is the modulus and the angle t is the argument, and both have chapters of their own. The point at the bottom left is -2 - 2i.

This is the Argand diagram, after Jean-Robert Argand, who published it in 1806. MU names it in her own label, brackets and all, so the name is examinable.

The two axes have names.

  • The horizontal axis is the real axis. Every point on it has zero imaginary part, so the real axis is the ordinary number line.
  • The vertical axis is the imaginary axis. Every point on it is purely imaginary.
  • The plane as a whole is the complex plane, sometimes the z plane.
  • The origin is the complex number zero.

Reading a point off the diagram, and putting one on

To plot z = a + ib, go a units along the real axis and b units parallel to the imaginary axis. That is the same instruction as plotting the point (a, b) in ordinary coordinate geometry, and it is worth saying plainly: the Argand diagram is the ordinary xy plane with new names for the axes and a rule for multiplying points.

zPlot atWhich quadrant
4 + 3i4 along, 3 upfirst
-2 + 5i2 left, 5 upsecond
-2 - 2i2 left, 2 downthird
3 - i3 along, 1 downfourth
55 along, on the axison the real axis
-4i4 down, on the axison the imaginary axis

Why bother

Because four things that are tedious in algebra become obvious in the picture, and every one of them is examined.

The conjugate is a reflection. Changing the sign of the imaginary part flips the point across the real axis. That one sentence replaces a page of algebra about conjugates.

The modulus is a length. The distance from the origin to the point. The next chapter is about it.

The argument is an angle. The angle the line from the origin makes with the positive real axis. The chapter after next is about it, and about the trap in computing it.

munotes.in24

The Argand Diagram: Drawing a Complex Number

Multiplication is a rotation. This is the big one, and the reason complex numbers are useful rather than merely consistent. Multiplying by a complex number rotates and scales, which is why the cycle of the powers of i is a cycle of four quarter turns.

The vector picture

A complex number can be drawn as the position vector from the origin to its point rather than as the point itself, and both readings are used.

The vector reading is the one that makes addition sensible. Adding two complex numbers adds their vectors nose to tail, which is the parallelogram rule, and the chapter on addition on the Argand diagram draws it. The point reading is the one that makes a locus question sensible: a condition on z describes a set of points, and the set is usually a line or a circle.

Two locus facts follow at once from the picture, and they are set every year.

The modulus of z is the distance from the origin to z. So the condition that the modulus of z equals 3 describes every point at distance 3 from the origin, which is a circle of radius 3 centred at the origin.

The modulus of z1 minus z2 is the distance between the two points. So the condition that the modulus of z minus 2 equals 5 is a circle of radius 5 centred at the point 2, and the condition that the modulus of z minus 1 equals the modulus of z plus 1 says z is the same distance from 1 as from minus 1, which is the perpendicular bisector of the segment joining them, that is, the imaginary axis.

What is NOT on the diagram

Two warnings, both of which a student should meet once.

There is no third axis and nothing is hidden. A complex number is exactly two real numbers, and the diagram shows both of them. Nothing about it is a projection or a shadow of something bigger.

And the plane is not ordered. Up and to the right does not mean "bigger". You can compare the distances of two points from the origin, which is comparing their moduli and is comparing two real numbers, but there is no sense in which one point of the plane is greater than another.

Check yourself

QuestionAnswer
Which quadrant holds -3 + 4ithe second
Where does the conjugate of -3 + 4i sitthe third quadrant, at -3 - 4i
What is the locus of points with modulus 2a circle of radius 2 about the origin
What is the locus where z is equidistant from 3 and from -3the imaginary axis
Which axis holds the purely imaginary numbersthe vertical one
munotes.in25

The Argand Diagram: Drawing a Complex Number

For the second, remember that conjugating reflects in the real axis, so a point in the second quadrant lands in the third.

Contents This chapter on its own page

munotes.in26

Chapter Twelve

The Modulus, and Distance in the Plane

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

The modulus of x + iy is the square root of x squared plus y squared, which is the distance of the point from the origin.

The definition

For z = x + iy, the modulus of z, written abs(z) or the modulus of z, is defined below.

z = x + i y

abs(z) = sqrt(x^2 + y^2)

It is a real, non-negative number. That matters: the modulus is the one thing about a complex number that can be compared, added to, and put in an inequality.

On the Argand diagram it is the length of the line from the origin to the point, which is Pythagoras applied to the two parts. The real part and the imaginary part are the two short sides of a right-angled triangle, and the modulus is the hypotenuse.

Worked

abs(3 + 4i) = sqrt(9 + 16) = 5

abs(-3 + 4i) = 5

abs(5) = 5

abs(-7i) = 7

abs(1 + i) = sqrt(2)

abs(2 - 2i) = 2 sqrt(2)

The first two being equal is the point of the second line: the modulus does not care about the signs, because both parts get squared. Four different numbers, 3 + 4i and 3 minus 4i and minus 3 plus 4i and minus 3 minus 4i, all have modulus 5, and they sit one in each quadrant on a circle of radius 5.

The third and fourth lines say that for a real number the modulus is the ordinary absolute value, and for a purely imaginary number it is the size of the imaginary part with the sign thrown away.

The identity that does the work

The modulus is almost never computed from the definition in a proof. This identity is used instead.

z = x + i y

z conjugate(z) = x^2 + y^2

abs(z)^2 = z conjugate(z)

The modulus squared is z times its conjugate. That is convenient because it is a product rather than a square root, and products are easy to manipulate.

The properties, all of which are examined

abs((a + i b)(c + i d)) = abs(a + i b) abs(c + i d)

abs((3 + 4i)/(1 + 2i)) = abs(3 + 4i)/abs(1 + 2i)

abs(conjugate(3 - 5i)) = abs(3 - 5i)

abs((2 + i)^3) = abs(2 + i)^3

In words, and these are worth knowing as sentences:

The modulus of a product is the product of the moduli. This is the most used of the four. It is proved with the conjugate identity in three lines, and it is what makes De Moivre's theorem work.

The modulus of a quotient is the quotient of the moduli. The same proof.

Conjugating does not change the modulus. Obvious from the picture: reflecting in the real axis does not move a point closer to the origin.

munotes.in27

The Modulus, and Distance in the Plane

The modulus of a power is the power of the modulus. This follows from the product rule applied repeatedly.

The triangle inequality

This one is different in kind from the four above, because it is an inequality rather than an equation, and because it is not obvious.

For any two complex numbers, the modulus of their sum is at most the sum of their moduli.

The picture is the proof. Adding two complex numbers puts their vectors nose to tail, and the sum is the third side of a triangle. No side of a triangle is longer than the other two put together, and the two sides are equal only when the triangle collapses flat, which happens when the two numbers point in the same direction.

There is a companion inequality, obtained by applying the first one cleverly: the modulus of a sum is at least the difference of the moduli. The two together say that the size of z1 plus z2 is trapped between the difference and the sum of the two sizes.

Worked, so the numbers are in front of you. Take z1 = 3 + 4i, of modulus 5, and z2 = 5 + 12i, of modulus 13.

abs((3 + 4i) + (5 + 12i)) = abs(8 + 16i) = 8 sqrt(5)

Eight root five is about 17.89. The sum of the moduli is 18, and the difference is 8. So 8 is less than 17.89, which is less than 18, and both inequalities hold. They are nearly equal to 18 because the two numbers point in nearly the same direction.

Where the modulus is used

Three places, and all three are coming.

Locus questions, now. The condition that abs(z) equals r is a circle of radius r about the origin, and the condition that abs(z minus a) equals r is a circle of radius r about the point a. Every locus question in this topic is one of those two, or a perpendicular bisector.

Polar form, two chapters from here. The modulus is the r in r(cos t + i sin t), so it is half of what you need to write a complex number in polar form.

Stability, in Module 1's second half and beyond. Whether a digital filter or a control loop settles down or blows up is a question about whether certain complex numbers have modulus less than one. That is why the unit circle matters so much in engineering.

Check yourself

QuestionAnswer
abs(5 - 12i)abs(5 - 12i) = 13
abs(-8)abs(-8) = 8
abs(i)abs(i) = 1
abs((1 + i)(1 - i))abs((1 + i)(1 - i)) = 2
abs((1 + i)^8)abs((1 + i)^8) = 16
abs(1/(3 + 4i))abs(1/(3 + 4i)) = 1/5
munotes.in28

The Modulus, and Distance in the Plane

The fifth is the power rule: the modulus of 1 + i is root two, and root two to the eighth is sixteen. Expanding the bracket would also work and would take five minutes.

Contents This chapter on its own page

munotes.in29

Chapter Thirteen

The Argument, and the Trap Every Calculator Sets

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

The argument is the angle from the positive real axis to the point, and the arctangent on your calculator gets it wrong for half the plane.

The definition

For z = x + iy other than zero, the argument of z is the angle t measured from the positive real axis to the line joining the origin to the point, anticlockwise being positive. It satisfies both of the equations below.

z = x + i y

x = abs(z) cos(t)

y = abs(z) sin(t)

Dividing the second by the first gives the equation everybody actually uses, and it is the source of all the trouble.

tan(t) = y/x

Why that equation is not enough

The tangent of an angle does not change when the angle is increased by 180 degrees. So the equation above has two solutions in any full turn, half a turn apart, and it cannot tell you which one you want.

Concretely: the point 1 + i is in the first quadrant, at 45 degrees. The point minus 1 minus i is in the third quadrant, at 225 degrees, or equivalently minus 135 degrees. But y over x is 1 for both of them, because the two minus signs cancel.

tan(pi/4) = 1

tan(pi/4 + pi) = 1

Your calculator's inverse tangent always returns an answer between minus 90 and plus 90 degrees, which means it always answers as though the point were in the first or fourth quadrant. For a point in the second or third quadrant it is wrong by 180 degrees, every time, and it will not warn you.

This is the single most common error in the whole of Module 1. It costs marks every year.

The rule that is always right

Do it in two steps, and never in one.

Step one. Compute the acute angle from the real axis, using the sizes of the parts and ignoring their signs. Call it a.

tan(a) = abs(y)/abs(x)

Step two. Place it in the correct quadrant by looking at the signs of x and y.

QuadrantSigns of x, yArgument
firstx > 0, y > 0a
secondx < 0, y > 0pi - a
thirdx < 0, y < 0a - pi
fourthx > 0, y < 0-a

The third row gives a negative angle between minus 180 and minus 90 degrees, which is the principal value. Some books write pi + a there instead, which is the same direction measured the other way round; both are correct and the next section says which to print.

Principal value

The argument is not a single number. Adding a full turn to an angle gives the same direction, so if t is an argument of z then so is t plus any whole number of full turns.

munotes.in30

The Argument, and the Trap Every Calculator Sets

The principal value, written Arg(z) with a capital A, is the one in the half-open range from minus 180 degrees up to and including plus 180 degrees, that is, greater than minus pi and less than or equal to pi. Unless a question says otherwise, that is the one to give.

Worked, one in each quadrant

All four of these have the same acute angle, 45 degrees or pi over 4, and four different arguments.

zQuadrantPrincipal argument
1 + ifirstpi/4
-1 + isecond3 pi/4
-1 - ithird-3 pi/4
1 - ifourth-pi/4

And the points on the axes, which are worth knowing by sight rather than computing.

zPrincipal argument
a positive real number0
a negative real numberpi
a positive multiple of ipi/2
a negative multiple of i-pi/2

Notice that for a negative real number the argument is plus pi and not minus pi, because the range includes plus pi and excludes minus pi. That is the one place the convention actually bites.

Worked, with a number that is not at 45 degrees

Find the modulus and the principal argument of minus 1 plus i root 3.

The modulus first.

abs(-1 + i sqrt(3)) = sqrt(1 + 3) = 2

Now the acute angle: the sizes of the parts are 1 and root 3, so the tangent of the acute angle is root 3, and the acute angle is 60 degrees, which is pi over 3.

tan(pi/3) = sqrt(3)

The real part is negative and the imaginary part is positive, so the point is in the second quadrant, and the argument is pi minus pi over three.

pi - pi/3 = 2 pi/3

So the modulus is 2 and the principal argument is two pi over three, or 120 degrees. Check it against the definition: two times the cosine of 120 degrees is minus one, and two times the sine of 120 degrees is root three.

2 cos(2 pi/3) = -1

2 sin(2 pi/3) = sqrt(3)

Both parts come back, so the answer is right. That check costs one line and settles the quadrant question beyond argument.

Zero has no argument

The argument of zero is undefined, and this is not a technicality to be waved away. The origin has no direction, so there is no angle to give. Any formula that divides by the modulus, and the polar form is one, therefore excludes zero.

Check yourself

zModulusPrincipal argument
3 + 3i3 sqrt(2)pi/4
-22pi
-sqrt(3) - i2-5 pi/6
4i4pi/2
1 - i sqrt(3)2-pi/3
munotes.in31

The Argument, and the Trap Every Calculator Sets

The third one is the trap. The acute angle has tangent one over root three, which is 30 degrees; both parts are negative so the point is in the third quadrant; and pi over six minus pi is minus five pi over six. A calculator handed minus one over minus root three would have returned plus 30 degrees, which is in the wrong half of the plane.

Contents This chapter on its own page

munotes.in32

Chapter Fourteen

Addition and Subtraction on the Argand Diagram

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

Adding complex numbers adds their vectors nose to tail, and the modulus of a difference is the distance between two points.

Addition is the parallelogram rule

Draw z1 and z2 as position vectors from the origin. Their sum is the fourth corner of the parallelogram whose other three corners are the origin, z1 and z2.

That is exactly the vector addition of first-year physics, and it is not a coincidence or an analogy: the rule for adding complex numbers, add the parts separately, is the rule for adding vectors componentwise.

(4 + i) + (1 + 3i) = 5 + 4i

Plot 4 + i, plot 1 + 3i, and the sum 5 + 4i is where you arrive if you walk along the first vector and then along the second. The order does not matter, which is the picture of commutativity: the two routes round the parallelogram end in the same place.

Subtraction is the vector joining two points

Subtraction is the more useful of the two, because of what it says about distance.

The vector z2 minus z1 is the arrow that goes from the point z1 to the point z2. Walk backwards along z1 to the origin, then forwards along z2, and you have travelled from z1 to z2.

So the length of that arrow is the distance between the two points, and the length of an arrow is a modulus.

abs((5 + 6i) - (1 + 3i)) = abs(4 + 3i) = 5

The distance between the points 1 + 3i and 5 + 6i is 5. That is Pythagoras on a horizontal gap of 4 and a vertical gap of 3, which is exactly what the modulus computed.

The modulus of z1 minus z2 is the distance between the points z1 and z2. That one sentence is the whole content of every locus question in this topic, and it is worth learning as a sentence.

Locus questions, which are what this is for

Once distance is a modulus, a geometric condition becomes an equation and an equation becomes a shape. Here are the four that are set.

A circle about the origin. The condition abs(z) = 3 says the distance from the origin is 3, so the locus is a circle of radius 3 centred at the origin.

A circle about any point. The condition abs(z minus a) = r says the distance from the point a is r, so the locus is a circle of radius r centred at a. For instance abs(z minus 2 minus i) = 4 is a circle of radius 4 about the point 2 + i.

A perpendicular bisector. The condition abs(z minus a) = abs(z minus b) says z is equidistant from a and from b, so the locus is the perpendicular bisector of the segment joining them.

munotes.in33

Addition and Subtraction on the Argand Diagram

A disc or a half plane. Replace the equals sign by a less-than and the circle becomes its inside, the line becomes one side of itself.

Turning a locus into x and y

An examination usually wants the Cartesian equation as well, and the method is always the same: write z = x + iy, take the modulus, and square both sides to clear the square root.

Take the condition abs(z minus 2) = 3.

abs(z - 2) = 3

Substituting z = x + iy makes the left side the modulus of (x minus 2) plus iy, so squaring gives the equation below.

(x - 2)^2 + y^2 = 9

That is a circle of radius 3 centred at (2, 0), which is the point 2 on the real axis, exactly as the geometric reading said.

Now the perpendicular bisector, which is the one where the algebra is worth seeing. Take abs(z minus 1) = abs(z plus 1). Squaring both sides:

(x - 1)^2 + y^2 = (x + 1)^2 + y^2

The y squared terms cancel and so do the x squared terms, leaving minus 2x equals plus 2x, so x = 0. The locus is the imaginary axis, which is indeed the perpendicular bisector of the segment from minus 1 to 1.

(x - 1)^2 - (x + 1)^2 = -4x

The triangle inequality, drawn

The chapter on the modulus stated that the modulus of a sum is at most the sum of the moduli. Here is why, in one sentence: z1, z2 and z1 plus z2 form a triangle, and the third side of a triangle is never longer than the other two together.

Equality happens exactly when the triangle is flat, which means z1 and z2 point in the same direction, which means one is a non-negative real multiple of the other.

abs((3 + 4i) + (6 + 8i)) = abs(9 + 12i) = 15

abs(3 + 4i) + abs(6 + 8i) = 5 + 10 = 15

There the second number is exactly twice the first, so they point the same way and the inequality is an equality. Change one sign and it is strict.

abs((3 + 4i) + (6 - 8i)) = abs(9 - 4i) = sqrt(97)

Root 97 is about 9.85, comfortably below 15.

Check yourself

QuestionAnswer
The distance between 1 + i and 4 + 5iabs((4 + 5i) - (1 + i)) = 5
The distance between -2 and 3iabs(3i + 2) = sqrt(13)
The locus of abs(z) = 5a circle of radius 5 about the origin
The locus of abs(z - 3i) = 2a circle of radius 2 about the point 3i
The locus of abs(z - 4) = abs(z)the vertical line x = 2
munotes.in34

Addition and Subtraction on the Argand Diagram

For the last one, squaring gives (x minus 4) squared plus y squared equal to x squared plus y squared, so minus 8x plus 16 is zero and x is 2. That is the perpendicular bisector of the segment from 0 to 4, which is where geometry said it would be.

Contents This chapter on its own page

munotes.in35

Chapter Fifteen

Multiplication and Division on the Argand Diagram

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

Multiplying two complex numbers multiplies their moduli and adds their arguments, so multiplication is a rotation together with a scaling.

The statement

This is the most important fact in the whole of the complex-number half of Module 1.

For two complex numbers z1 and z2:

  • the modulus of the product is the product of the moduli;
  • the argument of the product is the sum of the arguments.

And for a quotient, the moduli divide and the arguments subtract.

Nothing about the definition of multiplication looks like that, which is why it has to be proved rather than asserted.

Why it is true

Write both numbers in polar form, which the next chapter treats properly but which is only the modulus and the argument put into one expression.

z1 = r cos(a) + i r sin(a)

z2 = q cos(b) + i q sin(b)

Multiply them out, exactly as the chapter on multiplying complex numbers did.

(r cos(a) + i r sin(a))(q cos(b) + i q sin(b)) = r q (cos(a) cos(b) - sin(a) sin(b)) + i r q (sin(a) cos(b) + cos(a) sin(b))

Now look at the two brackets. They are the compound-angle formulae for the cosine and the sine of a plus b.

cos(a) cos(b) - sin(a) sin(b) = cos(a + b)

sin(a) cos(b) + cos(a) sin(b) = sin(a + b)

So the product is the expression below.

(r cos(a) + i r sin(a))(q cos(b) + i q sin(b)) = r q cos(a + b) + i r q sin(a + b)

That is a complex number of modulus rq and argument a plus b, which is precisely the claim. The compound-angle formulae, which looked in school like arbitrary trigonometric furniture, are the whole reason complex multiplication is a rotation.

Multiplication by i is a quarter turn

The modulus of i is 1 and its argument is 90 degrees. So multiplying by i leaves the size alone and adds 90 degrees to the direction: a quarter turn anticlockwise about the origin.

i(3 + 4i) = -4 + 3i

i(-4 + 3i) = -3 - 4i

i(-3 - 4i) = 4 - 3i

i(4 - 3i) = 3 + 4i

Four quarter turns and the number is back where it started, which is the cycle of the powers of i seen from the other side. Every one of those four has modulus 5, as it must.

Multiplication by a real number is a pure scaling

A positive real number has argument zero, so multiplying by it adds nothing to the direction and only changes the length.

3(2 + i) = 6 + 3i

abs(3(2 + i)) = 3 abs(2 + i)

A negative real number has argument 180 degrees, so multiplying by minus one turns the point through a half turn, which is the same as sending it to its own negative. Both readings agree.

munotes.in36

Multiplication and Division on the Argand Diagram

Multiplication by a number on the unit circle is a pure rotation

If the modulus is 1, there is no scaling at all, and multiplying rotates by the argument and nothing else.

z = cos(pi/3) + i sin(pi/3)

abs(z) = 1

z(1 + 0i) = 1/2 + i sqrt(3)/2

The point 1 has been carried to the point at 60 degrees on the unit circle. That is rotation by 60 degrees expressed as a single multiplication.

This is why a graphics programmer cares. Rotating the point (x, y) by an angle t, written out with sines and cosines, is four multiplications and two additions. Written as a complex multiplication it is one operation, and the compiler does the same four multiplications without the programmer having to get the signs right. The three-dimensional version of the same trick, with quaternions, is what every game engine uses.

Division

The mirror statement: moduli divide, arguments subtract. So dividing by a number of modulus one rotates clockwise by its argument, which is what dividing by i did in the chapter on division: 3 + 4i divided by i is 4 minus 3i, a quarter turn clockwise.

(3 + 4i)/i = 4 - 3i

abs((3 + 4i)/i) = 5

The consequence that the rest of the module is built on

If multiplying adds arguments, then multiplying a number by itself doubles its argument, and raising it to the nth power multiplies its argument by n. That single observation is De Moivre's theorem, which has its own chapter shortly, and it is what makes powers and roots of complex numbers possible at all.

Run the other way, it says that taking an nth root divides the argument by n, and because an argument is only defined up to whole turns, there are n different answers. That is why a complex number has exactly n nth roots, evenly spaced around a circle.

Check yourself

QuestionAnswer
The modulus of (3 + 4i)(5 + 12i)abs((3 + 4i)(5 + 12i)) = 65
The effect of multiplying by ia quarter turn anticlockwise
The effect of multiplying by -1a half turn
The effect of multiplying by 2ia quarter turn and a doubling
The argument of the square of a number at 30 degrees60 degrees
i times (1 - i)i(1 - i) = 1 + i

For the last one, check it by the rule as well as by expanding: 1 minus i has argument minus 45 degrees, adding 90 gives plus 45, and 1 + i is indeed at 45 degrees with the same modulus root two.

Contents This chapter on its own page

munotes.in37

Chapter Sixteen

The Polar Form of a Complex Number

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

Every complex number except zero can be written as r(cos t + i sin t), where r is its modulus and t is its argument.

Where it comes from

The argument chapter gave two equations relating the parts to the modulus and the argument.

x = r cos(t)

y = r sin(t)

Substitute both into x + iy and take out the common factor r.

r cos(t) + i r sin(t) = r(cos(t) + i sin(t))

That is the polar form. The name is from polar coordinates, which is exactly what r and t are: a distance and a direction.

The form x + iy is called the Cartesian form, or the rectangular form, or the standard form. The two forms describe the same number and you must be able to move between them in both directions.

Cartesian to polar

Two steps, and the second is the one with the trap.

Step one, the modulus.

r = sqrt(x^2 + y^2)

Step two, the argument, using the acute angle and then the quadrant, exactly as the previous chapter set out. Never straight from a calculator's inverse tangent.

Worked: put 1 + i root 3 into polar form.

abs(1 + i sqrt(3)) = sqrt(1 + 3) = 2

The acute angle has tangent root three over one, so it is 60 degrees, pi over three. Both parts are positive, so the point is in the first quadrant and the argument is pi over three. Therefore:

2(cos(pi/3) + i sin(pi/3)) = 1 + i sqrt(3)

The check is the last line itself: expanding it must return the number you started with, and it does.

Worked again, in an awkward quadrant: put minus 1 minus i into polar form. The modulus is root two, the acute angle is 45 degrees, and both parts are negative so the point is in the third quadrant, giving an argument of pi over four minus pi, which is minus three pi over four.

sqrt(2)(cos(-3 pi/4) + i sin(-3 pi/4)) = -1 - i

Polar to Cartesian

Easier: work out the cosine and the sine and multiply.

4(cos(pi/6) + i sin(pi/6)) = 2 sqrt(3) + 2i

3(cos(pi) + i sin(pi)) = -3

5(cos(pi/2) + i sin(pi/2)) = 5i

The two forms, side by side

NumberCartesianModulusArgumentPolar
1110cos 0 + i sin 0
ii1pi/2cos(pi/2) + i sin(pi/2)
-1-11picos(pi) + i sin(pi)
1 + i1 + isqrt(2)pi/4sqrt(2)(cos(pi/4) + i sin(pi/4))
-2i-2i2-pi/22(cos(-pi/2) + i sin(-pi/2))

The two rules about the form itself

r must be non-negative. The modulus is a distance. If a calculation leaves you with a negative number in front of the bracket, absorb the minus sign into the angle by adding or subtracting 180 degrees, since minus one has argument pi.

munotes.in38

The Polar Form of a Complex Number

-2(cos(pi/6) + i sin(pi/6)) = 2(cos(pi/6 + pi) + i sin(pi/6 + pi))

Both sides are the same number, but only the right-hand side is in proper polar form.

The sign inside the bracket must be plus. A bracket written cos t minus i sin t is not in polar form. Use the fact that cosine is even and sine is odd to flip it.

cos(t) - i sin(t) = cos(-t) + i sin(-t)

So a bracket with a minus sign inside it is the polar form of a number whose argument is the negative of the angle shown. That is the conjugate, which is why conjugating negates the argument.

Why it is worth the trouble

Two reasons, and both are about to be used.

Multiplication becomes easy. The previous chapter showed that multiplying multiplies moduli and adds arguments. In polar form that is one line, where in Cartesian form it is four products and a collection.

Powers and roots become possible at all. Squaring a Cartesian complex number is manageable; raising one to the tenth power by expanding brackets is not. In polar form it is one multiplication of the argument, and that is De Moivre's theorem.

A third reason, less examined but worth knowing: the polar form is what makes the connection to the exponential visible. Two chapters from here, the bracket cos t + i sin t turns out to be e to the power it, and then the polar form becomes r e^(it), which is the form every application actually uses.

Check yourself

Put each into polar form with its principal argument.

NumberModulusArgument
3i3pi/2
-44pi
1 - isqrt(2)-pi/4
-sqrt(3) + i25 pi/6
-2 - 2i sqrt(3)4-2 pi/3

And in the other direction:

6(cos(pi/3) + i sin(pi/3)) = 3 + 3i sqrt(3)

sqrt(2)(cos(-pi/4) + i sin(-pi/4)) = 1 - i

The fourth row of the table is the one to check carefully: the acute angle has tangent one over root three, which is 30 degrees, and the point is in the second quadrant, so the argument is 180 minus 30, that is 150 degrees, which is five pi over six.

Contents This chapter on its own page

munotes.in39

Chapter Seventeen

The Polar Form of x + iy for Every Combination of Signs

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

Which quadrant the point is in decides the argument, and MU gives this its own printed label because it is examined on its own.

Why this has a chapter

MU's syllabus prints "Polar form of x+iy for different signs of x.y" as a separate label from "Polar form of complex numbers". She does not do that often, and when she does it is a signal: the four cases are asked about individually.

The mathematics is the argument chapter's quadrant rule applied four times. What is new here is the drill, and the axis cases that fall between the quadrants.

The four cases, in full

In every case the modulus is the same, because both parts get squared. Let a be the acute angle, the angle whose tangent is the size of y divided by the size of x, with both signs ignored.

tan(a) = abs(y)/abs(x)

CaseSignsQuadrantArgumentRange of the argument
1x positive, y positivefirsta0 to pi/2
2x negative, y positivesecondpi - api/2 to pi
3x negative, y negativethirda - pi-pi to -pi/2
4x positive, y negativefourth-a-pi/2 to 0

The right-hand column is the check that saves you. Once you know the quadrant, you know which range the answer must lie in. An answer outside that range is wrong, whatever the calculator said.

One number, four ways

Take the acute angle 60 degrees, pi over three, and the modulus 2. The four numbers with that modulus and that acute angle are these.

2(cos(pi/3) + i sin(pi/3)) = 1 + i sqrt(3)

2(cos(2 pi/3) + i sin(2 pi/3)) = -1 + i sqrt(3)

2(cos(-2 pi/3) + i sin(-2 pi/3)) = -1 - i sqrt(3)

2(cos(-pi/3) + i sin(-pi/3)) = 1 - i sqrt(3)

Four points, one in each quadrant, all on the circle of radius 2. Notice the pattern in the arguments: pi over three, then pi minus that, then that minus pi, then minus that.

The axis cases

These fall between the quadrants and are the ones students fumble, because the acute angle rule involves dividing by zero or gives zero.

Numberx, yModulusArgument
a positive real, say 5x positive, y zero50
a negative real, say -5x negative, y zero5pi
a positive multiple of i, say 3ix zero, y positive3pi/2
a negative multiple of i, say -3ix zero, y negative3-pi/2

Two remarks. For a negative real number the argument is plus pi, not minus pi, because the principal range runs from just above minus pi up to and including plus pi. And for a purely imaginary number there is no point computing an arctangent at all: read the answer off the picture.

munotes.in40

The Polar Form of x + iy for Every Combination of Signs

5(cos(0) + i sin(0)) = 5

5(cos(pi) + i sin(pi)) = -5

3(cos(pi/2) + i sin(pi/2)) = 3i

3(cos(-pi/2) + i sin(-pi/2)) = -3i

Worked, all four, with the working shown

Put each of these in polar form: 3 + 3i, minus 3 + 3i, minus 3 minus 3i, 3 minus 3i.

The modulus is the same for all four.

abs(3 + 3i) = sqrt(9 + 9) = 3 sqrt(2)

The acute angle is the same for all four: the tangent is 3 over 3, which is 1, so a is 45 degrees, pi over four.

Now the four arguments, by the table: pi over four; pi minus pi over four, which is three pi over four; pi over four minus pi, which is minus three pi over four; and minus pi over four.

3 sqrt(2)(cos(pi/4) + i sin(pi/4)) = 3 + 3i

3 sqrt(2)(cos(3 pi/4) + i sin(3 pi/4)) = -3 + 3i

3 sqrt(2)(cos(-3 pi/4) + i sin(-3 pi/4)) = -3 - 3i

3 sqrt(2)(cos(-pi/4) + i sin(-pi/4)) = 3 - 3i

Every line of that block was verified by machine, and you can verify it yourself in the examination the same way: expand the bracket and see whether the number you started with comes back.

The mistake, once, deliberately

Suppose you are asked for the polar form of minus 1 minus i root 3 and you type the inverse tangent of root three into a calculator. It returns 60 degrees, pi over three. Write that down and you have claimed the following.

2(cos(pi/3) + i sin(pi/3)) = 1 + i sqrt(3)

That is a perfectly correct identity about a completely different number. The point you were asked about is in the third quadrant, and the right argument is pi over three minus pi, which is minus two pi over three.

2(cos(-2 pi/3) + i sin(-2 pi/3)) = -1 - i sqrt(3)

The expansion check would have caught it instantly, which is why it is worth one line of your hour.

Check yourself

NumberQuadrantArgument
4 + 4i sqrt(3)firstpi/3
-4 + 4i sqrt(3)second2 pi/3
-1 - ithird-3 pi/4
sqrt(3) - ifourth-pi/6
-7on the negative real axispi
2ion the positive imaginary axispi/2

All four of the quadrant cases have the same modulus in the first two rows, which is 8, and root two and 2 in the next two.

Contents This chapter on its own page

munotes.in41

Chapter Eighteen

Multiplying and Dividing in Polar Form

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

In polar form, multiply the moduli and add the angles, or divide the moduli and subtract the angles.

The two rules

For z1 = r(cos a + i sin a) and z2 = q(cos b + i sin b):

(r(cos(a) + i sin(a)))(q(cos(b) + i sin(b))) = r q (cos(a + b) + i sin(a + b))

(r(cos(a) + i sin(a)))/(q(cos(b) + i sin(b))) = (r/q)(cos(a - b) + i sin(a - b))

The chapter on multiplication on the Argand diagram proved the first from the compound-angle formulae. The second follows from the first by multiplying above and below by the conjugate of the denominator, and the trigonometry collapses in the same way.

Worked multiplication

Multiply 2(cos 30 + i sin 30) by 3(cos 45 + i sin 45).

Moduli: 2 times 3 is 6. Angles: 30 plus 45 is 75 degrees.

(2(cos(pi/6) + i sin(pi/6)))(3(cos(pi/4) + i sin(pi/4))) = 6(cos(5 pi/12) + i sin(5 pi/12))

Thirty degrees is pi over six, forty five is pi over four, and seventy five is five pi over twelve. That is the whole calculation, and it took one line.

Doing the same thing in Cartesian form is instructive once. The first number is root three plus i, the second is three over root two times one plus i. Multiplying those out and simplifying takes most of a page and gives the same answer, which in Cartesian form is not recognisable as anything.

Worked division

Divide 12(cos 100 + i sin 100) by 4(cos 40 + i sin 40).

(12(cos(5 pi/9) + i sin(5 pi/9)))/(4(cos(2 pi/9) + i sin(2 pi/9))) = 3(cos(pi/3) + i sin(pi/3))

Moduli divide: 12 over 4 is 3. Angles subtract: 100 minus 40 is 60 degrees, which is pi over three. And that number has a nice Cartesian form.

3(cos(pi/3) + i sin(pi/3)) = 3/2 + 3i sqrt(3)/2

When the answer leaves the principal range

Adding two arguments can take you past 180 degrees, and then the answer is not the principal value any more. Subtract a full turn to bring it back.

(cos(2 pi/3) + i sin(2 pi/3))(cos(3 pi/4) + i sin(3 pi/4)) = cos(17 pi/12) + i sin(17 pi/12)

cos(17 pi/12) + i sin(17 pi/12) = cos(-7 pi/12) + i sin(-7 pi/12)

Seventeen pi over twelve is 255 degrees, which is outside the range. Subtracting a full turn, 24 pi over twelve, gives minus seven pi over twelve, which is minus 105 degrees and is the principal value. Both expressions are the same number; only the second is in principal form.

The three facts this makes obvious

A product of moduli. The modulus rule of the modulus chapter, which took a page of algebra with conjugates, is now a single factor in one line.

munotes.in42

Multiplying and Dividing in Polar Form

Conjugation negates the argument. The conjugate of r(cos t + i sin t) is r(cos t minus i sin t), which is r(cos(minus t) + i sin(minus t)). Same modulus, opposite argument.

conjugate(2(cos(pi/5) + i sin(pi/5))) = 2(cos(-pi/5) + i sin(-pi/5))

The reciprocal inverts the modulus and negates the argument. Divide 1, which has modulus one and argument zero, by the number.

1/(4(cos(pi/3) + i sin(pi/3))) = (1/4)(cos(-pi/3) + i sin(-pi/3))

So for a number on the unit circle, the reciprocal and the conjugate are the same thing, because the modulus is already one. That fact is used constantly with the roots of unity.

The pattern to notice before the next chapter

Multiply a number by itself and the rules say: square the modulus, double the angle.

(2(cos(pi/8) + i sin(pi/8)))^2 = 4(cos(pi/4) + i sin(pi/4))

Do it again and the modulus is raised to the fourth power and the angle is quadrupled.

(2(cos(pi/8) + i sin(pi/8)))^4 = 16(cos(pi/2) + i sin(pi/2))

That is De Moivre's theorem arriving of its own accord, and the next chapter states and proves it.

Check yourself

QuestionAnswer
Modulus of the product of two numbers of moduli 3 and 721
Argument of the product of numbers at 50 and 70 degrees120 degrees
Argument of the quotient of numbers at 50 and 70 degrees-20 degrees
Argument of the reciprocal of a number at 35 degrees-35 degrees

And two to compute in full.

(3(cos(pi/4) + i sin(pi/4)))(2(cos(pi/4) + i sin(pi/4))) = 6i

(8(cos(pi/2) + i sin(pi/2)))/(2(cos(pi/6) + i sin(pi/6))) = 4(cos(pi/3) + i sin(pi/3))

The first is worth noticing: two numbers at 45 degrees multiply to one at 90 degrees, which is purely imaginary, and the moduli 3 and 2 give 6.

Contents This chapter on its own page

munotes.in43

Chapter Nineteen

De Moivre's Theorem

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

Raising a complex number to the power n raises the modulus to the power n and multiplies the argument by n.

The statement

For any integer n:

(cos(t) + i sin(t))^3 = cos(3t) + i sin(3t)

(cos(t) + i sin(t))^4 = cos(4t) + i sin(4t)

and in general, for a number of modulus r:

(r(cos(t) + i sin(t)))^3 = r^3 (cos(3t) + i sin(3t))

That is De Moivre's theorem, after Abraham de Moivre, who worked with the result from 1707 onwards.

Why it is true, for a positive whole number

By induction, which is the proof an examination wants.

The base case. For n = 1 the statement says the number equals itself, which is true.

The step. Suppose it holds for n = k. Multiply both sides by cos t + i sin t once more and use the multiplication rule of the previous chapter, which adds the arguments.

(cos(t) + i sin(t))^2 (cos(t) + i sin(t)) = (cos(2t) + i sin(2t))(cos(t) + i sin(t))

(cos(2t) + i sin(2t))(cos(t) + i sin(t)) = cos(3t) + i sin(3t)

So if it holds for k it holds for k plus one, and since it holds for one it holds for every positive whole number.

Negative powers

The theorem holds for negative integers too, and the proof is one line: a negative power is the reciprocal of a positive one, and taking a reciprocal negates the argument.

(cos(t) + i sin(t))^(-1) = cos(-t) + i sin(-t)

(cos(t) + i sin(t))^(-3) = cos(-3t) + i sin(-3t)

And for n = 0 both sides are 1, so the theorem holds for every integer.

A fractional index, which needs care

For a fraction the statement needs a warning, and the warning is the whole content of the next two chapters.

If n is a fraction p over q, then cos(nt) + i sin(nt) is one of the values of the left-hand side, but it is not the only one. Raising to the power one over q means taking a qth root, and a complex number has q different qth roots.

So for a fractional index the theorem reads: cos(nt) + i sin(nt) is one of the values of (cos t + i sin t) to the power n. Getting all of them is what the chapter on the n roots of a complex number is about.

What it is for: powers

The direct use. Compute (1 + i) to the tenth power.

Cartesian expansion means the binomial theorem with eleven terms. In polar form it is three lines. The modulus of 1 + i is root two and its argument is pi over four.

(1 + i)^10 = (sqrt(2))^10 (cos(10 pi/4) + i sin(10 pi/4))

(sqrt(2))^10 = 32

(1 + i)^10 = 32(cos(5 pi/2) + i sin(5 pi/2)) = 32i

munotes.in44

De Moivre's Theorem

Five pi over two is 450 degrees, which is a full turn plus 90 degrees, so the cosine is zero and the sine is one, and the answer is 32i.

Another, with a negative index.

(1 - i)^(-6) = (sqrt(2))^(-6)(cos(6 pi/4) + i sin(6 pi/4))

(1 - i)^(-6) = (1/8)(cos(3 pi/2) + i sin(3 pi/2)) = -i/8

The argument of 1 minus i is minus pi over four, and minus six times that is plus six pi over four, which is 270 degrees.

What it is for: expanding cos(nt) and sin(nt)

This is the second standard use and it is asked in its own right.

Expand the left-hand side of the theorem with the binomial theorem, then match real parts with real parts and imaginary with imaginary. For n = 3:

(cos(t) + i sin(t))^3 = cos(t)^3 + 3i cos(t)^2 sin(t) - 3 cos(t) sin(t)^2 - i sin(t)^3

The real part of that is cos cubed minus three cos sin squared, and the imaginary part is three cos squared sin minus sin cubed. By the theorem the whole thing is cos 3t + i sin 3t, so comparing parts gives two identities for the price of one.

cos(3t) = cos(t)^3 - 3 cos(t) sin(t)^2

sin(3t) = 3 cos(t)^2 sin(t) - sin(t)^3

And using sin squared equals one minus cos squared on the first, and cos squared equals one minus sin squared on the second, gives the forms usually quoted.

cos(3t) = 4 cos(t)^3 - 3 cos(t)

sin(3t) = 3 sin(t) - 4 sin(t)^3

Those two are standard results, and this is where they come from. The same method gives cos 4t and sin 4t, and cos 5t, and so on for ever, which no amount of trigonometric identity-juggling would do.

Check yourself

(cos(t) + i sin(t))^5 = cos(5t) + i sin(5t)

(1 + i)^8 = 16

(1 - i sqrt(3))^3 = -8

(2(cos(pi/6) + i sin(pi/6)))^6 = -64

cos(2t) = cos(t)^2 - sin(t)^2

sin(2t) = 2 sin(t) cos(t)

Take the third line slowly, because it is the one that catches people. The modulus of 1 minus i root three is 2 and its argument is minus pi over three. Cubing gives modulus 8 and argument minus pi, and a number of modulus 8 at an argument of minus pi is the real number minus 8, not plus 8. If you write plus 8 you have lost the half turn.

The expansion agrees, and doing it once is worth the minute. The square of 1 minus i root three is minus 2 minus 2i root three, and multiplying that by 1 minus i root three gives minus 2 plus 2i root three minus 2i root three plus 2i squared times three, in which the two root-three terms cancel and the last term is minus 6, leaving minus 8.

munotes.in45

De Moivre's Theorem

(1 - i sqrt(3))^2 = -2 - 2i sqrt(3)

(-2 - 2i sqrt(3))(1 - i sqrt(3)) = -8

The fourth line is the same trap in a different costume: six times pi over six is pi, so the answer is a negative real number.

The last two lines are De Moivre with n = 2, which is how the double-angle formulae are usually first met, and it is worth realising that the two of them are one statement about a complex number rather than two facts about triangles.

Contents This chapter on its own page

munotes.in46

Chapter Twenty

Taking a Power with De Moivre's Theorem

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

To raise a complex number to a power, put it in polar form, raise the modulus, multiply the angle, and convert back.

The procedure

Four steps, and the fourth is where the marks are.

  1. Find the modulus r and the principal argument t of the number.
  2. Raise r to the power n.
  3. Multiply t by n.
  4. Reduce the resulting angle by whole turns until it is in the principal range, then read off the cosine and the sine.

Step four is not optional. An angle of 450 degrees is a correct answer and a careless one; reducing it to 90 degrees is what lets you write the Cartesian form without a calculator.

Worked, with every step

Find the value of the expression below.

(sqrt(3) + i)^7

Modulus. The parts are root three and one, so the modulus is 2.

abs(sqrt(3) + i) = sqrt(3 + 1) = 2

Argument. The tangent of the acute angle is one over root three, so the acute angle is 30 degrees; both parts are positive, so the argument is pi over six.

Raise and multiply. Two to the seventh is 128, and seven times pi over six is seven pi over six.

Reduce. Seven pi over six is 210 degrees, which is outside the principal range, so subtract a full turn to get minus five pi over six, which is minus 150 degrees.

(sqrt(3) + i)^7 = 128(cos(7 pi/6) + i sin(7 pi/6))

128(cos(7 pi/6) + i sin(7 pi/6)) = -64 sqrt(3) - 64i

So the answer is minus 64 root three minus 64i. The cosine of 210 degrees is minus root three over two and the sine is minus one half, which gives those two terms.

Worked, a negative index

(1 - i)^(-8)

The modulus is root two and the argument is minus pi over four. Raising: root two to the minus eight is one over sixteen. Multiplying: minus eight times minus pi over four is two pi, a whole turn, so the angle reduces to zero.

(1 - i)^(-8) = (1/16)(cos(2 pi) + i sin(2 pi)) = 1/16

The answer is real, which the whole-turn angle told you before you computed anything.

Why this beats the binomial theorem

Expanding (root three plus i) to the seventh with the binomial theorem means eight terms, each with a power of i to reduce, and eight chances to lose a sign. The polar route has one modulus, one angle, and two trigonometric values. On a paper that gives you ten minutes an answer, that difference decides whether you finish.

There is one case where the binomial theorem is the better tool: a small power of a number whose argument is not a standard angle. (2 + 3i) squared is quicker expanded than converted, because the argument of 2 + 3i is not a nice angle and you would end up with an inverse tangent you could not evaluate.

munotes.in47

Taking a Power with De Moivre's Theorem

So the rule of thumb: a standard angle, or a large power, means polar; an awkward angle and a small power means expand.

Powers that come out real or purely imaginary

Worth recognising, because a question is often built around one.

If the argument times n lands on a multiple of 180 degrees, the answer is real. If it lands on an odd multiple of 90 degrees, the answer is purely imaginary.

(1 + i)^4 = -4

(1 + i)^8 = 16

(1 + i)^2 = 2i

(1 + i)^6 = -8i

The argument of 1 + i is 45 degrees. Times two is 90, so the square is purely imaginary. Times four is 180, so the fourth power is a negative real. Times six is 270, purely imaginary again. Times eight is 360, a positive real.

That pattern is worth having: the powers of 1 + i walk round the four axes in order.

Using the theorem to prove an identity

A common form of question: prove something about cosines and sines, using De Moivre.

Prove that cos 4t equals eight cos to the fourth t minus eight cos squared t plus one.

Expand (cos t + i sin t) to the fourth with the binomial theorem and take the real part, which by the theorem must be cos 4t.

cos(4t) = cos(t)^4 - 6 cos(t)^2 sin(t)^2 + sin(t)^4

Now replace every sin squared by one minus cos squared.

cos(t)^4 - 6 cos(t)^2 (1 - cos(t)^2) + (1 - cos(t)^2)^2 = 8 cos(t)^4 - 8 cos(t)^2 + 1

cos(4t) = 8 cos(t)^4 - 8 cos(t)^2 + 1

The same expansion's imaginary part gives sin 4t.

sin(4t) = 4 cos(t)^3 sin(t) - 4 cos(t) sin(t)^3

Check yourself

(1 + i sqrt(3))^4 = -8 - 8i sqrt(3)

(2 + 2i)^5 = -128 - 128i

(cos(pi/9) + i sin(pi/9))^9 = -1

(1 - i)^12 = -64

The third is the neatest: an angle of 20 degrees taken nine times is 180 degrees, so the answer is exactly minus one, whatever you expected. That is the kind of question De Moivre is set for.

Contents This chapter on its own page

munotes.in48

Chapter Twenty-One

The n Roots of a Complex Number

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

A complex number has exactly n different nth roots, spaced evenly round a circle, and you get them by adding whole turns to the argument before dividing by n.

Why there is more than one

Taking an nth root means dividing the argument by n. But the argument is only fixed up to whole turns: the number r(cos t + i sin t) is the same number as r(cos(t + 2 pi k) + i sin(t + 2 pi k)) for any whole number k.

Divide each of those arguments by n and you get different answers, because dividing 2 pi k by n gives a genuinely different angle for each k from 0 to n minus 1. At k = n the added angle is a full turn again and the roots start repeating.

So there are exactly n of them, and no more.

The formula

The n nth roots of r(cos t + i sin t) are given below, for k = 0, 1, 2 and so on up to n minus 1.

z = r^(1/n)(cos((t + 2 pi k)/n) + i sin((t + 2 pi k)/n))

Three things to read off it.

All n roots have the same modulus, the real nth root of r. So they all lie on one circle.

Their arguments differ by 2 pi over n. So they are evenly spaced around that circle, at the corners of a regular n-sided polygon.

One of them is the obvious one, at k = 0, with argument t over n.

Worked: the cube roots of 8

The number 8 has modulus 8 and argument 0. The cube roots therefore have modulus the real cube root of 8, which is 2, and arguments 0, 2 pi over 3 and 4 pi over 3, that is 0, 120 and 240 degrees. The third is better written as minus 120 degrees.

2(cos(0) + i sin(0)) = 2

2(cos(2 pi/3) + i sin(2 pi/3)) = -1 + i sqrt(3)

2(cos(-2 pi/3) + i sin(-2 pi/3)) = -1 - i sqrt(3)

So the three cube roots of 8 are 2, minus 1 plus i root 3, and minus 1 minus i root 3. Check the second one by cubing it.

(-1 + i sqrt(3))^3 = 8

It works. The point worth making: 8 has three cube roots, not one. School arithmetic only ever showed you the real one, because it was only looking along the real axis.

The two complex ones are a conjugate pair, as they must be: 8 is real, so its roots come in conjugate pairs.

Worked: the fourth roots of minus 16

Minus 16 has modulus 16 and argument pi. So the fourth roots have modulus the real fourth root of 16, which is 2, and arguments pi over four plus multiples of pi over two: 45, 135, 225 and 315 degrees. In principal form: 45, 135, minus 135 and minus 45.

munotes.in49

The n Roots of a Complex Number

2(cos(pi/4) + i sin(pi/4)) = sqrt(2) + i sqrt(2)

2(cos(3 pi/4) + i sin(3 pi/4)) = -sqrt(2) + i sqrt(2)

2(cos(-3 pi/4) + i sin(-3 pi/4)) = -sqrt(2) - i sqrt(2)

2(cos(-pi/4) + i sin(-pi/4)) = sqrt(2) - i sqrt(2)

Four points at the corners of a square of circumradius 2, one in each quadrant. Check one of them.

(sqrt(2) + i sqrt(2))^4 = -16

Worked: the square roots of i

The number i has modulus 1 and argument pi over two. The square roots have modulus 1 and arguments pi over four and pi over four plus pi, that is 45 and 225 degrees, the second being minus 135.

cos(pi/4) + i sin(pi/4) = sqrt(2)/2 + i sqrt(2)/2

cos(-3 pi/4) + i sin(-3 pi/4) = -sqrt(2)/2 - i sqrt(2)/2

The two roots are negatives of each other, which is always true of square roots.

(sqrt(2)/2 + i sqrt(2)/2)^2 = i

The picture, and the check it gives you

Draw the roots and you get a regular polygon centred on the origin. That gives two free checks on any answer.

Are they evenly spaced? The arguments must differ by exactly 360 over n degrees. If two of your roots are 100 degrees apart when n is 4, you have made an arithmetic error.

Do they have the same modulus? All of them, without exception. A root with a different modulus from its siblings is wrong.

And one algebraic check: the n roots add to zero whenever n is at least 2, because the polygon is symmetric about the origin. Adding your answers is a fast way to catch a missing minus sign.

2 + (-1 + i sqrt(3)) + (-1 - i sqrt(3)) = 0

The procedure, for the examination

  1. Put the number in polar form, with its modulus r and principal argument t.
  2. The modulus of every root is the real nth root of r.
  3. The arguments are t over n, plus multiples of 2 pi over n, for n values of k.
  4. Bring each argument into the principal range.
  5. Convert each root to Cartesian form if the angles are standard, and leave them polar if they are not.
  6. Check: same modulus, even spacing, and they add to zero.

Check yourself

The cube roots of minus 1 have modulus 1 and arguments pi over three, pi and minus pi over three.

cos(pi/3) + i sin(pi/3) = 1/2 + i sqrt(3)/2

cos(pi) + i sin(pi) = -1

cos(-pi/3) + i sin(-pi/3) = 1/2 - i sqrt(3)/2

(1/2 + i sqrt(3)/2)^3 = -1

(1/2 + i sqrt(3)/2) + (-1) + (1/2 - i sqrt(3)/2) = 0

munotes.in50

The n Roots of a Complex Number

Notice that minus one is one of the cube roots of minus one, as school arithmetic would say, and that there are two others that school arithmetic never mentioned.

Contents This chapter on its own page

munotes.in51

Chapter Twenty-Two

The Roots of Unity, and Why a Computer Scientist Meets Them

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

The n nth roots of 1 sit evenly round the unit circle, they sum to zero, and they are the reason the Fast Fourier Transform exists.

What they are

Apply the root formula of the previous chapter to the number 1, whose modulus is 1 and whose argument is 0. Every root has modulus 1, and the arguments are the multiples of 2 pi over n.

So the n nth roots of unity are the n points evenly spaced round the unit circle, starting at 1.

For n = 3 they are 1 and the two points at 120 degrees either side.

cos(2 pi/3) + i sin(2 pi/3) = -1/2 + i sqrt(3)/2

cos(-2 pi/3) + i sin(-2 pi/3) = -1/2 - i sqrt(3)/2

(-1/2 + i sqrt(3)/2)^3 = 1

For n = 4 they are 1, i, minus 1 and minus i, which you could have guessed.

i^4 = 1

(-1)^4 = 1

(-i)^4 = 1

For n = 6 they are the six corners of a regular hexagon, which includes 1 and minus 1 and the four points at 60 degrees apart from them.

The one fact everything else follows from

Call the root nearest to 1, going anticlockwise, w. It has argument 2 pi over n.

w = cos(2 pi/n) + i sin(2 pi/n)

Then every nth root of unity is a power of w: they are 1, w, w squared, and so on up to w to the n minus one. And w to the n is 1, which is where the list stops.

That is why the roots of unity are so convenient. Instead of n separate numbers with n separate arguments, there is one number and its powers.

For n = 3, with w at 120 degrees:

w = -1/2 + i sqrt(3)/2

w^2 = -1/2 - i sqrt(3)/2

w^3 = 1

The two properties that are set as questions

They sum to zero whenever n is at least 2. Geometrically, the polygon is symmetric about the origin, so the vectors cancel. Algebraically, they are a geometric progression with first term 1 and ratio w, summing to (w to the n minus 1) over (w minus 1), and the numerator is zero.

1 + (-1/2 + i sqrt(3)/2) + (-1/2 - i sqrt(3)/2) = 0

1 + i + (-1) + (-i) = 0

Their product is 1 or minus 1, according to whether n is odd or even. For n = 3 the product is 1; for n = 4 it is minus 1.

1 (-1/2 + i sqrt(3)/2)(-1/2 - i sqrt(3)/2) = 1

1 (i)(-1)(-i) = -1

Why a computer scientist meets them by name

This is the one place in Module 1 where the mathematics is recognisably a piece of computing, so it is worth being precise rather than gesturing.

munotes.in52

The Roots of Unity, and Why a Computer Scientist Meets Them

The discrete Fourier transform of a list of n numbers is another list of n numbers, and each output is a weighted sum of all the inputs in which the weights are powers of an nth root of unity. Computed directly that is n squared multiplications, which for a second of CD audio would be about two thousand billion.

The Fast Fourier Transform computes the same answer in about n log n multiplications by exploiting one property of the roots of unity: the square of a 2nth root of unity is an nth root of unity, so a transform of size 2n can be assembled from two transforms of size n. For that second of audio the count drops from two thousand billion to about ten million, which is the difference between impossible and instant.

That single fact is why MP3, JPEG, digital radio and every modern modem work. It is not examinable and it is the best available answer to why this chapter exists.

The cube roots of unity, which get their own notation

For n = 3 the two complex roots are usually written w and w squared, and the three relations below are quoted so often that they are worth knowing outright.

w = -1/2 + i sqrt(3)/2

w^3 = 1

1 + w + w^2 = 0

w^2 = conjugate(w)

The third one is the sum property for n = 3, and it is the one that makes cube-root questions collapse: anywhere you see 1 plus w plus w squared, write zero.

A worked use. Simplify (1 + w) to the power 3 for the cube root of unity w. Since 1 + w is minus w squared, the cube of it is minus w to the sixth, which is minus one.

w = -1/2 + i sqrt(3)/2

(1 + w)^3 = -1

1 + w = -w^2

Check yourself

w = -1/2 + i sqrt(3)/2

w^2 + w + 1 = 0

w^4 = w

w^(-1) = w^2

(1 - w)(1 - w^2) = 3

The third line says the powers of w repeat every three, exactly as the powers of i repeat every four, and for the same reason. The fourth says the reciprocal of a number on the unit circle is its conjugate. The last is a standard result and a good test of whether you can use the sum relation.

Contents This chapter on its own page

munotes.in53

Chapter Twenty-Three

Euler's Formula, and the Exponential Form

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

The bracket cos t + i sin t is exactly e to the power it, so every complex number can be written r e to the power it.

The formula

Euler's formula states the identity below, for any real t.

e^(i t) = cos(t) + i sin(t)

The next chapter proves it. This one says what it is and how to use it, because the using is what the examination asks for.

Put it together with the polar form and every complex number except zero has a third way of being written.

r e^(i t) = r cos(t) + i r sin(t)

That is the exponential form, or the Euler form. MU's label calls it "Exponential form of complex numbers".

The three forms, one number

Form1 + iWritten
Cartesian1 + ix + iy
Polarsqrt(2)(cos(pi/4) + i sin(pi/4))r(cos t + i sin t)
Exponentialsqrt(2) e^(i pi/4)r e^(it)

All three are the same object. Which you use is a matter of what you are about to do:

  • adding, use Cartesian;
  • multiplying, dividing, powering or rooting, use exponential;
  • reading off a modulus and an angle, use polar or exponential.

Why the exponential form makes everything easy

Because the index laws do all the work. Look at what multiplication, division, powers and conjugates become.

(r e^(i a))(q e^(i b)) = r q e^(i(a + b))

(r e^(i a))/(q e^(i b)) = (r/q) e^(i(a - b))

(r e^(i a))^3 = r^3 e^(3 i a)

conjugate(r e^(i a)) = r e^(-i a)

1/(r e^(i a)) = (1/r) e^(-i a)

Every one of those is a rule you have known since school for real exponentials: add the indices, subtract the indices, multiply the index by the power. The whole of the previous four chapters, the multiplication rule, the division rule, De Moivre's theorem and the root formula, is contained in those five lines.

De Moivre's theorem, in particular, stops being a theorem and becomes an index law.

(e^(i t))^5 = e^(5 i t)

e^(5 i t) = cos(5t) + i sin(5t)

The four values everyone should know

e^(i pi/2) = i

e^(i pi) = -1

e^(3 i pi/2) = -i

e^(2 i pi) = 1

The second is Euler's identity, usually written as e to the i pi plus one equals zero, and it is the most quoted equation in mathematics. What it says is unremarkable once you have the picture: travelling half way round the unit circle from 1 brings you to minus 1.

And the periodicity, which is the source of every multiple-valued difficulty later.

e^(2 i pi) = 1

e^(i(t + 2 pi)) = e^(i t)

The complex exponential is periodic with period 2 pi i. The real exponential never repeats a value; the complex one repeats every full turn. That is the whole reason a complex number has n nth roots and infinitely many logarithms.

munotes.in54

Euler's Formula, and the Exponential Form

Converting, in both directions

To exponential form. Find the modulus and the argument exactly as for polar form, then write r e to the i argument.

1 + i sqrt(3) = 2 e^(i pi/3)

-4 = 4 e^(i pi)

-2i = 2 e^(-i pi/2)

From exponential form. Expand with Euler's formula.

3 e^(i pi/6) = 3 sqrt(3)/2 + 3i/2

5 e^(-i pi/2) = -5i

2 e^(i pi/4) = sqrt(2) + i sqrt(2)

A worked power, to show how short it gets

Compute (1 + i) to the tenth, which the De Moivre chapter did in three lines.

1 + i = sqrt(2) e^(i pi/4)

(sqrt(2) e^(i pi/4))^10 = 32 e^(10 i pi/4)

32 e^(5 i pi/2) = 32i

Five pi over two is a full turn plus a quarter, and e to the i pi over two is i.

Where you will meet this again

In the second half of this module. The Laplace transform of a sine or a cosine is computed most easily by writing it as a combination of complex exponentials, because an exponential is the one function whose integral is itself.

cos(t) = (e^(i t) + e^(-i t))/2

sin(t) = (e^(i t) - e^(-i t))/(2i)

Those two are worth learning now. They are Euler's formula and its conjugate added and subtracted, and they are the bridge between the trigonometric functions and the exponential one. The hyperbolic functions, three chapters from here, are the same two combinations without the i.

Check yourself

e^(i pi/3) = 1/2 + i sqrt(3)/2

e^(-i pi) = -1

abs(e^(i t)) = 1

(2 e^(i pi/6))^6 = -64

e^(i pi/4) e^(i pi/4) = i

conjugate(e^(i pi/7)) = e^(-i pi/7)

The third line is worth stating in words: e to the it always has modulus one, for every real t, so e to the it traces out the unit circle as t runs from 0 to 2 pi. That single sentence is what makes the exponential form a modulus times a direction.

Contents This chapter on its own page

munotes.in55

Chapter Twenty-Four

Why e to the i theta Really Is cos theta + i sin theta

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

Write out the series for the exponential, put it in, and the real terms make the cosine while the imaginary terms make the sine.

Why this chapter exists

Euler's formula is usually handed to a student as a definition, and it can be treated that way without anything going wrong. But a student who has only been told it cannot use it with any confidence, and a question asking "prove Euler's formula" is worth full marks for the argument below.

There is a second reason. The proof shows that the formula is not an arbitrary choice: once you insist that the exponential of a complex number obeys the same series as the exponential of a real one, the cosine and the sine come out whether you wanted them or not.

The three series

Each of these is the Maclaurin series of the function, and each is valid for every real value of the variable.

e^x = 1 + x + x^2/factorial(2) + x^3/factorial(3) + x^4/factorial(4)

cos(t) = 1 - t^2/factorial(2) + t^4/factorial(4) - t^6/factorial(6)

sin(t) = t - t^3/factorial(3) + t^5/factorial(5) - t^7/factorial(7)

Two features matter. The cosine series has only even powers and the sine series only odd ones. And both alternate in sign.

The substitution

Put it into the exponential series in place of x. The only work is reducing the powers of i, which the chapter on the powers of i already did: i squared is minus one, i cubed is minus i, i to the fourth is one, and then it repeats.

Term by term, the first six terms of the series for e to the it are these.

(i t)^0/factorial(0) = 1

(i t)^1/factorial(1) = i t

(i t)^2/factorial(2) = -t^2/2

(i t)^3/factorial(3) = -i t^3/6

(i t)^4/factorial(4) = t^4/24

(i t)^5/factorial(5) = i t^5/120

Now look at what has happened. The even-numbered terms are real and the odd-numbered ones are imaginary, because i to an even power is real and i to an odd power is i times something real.

Separating the two

Collect the real terms and, separately, the terms carrying an i.

The real terms are 1, minus t squared over 2, plus t to the fourth over 24, and so on: exactly the cosine series.

The imaginary terms are i times t, minus i t cubed over 6, plus i t to the fifth over 120: that is i times exactly the sine series.

So e to the it is the cosine of t plus i times the sine of t, which is Euler's formula.

Here are the first three terms of each side, to see the correspondence rather than take it on trust.

1 - t^2/2 + t^4/24 = 1 - t^2/factorial(2) + t^4/factorial(4)

t - t^3/6 + t^5/120 = t - t^3/factorial(3) + t^5/factorial(5)

munotes.in56

Why e to the i theta Really Is cos theta + i sin theta

The check nobody shows you, and it is worth one minute

If the formula is right, then differentiating both sides must give the same thing.

Differentiating the left side by the ordinary rule for an exponential gives i times itself.

Differentiating the right side gives minus sin t plus i cos t. And i times (cos t + i sin t) is i cos t plus i squared sin t, which is minus sin t plus i cos t.

i(cos(t) + i sin(t)) = -sin(t) + i cos(t)

The two agree. So the function cos t + i sin t satisfies exactly the differential equation that defines the exponential, namely that its derivative is i times itself, and it takes the value 1 at t = 0, as e to the i times zero does.

cos(0) + i sin(0) = 1

A function is pinned down by a first-order differential equation and one value, which is a fact Module 2 will make precise. So the two sides cannot be different functions.

The three consequences drawn out

The modulus of e to the it is 1. Because cos squared plus sin squared is one.

abs(cos(t) + i sin(t))^2 = cos(t)^2 + sin(t)^2

cos(t)^2 + sin(t)^2 = 1

So e to the it runs round the unit circle, and t is the angle turned through. That is the picture to keep.

The complex exponential is periodic. Adding 2 pi to t returns to the same point, so e to the i(t + 2 pi) equals e to the it. The real exponential is one-to-one; the complex one is not, and every multi-valued awkwardness later comes from this.

cos(t + 2 pi) + i sin(t + 2 pi) = cos(t) + i sin(t)

The cosine and the sine are combinations of exponentials. Add Euler's formula to its own conjugate and the sines cancel; subtract and the cosines cancel.

(e^(i t) + e^(-i t))/2 = cos(t)

(e^(i t) - e^(-i t))/(2i) = sin(t)

Those two are used constantly in the Laplace transform half of this module. They are also the exact templates for the hyperbolic functions, which are the same two combinations with the i removed.

Check yourself

e^(i pi) = -1

e^(i pi) + 1 = 0

e^(i t) e^(-i t) = 1

(e^(i t) + e^(-i t))/2 = cos(t)

e^(i pi/2) = i

The third line is worth reading twice: multiplying e to the it by e to the minus it gives e to the zero, which is one, and that says the conjugate of a point on the unit circle is its reciprocal.

Contents This chapter on its own page

munotes.in57

Chapter Twenty-Five

The Exponential Form at Work

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

In exponential form every multiplication, division, power and root is one line of index arithmetic.

The five rules, gathered

(2 e^(i pi/6))(3 e^(i pi/3)) = 6 e^(i pi/2)

(12 e^(i pi/2))/(4 e^(i pi/6)) = 3 e^(i pi/3)

(2 e^(i pi/8))^4 = 16 e^(i pi/2)

conjugate(5 e^(i pi/7)) = 5 e^(-i pi/7)

1/(4 e^(i pi/3)) = (1/4) e^(-i pi/3)

Nothing there needs to be learned as a new rule. They are the index laws.

Roots, in exponential form

The root formula of the earlier chapter looks much less forbidding written this way. The n nth roots of r e to the it are given below, for k from 0 to n minus 1.

z = r^(1/n) e^(i(t + 2 pi k)/n)

The 2 pi k is there because e to the 2 pi i is 1, so multiplying the number by it changes nothing before the root is taken and changes everything after.

Worked: the cube roots of 27 e to the i pi.

The modulus of each root is the real cube root of 27, which is 3. The arguments are pi over three, pi over three plus 2 pi over three, and pi over three plus 4 pi over three, that is pi over three, pi, and five pi over three, the last being better written as minus pi over three.

3 e^(i pi/3) = 3/2 + 3i sqrt(3)/2

3 e^(i pi) = -3

3 e^(-i pi/3) = 3/2 - 3i sqrt(3)/2

(3 e^(i pi/3))^3 = -27

The last line is the check: the cube is 27 e to the i pi, which is minus 27, which is what we took the root of.

A worked question of the kind that is set

Express the quantity below in the form a + ib.

((1 + i)^6)/((1 - i sqrt(3))^4)

Convert both bases first. The number 1 + i is root two at 45 degrees; 1 minus i root three is 2 at minus 60 degrees.

1 + i = sqrt(2) e^(i pi/4)

1 - i sqrt(3) = 2 e^(-i pi/3)

Now the powers.

(sqrt(2) e^(i pi/4))^6 = 8 e^(3 i pi/2)

(2 e^(-i pi/3))^4 = 16 e^(-4 i pi/3)

Now divide: the moduli give 8 over 16, which is one half, and the arguments subtract.

3 pi/2 - (-4 pi/3) = 17 pi/6

Seventeen pi over six is more than a full turn, so subtract 2 pi to bring it into range, giving five pi over six.

(1/2) e^(5 i pi/6) = -sqrt(3)/4 + i/4

So the answer is minus root three over four plus i over four. Doing that same calculation by expanding the sixth power and the fourth power of Cartesian brackets is possible and would take the whole ten minutes you have.

munotes.in58

The Exponential Form at Work

((1 + i)^6)/((1 - i sqrt(3))^4) = -sqrt(3)/4 + i/4

That last line is the same claim stated directly, and it was verified by machine, so the route above arrives where it should.

Where the form is genuinely used, not just convenient

A rotating quantity. An alternating voltage of amplitude V and angular frequency w is written V e to the i w t, and the whole of alternating-current circuit analysis is done that way: a resistor, a capacitor and an inductor all become a single complex number to divide by, and Ohm's law works again.

A signal's frequency content. e to the i w t is the one function that a linear system does not change the shape of, only the size and the timing. That property is why every transform in engineering is built out of complex exponentials, including the Laplace transform in the second half of this module.

A rotation in graphics. Multiplying by e to the it rotates by t. A rotation matrix is that statement written out in components.

The one trap

The index laws for a real exponential hold without qualification. For a complex one, the law that (e to the a) to the b equals e to the ab needs care when b is not an integer, because the left-hand side is multi-valued.

The safe rule, and it is enough for this paper: use the index laws freely for integer powers, and use the root formula, with its 2 pi k, whenever the index is fractional. The chapter on the logarithm of a complex number is where the multi-valuedness has to be faced properly.

Check yourself

(3 e^(i pi/4))(2 e^(i pi/4)) = 6i

(e^(i pi/3))^6 = 1

abs(7 e^(i pi/5)) = 7

(8 e^(i pi))^(1/3) = 2 e^(i pi/3)

(2 e^(i pi/6))/(e^(-i pi/6)) = 2 e^(i pi/3)

The fourth line gives only one of the three cube roots, the principal one. The other two are at pi over three plus 2 pi over three and pi over three minus 2 pi over three, and a question asking for "the cube roots" wants all three.

Contents This chapter on its own page

munotes.in59

Chapter Twenty-Six

The Logarithm of a Complex Number

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

The logarithm of a complex number is the logarithm of its modulus plus i times its argument, and because the argument repeats every full turn there are infinitely many of them.

Where it comes from

The logarithm is the exponential read backwards. So log z is the number whose exponential is z. Write z in exponential form and the answer falls out.

z = r e^(i t)

log(z) = log(r) + i t

That is the whole derivation: the logarithm of a product is the sum of the logarithms, and the logarithm of e to the it is it.

So the real part of log z is the ordinary logarithm of the modulus, and the imaginary part is the argument.

Why there are infinitely many

The argument of a complex number is only fixed up to whole turns. Replacing t by t plus 2 pi k gives the same number z but a different logarithm, differing by 2 pi k i.

So the general logarithm of z is the expression below, for every whole number k.

log(z) = log(r) + i(t + 2 pi k)

And the principal logarithm, written Log z with a capital L, is the one taken with the principal argument, that is with k = 0 and t between minus pi and pi.

This is not an oddity to be tidied away. It is the same fact as the n nth roots: the complex exponential is periodic, so its inverse is multi-valued. The real exponential is one-to-one, which is why real logarithms are single-valued and you have never had to think about this before.

Worked

The logarithm of i. Its modulus is 1 and its principal argument is pi over two.

log(i) = i pi/2

The logarithm of the modulus is log 1, which is zero, so only the imaginary part survives. The general logarithm is i pi over two plus 2 pi k i.

The logarithm of minus one. Modulus 1, argument pi.

log(-1) = i pi

This is the answer to a question that had no answer in real arithmetic. The logarithm of a negative number does not exist among the reals; among the complexes it exists perfectly well and is purely imaginary. That is one of the more satisfying consequences of the whole subject.

The logarithm of 1 + i. Modulus root two, argument pi over four.

log(1 + i) = log(2)/2 + i pi/4

The real part is the logarithm of root two, which is half the logarithm of two.

The logarithm of a negative real number, in general.

log(-5) = log(5) + i pi

The rule that fails, and the one place it matters

For real positive numbers, the logarithm of a product is the sum of the logarithms without qualification. For complex numbers that rule is only true up to a multiple of 2 pi i, because the two arguments may add to something outside the principal range.

munotes.in60

The Logarithm of a Complex Number

Here is the failure, in the smallest possible case. Take z = w = minus 1.

log(-1) + log(-1) = 2 i pi

log((-1)(-1)) = log(1) = 0

The two are not equal: the left is 2 pi i and the right is zero. They differ by exactly one full turn, which is the multi-valuedness showing itself.

So the safe statement is: the principal logarithm of a product equals the sum of the principal logarithms plus a multiple of 2 pi i, and which multiple depends on where the arguments land. In this paper you will not be asked to track that; you will be asked to compute a logarithm and to know that the answer is one of infinitely many.

i to the power i, which is the standard curiosity question

It is a real number, and this is how you get it. Write the base in exponential form and take logarithms.

i = e^(i pi/2)

i^i = e^(i log(i)) = e^(i (i pi/2)) = e^(-pi/2)

So i to the power i is e to the minus pi over two, which is about 0.2079. A purely imaginary number raised to a purely imaginary power is real, which is the sort of thing that is worth seeing once.

And because the logarithm is multi-valued, so is this: the other values are e to the minus pi over two plus 2 pi k, which are also all real.

The general power

The same method gives any complex power of any complex number: put the base in exponential form, take the logarithm, multiply by the index, and exponentiate.

z^w = e^(w log(z))

Worked, with something less exotic.

(1 + i)^(2i) = e^(2i log(1 + i)) = e^(2i(log(2)/2 + i pi/4))

e^(i log(2) - pi/2) = e^(-pi/2)(cos(log(2)) + i sin(log(2)))

The modulus is e to the minus pi over two and the argument is the logarithm of two, which is a perfectly ordinary complex number with an unusual-looking pedigree.

Check yourself

log(1) = 0

log(-i) = -i pi/2

log(e) = 1

log(2i) = log(2) + i pi/2

log(-2) = log(2) + i pi

Each is the same two steps: the logarithm of the modulus for the real part, the principal argument for the imaginary part. And remember to say, when a question asks for the logarithm, that there are infinitely many and you are giving the principal one.

Contents This chapter on its own page

munotes.in61

Chapter Twenty-Seven

Circular Functions of a Complex Angle

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

Define sin z and cos z by the same exponential combinations that work for real angles, and everything carries over except the boundedness.

MU's label, and the printing accident in it

MU's Module 1 prints "Circular functions of complex angles". In the extracted text of her own circular the label is cut in half by the hours cell of her table, so it reads "Circular functions of complex" and then, on the next line, "angles". The label she means is the whole phrase, and this chapter and the next two cover it.

"Circular functions" means the trigonometric functions: sine, cosine, tangent and their reciprocals. The name is because they are defined by a point moving round a circle.

The definition

For a real angle t, the previous chapters established the two identities below.

cos(t) = (e^(i t) + e^(-i t))/2

sin(t) = (e^(i t) - e^(-i t))/(2i)

Those are statements about real t. But the right-hand sides make perfect sense for a complex z, because the complex exponential is defined for every complex argument. So they are taken as the definitions of the sine and cosine of a complex number.

cos(z) = (e^(i z) + e^(-i z))/2

sin(z) = (e^(i z) - e^(-i z))/(2i)

And then the tangent and the rest are defined as usual.

tan(z) = sin(z)/cos(z)

cot(z) = cos(z)/sin(z)

sec(z) = 1/cos(z)

csc(z) = 1/sin(z)

This is how a function is extended to the complex numbers throughout mathematics: find a formula that agrees with the old function on the reals and makes sense more widely, and adopt it.

Everything familiar still holds

All the identities you know remain true, because they are consequences of the index laws for the exponential, which do not care whether the exponent is real.

sin(z)^2 + cos(z)^2 = 1

sin(-z) = -sin(z)

cos(-z) = cos(z)

sin(z + 2 pi) = sin(z)

The compound-angle formulae hold too, and they are what the next chapter uses.

sin(z + w) = sin(z) cos(w) + cos(z) sin(w)

cos(z + w) = cos(z) cos(w) - sin(z) sin(w)

Every one of those was verified by machine over sampled complex values, not assumed.

The one thing that does NOT carry over, and it is the point of the chapter

For a real angle, the sine and the cosine never leave the range from minus one to one. For a complex angle they are unbounded.

Take a purely imaginary angle, z = i y. Then i z is minus y and minus i z is plus y, so the definition gives the following.

cos(i y) = (e^(-y) + e^(y))/2

sin(i y) = (e^(-y) - e^(y))/(2i)

The right-hand side of the first is a sum of two real exponentials divided by two, which grows without limit as y grows.

munotes.in62

Circular Functions of a Complex Angle

cos(2i) = (e^(-2) + e^2)/2

That value is about 3.76, which is outside the range from minus one to one, and it is a perfectly ordinary value of the cosine of a perfectly ordinary complex number. The cosine of 10i is over eleven thousand.

So the statement "the cosine of an angle can never exceed one" is a fact about real angles only. A student who carries the school version of the statement into a complex question will reject correct answers as impossible.

This also means an equation like cos z = 3, which has no real solution, has complex solutions, and finding them is an examination question that the chapter on inverse circular functions handles.

The two combinations, named

The right-hand sides above are important enough to have names of their own, and they are MU's next label.

cosh(y) = (e^y + e^(-y))/2

sinh(y) = (e^y - e^(-y))/2

Those are the hyperbolic cosine and sine, and comparing them with the two boxed formulae above gives the bridge between the two families.

cos(i y) = cosh(y)

sin(i y) = i sinh(y)

Those two lines are the whole content of MU's label "Relations between circular and hyperbolic functions", and they get a chapter of their own two along from here. Note carefully where the i sits: the cosine of an imaginary angle is real, and the sine of an imaginary angle is imaginary.

Zeros and periods

For a real angle the sine vanishes at multiples of pi. For a complex angle it vanishes at exactly the same places and nowhere else, which is worth knowing because it says the tangent has no new poles either.

sin(pi) = 0

sin(2 pi) = 0

cos(pi/2) = 0

And the period is still 2 pi, a real number, even though the argument may now be complex.

Check yourself

cos(i) = cosh(1)

sin(i) = i sinh(1)

cos(i)^2 - sin(i)^2 = cosh(2)

sin(z + pi) = -sin(z)

tan(i) = i tanh(1)

The third line is the double-angle formula for the cosine, working at an imaginary angle and landing on a hyperbolic cosine. The last line says the tangent of an imaginary angle is i times a hyperbolic tangent, which is the pattern of the second line repeated.

Contents This chapter on its own page

munotes.in63

Chapter Twenty-Eight

Separating sin(x + iy) and cos(x + iy)

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

Expand with the compound-angle formula, then replace cos(iy) by cosh y and sin(iy) by i sinh y.

The two results

These are the standard results of the topic, and they are asked for by name.

sin(x + i y) = sin(x) cosh(y) + i cos(x) sinh(y)

cos(x + i y) = cos(x) cosh(y) - i sin(x) sinh(y)

Read off the parts. For the sine, the real part is sin x cosh y and the imaginary part is cos x sinh y. For the cosine, the real part is cos x cosh y and the imaginary part is minus sin x sinh y.

That minus sign in the second is the one students lose.

The derivation, which is two lines

Treat x + iy as the sum of two angles and use the compound-angle formula.

sin(x + i y) = sin(x) cos(i y) + cos(x) sin(i y)

Now use the two bridging relations from the previous chapter: the cosine of an imaginary angle is a hyperbolic cosine, and the sine of an imaginary angle is i times a hyperbolic sine.

cos(i y) = cosh(y)

sin(i y) = i sinh(y)

Substituting gives the first result. The cosine goes exactly the same way, and the minus sign appears because the compound-angle formula for the cosine has one.

cos(x + i y) = cos(x) cos(i y) - sin(x) sin(i y)

Worked, with numbers

Find the real and imaginary parts of the sine of 1 + 2i.

Here x = 1 and y = 2, so the answer is sin 1 cosh 2 plus i cos 1 sinh 2.

sin(1 + 2i) = sin(1) cosh(2) + i cos(1) sinh(2)

Numerically that is about 3.166 plus 1.960i, which is another reminder that the sine of a complex number is not trapped between minus one and one.

Another: the cosine of pi over two plus i.

cos(pi/2 + i) = cos(pi/2) cosh(1) - i sin(pi/2) sinh(1)

cos(pi/2 + i) = -i sinh(1)

Because the cosine of pi over two is zero and the sine of pi over two is one, the answer is purely imaginary.

The moduli, which are set as a question in their own right

A very common question is: find the modulus of sin(x + iy), or prove an identity about it. Take the two parts, square them, and add.

abs(sin(x + i y))^2 = sin(x)^2 cosh(y)^2 + cos(x)^2 sinh(y)^2

Now simplify using cosh squared minus sinh squared equals one, which the next-but-one chapter proves.

sin(x)^2 cosh(y)^2 + cos(x)^2 sinh(y)^2 = sin(x)^2 + sinh(y)^2

So the modulus squared of the sine is sin squared x plus sinh squared y, which is a much tidier statement than what we started with.

abs(sin(x + i y))^2 = sin(x)^2 + sinh(y)^2

munotes.in64

Separating sin(x + iy) and cos(x + iy)

The same work on the cosine gives the companion result.

abs(cos(x + i y))^2 = cos(x)^2 + sinh(y)^2

Two consequences, both worth stating. The sine of x + iy is zero only when both sin x and sinh y are zero, which means y = 0 and x is a multiple of pi: so the complex sine has exactly the same zeros as the real one and no others. And the modulus grows with y without limit, because sinh does.

The hyperbolic pair, for completeness

The same method gives the hyperbolic sine and cosine of a complex argument, which appear in the same questions.

sinh(x + i y) = sinh(x) cos(y) + i cosh(x) sin(y)

cosh(x + i y) = cosh(x) cos(y) + i sinh(x) sin(y)

Notice the pattern against the circular pair: the roles of the circular and hyperbolic functions have swapped, and the cosine formula now has a plus sign. That swap is what the relations chapter is about.

The method as a procedure

  1. Write the argument as x + iy, so you know which letter is which.
  2. Apply the compound-angle formula for the function you have.
  3. Replace cos(iy) by cosh y and sin(iy) by i sinh y.
  4. Collect the real part and the imaginary part.
  5. If a modulus is wanted, square and add, then use cosh squared minus sinh squared equals one.

Check yourself

sin(x - i y) = sin(x) cosh(y) - i cos(x) sinh(y)

cos(2 + 3i) = cos(2) cosh(3) - i sin(2) sinh(3)

sin(i y) = i sinh(y)

abs(sin(i))^2 = sinh(1)^2

cos(x + i y) + cos(x - i y) = 2 cos(x) cosh(y)

The first line is the conjugate of the standard result, which is what you would expect: conjugating the argument conjugates the answer, for any function built out of real coefficients. The last line is that same fact used to extract the real part: adding a number to its conjugate gives twice the real part.

Contents This chapter on its own page

munotes.in65

Chapter Twenty-Nine

The Hyperbolic Functions

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

cosh and sinh are the even and odd halves of the exponential function, and they behave like the cosine and the sine with almost every minus sign removed.

MU's label, and where to start

MU's label is "Definition of hyperbolic function", so the definitions are where this chapter starts, rather than with a picture of a hanging chain or a hyperbola. The geometry is in the last section, where it can do no harm.

cosh(x) = (e^x + e^(-x))/2

sinh(x) = (e^x - e^(-x))/2

Read them as a decomposition of the exponential. Add the two and you get e to the x; subtract and you get e to the minus x.

cosh(x) + sinh(x) = e^x

cosh(x) - sinh(x) = e^(-x)

Any function can be split into an even part and an odd part in exactly this way, and cosh and sinh are the even and odd parts of the exponential. That is the cleanest one-sentence description of what they are.

The other four

tanh(x) = sinh(x)/cosh(x)

coth(x) = cosh(x)/sinh(x)

sech(x) = 1/cosh(x)

csch(x) = 1/sinh(x)

Written out in exponentials, the tangent is the one worth having.

tanh(x) = (e^x - e^(-x))/(e^x + e^(-x))

Values and shapes

xcosh xsinh xtanh x
0100
large positivegrowsgrowsapproaches 1
large negativegrowsfalls without limitapproaches -1

The three values at zero are worth memorising.

cosh(0) = 1

sinh(0) = 0

tanh(0) = 0

And the parity, which is the same as for the circular functions.

cosh(-x) = cosh(x)

sinh(-x) = -sinh(x)

tanh(-x) = -tanh(x)

So cosh is even, like the cosine, and sinh and tanh are odd, like the sine and the tangent.

The shapes in words, because a sketch is often asked for. The graph of cosh is a symmetric U-shaped curve with its lowest point at the value 1 on the vertical axis, and it grows very fast in both directions. The graph of sinh passes through the origin, rises steadily, and grows very fast to the right while falling very fast to the left. The graph of tanh passes through the origin and flattens out towards plus one on the right and minus one on the left, which is why it is used as a smooth switch in neural networks.

Domains and ranges

This is the part that is asked and that is easy to get wrong.

FunctionDomainRange
coshall real x1 and above
sinhall real xall real values
tanhall real xstrictly between -1 and 1
cothall x except 0outside the interval from -1 to 1
sechall real xgreater than 0, up to and including 1
cschall x except 0all non-zero values
munotes.in66

The Hyperbolic Functions

The first row is the one to notice. cosh is never less than one, which is the exact opposite of the cosine, which is never more than one. Two consequences: the equation cosh x = 0.5 has no real solution, and the inverse of cosh only exists for arguments of one or more.

Derivatives and integrals

These are needed in Module 2 and in the Laplace transform work, so they are here rather than assumed.

diff(cosh(x), x) = sinh(x)

diff(sinh(x), x) = cosh(x)

diff(tanh(x), x) = sech(x)^2

Compare with the circular case: the derivative of the cosine is minus the sine, and here it is plus the sine. That missing minus sign is the whole difference between the two families, and the chapter on Osborn's rule turns it into a working shortcut.

Integrating the same three the other way round:

integrate(sinh(x), x) = cosh(x)

integrate(cosh(x), x) = sinh(x)

Why they are called hyperbolic

The reason, kept to the end because it explains the name and nothing else.

The point (cos t, sin t) traces out the circle x squared plus y squared equals one as t varies, which is why the trigonometric functions are called circular. The point (cosh t, sinh t) traces out the right-hand branch of the hyperbola x squared minus y squared equals one, for the same reason: the identity below holds for every t.

cosh(t)^2 - sinh(t)^2 = 1

That is the identity the next chapter starts from. The parameter t is not an angle in the hyperbolic case; it is twice the area of a certain sector, which is a fact of no examination value whatever and is included because students ask.

And the hanging chain: a flexible cable hanging under its own weight takes the shape of a cosh curve, called a catenary. That is where the function was first met, by Huygens, Leibniz and Bernoulli in 1691.

Check yourself

cosh(1) = (e + 1/e)/2

sinh(1) = (e - 1/e)/2

cosh(1) + sinh(1) = e

cosh(2) - sinh(2) = e^(-2)

tanh(x) = (e^(2x) - 1)/(e^(2x) + 1)

cosh(x)^2 - sinh(x)^2 = 1

The fifth line is the tangent with the top and bottom multiplied by e to the x, which is the form most useful when solving an equation in tanh: it turns the problem into an ordinary equation in e to the 2x.

Contents This chapter on its own page

munotes.in67

Chapter Thirty

The Hyperbolic Identities

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

Every hyperbolic identity comes out of the exponential definitions in two lines, so none of them has to be remembered.

The fundamental one

Square both definitions and subtract.

cosh(x)^2 = (e^(2x) + 2 + e^(-2x))/4

sinh(x)^2 = (e^(2x) - 2 + e^(-2x))/4

cosh(x)^2 - sinh(x)^2 = 1

The two squares differ only in the middle term, so the subtraction leaves 4 over 4, which is one. That is the identity the whole family hangs on, and it is the hyperbolic counterpart of cos squared plus sin squared equals one, with a minus sign in place of the plus.

Divide it through by cosh squared, and then by sinh squared, for the other two forms.

1 - tanh(x)^2 = sech(x)^2

coth(x)^2 - 1 = csch(x)^2

The compound-angle formulae

Derived the same way, by multiplying out exponentials. Here they are, and every one was verified by machine.

sinh(x + y) = sinh(x) cosh(y) + cosh(x) sinh(y)

sinh(x - y) = sinh(x) cosh(y) - cosh(x) sinh(y)

cosh(x + y) = cosh(x) cosh(y) + sinh(x) sinh(y)

cosh(x - y) = cosh(x) cosh(y) - sinh(x) sinh(y)

Compare them with the circular ones. The sine formulae are identical in shape. The cosine formulae have their signs the other way round: the circular cos(x + y) has a minus and the hyperbolic cosh(x + y) has a plus.

And the tangent:

tanh(x + y) = (tanh(x) + tanh(y))/(1 + tanh(x) tanh(y))

where the circular version has a minus in the denominator.

The double-angle formulae

Put y equal to x in each of the above.

sinh(2x) = 2 sinh(x) cosh(x)

cosh(2x) = cosh(x)^2 + sinh(x)^2

tanh(2x) = 2 tanh(x)/(1 + tanh(x)^2)

And the three alternative forms of cosh 2x, obtained with the fundamental identity, which are the ones actually used in integration.

cosh(2x) = 2 cosh(x)^2 - 1

cosh(2x) = 1 + 2 sinh(x)^2

cosh(x)^2 = (cosh(2x) + 1)/2

sinh(x)^2 = (cosh(2x) - 1)/2

The last two are the hyperbolic versions of the formulae that let you integrate a squared cosine or sine, and they are needed for that purpose in the Laplace transform chapters.

The triple-angle formulae

sinh(3x) = 3 sinh(x) + 4 sinh(x)^3

cosh(3x) = 4 cosh(x)^3 - 3 cosh(x)

Compare with the circular ones from the De Moivre chapter: sin 3t is 3 sin t minus 4 sin cubed, and cos 3t is 4 cos cubed minus 3 cos. So the cosh formula is identical and the sinh one has a sign changed.

Sums to products

Useful in integration and occasionally asked.

sinh(x) + sinh(y) = 2 sinh((x + y)/2) cosh((x - y)/2)

sinh(x) - sinh(y) = 2 cosh((x + y)/2) sinh((x - y)/2)

cosh(x) + cosh(y) = 2 cosh((x + y)/2) cosh((x - y)/2)

cosh(x) - cosh(y) = 2 sinh((x + y)/2) sinh((x - y)/2)

munotes.in68

The Hyperbolic Identities

How to answer "prove the identity" in an examination

Never by quoting another identity you also cannot prove. Always from the definitions, which is four lines at most.

Worked: prove that cosh(x + y) equals cosh x cosh y plus sinh x sinh y.

Write both products out in exponentials.

cosh(x) cosh(y) = (e^(x + y) + e^(x - y) + e^(-x + y) + e^(-x - y))/4

sinh(x) sinh(y) = (e^(x + y) - e^(x - y) - e^(-x + y) + e^(-x - y))/4

Add them. The two middle terms cancel in pairs and the outer terms double.

cosh(x) cosh(y) + sinh(x) sinh(y) = (e^(x + y) + e^(-x - y))/2

(e^(x + y) + e^(-(x + y)))/2 = cosh(x + y)

That is the result. Every identity on this page yields to exactly that procedure.

Check yourself

cosh(x)^2 - sinh(x)^2 = 1

sech(x)^2 + tanh(x)^2 = 1

sinh(2x) = 2 sinh(x) cosh(x)

cosh(2x) - 1 = 2 sinh(x)^2

sinh(x + y) sinh(x - y) = sinh(x)^2 - sinh(y)^2

tanh(x) + coth(x) = 2 coth(2x)

The last two are the kind of identity that looks hard and is not: write each side from the definitions, or from the compound-angle formulae above, and the two sides collapse onto each other.

Contents This chapter on its own page

munotes.in69

Chapter Thirty-One

The Relations Between the Circular and the Hyperbolic Functions

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

Put an imaginary angle into a circular function and a hyperbolic function comes out, and the other way round.

The six relations

MU's label is "Relations between circular and hyperbolic functions". These are what she means, and they are set as a group.

cos(i x) = cosh(x)

sin(i x) = i sinh(x)

tan(i x) = i tanh(x)

cosh(i x) = cos(x)

sinh(i x) = i sin(x)

tanh(i x) = i tan(x)

Read the pattern. The two even functions, cos and cosh, swap into each other with no i attached. The two odd ones pick up a factor of i. The relations are perfectly symmetric: each of the six is the statement above it read the other way.

Why they hold

Both families are built out of the same exponential, and the only difference is where the i sits.

cos(z) = (e^(i z) + e^(-i z))/2

cosh(z) = (e^z + e^(-z))/2

Put z = i x into the first one. Then iz is i squared x, which is minus x, and minus iz is plus x.

cos(i x) = (e^(-x) + e^x)/2

(e^(-x) + e^x)/2 = cosh(x)

That is the first relation, in two lines. The sine goes the same way, and the i comes out because the definition of the sine carries a division by 2i.

sin(i x) = (e^(-x) - e^x)/(2i)

(e^(-x) - e^x)/(2i) = i sinh(x)

To see that last step, multiply top and bottom by i: the denominator becomes minus 2 and the numerator becomes i(e to the minus x minus e to the x), so the whole thing is i times (e to the x minus e to the minus x) over 2, which is i sinh x.

What the relations are for

Three uses, all examined.

Separating a function of x + iy into its parts. The chapter on that used exactly these relations at step three, and could not have been written without them.

Converting an identity. Any circular identity becomes a hyperbolic one, and the next chapter turns that into a rule.

Evaluating a function at a complex point. A question asking for the value of cosh(2 + 3i) or sin(1 + i) is answered with the compound-angle formula and these relations.

Worked: find the value of tan(i), in terms of a hyperbolic function.

tan(i) = i tanh(1)

Worked: show that cosh(i pi) is minus one.

cosh(i pi) = cos(pi)

cos(pi) = -1

So the hyperbolic cosine, which for real arguments is never less than one, takes the value minus one at an imaginary argument. That is worth noticing: the bound "cosh is at least one" is a fact about real arguments only, exactly as "cos is at most one" is.

munotes.in70

The Relations Between the Circular and the Hyperbolic Functions

The one that catches people

The relations pick up an i, and the i is easy to drop. Here is the difference it makes.

sin(i) = i sinh(1)

The sine of i is purely imaginary, with modulus sinh 1, which is about 1.175. Writing sin(i) = sinh(1) loses the i and gives a real number, which is wrong, and the same slip in the middle of a longer question turns a real answer imaginary or the other way round.

The way to keep it straight: the sine is an odd function and so is sinh, and an odd function of an imaginary argument has to be imaginary, because sin(minus z) is minus sin(z). The cosine is even, so the cosine of an imaginary argument is real. Parity settles where the i goes, every time.

The periods, which are the other side of the same coin

The relations say something surprising about the hyperbolic functions: they are periodic, with an imaginary period.

cosh(x + 2 i pi) = cosh(x)

sinh(x + 2 i pi) = sinh(x)

For real arguments cosh and sinh never repeat a value, so periodicity looks absurd. But cosh(z) is cos(iz), and the cosine has period 2 pi, so cosh has period 2 pi i. The two families are the same functions looked at along two perpendicular directions.

Check yourself

cos(2i) = cosh(2)

sin(3i) = i sinh(3)

cosh(i pi/2) = 0

tanh(i pi/4) = i

sin(i)^2 = -sinh(1)^2

cos(i)^2 + sin(i)^2 = 1

The third line is a good test: cosh(i pi over 2) is cos(pi over 2), which is zero, so the hyperbolic cosine does have a zero after all, at an imaginary argument. The fifth line shows the i squared doing its work, and the last shows that the fundamental circular identity holds at a complex argument too, as the earlier chapter said it would.

Contents This chapter on its own page

munotes.in71

Chapter Thirty-Two

Osborn's Rule, and Where It Fails

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

Take any circular identity, change every function to its hyperbolic namesake, and change the sign of any term containing a product of two sines.

The rule

Osborn's rule is a conversion recipe, and it works because of the relations in the previous chapter.

  1. Replace cos by cosh, sin by sinh, tan by tanh, and so on.
  2. Wherever a term contains the product of an even number of sines, other than none, change its sign. In practice: a term with two sinh factors, or a sinh squared, or a tan squared, flips sign.

That is the whole rule. It is a labour-saving device and not a proof, and a question asking you to "prove" a hyperbolic identity wants the exponential derivation of the previous chapters, not this.

Why it works

Consider a circular identity in which every angle is replaced by i times a real variable. By the relations, every cosine becomes a cosh with no i, and every sine becomes i times a sinh. So a term with two sine factors picks up i squared, which is minus one, and a term with no sine factors or one sine factor picks up either nothing or a single i that can be divided out of the whole identity.

Hence: an even number of sines, at least two, flips the sign. Everything else is unchanged. That is Osborn's rule, and it is the same argument every time.

Worked conversions

The Pythagorean identity. The circular one has two sines in the second term, which is sin squared, so its sign flips.

cos(x)^2 + sin(x)^2 = 1

cosh(x)^2 - sinh(x)^2 = 1

The compound-angle formula for the cosine. The term cos x cos y has no sines; the term sin x sin y has two, so its sign flips from minus to plus.

cos(x + y) = cos(x) cos(y) - sin(x) sin(y)

cosh(x + y) = cosh(x) cosh(y) + sinh(x) sinh(y)

The compound-angle formula for the sine. Each term has exactly one sine factor, so nothing flips.

sin(x + y) = sin(x) cos(y) + cos(x) sin(y)

sinh(x + y) = sinh(x) cosh(y) + cosh(x) sinh(y)

The double-angle formula for the cosine.

cos(2x) = cos(x)^2 - sin(x)^2

cosh(2x) = cosh(x)^2 + sinh(x)^2

The tangent formula. A tangent counts as a sine over a cosine, so tan x tan y counts as two sines and flips.

tan(x + y) = (tan(x) + tan(y))/(1 - tan(x) tan(y))

tanh(x + y) = (tanh(x) + tanh(y))/(1 + tanh(x) tanh(y))

The triple-angle formula for the sine. The term sin cubed has three sines, an odd number, so it does not flip; but 3 sin x has one, so it does not either. And yet the hyperbolic version does differ in sign.

munotes.in72

Osborn's Rule, and Where It Fails

sin(3x) = 3 sin(x) - 4 sin(x)^3

sinh(3x) = 3 sinh(x) + 4 sinh(x)^3

That looks like a counterexample and is not. Dividing the whole identity by i removes one factor of i from each side, and the sin cubed term is left with i squared, which is the flip. The rule as stated in step 2 is about an even number of sines after that division has been accounted for, and the practical way to say it is: count the sine factors, and flip the sign when the count is even, counting the overall factor of i as one of them. For an identity whose left-hand side is a sine, that means a term with an odd number of sines flips.

That subtlety is why the rule is a shortcut and not a substitute for the derivation. The honest advice: use Osborn's rule to guess, then check the guess from the definitions. A wrong sign in an identity is worth no marks at all, and it takes three lines to confirm.

Where it fails outright

Osborn's rule says nothing about anything that is not an identity between products and sums of the functions.

  • Ranges. The cosine is at most one; the cosh is at least one. No sign rule will tell you that.
  • Derivatives. The derivative of cos is minus sin; the derivative of cosh is plus sinh. There is no sine product here, so the rule would predict no change, and yet the sign does change.
  • Periods. The circular functions have period 2 pi; the hyperbolic ones have period 2 pi i.
  • Zeros. The cosine vanishes at odd multiples of pi over two; the cosh has no real zero at all.

So the rule converts algebraic identities and nothing else.

Check yourself

Convert each circular identity with the rule, then confirm against the hyperbolic chapter.

CircularHyperbolic
cos squared plus sin squared is onecosh squared minus sinh squared is one
one plus tan squared is sec squaredone minus tanh squared is sech squared
cos 2x as 1 minus 2 sin squaredcosh 2x as 1 plus 2 sinh squared
sin 2x as twice sin cossinh 2x as twice sinh cosh

And the machine-checked versions of the last two:

cosh(2x) = 1 + 2 sinh(x)^2

sinh(2x) = 2 sinh(x) cosh(x)

1 - tanh(x)^2 = sech(x)^2

Contents This chapter on its own page

munotes.in73

Chapter Thirty-Three

tan(x + iy), and Separating It Into Real and Imaginary Parts

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

Separate the tangent of x + iy by multiplying above and below by the conjugate of the denominator, exactly as you divide any complex number.

Why it is harder than the sine and the cosine

The tangent is a quotient, so separating it means dividing one complex number by another, and the answer's parts are both fractions. It is the single most demanding routine manipulation in Module 1, and it is set regularly, so it gets a chapter.

There are two routes. The first is shorter and the second is safer, and it is worth being able to do both.

Route one: from the sine and the cosine

Write the tangent as the quotient, substitute the two separations from the earlier chapter, and then divide by the standard method.

tan(x + i y) = sin(x + i y)/cos(x + i y)

sin(x + i y) = sin(x) cosh(y) + i cos(x) sinh(y)

cos(x + i y) = cos(x) cosh(y) - i sin(x) sinh(y)

Now multiply above and below by the conjugate of the bottom, which is cos x cosh y plus i sin x sinh y. The new denominator is the modulus squared of the cosine, which the earlier chapter showed to be cos squared x plus sinh squared y.

abs(cos(x + i y))^2 = cos(x)^2 + sinh(y)^2

The numerator, multiplied out and with cosh squared minus sinh squared equals one used on it, gives the following.

tan(x + i y) = (sin(x) cos(x) + i sinh(y) cosh(y))/(cos(x)^2 + sinh(y)^2)

So the real part is sin x cos x over that denominator and the imaginary part is sinh y cosh y over the same denominator.

The tidier form, which is the one to quote

Use the double-angle formulae on both numerator terms and on the denominator. Twice sin x cos x is sin 2x, twice sinh y cosh y is sinh 2y, and twice the denominator is cos 2x plus cosh 2y.

2 sin(x) cos(x) = sin(2x)

2 sinh(y) cosh(y) = sinh(2y)

2(cos(x)^2 + sinh(y)^2) = cos(2x) + cosh(2y)

Doubling top and bottom therefore gives the standard result.

tan(x + i y) = (sin(2x) + i sinh(2y))/(cos(2x) + cosh(2y))

That is the form worth carrying. It is symmetric, it has one denominator, and both parts are immediate.

Route two: from the compound-angle formula for the tangent

Use the tangent addition formula directly, with the relation that the tangent of an imaginary angle is i times a hyperbolic tangent.

tan(i y) = i tanh(y)

tan(x + i y) = (tan(x) + i tanh(y))/(1 - i tan(x) tanh(y))

Then multiply above and below by the conjugate of the denominator and collect. The answer is the same, and this route is quicker if the question is already in terms of tangents. Its drawback is that it breaks down where tan x is undefined, at odd multiples of pi over two, which the first route handles without difficulty.

munotes.in74

tan(x + iy), and Separating It Into Real and Imaginary Parts

The hyperbolic companion

The same work on tanh, either by Osborn's rule applied to the result or from the definitions, gives the following.

tanh(x + i y) = (sinh(2x) + i sin(2y))/(cosh(2x) + cos(2y))

The roles of x and y and of the two families have swapped, exactly as they did for the sine and cosine pair.

Worked, with numbers

Separate tan(pi over 4 plus i) into real and imaginary parts.

Here x is pi over four and y is one. So 2x is pi over two, and sin 2x is one while cos 2x is zero.

tan(pi/4 + i) = (sin(pi/2) + i sinh(2))/(cos(pi/2) + cosh(2))

tan(pi/4 + i) = (1 + i sinh(2))/cosh(2)

So the real part is sech 2, about 0.2658, and the imaginary part is tanh 2, about 0.9640.

1/cosh(2) = sech(2)

sinh(2)/cosh(2) = tanh(2)

A second one, where the angle is purely imaginary. Put x = 0 and the formula collapses.

tan(i y) = (0 + i sinh(2y))/(1 + cosh(2y))

i sinh(2y)/(1 + cosh(2y)) = i tanh(y)

which is the relation the previous chapter gave, arrived at from the general formula. That agreement is a good check that the general formula has been remembered correctly.

The procedure

  1. Identify x and y.
  2. Write the standard result, with sin 2x and sinh 2y on top and cos 2x plus cosh 2y underneath.
  3. Evaluate the four trigonometric and hyperbolic values.
  4. Read off the two parts.
  5. Check the special cases: y = 0 must give tan x, and x = 0 must give i tanh y.

Step five is the one that catches a misremembered formula in ten seconds.

(sin(2x) + i sinh(0))/(cos(2x) + cosh(0)) = tan(x)

Putting y = 0 does return the ordinary tangent, so the formula is right.

Check yourself

tan(x + i y) = (sin(2x) + i sinh(2y))/(cos(2x) + cosh(2y))

tanh(x + i y) = (sinh(2x) + i sin(2y))/(cosh(2x) + cos(2y))

tan(i) = i tanh(1)

tan(pi/4) = 1

abs(tan(i y)) = abs(tanh(y))

The fourth line is the y = 0 check on the standard formula, and the last says the tangent of an imaginary angle has modulus at most one, because tanh does. That is the opposite of what happens to the sine and cosine, which grow without limit up the imaginary axis.

Contents This chapter on its own page

munotes.in75

Chapter Thirty-Four

The Inverse Hyperbolic Functions, and Why They Are Logarithms

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

Solve the defining equation for the exponential, which is a quadratic, and the inverse function comes out as a logarithm.

The three results

These are MU's label "Inverse hyperbolic functions", and they are what she wants.

asinh(x) = log(x + sqrt(x^2 + 1))

acosh(x) = log(x + sqrt(x^2 - 1))

atanh(x) = log((1 + x)/(1 - x))/2

The second holds for x of one or more and the third strictly between minus one and one, which are the ranges of cosh and tanh. Outside those ranges there is nothing to invert, and this book's checker is told the domain of each so that the claims are proved where they are made and not where they are not.

Each is derived below rather than quoted, because a question asking you to "express sinh inverse x in logarithmic form" is asking for the derivation.

Deriving the inverse sine

Let y be the number whose hyperbolic sine is x. So x = sinh y, and we want y in terms of x.

x = sinh(y)

Write sinh y out in exponentials and multiply through by 2.

sinh(y) = (e^y - e^(-y))/2

So 2x equals e to the y minus e to the minus y. Multiply everything by e to the y to clear the negative exponent, and set u = e to the y.

The equation becomes u squared minus 2xu minus 1 = 0, which is an ordinary quadratic in u. Solve it by the formula.

u = (2x + sqrt(4x^2 + 4))/2

u = x + sqrt(x^2 + 1)

The quadratic has two roots, x plus the root and x minus the root. The second must be rejected, and this is the step marks are given for: u is e to the y, which is positive for every real y, while x minus the square root of x squared plus one is always negative, because the square root exceeds the size of x. So only the plus sign survives.

Finally, y is the logarithm of u.

asinh(x) = log(x + sqrt(x^2 + 1))

The domain is every real x, and the function is defined for all of them, because x squared plus one is always positive.

Deriving the inverse cosine

The same method, starting from x = cosh y, gives the quadratic u squared minus 2xu plus 1 = 0, whose roots are x plus and x minus the square root of x squared minus one.

acosh(x) = log(x + sqrt(x^2 - 1))

Two differences from the sine, and both are asked about.

The domain is x of one or more. The hyperbolic cosine never takes a value below one, so there is nothing to invert below one, and the square root of x squared minus one would not be real there either.

munotes.in76

The Inverse Hyperbolic Functions, and Why They Are Logarithms

Both roots are legitimate, because both are positive when x is at least one, and their product is one. So cosh inverse is genuinely two-valued: for any x above one there are two values of y, one positive and one negative, differing only in sign. The principal value is the one with the plus sign, which gives the non-negative answer, and the other is its negative.

log(x + sqrt(x^2 - 1)) = -log(x - sqrt(x^2 - 1))

That identity is the two-valuedness written down: the two answers are negatives of each other. It is what you would expect from the graph of cosh, which is symmetric about the vertical axis, so a horizontal line crosses it twice.

Deriving the inverse tangent

From x = tanh y, write the tangent in the form the hyperbolic chapter gave.

tanh(y) = (e^(2y) - 1)/(e^(2y) + 1)

So x(e to the 2y plus 1) equals e to the 2y minus 1. Collecting the exponential on one side gives e to the 2y times (1 minus x) equal to 1 plus x.

e^(2y) = (1 + x)/(1 - x)

atanh(x) = log((1 + x)/(1 - x))/2

The domain is strictly between minus one and one, because outside that range the fraction is negative or undefined and its real logarithm does not exist. That matches the range of tanh, which the hyperbolic chapter gave as strictly between minus one and one.

The other three

For completeness, and because a question occasionally asks.

acoth(x) = log((x + 1)/(x - 1))/2

asech(x) = log((1 + sqrt(1 - x^2))/x)

acsch(x) = log((1 + sqrt(1 + x^2))/x)

Worked values

asinh(0) = 0

asinh(1) = log(1 + sqrt(2))

acosh(1) = 0

atanh(0) = 0

atanh(1/2) = log(3)/2

asinh(3/4) = log(2)

The last one is a favourite: three quarters plus the square root of nine sixteenths plus one is three quarters plus five quarters, which is two, so the answer is exactly log 2. Questions are usually built backwards from a neat answer like that, so if your logarithm's argument is not tidy, check the arithmetic under the root.

The derivatives, which Module 2 needs

diff(asinh(x), x) = 1/sqrt(x^2 + 1)

diff(atanh(x), x) = 1/(1 - x^2)

These are the reason the inverse hyperbolic functions appear in integration tables, and the second is the reason a partial fraction with two linear factors can produce an inverse hyperbolic tangent instead of two logarithms.

Check yourself

asinh(x) = log(x + sqrt(x^2 + 1))

asinh(-x) = -asinh(x)

asinh(sinh(2)) = 2

atanh(tanh(1)) = 1

acosh(cosh(3)) = 3

atanh(x) = log((1 + x)/(1 - x))/2

The third line says sinh inverse is odd, which it must be because sinh is. Confirming it from the logarithmic form takes one line of algebra with the conjugate surd, and it is a common short question.

Contents This chapter on its own page

munotes.in77

Chapter Thirty-Five

Inverse Circular Functions of a Complex Number

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

The same quadratic-in-the-exponential method gives every inverse circular function as a logarithm, and that is how an equation like cos z = 3 is solved.

Why the circular inverses become logarithms too

Because the circular functions are built out of the exponential just as the hyperbolic ones are. Solving x = sin z for z therefore means solving a quadratic in e to the iz, and the answer comes out as a logarithm with an i in it.

The three results

asin(x) = -i log(i x + sqrt(1 - x^2))

atan(x) = log((1 + i x)/(1 - i x))/(2i)

And the cosine, which is the same shape.

acos(x) = -i log(x + i sqrt(1 - x^2))

Each holds for complex x as well as real, with the usual caution that the logarithm is multi-valued so the inverse functions are too.

Deriving the inverse sine

Let z be the number whose sine is x.

x = sin(z)

Write the sine in exponentials and multiply through by 2i.

sin(z) = (e^(i z) - e^(-i z))/(2i)

So 2ix equals e to the iz minus e to the minus iz. Multiply by e to the iz and put u = e to the iz, and the equation becomes u squared minus 2ixu minus 1 = 0.

Solving that quadratic:

u = (2 i x + sqrt(-4x^2 + 4))/2

u = i x + sqrt(1 - x^2)

Then iz is the logarithm of u, so z is minus i times that logarithm, which is the result above.

Notice the structure against the hyperbolic case. There the quadratic was u squared minus 2xu minus 1; here it is the same with x replaced by ix. That is the relations chapter's message showing up again: the two families differ only by where the i sits.

The main use: solving an equation with no real solution

This is what the topic is for and it is a standard question.

Solve cos z = 3.

For a real angle this is impossible, because the cosine of a real number never exceeds one. For a complex z it is perfectly soluble.

acos(3) = -i log(3 + i sqrt(1 - 9))

Here is the slip that is worth making once, in writing, so that you never make it in the hall. Suppose the square root of 1 minus 9 were taken as 2i.

sqrt(1 - 9) = 2i

Then the argument of the logarithm would be 3 plus i times 2i, which is 3 minus 2, that is 1, and the logarithm of 1 is zero. That would give z = 0, which cannot be right, because the cosine of zero is 1 and not 3.

The square root of 1 minus 9 is the square root of minus 8, which is 2i root two, not 2i. Redo it.

munotes.in78

Inverse Circular Functions of a Complex Number

sqrt(1 - 9) = 2 i sqrt(2)

3 + i(2 i sqrt(2)) = 3 - 2 sqrt(2)

acos(3) = -i log(3 - 2 sqrt(2))

Three minus two root two is about 0.1716, and its logarithm is about minus 1.7627. So z is minus i times that, which is about 1.7627i, a purely imaginary answer. Check it against the relation that the cosine of an imaginary angle is a hyperbolic cosine.

cos(i acosh(3)) = 3

acosh(3) = log(3 + 2 sqrt(2))

And the two logarithms are negatives of each other, since three minus two root two is the reciprocal of three plus two root two, so the two routes agree.

log(3 - 2 sqrt(2)) = -log(3 + 2 sqrt(2))

The lesson is the one the argument chapter also taught: do the check. A wrong surd produced a plausible-looking answer of zero, and one substitution caught it.

The shortest route to a question like this is in fact the relations chapter. Since cos(iy) is cosh y, the equation cos z = 3 with z = iy becomes cosh y = 3, so y is cosh inverse of 3, and z is i times that.

The multi-valuedness

Because the logarithm has infinitely many values, so has every inverse circular function, and that matches what you already know: sin z = 0.5 has infinitely many real solutions too, one in each turn. The principal value is the one taken with the principal logarithm.

asin(1/2) = pi/6

asin(1) = pi/2

atan(1) = pi/4

Those are the principal values, and they are the familiar answers, which is the check that the logarithmic formulae are the same functions you already know.

Check yourself

asin(x) = -i log(i x + sqrt(1 - x^2))

asin(0) = 0

asin(i) = i asinh(1)

atan(i/2) = i atanh(1/2)

acos(0) = pi/2

The third and fourth lines are the relations chapter applied to the inverses: an inverse circular function of an imaginary argument is i times the corresponding inverse hyperbolic function of the real one. That pairing is worth knowing, because it turns half the questions in this part of the syllabus into the other half.

Contents This chapter on its own page

munotes.in79

Chapter Thirty-Six

Separating an Inverse Function Into Real and Imaginary Parts

Syllabus topic Module 1, "1.1 Complex Numbers"

In one line

Set the inverse function equal to u + iv, take the function of both sides, and compare parts.

The question this answers

A standard examination question reads: if tanh inverse of (x + iy) equals u + iv, find u and v. Or: separate sin inverse of (a + ib) into real and imaginary parts.

The logarithmic forms of the previous two chapters will do it, but they lead into surds of complex numbers and are hard to control. There is a better method, and it is the one to use.

The method

Do not try to work forwards from the logarithm. Work backwards.

  1. Let the answer be u + iv.
  2. Apply the forward function to both sides, so the inverse disappears.
  3. Separate the forward function of u + iv into real and imaginary parts, using the results already proved.
  4. Compare parts with the given number. You now have two real equations in u and v.
  5. Solve them, usually by taking a ratio or by using an identity.

The whole trick is step two: an inverse function is hard to manipulate and its forward partner is easy, so get rid of the inverse first.

Worked: tanh inverse of x + iy

Let u + iv be the answer, so that x + iy is the hyperbolic tangent of u + iv.

x + i y = tanh(u + i v)

Now use the separation of tanh from the chapter on the tangent of a complex angle.

tanh(u + i v) = (sinh(2u) + i sin(2v))/(cosh(2u) + cos(2v))

Comparing parts gives the two equations below.

x = sinh(2u)/(cosh(2u) + cos(2v))

y = sin(2v)/(cosh(2u) + cos(2v))

Now the standard manoeuvre. Form x squared plus y squared, and separately form 2x over (1 minus x squared minus y squared). The algebra is routine and the results are these.

tan(2v) = 2y/(1 - x^2 - y^2)

tanh(2u) = 2x/(1 + x^2 + y^2)

So:

u = atanh(2x/(1 + x^2 + y^2))/2

v = atan(2y/(1 - x^2 - y^2))/2

Those two are the answer, and they are the pair MU's own reading list prints. Notice the symmetry: the same expression appears in both with x and y exchanged and one sign changed, which is a good way to recall them.

Worked: sin inverse of a complex number

Let u + iv be sin inverse of (a + ib), so a + ib is the sine of u + iv.

a + i b = sin(u + i v)

Use the separation of the sine.

sin(u + i v) = sin(u) cosh(v) + i cos(u) sinh(v)

Comparing parts:

a = sin(u) cosh(v)

b = cos(u) sinh(v)

Two equations, two unknowns. Eliminate v by using cosh squared minus sinh squared equals one: divide the first by sin u and the second by cos u, then square and subtract.

munotes.in80

Separating an Inverse Function Into Real and Imaginary Parts

a^2/sin(u)^2 - b^2/cos(u)^2 = 1

That is an equation in u alone. It is a quadratic in sin squared u once you clear the denominators, and solving it gives u; putting u back into either original equation gives v.

The same elimination the other way, using sin squared plus cos squared equals one, gives an equation in v alone.

a^2/cosh(v)^2 + b^2/sinh(v)^2 = 1

Both forms are examinable, and which you use depends on which unknown the question asks for first.

Worked, with numbers

Find the real and imaginary parts of tanh inverse of i.

Here x = 0 and y = 1, so the formulae give the following.

2(0)/(1 + 0 + 1) = 0

So the real part u is half of tanh inverse of zero, which is zero. And for the imaginary part, 1 minus 0 minus 1 is zero, so the argument of the arctangent is 2 divided by 0, which is unbounded, and the arctangent of that is pi over two. So v is half of pi over two, which is pi over four.

atanh(i) = i pi/4

Check it directly: the hyperbolic tangent of i pi over four is i times the tangent of pi over four, which is i times one, which is i.

tanh(i pi/4) = i

The answer is right.

The two checks to run on any answer

Put the imaginary part to zero. If y = 0 the answer must reduce to the ordinary real inverse function of x, with no imaginary part. Any formula that fails that test has been copied down wrongly.

Apply the forward function. One substitution, as in the worked example above, and you know.

Check yourself

tanh(i pi/4) = i

sin(i) = i sinh(1)

asin(i) = i asinh(1)

atanh(0) = 0

tanh(atanh(1/2)) = 1/2

The third line is the answer to "separate sin inverse of i", and it says the answer is purely imaginary: u is zero and v is sinh inverse of one, which is log(1 + root 2). That is the sort of answer to expect when the number you start from is purely imaginary.

Contents This chapter on its own page

munotes.in81

Chapter Thirty-Seven

Indeterminate Forms, and Why Zero Over Zero Is Not a Number

Syllabus topic Course Objective 6, "Inculcate the habit of Mathematical Thinking through Indeterminate forms" (named by no module label)

In one line

Zero over zero is not a number and not an error: it is a signal that the limit has to be worked out another way.

Why this chapter is in the book

MU's sixth Course Objective for this paper reads: "Inculcate the habit of Mathematical Thinking through Indeterminate forms". No module label mentions indeterminate forms at all.

That is recorded in this book's own contract rather than glossed over, and the topic is taught for two reasons. The internal twenty marks includes five for quizzes and assignments, which are set against the Course Objectives. And the topic is not decoration in this paper: the moment you have to show that the defining integral of a Laplace transform converges, or evaluate an initial-value theorem, or handle a partial fraction with a repeated root, you are taking a limit that arrives as an indeterminate form.

What "indeterminate" means

A form is indeterminate when knowing only the limits of the pieces does not tell you the limit of the whole.

Take a fraction whose top tends to zero and whose bottom tends to zero. What does the fraction do? The honest answer is: anything at all, depending on which of them gets to zero faster. Here are three fractions, all of the form zero over zero, with three different answers.

lim(x/x, x -> 0) = 1

lim((2x)/x, x -> 0) = 2

lim((x^2)/x, x -> 0) = 0

lim(x/(x^2), x -> 0) = oo

Four fractions of the same form, and the answers are 1, 2, 0 and unbounded. So the form tells you nothing, which is exactly what indeterminate means.

Compare that with a form that is not indeterminate. If the top tends to 5 and the bottom tends to 0 from above, the fraction grows without limit, and there is nothing to work out. That form is determinate.

The seven indeterminate forms

FormAn example that gives one answerAnother that gives a different one
zero over zerosin x over x tends to 1x squared over x tends to 0
infinity over infinityx over x tends to 1x squared over x grows
zero times infinityx times one over x tends to 1x squared times one over x tends to 0
infinity minus infinity(x + 1) minus x tends to 1(2x) minus x grows
one to the power infinity(1 + 1/x) to the x tends to e1 to the x tends to 1
zero to the power zerox to the x tends to 1needs care
infinity to the power zerox to the 1/x tends to 1needs care

Those seven are the whole list. Everything else is determinate.

munotes.in82

Indeterminate Forms, and Why Zero Over Zero Is Not a Number

The forms that look indeterminate and are not

Students waste time on these, so they are worth naming.

FormValueWhy
a non-zero number over zerogrows without limitthe bottom is shrinking, the top is not
zero over a non-zero number0nothing to fight about
zero to the power of a positive number0
a positive number over infinity0
infinity plus infinitygrows without limitboth pull the same way
infinity times infinitygrows without limit

Note that zero over zero is indeterminate but a number over zero is not. The difference is whether there is a competition. If the top is heading somewhere non-zero and the bottom is heading to zero, the bottom wins and there is no contest.

What to do with an indeterminate form

Three tools, in the order to try them.

One: factor and cancel. Usually the quickest, and it needs no theory.

lim((x^2 - 4)/(x - 2), x -> 2) = 4

lim((x^3 - 1)/(x - 1), x -> 1) = 3

Both of those are zero over zero at the point, and both come out at once by factorising the top and cancelling the common factor.

Two: divide through by the fastest-growing term. The standard treatment of infinity over infinity.

lim((3x^2 + 2x)/(x^2 - 5), x -> oo) = 3

lim((x + 1)/(x^2 + 1), x -> oo) = 0

Three: L'Hopital's rule, which is the next chapter, and which handles everything the first two cannot.

A form the rest of this module needs

Here is a limit of the kind this paper actually asks for, and it is zero over zero.

lim((1 - cos(x))/x^2, x -> 0) = 1/2

lim(sin(x)/x, x -> 0) = 1

lim((e^x - 1)/x, x -> 0) = 1

Those three appear constantly. The first two are needed when a Laplace transform is computed from a series; the third is the statement that the derivative of the exponential at zero is one, which is why the exponential is the function the transform is built on.

And here is an infinity-over-infinity limit that will appear in the chapter on the existence of the transform.

lim(x/e^x, x -> oo) = 0

lim(x^3/e^x, x -> oo) = 0

Any power of x, divided by an exponential, tends to zero. That single fact is the reason the Laplace integral of t to the n converges, and the reason MU's condition on s exists.

Check yourself

lim((x^2 - 9)/(x - 3), x -> 3) = 6

lim((5x^2 + 1)/(2x^2 - 3), x -> oo) = 5/2

lim(tan(x)/x, x -> 0) = 1

lim((1 + 1/x)^x, x -> oo) = e

lim(log(x)/x, x -> oo) = 0

The fourth is the definition of e written as a limit, and it is the standard example of the form one to the power infinity.

Contents This chapter on its own page

munotes.in83

Chapter Thirty-Eight

L'Hopital's Rule, and the Three Places This Paper Needs It

Syllabus topic Course Objective 6, "Inculcate the habit of Mathematical Thinking through Indeterminate forms" (named by no module label)

In one line

For a limit of the form zero over zero or infinity over infinity, differentiate the top and the bottom separately and try again.

The rule

Suppose f and g both tend to zero as x tends to a, or both grow without limit. Then the limit of f over g equals the limit of f prime over g prime, provided that second limit exists.

That proviso matters, and so do two others.

Differentiate them separately. This is not the quotient rule. The top is differentiated, the bottom is differentiated, and the two results are put over each other. Using the quotient rule here is the commonest mistake with L'Hopital, and it gives nonsense.

Check the form first. The rule applies only to zero over zero and infinity over infinity. Applying it to a determinate form gives a wrong answer with great confidence, and the next section shows that happening.

You may repeat it. If the new fraction is still indeterminate, differentiate again. Some limits need three rounds.

Worked

lim(sin(x)/x, x -> 0) = 1

lim((1 - cos(x))/x^2, x -> 0) = 1/2

lim((e^x - 1 - x)/x^2, x -> 0) = 1/2

lim((x - sin(x))/x^3, x -> 0) = 1/6

Take the second. At x = 0 the top is 1 minus 1, which is zero, and the bottom is zero, so the form is zero over zero. Differentiate: the top becomes sin x and the bottom becomes 2x, and the form is still zero over zero. Differentiate again: the top becomes cos x and the bottom becomes 2, and now putting x = 0 gives one over two.

The fourth needs three rounds and ends with cos x over 6 evaluated at zero, giving one sixth.

And the infinity over infinity cases.

lim(x/e^x, x -> oo) = 0

lim(log(x)/x, x -> oo) = 0

lim(x^3/e^x, x -> oo) = 0

The third takes three rounds: each differentiation drops the power of x by one and leaves the exponential alone, so after three the top is a constant and the bottom still grows.

That is the proof of a fact stated in the previous chapter: an exponential beats any power of x. It is the reason the Laplace integral converges.

Applying it where it does not apply

Here is the failure, in the smallest case, so that it is met once on paper rather than in an examination.

Consider the limit of (x + 3) over (2x + 1) as x tends to 1. The top tends to 4 and the bottom tends to 3, so the form is 4 over 3 and the limit is 4 over 3. There is nothing to work out.

lim((x + 3)/(2x + 1), x -> 1) = 4/3

munotes.in84

L'Hopital's Rule, and the Three Places This Paper Needs It

Now apply L'Hopital's rule anyway. The derivative of the top is 1 and the derivative of the bottom is 2, so the rule would give one half.

lim((x + 3)/(2x + 1), x -> 1) = 1/2

One half is not four thirds. The rule gave a confident wrong answer because the form was never indeterminate. Always check the form before differentiating, and the check is one substitution.

Getting the other five forms into shape

L'Hopital's rule handles only two of the seven forms. The other five are converted into one of those two first.

Zero times infinity. Move one factor into the denominator as its reciprocal.

lim(x log(x), x -> 0) = 0

Writing x log x as log x over one over x turns zero times infinity into infinity over infinity, which the rule then handles.

Infinity minus infinity. Combine over a common denominator.

lim(1/sin(x) - 1/x, x -> 0) = 0

Combining gives (x minus sin x) over (x sin x), which is zero over zero.

The three power forms. Take logarithms, find the limit of the logarithm, and exponentiate at the end.

lim((1 + 1/x)^x, x -> oo) = e

lim(x^(1/x), x -> oo) = 1

For the first, the logarithm is x log(1 + 1/x), which is zero times infinity, which becomes log(1 + 1/x) over 1/x, which is zero over zero. The rule gives a limit of 1 for the logarithm, so the original limit is e to the power 1.

The three places this paper needs it

This is why the chapter is not a detour.

Showing the transform's integral converges. The defining integral of a Laplace transform contains e to the minus st times f(t), and it converges because the exponential beats whatever polynomial growth f has. That statement is the limit of a power over an exponential, which L'Hopital's rule settles.

The initial and final value theorems. Both are limits of s times F(s), and for a rational F they arrive as infinity over infinity or zero over zero.

A partial fraction with a repeated factor. The cover-up rule for the constant on a repeated factor is a limit, and for the second constant it is a derivative, which is L'Hopital's rule in disguise. The chapter on the cover-up rule says so explicitly.

Check yourself

lim((x^2 - 1)/(x - 1), x -> 1) = 2

lim(tan(x)/x, x -> 0) = 1

lim((e^(2x) - 1)/x, x -> 0) = 2

lim(x^2/e^x, x -> oo) = 0

lim(sin(3x)/sin(2x), x -> 0) = 3/2

lim((cos(x) - 1)/x, x -> 0) = 0

The first can also be done by factorising, and should be: L'Hopital's rule is the tool for when nothing simpler works, not the first thing to reach for. The last line is a good reminder that an indeterminate form can perfectly well have the answer zero.

Contents This chapter on its own page

munotes.in85

Chapter Thirty-Nine

What a Transform Is, and Why Anyone Would Want One

Syllabus topic Module 1, "1.2 The Laplace Transform"

In one line

A transform carries a hard problem into a place where it is easy, you solve it there, and you carry the answer back.

MU's label

Her label is one word: "Introduction". This chapter is what belongs under it, and it comes before any integral, because the integral makes no sense until you know what it is for.

The pattern, with an example you already know

Suppose you had to multiply 4,096 by 8,192 by hand, and suppose you had a book of logarithms and no calculator. You would not multiply. You would do this.

StepWhat happens
TransformLook up the logarithm of each number
SolveAdd the two logarithms
InvertLook up which number has that logarithm

Multiplication, which is hard by hand, became addition, which is easy. The logarithm carried the problem into a place where the operation was simpler, and the antilogarithm carried the answer back.

That is the whole idea of a transform, and every transform in mathematics follows that three-step shape.

The Laplace transform's version of it

The hard operation here is differentiation, and the problem is a differential equation.

StepWhat happens
TransformTake the Laplace transform of every term of the equation
SolveThe differentiation has become multiplication by s, so the equation is now algebra: solve for the transform of the answer
InvertTake the inverse Laplace transform to get the answer itself

A differential equation goes in, an ordinary algebraic equation comes out, you solve it with school algebra, and you convert back. That is what the whole second half of Module 1 is for.

The step that makes it work is one theorem, the transform of a derivative, which has its own chapter. It says that transforming dy/dt gives s times the transform of y, minus the value of y at the start. Differentiation becomes multiplication, and the initial condition walks into the algebra by itself.

Why that is worth learning when Module 2 solves the same equations by hand

A fair question, and there are three honest answers.

The initial conditions come for free. By the methods of Module 2 you find a general solution with arbitrary constants and then substitute the initial values to pin them down, which is a second stage of work and a second chance to make a mistake. The transform method puts the initial values in at the start and never produces an arbitrary constant at all.

A discontinuous input is no harder. If the right-hand side of the equation switches on at t = 2, or is a sudden impulse, the methods of Module 2 have to solve the equation in pieces and match the pieces at the joins. The transform method handles it with one extra factor, and the chapter on equations driven by a step or an impulse shows it.

munotes.in86

What a Transform Is, and Why Anyone Would Want One

It generalises. The same idea, with a different kernel, gives the Fourier transform, which is how signals are filtered and compressed, and the z transform, which is how digital filters are designed. A student who understands one transform understands the shape of all of them.

What the transform actually is, in advance

The next chapter gives the definition properly. In advance, so that it is not a surprise:

The Laplace transform takes a function of time, called f(t), and produces a function of a new variable s, called F(s). It does it with one integral, evaluated once for each function, and the answers are collected in a table so that nobody has to do the integral twice.

Two words for what is going on. The variable t belongs to the time domain, where the problem is posed. The variable s belongs to the s domain, or the frequency domain, where the problem is easy. The transform and its inverse are the doors between them.

Where you have met this idea before without the name

A logarithm, as above.

A change of coordinates. A problem about a circle is hard in x and y and easy in polar coordinates. Same problem, better place.

Base conversion. Asking whether a number is divisible by 8 is hard in decimal and trivial in binary, where you look at the last three digits.

Every one of those is the same move: the problem is not being made simpler, it is being moved somewhere the operation you need is cheap.

What this half of the module contains

ChaptersWhat
The definition and the elementary transformsBuilding the table, from the integral
The properties and the shifting theoremsExtending the table without more integration
The transform of a derivativeThe theorem the whole method rests on
Steps, impulses and periodic functionsInputs that switch, hit, or repeat
The convolution theoremWhat the transform of a product is, and is not
The inverse transformGetting back, which is where partial fractions live
Solving differential equationsThe three steps, executed

Read them in order. Each chapter's table entry is used by the next.

Contents This chapter on its own page

munotes.in87

Chapter Forty

The Definition of the Laplace Transform

Syllabus topic Module 1, "1.2 The Laplace Transform"

In one line

The Laplace transform of f(t) is the integral from zero to infinity of e to the minus st times f(t) dt, and it is a function of s.

The definition

The defining integral of the Laplace transform, with the kernel, the original function and the resulting function of s each labelled

Figure 40.1 MU's own label is the definition of the Laplace transform, and her Outcome 2 says a student must be able to find a transform 'using definition'. So this integral is the centre of the next twenty chapters, not a formality to be skipped on the way to the table.

How an integral is written in the running text of this book

The integral sign cannot be typeset in a body here, so an integral is written the way it is typed at a keyboard, and it is worth reading the convention once because it is used in every chapter that follows.

integrate(f, x) means the integral of f with respect to x.

integrate(f, (t, 0, oo)) means the definite integral of f with respect to t, from 0 to infinity. The bracket holds the variable first and then the two limits, lower before upper, and oo is infinity.

So the defining integral in the figure above, written that way, is integrate(e^(-s t) f(t), (t, 0, oo)). Every such line in this book has been evaluated by machine and checked against the answer printed beside it.

Four things to read off the definition, and all four are examined.

It is a definite integral, so the answer contains no t. The variable t is integrated away between the limits, exactly as the x disappears when you evaluate a definite integral in x.

The answer is a function of s. That is the whole point: a function of time has been turned into a function of a different variable. The notation is f(t) for the original, always lower case, and F(s) for its transform, always capital. That convention is used everywhere and you should adopt it.

The lower limit is zero, not minus infinity. So the transform knows nothing at all about what f did before time zero. This is deliberate and it is why the transform suits problems that start when you switch something on.

The kernel is e to the minus st. That factor is the entire mechanism. It decays as t grows, and s controls how fast, so the integral only ever sees the part of f near the start unless s is small.

The notation

WrittenMeans
L{f(t)}the Laplace transform of f
F(s)the same thing, named
L inverse of F(s)the function whose transform is F
sthe transform variable, always
ttime, always, and never negative

MU writes the transform operator as L. Some books write a script capital L, and some write it with square brackets. All mean the same.

munotes.in88

The Definition of the Laplace Transform

The first transform, done from the definition

Take f(t) = 1, the constant function.

L{1} = 1/s

Here is the working, because the machine's answer is not a derivation. The integral is of e to the minus st with respect to t, from zero to infinity. The antiderivative of e to the minus st is minus e to the minus st over s.

At the upper limit, e to the minus st tends to zero provided s is positive. At the lower limit, t = 0, e to the zero is one, so the term is minus one over s.

Subtracting: zero minus (minus one over s) is one over s.

integrate(e^(-s t), (t, 0, oo)) = 1/s

So the transform of 1 is 1 over s, for s greater than zero. That condition is not decoration; without it the integral does not converge, and the next chapter is about exactly that.

The second, which shows the pattern

Take f(t) = e to the at.

L{e^(a t)} = 1/(s - a)

The integrand is e to the minus st times e to the at, which is e to the minus (s minus a)t. That is the same integral as before with s replaced by s minus a, so the answer is one over (s minus a), valid when s minus a is positive, that is when s is greater than a.

integrate(e^(-(s - 3) t), (t, 0, oo)) = 1/(s - 3)

Two things to notice, and both are the shape of everything that follows. The answer is a simple algebraic function of s even though the original was an exponential. And the condition on s moved: it is no longer s greater than zero but s greater than a.

Why the transform is linear, which you get for free

Because integration is linear. The integral of a sum is the sum of the integrals, and a constant multiplier passes through.

L{3} = 3/s

L{2 e^(4t)} = 2/(s - 4)

L{5 + 2 e^(3t)} = 5/s + 2/(s - 3)

Linearity gets its own short chapter because MU lists it among her properties, but it needs no proof beyond the sentence above.

What comes next, and why in this order

The definition is used once per function to build a table, and then almost never again. The next six chapters compute the elementary transforms from the integral, and the chapters after those extend the table with theorems instead of integrals, because the theorems are quicker and MU names them individually.

By the end of it you will be reading transforms off a table in both directions, which is what an examination expects. But her Outcome 2 says "using definition", so the integral has to be there, and a question can ask you to produce one from first principles.

munotes.in89

The Definition of the Laplace Transform

Check yourself

L{1} = 1/s

L{e^(2t)} = 1/(s - 2)

L{e^(-3t)} = 1/(s + 3)

L{7} = 7/s

L{4 e^(-t)} = 4/(s + 1)

The third line is the second with a negative a, and note what it does to the sign in the denominator: e to the minus 3t gives s plus 3. Getting that sign the wrong way round is the most frequent slip in this part of the paper, and the way to avoid it is to remember that the denominator vanishes at s = a, the growth rate of the exponential.

Contents This chapter on its own page

munotes.in90

Chapter Forty-One

Does the Integral Exist? Piecewise Continuity and Exponential Order

Syllabus topic Module 1, "1.2 The Laplace Transform"

In one line

The transform exists if f is piecewise continuous and does not grow faster than an exponential, and then only for s large enough.

The question

The definition is an integral to infinity. Such an integral may fail to exist, and the two conditions below are what guarantee it does not. A question asking for "the sufficient conditions for the existence of the Laplace transform" wants them stated, so they are worth learning as sentences.

Condition one: piecewise continuity

f must be piecewise continuous on every finite interval from 0 onwards. That means: on any finite stretch it has at most finitely many breaks, and at each break the function jumps by a finite amount rather than shooting off.

A square wave is piecewise continuous. The unit step function is piecewise continuous. The function one over t is not, because at t = 0 it does not jump by a finite amount, it grows without limit.

The reason the condition is needed: a finite number of finite jumps can be integrated over by splitting the integral at the jumps, and a finite jump contributes nothing to the area. An infinite blow-up cannot be handled that way.

Condition two: exponential order

f must be of exponential order. That means there are numbers M and a such that the size of f(t) is at most M times e to the at for all large t.

In words: f may grow, but not faster than some exponential. Every function in this paper satisfies this, and it is worth seeing which functions do and which do not.

FunctionOf exponential orderWhy
any constantyestake a = 0
t, t squared, any poweryesa power loses to any exponential
e to the 5tyestake a = 5
sin t, cos tyesthey never exceed 1
e to the t squarednobeats every e to the at
t to the power tnosame reason

The claim in the second row is the one from the indeterminate-forms chapter, and it is why every polynomial has a transform.

lim(t^3/e^t, t -> oo) = 0

lim(t^10/e^t, t -> oo) = 0

Why the two conditions do the job

Because together they make the integrand small enough, for large enough s.

The size of the integrand is at most e to the minus st times M e to the at, which is M times e to the minus (s minus a)t. The integral of that from zero to infinity converges whenever s minus a is positive.

integrate(e^(-(s - a) t), (t, 0, oo)) = 1/(s - a)

So the transform exists for s greater than a, and that is where the condition on s in every table entry comes from. It is not a technicality bolted on afterwards; it is the number a from the exponential-order condition.

munotes.in91

Does the Integral Exist? Piecewise Continuity and Exponential Order

The region of convergence

Every transform therefore comes with a range of s for which it is valid, and the range is a half line.

f(t)F(s)Valid for
11/ss greater than 0
e to the 3t1/(s - 3)s greater than 3
e to the -3t1/(s + 3)s greater than -3
t to the nn factorial over s to the (n+1)s greater than 0
sin ata/(s squared + a squared)s greater than 0
e to the 5t sin 2t2/((s-5) squared + 4)s greater than 5

Read the pattern: the boundary is always the fastest exponential growth rate in f. A bounded function gives s greater than zero; an exponential of rate a gives s greater than a; and a decaying exponential gives a negative boundary, so the transform is valid over more of the line.

In practice the condition is stated once and then not carried through the working, because every step of a transform calculation is valid on the intersection of the ranges involved. But it should be written down when a transform is derived from the definition, because that is where the marks are.

A function with no transform

The conditions are sufficient, not necessary, so a function failing them may still have a transform. But here is one that genuinely does not.

Take f(t) = e to the t squared. For any s, however large, the integrand is e to the (t squared minus st), and the exponent eventually becomes large and positive because t squared beats st. So the integrand grows without limit and the integral diverges for every s.

And one that fails condition one but has a transform anyway, which is why the conditions are only sufficient: f(t) = t to the power minus one half is unbounded at t = 0, so it is not piecewise continuous there, yet its integral converges because the blow-up is mild.

L{t^(-1/2)} = sqrt(pi)/sqrt(s)

That transform involves the square root of pi, which comes from the gamma function, and the chapter on special functions explains where.

Uniqueness, which is what makes the inverse possible

Two continuous functions with the same transform are the same function. That statement, Lerch's theorem, is what licenses the whole second half of this work: if you can find any function whose transform is the F(s) in front of you, it is the answer, and you need not worry that some other function has the same transform.

The word continuous is doing work there. Two functions that differ only at a few isolated points have the same transform, because a point contributes no area. So the inverse transform is unique up to what happens at isolated points, which never matters in this paper.

munotes.in92

Does the Integral Exist? Piecewise Continuity and Exponential Order

Check yourself

FunctionHas a transformThe boundary on s
a constant 5yes0
t cubedyes0
e to the 7tyes7
e to the minus 7tyes-7
cos 4tyes0
e to the t cubednonone

L{e^(7t)} = 1/(s - 7)

L{t^3} = 6/s^4

L{cos(4t)} = s/(s^2 + 16)

Contents This chapter on its own page

munotes.in93

Chapter Forty-Two

The Transform of 1, of t, and of t to the n, From the Definition

Syllabus topic Module 1, "1.2 The Laplace Transform"

In one line

The transform of t to the n is n factorial divided by s to the n plus one, and it comes out of integrating by parts n times.

The transform of 1

Done in the definition chapter, and repeated here because this chapter is the table's first three rows.

L{1} = 1/s

The working: the antiderivative of e to the minus st in t is minus e to the minus st over s. At infinity that tends to zero when s is positive; at zero it is minus one over s. Subtracting gives one over s.

The transform of t

Integrate by parts, taking t as the part to differentiate and e to the minus st as the part to integrate.

L{t} = 1/s^2

The working, which is what a question wants. By parts, the integral equals the boundary term, t times minus e to the minus st over s, evaluated from zero to infinity, plus one over s times the integral of e to the minus st.

The boundary term is zero at both ends: at t = 0 because of the factor t, and at infinity because the exponential beats the t, which is the limit the indeterminate-forms chapter proved.

lim(t/e^(s t), t -> oo) = 0

So the whole thing is one over s times the transform of 1, which is one over s squared.

The transform of t squared, and the pattern

The same integration by parts, now with t squared, leaves two over s times the transform of t.

L{t^2} = 2/s^3

L{t^3} = 6/s^4

L{t^4} = 24/s^5

The pattern is visible. Each step down brings out a factor and raises the power of s by one.

The general result, by induction

Integrating by parts once, with t to the n, gives the relation below between consecutive transforms.

L{t^n} = (n/s) L{t^(n - 1)}

The boundary term vanishes at both ends for the same two reasons as before. Applying that relation n times, and finishing with the transform of 1, gives the following.

L{t^n} = factorial(n)/s^(n + 1)

That is the general result, and it is the row of the table you will use most. Valid for s greater than zero, and for n a non-negative whole number.

nL{t to the n}
01/s
11/s^2
22/s^3
36/s^4
424/s^5
5120/s^6

Note that n = 0 gives the transform of 1, since zero factorial is one, so the general formula contains the first case.

A non-whole power

If n is not a whole number, the factorial has no meaning, and it is replaced by the gamma function, which extends the factorial to non-whole arguments.

L{t^(1/2)} = sqrt(pi)/(2 s^(3/2))

L{t^(-1/2)} = sqrt(pi)/sqrt(s)

munotes.in94

The Transform of 1, of t, and of t to the n, From the Definition

The root pi is gamma of one half. The chapter on special functions treats the gamma function properly; it is mentioned here so that a question about the transform of root t is not a surprise.

Using linearity on a polynomial

Every polynomial transform is now available, term by term.

L{3t^2 + 2t + 5} = 6/s^3 + 2/s^2 + 5/s

L{(t + 1)^2} = 2/s^3 + 2/s^2 + 1/s

L{t^2 - 4t + 4} = 2/s^3 - 4/s^2 + 4/s

The second line needs the bracket expanded first: t squared plus 2t plus 1. Transforming term by term is the only way; there is no rule for the transform of a square.

Reading the table backwards, in advance

Because this is the row you will most often invert, it is worth turning round now.

L⁻¹{1/s} = 1

L⁻¹{1/s^2} = t

L⁻¹{2/s^3} = t^2

L⁻¹{1/s^3} = t^2/2

L⁻¹{6/s^4} = t^3

The fourth line is the one to be careful with. The table says t squared transforms to 2 over s cubed, so one over s cubed inverts to t squared over 2. Forgetting to divide by the factorial is the standard error in inverse problems, and it is worth doing a few of these until the factorials are automatic.

Check yourself

L{t^6} = 720/s^7

L{5t^3} = 30/s^4

L{t^2 + t} = 2/s^3 + 1/s^2

L⁻¹{1/s^4} = t^3/6

L⁻¹{3/s^2} = 3t

L⁻¹{1/s^5} = t^4/24

Contents This chapter on its own page

munotes.in95

Chapter Forty-Three

The Transform of e to the at, From the Definition

Syllabus topic Module 1, "1.2 The Laplace Transform"

In one line

The transform of e to the at is one over s minus a, valid for s greater than a, and the condition is the whole content of the result.

The derivation

One line of integration, and it is worth doing in full because every later shifting theorem is this calculation in disguise.

The integrand is e to the minus st times e to the at, and multiplying exponentials adds the indices.

e^(-s t) e^(a t) = e^(-(s - a) t)

So the integral is exactly the one that gave the transform of 1, with s replaced by s minus a.

integrate(e^(-(s - a) t), (t, 0, oo)) = 1/(s - a)

Therefore:

L{e^(a t)} = 1/(s - a)

The antiderivative is minus e to the minus (s minus a)t over (s minus a). At infinity it tends to zero only if s minus a is positive; at zero it is minus one over (s minus a). Subtracting gives the result.

The condition, which is the point

The transform is valid for s greater than a and for nothing less.

That is not a footnote. It says: the faster f grows, the further to the right you must be for the integral to exist. If f grows at rate 3, the kernel must decay faster than rate 3, which needs s above 3.

And the boundary shows in the answer itself: the denominator s minus a vanishes exactly at s = a, which is the edge of the region of convergence. A transform's denominator tells you where it stops being valid, which is a useful reading habit.

The two signs

This is where marks are lost, so it is worth labouring.

L{e^(3t)} = 1/(s - 3)

L{e^(-3t)} = 1/(s + 3)

A positive exponent gives a minus in the denominator. A negative exponent gives a plus. The rule that never fails: the denominator is s minus (the number in the exponent), including its sign.

f(t)F(s)Valid for
e to the 5t1/(s - 5)s greater than 5
e to the -5t1/(s + 5)s greater than -5
e to the t/21/(s - 1/2)s greater than 1/2
e to the 01/ss greater than 0

The last row is the transform of 1 again, so this result contains the first one.

Complex a, which is used immediately

Nothing in the derivation required a to be real. If a is complex the result still holds, provided the real part of s exceeds the real part of a.

L{e^(2t) e^(3t)} = 1/(s - 5)

That is worth having, because the next chapter computes the transform of a sine by writing it as a combination of two complex exponentials and using this result twice. Module 1's first half pays for its second half there.

munotes.in96

The Transform of e to the at, From the Definition

With linearity

Any combination of exponentials transforms term by term.

L{3 e^(2t) - 4 e^(-t)} = 3/(s - 2) - 4/(s + 1)

L{e^(2t) + e^(3t)} = 1/(s - 2) + 1/(s - 3)

L{(e^(2t) + 1)^2} = 1/(s - 4) + 2/(s - 2) + 1/s

The third needs the bracket expanded first, into e to the 4t plus twice e to the 2t plus one. There is no transform of a square.

Inverting it

The same row read backwards is the most used single line of the inverse table.

L⁻¹{1/(s - 4)} = e^(4t)

L⁻¹{1/(s + 2)} = e^(-2t)

L⁻¹{3/(s - 1)} = 3 e^t

L⁻¹{1/(2s - 6)} = e^(3t)/2

The last one needs the coefficient of s made into 1 first: divide top and bottom by 2 to get one half over (s minus 3). Failing to do that, and reading the denominator as s minus 6, is a standard error.

Check yourself

L{e^(6t)} = 1/(s - 6)

L{e^(-t/3)} = 3/(3s + 1)

L{2 e^(5t) + 3} = 2/(s - 5) + 3/s

L⁻¹{1/(s - 7)} = e^(7t)

L⁻¹{5/(s + 5)} = 5 e^(-5t)

L⁻¹{1/(3s + 1)} = e^(-t/3)/3

Contents This chapter on its own page

munotes.in97

Chapter Forty-Four

The Transform of sin at and cos at, From the Definition

Syllabus topic Module 1, "1.2 The Laplace Transform"

In one line

The transform of sin at is a over s squared plus a squared, and of cos at is s over s squared plus a squared, and the quickest derivation goes through complex exponentials.

The two results

L{sin(a t)} = a/(s^2 + a^2)

L{cos(a t)} = s/(s^2 + a^2)

Both valid for s greater than zero, since a sine and a cosine are bounded, so their exponential order is zero.

Remembering which is which: the sine has a constant on top, the cosine has an s on top. And the denominators are identical. A useful check: at s = 0 the cosine transform is zero, which is right because integrating a cosine over all time gives nothing net.

The derivation with complex exponentials

This is the short route, and it is the first place the two halves of Module 1 meet.

The Euler chapter gave the sine and cosine as combinations of exponentials.

cos(a t) = (e^(i a t) + e^(-i a t))/2

sin(a t) = (e^(i a t) - e^(-i a t))/(2i)

The previous chapter gave the transform of an exponential, for complex exponents as well as real ones. Apply it to each piece.

L{e^(i a t)} = 1/(s - i a)

L{e^(-i a t)} = 1/(s + i a)

Now the cosine is half the sum of those two.

(1/(s - i a) + 1/(s + i a))/2 = s/(s^2 + a^2)

Adding the two fractions gives 2s over (s minus ia)(s plus ia), and the denominator is s squared plus a squared because the i squared turns minus a squared into plus a squared. Halving gives the result.

The sine is the difference divided by 2i.

(1/(s - i a) - 1/(s + i a))/(2i) = a/(s^2 + a^2)

The difference is 2ia over (s squared plus a squared), and dividing by 2i leaves a over the same denominator.

The derivation by parts, for a question that insists

An examination sometimes asks for the transform "from the definition", meaning without complex numbers. Integrate by parts twice and an equation for the transform appears.

Integrating e to the minus st times sin at by parts twice returns the same integral multiplied by minus a squared over s squared, plus a boundary contribution of a over s squared. Calling the transform F, that says F equals a over s squared minus a squared F over s squared, so F times (1 plus a squared over s squared) is a over s squared, and hence F is a over (s squared plus a squared).

(a/s^2)/(1 + a^2/s^2) = a/(s^2 + a^2)

That is the whole of the working, and it is worth writing out once by hand. The trick, "integrate by parts twice and solve for the integral", is used again in the periodic-function chapter.

munotes.in98

The Transform of sin at and cos at, From the Definition

Worked applications of linearity

L{sin(3t)} = 3/(s^2 + 9)

L{cos(5t)} = s/(s^2 + 25)

L{2 sin(t) + 3 cos(t)} = 2/(s^2 + 1) + 3 s/(s^2 + 1)

L{sin(t) cos(t)} = 1/(s^2 + 4)

The last line is worth staring at. There is no rule for the transform of a product, so it was not obtained by transforming each factor. It was obtained by turning the product into a single sine first.

sin(t) cos(t) = sin(2t)/2

Then the transform of half of sin 2t is half of 2 over (s squared plus 4), which is one over (s squared plus 4). Every product of trigonometric functions in this paper is handled that way: use a trigonometric identity to remove the product before transforming.

The identities you will need for exactly that

sin(a t)^2 = (1 - cos(2 a t))/2

cos(a t)^2 = (1 + cos(2 a t))/2

sin(a t) cos(b t) = (sin((a + b) t) + sin((a - b) t))/2

And their transforms follow at once.

L{sin(t)^2} = 1/(2s) - s/(2(s^2 + 4))

L{cos(t)^2} = 1/(2s) + s/(2(s^2 + 4))

Adding those two gives one over s, which is the transform of sin squared plus cos squared, that is, of 1. A pleasant check.

Inverting

L⁻¹{1/(s^2 + 9)} = sin(3t)/3

L⁻¹{s/(s^2 + 9)} = cos(3t)

L⁻¹{4/(s^2 + 16)} = sin(4t)

L⁻¹{(s + 2)/(s^2 + 4)} = cos(2t) + sin(2t)

The first line is the one to be careful about: the table has a on top for the sine, so one over (s squared plus 9) must be written as one third of 3 over (s squared plus 9), giving a third of sin 3t. Forgetting to supply the missing factor is the commonest inverse error after the factorials.

The last line splits into two table entries, one with the s on top and one with the constant.

Check yourself

L{sin(7t)} = 7/(s^2 + 49)

L{cos(t/2)} = s/(s^2 + 1/4)

L{3 sin(2t) - cos(2t)} = 6/(s^2 + 4) - s/(s^2 + 4)

L⁻¹{1/(s^2 + 1)} = sin(t)

L⁻¹{s/(s^2 + 2)} = cos(sqrt(2) t)

L⁻¹{5/(s^2 + 25)} = sin(5t)

Contents This chapter on its own page

munotes.in99

Chapter Forty-Five

The Transform of sinh at and cosh at

Syllabus topic Module 1, "1.2 The Laplace Transform"

In one line

Same shape as the sine and cosine, with a minus sign in the denominator instead of a plus.

The two results

L{sinh(a t)} = a/(s^2 - a^2)

L{cosh(a t)} = s/(s^2 - a^2)

Valid for s greater than the size of a, because sinh and cosh grow at rate a.

The derivation, which is two lines

The hyperbolic functions are combinations of real exponentials, so the transform of an exponential is all that is needed.

sinh(a t) = (e^(a t) - e^(-a t))/2

cosh(a t) = (e^(a t) + e^(-a t))/2

Transform each piece and combine.

(1/(s - a) - 1/(s + a))/2 = a/(s^2 - a^2)

(1/(s - a) + 1/(s + a))/2 = s/(s^2 - a^2)

The difference of the two fractions is 2a over (s minus a)(s plus a), and the sum is 2s over the same, and that denominator is s squared minus a squared. Halving gives the two results.

The sign, which is the whole difference

Set it out side by side, because this is what is examined.

f(t)F(s)Denominator
sin ata/(s^2 + a^2)plus
cos ats/(s^2 + a^2)plus
sinh ata/(s^2 - a^2)minus
cosh ats/(s^2 - a^2)minus

The reason for the difference, in one sentence: the circular pair are combinations of imaginary exponentials, so squaring the i turns minus into plus, and the hyperbolic pair are combinations of real exponentials, so nothing changes sign.

You can also get one pair from the other with the relations of Module 1's first half. The transform of sinh at is the transform of sin(iat) divided by i, and replacing a by ia in the sine's answer turns a squared into minus a squared.

Why the region of convergence is different

For the circular pair, s greater than zero. For the hyperbolic pair, s greater than the size of a.

That difference is real and it matters: a hyperbolic function grows, so the kernel has to decay faster to beat it. And it shows in the answer, because s squared minus a squared vanishes at s = a, which is the boundary.

Inverting, which is where the minus sign earns its keep

A denominator that factorises over the reals means a hyperbolic answer or a pair of exponentials; a denominator that does not means a circular answer.

L⁻¹{1/(s^2 - 9)} = sinh(3t)/3

L⁻¹{s/(s^2 - 9)} = cosh(3t)

L⁻¹{1/(s^2 + 9)} = sin(3t)/3

Two of those denominators look almost identical and give completely different functions, one growing and one oscillating. Reading the sign of the constant term is therefore the first thing to do with any quadratic denominator.

A useful equivalence: the hyperbolic answers can always be written as two exponentials instead, since the denominator factorises.

munotes.in100

The Transform of sinh at and cosh at

L⁻¹{1/(s^2 - 9)} = (e^(3t) - e^(-3t))/6

That is the same answer as sinh 3t over 3, and either form is acceptable. Which you get depends on whether you invert the quadratic directly or split it into partial fractions first, and the partial-fraction chapters take the second route.

Worked, with linearity

L{3 sinh(2t)} = 6/(s^2 - 4)

L{cosh(t) + sinh(t)} = s/(s^2 - 1) + 1/(s^2 - 1)

L{cosh(t) + sinh(t)} = 1/(s - 1)

The last two lines are the same claim and both are true, which is a good check: cosh t plus sinh t is e to the t, whose transform is one over s minus one. Adding s and 1 over s squared minus 1 gives (s + 1) over (s - 1)(s + 1), which cancels to one over (s minus 1).

Check yourself

L{sinh(5t)} = 5/(s^2 - 25)

L{cosh(3t)} = s/(s^2 - 9)

L{sinh(t)^2} = 2/(s(s^2 - 4))

L⁻¹{2/(s^2 - 4)} = sinh(2t)

L⁻¹{s/(s^2 - 16)} = cosh(4t)

L⁻¹{1/(s^2 - 1)} = sinh(t)

The third transform in the first block needs an identity first: sinh squared t is (cosh 2t minus 1) over 2, and transforming that gives s over 2(s squared minus 4) minus 1 over 2s, which simplifies to the printed answer.

Contents This chapter on its own page

munotes.in101

Chapter Forty-Six

The Table of Elementary Transforms

Syllabus topic Module 1, "1.2 The Laplace Transform"

In one line

These fourteen rows, with their conditions on s, are what the rest of the module reads in both directions.

MU's label

"Table of Elementary Laplace Transforms". Every row below was derived from the definition in one of the previous six chapters, not copied from anywhere, and every one was recomputed by machine before it was printed.

The table

f(t)F(s)Valid for
11/ss greater than 0
t1/s^2s greater than 0
t^nn factorial / s^(n+1)s greater than 0
e^(at)1/(s - a)s greater than a
sin ata/(s^2 + a^2)s greater than 0
cos ats/(s^2 + a^2)s greater than 0
sinh ata/(s^2 - a^2)s above the size of a
cosh ats/(s^2 - a^2)s above the size of a
t e^(at)1/(s - a)^2s greater than a
t^n e^(at)n factorial / (s - a)^(n+1)s greater than a
e^(at) sin btb/((s - a)^2 + b^2)s greater than a
e^(at) cos bt(s - a)/((s - a)^2 + b^2)s greater than a
t sin at2 a s/(s^2 + a^2)^2s greater than 0
t cos at(s^2 - a^2)/(s^2 + a^2)^2s greater than 0

The first eight rows are the ones derived so far. Rows nine to twelve come from the first shifting theorem, and thirteen and fourteen from the rule for multiplying by t, both of which are the next few chapters. They are printed here so that the table is in one place.

Every row, verified:

L{1} = 1/s

L{t} = 1/s^2

L{t^4} = 24/s^5

L{e^(3t)} = 1/(s - 3)

L{sin(2t)} = 2/(s^2 + 4)

L{cos(2t)} = s/(s^2 + 4)

L{sinh(2t)} = 2/(s^2 - 4)

L{cosh(2t)} = s/(s^2 - 4)

L{t e^(3t)} = 1/(s - 3)^2

L{t^3 e^(2t)} = 6/(s - 2)^4

L{e^(2t) sin(3t)} = 3/((s - 2)^2 + 9)

L{e^(2t) cos(3t)} = (s - 2)/((s - 2)^2 + 9)

L{t sin(3t)} = 6 s/(s^2 + 9)^2

L{t cos(3t)} = (s^2 - 9)/(s^2 + 9)^2

How to read it forwards

Match the shape of f, read off the F, and substitute the numbers. Use linearity to break a sum into its terms.

L{2 + 3t - 4 e^(2t)} = 2/s + 3/s^2 - 4/(s - 2)

L{t^2 + sin(t)} = 2/s^3 + 1/(s^2 + 1)

How to read it backwards, which is harder

Going from F to f needs the F to be made to look like a row of the table, and that is where the work is. Three manoeuvres do almost all of it.

Supply a missing constant. The sine row has an a on top. If the numerator is 1, write it as one over a times a.

munotes.in102

The Table of Elementary Transforms

L⁻¹{1/(s^2 + 25)} = sin(5t)/5

Make the coefficient of s equal to one. Divide top and bottom.

L⁻¹{1/(2s + 6)} = e^(-3t)/2

Split a numerator across two rows.

L⁻¹{(2s + 5)/(s^2 + 4)} = 2 cos(2t) + 5 sin(2t)/2

Those three, plus completing the square and partial fractions, are the whole of the inverse-transform technique, and each has its own chapter.

The conditions on s

They are in the table and they should be written down whenever a transform is derived from the definition. In ordinary working, when you are reading off the table to solve a differential equation, they are not carried through, and no marks turn on that.

The one place they matter in practice is a question that asks for which values of s a given transform exists. The answer is always the largest exponential growth rate in f, and it is visible as the rightmost point where the denominator of F vanishes.

Two rows that do not exist, and are invented every year

L{f(t) g(t)} = L{f(t)} L{g(t)}

L{1/f(t)} = 1/L{f(t)}

Neither of those is true. The transform is linear, so it respects sums and constant multiples, and it respects nothing else. There is no rule for the transform of a product or of a reciprocal.

What there is instead is the convolution theorem, which says the product of two transforms is the transform of a convolution, which is not a product at all. That is the subject of its own chapter, and it is the single most misused result in the paper.

Check yourself

L{t^5} = 120/s^6

L{e^(-4t)} = 1/(s + 4)

L{sin(6t)} = 6/(s^2 + 36)

L{t^2 e^(-t)} = 2/(s + 1)^3

L{e^(-t) cos(2t)} = (s + 1)/((s + 1)^2 + 4)

L⁻¹{1/s^6} = t^5/120

L⁻¹{1/(s + 4)^2} = t e^(-4t)

L⁻¹{s/(s^2 + 36)} = cos(6t)

L⁻¹{1/((s - 1)^2 + 4)} = e^t sin(2t)/2

Contents This chapter on its own page

munotes.in103

Chapter Forty-Seven

Linearity, and What It Does and Does Not Let You Do

Syllabus topic Module 1, "1.2 The Laplace Transform"

In one line

The transform of a sum is the sum of the transforms, and a constant passes straight through, but nothing else is respected.

The property

This is the first of MU's "Theorems on Important Properties of Laplace Transformation", and the one used in every single question. Her label covers seven results in all, and the table at the end of the chapter on multiplying by t gathers the properties of the Laplace transform in one place, each with its own chapter: linearity, the two shifting theorems, multiplication by a power of t, division by t, change of scale, the transform of a derivative and the transform of an integral.

L{a f(t) + b g(t)} = a L{f(t)} + b L{g(t)}

In words: the Laplace transform is a linear operator.

Why it holds

Because integration is linear, and the transform is an integral. The integral of a sum is the sum of the integrals, and a constant factor comes out in front. There is nothing more to the proof than that, and an examination answer can be three lines long.

Write the transform of the combination as its defining integral, split the integral at the plus sign, and take the constants out. Each remaining integral is one of the two transforms by definition.

Worked

L{3 + 4t} = 3/s + 4/s^2

L{2 e^(3t) - 5 sin(2t)} = 2/(s - 3) - 10/(s^2 + 4)

L{t^2 - 3 cos(4t) + e^(-t)} = 2/s^3 - 3 s/(s^2 + 16) + 1/(s + 1)

L{(2 + t)^2} = 4/s + 4/s^2 + 2/s^3

The last line needs the bracket expanded before linearity can be used: 4 plus 4t plus t squared. Linearity handles sums, and a square is not a sum until you make it one.

What linearity does NOT give you

This is the real content of the chapter, and it is the source of more wrong answers than any other single thing in the module.

L{f(t) g(t)} = L{f(t)} L{g(t)}

L{f(t)/g(t)} = L{f(t)}/L{g(t)}

L{f(t)^2} = L{f(t)}^2

None of those is true. Here is the counterexample, on the simplest possible functions. Take f(t) = g(t) = t.

L{t} = 1/s^2

L{t t} = 2/s^3

The product of the two transforms would be one over s to the fourth. The transform of the product is 2 over s cubed. They are not equal and they are not even the same shape.

So whenever a product appears, one of three things has to happen.

Turn the product into a sum first, with an algebraic or trigonometric identity. This is what to try first, and it works surprisingly often.

L{sin(t) cos(t)} = 1/(s^2 + 4)

L{t(t + 1)} = 2/s^3 + 1/s^2

Use a shifting theorem, if one factor is an exponential. The next chapter.

munotes.in104

Linearity, and What It Does and Does Not Let You Do

Use the convolution theorem, which is what actually replaces the false product rule, and which says that a product of transforms corresponds to a convolution and not a product.

Where linearity is used without being noticed

Three places, so that you see how much rests on one small theorem.

Solving a differential equation. The whole method depends on being able to transform each term of the equation separately. Without linearity there would be no method at all.

Partial fractions. Splitting F(s) into simpler fractions and inverting each one is linearity applied to the inverse transform, which is linear for exactly the same reason.

L⁻¹{1/(s - 1) + 1/(s + 1)} = e^t + e^(-t)

Building the table. Every compound entry, such as the transform of a polynomial, is linearity applied to the elementary rows.

Linearity of the inverse transform

Worth stating separately, because it is used constantly and because a question sometimes asks for it.

L⁻¹{2/s + 3/s^2} = 2 + 3t

L⁻¹{1/(s - 2) - 1/(s - 3)} = e^(2t) - e^(3t)

The reason: if F is the transform of f and G of g, then by the linearity above aF plus bG is the transform of af plus bg, so the inverse of aF plus bG is af plus bg.

Check yourself

L{5 - 2t + t^2} = 5/s - 2/s^2 + 2/s^3

L{3 cos(t) + 4 sin(t)} = 3 s/(s^2 + 1) + 4/(s^2 + 1)

L{e^(t) + e^(-t)} = 1/(s - 1) + 1/(s + 1)

L{2 cosh(t)} = 2 s/(s^2 - 1)

The last two lines are the same function, since e to the t plus e to the minus t is twice cosh t, so the two answers must agree. Adding the two fractions of the third line gives 2s over s squared minus 1, which is the fourth. Checks like that cost ten seconds and catch a slip.

Contents This chapter on its own page

munotes.in105

Chapter Forty-Eight

The First Shifting Theorem

Syllabus topic Module 1, "1.2 The Laplace Transform"

In one line

Multiplying f(t) by e to the at shifts the transform: replace s by s minus a everywhere.

The theorem

MU's label is "First Shifting Theorem".

L{e^(a t) f(t)} = F(s - a)

In words: if you know the transform of f, then the transform of e to the at times f is the same function of s with s replaced by s minus a.

It is also called the shifting property in s, or the first translation theorem.

The proof, which is one line

Write the transform of e to the at f(t) as its integral. The two exponentials combine.

e^(-s t) e^(a t) = e^(-(s - a) t)

So the integral is the defining integral of the transform of f, with s minus a in place of s. That is F(s minus a), and the proof is finished.

The condition on s shifts with it: if F(s) was valid for s greater than c, then F(s minus a) is valid for s greater than c plus a.

What it buys: eight new table rows, with no integration

Every row of the elementary table can be multiplied by an exponential, for free.

f(t)F(s)e^(at) f(t)F(s - a)
11/se^(at)1/(s - a)
t1/s^2t e^(at)1/(s - a)^2
t^nn! / s^(n+1)t^n e^(at)n! / (s - a)^(n+1)
sin btb/(s^2 + b^2)e^(at) sin btb/((s - a)^2 + b^2)
cos bts/(s^2 + b^2)e^(at) cos bt(s - a)/((s - a)^2 + b^2)
sinh btb/(s^2 - b^2)e^(at) sinh btb/((s - a)^2 - b^2)
cosh bts/(s^2 - b^2)e^(at) cosh bt(s - a)/((s - a)^2 - b^2)

Every one of those, verified:

L{t e^(5t)} = 1/(s - 5)^2

L{t^3 e^(-2t)} = 6/(s + 2)^4

L{e^(3t) sin(4t)} = 4/((s - 3)^2 + 16)

L{e^(3t) cos(4t)} = (s - 3)/((s - 3)^2 + 16)

L{e^(-t) sinh(2t)} = 2/((s + 1)^2 - 4)

L{e^(-t) cosh(2t)} = (s + 1)/((s + 1)^2 - 4)

The one place people go wrong

The substitution is everywhere in F, not just in one place.

Take the transform of cos 4t, which is s over (s squared plus 16). Multiplying by e to the 3t means replacing s by s minus 3 in both the numerator and the denominator.

L{e^(3t) cos(4t)} = (s - 3)/((s - 3)^2 + 16)

Replacing it only in the denominator, and leaving an s on top, is the standard error.

(s - 3)/((s - 3)^2 + 16) = s/((s - 3)^2 + 16)

The two are different functions, and the checker proved the equality false, which is exactly what a student's own check should do: put s = 3 into both. The left side is zero; the right side is three sixteenths.

munotes.in106

The First Shifting Theorem

Worked

Find the transform of e to the minus 2t times (t squared plus 3 sin t).

Do the inside first, with linearity.

L{t^2 + 3 sin(t)} = 2/s^3 + 3/(s^2 + 1)

Now shift, replacing every s by s plus 2, since a is minus 2.

L{e^(-2t)(t^2 + 3 sin(t))} = 2/(s + 2)^3 + 3/((s + 2)^2 + 1)

That is the answer. Note the order of operations: transform first, then shift. Trying to shift a function of t makes no sense.

Reading it backwards, which is where it matters most

The theorem read in reverse is the main tool for inverting a fraction whose denominator does not factorise: if F(s) can be written as a function of (s minus a), then the inverse is e to the at times the inverse of that function of s.

L⁻¹{1/(s - 4)^3} = t^2 e^(4t)/2

L⁻¹{1/((s + 1)^2 + 9)} = e^(-t) sin(3t)/3

L⁻¹{(s + 2)/((s + 2)^2 + 4)} = e^(-2t) cos(2t)

The manoeuvre that gets a denominator into that shape is completing the square, and it has its own chapter in the inverse-transform section.

Check yourself

L{t e^(-3t)} = 1/(s + 3)^2

L{e^(2t) t^2} = 2/(s - 2)^3

L{e^(-t) sin(t)} = 1/((s + 1)^2 + 1)

L{e^(4t)(1 + t)} = 1/(s - 4) + 1/(s - 4)^2

L⁻¹{1/(s - 1)^2} = t e^t

L⁻¹{2/((s - 3)^2 + 4)} = e^(3t) sin(2t)

L⁻¹{(s - 1)/((s - 1)^2 + 1)} = e^t cos(t)

Contents This chapter on its own page

munotes.in107

Chapter Forty-Nine

The First Shifting Theorem at Work

Syllabus topic Module 1, "1.2 The Laplace Transform"

In one line

Every transform of the form e to the at times something is this theorem, and every inverse of a completed square is it read backwards.

Forward, a graded set

Each of these is the same two steps: transform the function, then replace s by s minus a.

L{e^(2t) t^4} = 24/(s - 2)^5

L{e^(-3t) t} = 1/(s + 3)^2

L{e^(t/2) sin(t)} = 1/((s - 1/2)^2 + 1)

L{e^(-4t) cos(3t)} = (s + 4)/((s + 4)^2 + 9)

L{e^(2t)(3 + t^2)} = 3/(s - 2) + 2/(s - 2)^3

L{e^(-t)(cos(2t) - sin(2t))} = (s + 1)/((s + 1)^2 + 4) - 2/((s + 1)^2 + 4)

The fifth and sixth show the order that matters: linearity first, inside the bracket, and the shift applied to the whole result.

A product of two exponentials, which is not a special case

L{e^(2t) e^(3t)} = 1/(s - 5)

Combine the exponentials before doing anything else. Applying the shifting theorem twice would also work and gives the same answer, but combining is quicker and less error-prone.

A product of an exponential and a hyperbolic function

L{e^(t) sinh(2t)} = 2/((s - 1)^2 - 4)

L{e^(t) cosh(2t)} = (s - 1)/((s - 1)^2 - 4)

Alternatively, write the hyperbolic function as two exponentials and combine each with the first, which avoids the theorem altogether.

L{e^(t) sinh(2t)} = 1/(2(s - 3)) - 1/(2(s + 1))

Both answers are correct and they are equal. Which form you leave it in depends on what comes next: the second is already in partial fractions, which is convenient if it is going to be inverted.

Backwards: the recognition that makes it work

The theorem read in reverse says: if every s in F(s) appears as (s minus a), pull out an e to the at.

The three shapes to recognise:

L⁻¹{1/(s - a)^n} = t^(n - 1) e^(a t)/factorial(n - 1)

with n a positive whole number; and, with the quadratic completed,

L⁻¹{1/((s - a)^2 + b^2)} = e^(a t) sin(b t)/b

L⁻¹{(s - a)/((s - a)^2 + b^2)} = e^(a t) cos(b t)

Those three rows cover nearly every inverse in this paper that is not a plain partial fraction.

Worked inverse, with the completing of the square shown

Invert the function below.

F(s) = 1/(s^2 + 6s + 13)

The denominator does not factorise over the reals, because its discriminant, 36 minus 52, is negative. So complete the square.

s^2 + 6s + 13 = (s + 3)^2 + 4

Now every s appears as s plus 3, so a is minus 3 and b is 2.

L⁻¹{1/((s + 3)^2 + 4)} = e^(-3t) sin(2t)/2

The one over two comes from the sine row needing a b on top, and b is 2.

munotes.in108

The First Shifting Theorem at Work

Worked inverse, where the numerator needs adjusting too

Invert the function below.

F(s) = (s + 1)/(s^2 + 4s + 8)

Complete the square in the denominator: s squared plus 4s plus 8 is (s plus 2) squared plus 4.

Now the numerator must be written in terms of s plus 2 as well, because the table's cosine row has exactly (s minus a) on top. So write s plus 1 as (s plus 2) minus 1.

s + 1 = (s + 2) - 1

Now split into two table entries.

L⁻¹{(s + 2)/((s + 2)^2 + 4)} = e^(-2t) cos(2t)

L⁻¹{1/((s + 2)^2 + 4)} = e^(-2t) sin(2t)/2

So the answer is the first minus the second.

L⁻¹{(s + 1)/(s^2 + 4s + 8)} = e^(-2t) cos(2t) - e^(-2t) sin(2t)/2

That three-step routine, complete the square, rewrite the numerator to match, split into two rows, is the single most useful procedure in the inverse half of this module. It appears in almost every second-order differential equation whose solution oscillates.

The procedure

Forwards. Identify a, transform the rest, replace every s by s minus a.

Backwards. Complete the square if the quadratic will not factorise. Rewrite the numerator in terms of the same shifted variable. Split into the sine row and the cosine row. Supply the missing constant on the sine.

Check yourself

L{e^(5t) t^2} = 2/(s - 5)^3

L{e^(-2t) sin(3t)} = 3/((s + 2)^2 + 9)

L⁻¹{1/(s^2 + 2s + 5)} = e^(-t) sin(2t)/2

L⁻¹{s/(s^2 + 2s + 5)} = e^(-t) cos(2t) - e^(-t) sin(2t)/2

L⁻¹{1/(s^2 - 4s + 3)} = e^(3t)/2 - e^t/2

The last one is different in kind: that denominator does factorise, into (s minus 1)(s minus 3), so partial fractions is the route and no shifting is needed. Always check the discriminant before completing the square.

Contents This chapter on its own page

munotes.in109

Chapter Fifty

Multiplying by t: Differentiating the Transform

Syllabus topic Module 1, "1.2 The Laplace Transform"

In one line

Multiplying f(t) by t differentiates the transform and changes its sign.

The theorem

L{t f(t)} = -diff(F(s), s)

In words: the transform of t times f is minus the derivative, with respect to s, of the transform of f.

This is one of MU's "Theorems on Important Properties", and it is the companion of the first shifting theorem: that one handles multiplication by an exponential, this one handles multiplication by t.

Why the minus sign is there

Differentiate the defining integral with respect to s. The only s in the integrand is in the kernel e to the minus st, and differentiating that with respect to s gives minus t times e to the minus st.

diff(e^(-s t), s) = -t e^(-s t)

So differentiating F(s) produces an extra factor of minus t inside the integral, which is the transform of minus t f(t). Multiplying through by minus one gives the theorem.

That is the whole proof, and it is worth knowing because it explains the sign rather than asking you to remember it. The minus sign comes from the minus in the exponent of the kernel.

Worked, the entries it gives

L{t e^(a t)} = 1/(s - a)^2

The transform of e to the at is one over (s minus a). Differentiating with respect to s gives minus one over (s minus a) squared, and negating gives the answer. Notice that the first shifting theorem gives the same row, which is a useful cross-check: two independent routes, one answer.

L{t sin(a t)} = 2 a s/(s^2 + a^2)^2

L{t cos(a t)} = (s^2 - a^2)/(s^2 + a^2)^2

For the first: the transform of sin at is a over (s squared plus a squared). Differentiating with respect to s gives minus 2as over (s squared plus a squared) squared, and negating gives the printed answer.

For the second: differentiating s over (s squared plus a squared) needs the quotient rule and gives (a squared minus s squared) over the square of the denominator, and negating flips it to s squared minus a squared.

These two rows are the ones the shifting theorem cannot reach, so they have to be got this way, and they are set regularly.

L{t sinh(a t)} = 2 a s/(s^2 - a^2)^2

L{t cosh(a t)} = (s^2 + a^2)/(s^2 - a^2)^2

Worked, a longer one

Find the transform of t times e to the 2t times sin 3t.

Two ways, and both are instructive.

Route one: shift, then differentiate. The transform of e to the 2t sin 3t is 3 over ((s minus 2) squared plus 9). Differentiate with respect to s and negate.

L{t e^(2t) sin(3t)} = 6(s - 2)/((s - 2)^2 + 9)^2

munotes.in110

Multiplying by t: Differentiating the Transform

Route two: differentiate, then shift. The transform of t sin 3t is 6s over (s squared plus 9) squared. Replacing s by s minus 2 gives 6(s minus 2) over ((s minus 2) squared plus 9) squared, which is the same answer.

The two routes commuting is not an accident: shifting in s and differentiating in s are independent operations. Either order works, and being able to choose is useful when one route is algebraically nastier than the other.

Reading it backwards

The theorem in reverse says: if F(s) is the derivative of something you recognise, the inverse has a factor of t. In practice it is used less often than the forward direction, because partial fractions usually gets there first. But for a denominator raised to a power it is sometimes the quickest route.

L⁻¹{s/(s^2 + 4)^2} = t sin(2t)/4

L⁻¹{1/(s - 1)^2} = t e^t

The distinction from the shifting theorem, which is asked

Operation on f(t)Operation on F(s)
multiply by e^(at)replace s by s - a
multiply by tdifferentiate and negate
divide by tintegrate from s to infinity
differentiatemultiply by s, and subtract f(0)
integrate from 0 to tdivide by s

That table is the whole of MU's "important properties" label in one place, and each row has its own chapter. Keeping the left column and the right column straight is most of the skill in this part of the paper.

Check yourself

L{t e^(-t)} = 1/(s + 1)^2

L{t sin(2t)} = 4 s/(s^2 + 4)^2

L{t cos(t)} = (s^2 - 1)/(s^2 + 1)^2

L{t e^(3t) cos(t)} = ((s - 3)^2 - 1)/((s - 3)^2 + 1)^2

The last line is route two: differentiate the cosine row, then shift. Doing it the other way round means differentiating a function of s minus 3, which is the same work with more chance of a slip.

Contents This chapter on its own page

munotes.in111

Chapter Fifty-One

Multiplying by a Power of t

Syllabus topic Module 1, "1.2 The Laplace Transform"

In one line

Multiplying by t to the n differentiates the transform n times, and the sign alternates.

The theorem

L{t^n f(t)} = (-1)^n diff(F(s), (s, n))

Differentiate F n times with respect to s, and multiply by minus one to the n, which is plus for even n and minus for odd n.

Why, by induction

The previous chapter proved the case n = 1. Suppose the result holds for n. Then t to the n plus one times f is t times (t to the n times f), so applying the n = 1 rule to it differentiates once more and brings in one more minus sign. That is the step, and the base case is n = 0, where the statement says F equals F.

Worked

L{t^2 e^(a t)} = 2/(s - a)^3

L{t^3 e^(a t)} = 6/(s - a)^4

L{t^n e^(a t)} = factorial(n)/(s - a)^(n + 1)

For the first: the transform of e to the at is one over (s minus a). Differentiating twice gives 2 over (s minus a) cubed, and minus one squared is plus one, so the sign is unchanged.

The general row is the one worth carrying, and note that it is the same row the first shifting theorem gives when applied to the transform of t to the n. Two routes, one answer, which is again a useful cross-check.

The harder ones, which is what this theorem is for

The shifting theorem cannot produce these, so they must come from here.

L{t^2 sin(a t)} = (6 a s^2 - 2 a^3)/(s^2 + a^2)^3

L{t^2 cos(a t)} = (2 s^3 - 6 a^2 s)/(s^2 + a^2)^3

Each is two differentiations of a quotient, which is tedious but mechanical. The way to keep it under control is to differentiate once, simplify fully, and only then differentiate again; differentiating twice without simplifying in between produces an expression nobody can check.

Worked, for the sine with a = 1, so the algebra is visible.

diff(1/(s^2 + 1), s) = -2s/(s^2 + 1)^2

diff(-2s/(s^2 + 1)^2, s) = (6 s^2 - 2)/(s^2 + 1)^3

Then minus one squared is plus one, so the transform of t squared sin t is (6 s squared minus 2) over (s squared plus 1) cubed.

L{t^2 sin(t)} = (6 s^2 - 2)/(s^2 + 1)^3

The companion rule, which has its own chapter

MU's properties list also reaches the rule for f(t) divided by t, and it is the mirror image of this one: where multiplying by t differentiates the transform, dividing by t integrates it. That rule, its proof and the standard transforms it produces are the next chapter, because its worked examples are of a different kind: they produce logarithms and arctangents rather than rational functions.

munotes.in112

Multiplying by a Power of t

Where this rule is actually used

It appears whenever a differential equation has a coefficient that is a power of t, and whenever the transform of t sin at or t cos at is needed, which is in every resonance problem. It is also the rule behind the initial and final value theorems, since both are statements about s times F(s) and its behaviour at the two ends of the s line.

Check yourself

L{t^2 e^(-t)} = 2/(s + 1)^3

L{t^2} = 2/s^3

L{t^4 e^(2t)} = 24/(s - 2)^5

L{t^2 sinh(t)} = (6 s^2 + 2)/(s^2 - 1)^3

The last line is the hyperbolic companion of the worked example, and it differs in exactly the two places you would expect from the sign chapter: the constant in the numerator and the sign in the denominator.

Contents This chapter on its own page

munotes.in113

Chapter Fifty-Two

Dividing by t: Integrating the Transform

Syllabus topic Module 1, "1.2 The Laplace Transform"

In one line

The transform of f(t) over t is the integral of F from s to infinity.

The theorem

L{f(t)/t} = integrate(F(u), (u, s, oo))

The variable of integration is written u to keep it distinct from the s that remains as the answer's variable.

The condition: the limit of f(t) over t as t tends to zero must exist. That is what stops the integral near zero from misbehaving, and it is the condition to state in an answer.

The proof

Start from the definition of F and integrate both sides with respect to s, from s to infinity.

The right-hand side becomes a double integral, in u and in t. Reverse the order: do the u integral first, with t held fixed.

integrate(e^(-u t), (u, s, oo)) = e^(-s t)/t

That is where the one over t comes from: integrating the kernel with respect to its own parameter divides by t. What is left is the defining integral of the transform of f(t) over t, which proves the theorem.

Reversing the order of a double integral is the same move that proves the convolution theorem later, and it is worth being comfortable with.

Worked: the transform of sin t over t

This is the standard question on this rule.

The transform of sin t is one over (u squared plus 1). Integrate it with respect to u from s to infinity.

The antiderivative is the arctangent of u. At infinity it is pi over two; at u = s it is the arctangent of s.

pi/2 - atan(s) = atan(1/s)

So the answer is the arctangent of one over s.

L{sin(t)/t} = atan(1/s)

The condition is satisfied: sin t over t tends to 1 as t tends to zero, which is the limit the indeterminate-forms chapter computed.

lim(sin(t)/t, t -> 0) = 1

And a bonus. Putting s = 0 in the answer gives pi over two, and putting s = 0 in the defining integral gives the integral of sin t over t from zero to infinity. So this transform computes a famous integral as a by-product.

Worked: the transform of (1 minus cos at) over t

L{(1 - cos(a t))/t} = log(sqrt(s^2 + a^2)/s)

The transform of 1 minus cos at is one over u minus u over (u squared plus a squared). Integrating with respect to u gives log u minus half the log of (u squared plus a squared), which is the log of u over the square root of (u squared plus a squared).

At infinity that logarithm tends to log 1, which is zero, because u and the square root behave the same way for large u. At u = s it is the log of s over the square root of (s squared plus a squared). Subtracting gives minus that, which is the log of the square root over s, and that is the printed answer.

munotes.in114

Dividing by t: Integrating the Transform

Notice that the condition holds here too: (1 minus cos at) over t tends to zero as t tends to zero.

lim((1 - cos(2t))/t, t -> 0) = 0

The two transforms the machine could not do

These two are among the four claims in this whole book that the computer algebra system cannot evaluate symbolically. Rather than leave them unchecked, the checker proves them from the definition: it integrates e to the minus st times f(t) from zero to infinity by numerical quadrature at six values of s and compares with the printed F(s), to twelve significant figures.

That is not a weaker proof of a different statement. It is the defining integral of the very thing being claimed, evaluated. The book's findings record which four they are.

Other transforms this rule gives

L{(e^(a t) - 1)/t} = log(s/(s - a))

L{(1 - e^(-t))/t} = log((s + 1)/s)

Both follow the same pattern: integrating a difference of two simple fractions with respect to u produces a logarithm of a ratio.

Where it goes wrong

If the limit of f(t) over t at zero does not exist, the rule does not apply. The obvious case is f(t) = 1: one over t has no transform at all, because the integral diverges at the lower limit, and the condition fails because 1 over t grows without limit as t tends to zero.

lim(1/t, t -> oo) = 0

So "the transform of 1 over t" is not a question with an answer, and a question that appears to ask for it is asking about the condition.

Check yourself

L{sin(2t)/t} = atan(2/s)

L{sin(t)/t} = atan(1/s)

lim(sin(3t)/t, t -> 0) = 3

lim((cos(t) - 1)/t, t -> 0) = 0

The first line follows from the second by the change-of-scale rule of the next chapter, or by repeating the integration with a in place of 1.

Contents This chapter on its own page

munotes.in115

Chapter Fifty-Three

Change of Scale

Syllabus topic Module 1, "1.2 The Laplace Transform"

In one line

Stretching time by a factor a divides the transform by a and divides s by a too.

The theorem

L{f(a t)} = F(s/a)/a

for a positive. Both changes happen together, and dropping either one is the mistake.

The proof

In the defining integral, substitute u = at, so t is u over a and dt is du over a. The kernel becomes e to the minus (s over a)u, and the extra one over a comes out in front.

That is the whole proof and it is one substitution.

Worked

L{sin(3t)} = 3/(s^2 + 9)

L{sin(t)} = 1/(s^2 + 1)

Check the theorem on those two. The transform of sin t is one over (s squared plus 1). Replacing s by s over 3 gives one over (s squared over 9 plus 1), which is 9 over (s squared plus 9). Dividing by 3 gives 3 over (s squared plus 9), which is the first line.

(1/((s/3)^2 + 1))/3 = 3/(s^2 + 9)

That is the theorem verified on a case where the answer is independently known, which is the right way to meet it.

What it is for

Honestly: not very much, in this paper. Every transform you need can be got from the elementary table plus the shifting theorems. The change-of-scale rule is on MU's list of properties, so it is examinable, and it occasionally saves work on a transform whose stretched form you happen to know.

Where it does earn its place is with a transform that is not a table row.

L{sin(t)/t} = atan(1/s)

L{sin(2t)/(2t)} = atan(2/s)/2

Getting the second from the first by the rule takes one line, where repeating the integration of the previous chapter takes several. Note that the function has to be written as sin(2t) over (2t), so that it really is f(2t) with f being sin t over t.

And multiplying by 2 gives the more usual form.

L{sin(2t)/t} = atan(2/s)

The mirror rule on the transform side

There is a companion statement, sometimes asked, about scaling s instead of t.

L⁻¹{F(a s)} = f(t/a)/a

Same shape, read the other way, and proved by the same substitution.

L⁻¹{1/(2s + 1)} = e^(-t/2)/2

That inverse can be got either by the mirror rule or, more simply, by dividing top and bottom by 2 and using the exponential row, which is what most students do and which is perfectly correct.

The trap

The rule needs a positive. For a negative it is false, because the substitution reverses the limits of the integral, and in any case f(at) for negative a would look at f at negative times, about which the transform knows nothing.

So a question about f(minus t) has no answer within this theory. If it appears, it is a question about the lower limit of the defining integral being zero.

munotes.in116

Change of Scale

Check yourself

L{cos(4t)} = s/(s^2 + 16)

L{e^(3t)} = 1/(s - 3)

L{sinh(5t)} = 5/(s^2 - 25)

For each, check the change-of-scale rule against the elementary row. For the exponential, f(t) = e to the t has transform one over (s minus 1); replacing s by s over 3 and dividing by 3 gives one over (s minus 3), which is the second line.

(1/((s/3) - 1))/3 = 1/(s - 3)

Contents This chapter on its own page

munotes.in117

Chapter Fifty-Four

The Transform of a Derivative

Syllabus topic Module 1, "1.2 The Laplace Transform"

In one line

The transform of f prime is s times F(s) minus f(0), which is what turns a differential equation into an algebraic one.

The theorem

MU's label is "Laplace Transform of Derivatives", and this is the most important single result in the paper.

L{diff(f(t), t)} = s F(s) - f(0)

Two things have happened. Differentiation has become multiplication by s. And the initial value has walked into the answer by itself.

The proof

Integrate the defining integral by parts, taking f prime as the part to integrate and the kernel as the part to differentiate.

The boundary term is e to the minus st times f(t), evaluated from zero to infinity. At infinity it is zero, because f is of exponential order and the kernel beats it for large enough s. At zero it is f(0).

So the boundary term contributes minus f(0). The remaining integral is s times the defining integral of F.

diff(e^(-s t), t) = -s e^(-s t)

That minus s, moved to the other side, is where the plus s F(s) comes from. The proof is four lines and is worth being able to write.

The second derivative

Apply the theorem to f prime instead of f.

L{diff(f(t), (t, 2))} = s^2 F(s) - s f(0) - diff(f(t), t)

More carefully, with the initial values named: the transform of the second derivative is s squared F(s) minus s times f(0) minus f prime of zero.

The pattern is now visible. Each differentiation brings another factor of s, and each brings in one more initial value, with the powers of s counting down.

The nth derivative

The transform of the nth derivative is s to the n times F(s), minus s to the n minus one times f(0), minus s to the n minus two times f prime of zero, and so on, ending with minus the (n minus one)th derivative at zero.

For this paper you need the first two, and occasionally the third.

DerivativeTransform
f primes F - f(0)
f double primes^2 F - s f(0) - f'(0)
f triple primes^3 F - s^2 f(0) - s f'(0) - f''(0)

Note how many initial values each needs: one for the first derivative, two for the second, three for the third. That matches what Module 2 says about a differential equation of order n needing n conditions to pin down a particular solution, and it is the same fact seen from the transform side.

Why this makes the whole method work

Take a differential equation. Every term is either a derivative of y, or y itself, or a known function of t. Transform every term.

  • y becomes Y(s).
  • y prime becomes sY minus y(0).
  • y double prime becomes s squared Y minus s y(0) minus y prime of zero.
  • the known function becomes its own transform.
munotes.in118

The Transform of a Derivative

Every one of those is algebraic in Y and s. So the differential equation has become a linear equation in Y, which you solve by school algebra, and then invert.

And the initial values are already in it. There is no general solution with arbitrary constants to be pinned down afterwards, because the conditions went in at the transform step.

Checking the theorem on a case you know

L{sin(t)} = 1/(s^2 + 1)

L{cos(t)} = s/(s^2 + 1)

The derivative of sin t is cos t, and sin 0 is zero. So the theorem says the transform of cos t should be s times one over (s squared plus 1), minus zero.

s(1/(s^2 + 1)) - 0 = s/(s^2 + 1)

It is. Now the other way: the derivative of cos t is minus sin t, and cos 0 is 1. So the theorem says the transform of minus sin t should be s times s over (s squared plus 1), minus 1.

s(s/(s^2 + 1)) - 1 = -1/(s^2 + 1)

And the transform of minus sin t is indeed minus one over (s squared plus 1). The theorem checks out on both, and doing that once is worth more than reading the proof twice.

The initial value is not optional

The commonest error with this theorem is dropping f(0).

Take f(t) = e to the 2t, whose derivative is 2 e to the 2t. The transform of the derivative should therefore be 2 over (s minus 2).

L{2 e^(2t)} = 2/(s - 2)

The theorem: s times one over (s minus 2), minus f(0), which is 1.

s/(s - 2) - 1 = 2/(s - 2)

It works. Drop the minus 1 and you get s over (s minus 2), which is wrong, and in a differential equation the same slip loses the initial condition entirely and gives a completely different solution.

s/(s - 2) = 2/(s - 2)

Check yourself

L{diff(sin(2t), t)} = 2 s/(s^2 + 4)

L{diff(t^2, t)} = 2/s^2

L{diff(e^(-t), t)} = -1/(s + 1)

For each, check it against the theorem. The second: the transform of t squared is 2 over s cubed, f(0) is 0, so the theorem gives 2 over s squared, which is the transform of 2t, and 2t is indeed the derivative of t squared.

s(2/s^3) - 0 = 2/s^2

s(1/(s + 1)) - 1 = -1/(s + 1)

Contents This chapter on its own page

munotes.in119

Chapter Fifty-Five

The Transform of an Integral

Syllabus topic Module 1, "1.2 The Laplace Transform"

In one line

The transform of the integral of f from 0 to t is F(s) divided by s.

The theorem

L{integrate(f(u), (u, 0, t))} = F(s)/s

Where differentiation multiplied by s, integration divides by s. That symmetry is the cleanest single thing about the Laplace transform.

The proof, in one line from the previous chapter

Let g(t) be the integral of f from 0 to t. Then g prime is f, by the fundamental theorem of calculus, and g(0) is zero, because the integral from 0 to 0 is zero.

Apply the derivative theorem to g.

So the transform of f equals s times the transform of g minus zero, and dividing by s gives the result.

That is the whole proof, and it shows how much work the derivative theorem does: this second theorem is a corollary of it.

Worked

L{t} = 1/s^2

L{1} = 1/s

The integral of 1 from 0 to t is t, so the theorem says the transform of t should be the transform of 1 divided by s, which is one over s squared. It is.

L{t^2/2} = 1/s^3

The integral of t from 0 to t is t squared over 2, so the transform should be one over s squared, divided by s, which is one over s cubed. It is.

L{1 - cos(t)} = 1/s - s/(s^2 + 1)

L{sin(t)} = 1/(s^2 + 1)

The integral of sin u from 0 to t is 1 minus cos t, so the theorem says its transform is one over s(s squared plus 1). Check that against the first line.

1/s - s/(s^2 + 1) = 1/(s(s^2 + 1))

They agree.

Reading it backwards, which is the common use

The reverse reading is: a factor of one over s in F(s) means an integration in t.

L⁻¹{1/(s(s^2 + 4))} = (1 - cos(2t))/4

L⁻¹{1/(s(s + 1))} = 1 - e^(-t)

L⁻¹{1/(s^2(s + 1))} = t - 1 + e^(-t)

Each of those could also be done by partial fractions, and usually is. The integration route is quicker when the rest of the fraction is a clean table row and you would rather integrate once than split into three fractions.

Worked, the first one. Strip off the one over s. What is left is one over (s squared plus 4), whose inverse is sin 2t over 2. Integrate that from 0 to t.

The integral of sin 2u over 2 is minus cos 2u over 4, evaluated from 0 to t, which is (1 minus cos 2t) over 4. That is the answer.

Repeated integration

Two factors of one over s means integrating twice.

L⁻¹{1/(s^2(s^2 + 1))} = t - sin(t)

Strip off one over s squared. What is left is one over (s squared plus 1), whose inverse is sin t. Integrating sin once gives 1 minus cos t, and integrating that gives t minus sin t.

munotes.in120

The Transform of an Integral

Where it is used in the method

An integro-differential equation is one containing both a derivative and an integral of the unknown. By the methods of Module 2 that is a hard object. With these two theorems it is no harder than anything else, because both the derivative and the integral become algebra.

Worked in outline: an equation containing y prime, y, and the integral of y from 0 to t transforms into an equation containing sY minus y(0), Y, and Y over s. Multiply through by s to clear the fraction and you have a linear equation in Y. That is the whole extra idea, and the chapter on solving differential equations by the transform does one in full.

That is also exactly the form a series circuit with a resistor, an inductor and a capacitor takes when written in terms of current: the inductor contributes a derivative, the resistor the current itself, and the capacitor an integral.

Check yourself

L{t^3/6} = 1/s^4

L{1 - e^(-t)} = 1/s - 1/(s + 1)

L⁻¹{1/(s(s - 2))} = e^(2t)/2 - 1/2

L⁻¹{1/(s(s^2 + 9))} = (1 - cos(3t))/9

L⁻¹{1/(s^3(s + 1))} = t^2/2 - t + 1 - e^(-t)

The last one is three integrations, or partial fractions with four terms. Either works, and the choice is a matter of which you can do faster under time pressure.

Contents This chapter on its own page

munotes.in121

Chapter Fifty-Six

The Initial and Final Value Theorems

Syllabus topic Module 1, "1.2 The Laplace Transform" and Course Objective 6, "Inculcate the habit of Mathematical Thinking through Indeterminate forms" (named by no module label)

In one line

The value of f at the very start is the limit of s F(s) as s grows, and the value it settles down to is the limit of s F(s) as s tends to zero.

The two theorems

f(0) = lim(s F(s), s -> oo)

lim(f(t), t -> oo) = lim(s F(s), s -> 0)

The first is the initial value theorem and the second the final value theorem. Both are on MU's list of important properties.

What they are for

They let you read off the beginning and the end of the answer without inverting the transform at all. In a problem where you only want to know where a system starts and where it settles, that saves the whole inversion.

They are also a check on an inversion you have already done: if the answer's value at zero does not match what the initial value theorem says, one of the two is wrong.

The initial value theorem, and where it comes from

From the derivative theorem: the transform of f prime is sF(s) minus f(0). As s grows, the transform of any function tends to zero, because the kernel decays faster and faster. So sF(s) minus f(0) tends to zero, which is the theorem.

Worked.

lim(s (1/(s + 3)), s -> oo) = 1

lim(s (1/s^2), s -> oo) = 0

lim(s (s/(s^2 + 4)), s -> oo) = 1

Read those off. The inverse of one over (s plus 3) is e to the minus 3t, whose value at zero is 1: the theorem agrees. The inverse of one over s squared is t, whose value at zero is 0: agrees. The inverse of s over (s squared plus 4) is cos 2t, whose value at zero is 1: agrees.

There is a quick way to see the answer for a rational F: compare the degrees. If the numerator's degree is exactly one less than the denominator's, sF(s) tends to the ratio of the leading coefficients. If the gap is two or more, the limit is zero.

The final value theorem, and the condition it needs

lim(s (1/(s + 3)), s -> 0) = 0

lim(s (1/(s (s + 2))), s -> 0) = 1/2

The first says e to the minus 3t settles to 0, which it does. The second says the inverse of one over s(s plus 2), which is (1 minus e to the minus 2t) over 2, settles to one half, which it does.

The condition matters and the theorem is false without it. The final value theorem holds only when f actually settles down to a limit. For a rational F that means every root of the denominator has a negative real part, with at most a single root at zero.

munotes.in122

The Initial and Final Value Theorems

Here is the failure. Take F(s) = one over (s squared plus 1), whose inverse is sin t.

lim(s (1/(s^2 + 1)), s -> 0) = 0

The theorem's right-hand side is zero. But sin t does not settle down to zero, or to anything: it oscillates for ever. So the theorem has produced an answer to a question with no answer.

lim(sin(t), t -> oo) = 0

That line is false and the checker proved it false: sin t has no limit at infinity, so it certainly does not have the limit zero.

Same story with a growing function. F(s) = one over (s minus 1) inverts to e to the t, and s F(s) tends to zero as s tends to zero, while e to the t grows without limit.

So: check that the denominator's roots are in the left half plane before using the final value theorem. If any root has a positive real part, the function grows; if any is purely imaginary, it oscillates; in either case there is no final value.

Where indeterminate forms come in

Both theorems are limits, and for anything but the simplest F they arrive as one of the indeterminate forms of the earlier chapter.

lim(s (s + 2)/(s^2 + 3s + 2), s -> oo) = 1

lim(s (s + 4)/(s (s^2 + 2s + 3)), s -> 0) = 4/3

The first is infinity over infinity and is settled either by dividing through by the highest power or by L'Hopital's rule. That is why the two chapters on indeterminate forms sit where they do in this book: MU's Course Objective 6 names the topic, and here is one of the three places the paper actually needs it.

A worked use, without inverting anything

A system's response has the transform below.

F(s) = (2s + 5)/(s(s^2 + 4s + 3))

Where does it start and where does it end?

Initial value: multiply by s and let s grow. The numerator is degree one and the remaining denominator degree two, so the limit is zero.

lim(s (2s + 5)/(s (s^2 + 4s + 3)), s -> oo) = 0

Final value: the denominator's roots are 0, minus 1 and minus 3, so there is a single root at zero and the others are in the left half plane, and the theorem applies.

lim(s (2s + 5)/(s (s^2 + 4s + 3)), s -> 0) = 5/3

So the response starts at zero and settles at five thirds, and neither fact required a partial fraction.

Check yourself

lim(s (1/(s + 1)), s -> oo) = 1

lim(s (1/(s + 1)), s -> 0) = 0

lim(s ((s + 1)/(s^2 + 2s + 2)), s -> oo) = 1

lim(s (3/(s (s + 6))), s -> 0) = 1/2

lim(s (1/s^3), s -> oo) = 0

munotes.in123

The Initial and Final Value Theorems

For the fourth, the inverse is (1 minus e to the minus 6t) over 2, which settles at one half. For the last, the inverse is t squared over 2, which starts at zero, and note that the final value theorem must not be used on it, because t squared over 2 grows without limit and the denominator has a triple root at zero.

Contents This chapter on its own page

munotes.in124

Chapter Fifty-Seven

The Unit Step Function

Syllabus topic Module 1, "1.3 Inverse Laplace Transform"

In one line

The unit step is zero before a and one after it, and it is how you write "switches on at time a" in a formula.

Where this chapter sits, and why it is not where MU puts it

MU files the Heaviside unit step function under her 1.3, among the inverse-transform topics. Nothing about it is an inverse transform, and the second shifting theorem, which she puts in 1.2, cannot even be stated without it. So this book teaches it here, in the forward-transform section, and the plan records the move. It stays inside Module 1 either way.

The definition

The unit step function, or Heaviside function, written u(t minus a), is zero for t less than a and one for t greater than a.

On the left, the unit step function u(t - a): flat at zero up to a, then flat at one. On the right, a rectangular pulse of width h and height one over h starting at a, whose area is one

Figure 57.1 The unit step on the left. The right-hand picture is the pulse of unit area used to build the impulse function two chapters from here; both are drawn together because the impulse is the derivative of the step.

The value at t = a is a matter of convention and never matters here, because a single point contributes no area to an integral. Some books set it to one half.

The simplest case, a = 0, is written u(t) and is 1 for all positive t. So the constant function 1 and the unit step u(t) are the same thing as far as the Laplace transform is concerned, since the transform never looks at negative t.

Its transform

L{Heaviside(t - 3)} = e^(-3s)/s

L{Heaviside(t - 2)} = e^(-2s)/s

L{Heaviside(t)} = 1/s

The general result:

L{Heaviside(t - a)} = e^(-a s)/s

The derivation is one line. The integrand is zero up to a, so the integral runs from a to infinity instead of from zero. Substituting v = t minus a turns it into the transform of 1 multiplied by e to the minus as.

Note what appears: an exponential in s. That is the signature of a shift in time, and the chapter on the second shifting theorem makes it general. Any time you see an e to the minus as in a transform, something is being switched on at time a.

What it is for: switching

A function multiplied by u(t minus a) is that function with everything before time a erased.

ExpressionWhat it is
u(t - 2)0 until t = 2, then 1
5 u(t - 2)0 until t = 2, then 5
u(t - 1) - u(t - 3)1 between t = 1 and t = 3, and 0 elsewhere
f(t) u(t - a)f, but switched on at a
f(t - a) u(t - a)f, delayed to start at a
munotes.in125

The Unit Step Function

The last two rows are different and the difference is the whole of the next chapter. The fourth switches f on at time a but f is still being evaluated at t, so you see the middle of f. The fifth delays f, so what you see from time a onwards is f starting from its own beginning.

The third row is the one to learn as a pattern: a difference of two steps is a window. Everything that switches on and later off is built from it.

Writing a piecewise function with steps

This is the skill the second shifting theorem needs, and the chapter after next drills it. In outline: a function given in pieces can always be written as a single expression in steps, by adding, at each break point, a step multiplied by the change in the formula at that point.

The simplest example. Suppose f is 0 before 2 and 3 afterwards. Then f is 3u(t minus 2). Suppose instead f is 1 before 2 and 4 afterwards: the change at t = 2 is plus 3, so f is 1 plus 3u(t minus 2).

L{3 Heaviside(t - 2)} = 3 e^(-2s)/s

L{1 + 3 Heaviside(t - 2)} = 1/s + 3 e^(-2s)/s

Its derivative, in advance

The unit step is flat everywhere except at the single point a, where it jumps. So its derivative is zero everywhere except at a, where it is not defined in any ordinary sense.

That object, zero everywhere except at one point but with total area one, is the Dirac delta, or unit impulse, and it has its own chapter shortly. The relationship is worth knowing now: the impulse is the derivative of the step, and the step is the integral of the impulse.

Check yourself

L{Heaviside(t - 5)} = e^(-5s)/s

L{4 Heaviside(t - 1)} = 4 e^(-s)/s

L{Heaviside(t - 1) - Heaviside(t - 4)} = e^(-s)/s - e^(-4s)/s

L{Heaviside(t)} = 1/s

The third line is the window between t = 1 and t = 4, and its transform is the difference of two step transforms, which is exactly what linearity says it should be.

Contents This chapter on its own page

munotes.in126

Chapter Fifty-Eight

The Second Shifting Theorem

Syllabus topic Module 1, "1.2 The Laplace Transform"

In one line

Delaying f by a multiplies its transform by e to the minus as, provided the delayed function is switched on with a unit step.

The theorem

MU's label is "Second Shifting Theorem".

L{f(t - a) Heaviside(t - a)} = e^(-a s) F(s)

Compare the two shifting theorems, because the pairing is the point.

TheoremWhat happens to fWhat happens to F
Firstmultiplied by e^(at)s replaced by s - a
Seconddelayed by a, and switched onmultiplied by e^(-as)

The first shifts in s; the second shifts in t. That is why they are named in that order.

The proof

Write the defining integral. The unit step makes the integrand zero up to t = a, so the integral runs from a to infinity.

Substitute v = t minus a, so t is v plus a and dt is dv. The kernel becomes e to the minus s(v plus a), which splits into e to the minus as times e to the minus sv, and the e to the minus as is a constant that comes out in front.

What is left is the defining integral of F in the variable v. So the answer is e to the minus as times F(s), and the proof is three lines.

Why the unit step has to be there

This is the part students skip and then get wrong, so it is worth being blunt.

The theorem as stated is about the function that is zero before a and equals f(t minus a) after it. Without the step factor, f(t minus a) would be some non-zero thing for t less than a, and the integral from 0 to a would contribute something the theorem does not account for.

So "delayed by a" always means "delayed by a and zero before that". If your function is not zero before a, the theorem does not apply and you must write the function out as a sum of pieces first.

Worked

L{Heaviside(t - 2)} = e^(-2s)/s

Here f is the constant 1, whose transform is one over s, delayed by 2. The theorem gives e to the minus 2s over s, which is the result the previous chapter derived directly.

L{(t - 3) Heaviside(t - 3)} = e^(-3s)/s^2

L{(t - 1)^2 Heaviside(t - 1)} = 2 e^(-s)/s^3

L{sin(t - pi) Heaviside(t - pi)} = e^(-pi s)/(s^2 + 1)

L{e^(2(t - 4)) Heaviside(t - 4)} = e^(-4s)/(s - 2)

In each case: identify f from the shape, look up F, multiply by e to the minus as. The pattern to spot is that the same a appears inside the function and inside the step, which is what tells you the theorem applies directly.

munotes.in127

The Second Shifting Theorem

When the a does not match: the function is switched on, not delayed

Here is the case that needs work, and it is the one examinations set.

L{t Heaviside(t - 2)}

That is t, switched on at 2, and it is not of the form f(t minus 2) times u(t minus 2), because the t is not written as t minus 2. So the theorem does not apply as it stands.

The fix is to force it into shape by writing t as (t minus 2) plus 2.

t = (t - 2) + 2

Now the function is ((t minus 2) plus 2) times u(t minus 2), which is (t minus 2)u(t minus 2) plus 2u(t minus 2), and both terms are in the right shape.

L{t Heaviside(t - 2)} = e^(-2s)/s^2 + 2 e^(-2s)/s

That manoeuvre, rewrite everything in terms of (t minus a), is the whole technique for this theorem. A harder one, with a square:

t^2 = (t - 1)^2 + 2(t - 1) + 1

L{t^2 Heaviside(t - 1)} = 2 e^(-s)/s^3 + 2 e^(-s)/s^2 + e^(-s)/s

And with a sine, where the compound-angle formula does the rewriting:

sin(t) = sin((t - pi/2) + pi/2)

sin((t - pi/2) + pi/2) = cos(t - pi/2)

L{sin(t) Heaviside(t - pi/2)} = s e^(-pi s/2)/(s^2 + 1)

Reading it backwards

The reverse reading is the one used when solving an equation with a switched input: an e to the minus as in F(s) means the answer is delayed by a and multiplied by a step.

L⁻¹{e^(-2s)/s} = Heaviside(t - 2)

L⁻¹{e^(-3s)/s^2} = (t - 3) Heaviside(t - 3)

L⁻¹{e^(-s)/(s^2 + 4)} = sin(2(t - 1)) Heaviside(t - 1)/2

L⁻¹{e^(-4s)/(s - 2)} = e^(2(t - 4)) Heaviside(t - 4)

The procedure: put the exponential aside, invert what is left, then in the answer replace every t by t minus a and multiply by u(t minus a). Forgetting the step is the standard error, and the answer is then wrong for all t less than a.

Check yourself

L{(t - 5) Heaviside(t - 5)} = e^(-5s)/s^2

L{cos(t - 1) Heaviside(t - 1)} = s e^(-s)/(s^2 + 1)

L{t Heaviside(t - 1)} = e^(-s)/s^2 + e^(-s)/s

L⁻¹{e^(-s)/s^3} = (t - 1)^2 Heaviside(t - 1)/2

L⁻¹{e^(-2s)/(s + 1)} = e^(-(t - 2)) Heaviside(t - 2)

L⁻¹{e^(-pi s) s/(s^2 + 1)} = cos(t - pi) Heaviside(t - pi)

The third line of the first block is the t-switched-on case with a = 1, and it has two terms for exactly the reason the worked example gave.

Contents This chapter on its own page

munotes.in128

Chapter Fifty-Nine

Writing a Piecewise Function With Step Functions

Syllabus topic Module 1, "1.3 Inverse Laplace Transform" and Module 1, "1.2 The Laplace Transform"

In one line

At each break point, add a step multiplied by the change in the formula there.

Why this chapter exists

The second shifting theorem is useless until the function is written as a single expression in unit steps. Students learn the theorem, meet a function defined in three pieces, and stop. This is the missing step, and it is purely mechanical.

The rule

Suppose f is given by formula g1 on the first interval, g2 on the second, g3 on the third, with break points at a and b. Then:

f equals g1, plus (g2 minus g1) times u(t minus a), plus (g3 minus g2) times u(t minus b).

In words: start with the first formula, and at each break add a step multiplied by the jump from the old formula to the new one.

The reason it works: before a, every step is zero, so only g1 survives. Between a and b, the first step is one, so you have g1 plus g2 minus g1, which is g2. After b, both steps are one, so you have g3. Each correction switches on exactly where it is needed and cancels exactly what it should.

Worked: a function that switches on

Let f be 0 for t less than 3, and 5 for t greater than 3.

The first formula is 0. The jump at 3 is 5 minus 0, which is 5.

So f equals 5u(t minus 3).

L{5 Heaviside(t - 3)} = 5 e^(-3s)/s

Worked: a function that steps up

Let f be 2 for t less than 1, and 7 for t greater than 1.

First formula 2, jump at 1 is 5.

So f equals 2 plus 5u(t minus 1).

L{2 + 5 Heaviside(t - 1)} = 2/s + 5 e^(-s)/s

Worked: a pulse

Let f be 0 before 1, then 4 between 1 and 3, then 0 again after 3.

First formula 0. Jump at 1 is plus 4. Jump at 3 is 0 minus 4, which is minus 4.

So f equals 4u(t minus 1) minus 4u(t minus 3).

L{4 Heaviside(t - 1) - 4 Heaviside(t - 3)} = 4 e^(-s)/s - 4 e^(-3s)/s

That is the window pattern, and every pulse is a difference of two steps.

Worked: a ramp that stops

Let f be t for t less than 2, and 2 for t greater than 2. So it rises with slope one and then holds.

First formula t. The new formula is 2, so the jump at t = 2 is 2 minus t, which is minus (t minus 2).

So f equals t minus (t minus 2)u(t minus 2). Note how neatly the jump came out already in the (t minus a) form the second shifting theorem wants.

munotes.in129

Writing a Piecewise Function With Step Functions

L{t - (t - 2) Heaviside(t - 2)} = 1/s^2 - e^(-2s)/s^2

Worked: three pieces

Let f be 0 before 1, then t minus 1 between 1 and 2, then 1 after 2.

First formula 0. Jump at 1: (t minus 1) minus 0, which is t minus 1. Jump at 2: 1 minus (t minus 1), which is 2 minus t, that is minus (t minus 2).

So f equals (t minus 1)u(t minus 1) minus (t minus 2)u(t minus 2).

L{(t - 1) Heaviside(t - 1) - (t - 2) Heaviside(t - 2)} = e^(-s)/s^2 - e^(-2s)/s^2

Both terms are already in the shape the theorem needs, which happens often: a continuous piecewise-linear function produces clean (t minus a) terms, because there is no sudden jump in value, only in slope.

When the jump is not already in (t minus a) form

Sometimes it is not, and then the rewriting of the previous chapter is needed as a second step.

Let f be 0 before 1 and t squared after 1.

First formula 0, jump at 1 is t squared. So f is t squared times u(t minus 1), and the previous chapter showed how to force that into shape.

t^2 = (t - 1)^2 + 2(t - 1) + 1

L{t^2 Heaviside(t - 1)} = 2 e^(-s)/s^3 + 2 e^(-s)/s^2 + e^(-s)/s

The procedure, and the two checks

  1. List the break points in order.
  2. Write the first formula.
  3. At each break, add (new formula minus old formula) times u(t minus break point).
  4. Rewrite each coefficient in terms of (t minus a) if it is not already.
  5. Transform term by term.

Check one: test a value in each interval. Put t = 0.5 into your step expression and see whether it gives the first formula's value; then a value in the middle interval, and so on. This catches a sign error in seconds.

Check two: count the terms. With n break points you should have n plus one terms, or n if the first formula is zero.

Check yourself

Write each as a single expression in steps, then transform.

fAs steps
0 then 3 at t = 43 u(t - 4)
1 then 0 at t = 21 - u(t - 2)
0, then 1 between 2 and 5, then 0u(t - 2) - u(t - 5)
t, then 0 from t = 1t - t u(t - 1)

L{3 Heaviside(t - 4)} = 3 e^(-4s)/s

L{1 - Heaviside(t - 2)} = 1/s - e^(-2s)/s

L{Heaviside(t - 2) - Heaviside(t - 5)} = e^(-2s)/s - e^(-5s)/s

The last row of the table needs the rewriting step: t u(t minus 1) is ((t minus 1) plus 1)u(t minus 1), so its transform is e to the minus s over s squared plus e to the minus s over s.

munotes.in130

Writing a Piecewise Function With Step Functions

L{t - t Heaviside(t - 1)} = 1/s^2 - e^(-s)/s^2 - e^(-s)/s

Contents This chapter on its own page

munotes.in131

Chapter Sixty

The Transform of a Periodic Function

Syllabus topic Module 1, "1.3 Inverse Laplace Transform"

In one line

Integrate over one period only, then divide by one minus e to the minus pT.

The theorem

If f has period T, meaning f(t plus T) equals f(t) for every t, then:

F(s) = integrate(e^(-s t) f(t), (t, 0, T))/(1 - e^(-s T))

So you never integrate over the whole infinite range. One period is enough, and the denominator accounts for all the rest.

The proof, which is a geometric series

Split the defining integral at every multiple of T: from 0 to T, from T to 2T, from 2T to 3T, and so on.

In the nth piece, substitute t = v plus nT. Because f is periodic, f(v plus nT) is just f(v). The kernel becomes e to the minus s(v plus nT), which is e to the minus snT times e to the minus sv.

So every piece is the same integral, the one over the first period, multiplied by e to the minus snT. Adding them up gives that integral multiplied by the sum of a geometric series with ratio e to the minus sT.

1/(1 - e^(-s))

The series 1 plus r plus r squared and so on sums to one over (1 minus r) when r is less than one in size, and e to the minus sT is less than one for positive s. That gives the theorem.

Worked: the square wave

Let f be 1 for the first half of each period and minus 1 for the second half, with period 2a.

The integral over one period splits into two. From 0 to a the integrand is e to the minus st; from a to 2a it is minus e to the minus st.

Doing both and combining gives (1 minus e to the minus as) squared over s, and dividing by 1 minus e to the minus 2as, which factorises, leaves the following.

((1 - e^(-s))^2/s)/(1 - e^(-2s)) = (1 - e^(-s))/(s(1 + e^(-s)))

With a = 1 for clarity that is (1 minus e to the minus s) over s(1 plus e to the minus s), and that can be tidied with the definition of the hyperbolic tangent.

(1 - e^(-s))/(s(1 + e^(-s))) = tanh(s/2)/s

So the transform of the square wave of period 2 is the hyperbolic tangent of s over 2, divided by s. A hyperbolic function appearing from a square wave is the kind of thing worth remembering, and it is a standard examination answer.

Worked: the sawtooth

Let f(t) equal t on the interval from 0 to a, repeating with period a.

The integral over one period is the integral of t e to the minus st from 0 to a, which is done by parts.

munotes.in132

The Transform of a Periodic Function

integrate(t e^(-s t), (t, 0, 1)) = 1/s^2 - e^(-s)/s^2 - e^(-s)/s

Dividing by 1 minus e to the minus s, with a = 1, gives the transform. Written out:

(1/s^2 - e^(-s)/s^2 - e^(-s)/s)/(1 - e^(-s)) = 1/s^2 - e^(-s)/(s(1 - e^(-s)))

Both forms are correct and the left-hand one is what a student would write down.

Worked: the half-wave rectified sine

Let f be sin t for the first half of each period of 2 pi and zero for the second half. This is what a single diode does to an alternating voltage, which is why it is set.

The integral over one period runs only from 0 to pi, because f is zero after that.

integrate(e^(-s t) sin(t), (t, 0, pi)) = (1 + e^(-pi s))/(s^2 + 1)

Dividing by 1 minus e to the minus 2 pi s, and noticing that 1 minus e to the minus 2 pi s factorises as (1 minus e to the minus pi s)(1 plus e to the minus pi s), the e to the minus pi s factor cancels.

((1 + e^(-pi s))/(s^2 + 1))/(1 - e^(-2 pi s)) = 1/((s^2 + 1)(1 - e^(-pi s)))

That cancellation is the whole reason this example is pleasant, and it is worth looking for whenever the period is twice the width of the non-zero part.

The procedure

  1. Identify the period T, and check the function really does repeat with that period.
  2. Write down the formula for f on the first period, splitting it into pieces if it is defined in pieces.
  3. Integrate e to the minus st times f over the first period only.
  4. Divide by 1 minus e to the minus sT.
  5. Look for a factorisation of the denominator that cancels part of the numerator.

Step one is where marks are lost: for the square wave the period is 2a, not a, because it takes a full up-and-down cycle to repeat.

Check yourself

integrate(e^(-s t), (t, 0, 2)) = 1/s - e^(-2s)/s

integrate(t e^(-s t), (t, 0, 2)) = 1/s^2 - e^(-2s)/s^2 - 2 e^(-2s)/s

Those two are the one-period integrals for a constant of period 2 and a sawtooth of period 2. Divide each by 1 minus e to the minus 2s to finish.

And a check on the whole idea: a constant function has period anything, so the formula must give one over s for it. With T = 2:

(1/s - e^(-2s)/s)/(1 - e^(-2s)) = 1/s

It does, which is a good sign that the theorem has been stated correctly.

Contents This chapter on its own page

munotes.in133

Chapter Sixty-One

The Unit Impulse, and the Dirac Delta Function

Syllabus topic Module 1, "1.3 Inverse Laplace Transform"

In one line

The unit impulse is the limit of a tall narrow pulse of area one, its transform is e to the minus as, and it is the mathematics of a hammer blow.

Building it

Take a rectangular pulse that starts at t = a, has width h, and has height one over h, so its area is exactly one whatever h is. The right-hand picture in the unit step chapter is that pulse.

Now let h shrink. The pulse becomes narrower and taller, and its area stays one. In the limit it is zero everywhere except at the single point a, where it is infinitely tall, and it still has area one.

That object is the Dirac delta function, or unit impulse function, written as delta(t minus a). MU's label is "Dirac-delta Function (Unit Impulse Function)".

What kind of object it is, said honestly

It is not a function. No function can be zero everywhere except at one point and still enclose area one, because a single point has no width. The delta is a distribution, or generalised function, defined by what it does inside an integral rather than by its values.

What it does is this: integrating any continuous g against delta(t minus a) picks out the value of g at a.

That property is the definition, and everything else follows from it. For this paper you need to know that the delta is defined by its sifting property and that calling it a function is a convenient abuse of language. A question asking "what is the Dirac delta function" wants the pulse construction, the area of one, and the sifting property.

Its transform

Apply the sifting property to the kernel, taking g(t) to be e to the minus st. The integral picks out the value of the kernel at t = a.

L{DiracDelta(t - 2)} = e^(-2s)

L{DiracDelta(t - 3)} = e^(-3s)

L{DiracDelta(t - 1/2)} = e^(-s/2)

So the general result is e to the minus as, with no denominator.

L{DiracDelta(t - a)} = e^(-a s)

Compare that with the unit step, whose transform is e to the minus as over s. The extra one over s in the step's transform is the integration that turns an impulse into a step, exactly as the integral theorem says.

f(t)F(s)
delta(t - a)e^(-as)
u(t - a)e^(-as)/s

The case a = 0, where the books disagree and you should know why

Putting a = 0 in the general result gives 1, and that is what every book on MU's reading list prints: the transform of delta(t) is 1. It is the only transform in this whole paper that does not tend to zero as s grows, which is itself a signal that the delta is not an ordinary function.

munotes.in134

The Unit Impulse, and the Dirac Delta Function

But the answer depends on a convention that is usually left unstated, and it is worth stating. The defining integral's lower limit is written 0. If it means 0 approached from below, the whole impulse is inside the range of integration and the transform is 1. If it means 0 approached from above, the impulse sits exactly on the boundary and is missed, and the transform is 0.

Engineering practice, and every textbook this syllabus names, takes the lower limit as 0 from below, so that an impulse applied at the very start is counted. This book follows that convention, so the transform of delta(t) is 1. A computer algebra system asked the same question may answer 0, because it takes the other reading, and that disagreement is a disagreement about the lower limit rather than about the mathematics.

For every a greater than zero the question does not arise, and that is the case examinations set.

Its relationship to the step

The impulse is the derivative of the step, and the step is the integral of the impulse.

The step is flat except at a, so its derivative is zero except at a. The jump has size one, so the derivative there carries area one. That is precisely the delta.

Check it with the transforms. Integrating the impulse should divide its transform by s, and e to the minus as over s is the step's transform. It does.

What it is for

A sudden input: a hammer blow on a beam, a spike of voltage, a cricket bat hitting a ball, a single packet arriving at an empty queue. Anything that delivers a fixed amount of something in a time too short to care about is modelled as an impulse.

The alternative is to model the input as a short pulse of finite width and then take a limit at the end, which is far more work and gives the same answer. The delta packages that limit once and for all.

And there is a deeper reason it matters, worth one sentence: the response of a linear system to a unit impulse determines its response to every input, because any input can be built out of impulses. That response is called the impulse response, and the convolution theorem two chapters from here is the statement that connects them.

Its sifting property, with numbers

integrate(DiracDelta(t - 2) t^2, (t, 0, oo)) = 4

integrate(DiracDelta(t - 3) e^(-t), (t, 0, oo)) = e^(-3)

integrate(DiracDelta(t - 1) sin(t), (t, 0, oo)) = sin(1)

In each case the integral is the value of the other factor at the point where the delta sits. That is the sifting property doing its one job.

munotes.in135

The Unit Impulse, and the Dirac Delta Function

Inverting

L⁻¹{e^(-2s)} = DiracDelta(t - 2)

L⁻¹{e^(-s)} = DiracDelta(t - 1)

And, by the convention of the section above, the inverse transform of the constant 1 is delta(t). That row is the one to recognise. Their practical importance: if solving a differential equation leaves you with a transform whose numerator and denominator have the same degree, dividing out will leave a constant, and that constant inverts to an impulse. An impulse in the answer means the equation was driven by something discontinuous, and it is not a mistake.

Check yourself

L{DiracDelta(t - 5)} = e^(-5s)

L{3 DiracDelta(t - 1)} = 3 e^(-s)

L{DiracDelta(t - 1) + Heaviside(t - 1)} = e^(-s) + e^(-s)/s

integrate(DiracDelta(t - 4), (t, 0, oo)) = 1

integrate(DiracDelta(t - 2) cos(t), (t, 0, oo)) = cos(2)

The first line of the second block is the statement that the impulse has area one, which is the property it was built to have.

Contents This chapter on its own page

munotes.in136

Chapter Sixty-Two

The Transform of Special Functions

Syllabus topic Module 1, "1.3 Inverse Laplace Transform"

In one line

The special functions this label means are the gamma function, the error function, the sine integral and the Bessel function of order zero.

MU's label, and the problem with it

Her label is "Laplace Transformation of Special Function". She does not say which functions, and "special function" is not defined anywhere in her print. The three books on her reading list all have a chapter of that name, and the four functions below are what those chapters contain. That is the honest basis for this chapter, and it is recorded rather than assumed.

The gamma function

The gamma function extends the factorial to arguments that are not whole numbers. For a positive whole number n, gamma of n is (n minus 1) factorial.

gamma(4) = 6

gamma(5) = 24

gamma(1) = 1

Its two key properties:

gamma(5) = 4 gamma(4)

gamma(1/2) = sqrt(pi)

The first is the recurrence that makes it a factorial: gamma of (n plus 1) is n times gamma of n. The second is the value that makes non-whole arguments useful, and it is the reason a square root of pi appears in transforms.

Its use here: the transform of t to the n, which the earlier chapter gave as n factorial over s to the n plus one, holds for non-whole n with the factorial replaced by gamma of (n plus 1).

L{t^(1/2)} = sqrt(pi)/(2 s^(3/2))

L{t^(-1/2)} = sqrt(pi)/sqrt(s)

L{t^(3/2)} = 3 sqrt(pi)/(4 s^(5/2))

Check the second against the general rule: gamma of one half is root pi, and s to the power one half is root s, so the answer is root pi over root s. It is.

The error function

The error function is the integral of the bell curve, scaled so that it tends to 1.

It has no expression in terms of elementary functions, which is exactly why it is given a name. It appears in every problem about diffusion and in every calculation with a normal distribution.

erf(0) = 0

And its transform, which is the standard result:

L{erf(sqrt(t))} = 1/(s sqrt(s + 1))

The derivation uses the series for the error function and the gamma-function transform above, term by term.

The sine integral

The sine integral, written Si(t), is the integral of sin u over u from 0 to t. The integrand is the function whose transform the dividing-by-t chapter computed, and this is its integral.

Si(0) = 0

Its transform follows from the transform of sin t over t, which is the arctangent of one over s, divided by s by the integral theorem.

L{Si(t)} = atan(1/s)/s

That one line uses two of this module's theorems in sequence, which is why it is a satisfying examination answer: the dividing-by-t rule to get the arctangent, then the integral rule to divide by s.

munotes.in137

The Transform of Special Functions

The Bessel function of order zero

The Bessel function J0(t) is the solution of a differential equation that turns up in every problem with circular symmetry: a vibrating drumhead, the modes of an optical fibre, the diffraction pattern of a round aperture.

It behaves like a decaying cosine: it starts at 1, oscillates, and its peaks shrink.

besselj(0, 0) = 1

Its transform is remarkably clean.

L{besselj(0, t)} = 1/sqrt(s^2 + 1)

Compare that with the transform of cos t, which is s over (s squared plus 1). The Bessel function's transform is the same denominator under a square root, which is the algebraic expression of "like a cosine, but damped".

And the companion, worth knowing:

L{besselj(0, 2 sqrt(t))} = e^(-1/s)/s

The one thing these four have in common

None of them can be written with elementary functions. Each is defined either by an integral it cannot escape from, by a series, or by a differential equation. And yet each has a perfectly ordinary algebraic Laplace transform.

That is the deepest single observation in this half of the module. The transform does not care how complicated a function looks in the time domain; what it cares about is how the function behaves, and a function with simple behaviour has a simple transform however awkward its formula.

That is why the transform is the tool of choice in engineering: it turns questions about functions nobody can write down into questions about algebra.

What a question on this label looks like

Three forms, in decreasing likelihood.

State and use the gamma function to transform a fractional power of t. The commonest, and it is a two-line answer.

Quote the transform of one of the four and use it in a larger calculation.

Derive one of them, usually the sine integral, from the theorems of this module. That is the one worth practising, because it is the only one whose derivation is short.

Check yourself

gamma(6) = 120

gamma(3/2) = sqrt(pi)/2

L{t^(1/2)} = sqrt(pi)/(2 s^(3/2))

L{besselj(0, t)} = 1/sqrt(s^2 + 1)

L{Si(t)} = atan(1/s)/s

The second line of the first block follows from the recurrence: gamma of three halves is one half times gamma of one half, which is root pi over two.

Contents This chapter on its own page

munotes.in138

Chapter Sixty-Three

The Convolution Theorem

Syllabus topic Module 1, "1.2 The Laplace Transform"

In one line

The transform of a convolution is the product of the transforms, and a convolution is not a product.

The problem it solves

The linearity chapter warned that the transform of a product is not the product of the transforms. So the natural question is: if you multiply two transforms together, what have you got the transform of?

The answer is not f times g. It is a new operation on f and g called their convolution, and the theorem that says so is MU's "Convolution Theorem".

What a convolution is

The convolution of f and g, written f star g, is defined by the integral below.

(f star g)(t) = integrate(f(u) g(t - u), (u, 0, t))

Read the integrand carefully. As u runs from 0 to t, f is evaluated forwards from 0 to t and g is evaluated backwards from t to 0. The two functions slide past each other in opposite directions, and the integral adds up all the products.

That is why it is not a product: at a given time t, the convolution depends on the whole history of both functions up to t, not just on their values at t.

The theorem

L{(f star g)(t)} = F(s) G(s)

So the correct statement is: a product of transforms corresponds to a convolution of functions.

What it means physically, which is why it exists

A linear system, given an impulse at time zero, produces some response. Call it g. Now feed the system an arbitrary input f.

Think of f as a great many impulses, one at each instant u, of size f(u). Each one produces a copy of the response g, starting at time u, scaled by f(u). At time t, the impulse that arrived at time u has been running for t minus u, so its contribution is f(u) times g(t minus u). Adding up all of them gives exactly the convolution integral.

So: the output of a linear system is the convolution of the input with the impulse response. That single sentence is the foundation of signal processing, and the convolution theorem is what turns it into a multiplication.

It is also why a digital filter is implemented as a convolution, and why the Fast Fourier Transform is used to do it: transform both, multiply, transform back, because multiplying is cheap and convolving is not.

Worked convolutions, from the definition

integrate(1 * 1, (u, 0, t)) = t

integrate(u, (u, 0, t)) = t^2/2

integrate(e^u, (u, 0, t)) = e^t - 1

The first says the convolution of 1 with 1 is t. Check it with the theorem: the transform of 1 is one over s, so the product is one over s squared, which is the transform of t.

munotes.in139

The Convolution Theorem

L{t} = 1/s^2

The second says the convolution of t with 1 is t squared over 2, and the theorem agrees: one over s squared times one over s is one over s cubed, the transform of t squared over 2.

L{t^2/2} = 1/s^3

A more interesting one: the convolution of e to the t with 1.

integrate(e^u, (u, 0, t)) = e^t - 1

And by the theorem: one over (s minus 1) times one over s. Splitting that into partial fractions gives one over (s minus 1) minus one over s, which inverts to e to the t minus 1. The two agree.

L⁻¹{1/(s (s - 1))} = e^t - 1

The properties of convolution

These are set as short questions and each is proved by a substitution in the integral.

PropertyStatement
Commutativef star g equals g star f
Associative(f star g) star h equals f star (g star h)
Distributivef star (g plus h) equals f star g plus f star h
Identityf star delta equals f

The last row is worth pausing on. The convolution identity is the impulse, not the constant function 1. That is the algebraic statement of what an impulse response is: feed a system an impulse and the output is the impulse response itself.

Commutativity is the surprising one, because the definition treats f and g so differently. The proof is the substitution v = t minus u, which swaps their roles.

The commonest misuse

L{f(t) g(t)} = F(s) G(s)

That is still false, and the convolution theorem does not rescue it. What is true is the theorem with a star, not a product, on the left.

Worked counterexample, on the simplest functions. Take f = g = t.

L{t t} = 2/s^3

The product of the transforms is one over s to the fourth, which is the transform of t cubed over 6. And t cubed over 6 is indeed the convolution of t with t.

integrate(u (t - u), (u, 0, t)) = t^3/6

L{t^3/6} = 1/s^4

So the product of the transforms corresponds to the convolution, t cubed over 6, and not to the product, t squared. Both statements are now in front of you and they are visibly different.

Check yourself

integrate(1 * 1, (u, 0, t)) = t

integrate(u^2, (u, 0, t)) = t^3/3

integrate(sin(u), (u, 0, t)) = 1 - cos(t)

L{1 - cos(t)} = 1/s - s/(s^2 + 1)

The third line of the first block is the convolution of sin t with 1, and the theorem says its transform should be one over (s squared plus 1) times one over s. Check that against the last line.

munotes.in140

The Convolution Theorem

1/s - s/(s^2 + 1) = 1/(s(s^2 + 1))

Contents This chapter on its own page

munotes.in141

Chapter Sixty-Four

Proving the Convolution Theorem, and Using It Forwards

Syllabus topic Module 1, "1.2 The Laplace Transform"

In one line

The proof reverses the order of a double integral, and the forward direction of the theorem computes transforms that no other rule reaches.

The proof

Write the product of the two transforms as a double integral.

F(s) is the integral over one variable, say v, of e to the minus sv times f(v). G(s) is the integral over another, say w, of e to the minus sw times g(w). Multiplying them gives a double integral over the whole quarter plane where v and w are both non-negative, of e to the minus s(v plus w) times f(v) times g(w).

Now change variables. Put t = v plus w and keep v, so w is t minus v. The Jacobian of that change is 1, so the area element is unchanged.

The region matters and is where the work is. In the (v, w) quarter plane, v and w are both at least zero. In the (v, t) variables that becomes: v at least zero, and t at least v, since w = t minus v must be non-negative. So for a given t, v runs from 0 to t, and t runs from 0 to infinity.

Reverse the order so that t is the outer variable.

The inner integral over v, from 0 to t, of f(v) times g(t minus v), is exactly the convolution. The outer integral over t of e to the minus st times that convolution is the defining integral of its transform.

So the product of the transforms is the transform of the convolution, which is the theorem.

The one step worth practising is drawing the region and reading off the new limits. Getting v from 0 to t rather than 0 to infinity is the whole of it, and a sketch of the wedge between the two lines settles it.

Using it forwards: a transform no other rule gives

The forward direction is the half students never practise, and it is set.

Find the transform of the integral below.

integrate(sin(u) cos(t - u), (u, 0, t))

That is the convolution of sin t with cos t. By the theorem, its transform is the product of their transforms.

L{sin(t)} = 1/(s^2 + 1)

L{cos(t)} = s/(s^2 + 1)

So the answer is s over (s squared plus 1) squared, with no integration at all.

(1/(s^2 + 1))(s/(s^2 + 1)) = s/(s^2 + 1)^2

And the convolution itself, if you want it, can be done by a trigonometric identity and gives t sin t over 2.

integrate(sin(u) cos(t - u), (u, 0, t)) = t sin(t)/2

Check that against the table: the transform of t sin at is 2as over (s squared plus a squared) squared, so with a = 1 the transform of t sin t over 2 is s over (s squared plus 1) squared. The two routes agree.

munotes.in142

Proving the Convolution Theorem, and Using It Forwards

L{t sin(t)/2} = s/(s^2 + 1)^2

More worked convolutions

integrate(e^u (t - u), (u, 0, t)) = e^t - t - 1

integrate(e^(2u) e^(3(t - u)), (u, 0, t)) = e^(3t) - e^(2t)

integrate(cos(u), (u, 0, t)) = sin(t)

The second is the convolution of two exponentials, and it is worth knowing as a pattern: convolving e to the at with e to the bt gives (e to the bt minus e to the at) over (b minus a) when a and b differ. Here b minus a is 1, so there is no divisor.

Check it with the theorem.

L⁻¹{1/((s - 2)(s - 3))} = e^(3t) - e^(2t)

The transforms multiply to one over (s minus 2)(s minus 3), and inverting that by partial fractions gives the same answer. Two routes, one answer, again.

Using it backwards: inverting

The reverse reading is the subject of its own chapter in the inverse section, but the idea in one line: if F(s) factorises into two pieces you recognise, the inverse is the convolution of their two inverses.

L⁻¹{1/(s(s^2 + 1))} = 1 - cos(t)

The factors are one over s, inverting to 1, and one over (s squared plus 1), inverting to sin t. Convolving 1 with sin t is the integral of sin u from 0 to t, which is 1 minus cos t.

integrate(sin(u), (u, 0, t)) = 1 - cos(t)

When to reach for it

Honestly, not often in this paper. Partial fractions is usually faster. Reach for convolution in three situations.

The factors do not split into partial fractions usefully. One over (s squared plus 1) squared is the classic case: partial fractions does nothing to it, and convolution gives the answer.

One factor is an exponential in s, meaning a delayed input, and you want the answer as an integral rather than in pieces.

The question asks for it. MU's label is "Use of Convolution Theorem", so a question may require the method by name even where another would be quicker.

Worked, the classic case.

L⁻¹{1/(s^2 + 1)^2} = (sin(t) - t cos(t))/2

By convolution: both factors invert to sin t, so the answer is the convolution of sin t with itself.

integrate(sin(u) sin(t - u), (u, 0, t)) = (sin(t) - t cos(t))/2

The integral is done by turning the product of sines into a difference of cosines, and the result is the printed answer. No partial fraction would have got there.

Check yourself

integrate(1 * (t - u), (u, 0, t)) = t^2/2

integrate(e^(-u) e^(-(t - u)), (u, 0, t)) = t e^(-t)

munotes.in143

Proving the Convolution Theorem, and Using It Forwards

L{t e^(-t)} = 1/(s + 1)^2

The second convolution is e to the minus t with itself, and the theorem says the transform should be one over (s plus 1) squared, which the last line confirms. Notice that convolving a function with itself does not square it: it produced a t out of nowhere.

Contents This chapter on its own page

munotes.in144

Chapter Sixty-Five

What the Inverse Transform Is

Syllabus topic Module 1, "1.3 Inverse Laplace Transform"

In one line

The inverse transform answers the question "whose transform is this", and it is the half of the work that actually produces the answer.

The definition

If F(s) is the Laplace transform of f(t), then f(t) is the inverse Laplace transform of F(s), written with an inverse superscript on the L.

L⁻¹{1/s} = 1

L⁻¹{1/(s - 3)} = e^(3t)

L⁻¹{1/(s^2 + 4)} = sin(2t)/2

That is all the definition says. There is no new integral to learn for this paper: the inverse is found by recognising F as a transform you already know, not by computing anything.

There is a formula for the inverse as a contour integral in the complex plane, called the Bromwich integral, and it is beyond this syllabus. MU does not name it and no question needs it.

Why the question has only one answer

Because of the uniqueness result quoted in the existence chapter: two continuous functions with the same transform are the same function.

So if you find any f whose transform is the F in front of you, it is the answer. You do not have to worry that some other function has the same transform, and you do not have to justify your method. Guessing, checking, and stopping is a complete and rigorous procedure.

That licence is worth knowing, because it means the whole of the inverse-transform technique is a set of recognition patterns rather than a calculation.

Linearity, again

The inverse is linear, for the same reason the forward transform is.

L⁻¹{2/s + 3/(s - 1)} = 2 + 3 e^t

L⁻¹{1/s^2 - 1/(s^2 + 1)} = t - sin(t)

So the plan for any F is always: break it into pieces each of which is a table row, and invert each piece. Every chapter in this section is a technique for doing that breaking.

The five techniques, and where each applies

F(s) looks likeTechniqueChapter
a table row, up to constantsread the table backwardsthe next one
a quadratic denominator that does not factorisecomplete the square, then shiftthird from here
a fraction with a factorisable denominatorpartial fractionsfour chapters
an exponential in s times somethingthe second shifting theoremlater
a product of two recognisable piecesconvolutionlater

That table is the whole of this section, and reading it is how you decide what to do with an F you have never seen.

The first thing to do with any F

Look at the denominator, and in this order.

  1. Does it factorise into linear factors? Then partial fractions, and the answer is exponentials.
  2. Is it an irreducible quadratic? Then complete the square, and the answer oscillates.
  3. Is there a factor of s on its own? Then there is a constant term in the answer, or an integration.
  4. Is there an exponential in s anywhere? Then something is delayed, and there will be a unit step in the answer.
  5. Is a factor raised to a power? Then there will be a power of t multiplying something.
munotes.in145

What the Inverse Transform Is

Those five readings, made before any algebra, will tell you the shape of the answer, and knowing the shape before you start is what stops a wrong turn costing five minutes of an hour.

Why this is the half that matters

The forward transform of a differential equation is mechanical: read the table, term by term. What comes out is an algebraic equation, and solving it is school algebra.

Then you are left with a function of s and a question: what function of t is this? Everything hard about the method is there. So this section is longer than the forward section, and its techniques are worth more practice.

A warning about the notation

The inverse is written with an inverse superscript on the L, and it is not a reciprocal. The inverse transform of one over F(s) has nothing to do with the inverse transform of F(s), and writing the operator as a fraction is a mistake that leads straight to nonsense.

L⁻¹{F(s)} = 1/L{F(s)}

That statement is false and meaningless. The superscript means "the operation that undoes L", exactly as it does on a function.

Check yourself

L⁻¹{5/s} = 5

L⁻¹{1/(s + 2)} = e^(-2t)

L⁻¹{1/s^3} = t^2/2

L⁻¹{s/(s^2 + 9)} = cos(3t)

L⁻¹{2/(s^2 - 4)} = sinh(2t)

L⁻¹{1/(s - 1)^2} = t e^t

All six are table rows read backwards, with one adjustment each at most. If any of them took more than a few seconds, the next chapter is the one to work through slowly.

Contents This chapter on its own page

munotes.in146

Chapter Sixty-Six

The Table Read Backwards

Syllabus topic Module 1, "1.3 Inverse Laplace Transform"

In one line

Make F(s) look like a row of the table, by supplying missing constants and normalising the coefficient of s.

The table, inverted

F(s)f(t)
1/s1
1/s^2t
1/s^(n+1)t^n / n factorial
1/(s - a)e^(at)
1/(s^2 + a^2)sin(at)/a
s/(s^2 + a^2)cos(at)
1/(s^2 - a^2)sinh(at)/a
s/(s^2 - a^2)cosh(at)
1/(s - a)^(n+1)t^n e^(at) / n factorial
1/((s - a)^2 + b^2)e^(at) sin(bt)/b
(s - a)/((s - a)^2 + b^2)e^(at) cos(bt)

Note the divisors in the right column. They are there because the forward table has a factorial or an a in the numerator, so inverting a bare 1 leaves that factor to be divided out. Those divisors are where most inverse marks are lost.

The three adjustments

One: supply a missing constant. The sine row needs an a on top. If the numerator is 1, write it as one over a times a.

L⁻¹{1/(s^2 + 16)} = sin(4t)/4

L⁻¹{1/(s^2 + 2)} = sin(sqrt(2) t)/sqrt(2)

L⁻¹{1/(s^2 - 9)} = sinh(3t)/3

The second line is the one that catches people: a squared is 2, so a is root 2, and the answer has root 2 in it. There is no rule that the a must be a whole number.

Two: normalise the coefficient of s. The table always has a leading coefficient of 1 on the s. If yours is not 1, divide top and bottom.

L⁻¹{1/(2s + 6)} = e^(-3t)/2

L⁻¹{1/(3s - 12)} = e^(4t)/3

L⁻¹{1/(4s^2 + 9)} = sin(3t/2)/6

For the third: divide top and bottom by 4 to get one quarter over (s squared plus nine quarters), so a is three halves, and the answer is one quarter times sin(3t/2) divided by three halves, which is sin(3t/2) over 6.

Three: split the numerator. A numerator with several terms goes into several table rows.

L⁻¹{(3s + 4)/(s^2 + 4)} = 3 cos(2t) + 2 sin(2t)

L⁻¹{(2s - 5)/s^2} = 2 - 5t

L⁻¹{(s + 1)/(s^2 - 1)} = e^t

The last line is worth a look: instead of splitting into a cosh and a sinh, notice that the fraction cancels to one over (s minus 1), because the numerator is a factor of the denominator. Always try to cancel before you split.

Reading a power of s in the denominator

L⁻¹{1/s^4} = t^3/6

L⁻¹{2/s^5} = t^4/12

L⁻¹{(s + 2)/s^3} = t + t^2

For the last: split it into one over s squared plus 2 over s cubed, which inverts to t plus 2 times t squared over 2, which is t plus t squared.

Reading a shifted denominator

Any F in which every s appears as (s minus a) has an e to the at in the answer, which is the first shifting theorem read backwards.

munotes.in147

The Table Read Backwards

L⁻¹{1/(s - 2)^3} = t^2 e^(2t)/2

L⁻¹{1/(s + 1)^4} = t^3 e^(-t)/6

L⁻¹{(s - 1)/((s - 1)^2 + 9)} = e^t cos(3t)

The first five seconds with any F

Before writing anything, ask three questions.

Does the denominator factorise? If yes, expect exponentials, and partial fractions is the route.

Is there an s on top, alone? If yes, expect a cosine or a cosh.

Is there an exponential in s? If yes, expect a unit step, and the answer will be in pieces.

Those three take five seconds and pick the method.

A worked one with all three adjustments

Invert the function below.

F(s) = (4s + 12)/(2s^2 + 18)

Divide top and bottom by 2, to normalise.

(4s + 12)/(2s^2 + 18) = (2s + 6)/(s^2 + 9)

Now split the numerator into an s part and a constant part.

L⁻¹{2 s/(s^2 + 9)} = 2 cos(3t)

L⁻¹{6/(s^2 + 9)} = 2 sin(3t)

The second used adjustment one: 6 over (s squared plus 9) is 2 times 3 over (s squared plus 9), and 3 over that denominator is the sine row exactly.

So the answer is the sum.

L⁻¹{(4s + 12)/(2s^2 + 18)} = 2 cos(3t) + 2 sin(3t)

Check yourself

L⁻¹{3/s} = 3

L⁻¹{1/(s^2 + 25)} = sin(5t)/5

L⁻¹{s/(s^2 + 25)} = cos(5t)

L⁻¹{1/(2s - 8)} = e^(4t)/2

L⁻¹{1/s^5} = t^4/24

L⁻¹{(s - 3)/((s - 3)^2 + 4)} = e^(3t) cos(2t)

L⁻¹{6/(s^2 - 4)} = 3 sinh(2t)

If the second and the fifth came out without a divisor, go back to the table above and look at the right-hand column again: those two divisors are the whole content of adjustment one.

Contents This chapter on its own page

munotes.in148

Chapter Sixty-Seven

Completing the Square, and the First Shifting Theorem Backwards

Syllabus topic Module 1, "1.3 Inverse Laplace Transform"

In one line

If the quadratic denominator does not factorise, complete the square, and the shift comes out as an exponential.

When to reach for it

Look at the discriminant of the quadratic in the denominator. If it is negative, the quadratic does not factorise over the reals, partial fractions cannot help, and completing the square is the method.

DenominatorDiscriminantMethod
s^2 + 4s + 316 - 12 = 4, positivepartial fractions
s^2 + 4s + 416 - 16 = 0a repeated factor
s^2 + 4s + 816 - 32 = -16, negativecomplete the square

Checking the discriminant first takes ten seconds and saves the two minutes spent trying to factorise something that will not.

Completing the square

For s squared plus bs plus c, take half of b, square it, add and subtract.

s^2 + 6s + 13 = (s + 3)^2 + 4

s^2 - 4s + 13 = (s - 2)^2 + 9

s^2 + 2s + 5 = (s + 1)^2 + 4

s^2 + 8s + 25 = (s + 4)^2 + 9

In each case the result is (s minus a) squared plus b squared, and the two table rows that fit are the shifted sine and the shifted cosine.

The two rows

L⁻¹{1/((s - a)^2 + b^2)} = e^(a t) sin(b t)/b

L⁻¹{(s - a)/((s - a)^2 + b^2)} = e^(a t) cos(b t)

Note what a and b do. a comes out as the exponential and b as the frequency, and a's sign is the sign inside the bracket reversed: (s plus 3) squared means a is minus 3, so the answer decays.

Worked, numerator constant

L⁻¹{1/(s^2 + 6s + 13)} = e^(-3t) sin(2t)/2

L⁻¹{1/(s^2 - 4s + 13)} = e^(2t) sin(3t)/3

L⁻¹{5/(s^2 + 2s + 5)} = 5 e^(-t) sin(2t)/2

Each is the same three steps: complete the square, read a and b, divide by b.

Worked, numerator containing s

This is the case that needs the extra step, and it is the commoner one in practice, because a second-order differential equation nearly always produces it.

Invert the function below.

F(s) = (s + 5)/(s^2 + 4s + 8)

Complete the square: the denominator is (s plus 2) squared plus 4, so a is minus 2 and b is 2.

Now the numerator must be written in terms of s plus 2, because that is what the cosine row needs on top. Write s plus 5 as (s plus 2) plus 3.

s + 5 = (s + 2) + 3

Now split into two rows.

L⁻¹{(s + 2)/((s + 2)^2 + 4)} = e^(-2t) cos(2t)

L⁻¹{3/((s + 2)^2 + 4)} = 3 e^(-2t) sin(2t)/2

munotes.in149

Completing the Square, and the First Shifting Theorem Backwards

And the answer is the sum.

L⁻¹{(s + 5)/(s^2 + 4s + 8)} = e^(-2t) cos(2t) + 3 e^(-2t) sin(2t)/2

The procedure, which is worth learning as five steps

  1. Check the discriminant. Negative means this method.
  2. Complete the square, giving (s minus a) squared plus b squared.
  3. Rewrite the numerator so that every s appears as (s minus a), splitting off a constant.
  4. Invert the (s minus a) part with the cosine row.
  5. Invert the constant part with the sine row, dividing by b.

Step three is the one that is skipped, and skipping it leaves an s on top of a shifted denominator, which matches no table row at all.

Two more, worked quickly

L⁻¹{s/(s^2 + 2s + 2)} = e^(-t) cos(t) - e^(-t) sin(t)

L⁻¹{(2s - 1)/(s^2 - 2s + 10)} = 2 e^t cos(3t) + e^t sin(3t)/3

For the first: the denominator is (s plus 1) squared plus 1, and s is (s plus 1) minus 1, so the answer is the cosine row minus the sine row, with b = 1.

For the second: the denominator is (s minus 1) squared plus 9, and 2s minus 1 is 2(s minus 1) plus 1, so the answer is twice the cosine row plus one third of the sine row.

When the denominator has a factor of s as well

Then there are two things going on: complete the square on the quadratic and use partial fractions on the s. The next four chapters handle partial fractions; the combination looks like this.

L⁻¹{1/(s(s^2 + 2s + 2))} = 1/2 - e^(-t) cos(t)/2 - e^(-t) sin(t)/2

Partial fractions splits off the one over s term, and what is left is a quadratic over a quadratic, which completes the square.

Check yourself

L⁻¹{1/(s^2 + 4s + 5)} = e^(-2t) sin(t)

L⁻¹{1/(s^2 - 6s + 10)} = e^(3t) sin(t)

L⁻¹{(s + 1)/(s^2 + 2s + 10)} = e^(-t) cos(3t)

L⁻¹{s/(s^2 + 4s + 13)} = e^(-2t) cos(3t) - 2 e^(-2t) sin(3t)/3

The third is the pleasant case: the numerator is already exactly (s minus a), so no splitting is needed and the answer is one term. Recognising that saves a step, and it happens more often than you would expect because a well-set question is often built that way.

Contents This chapter on its own page

munotes.in150

Chapter Sixty-Eight

Partial Fractions: Distinct Linear Factors

Syllabus topic Module 1, "1.3 Inverse Laplace Transform"

In one line

Split the fraction into one term per factor, find the constants, and invert each term as an exponential.

MU's label

"Partial fractions Methods". The method is from school, and it is worth doing from the beginning, because a student who half remembers it will lose marks here rather than in the transform.

The shape

If the denominator factorises into distinct linear factors, write one fraction per factor with an unknown constant on top.

F(s) = 1/((s - 1)(s - 2)) = A/(s - 1) + B/(s - 2)

Then find A and B, and invert each term with the exponential row.

Finding the constants: the two methods

Method one: multiply up and compare coefficients. Multiply both sides by the whole denominator. That gives an identity between polynomials, and comparing the coefficients of each power of s gives simultaneous equations.

For the example above, multiplying up gives 1 equal to A(s minus 2) plus B(s minus 1). Comparing the s terms: 0 equals A plus B. Comparing the constants: 1 equals minus 2A minus B. Solving: A is minus 1 and B is 1.

Method two: substitute the roots. Multiply up as before, then put s equal to each root in turn. Each substitution kills all but one unknown.

Putting s = 1: 1 equals A(1 minus 2), so A is minus 1. Putting s = 2: 1 equals B(2 minus 1), so B is 1.

Method two is faster and should be your default. It is the same idea as the cover-up rule, which has its own chapter.

So:

1/((s - 1)(s - 2)) = -1/(s - 1) + 1/(s - 2)

And the inverse follows at once.

L⁻¹{1/((s - 1)(s - 2))} = e^(2t) - e^t

Worked, three factors

1/(s(s + 1)(s + 2)) = 1/(2s) - 1/(s + 1) + 1/(2(s + 2))

By substitution: at s = 0 the equation is 1 equals A times 1 times 2, so A is one half. At s = minus 1 it is 1 equals B times minus 1 times 1, so B is minus 1. At s = minus 2 it is 1 equals C times minus 2 times minus 1, so C is one half.

L⁻¹{1/(s(s + 1)(s + 2))} = 1/2 - e^(-t) + e^(-2t)/2

Worked, with a numerator

A numerator changes nothing about the method, only the arithmetic.

(2s + 3)/((s + 1)(s + 2)) = 1/(s + 1) + 1/(s + 2)

At s = minus 1: 2(minus 1) plus 3 is 1, and the other factor is 1, so A is 1. At s = minus 2: 2(minus 2) plus 3 is minus 1, and the other factor is minus 1, so B is 1.

munotes.in151

Partial Fractions: Distinct Linear Factors

L⁻¹{(2s + 3)/((s + 1)(s + 2))} = e^(-t) + e^(-2t)

The degree condition, which is skipped and matters

Partial fractions in this form requires the numerator's degree to be strictly less than the denominator's. If it is not, divide out first.

(s^2 + 1)/(s^2 - 1) = 1 + 2/(s^2 - 1)

The numerator and denominator both have degree 2, so long division gives 1 plus a proper fraction. The proper fraction inverts as usual.

L⁻¹{2/(s^2 - 1)} = 2 sinh(t)

And the leading 1 is not an oversight: by the convention set out in the chapter on the unit impulse, the inverse transform of a constant 1 is the impulse delta(t). So the full answer is delta(t) plus 2 sinh t.

An impulse in the answer is what an improper F(s) means, and it is not a mistake. It says the system was driven by something discontinuous. It is also the reason to divide out first: leaving an improper fraction and trying to split it into partial fractions produces an identity that cannot be satisfied.

Factorising the denominator, which is step zero

Before any of this, the denominator has to be factorised, and a question will not do it for you.

s^2 + 3s + 2 = (s + 1)(s + 2)

s^2 - 5s + 6 = (s - 2)(s - 3)

s^3 - s = s(s - 1)(s + 1)

s^3 - 6s^2 + 11s - 6 = (s - 1)(s - 2)(s - 3)

For a cubic, try small whole numbers: if putting s = 1 makes the cubic zero, then (s minus 1) is a factor, and dividing out leaves a quadratic. That is the only technique needed for this paper.

The check that costs ten seconds

Put a convenient value of s, one that is not a root, into both your original F and your partial-fraction expression, and see whether the two numbers agree.

For the three-factor example, put s = 1. The original is one over (1 times 2 times 3), which is one sixth.

1/(1(1 + 1)(1 + 2)) = 1/6

1/(2(1)) - 1/(1 + 1) + 1/(2(1 + 2)) = 1/6

They agree, so the constants are right. Doing that check every time is the single most useful habit in this part of the paper.

Check yourself

1/((s - 2)(s - 3)) = -1/(s - 2) + 1/(s - 3)

(s + 1)/(s(s + 2)) = 1/(2s) + 1/(2(s + 2))

L⁻¹{1/((s - 2)(s - 3))} = e^(3t) - e^(2t)

L⁻¹{(s + 1)/(s(s + 2))} = 1/2 + e^(-2t)/2

L⁻¹{1/(s(s - 4))} = e^(4t)/4 - 1/4

L⁻¹{(3s - 1)/((s - 1)(s + 1))} = e^t + 2 e^(-t)

Contents This chapter on its own page

munotes.in152

Chapter Sixty-Nine

Partial Fractions: Repeated Factors

Syllabus topic Module 1, "1.3 Inverse Laplace Transform"

In one line

A factor repeated n times needs n terms, one for each power, and the answer carries powers of t.

The shape

If a linear factor appears n times, you need a term for every power from 1 to n.

F(s) = 1/((s - 1)(s - 2)^2) = A/(s - 1) + B/(s - 2) + C/(s - 2)^2

Writing only the highest power, C over (s minus 2) squared, is the standard mistake, and it makes the identity impossible to satisfy.

Why every power is needed

Count the unknowns against the equations. Multiplying up gives an identity between polynomials of degree 2, which has three coefficients, so three equations. Three equations need three unknowns, and the three terms above supply exactly three.

Leave out the middle term and you have two unknowns for three equations, which in general has no solution. That is the algebraic reason, and it is the answer to "why do we need the lower powers".

Finding the constants

Substitution still works for the repeated root's highest power and for every distinct root, but not for the lower powers of the repeated factor, because substituting the repeated root kills them too.

So the routine is:

  1. Substitute each distinct root to get its constant.
  2. Substitute the repeated root to get the constant on the highest power.
  3. Get the remaining constants by comparing coefficients, or by substituting any convenient extra value of s.

Worked, on the example above. Multiplying up: 1 equals A(s minus 2) squared plus B(s minus 1)(s minus 2) plus C(s minus 1).

At s = 1: 1 equals A times 1, so A is 1. At s = 2: 1 equals C times 1, so C is 1. Now put s = 0: 1 equals A times 4 plus B times 2 plus C times minus 1, that is 1 equals 4 plus 2B minus 1, so 2B is minus 2 and B is minus 1.

1/((s - 1)(s - 2)^2) = 1/(s - 1) - 1/(s - 2) + 1/(s - 2)^2

Inverting, and where the t comes from

The row for a repeated factor carries a power of t.

L⁻¹{1/(s - a)^2} = t e^(a t)

L⁻¹{1/(s - a)^3} = t^2 e^(a t)/2

L⁻¹{1/(s - a)^4} = t^3 e^(a t)/6

So the example above inverts as follows.

L⁻¹{1/((s - 1)(s - 2)^2)} = e^t - e^(2t) + t e^(2t)

A repeated factor means a t in the answer. That is the single fact to carry away, and it has a physical meaning: a repeated root is the boundary between oscillation and pure decay, and the t is the system on that boundary.

Worked, a repeated factor at zero

1/(s^2 (s + 1)) = 1/s^2 - 1/s + 1/(s + 1)

munotes.in153

Partial Fractions: Repeated Factors

At s = 0 the highest power's constant: 1 equals A times 1, so the constant on one over s squared is 1. At s = minus 1: 1 equals C times 1, so the constant on one over (s plus 1) is 1. Comparing the coefficients of s squared: 0 equals B plus C, so B is minus 1.

L⁻¹{1/(s^2 (s + 1))} = t - 1 + e^(-t)

That answer is worth a moment. It contains a t, from the repeated factor at zero, a constant, and a decaying exponential. In a circuit that is a ramp with an offset and a transient, which is what a constant voltage applied to an inductor and a resistor in series actually does.

Worked, a triple factor

1/(s (s + 1)^3) = 1/s - 1/(s + 1) - 1/(s + 1)^2 - 1/(s + 1)^3

Four terms for four unknowns. Then:

L⁻¹{1/(s (s + 1)^3)} = 1 - e^(-t) - t e^(-t) - t^2 e^(-t)/2

The alternative for the lower powers: differentiate

There is a neater way to get the lower constants, and it is worth knowing because it is quicker for a triple factor.

Multiply F by the full repeated factor, giving a function with no pole at the repeated root. Then the constant on the highest power is its value at the root, the constant on the next power down is its first derivative at the root, the next is half its second derivative, and so on.

That is Taylor's theorem in disguise, and it is also L'Hopital's rule in disguise, which is the third of the three places the indeterminate-forms chapters said this paper needs them.

For the triple-factor example: multiply by (s plus 1) cubed to get one over s. Its value at s = minus 1 is minus 1, which is the constant on the cube. Its derivative is minus one over s squared, whose value at minus 1 is minus 1, the constant on the square. Half its second derivative is one over s cubed, whose value at minus 1 is minus 1, the constant on the single power. All three agree with the answer above.

The check

Same as before: substitute a convenient value of s into both forms.

1/(1 (1 + 1)^3) = 1/8

1/1 - 1/(1 + 1) - 1/(1 + 1)^2 - 1/(1 + 1)^3 = 1/8

Check yourself

1/(s (s + 2)^2) = 1/(4s) - 1/(4(s + 2)) - 1/(2(s + 2)^2)

(s + 3)/(s + 1)^2 = 1/(s + 1) + 2/(s + 1)^2

L⁻¹{1/(s (s + 2)^2)} = 1/4 - e^(-2t)/4 - t e^(-2t)/2

L⁻¹{(s + 3)/(s + 1)^2} = e^(-t) + 2 t e^(-t)

L⁻¹{1/(s^2 (s - 1))} = e^t - t - 1

L⁻¹{1/(s - 3)^3} = t^2 e^(3t)/2

Contents This chapter on its own page

munotes.in154

Chapter Seventy

Partial Fractions: Irreducible Quadratic Factors

Syllabus topic Module 1, "1.3 Inverse Laplace Transform"

In one line

An irreducible quadratic factor needs a linear numerator, As plus B, and it produces a sine or a cosine.

The shape

If the denominator has a quadratic factor that does not factorise, the term over it needs two unknowns, not one.

F(s) = 1/((s + 1)(s^2 + 4)) = A/(s + 1) + (B s + C)/(s^2 + 4)

The reason is the same counting argument as for repeated factors. Multiplying up gives a polynomial identity of degree 2, so three coefficients and three equations, and three unknowns are needed.

Putting a single constant over the quadratic gives two unknowns for three equations, and it generally has no solution.

Finding the constants

The root substitution works for the linear factors. For the quadratic's two unknowns, compare coefficients or substitute extra values.

Worked, on the example. Multiplying up: 1 equals A(s squared plus 4) plus (Bs plus C)(s plus 1).

At s = minus 1: 1 equals A times 5, so A is one fifth.

Comparing the coefficients of s squared: 0 equals A plus B, so B is minus one fifth.

Comparing the constants: 1 equals 4A plus C, so C is 1 minus four fifths, which is one fifth.

1/((s + 1)(s^2 + 4)) = 1/(5(s + 1)) + (-s/5 + 1/5)/(s^2 + 4)

Inverting it

Split the quadratic's term into its s part and its constant part, and use the cosine row and the sine row.

L⁻¹{1/((s + 1)(s^2 + 4))} = e^(-t)/5 - cos(2t)/5 + sin(2t)/10

The sin over 10 is the one fifth from C, divided by the b of 2 that the sine row needs.

An irreducible quadratic means an oscillation in the answer. That is the fact to carry, and it pairs with the two from the previous chapters: a distinct linear factor gives an exponential, a repeated one gives a t times an exponential, and an irreducible quadratic gives a sine and a cosine.

Worked, a quadratic with a linear term in it

If the quadratic itself has a middle term, complete the square after splitting.

1/(s(s^2 + 2s + 2)) = 1/(2s) + (-s/2 - 1)/(s^2 + 2s + 2)

At s = 0: 1 equals A times 2, so A is one half. Comparing s squared coefficients: 0 equals A plus B, so B is minus one half. Comparing constants: 1 equals 2A, consistent; comparing s coefficients: 0 equals 2A plus C, so C is minus 1.

Now the second term needs the completing-the-square treatment. The denominator is (s plus 1) squared plus 1, and the numerator, minus s over 2 minus 1, must be written in terms of s plus 1: it is minus (s plus 1)/2 minus 1/2.

munotes.in155

Partial Fractions: Irreducible Quadratic Factors

L⁻¹{1/(s(s^2 + 2s + 2))} = 1/2 - e^(-t) cos(t)/2 - e^(-t) sin(t)/2

So the two techniques, partial fractions and completing the square, are used one after the other. That combination is what a second-order equation with a constant forcing term produces, and it is set every year.

Worked, a repeated quadratic

A quadratic factor repeated needs a linear numerator for each power.

F(s) = 1/(s^2 + 1)^2 = (A s + B)/(s^2 + 1) + (C s + D)/(s^2 + 1)^2

For this particular F the answer is that A, B and C are zero and D is 1, so the partial-fraction step achieves nothing. That is worth knowing: a repeated irreducible quadratic with a constant numerator is best left alone, and inverted by convolution or by the multiplying-by-t rule read backwards.

L⁻¹{1/(s^2 + 1)^2} = (sin(t) - t cos(t))/2

The convolution chapter derived that, by convolving sin t with itself.

The three shapes, in one table

Factor in the denominatorTerm neededWhat appears in f(t)
(s - a), distinctA/(s - a)an exponential
(s - a)^none term per powert^k times an exponential
an irreducible quadratic(As + B)/quadratica sine and a cosine
a repeated irreducible quadraticone linear numerator per powert times a sine or cosine

That table decides the shape of the answer before any constant is found, and knowing the shape first is what stops a wrong method.

The check

The same one: substitute a value of s into both forms.

1/((1 + 1)(1 + 4)) = 1/10

1/(5(1 + 1)) + (-1/5 + 1/5)/(1 + 4) = 1/10

Check yourself

1/(s(s^2 + 1)) = 1/s - s/(s^2 + 1)

s/((s + 1)(s^2 + 1)) = -1/(2(s + 1)) + (s/2 + 1/2)/(s^2 + 1)

L⁻¹{1/(s(s^2 + 1))} = 1 - cos(t)

L⁻¹{s/((s + 1)(s^2 + 1))} = -e^(-t)/2 + cos(t)/2 + sin(t)/2

L⁻¹{1/((s - 1)(s^2 + 4))} = e^t/5 - cos(2t)/5 - sin(2t)/10

The first line of the first block is worth noticing: the quadratic's numerator came out with no constant term, so the answer has a cosine and no sine. That happens whenever the original numerator is a constant and the linear factor is s itself.

Contents This chapter on its own page

munotes.in156

Chapter Seventy-One

The Cover-Up Rule, and How to Check a Partial Fraction in Ten Seconds

Syllabus topic Module 1, "1.3 Inverse Laplace Transform" and Course Objective 6, "Inculcate the habit of Mathematical Thinking through Indeterminate forms" (named by no module label)

In one line

To find the constant over a distinct linear factor, cover that factor up and put its root into everything else.

The rule

For a distinct linear factor (s minus a), the constant on top of A over (s minus a) is found by deleting that factor from F(s) and evaluating what is left at s = a.

Nothing else. No multiplying up, no simultaneous equations, no comparing coefficients.

Worked

Take the fraction below.

F(s) = 1/((s - 1)(s - 2)(s - 3))

For the constant over (s minus 1): cover up (s minus 1), leaving one over (s minus 2)(s minus 3), and put s = 1. That gives one over (minus 1)(minus 2), which is one half.

For (s minus 2): cover it, leaving one over (s minus 1)(s minus 3), and put s = 2. That gives one over (1)(minus 1), which is minus 1.

For (s minus 3): cover it, leaving one over (s minus 1)(s minus 2), and put s = 3. That gives one over (2)(1), which is one half.

1/((s - 1)(s - 2)(s - 3)) = 1/(2(s - 1)) - 1/(s - 2) + 1/(2(s - 3))

Three constants in about fifteen seconds. Doing the same by comparing coefficients means three simultaneous equations in three unknowns.

L⁻¹{1/((s - 1)(s - 2)(s - 3))} = e^t/2 - e^(2t) + e^(3t)/2

Why it works

Multiply F by (s minus a). On the right-hand side, that clears the denominator of the term you want and leaves (s minus a) as a factor on every other term.

Now let s tend to a. Every other term has a factor going to zero, so it vanishes, and only A is left. On the left, (s minus a) times F is F with the factor cancelled, evaluated at a.

So the rule is a limit, and taking the limit is what the covering up is doing.

lim((s - 1)/((s - 1)(s - 2)), s -> 1) = -1

lim(1/(s - 2), s -> 1) = -1

Those two lines are the same limit written two ways, and they agree, which is the rule in miniature.

The two conditions

The factor must be linear. For a quadratic factor the numerator has two unknowns and one substitution cannot find both.

The factor must not be repeated. For a repeated factor, covering up one copy still leaves another in the denominator, and the substitution divides by zero. The rule then gives only the constant on the highest power, and the lower ones need the derivative method of the repeated-factors chapter.

The highest power of a repeated factor

The rule does work for that one case, which is worth stating separately.

munotes.in157

The Cover-Up Rule, and How to Check a Partial Fraction in Ten Seconds

For F with a factor (s minus a) to the n, cover up all n copies and evaluate at a. That gives the constant on the highest power.

F(s) = 1/(s(s + 2)^2)

Cover up (s plus 2) squared, leaving one over s, and put s = minus 2. That gives minus one half, which is the constant on one over (s plus 2) squared.

1/(s(s + 2)^2) = 1/(4s) - 1/(4(s + 2)) - 1/(2(s + 2)^2)

The other two came from the earlier chapter's methods, and the one on one over s came from covering up s and putting s = 0, which gives one over 4.

The check that takes ten seconds

Put a value of s that is not a root into both the original and your partial fractions, and compare.

1/((4 - 1)(4 - 2)(4 - 3)) = 1/6

1/(2(4 - 1)) - 1/(4 - 2) + 1/(2(4 - 3)) = 1/6

They agree, so the three constants are right.

There is a second check that is even faster when the numerator's degree is at least two less than the denominator's: the constants must add to zero. For the three-factor example, one half minus 1 plus one half is zero, as it must be.

1/2 - 1 + 1/2 = 0

The reason: multiply the identity by s and let s grow. The left side tends to zero because the degrees differ by three; the right side tends to the sum of the constants. So the sum is zero. That is a free check on every such question and it catches a sign error instantly.

Worked, a question with a numerator

F(s) = (s + 5)/((s + 1)(s + 2)(s + 3))

Cover up (s plus 1), put s = minus 1: the numerator is 4 and the rest is (1)(2), so the constant is 2.

Cover up (s plus 2), put s = minus 2: the numerator is 3 and the rest is (minus 1)(1), so the constant is minus 3.

Cover up (s plus 3), put s = minus 3: the numerator is 2 and the rest is (minus 2)(minus 1), so the constant is 1.

(s + 5)/((s + 1)(s + 2)(s + 3)) = 2/(s + 1) - 3/(s + 2) + 1/(s + 3)

Sum check: 2 minus 3 plus 1 is zero. Good.

L⁻¹{(s + 5)/((s + 1)(s + 2)(s + 3))} = 2 e^(-t) - 3 e^(-2t) + e^(-3t)

Check yourself

1/((s + 1)(s + 3)) = 1/(2(s + 1)) - 1/(2(s + 3))

(2s + 1)/(s(s + 1)) = 1/s + 1/(s + 1)

1/(s(s - 1)(s + 1)) = -1/s + 1/(2(s - 1)) + 1/(2(s + 1))

munotes.in158

The Cover-Up Rule, and How to Check a Partial Fraction in Ten Seconds

For the second, the sum check does not apply, because the degrees differ by only one. For the third it does: minus 1 plus one half plus one half is zero.

Contents This chapter on its own page

munotes.in159

Chapter Seventy-Two

Inverting With the Second Shifting Theorem

Syllabus topic Module 1, "1.3 Inverse Laplace Transform"

In one line

An exponential in s means the answer is delayed, and the delay has to be written with a unit step or the answer is wrong before the delay.

The rule

L⁻¹{e^(-a s) F(s)} = f(t - a) Heaviside(t - a)

The procedure is three steps.

  1. Set the exponential aside and invert what is left, getting f(t).
  2. Replace every t in f by (t minus a).
  3. Multiply by u(t minus a).

Step three is the one that is skipped, and skipping it gives an answer that is wrong for every t less than a.

Worked

L⁻¹{e^(-2s)/s} = Heaviside(t - 2)

L⁻¹{e^(-3s)/s^2} = (t - 3) Heaviside(t - 3)

L⁻¹{e^(-s)/(s + 1)} = e^(-(t - 1)) Heaviside(t - 1)

L⁻¹{e^(-pi s)/(s^2 + 1)} = sin(t - pi) Heaviside(t - pi)

L⁻¹{e^(-2s)/(s - 3)} = e^(3(t - 2)) Heaviside(t - 2)

In each case: invert the non-exponential part, then shift the t, then attach the step.

Take the third line slowly. One over (s plus 1) inverts to e to the minus t. Replacing t by t minus 1 gives e to the minus (t minus 1). Attaching the step gives the answer. Note that e to the minus (t minus 1) is not e to the minus t times e: it is e to the minus t times e to the plus 1, and writing it as e times e to the minus t is correct but obscures the shift.

The mistake, once

Suppose the step is dropped from the second line above.

(t - 3) Heaviside(t - 3) = t - 3

Those two are not the same function. For t = 1 the left side is zero, because the step is zero; the right side is minus 2. So the answer without the step claims the response was minus 2 at a time before anything had happened, which is nonsense.

Worked, where the rest of F needs work too

Most questions combine this with partial fractions or with completing the square.

F(s) = e^(-s)/(s(s + 1))

Invert the non-exponential part first, by partial fractions: one over s(s plus 1) is one over s minus one over (s plus 1), which inverts to 1 minus e to the minus t.

Now shift and attach the step.

L⁻¹{e^(-s)/(s(s + 1))} = (1 - e^(-(t - 1))) Heaviside(t - 1)

And another, with a completed square.

F(s) = e^(-2s)/(s^2 + 4s + 5)

The denominator is (s plus 2) squared plus 1, so the non-exponential part inverts to e to the minus 2t sin t.

L⁻¹{e^(-2s)/(s^2 + 4s + 5)} = e^(-2(t - 2)) sin(t - 2) Heaviside(t - 2)

Every t in the answer has been shifted, including the one inside the exponential. All of them, or none of them.

munotes.in160

Inverting With the Second Shifting Theorem

Several exponentials

A sum of terms, each with its own exponential, gives a sum of delayed pieces, each with its own step. That is how the answer to a switched problem naturally comes out.

L⁻¹{e^(-s)/s - e^(-3s)/s} = Heaviside(t - 1) - Heaviside(t - 3)

L⁻¹{1/s^2 - e^(-2s)/s^2} = t - (t - 2) Heaviside(t - 2)

The first is the window of the step-function chapter. The second is a ramp that stops rising at t = 2, which is what the piecewise chapter built from the other direction. Seeing the same function from both sides is worth the minute.

Writing the answer in pieces

An answer full of steps is correct, and it is also what the question usually wants restated as a piecewise function. The conversion is the piecewise chapter read backwards.

For the second line above: before t = 2 the step is zero, so the answer is t. After t = 2 the step is one, so the answer is t minus (t minus 2), which is 2.

So the answer is t for t less than 2 and 2 for t greater than 2, which is the ramp that holds. Writing it out that way is often worth a mark and always worth the understanding.

Check yourself

L⁻¹{e^(-4s)/s} = Heaviside(t - 4)

L⁻¹{e^(-s)/s^3} = (t - 1)^2 Heaviside(t - 1)/2

L⁻¹{e^(-2s) s/(s^2 + 9)} = cos(3(t - 2)) Heaviside(t - 2)

L⁻¹{e^(-s)/(s - 1)^2} = (t - 1) e^(t - 1) Heaviside(t - 1)

L⁻¹{3 e^(-5s)/(s^2 + 9)} = sin(3(t - 5)) Heaviside(t - 5)

The fourth is the one to check most carefully: the non-exponential part inverts to t e to the t, and both the t and the t in the exponent have to be shifted.

Contents This chapter on its own page

munotes.in161

Chapter Seventy-Three

Inverting by Convolution

Syllabus topic Module 1, "1.3 Inverse Laplace Transform"

In one line

Split F into two factors you recognise, invert each, and convolve the two answers.

MU's label

"Use of Convolution Theorem". So the method is asked for by name, and a question may require it even where partial fractions would be faster.

The rule

L⁻¹{F(s) G(s)} = integrate(f(u) g(t - u), (u, 0, t))

Three steps: factorise F(s) into two recognisable pieces, invert each, and do the convolution integral.

Worked, where partial fractions would also work

F(s) = 1/(s(s - 2))

Factorise as one over s times one over (s minus 2). Those invert to 1 and to e to the 2t.

The convolution of 1 with e to the 2t is the integral of e to the 2u from 0 to t.

integrate(e^(2u), (u, 0, t)) = e^(2t)/2 - 1/2

L⁻¹{1/(s(s - 2))} = e^(2t)/2 - 1/2

Partial fractions gives the same answer in about the same time. So this is not where convolution earns its keep.

Worked, where partial fractions cannot help

F(s) = 1/(s^2 + 4)^2

Partial fractions does nothing to this: the denominator is a repeated irreducible quadratic and the fraction is already in its simplest form.

Factorise as one over (s squared plus 4) times itself. Each factor inverts to sin 2t over 2.

So the answer is the convolution of sin 2t over 2 with itself.

integrate(sin(2u) sin(2(t - u))/4, (u, 0, t)) = (sin(2t) - 2 t cos(2t))/16

L⁻¹{1/(s^2 + 4)^2} = (sin(2t) - 2 t cos(2t))/16

The integral is done by turning the product of sines into a difference of cosines, which is the identity from the trigonometric-transform chapter. The standard result is that the convolution of sin(at) with itself is (sin at minus at cos at) over 2a, so with a = 2 and the two factors of one half in front, the divisor is 16.

That is the case convolution is for, and it is examined.

Worked, a product with an exponential factor

F(s) = 1/(s(s^2 + 1))

Factorise as one over s times one over (s squared plus 1), inverting to 1 and sin t.

integrate(sin(u), (u, 0, t)) = 1 - cos(t)

L⁻¹{1/(s(s^2 + 1))} = 1 - cos(t)

Notice that convolving with 1 is the same as integrating from 0 to t, which is the integral theorem of the forward section. The two statements are the same statement.

The convolution integrals you will actually meet

Four shapes cover nearly everything, and each is worth having done once.

Two exponentials.

integrate(e^(2u) e^(3(t - u)), (u, 0, t)) = e^(3t) - e^(2t)

An exponential with 1.

integrate(e^(-u), (u, 0, t)) = 1 - e^(-t)

A sine with a cosine. Use the product-to-sum identity first.

integrate(sin(u) cos(t - u), (u, 0, t)) = t sin(t)/2

munotes.in162

Inverting by Convolution

A sine with itself.

integrate(sin(u) sin(t - u), (u, 0, t)) = (sin(t) - t cos(t))/2

The last two produce a t multiplying a trigonometric function, which is the signature of convolving two things of the same frequency. In a physical system that is resonance, and the growing t is the amplitude building up.

Choosing between convolution and partial fractions

SituationBetter method
the denominator factorises into distinct linear factorspartial fractions
a repeated irreducible quadraticconvolution
the question says to use the convolution theoremconvolution
one factor is an exponential in sthe second shifting theorem
you want the answer as an integral, not in closed formconvolution

The last row is worth a sentence. Sometimes the convolution integral cannot be done in closed form at all, and then the convolution is the answer. That is perfectly respectable: an answer written as an integral is an answer, and in signal processing it is the answer that gets implemented.

The check

Transform your answer and see whether you get F(s) back. That is a complete check and it uses only the forward table.

For the repeated-quadratic example: the answer was (sin 2t minus 2t cos 2t) over 32, and its transform should be one over (s squared plus 4) squared.

L{(sin(2t) - 2 t cos(2t))/16} = 1/(s^2 + 4)^2

It is.

Check yourself

integrate(e^(-2u), (u, 0, t)) = 1/2 - e^(-2t)/2

integrate(u e^(t - u), (u, 0, t)) = e^t - t - 1

L⁻¹{1/(s(s + 2))} = 1/2 - e^(-2t)/2

L⁻¹{1/(s^2 (s - 1))} = e^t - t - 1

L⁻¹{1/(s^2 + 1)^2} = (sin(t) - t cos(t))/2

Contents This chapter on its own page

munotes.in163

Chapter Seventy-Four

Inverting When F(s) Is a Derivative, an Integral, or Has a Factor of s

Syllabus topic Module 1, "1.3 Inverse Laplace Transform"

In one line

A derivative of F means a t in the answer, an integral of F means a division by t, and a factor of s means a derivative or an integral in t.

The four rules, read backwards

Every forward property has a reverse reading, and these four are the ones that invert things the table alone cannot.

F(s) containsf(t) gains
a derivative of a known transforma factor of minus t
an integral of a known transform from s to infinitya division by t
a factor of one over san integration from 0 to t
a factor of s, with f(0) accounted fora differentiation

One over s: integrate

The most used of the four, and it was given in the forward section.

L⁻¹{1/(s(s^2 + 9))} = (1 - cos(3t))/9

L⁻¹{1/(s^2 (s + 1))} = t - 1 + e^(-t)

L⁻¹{1/(s(s + 1)^2)} = 1 - e^(-t) - t e^(-t)

Take the third. Strip off the one over s, leaving one over (s plus 1) squared, which inverts to t e to the minus t. Integrating that from 0 to t, by parts, gives 1 minus e to the minus t minus t e to the minus t.

integrate(u e^(-u), (u, 0, t)) = 1 - e^(-t) - t e^(-t)

A derivative of F: multiply by minus t

If you can see that F(s) is the derivative of something you know, the answer is minus t times the inverse of that something.

L⁻¹{s/(s^2 + 1)^2} = t sin(t)/2

L⁻¹{(s^2 - 1)/(s^2 + 1)^2} = t cos(t)

For the first: the derivative of one over (s squared plus 1), with respect to s, is minus 2s over (s squared plus 1) squared. So s over (s squared plus 1) squared is minus one half of that derivative, and the inverse is minus one half times minus t times sin t, which is t sin t over 2.

Those two rows are the ones a repeated quadratic denominator produces, and recognising them saves a convolution.

An integral of F: divide by t

Rarer, and it is the reverse of the dividing-by-t rule.

L⁻¹{log((s + 1)/s)} = (1 - e^(-t))/t

L⁻¹{atan(1/s)} = sin(t)/t

The recognition: a logarithm or an arctangent in F(s) means a division by t in f(t). No rational F ever produces one of those, so the moment you see a log or an arctan you know which rule to reach for.

Both of those were verified from the defining integral, because they are among the transforms the computer algebra system cannot do symbolically.

A factor of s: differentiate

The reverse of the derivative theorem. If F(s) is s times something you know, the answer is the derivative of that something, provided the something's inverse vanishes at zero; otherwise there is an impulse as well.

munotes.in164

Inverting When F(s) Is a Derivative, an Integral, or Has a Factor of s

L⁻¹{s/(s^2 + 4)} = cos(2t)

L⁻¹{1/(s^2 + 4)} = sin(2t)/2

The first is s times the second, and the derivative of sin 2t over 2 is cos 2t. That is the rule working, and the condition is satisfied because sin 2t over 2 is zero at t = 0.

When the condition fails there is an impulse, which is the same situation as the improper fraction of the partial-fractions chapter.

Choosing among the five methods

By now there are five ways to invert something, so here is the decision, in order.

  1. Is it a table row, up to constants? Read it off.
  2. Does the denominator factorise? Partial fractions.
  3. Is it an irreducible quadratic? Complete the square.
  4. Is there an exponential in s? Second shifting theorem, and a unit step in the answer.
  5. Is there a log or an arctan? Divide by t.
  6. Is it a repeated quadratic, or does the question say so? Convolution.

Working down that list takes a few seconds and picks the right tool. Working without it is how five minutes of an hour goes on a partial fraction that was never going to split.

Worked, using three rules together

Invert the function below.

F(s) = e^(-s)/(s(s^2 + 1))

There is an exponential, so something is delayed by 1. Set it aside.

What is left is one over s(s squared plus 1), which has a factor of one over s, so integrate: one over (s squared plus 1) inverts to sin t, and the integral of sin from 0 to t is 1 minus cos t.

Now shift and attach the step.

L⁻¹{e^(-s)/(s(s^2 + 1))} = (1 - cos(t - 1)) Heaviside(t - 1)

Three rules, one answer, and no partial fraction was needed at all.

Check yourself

L⁻¹{1/(s(s - 3))} = e^(3t)/3 - 1/3

L⁻¹{s/(s^2 + 9)^2} = t sin(3t)/6

L⁻¹{1/(s^2(s^2 + 1))} = t - sin(t)

L⁻¹{e^(-2s)/(s^2 (s + 1))} = (t - 3 + e^(-(t - 2))) Heaviside(t - 2)

For the last one: strip off the exponential, split one over s squared (s plus 1) into one over s squared minus one over s plus one over (s plus 1), which inverts to t minus 1 plus e to the minus t. Then replace every t by t minus 2, giving (t minus 2) minus 1 plus e to the minus (t minus 2), that is t minus 3 plus e to the minus (t minus 2), and attach the step. Writing t minus 3 rather than (t minus 2) minus 1 is tidier and means the same thing.

Contents This chapter on its own page

munotes.in165

Chapter Seventy-Five

Solving a Differential Equation by the Transform: The Method

Syllabus topic Module 1, "1.3 Inverse Laplace Transform"

In one line

Transform every term, solve the algebra for Y(s), invert, and the initial conditions were used at the first step.

MU's label

"Solution of Ordinary Linear Differential Equations with Constant Coefficients". This is what the whole of Module 1's second half has been for.

The method, in five steps

  1. Transform every term of the equation, using the derivative theorem for each derivative and the table for the right-hand side.
  2. Substitute the initial values, which the derivative theorem has already put into the equation.
  3. Collect the terms in Y(s) and solve for Y, which is school algebra.
  4. Simplify F(s), usually by partial fractions or by completing the square.
  5. Invert to get y(t).

The two transform rows you need

L{diff(y(t), t)} = s Y(s) - y(0)

L{diff(y(t), (t, 2))} = s^2 Y(s) - s y(0) - diff(y(0), t)

Everything else comes off the ordinary table.

Worked, a first-order equation

Solve y prime plus 3y equals 0, with y(0) = 2.

Step one. Transforming: sY minus y(0), plus 3Y, equals 0.

Step two. y(0) is 2, so sY minus 2 plus 3Y equals 0.

Step three. Collecting: Y(s plus 3) equals 2, so Y equals 2 over (s plus 3).

Step four. Nothing to simplify.

Step five. Invert.

L⁻¹{2/(s + 3)} = 2 e^(-3t)

So y equals 2 e to the minus 3t. And the check, which is the same check the machine performs on every solution in this book: substitute it back.

dy/dx + 3y = 0

y = 2 e^(-3x)

Notice what did not happen. There was no general solution, no arbitrary constant, and no second stage of fitting the initial value. The 2 walked into the algebra at step two.

Worked, with a right-hand side

Solve y prime plus 2y equals e to the minus t, with y(0) = 0.

Transforming: sY minus 0, plus 2Y, equals one over (s plus 1).

Collecting: Y(s plus 2) equals one over (s plus 1), so Y equals one over (s plus 1)(s plus 2).

Partial fractions:

1/((s + 1)(s + 2)) = 1/(s + 1) - 1/(s + 2)

Inverting:

L⁻¹{1/((s + 1)(s + 2))} = e^(-t) - e^(-2t)

And the check:

dy/dx + 2y = e^(-x)

y = e^(-x) - e^(-2x)

The solution satisfies the equation, and at x = 0 it gives 1 minus 1, which is 0, matching the initial condition. Both halves of the problem are verified.

Worked, a second-order equation

Solve y double prime plus 4y equals 0, with y(0) = 1 and y prime of 0 = 0.

Transforming the second derivative: s squared Y minus s times 1 minus 0. So the equation is s squared Y minus s plus 4Y equals 0.

munotes.in166

Solving a Differential Equation by the Transform: The Method

Collecting: Y(s squared plus 4) equals s, so Y equals s over (s squared plus 4).

L⁻¹{s/(s^2 + 4)} = cos(2t)

d2y/dx2 + 4y = 0

y = cos(2x)

Both initial conditions check: cos 0 is 1, and the derivative, minus 2 sin 2x, is 0 at x = 0.

Why the method is worth having

Set it against the methods of Module 2, which solve the same equations.

Module 2The transform
Complementary functionfound separatelynever appears
Particular integralfound separatelynever appears
Arbitrary constantsfound, then fittednever appear
Initial conditionsused at the endused at the start
Discontinuous inputsolved in piecesone extra factor

The last row is where the method is not merely tidier but genuinely better, and the chapter on equations driven by a step or an impulse shows it.

The three places it goes wrong

Forgetting an initial value. The derivative theorem has a minus y(0) in it, and dropping it changes the answer completely. If your answer does not satisfy the initial condition, this is almost always why.

Getting the second derivative's terms wrong. It is s squared Y minus s y(0) minus y prime of 0, with the s on the y(0) and not on the y prime of 0. Swapping them is common.

Stopping at Y(s). The answer to a differential equation is a function of t. An answer left as a function of s is worth nothing, however correct.

Check yourself

dy/dx - y = 0

y = C e^x

dy/dx + y = 1

y = 1 + C e^(-x)

d2y/dx2 - y = 0

y = C1 e^x + C2 e^(-x)

Those three are written with arbitrary constants because they are checked as general solutions; a transform problem would fix the constants from the initial values. For the second, with y(0) = 0, the constant is minus 1 and the answer is 1 minus e to the minus x.

L⁻¹{1/(s(s + 1))} = 1 - e^(-t)

Contents This chapter on its own page

munotes.in167

Chapter Seventy-Six

Worked First-Order Initial Value Problems

Syllabus topic Module 1, "1.3 Inverse Laplace Transform"

In one line

Five first-order problems worked end to end, every answer substituted back into its own equation by machine.

How to read this chapter

Each problem is worked in the five steps of the previous chapter, and then the answer is put back into the equation. That last step is what a student should do in the examination too: it costs one line and it catches every sign error.

One: a decaying exponential

Solve y prime plus 5y equals 0, y(0) = 3.

Transform: sY minus 3 plus 5Y equals 0. Collect: Y equals 3 over (s plus 5).

L⁻¹{3/(s + 5)} = 3 e^(-5t)

dy/dx + 5y = 0

y = 3 e^(-5x)

Two: a constant forcing term

Solve y prime plus 2y equals 6, y(0) = 1.

Transform: sY minus 1 plus 2Y equals 6 over s. Collect: Y(s plus 2) equals 6 over s plus 1, so Y equals (6 plus s) over s(s plus 2).

Partial fractions, by the cover-up rule: at s = 0 the constant is 6 over 2, which is 3; at s = minus 2 it is 4 over minus 2, which is minus 2.

(s + 6)/(s(s + 2)) = 3/s - 2/(s + 2)

L⁻¹{(s + 6)/(s(s + 2))} = 3 - 2 e^(-2t)

dy/dx + 2y = 6

y = 3 - 2 e^(-2x)

At x = 0 that gives 3 minus 2, which is 1, matching the initial condition. And as x grows it settles at 3, which the final value theorem would have told you without any of the work: s times Y at s = 0 is 6 over 2, which is 3.

lim(s (s + 6)/(s(s + 2)), s -> 0) = 3

Three: an exponential forcing term

Solve y prime minus y equals e to the 2t, y(0) = 0.

Transform: sY minus 0 minus Y equals one over (s minus 2). Collect: Y equals one over (s minus 1)(s minus 2).

1/((s - 1)(s - 2)) = -1/(s - 1) + 1/(s - 2)

L⁻¹{1/((s - 1)(s - 2))} = e^(2t) - e^t

dy/dx - y = e^(2x)

y = e^(2x) - e^x

Four: the resonant case, where the forcing matches the system

Solve y prime minus 2y equals e to the 2t, y(0) = 0.

The forcing term now has the same growth rate as the equation's own solution. Transform: sY minus 2Y equals one over (s minus 2), so Y equals one over (s minus 2) squared.

That is a repeated factor, and the repeated-factors chapter said what that means: a t in the answer.

L⁻¹{1/(s - 2)^2} = t e^(2t)

dy/dx - 2y = e^(2x)

y = x e^(2x)

munotes.in168

Worked First-Order Initial Value Problems

The t multiplying the exponential is the signature of resonance, and Module 2 meets exactly the same thing when the exponential rule for a particular integral fails. Two different methods, the same physical fact.

Five: a sinusoidal forcing term

Solve y prime plus y equals sin t, y(0) = 0.

Transform: sY plus Y equals one over (s squared plus 1). Collect: Y equals one over (s plus 1)(s squared plus 1).

Partial fractions with an irreducible quadratic: the term over (s plus 1) has constant one half by covering up, and the quadratic's numerator works out to (1 minus s) over 2.

1/((s + 1)(s^2 + 1)) = 1/(2(s + 1)) + (1 - s)/(2(s^2 + 1))

L⁻¹{1/((s + 1)(s^2 + 1))} = e^(-t)/2 + sin(t)/2 - cos(t)/2

dy/dx + y = sin(x)

y = e^(-x)/2 + sin(x)/2 - cos(x)/2

At x = 0 that is one half plus 0 minus one half, which is 0, matching.

The answer has two parts worth naming. The e to the minus t dies away and is the transient. The sine and cosine persist and are the steady state. That split is what an engineer cares about, and it fell out of the partial fractions by itself: the transient came from the (s plus 1) factor, which is the system, and the steady state from the (s squared plus 1) factor, which is the input.

The pattern across all five

Denominator of YAnswer contains
a distinct linear factoran exponential
a repeated linear factort times an exponential
s on its owna constant
an irreducible quadratica sine and a cosine

That is the same table as the partial-fractions chapters, and it means you can predict the shape of a solution before doing any algebra. Predicting the shape first is a good habit, because a solution of the wrong shape is then obvious.

Check yourself

dy/dx + 4y = 0

y = 5 e^(-4x)

dy/dx - 3y = 6

y = 2 e^(3x) - 2

dy/dx + y = e^(-x)

y = x e^(-x)

The third is the resonant case again, in its decaying form: the forcing term is exactly the system's own solution, and the answer carries an x.

Contents This chapter on its own page

munotes.in169

Chapter Seventy-Seven

Second-Order Initial Value Problems

Syllabus topic Module 1, "1.3 Inverse Laplace Transform"

In one line

Two initial values go in, a quadratic in s comes out, and its discriminant decides whether the answer decays, oscillates, or sits on the boundary.

The transform row

L{diff(y(t), (t, 2))} = s^2 Y(s) - s y(0) - diff(y(0), t)

The s sits on y(0), not on y prime of 0. Getting that the wrong way round is the commonest error in this whole chapter.

Worked: real distinct roots

Solve y double prime minus 5y prime plus 6y equals 0, with y(0) = 1 and y prime of 0 = 0.

Transforming: (s squared Y minus s minus 0) minus 5(sY minus 1) plus 6Y equals 0.

Collecting the Y terms: Y(s squared minus 5s plus 6) equals s minus 5.

So Y equals (s minus 5) over (s squared minus 5s plus 6), and the denominator factorises as (s minus 2)(s minus 3).

By the cover-up rule: at s = 2 the numerator is minus 3 and the other factor is minus 1, so the constant is 3. At s = 3 the numerator is minus 2 and the other factor is 1, so the constant is minus 2.

(s - 5)/((s - 2)(s - 3)) = 3/(s - 2) - 2/(s - 3)

L⁻¹{(s - 5)/((s - 2)(s - 3))} = 3 e^(2t) - 2 e^(3t)

d2y/dx2 - 5 dy/dx + 6y = 0

y = 3 e^(2x) - 2 e^(3x)

Both conditions check: at x = 0 the value is 3 minus 2, which is 1, and the derivative is 6 minus 6, which is 0.

Worked: complex roots

Solve y double prime plus 2y prime plus 5y equals 0, with y(0) = 0 and y prime of 0 = 4.

Transforming: (s squared Y minus 0 minus 4) plus 2(sY minus 0) plus 5Y equals 0.

Collecting: Y(s squared plus 2s plus 5) equals 4, so Y equals 4 over (s squared plus 2s plus 5).

The discriminant is 4 minus 20, which is negative, so complete the square: the denominator is (s plus 1) squared plus 4.

L⁻¹{4/((s + 1)^2 + 4)} = 2 e^(-t) sin(2t)

d2y/dx2 + 2 dy/dx + 5y = 0

y = 2 e^(-x) sin(2x)

At x = 0 the value is 0, and the derivative at 0 is 4, both as required. The answer is a decaying oscillation, which is what a negative discriminant always gives.

Worked: a repeated root

Solve y double prime plus 4y prime plus 4y equals 0, with y(0) = 1 and y prime of 0 = 0.

Transforming and collecting: Y(s squared plus 4s plus 4) equals s plus 4, and the denominator is (s plus 2) squared.

Write the numerator in terms of s plus 2: it is (s plus 2) plus 2.

munotes.in170

Second-Order Initial Value Problems

L⁻¹{(s + 4)/(s + 2)^2} = e^(-2t) + 2 t e^(-2t)

d2y/dx2 + 4 dy/dx + 4y = 0

y = e^(-2x) + 2 x e^(-2x)

The t in the answer is the repeated root, exactly as the partial-fractions chapter said.

Worked: with a forcing term

Solve y double prime plus y equals 1, with y(0) = 0 and y prime of 0 = 0.

Transforming: s squared Y plus Y equals one over s, so Y equals one over s(s squared plus 1).

L⁻¹{1/(s(s^2 + 1))} = 1 - cos(t)

d2y/dx2 + y = 1

y = 1 - cos(x)

Worked: resonance

Solve y double prime plus 4y equals sin 2t, with y(0) = 0 and y prime of 0 = 0.

The forcing has exactly the frequency the system oscillates at. Transforming: s squared Y plus 4Y equals 2 over (s squared plus 4), so Y equals 2 over (s squared plus 4) squared.

That is the repeated quadratic, which the convolution chapter inverted.

L⁻¹{2/(s^2 + 4)^2} = (sin(2t) - 2 t cos(2t))/8

d2y/dx2 + 4y = sin(2x)

y = (sin(2x) - 2 x cos(2x))/8

The t cos 2t term grows without limit. That is resonance: driving a system at its own frequency makes the amplitude build up for ever, which is why soldiers break step on a bridge.

The discriminant decides everything

Discriminant of the quadratic in sRootsAnswer
positivereal and distincttwo exponentials
zerorepeatedan exponential and t times it
negativecomplex paira decaying or growing oscillation

Work out the discriminant before anything else and you know what the answer will look like. Module 2's chapters on the auxiliary equation say the same thing in the other language, and it is worth noticing that they are the same three cases.

Check yourself

d2y/dx2 - y = 0

y = C1 e^x + C2 e^(-x)

d2y/dx2 + 9y = 0

y = C1 cos(3x) + C2 sin(3x)

d2y/dx2 + 2 dy/dx + y = 0

y = C1 e^(-x) + C2 x e^(-x)

Those are the general solutions of the three cases. A transform problem would fix C1 and C2 from the initial values; here they are left free so that the checker proves the solution for every value of both constants, which is a stronger statement.

Contents This chapter on its own page

munotes.in171

Chapter Seventy-Eight

Equations Driven by a Step or an Impulse

Syllabus topic Module 1, "1.3 Inverse Laplace Transform"

In one line

A switched or a struck input is one extra exponential factor in the algebra, where by hand it would mean solving the equation twice and matching the pieces.

Why this is the chapter that justifies the method

Take an equation whose right-hand side is zero until t = 2 and then is 3. By the methods of Module 2 you must solve the equation on the first interval, solve it again on the second, and then match the value and the slope at t = 2 so that the two pieces join. That is three separate pieces of work.

By the transform method, the right-hand side is 3u(t minus 2), whose transform is 3 e to the minus 2s over s, and the rest of the calculation proceeds exactly as usual. The switching costs one exponential.

Worked: a switched-on constant

Solve y prime plus y equals u(t minus 2), with y(0) = 0.

Transform: sY plus Y equals e to the minus 2s over s, so Y equals e to the minus 2s over s(s plus 1).

Set the exponential aside. One over s(s plus 1) inverts to 1 minus e to the minus t.

L⁻¹{1/(s(s + 1))} = 1 - e^(-t)

Now shift and attach the step.

L⁻¹{e^(-2s)/(s(s + 1))} = (1 - e^(-(t - 2))) Heaviside(t - 2)

So y is zero until t = 2, and afterwards it rises from 0 towards 1. In words: nothing happens until the switch is thrown, and then the system responds exactly as it would have from a standing start, which is physically obvious and mathematically exactly what the second shifting theorem says.

Worked: a pulse

Solve y prime plus y equals u(t minus 1) minus u(t minus 3), with y(0) = 0. The input is on between t = 1 and t = 3 and off otherwise.

Transform: Y equals (e to the minus s minus e to the minus 3s) over s(s plus 1).

Each term is the previous worked example with a different delay.

L⁻¹{(e^(-s) - e^(-3s))/(s(s + 1))} = (1 - e^(-(t - 1))) Heaviside(t - 1) - (1 - e^(-(t - 3))) Heaviside(t - 3)

Read the answer in three pieces. Before t = 1 it is zero. Between 1 and 3 it rises towards 1. After 3 it decays back towards zero, because the second term now cancels the first's approach to 1 and leaves a decaying difference.

That is exactly what a capacitor does when a voltage is applied for two seconds and then removed, and the whole calculation was three lines.

Worked: an impulse

Solve y prime plus 2y equals delta(t minus 1), with y(0) = 0.

The transform of the impulse is e to the minus s, with no denominator.

munotes.in172

Equations Driven by a Step or an Impulse

Transform: sY plus 2Y equals e to the minus s, so Y equals e to the minus s over (s plus 2).

L⁻¹{e^(-s)/(s + 2)} = e^(-2(t - 1)) Heaviside(t - 1)

So y is zero until t = 1, then jumps instantly to 1 and decays. The jump is the impulse delivering its unit of something all at once.

Compare that with the switched-constant case, where y rose smoothly. An impulse produces a jump in the answer; a step produces a jump in the answer's slope. That difference is worth knowing and is asked about.

Worked: a second-order system struck once

Solve y double prime plus 4y equals delta(t minus pi), with y(0) = 0 and y prime of 0 = 0.

Transform: s squared Y plus 4Y equals e to the minus pi s, so Y equals e to the minus pi s over (s squared plus 4).

L⁻¹{e^(-pi s)/(s^2 + 4)} = sin(2(t - pi)) Heaviside(t - pi)/2

The system sits still until t = pi, then is struck, and oscillates for ever afterwards with amplitude one half. Since there is no damping, nothing removes the energy the blow put in.

Worked: a struck damped system

Solve y double prime plus 2y prime plus 5y equals delta(t minus 1), with both initial values zero.

Transform: Y equals e to the minus s over (s squared plus 2s plus 5), and the quadratic completes the square to (s plus 1) squared plus 4.

L⁻¹{e^(-s)/(s^2 + 2s + 5)} = e^(-(t - 1)) sin(2(t - 1)) Heaviside(t - 1)/2

A decaying oscillation starting at t = 1, which is what a struck bell does.

The recipe

  1. Write the right-hand side in unit steps and impulses, using the piecewise chapter.
  2. Transform it. Each step contributes e to the minus as over s, and each impulse e to the minus as.
  3. Solve the algebra for Y as usual. Every exponential just rides along as a factor.
  4. Invert the non-exponential part once, then delay it and attach a step for each exponential.
  5. If the question wants it, write the answer out in pieces.

Check yourself

L⁻¹{e^(-3s)/(s + 4)} = e^(-4(t - 3)) Heaviside(t - 3)

L⁻¹{e^(-s)/(s(s + 2))} = (1/2 - e^(-2(t - 1))/2) Heaviside(t - 1)

L⁻¹{e^(-2s)/(s^2 + 1)} = sin(t - 2) Heaviside(t - 2)

The first is a struck first-order system, the second a switched one, and the third a struck oscillator. Those three shapes cover almost every question of this kind.

Contents This chapter on its own page

munotes.in173

Chapter Seventy-Nine

Simultaneous Differential Equations by the Transform

Syllabus topic Module 1, "1.3 Inverse Laplace Transform"

In one line

Transform both equations, and two coupled differential equations become two linear equations in two unknowns.

Why the transform is the right tool here

Two unknown functions, each appearing in both equations, is genuinely awkward by the methods of Module 2: you eliminate one unknown by differentiating and substituting, which raises the order and produces a messier equation than either of the ones you started with.

Transformed, the pair becomes two algebraic equations in X(s) and Y(s), and eliminating one unknown is the same schoolroom elimination you have done a hundred times.

The method

  1. Transform both equations, using the derivative theorem in each.
  2. Substitute all the initial values.
  3. You now have two linear equations in X(s) and Y(s). Solve them, by elimination or substitution.
  4. Invert each answer separately.

Worked

Solve the pair below, with x(0) = 1 and y(0) = 0.

dx/dt = y

dy/dt = x

Transform both. The first becomes sX minus 1 equals Y. The second becomes sY minus 0 equals X.

Substitute the second into the first: sX minus 1 equals X over s, so multiplying by s gives s squared X minus s equals X, and hence X(s squared minus 1) equals s.

s/(s^2 - 1) = s/((s - 1)(s + 1))

L⁻¹{s/(s^2 - 1)} = cosh(t)

And then Y is X over s, which is one over (s squared minus 1).

L⁻¹{1/(s^2 - 1)} = sinh(t)

So x is cosh t and y is sinh t. Check both against the original pair: the derivative of cosh is sinh, and the derivative of sinh is cosh, which is exactly what the two equations say.

dx/dt = sinh(t)

x = cosh(t) + C

The C appears because that check is of a single equation on its own; the pair pins it to zero through the initial condition x(0) = 1, since cosh 0 is 1.

Worked, a rotating pair

Solve the pair below, with x(0) = 1 and y(0) = 0.

dx/dt = -y

dy/dt = x

The only change from the first example is one sign, and it changes the answer completely.

Transform: sX minus 1 equals minus Y, and sY equals X.

Substituting: sX minus 1 equals minus X over s, so s squared X minus s equals minus X, and X(s squared plus 1) equals s.

L⁻¹{s/(s^2 + 1)} = cos(t)

L⁻¹{1/(s^2 + 1)} = sin(t)

So x is cos t and y is sin t. The point (x, y) goes round the unit circle, where in the first example it ran off to infinity along a hyperbola. One sign is the whole difference between a rotation and an explosion, and the algebra showed it as the difference between s squared plus 1 and s squared minus 1.

munotes.in174

Simultaneous Differential Equations by the Transform

That pair is also the simplest statement of what the complex exponential does, and the reader who has done Module 1's first half will recognise it: x plus iy satisfies a single equation whose solution is e to the it.

Worked, with a forcing term

Solve the pair below, with x(0) = 0 and y(0) = 0.

dx/dt + y = 1

dy/dt - x = 0

Transform: sX plus Y equals one over s, and sY minus X equals 0, so X equals sY.

Substituting: s times sY plus Y equals one over s, so Y(s squared plus 1) equals one over s, and Y equals one over s(s squared plus 1).

L⁻¹{1/(s(s^2 + 1))} = 1 - cos(t)

And X is sY, which is one over (s squared plus 1).

L⁻¹{1/(s^2 + 1)} = sin(t)

So x is sin t and y is 1 minus cos t. Check the second equation: the derivative of 1 minus cos t is sin t, which is x. Correct.

The elimination, done carefully

The step where marks are lost is step three, and the advice is the same as for any pair of simultaneous equations: write both equations with the unknowns on the left and everything else on the right, in the same order, and then eliminate.

For a pair of first-order equations the determinant of the coefficient matrix is a quadratic in s, and its roots decide the behaviour exactly as they did for a single second-order equation. A pair of first-order equations and one second-order equation are, in this sense, the same object.

Check yourself

dx/dt = 2x

x = C e^(2t)

L⁻¹{s/(s^2 - 4)} = cosh(2t)

L⁻¹{2/(s^2 - 4)} = sinh(2t)

L⁻¹{s/(s^2 + 4)} = cos(2t)

Those three are what the pair dx/dt = 2y, dy/dt = 2x produces with x(0) = 1 and y(0) = 0, and what the rotating version produces. The pattern to carry: a plus sign between the two equations gives hyperbolic functions, a minus sign gives circular ones.

Contents This chapter on its own page

munotes.in175

Module II

1 Equation of the first order and of the first degree: Separation of variables, 15 Hrs

munotes.in

Chapter Eighty

What a Differential Equation Is

Syllabus topic Module 2, "2.1 Equation of the first order and of the first degree"

In one line

A differential equation is an equation that relates a quantity to its own rate of change, and solving it means finding the function, not a number.

The definition

A differential equation is an equation containing one or more derivatives of an unknown function.

Compare it with an ordinary equation.

An algebraic equationA differential equation
Examplex squared minus 5x plus 6 = 0dy/dx = 2y
The unknown isa numbera function
A solution isa number that fitsa function that fits
How many solutionsfinitely manya whole family
Checking a solutionsubstitute the numbersubstitute the function and its derivatives

The third row is the one to take seriously. Solving x squared minus 5x plus 6 = 0 gives two numbers. Solving dy/dx = 2y gives every function of the form C e to the 2x, one for each value of C, which is infinitely many.

Ordinary and partial

If the unknown function has one independent variable, its derivatives are ordinary derivatives and the equation is an ordinary differential equation. If it has more than one, the derivatives are partial and the equation is a partial differential equation.

This paper is entirely about ordinary differential equations. MU's label says "Ordinary Linear Differential Equations" explicitly.

What a solution is

A function is a solution of a differential equation on an interval if substituting it, and its derivatives, makes the equation true for every value of x in that interval.

That definition is also a procedure, and it is the most useful habit in Module 2: to check an answer, substitute it back. Every worked solution in this book has been checked that way by machine, and you can check yours by hand in a minute.

Worked, so the procedure is concrete. Is y = e to the 2x a solution of dy/dx = 2y?

Its derivative is 2 e to the 2x. And 2y is 2 e to the 2x. The two agree, so yes.

dy/dx = 2y

y = C e^(2x)

That block is the machine performing exactly that check, for every value of C at once.

Is y = x squared a solution of the same equation? Its derivative is 2x, and 2y is 2x squared. Those are not equal, so no.

2x = 2x^2

The simplest differential equation of all

dy/dx = f(x)

That says: y is a function whose derivative is f. So y is the integral of f, plus a constant.

Every differential equation is, at bottom, an integration problem in disguise, and the whole of Module 2 is a set of techniques for getting an equation into a form where an integration can actually be done.

munotes.in176

What a Differential Equation Is

That is also where the arbitrary constant comes from: an integration always brings one.

Where they come from

A differential equation is what you write down when you know how something changes but not what it is.

SituationWhat you knowThe equation
Radioactive decaythe rate of decay is proportional to the amount leftdN/dt = -kN
Coolingthe rate of cooling is proportional to the excess temperaturedT/dt = -k(T - room)
A charging capacitorthe current is proportional to the missing voltagedV/dt = (E - V)/RC
Population with limitsgrowth is proportional to size and to room leftdP/dt = kP(M - P)
A falling body with dragacceleration is gravity minus dragdv/dt = g - kv

In each row the left column is the thing you want and the middle column is what physics or observation gives you. The equation is the bridge, and solving it is crossing.

The chapter on where differential equations come from does four of these in full.

Why this module comes after the transform half

It does not have to, and MU prints them in this order for her own reasons. But there is a connection worth seeing from the start.

Module 1's second half solved differential equations by carrying them into the s domain, doing algebra, and carrying the answer back. That method works only for linear equations with constant coefficients, and only when initial values are given at t = 0.

Module 2 solves equations that are not linear, that have coefficients depending on x, and that have no initial values attached. It is the more general set of tools, and it is the one you need when the transform method does not apply. The two halves are complementary, not repetitive.

Check yourself

Which of these are differential equations, and what is the unknown?

EquationDifferentialUnknown
dy/dx + 3y = 0yesthe function y
x squared plus 3x = 4nothe number x
y prime prime plus y = sin xyesthe function y
dy/dx = 5yesthe function y

And verify these solutions by substitution.

dy/dx = 5

y = 5x + C

dy/dx + y = 0

y = C e^(-x)

d2y/dx2 + y = 0

y = C1 cos(x) + C2 sin(x)

The last one has two arbitrary constants, because the equation is of second order. The next chapter says why that is always so.

Contents This chapter on its own page

munotes.in177

Chapter Eighty-One

Order, Degree, and Linearity

Syllabus topic Module 2, "2.1 Equation of the first order and of the first degree" and Module 2, "2.2 Differential equation of the first order of a degree higher than the first"

In one line

Order is the highest derivative, degree is the power that highest derivative is raised to, and linear means the unknown and its derivatives appear only to the first power and are never multiplied together.

Why these three words decide everything

Every method in Module 2 applies to a particular kind of equation, and these three words are how you tell which kind you have. Reading them off before choosing a method is the single most useful habit in this module.

MU's section 2.1 is about equations of first order and first degree. Her 2.2 is about first order and higher degree. So she is telling you that the distinction between them matters enough to organise her syllabus by, and a student who cannot spot the degree cannot know which section they are in.

Order

The order of a differential equation is the order of the highest derivative in it.

EquationOrder
dy/dx + 3y = 01
d2y/dx2 + 4y = 02
y prime prime prime plus y prime = x3
(dy/dx) cubed plus y = 01

The last row is the one to notice. The power does not change the order. The highest derivative present is the first, so the order is one, however high a power it is raised to.

Degree

The degree is the power to which the highest derivative is raised, after the equation has been made free of radicals and fractions in the derivatives.

That qualification is not optional and is where the marks are.

EquationDegreeWhy
dy/dx + 3y = 01the first derivative appears to the first power
(dy/dx)^2 + y = 02squared
(dy/dx)^3 + (dy/dx) = x3the highest power of the highest derivative
sqrt(dy/dx) = y2square both sides first, giving dy/dx = y squared
dy/dx + 1/(dy/dx) = 22multiply through first, giving (dy/dx) squared minus 2 dy/dx plus 1 = 0

The last two rows are the whole point of the qualification. Until the radical or the fraction is cleared, the equation has no degree at all.

And one that has no degree even after clearing:

EquationDegree
sin(dy/dx) = ynone
e to the (dy/dx) = xnone

A derivative inside a transcendental function cannot be cleared into a power, so the equation is not of any degree. Such an equation is outside this syllabus, and the honest answer to a question about it is that it has no degree.

Linear

An equation is linear if:

  • the unknown y and every one of its derivatives appear only to the first power;
  • none of them is multiplied by another;
  • none of them appears inside a function such as a sine, a logarithm or a square root.
munotes.in178

Order, Degree, and Linearity

The coefficients may be any functions of x at all. That is allowed and does not affect linearity.

EquationLinearWhy
dy/dx + 3y = x squaredyesy and its derivative to the first power
x squared dy/dx + (sin x) y = e to the xyescoefficients may be any functions of x
dy/dx + y squared = 0noy is squared
y dy/dx = xnoy multiplied by its own derivative
dy/dx + sin y = 0noy inside a sine
dy/dx + sin x = 0yesthe sine is of x, not of y

The last two rows differ by one letter and are on opposite sides of the line. Look at what is inside the function, not at whether there is a function.

A linear equation of the first order always has the form dy/dx plus P(x)y equals Q(x), and that is the form the chapter on the linear equation solves once and for all.

The three together, on one equation

(d2y/dx2)^3 + x (dy/dx)^2 + y = sin(x)

Order: 2, because the second derivative is the highest present.

Degree: 3, because that second derivative is cubed.

Linear: no, for two reasons. The highest derivative is cubed, and the first derivative is squared.

Why linearity matters so much

Because a linear equation has the superposition property: if y1 and y2 both solve the homogeneous version, so does any combination of them. That single property is what makes the complementary function plus particular integral structure of section 2.3 work, and what makes the Laplace transform method of Module 1 work.

Nothing of the kind is true for a non-linear equation. Adding two solutions of a non-linear equation gives, in general, something that is not a solution at all, which is why non-linear equations are hard and why this syllabus handles them only in the special cases of section 2.2.

What this module covers, in these words

MU's sectionOrderDegreeLinear
2.1firstfirstsome are, some are not
2.2firsthigher than firstno
2.3anyfirstyes, with constant coefficients

That table is the map of Module 2, and it is worth a minute now to save five later.

Check yourself

EquationOrderDegreeLinear
dy/dx = x + y11yes
(dy/dx)^2 = x12no
d2y/dx2 + 5 dy/dx + 6y = 021yes
y d2y/dx2 = 121no
(d3y/dx3)^2 + y^4 = 032no

The fourth row is worth checking: the degree is 1, because the highest derivative appears to the first power, but the equation is not linear, because that derivative is multiplied by y. Degree one does not mean linear.

Contents This chapter on its own page

munotes.in179

Chapter Eighty-Two

Where Differential Equations Come From

Syllabus topic Module 2, "2.1 Equation of the first order and of the first degree"

In one line

Write down what you know about how something changes, and you have written a differential equation.

The pattern

Every model in this chapter is built the same way.

  1. Name the quantity you care about and the variable it depends on.
  2. Say, in words, what its rate of change is proportional to.
  3. Write that sentence as an equation, with a constant of proportionality.
  4. Fix the constant and any others from what you are told.

The mathematics is in step three, and it is one line. The thinking is in step two.

Radioactive decay, and why it applies to a cache

The number of atoms that decay in the next second is proportional to how many there are. Nothing else affects it.

dN/dt = -k N

The minus sign is because N is falling. Separating the variables, which the next section does properly, gives the solution.

dN/dt = -3N

N = C e^(-3t)

So the amount decays exponentially. The half life is the time for N to halve, and setting the exponential to one half gives it.

log(2)/3 = log(2)/3

The same equation, with a different name on the letter, describes a capacitor discharging, a hot object cooling towards room temperature, a drug leaving the bloodstream, and the number of entries left in a cache that is evicted at a rate proportional to its size. One equation, many subjects, which is the real reason this module is worth learning.

Newton's law of cooling

The rate at which something cools is proportional to how much hotter it is than its surroundings.

dT/dt = -k(T - R)

R is the room temperature. Notice that it is not the temperature that matters but the excess over the room, which is why a cup of tea cools quickly at first and slowly later.

The solution, which the substitution u = T minus R turns into the decay equation above:

dT/dt = -2(T - 20)

T = 20 + C e^(-2t)

As t grows the exponential dies and T approaches 20, which is the room temperature. Any model whose answer does not do that is wrong, and checking the long-term behaviour is a good way to catch a sign error.

A charging capacitor

A capacitor C charged through a resistor R from a supply of E volts. The current is proportional to the voltage still missing.

dV/dt = (E - V)/(R C)

dV/dt = (5 - V)/2

V = 5 + C1 e^(-t/2)

With V(0) = 0 the constant is minus 5, and the voltage rises from 0 towards 5, quickly at first and then slowly. The product RC is the time constant, and the voltage gets to about 63 per cent of the way in one time constant, a fact every electronics student learns as a number and which comes from here.

munotes.in180

Where Differential Equations Come From

A population with a limit

A population grows in proportion to its own size, which gives exponential growth, but it is also limited by the space available. The simplest model multiplies the two.

dP/dt = k P (M - P)

M is the maximum the environment supports. When P is small, the second bracket is nearly M and the growth is nearly exponential. When P approaches M, the bracket approaches zero and the growth stops.

This is the logistic equation, and its solution is the S-shaped curve that describes the adoption of a new technology, the spread of a rumour through a network, and the growth of a bacterial culture. It is non-linear, because P appears squared, so none of Module 2's linear techniques applies to it; it is separable, and the first section of this module solves it.

A falling body with air resistance

Acceleration is gravity minus a drag proportional to speed.

dv/dt = g - k v

dv/dt = 10 - v

v = 10 + C e^(-t)

With v(0) = 0 the constant is minus 10, and the speed rises from 0 towards 10, which is the terminal velocity: the speed at which the drag exactly balances gravity, so the acceleration is zero. Setting dv/dt to zero in the equation gives v = g over k directly, without solving anything, which is the quickest way to find a terminal value of any of these models.

What they have in common

Four of the five above are of the form below, with a and b constants.

dy/dt = a - b y

That equation is linear, first order, first degree, separable, and exact after an integrating factor, so four of the techniques in section 2.1 will solve it. Meeting it early is useful, because you will recognise it repeatedly.

Its solution always has the same shape: a constant that it settles at, which is a over b, plus a decaying exponential.

dy/dt = 6 - 3y

y = 2 + C e^(-3t)

Check yourself

Write the equation for each, then check the solution offered.

In wordsThe equation
the rate of growth is proportional to the amountdy/dt = ky
the rate of decay is proportional to the amountdy/dt = -ky
the rate of change is proportional to the difference from 100dy/dt = k(100 - y)
the rate is proportional to the product of y and 50 minus ydy/dt = ky(50 - y)

dy/dt = 4y

y = C e^(4t)

dy/dt = 5(100 - y)

y = 100 + C e^(-5t)

Contents This chapter on its own page

munotes.in181

Chapter Eighty-Three

Forming a Differential Equation by Eliminating the Constants

Syllabus topic Module 2, "2.1 Equation of the first order and of the first degree"

In one line

Differentiate as many times as there are arbitrary constants, then eliminate them.

The question, run backwards

The rest of this module takes an equation and finds its family of solutions. This chapter takes a family of curves and finds the equation they all satisfy.

It is set regularly, and it teaches the idea of an arbitrary constant better than anything else: one constant means one differentiation, so a family with n constants comes from an equation of order n.

The method

  1. Count the arbitrary constants. Call it n.
  2. Differentiate the given relation n times.
  3. You now have n plus 1 equations. Eliminate the n constants between them.
  4. What is left is the differential equation.

Worked: one constant

Find the differential equation of the family y = C e to the 2x.

One constant, so differentiate once.

y = C e^(2x)

dy/dx = 2 C e^(2x)

Now eliminate C. The simplest way is to notice that the right-hand side of the second is twice the right-hand side of the first.

dy/dx = 2y

y = C e^(2x)

So the equation is dy/dx = 2y, of first order as promised. The C has vanished, which is the sign that the elimination was done properly: an arbitrary constant must not appear in the answer.

Worked: one constant, less obvious

Find the differential equation of the family of circles x squared plus y squared = a squared, all centred at the origin.

One constant, so differentiate once, treating y as a function of x.

Differentiating gives 2x plus 2y dy/dx = 0, and a squared has vanished by itself, because it was a constant.

dy/dx = -x/y

x^2 + y^2 = C

So the equation is x plus y dy/dx = 0, or dy/dx = minus x over y. The checker proved that every circle about the origin solves it.

That equation has a geometric reading worth having: the slope at any point is minus x over y, which is the negative reciprocal of y over x, the slope of the radius. So the tangent is perpendicular to the radius, which is the defining property of a circle.

Worked: two constants

Find the differential equation of y = A e to the x plus B e to the minus x.

Two constants, so differentiate twice.

The first derivative is A e to the x minus B e to the minus x. The second derivative is A e to the x plus B e to the minus x, which is the original y again.

d2y/dx2 - y = 0

y = C1 e^x + C2 e^(-x)

So the equation is y double prime minus y = 0, of second order because there were two constants. The elimination was immediate because the second derivative happened to reproduce y; in general it needs more work.

munotes.in182

Forming a Differential Equation by Eliminating the Constants

Worked: two constants, needing real elimination

Find the differential equation of y = Ax plus B over x.

Differentiate twice.

y = A x + B/x

dy/dx = A - B/x^2

d2y/dx2 = 2 B/x^3

From the third equation, B is x cubed times the second derivative, divided by 2. Substituting that into the second gives A as y prime plus x y double prime over 2. Putting both into the first gives y equal to x y prime plus x squared y double prime, which rearranges to the answer below.

d2y/dx2 = (y - x dy/dx)/x^2

y = C1 x + C2/x

So the equation is x squared y double prime plus x y prime minus y = 0, which is what that rearranges to. It is second order and linear with variable coefficients, which is outside the solving techniques of this syllabus but perfectly formable.

The elimination, done sensibly

With two constants there are three equations and two things to remove, and it is easy to make a mess. Two pieces of advice.

Solve for the constants, do not eliminate them by adding equations. Get A on its own from one equation and B on its own from another, substitute both into the third, and tidy. That is systematic and it always works.

Use the structure if there is one. In the A e to the x plus B e to the minus x example, noticing that the second derivative equals y saved all the algebra. Look for such a shortcut first, but do not spend time hunting for one.

The check

Substitute the general family back into your differential equation, exactly as the checker does above. If it satisfies the equation for every value of every constant, the answer is right.

And count: the order of your answer must equal the number of constants you started with. Getting an order too low means an elimination that also removed information; too high means an unnecessary differentiation.

Check yourself

dy/dx = y/x

y = C x

dy/dx = 3y

y = C e^(3x)

d2y/dx2 + 4y = 0

y = C1 cos(2x) + C2 sin(2x)

dy/dx = -y^2

y = 1/(x + C)

The first is the family of straight lines through the origin, and the equation says the slope equals the gradient of the line from the origin, which is what a line through the origin does. The last is the family of hyperbolas y = 1 over (x plus C), and note that the equation is non-linear, because y is squared.

Contents This chapter on its own page

munotes.in183

Chapter Eighty-Four

What a Solution Is: General, Particular, and Singular

Syllabus topic Module 2, "2.1 Equation of the first order and of the first degree" and Module 2, "2.2 Differential equation of the first order of a degree higher than the first"

In one line

A general solution has as many arbitrary constants as the order, a particular solution fixes them, and a singular solution is a genuine solution that is in neither.

The three kinds

The general solution contains as many arbitrary constants as the order of the equation. It is the whole family of solutions, written in one line.

A particular solution is what you get by choosing values for those constants, usually to satisfy given conditions.

A singular solution is a solution that cannot be obtained from the general solution by any choice of the constants. Most equations in this module have none; Clairaut's equation in section 2.2 always does, which is why the idea is introduced now.

Why the number of constants equals the order

Because solving a differential equation is integrating, and each integration brings a constant. An equation of order n takes n integrations, so n constants.

The previous chapter showed the same fact from the other end: a family with n constants comes from an equation of order n.

d2y/dx2 = 0

y = C1 x + C2

Two integrations of zero give a constant and then a linear function, with two constants, from a second-order equation.

Particular solutions

Given conditions, the constants are determined.

Take dy/dx = 2y, whose general solution is C e to the 2x.

dy/dx = 2y

y = C e^(2x)

With the condition y(0) = 5, putting x = 0 gives C = 5, so the particular solution is 5 e to the 2x.

dy/dx = 2y

y = 5 e^(2x)

A second-order equation needs two conditions, and they may be given in two ways.

An initial value problem gives the value and the derivative at the same point, usually x = 0. That is what Module 1's transform method expects.

A boundary value problem gives the value at two different points. Those can behave badly: a boundary value problem may have no solution, or infinitely many, where an initial value problem of the same equation has exactly one. This paper sets initial value problems.

Explicit and implicit

A solution written as y = something in x is explicit.

A solution written as a relation between x and y that cannot be untangled is implicit, and it is perfectly acceptable. Do not waste time trying to make an implicit answer explicit; often it is impossible.

dy/dx = -x/y

x^2 + y^2 = C

That answer is implicit, and making it explicit would mean a square root and a choice of sign, which would lose half of each circle. The implicit form is the better answer, and most of section 2.1's exact equations produce one.

munotes.in184

What a Solution Is: General, Particular, and Singular

Checking a solution, which is the habit of the module

Substitute it into the equation and see whether the equation is satisfied.

For an explicit answer: differentiate it, put the derivative and the function into the equation, and simplify. If you get an identity, it is a solution.

For an implicit answer, F(x, y) = C: differentiate the relation with respect to x, remembering that y is a function of x so that the chain rule applies, and see whether the result rearranges into the equation.

Worked. Is x squared y plus y cubed over 3 = C a solution of (2xy)dx + (x squared plus y squared)dy = 0?

Differentiating the relation implicitly gives 2xy plus x squared dy/dx plus y squared dy/dx = 0, which is exactly the equation written with dy/dx in place of the differentials. So yes.

(2xy) dx + (x^2 + y^2) dy = 0

x^2 y + y^3/3 = C

That block is the machine doing the same check, and it uses a test that survives an integrating factor: it proves that the gradient of the left-hand side is parallel to the vector (M, N), which is what makes the level curves solution curves.

Singular solutions

Consider the equation below, which is Clairaut's form and is section 2.2's subject.

y = x dy/dx + (dy/dx)^2

Its general solution is y = Cx plus C squared, a family of straight lines, one for each C.

dy/dx = (-x + sqrt(x^2 + 4y))/2

y = C x + C^2

That check is made for positive C and positive x, because solving the Clairaut equation for dy/dx involves a square root and therefore two branches, and the printed branch is the one that holds there. The direct check needs no such care and is the one to do by hand: for the line y = Cx plus C squared the derivative is C, and substituting into the equation gives Cx plus C squared, which is y.

But there is another solution: y = minus x squared over 4. It satisfies the equation, and no value of C gives it, because it is not a straight line. It is the singular solution, and geometrically it is the curve that all those straight lines touch, their envelope. Its own check is immediate: the derivative of minus x squared over 4 is minus x over 2, and substituting gives minus x squared over 2 plus x squared over 4, which is minus x squared over 4, that is y.

The chapter on singular solutions treats this properly. It is here so that "the general solution" is not mistaken for "every solution", which it is not.

Solutions that are lost by dividing

One more way a solution can go missing, and it is the commonest.

munotes.in185

What a Solution Is: General, Particular, and Singular

Take dy/dx = y. The method of the next chapter divides both sides by y, which is only legal when y is not zero. And y = 0 is a solution: its derivative is zero and so is y.

dy/dx = y

y = C e^x

Here the lost solution is recovered, because C = 0 gives y = 0. But that is luck. In an equation where the division removes a factor that the general solution cannot reproduce, the lost solution is genuinely singular, and it should be recorded.

So: whenever you divide by something, note what you divided by and check separately whether it being zero gives a solution. That habit is worth a mark and, more importantly, it is honest.

Check yourself

dy/dx = 3y

y = C e^(3x)

d2y/dx2 - 4y = 0

y = C1 e^(2x) + C2 e^(-2x)

dy/dx = -x/y

x^2 + y^2 = C

dy/dx = y/x

y = C x

For each, count the constants against the order. The second has two of each; the rest have one of each. Any answer whose count does not match is incomplete or has an unnecessary constant in it.

Contents This chapter on its own page

munotes.in186

Chapter Eighty-Five

Separating the Variables

Syllabus topic Module 2, "2.1 Equation of the first order and of the first degree"

In one line

If the equation can be written with all the x on one side and all the y on the other, integrate both sides.

MU's first label

"Separation of variables". It is the first method of section 2.1 and the one every other method tries to reduce to.

When it applies

The equation must be writable in the form below, with the two variables completely separated.

f(y) dy = g(x) dx

Equivalently, dy/dx must be a product or a quotient of a function of x alone and a function of y alone.

EquationSeparableWhy
dy/dx = x yyesa product
dy/dx = x/yyesa quotient
dy/dx = x + ynoa sum cannot be split
dy/dx = e to the (x + y)yesthe exponential of a sum is a product
dy/dx = (x y plus x)/(y)yesfactorise the top as x(y plus 1)

The fourth row is the trick worth knowing: a sum in an exponent is a product of exponentials, so such an equation is separable even though it does not look it.

The fifth row is the other one: factorise before deciding. Many equations that look like sums separate after one factorisation.

The method

  1. Write the equation as f(y)dy = g(x)dx.
  2. Integrate both sides.
  3. Put one arbitrary constant, on one side only.
  4. Tidy, and make the answer explicit if it easily can be.
  5. Note anything you divided by, and check whether it gives a lost solution.

Step three is worth a sentence. Both integrations produce a constant, but the difference of two arbitrary constants is one arbitrary constant, so only one is written. Writing two is not wrong, only untidy.

Worked: the simplest

Solve dy/dx = 2xy.

Separate: dy over y equals 2x dx.

Integrating: log of the size of y equals x squared plus c.

Exponentiating: the size of y equals e to the c times e to the x squared, and writing C for plus or minus e to the c gives the answer.

dy/dx = 2xy

y = C e^(x^2)

Note the step where the constant became a multiplier. Integrating gave a constant added to a logarithm, and exponentiating turned it into a factor. That happens in nearly every separable equation with a logarithm, and writing C for e to the c is standard.

Worked: a quotient

Solve dy/dx = x over y.

Separate: y dy equals x dx. Integrating: y squared over 2 equals x squared over 2 plus c, so y squared minus x squared equals C.

dy/dx = x/y

y^2 - x^2 = C

The answer is implicit, and it is a family of hyperbolas. Making it explicit would mean a square root and a sign choice, and the implicit form is better.

munotes.in187

Separating the Variables

Worked: with the exponential trick

Solve dy/dx = e to the (x plus y).

The right-hand side is e to the x times e to the y, so it is separable after all.

Separate: e to the minus y dy equals e to the x dx. Integrating: minus e to the minus y equals e to the x plus c.

dy/dx = e^(x + y)

e^(-y) + e^x = C

Worked: a trigonometric one

Solve dy/dx = y cos x.

Separate: dy over y equals cos x dx. Integrating: log of the size of y equals sin x plus c.

dy/dx = y cos(x)

y = C e^(sin(x))

Worked: with an initial condition

Solve dy/dx = minus 2xy with y(0) = 3.

The general solution, by the first worked method with a sign change, is C e to the minus x squared.

dy/dx = -2xy

y = C e^(-x^2)

At x = 0 the exponential is 1, so C = 3 and the particular solution is 3 e to the minus x squared.

dy/dx = -2xy

y = 3 e^(-x^2)

The solution you may have divided away

In the very first example, separating meant dividing by y, which is illegal when y = 0. And y = 0 is a solution: both sides of dy/dx = 2xy are then zero.

Here it is recovered by taking C = 0, so nothing was lost. But the check should be made, not assumed. The habit: write down what you divided by, and test whether it being zero solves the equation.

The commonest mistakes

A constant on both sides. One is enough, and two make the tidying harder.

Forgetting the modulus in a logarithm. The integral of one over y is the logarithm of the size of y. Dropping it is usually harmless because the constant absorbs the sign, but it should be written.

Separating something that does not separate. dy/dx = x plus y is not separable and no amount of rearranging makes it so. It is linear, and the chapter on the linear equation solves it.

Check yourself

dy/dx = 3y

y = C e^(3x)

dy/dx = y/x

y = C x

dy/dx = x y^2

y = -2/(x^2 + C)

dy/dx = (1 + y^2)/(1 + x^2)

y = (x + C)/(1 - C x)

The third is non-linear and separable, and the answer has the constant inside the bracket rather than as a multiplier, which is what happens when the integration does not produce a logarithm. The fourth comes out as arctan y equals arctan x plus c, and taking the tangent of both sides with the compound-angle formula gives the printed form.

Contents This chapter on its own page

munotes.in188

Chapter Eighty-Six

Worked Separable Equations

Syllabus topic Module 2, "2.1 Equation of the first order and of the first degree"

In one line

Eight separable equations, worked, every answer substituted back.

One: growth

Solve dy/dx = 5y.

Separating gives dy over y equal to 5 dx, so log of the size of y is 5x plus c.

dy/dx = 5y

y = C e^(5x)

Two: decay towards a value

Solve dy/dx = 4 minus y.

Separating gives dy over (4 minus y) equal to dx, so minus log of the size of (4 minus y) is x plus c, and hence 4 minus y is C e to the minus x.

dy/dx = 4 - y

y = 4 + C e^(-x)

The minus sign from integrating one over (4 minus y) is the step that is dropped most often. Check it by differentiating your answer, which takes five seconds.

Three: a product on the right

Solve dy/dx = x squared y cubed.

Separating gives dy over y cubed equal to x squared dx, so minus one over 2y squared equals x cubed over 3 plus c. Multiplying through by minus 6 and gathering the constant on the right gives the answer below.

dy/dx = x^2 y^3

3/y^2 + 2 x^3 = C

That implicit form is tidier than the explicit one, which would carry a square root and a sign. Multiplying out and renaming the constant is always allowed and is worth doing when it removes a fraction. Note that the constant is gathered alone on one side: an implicit answer is a statement that some function of x and y is constant, and writing it any other way makes it harder to check.

Four: a sum that factorises

Solve dy/dx = xy plus x.

The right-hand side factorises as x(y plus 1), so it separates after all.

dy/dx = x y + x

y = -1 + C e^(x^2/2)

Try factorising before declaring an equation non-separable. This one looks like a sum and is a product.

Five: an exponential of a sum

Solve dy/dx = e to the (2x minus y).

The right side is e to the 2x times e to the minus y.

dy/dx = e^(2x - y)

e^y = e^(2x)/2 + C

Six: a trigonometric quotient

Solve dy/dx = cos x over y.

Separating gives y dy equal to cos x dx.

dy/dx = cos(x)/y

y^2 = 2 sin(x) + C

Seven: an answer that will not be made explicit

Solve dy/dx = (1 plus y squared) over y.

Separating gives y dy over (1 plus y squared) equal to dx, so half the logarithm of (1 plus y squared) is x plus c. Exponentiating and gathering the constant gives the answer below.

dy/dx = (1 + y^2)/y

(y^2 + 1) e^(-2x) = C

munotes.in189

Worked Separable Equations

Equivalently y squared equals C e to the 2x minus 1, which is the form most students would write. Both say the same thing; the first has the constant alone on one side, which is what makes it checkable in one step.

Eight: with an initial condition

Solve dy/dx = y squared, with y(0) = 1.

Separating gives dy over y squared equal to dx, so minus one over y equals x plus c, and y equals minus one over (x plus c).

dy/dx = y^2

y = -1/(x + C)

At x = 0 with y = 1: 1 equals minus one over c, so c is minus 1.

dy/dx = y^2

y = 1/(1 - x)

That particular solution is worth a moment. It grows without limit as x approaches 1, and beyond x = 1 it is a different branch. So the solution exists only on an interval, not for all x, even though the equation looked perfectly harmless. A non-linear equation can have a solution that blows up in finite time, and a linear one never can. That is one of the real differences between the two.

The pattern across the eight

Right-hand sideIntegrating givesAnswer contains
a multiple of ya logarithman exponential
a constant minus ya logarithma constant plus an exponential
a power of ya power of yan implicit relation
a factorisable suma logarithman exponential, shifted

The first two rows are the ones that arise from the models of the earlier chapter, and they are the two shapes to recognise instantly.

Check yourself

dy/dx = -y/2

y = C e^(-x/2)

dy/dx = x/(y + 1)

(y + 1)^2 = x^2 + C

dy/dx = y - y^2

y = 1/(1 + C e^(-x))

The third is the logistic equation of the modelling chapter, with its maximum set to 1. Separating it needs partial fractions on one over y(1 minus y), which is the first place in this module where a technique from Module 1 is reused.

Contents This chapter on its own page

munotes.in190

Chapter Eighty-Seven

Equations That Become Separable by a Substitution

Syllabus topic Module 2, "2.1 Equation of the first order and of the first degree"

In one line

If the right-hand side depends on x and y only through the combination ax + by + c, substitute for that whole combination.

The shape

dy/dx = f(a x + b y + c)

The right-hand side is a function of one thing: the straight-line combination ax plus by plus c. It is not separable as it stands, because x and y are tangled inside the bracket.

The substitution

Put v equal to the whole combination.

v = a x + b y + c

dv/dx = a + b dy/dx

So dy/dx is (dv/dx minus a) over b, and substituting turns the equation into one in v and x alone, which always separates.

dv/dx = a + b f(v)

Everything on the right depends on v only, so dv over (a plus b f(v)) equals dx, and both sides integrate.

Worked

Solve dy/dx = (x plus y) squared.

Put v = x plus y. Then dv/dx = 1 plus dy/dx, so dy/dx = dv/dx minus 1.

The equation becomes dv/dx minus 1 equals v squared, that is dv/dx equals 1 plus v squared.

Separating: dv over (1 plus v squared) equals dx, so arctan v equals x plus c, and v equals tan(x plus c).

Substituting back: x plus y equals tan(x plus c), so y equals tan(x plus c) minus x.

dy/dx = (x + y)^2

y = tan(x + C) - x

Worked, with coefficients

Solve dy/dx = (2x plus 3y) squared... actually take a simpler one that integrates cleanly.

Solve dy/dx = 2x plus y.

Hmm: that is linear and is better done by the linear method. The substitution method is for when the right-hand side is a function of the combination, not a multiple of it. Take instead:

Solve dy/dx = 1 over (x plus y).

Put v = x plus y, so dy/dx = dv/dx minus 1, and the equation becomes dv/dx minus 1 equals 1 over v, that is dv/dx equals (v plus 1) over v.

Separating: v dv over (v plus 1) equals dx. The left side integrates after dividing out: v over (v plus 1) is 1 minus 1 over (v plus 1), so the integral is v minus log of the size of (v plus 1).

So v minus log(v plus 1) equals x plus c, and substituting back gives the answer.

dy/dx = 1/(x + y)

y - log(x + y + 1) = C

The answer is implicit and cannot be untangled, which is normal for this family.

Worked, one more

Solve dy/dx = cos(x plus y).

Put v = x plus y. Then dv/dx equals 1 plus cos v.

Separating: dv over (1 plus cos v) equals dx. Using the half-angle identity, 1 plus cos v is 2 cos squared of v over 2, so the integral of one half sec squared (v over 2) dv is tan(v over 2).

munotes.in191

Equations That Become Separable by a Substitution

So tan((x plus y)/2) equals x plus c.

dy/dx = cos(x + y)

tan((x + y)/2) - x = C

When to recognise it

The signal is that x and y appear only in the same bracket, or only in the same combination, on the right-hand side.

EquationSubstituteWhy
dy/dx = (x + y)^2v = x + ythe bracket
dy/dx = sin(2x - y)v = 2x - yinside the sine
dy/dx = 1/(x + y + 3)v = x + y + 3the denominator
dy/dx = e to the (3x + y)v = 3x + yin the exponent
dy/dx = x + ynot this methodit is linear, and easier that way

The last row matters. When the combination appears linearly and on its own, the equation is linear and the linear method is faster. This substitution is for when the combination sits inside something.

The general idea, which recurs

This is the first appearance of what MU calls "Method of substitution" and which she names twice, at 2.1.7 and again at 2.2.6.

The idea is always the same: find the combination of x and y that the equation is really about, name it, and rewrite everything in terms of it. The homogeneous equations of the next chapter use y over x as that combination; Bernoulli's equation uses a power of y; Clairaut's form uses p.

Looking for the right combination is a skill rather than a rule, and the chapter that gathers the substitutions of the whole module into one table is there to help with it.

Check yourself

dy/dx = (x + y + 1)^2

y = tan(x + C) - x - 1

dy/dx = (2x + y)^2

atan((2x + y)/sqrt(2))/sqrt(2) - x = C

The second needs v = 2x plus y, giving dv/dx equal to 2 plus v squared. Separating gives dv over (2 plus v squared) equal to dx, and the standard integral of one over (a squared plus v squared) is one over a times the arctangent of v over a, with a equal to root two here.

That root two is the signature of a constant that is not 1 inside the separated integral, and it is worth expecting rather than suspecting a mistake. Taking the tangent of both sides would give 2x plus y equal to root two times the tangent of root two times (x plus c), which is the explicit form.

Contents This chapter on its own page

munotes.in192

Chapter Eighty-Eight

Equations Homogeneous in x and y

Syllabus topic Module 2, "2.1 Equation of the first order and of the first degree"

In one line

If every term of M and N has the same total degree, put y = vx and the equation separates.

MU's label

"Equations homogeneous in x and y".

What homogeneous means here

A function of x and y is homogeneous of degree n if multiplying both x and y by t multiplies the function by t to the n.

In practice: every term has the same total degree, counting the powers of x and y together.

FunctionHomogeneousDegree
x^2 + xy + y^2yes2
x^3 - 2xy^2yes3
x^2 + ynoterms of degree 2 and 1
x + yyes1
x^2 + 1nodegree 2 and degree 0

An equation M dx plus N dy = 0 is homogeneous if M and N are both homogeneous of the same degree.

The word means three different things in this paper

This is worth stopping on, because the confusion is real and it is examined.

Homogeneous in x and y, which is this chapter: every term has the same total degree.

A homogeneous linear equation, which is section 2.3: the right-hand side is zero, as in f(D)y = 0.

Non-homogeneous linear equations, which is MU's 2.1.3: an equation of the form (ax + by + c)dx + (a'x + b'y + c')dy = 0, where the constants c spoil the homogeneity of this chapter's kind.

Three meanings, one word, and the only way through is to read which section you are in.

The test

Divide the equation into the form dy/dx = F(x, y). It is homogeneous exactly when F can be written as a function of y over x alone.

dy/dx = (x^2 + y^2)/(2xy)

Divide the top and the bottom by x squared and the right-hand side becomes (1 plus (y/x) squared) over (2(y/x)), which depends only on y over x. So the equation is homogeneous.

That test is also the reason the substitution works.

Why y = vx always works

Put y = vx, so that v is y over x, and the right-hand side becomes a function of v alone.

Differentiating y = vx by the product rule gives dy/dx equal to v plus x dv/dx.

So the equation becomes v plus x dv/dx equal to F(v), that is:

x dv/dx = F(v) - v

and that always separates: dv over (F(v) minus v) equals dx over x.

That is the whole method, and it works for every homogeneous equation without exception.

The procedure

  1. Check that the equation is homogeneous, by degrees or by the y over x test.
  2. Put y = vx and dy/dx = v plus x dv/dx.
  3. Simplify until the v terms are on one side and the x terms on the other.
  4. Integrate. The right side is always dx over x, giving a logarithm of x.
  5. Put v = y over x back in.
munotes.in193

Equations Homogeneous in x and y

Step four is worth knowing in advance: the x side of the integration is always log x, so the answer always contains a logarithm of x, and the constant is usually best written as log C so that the logarithms combine.

Worked

Solve dy/dx = (x plus y) over x.

Homogeneous: both top and bottom are of degree 1. Putting y = vx gives v plus x dv/dx equal to (x plus vx) over x, which is 1 plus v.

So x dv/dx equals 1, and dv equals dx over x. Integrating gives v equal to log x plus c, and substituting back gives y over x equal to log x plus c.

dy/dx = (x + y)/x

y = x log(x) + C x

Worked, the classic one

Solve dy/dx = (x squared plus y squared) over (2xy).

Putting y = vx: v plus x dv/dx equals (1 plus v squared) over (2v).

So x dv/dx equals (1 plus v squared) over (2v) minus v, which is (1 minus v squared) over (2v).

Separating: 2v dv over (1 minus v squared) equals dx over x. The left side integrates to minus the logarithm of the size of (1 minus v squared).

So minus log(1 minus v squared) equals log x plus c, and exponentiating gives 1 minus v squared equal to C over x.

Substituting v = y over x and multiplying by x squared: x squared minus y squared equals Cx.

dy/dx = (x^2 + y^2)/(2xy)

(x^2 - y^2)/x = C

The trap in step three

After substituting, every x must cancel. If an x is left over after simplifying, either the equation was not homogeneous or the algebra has gone wrong.

That cancellation is the whole point: it is what leaves an equation in v and x that separates. Checking that it has happened is a free test on step two.

Check yourself

dy/dx = y/x

y = C x

dy/dx = (x + y)/(x - y)

atan(y/x) - log(x^2 + y^2)/2 = C

The second is the standard homogeneous question and it is worth working in full. Putting y = vx gives x dv/dx equal to (1 plus v squared) over (1 minus v). Separating gives (1 minus v) dv over (1 plus v squared) equal to dx over x, and the left side splits into two standard integrals: one over (1 plus v squared), which gives an arctangent, and minus v over (1 plus v squared), which gives minus half a logarithm.

munotes.in194

Equations Homogeneous in x and y

So arctan v minus half the logarithm of (1 plus v squared) equals log x plus c, and putting v = y over x and combining the two logarithms gives the printed answer.

One warning. This is the one place in the module where the answer is genuinely not algebraic. A student who expects a polynomial relation and keeps rearranging until one appears will produce something that does not satisfy the equation. The arctangent is the answer.

Contents This chapter on its own page

munotes.in195

Chapter Eighty-Nine

Worked Homogeneous Equations

Syllabus topic Module 2, "2.1 Equation of the first order and of the first degree"

In one line

Five homogeneous equations worked in full, including the partial-fraction integration the v equation usually needs.

One: the simplest

Solve dy/dx = (y minus x) over x.

Both parts are of degree 1. Put y = vx, so dy/dx is v plus x dv/dx, and the right-hand side becomes v minus 1.

So x dv/dx equals minus 1, giving dv equal to minus dx over x, and v equals minus log x plus c.

dy/dx = (y - x)/x

y = -x log(x) + C x

Two: where the v equation needs partial fractions

Solve dy/dx = (y squared) over (xy minus x squared).

Degree 2 on top and on the bottom, so homogeneous. Dividing top and bottom by x squared gives v squared over (v minus 1).

So v plus x dv/dx equals v squared over (v minus 1), and x dv/dx equals v squared over (v minus 1) minus v, which is v over (v minus 1).

Separating: (v minus 1) dv over v equals dx over x. The left side is 1 minus 1 over v, which integrates to v minus log v.

So v minus log v equals log x plus c, and putting v = y over x gives y over x minus log(y over x) equals log x plus c, that is y over x minus log y equals c.

dy/dx = y^2/(x y - x^2)

y/x - log(y) = C

The logarithms combined at the last step, which is why the x disappeared. Watching for that combination is worth a minute: it usually tidies the answer considerably.

Three: a quotient with a square root

Solve dy/dx = (y plus sqrt(x squared plus y squared)) over x, for positive x.

Every term is of degree 1, including the square root, because the square root of a degree-2 expression is of degree 1. So it is homogeneous.

Putting y = vx, the right-hand side becomes v plus the square root of (1 plus v squared), so the v cancels on subtraction and x dv/dx equals sqrt(1 plus v squared).

Separating: dv over sqrt(1 plus v squared) equals dx over x. The left side is the standard integral that gives an inverse hyperbolic sine, which Module 1's chapter on the inverse hyperbolic functions derived.

So sinh inverse of v equals log x plus c, and putting v = y over x gives the answer.

dy/dx = (y + sqrt(x^2 + y^2))/x

asinh(y/x) - log(x) = C

Equivalently, taking the sinh of both sides, y over x equals sinh(log x plus c), which can be expanded into an algebraic form; the implicit answer above is the one to write.

This is the first place in Module 2 where a result from Module 1 is used directly, and it is worth noticing: the two halves of the paper are not separate subjects.

munotes.in196

Worked Homogeneous Equations

Four: with the x and y roles reversed

Solve dy/dx = (x squared plus y squared) over (x squared).

Homogeneous of degree 2 over degree 2. Putting y = vx gives v plus x dv/dx equal to 1 plus v squared, so x dv/dx equals 1 minus v plus v squared.

The quadratic 1 minus v plus v squared has negative discriminant, so completing the square gives an arctangent.

dy/dx = (x^2 + y^2)/x^2

2 atan((2y/x - 1)/sqrt(3))/sqrt(3) - log(x) = C

The root three comes from the completed square, and it is the signature of an irreducible quadratic in v. Expect it rather than suspecting a mistake.

Five: an equation that looks homogeneous and is not

Solve dy/dx = (x squared plus y) over x.

The top has a degree-2 term and a degree-1 term, so it is not homogeneous. Try the substitution anyway and see what goes wrong: putting y = vx gives v plus x dv/dx equal to (x squared plus vx) over x, which is x plus v, so x dv/dx equals x. The v has cancelled but so has everything else, and dv equals dx, giving v equal to x plus c.

That happens to work here, and the answer is y equal to x squared plus cx. But it worked by luck: the substitution left an equation in x alone, which is not what the method promises, and on a genuinely non-homogeneous equation it leaves a mixture of x and v that separates for neither.

dy/dx = (x^2 + y)/x

y = x^2 + C x

The honest route is the linear one: the equation is dy/dx minus y over x equal to x, which is linear of the first order, and the chapter on the linear equation solves it in three lines with no guessing.

The test to apply before substituting is the one at the top of the previous chapter: divide out and see whether the right-hand side is a function of y over x alone. Here it is x plus y over x, which contains a bare x, so it is not.

The routine, condensed

  1. Check the degrees.
  2. Put y = vx and dy/dx = v plus x dv/dx.
  3. Simplify to x dv/dx equal to something in v alone. Every x must cancel.
  4. Separate: that something's reciprocal times dv equals dx over x.
  5. Integrate. Expect a logarithm on the right, and on the left either a logarithm, an arctangent, or a partial fraction.
  6. Put v = y over x back.
  7. Combine logarithms if you can.
munotes.in197

Worked Homogeneous Equations

Check yourself

dy/dx = (2y - x)/x

y = x + C x^2

dy/dx = (x + 2y)/x

y = -x + C x^2

dy/dx = y/x + y^2/x^2

x/y + log(x) = C

The third needed partial fractions on the v side, and the answer combines into a tidy relation between x over y and log x.

Contents This chapter on its own page

munotes.in198

Chapter Ninety

Non-Homogeneous Linear Equations

Syllabus topic Module 2, "2.1 Equation of the first order and of the first degree"

In one line

Move the origin to where the two lines meet, and the equation becomes homogeneous.

MU's label, and what it means

"Non-homogeneous linear equations". The equation she means has this form.

(a x + b y + c) dx + (a' x + b' y + c') dy = 0

Both brackets are linear in x and y, and both carry a constant term. Without those constants the equation would be homogeneous in the sense of the previous chapter; with them it is not, because the constant is of degree zero while the other terms are of degree one.

So the whole problem is the two constants, and the method removes them.

The idea

Each bracket set to zero is a straight line. If the two lines meet at a point, shift the origin to that point and both constants vanish, because the lines then pass through the new origin.

The method

  1. Solve the two equations ax + by + c = 0 and a'x + b'y + c' = 0 simultaneously, getting the intersection (h, k).
  2. Substitute x = X + h and y = Y + k. Then dx = dX and dy = dY, so the derivative is unchanged.
  3. The equation becomes homogeneous in X and Y, with no constants.
  4. Solve it with Y = vX, as in the previous chapter.
  5. Substitute back: X = x minus h and Y = y minus k.

Step two is worth a sentence. Shifting by a constant does not change a derivative, so dY/dX is the same thing as dy/dx. That is why the substitution costs nothing.

Worked

Solve dy/dx = (x plus 2y minus 3) over (2x plus y minus 3).

Step one. The two lines are x plus 2y = 3 and 2x plus y = 3. Solving: subtracting twice the first from the second gives minus 3y = minus 3, so y = 1 and then x = 1. So h = 1 and k = 1.

Step two. Put x = X plus 1 and y = Y plus 1. The numerator becomes (X plus 1) plus 2(Y plus 1) minus 3, which is X plus 2Y. The denominator becomes 2X plus Y.

Step three. So dY/dX equals (X plus 2Y) over (2X plus Y), which is homogeneous.

Step four. Put Y = vX. Then v plus X dv/dX equals (1 plus 2v) over (2 plus v), so X dv/dX equals (1 minus v squared) over (2 plus v).

Separating: (2 plus v) dv over (1 minus v squared) equals dX over X. Partial fractions on the left, with 1 minus v squared as (1 minus v)(1 plus v), gives three halves over (1 minus v) plus one half over (1 plus v).

munotes.in199

Non-Homogeneous Linear Equations

Integrating: minus three halves log(1 minus v) plus one half log(1 plus v) equals log X plus c.

Collecting the logarithms and clearing the halves gives log(1 plus v) minus 3 log(1 minus v) minus 2 log X equal to a constant. Putting v = Y over X and simplifying, the powers of X cancel exactly, leaving (X plus Y) over (X minus Y) cubed equal to a constant.

Step five. Substituting back:

dy/dx = (x + 2y - 3)/(2x + y - 3)

(x + y - 2)/(x - y)^3 = C

The X minus Y became x minus y, because the shifts cancel in the difference, and the X plus Y became x plus y minus 2.

The cancellation to expect

In step four the powers of X always cancel completely. If one is left over, the shift was to the wrong point, or the algebra has gone wrong. That is a free check on the whole calculation.

When the lines do not meet

If the two lines are parallel, there is no intersection and the method fails at step one. That case has its own chapter, immediately after this one, with its own substitution.

The test: the lines are parallel exactly when ab' equals a'b, that is when the coefficients of x and y in the second bracket are a fixed multiple of those in the first.

Equationab' - a'bMethod
(x + 2y - 3)dx - (2x + y - 3)dy1 - 4, not zeroshift the origin
(x + y + 1)dx - (x + y - 1)dy1 - 1 = 0the parallel case
(2x + 3y - 1)dx - (4x + 6y - 5)dy12 - 12 = 0the parallel case

Check ab' minus a'b before you start. Two minutes spent solving simultaneous equations that have no solution is two minutes of an hour.

Check yourself

dy/dx = (x + y - 2)/(x - y)

atan((y - 1)/(x - 1)) - log((x - 1)^2 + (y - 1)^2)/2 = C

For that one the lines are x plus y = 2 and x minus y = 0, meeting at (1, 1). The shift gives dY/dX equal to (X plus Y) over (X minus Y), which is exactly the equation worked at the end of the previous chapter, so its answer applies with X = x minus 1 and Y = y minus 1.

Note that the answer is not algebraic: it contains an arctangent, as the previous chapter's warning said it would. Rearranging until a polynomial appears would produce something that does not satisfy the equation.

Contents This chapter on its own page

munotes.in200

Chapter Ninety-One

When the Two Lines Are Parallel

Syllabus topic Module 2, "2.1 Equation of the first order and of the first degree"

In one line

When the two lines are parallel there is no point to move to, so substitute for the combination they share.

When it happens

The two brackets set to zero are parallel lines exactly when ab' equals a'b, that is when the second bracket's x and y coefficients are a fixed multiple of the first's.

(x + y + 1) dx - (x + y - 1) dy = 0

(2x + 3y - 1) dx - (4x + 6y - 5) dy = 0

In the first, both brackets have coefficients 1 and 1. In the second, the coefficients 4 and 6 are twice 2 and 3. Neither has an intersection to shift to.

Why the previous method fails

Step one of the previous chapter asks you to solve two simultaneous equations. Parallel lines give a pair with no solution: eliminating one unknown eliminates the other as well and leaves a false statement such as 0 = 3.

That is the moment to stop and switch method, and recognising it quickly is the practical point of the ab' minus a'b test.

The substitution

Because the x and y coefficients are proportional, both brackets are functions of the same combination. Put v equal to that combination.

For the first example, both brackets involve x plus y, so put v = x plus y.

For the second, the first bracket is 2x plus 3y minus 1 and the second is 2(2x plus 3y) minus 5, so put v = 2x plus 3y.

Then dv/dx is a constant plus a multiple of dy/dx, so dy/dx can be written in terms of dv/dx, and the whole equation becomes one in v and x, which separates.

Worked

Solve dy/dx = (x plus y plus 1) over (x plus y minus 1).

Put v = x plus y. Then dv/dx equals 1 plus dy/dx, so dy/dx equals dv/dx minus 1.

Substituting: dv/dx minus 1 equals (v plus 1) over (v minus 1).

So dv/dx equals (v plus 1) over (v minus 1) plus 1, which is (v plus 1 plus v minus 1) over (v minus 1), that is 2v over (v minus 1).

Separating: (v minus 1) dv over (2v) equals dx. The left side is one half of (1 minus one over v) dv, which integrates to one half of (v minus log v).

So v minus log v equals 2x plus C, and substituting v = x plus y:

dy/dx = (x + y + 1)/(x + y - 1)

y - x - log(x + y) = C

The x plus y minus log(x plus y) equals 2x plus C rearranges to y minus x minus log(x plus y) equal to a constant, which is the printed form.

munotes.in201

When the Two Lines Are Parallel

Worked, with a multiple

Solve dy/dx = (2x plus 3y minus 1) over (4x plus 6y minus 5).

The second bracket is 2(2x plus 3y) minus 5, so put v = 2x plus 3y.

Then dv/dx equals 2 plus 3 dy/dx, so dy/dx equals (dv/dx minus 2) over 3.

Substituting: (dv/dx minus 2) over 3 equals (v minus 1) over (2v minus 5).

So dv/dx equals 2 plus 3(v minus 1) over (2v minus 5), which is (4v minus 10 plus 3v minus 3) over (2v minus 5), that is (7v minus 13) over (2v minus 5).

Separating: (2v minus 5) dv over (7v minus 13) equals dx. The left side is a proper division: two sevenths of (7v minus 13) is 2v minus 26 over 7, so the remainder is minus 9 over 7, and the fraction is two sevenths minus nine sevenths over (7v minus 13).

Integrating gives two sevenths of v, minus nine forty-ninths of the logarithm of (7v minus 13), and that equals x plus a constant.

dy/dx = (2x + 3y - 1)/(4x + 6y - 5)

2(2x + 3y)/7 - 9 log(7(2x + 3y) - 13)/49 - x = C

The exact constants inside the logarithm depend on how the division is arranged, and any equivalent form is correct; what matters is the shape, a linear term in v plus a logarithm of a linear function of v.

The two cases, side by side

Lines meetLines parallel
Testab' not equal to a'bab' equals a'b
Substitutionx = X + h, y = Y + kv = the shared combination
What it becomeshomogeneous in X, Yseparable in v and x
Theny = vxintegrate directly

Both end in an integration; they differ only in how they get there.

Check yourself

dy/dx = (x + y)/(x + y + 1)

(y - x)/2 + log(2x + 2y + 1)/4 = C

For that one, both brackets involve x plus y, so put v = x plus y, giving dv/dx equal to 1 plus v over (v plus 1), which is (2v plus 1) over (v plus 1). Separating gives (v plus 1) dv over (2v plus 1) equal to dx, and dividing out gives one half plus a half over (2v plus 1). Integrating and substituting v = x plus y gives the printed answer.

Contents This chapter on its own page

munotes.in202

Chapter Ninety-Two

The Exact Differential Equation

Syllabus topic Module 2, "2.1 Equation of the first order and of the first degree"

In one line

An equation is exact when its left-hand side is already the total differential of some function, so the solution is that function equal to a constant.

The idea before the test

Suppose there is a function F(x, y) whose total differential is exactly the left-hand side of the equation.

dF = (dF/dx) dx + (dF/dy) dy

Then the equation M dx plus N dy = 0 says dF = 0, which says F does not change. So F(x, y) = C, and that is the solution.

Nothing was integrated. The answer was already there, written as a differential, and all that was needed was to recognise it.

The simplest possible example

Consider the equation below.

2x dx + 2y dy = 0

The left side is the differential of x squared plus y squared. So the solution is x squared plus y squared = C, a family of circles.

(2x) dx + (2y) dy = 0

x^2 + y^2 = C

You could also have separated the variables and got the same answer. The point is that no integration of a quotient was needed: the left side was a differential already.

What exact means, formally

The equation M(x, y) dx plus N(x, y) dy = 0 is exact if there exists a function F with:

dF/dx = M

dF/dy = N

Then the solution is F = C.

So solving an exact equation is really a matter of recovering F from its two partial derivatives, which is the subject of the chapter after the next.

A worked recognition

Consider the equation below.

(2x + 3y) dx + (3x + 2y) dy = 0

Is there an F whose x-derivative is 2x plus 3y and whose y-derivative is 3x plus 2y?

Try F = x squared plus 3xy plus y squared. Its x-derivative is 2x plus 3y, which matches. Its y-derivative is 3x plus 2y, which matches. So yes.

(2x + 3y) dx + (3x + 2y) dy = 0

x^2 + 3 x y + y^2 = C

Guessing F works for simple equations and is worth trying first. For anything harder there is a procedure, and there is also a test that tells you in advance whether an F exists at all.

Why this is worth a section of the syllabus

Three reasons.

Many equations are exact and it is not obvious. The test takes ten seconds and the solution is then nearly free.

An equation that is not exact can often be made exact, by multiplying through by an integrating factor. That is MU's next label and six chapters of this book, and it turns the exact method into by far the most widely applicable one in section 2.1.

munotes.in203

The Exact Differential Equation

Every method in section 2.1 is a special case of it. A separable equation is exact. A linear equation becomes exact after its integrating factor. A homogeneous equation becomes exact after one of the standard factors. So exactness is the idea underneath the whole section rather than one technique among several.

The differential of a product, which you will meet constantly

Recognising a few standard differentials makes exactness visible by eye, and they are worth learning now.

ExpressionIs the differential of
x dy + y dxxy
x dy - y dx, over x squaredy/x
y dx - x dy, over y squaredx/y
2x dx + 2y dyx squared plus y squared
(x dx + y dy) over (x squared plus y squared)half the logarithm of (x squared plus y squared)
(x dy - y dx) over (x squared plus y squared)the arctangent of y over x

The first is the product rule read backwards, and the second and third are the quotient rule. The last two turn up in every homogeneous equation whose answer involves a logarithm or an arctangent, which is why the answers in the previous two chapters looked as they did.

Check yourself

Which of these left-hand sides is a differential, and of what?

Left sideDifferential of
y dx + x dyxy
2xy dx + x squared dyx squared y
cos y dx - x sin y dyx cos y
y dx - x dynot a differential

The last row is the one that matters: y dx minus x dy is not exact, and the next chapter's test shows why in one line. It becomes exact after division by y squared, which is the integrating-factor idea arriving early.

(y) dx + (x) dy = 0

x y = C

(2xy) dx + (x^2) dy = 0

x^2 y = C

Contents This chapter on its own page

munotes.in204

Chapter Ninety-Three

The Test for Exactness, and Why It Works

Syllabus topic Module 2, "2.1 Equation of the first order and of the first degree"

In one line

The equation M dx plus N dy = 0 is exact exactly when the y-derivative of M equals the x-derivative of N.

The test

dM/dy = dN/dx

That is the whole test, it takes two differentiations, and it is both necessary and sufficient on any region without holes in it, which every region in this paper is.

Why it works

If the equation is exact then M is the x-derivative of some F and N is its y-derivative. So the y-derivative of M is the mixed second derivative of F, taken x first and then y, and the x-derivative of N is the same mixed derivative taken the other way round.

And for any function with continuous second derivatives, the two mixed partial derivatives are equal. That is Clairaut's theorem on mixed partials, and it is the reason the test looks the way it does.

So exactness forces the test to hold. The converse, that the test holds only for exact equations, needs the region to have no holes in it, and is proved by constructing F explicitly, which is what the next chapter's procedure does.

Worked, one that passes

(2x + 3y) dx + (3x + 2y) dy = 0

M is 2x plus 3y, so the y-derivative of M is 3.

N is 3x plus 2y, so the x-derivative of N is 3.

They are equal, so the equation is exact.

(2x + 3y) dx + (3x + 2y) dy = 0

x^2 + 3 x y + y^2 = C

Worked, one that fails

(y) dx + (-x) dy = 0

M is y, so the y-derivative of M is 1.

N is minus x, so the x-derivative of N is minus 1.

One is not minus one, so the equation is not exact.

That is the y dx minus x dy of the previous chapter, and the test has confirmed it in one line.

But it is nearly exact. Divide through by y squared and the left side becomes the differential of x over y.

(1/y) dx + (-x/y^2) dy = 0

x/y = C

Testing that one: M is one over y, so the y-derivative is minus one over y squared. N is minus x over y squared, so the x-derivative is minus one over y squared. Equal, so it is exact. The division by y squared was an integrating factor, and that is the whole idea of the next six chapters.

Worked, a longer one

(3x^2 + 4xy) dx + (2x^2 + 2y) dy = 0

The y-derivative of M is 4x. The x-derivative of N is 4x. Equal, so exact.

(3x^2 + 4xy) dx + (2x^2 + 2y) dy = 0

x^3 + 2 x^2 y + y^2 = C

munotes.in205

The Test for Exactness, and Why It Works

Getting M and N the right way round

The most common error with this test is differentiating the wrong one.

M is the coefficient of dx, and it is differentiated with respect to y. N is the coefficient of dy, and it is differentiated with respect to x.

So each is differentiated with respect to the other variable. A useful way to keep it: the test compares the two ways of arriving at the same mixed second derivative, so it must cross over.

Applying it to the equations of the earlier chapters

EquationMNdM/dydN/dxExact
2x dx + 2y dy2x2y00yes
y dx + x dyyx11yes
y dx - x dyy-x1-1no
2xy dx + x^2 dy2xyx^22x2xyes
y^2 dx + 2xy dyy^22xy2y2yyes
y dx + 2x dyy2x12no

The last two rows differ by a factor on one term, and they are on opposite sides of the line. Exactness is a delicate property: almost any change to an exact equation destroys it, which is why the integrating-factor chapters matter so much.

The order to do things in section 2.1

  1. Is it separable? Separate.
  2. Is it exact? Solve as exact.
  3. Is it homogeneous? y = vx.
  4. Is it linear? The integrating factor of the linear chapter.
  5. Otherwise, hunt for an integrating factor.

Testing for exactness is second on the list because it costs ten seconds and, when it passes, the rest of the work is short.

Check yourself

EquationExact
(x + y) dx + (x + 2y) dyyes
(x + y) dx + (x - y) dyyes
(x + y) dx + (2x + y) dyno
(sin y) dx + (x cos y) dyyes
(y e to the xy) dx + (x e to the xy) dyyes

(x + y) dx + (x + 2y) dy = 0

x^2/2 + x y + y^2 = C

(sin(y)) dx + (x cos(y)) dy = 0

x sin(y) = C

Contents This chapter on its own page

munotes.in206

Chapter Ninety-Four

Solving an Exact Equation

Syllabus topic Module 2, "2.1 Equation of the first order and of the first degree"

In one line

Integrate M with respect to x, then add whatever terms of N have no x in them.

The shortcut, stated first

For an exact equation M dx plus N dy = 0, the solution is:

the integral of M with respect to x, treating y as constant, plus the integral of those terms of N that contain no x, with respect to y, all set equal to C.

That is the form to use in an examination. It avoids the double-counting that the long method invites, and it is quick.

Worked with the shortcut

(2x + 3y) dx + (3x + 2y) dy = 0

Integrate M with respect to x: the integral of 2x plus 3y, treating y as a constant, is x squared plus 3xy.

Now look at N, which is 3x plus 2y. The terms with no x in them: just 2y. Integrate that with respect to y: y squared.

Add them: x squared plus 3xy plus y squared.

(2x + 3y) dx + (3x + 2y) dy = 0

x^2 + 3 x y + y^2 = C

The 3x in N was ignored, and correctly: it has already been accounted for by the 3xy that came from integrating M. That is what the shortcut avoids double-counting.

The long method, and why the shortcut follows from it

The long method recovers F from its two partial derivatives, and it is what a question asking you to "show that the equation is exact and solve it" may want in full.

  1. Integrate M with respect to x, treating y as constant. This gives F up to a function of y alone, because any function of y alone differentiates to zero with respect to x. Call that unknown function g(y).
  2. Differentiate the result with respect to y.
  3. Set it equal to N. Everything containing x must cancel, leaving an equation for g prime of y.
  4. Integrate to find g.
  5. The solution is F = C.

On the same example. Step one gives x squared plus 3xy plus g(y). Step two gives 3x plus g prime. Step three sets that equal to 3x plus 2y, so g prime is 2y. Step four gives g = y squared. Step five gives the answer above.

Step three is the check built into the method: if the x terms do not cancel, the equation was not exact and you have made an error, either in the test or in step one.

Worked, a harder one

(3x^2 + 4xy) dx + (2x^2 + 2y) dy = 0

Test first: the y-derivative of M is 4x, the x-derivative of N is 4x. Exact.

Shortcut: integrating M with respect to x gives x cubed plus 2x squared y. The terms of N with no x are 2y, integrating to y squared.

munotes.in207

Solving an Exact Equation

(3x^2 + 4xy) dx + (2x^2 + 2y) dy = 0

x^3 + 2 x^2 y + y^2 = C

Worked, with a trigonometric function

(sin(y) + y cos(x)) dx + (x cos(y) + sin(x)) dy = 0

Test: the y-derivative of M is cos y plus cos x. The x-derivative of N is cos y plus cos x. Exact.

Shortcut: integrating M with respect to x gives x sin y plus y sin x. Terms of N with no x: none, because both x cos y and sin x contain an x.

(sin(y) + y cos(x)) dx + (x cos(y) + sin(x)) dy = 0

x sin(y) + y sin(x) = C

The answer is the whole of the first integration, and nothing was added. That happens whenever every term of N contains an x, and it is a sign that you have done it right rather than that you have missed something.

Worked, with exponentials

(y e^(x y) + 2x) dx + (x e^(x y) - 2y) dy = 0

Test: the y-derivative of M is e to the xy plus xy e to the xy. The x-derivative of N is the same. Exact.

Shortcut: integrating M with respect to x gives e to the xy plus x squared. Terms of N with no x: minus 2y, integrating to minus y squared.

(y e^(x y) + 2x) dx + (x e^(x y) - 2y) dy = 0

e^(x y) + x^2 - y^2 = C

The mirror version

You may integrate N with respect to y first instead, and then add the terms of M with no y in them, integrated with respect to x. The answer is the same, and it is worth choosing whichever of the two integrals is easier.

On the trigonometric example: integrating N with respect to y gives x sin y plus y sin x, the same expression, and the terms of M with no y in them are none. Same answer, same work.

The check, which is two differentiations

Differentiate your F with respect to x and see whether you get M. Then with respect to y and see whether you get N. If both hold, the answer is right and no further argument is needed.

That is exactly what the checker does with every one of these blocks, and it is what you should do by hand in the examination.

Check yourself

(2x y) dx + (x^2 + 3 y^2) dy = 0

x^2 y + y^3 = C

(y^2 + 2x) dx + (2 x y) dy = 0

x y^2 + x^2 = C

munotes.in208

Solving an Exact Equation

(e^y) dx + (x e^y + 2y) dy = 0

x e^y + y^2 = C

(cos(x) cos(y)) dx + (-sin(x) sin(y)) dy = 0

sin(x) cos(y) = C

For the last one, test it first: the y-derivative of cos x cos y is minus cos x sin y, and the x-derivative of minus sin x sin y is minus cos x sin y. Equal, so exact, and the shortcut then gives the answer in one line.

Contents This chapter on its own page

munotes.in209

Chapter Ninety-Five

Integrating Factors: What They Are and Why They Exist

Syllabus topic Module 2, "2.1 Equation of the first order and of the first degree"

In one line

An equation that is not exact can often be made exact by multiplying it by the right function, and that function is the integrating factor.

MU's label

"Integrating Factor". It is the technique that makes the exact method the most widely applicable one in section 2.1, and there are five standard ways of finding one, each with its own chapter.

The idea, on the simplest possible example

Take the equation below.

(y) dx + (-x) dy = 0

The test fails: the y-derivative of M is 1, the x-derivative of N is minus 1.

Now multiply everything by one over y squared.

(1/y) dx + (-x/y^2) dy = 0

Test again. The y-derivative of one over y is minus one over y squared. The x-derivative of minus x over y squared is minus one over y squared. Equal. The equation is now exact.

And the left side is the differential of x over y, so the solution is immediate.

(1/y) dx + (-x/y^2) dy = 0

x/y = C

That one over y squared is an integrating factor, and multiplying by it turned an equation nobody could solve directly into one that solves itself.

Why multiplying does not change the solutions

Multiplying M dx plus N dy = 0 by any function that is not zero leaves the same equation: if the left side was zero, so is any multiple of it.

With one caveat, which is worth stating. Wherever the factor is zero or undefined, the equivalence breaks. In the example above the factor is one over y squared, which is undefined at y = 0, and y = 0 is indeed a solution of the original equation that the answer x over y = C cannot produce.

So: note where your integrating factor fails, and check those places separately. That is the same discipline as noting what you divided by when separating.

An integrating factor always exists

For any first-order equation there is always some integrating factor, and in fact infinitely many. That is a pleasing theorem and a useless one, because finding one in general is as hard as solving the equation.

What is useful is that for several recognisable shapes of equation, a formula gives one. Five such shapes are standard, they cover almost everything a paper sets, and each gets a chapter.

ShapeIntegrating factorChapter
recognisable by eyea standard differentialthe next one
homogeneous, with Mx + Ny not zero1/(Mx + Ny)third from here
of the form y f(xy) dx + x g(xy) dy1/(xy(f - g))fourth
where (1/N)(dM/dy - dN/dx) is a function of x alonee to the integral of thatfifth
where (1/M)(dN/dx - dM/dy) is a function of y alonee to the integral of thatsixth
munotes.in210

Integrating Factors: What They Are and Why They Exist

The order to try them in

Under time pressure this matters, so here is the order.

  1. By eye. Does the equation contain x dy plus y dx, or x dy minus y dx, or one of the other standard groupings? If so the factor is often obvious and the work is over in a line.
  2. Is it linear? Then use the linear equation's own factor, which is a formula requiring no thought.
  3. Is it homogeneous? Then 1 over (Mx plus Ny).
  4. Is it y f(xy) dx plus x g(xy) dy? Then 1 over (xy(f minus g)).
  5. Otherwise compute (1/N)(dM/dy minus dN/dx) and see whether it is a function of x alone; if not, compute the other one and see whether it is a function of y alone.

Steps four and five are the last resorts because they involve real computation. Steps one to three cover most questions.

Worked, by eye

(y) dx + (x + x^2 y^2) dy = 0

Rearrange as (y dx plus x dy) plus x squared y squared dy = 0. The first bracket is the differential of xy, which the exact chapter listed. So try dividing by (xy) squared, which is x squared y squared.

That gives (y dx plus x dy) over (xy) squared, plus dy, and the first part is the differential of minus one over (xy).

(1/(x^2 y)) dx + (1/(x y^2) + 1) dy = 0

-1/(x y) + y = C

Testing the multiplied equation: M is one over (x squared y), whose y-derivative is minus one over (x squared y squared). N is one over (xy squared) plus 1, whose x-derivative is minus one over (x squared y squared). Equal, so it is exact, and the answer follows.

What to do when none of the five works

Say so. An equation with no accessible integrating factor is not a failure of the student; it is an equation outside this syllabus. MU's paper sets equations that yield to one of the five, and if none fits, re-read the question: it is usually separable or linear and has been mis-read.

Check yourself

For each, say which rule the factor comes from.

EquationFactor from
y dx - x dy = 0by eye, 1/y squared
(x^2 + y^2) dx - 2xy dy = 0homogeneous
dy/dx + 2y = xthe linear formula
(y + xy^2) dx - x dy = 0the y f(xy) form

(1/y) dx + (-x/y^2) dy = 0

x/y = C

(2x y) dx + (x^2) dy = 0

x^2 y = C

Contents This chapter on its own page

munotes.in211

Chapter Ninety-Six

Finding an Integrating Factor by Inspection

Syllabus topic Module 2, "2.1 Equation of the first order and of the first degree"

In one line

Learn six standard differentials and you will spot the factor by eye more often than by formula.

The six groupings

GroupingIs the differential of
x dy + y dxxy
(x dy - y dx) over x squaredy over x
(y dx - x dy) over y squaredx over y
(x dx + y dy)half of (x squared plus y squared)
(x dx + y dy) over (x squared plus y squared)half the logarithm of (x squared plus y squared)
(x dy - y dx) over (x squared plus y squared)the arctangent of y over x

The first three are the product and quotient rules read backwards. The last three are what turns up whenever an answer contains a logarithm of x squared plus y squared or an arctangent, which the homogeneous chapters showed happens often.

Two more, built from the first row, are worth having.

GroupingIs the differential of
(x dy + y dx) over (xy)the logarithm of xy
(x dy + y dx) over (xy) squaredminus one over (xy)

How to use them

  1. Group the terms of the equation, looking for one of the six on the left.
  2. If a grouping is present but with the wrong denominator, the missing denominator is the integrating factor.
  3. Multiply through by it and check that the equation is now exact.
  4. Write down the differential and integrate the rest.

Step two is the whole technique. If you can see x dy plus y dx and the equation also has an x squared y squared in it, try dividing by (xy) squared.

Worked: the simplest

(y) dx + (-x) dy = 0

The left side is y dx minus x dy, which is the third grouping without its denominator. So divide by y squared.

(1/y) dx + (-x/y^2) dy = 0

x/y = C

Or divide by x squared instead, using the second grouping with a sign change, and get y over x = C, which is the same family of straight lines through the origin written upside down. Either factor works, which is a reminder that an integrating factor is never unique.

(y/x^2) dx + (-1/x) dy = 0

y/x = C

Worked: with an extra term

(y) dx + (x + x^2 y^2) dy = 0

Group it: (y dx plus x dy) plus x squared y squared dy = 0.

The first bracket is the differential of xy. The extra term has (xy) squared in it, which suggests dividing by (xy) squared.

Doing that gives (y dx plus x dy) over (xy) squared, plus dy, and the first part is the differential of minus one over xy.

munotes.in212

Finding an Integrating Factor by Inspection

(1/(x^2 y)) dx + (1/(x y^2) + 1) dy = 0

-1/(x y) + y = C

Worked: with a square root

(x) dx + (y) dy = 0

That is the fourth grouping exactly, so no factor is needed at all: the equation is already exact.

(x) dx + (y) dy = 0

x^2 + y^2 = C

And with a denominator:

(x/(x^2 + y^2)) dx + (y/(x^2 + y^2)) dy = 0

log(x^2 + y^2) = C

That is the fifth grouping, and the answer could equally be written as x squared plus y squared = C with a differently named constant, since the logarithm of a constant is a constant.

Worked: producing an arctangent

(-y) dx + (x) dy = 0

That is x dy minus y dx. Dividing by x squared plus y squared gives the sixth grouping.

(-y/(x^2 + y^2)) dx + (x/(x^2 + y^2)) dy = 0

atan(y/x) = C

Dividing instead by x squared gives y over x = C, which is the same family. An arctangent equal to a constant and its tangent equal to a constant are the same statement, which is why the two answers agree.

When inspection is the wrong tool

If the equation does not contain one of the groupings, do not spend time staring at it. Move to the formulas of the next four chapters, which need no inspiration at all.

The practical test: give it thirty seconds. If no grouping appears in that time, it is not there.

Check yourself

Which grouping, and which factor?

EquationGroupingFactor
y dx + x dy + y dy = 0x dy + y dxnone needed, already exact
y dx - x dy + x dx = 0y dx - x dy1 over y squared, or 1 over x squared
x dx + y dy + dy = 0x dx + y dynone needed

(y) dx + (x + y) dy = 0

x y + y^2/2 = C

(x) dx + (y + 1) dy = 0

x^2/2 + y^2/2 + y = C

Contents This chapter on its own page

munotes.in213

Chapter Ninety-Seven

The Integrating Factor of a Homogeneous Equation

Syllabus topic Module 2, "2.1 Equation of the first order and of the first degree"

In one line

For a homogeneous equation, one over (Mx plus Ny) is an integrating factor, provided that quantity is not zero.

The rule

If M dx plus N dy = 0 is homogeneous, meaning M and N are homogeneous of the same degree, then multiplying through by one over (Mx plus Ny) makes it exact.

(M x + N y) is not zero

The condition is not decoration: where Mx plus Ny vanishes, the factor is undefined and the rule says nothing.

Why it is worth having

A homogeneous equation can always be solved by y = vx, which the earlier chapters did. So why a second method?

Because y = vx often leads to a partial-fraction integration in v, and this route sometimes avoids it entirely. On a paper that gives you ten minutes, having two routes and taking the shorter one is worth real marks.

It is also the answer to a question that asks specifically for an integrating factor.

Worked

(x^2 + y^2) dx + (-2 x y) dy = 0

Both parts are homogeneous of degree 2, so the rule applies.

Compute Mx plus Ny: x(x squared plus y squared) plus y(minus 2xy), which is x cubed plus xy squared minus 2xy squared, that is x cubed minus xy squared, or x(x squared minus y squared).

So the factor is one over x(x squared minus y squared).

Multiplying through and testing: the equation becomes exact, and its solution is below.

((x^2 + y^2)/(x(x^2 - y^2))) dx + (-2y/(x^2 - y^2)) dy = 0

log(x) - log(x^2 - y^2) = C

Combining the logarithms gives x over (x squared minus y squared) equal to a constant, or equivalently x squared minus y squared equal to Cx.

dy/dx = (x^2 + y^2)/(2 x y)

(x^2 - y^2)/x = C

That last line is the same equation solved by y = vx in the homogeneous chapter, and the two answers agree, which is the check worth making when you have two methods.

Worked, a second

(y^2) dx + (x^2 - x y) dy = 0

Homogeneous of degree 2 on both parts. Mx plus Ny is x y squared plus y(x squared minus xy), which is x y squared plus x squared y minus x y squared, that is x squared y.

So the factor is one over (x squared y).

((y)/(x^2)) dx + ((1 - y/x)/y) dy = 0

-y/x + log(y) = C

Testing the multiplied equation: M becomes y over x squared, whose y-derivative is one over x squared; N becomes (x squared minus xy) over (x squared y), which is one over y minus one over x, whose x-derivative is one over x squared. Equal, so exact.

munotes.in214

The Integrating Factor of a Homogeneous Equation

And that answer is the one the worked-homogeneous chapter got for the same equation by the v substitution, with the sign of the constant absorbed.

Why the rule works

The proof uses Euler's theorem on homogeneous functions, which says that for a function homogeneous of degree n, x times its x-derivative plus y times its y-derivative equals n times the function.

Applying that to the candidate F and doing the algebra shows that the multiplied equation satisfies the exactness test. The details are longer than the rule is useful, and a question asking "state an integrating factor for a homogeneous equation" wants the rule and the condition, not the proof.

The condition, and when it bites

Mx plus Ny is zero exactly when the equation, written as dy/dx, has the form minus y over x, that is when the solution curves are the straight lines y = Cx.

So the rule fails precisely on the one homogeneous equation that needs no method at all.

dy/dx = -y/x

x y = C

For that equation M is y and N is x, so Mx plus Ny is 2xy, which is not zero, and the rule does apply. The genuinely degenerate case is y dx minus x dy... no: there M is y and N is minus x, so Mx plus Ny is xy minus xy, which is zero. And that equation was solved by inspection two chapters ago, with the factor one over y squared.

So the honest statement: when Mx plus Ny is zero, use inspection instead, and the equation will be one of the easy ones.

Check yourself

EquationMx + NyFactor
(x^2 + y^2) dx - 2xy dyx(x^2 - y^2)its reciprocal
y^2 dx + (x^2 - xy) dyx^2 yits reciprocal
y dx - x dy0the rule fails; use inspection
(x + y) dx + (x - y) dyx^2 - y^2 + 2xyits reciprocal

dy/dx = -(x + y)/(x - y)

x^2 + 2 x y - y^2 = C

The last row's equation is exact already, which the test confirms: the y-derivative of (x plus y) is 1 and the x-derivative of (x minus y) is 1. So no factor is needed, and the answer follows from the exact method in one line. Testing for exactness before hunting for a factor is always worth the ten seconds.

Contents This chapter on its own page

munotes.in215

Chapter Ninety-Eight

The Integrating Factor When the Equation Has the Form y f(xy) dx + x g(xy) dy

Syllabus topic Module 2, "2.1 Equation of the first order and of the first degree"

In one line

For an equation of the form y f(xy) dx plus x g(xy) dy = 0, the factor is one over xy(f minus g).

The shape

y f(x y) dx + x g(x y) dy = 0

Both coefficients depend on x and y only through the product xy, apart from the single y or x in front. Spotting the shape is the whole difficulty; once spotted, the factor is a formula.

The rule

mu = 1/(x y (f - g))

where f and g are evaluated at xy, and the rule needs f minus g not to be zero.

Why xy is the natural variable

Because the shape says the equation is really about the product xy. Put v = xy and the whole thing becomes an equation in v and one other variable, which separates.

That is also why the factor has an xy in it: the differential of xy is x dy plus y dx, and the factor is arranging for that grouping to appear.

Worked

y(1 + x y) dx + x(1 + 2 x y) dy = 0

Here f is 1 plus xy and g is 1 plus 2xy, so f minus g is minus xy, and the factor is minus one over (x squared y squared). The sign can be absorbed into the constant, so use one over (x squared y squared).

Multiplying through gives the equation below, and the first thing to do is test it.

M becomes (1 plus xy) over (x squared y), which is one over (x squared y) plus one over x. Its y-derivative is minus one over (x squared y squared).

N becomes (1 plus 2xy) over (xy squared), which is one over (xy squared) plus 2 over y. Its x-derivative is minus one over (x squared y squared).

Equal, so the multiplied equation is exact.

Now the shortcut of the exact chapter. Integrating M with respect to x gives minus one over (xy) plus log x. The terms of N with no x in them are 2 over y, which integrates to 2 log y.

((1 + x y)/(x^2 y)) dx + ((1 + 2 x y)/(x y^2)) dy = 0

-1/(x y) + log(x y^2) = C

The log x plus 2 log y combined into the logarithm of x y squared, which is the tidying step worth doing.

Worked, a second

y(2 + x y) dx + x(1 + x y) dy = 0

Here f is 2 plus xy and g is 1 plus xy, so f minus g is 1, and the factor is simply one over xy.

Multiplying through: M becomes (2 plus xy) over x, which is 2 over x plus y. N becomes (1 plus xy) over y, which is one over y plus x.

munotes.in216

The Integrating Factor When the Equation Has the Form y f(xy) dx + x g(xy) dy

Test: the y-derivative of M is 1, the x-derivative of N is 1. Exact.

Integrating M with respect to x gives 2 log x plus xy. The terms of N with no x: one over y, integrating to log y.

((2/x) + y) dx + ((1/y) + x) dy = 0

2 log(x) + x y + log(y) = C

That is the case the rule is pleasant on: f minus g came out as a constant, so the factor was as simple as it could be.

When to use it, and when not

In practice this is the fourth thing to try, after inspection, the linear formula and the homogeneous rule, because those three are quicker and cover more ground.

Here is an equation that has the shape and yields faster to inspection.

(y + x y^2) dx + (-x) dy = 0

By the formula: f is 1 plus xy and g is minus 1, so f minus g is 2 plus xy, and the factor is one over xy(2 plus xy). That is legitimate and unpleasant.

By inspection: divide through by y squared. The equation becomes (one over y plus x) dx minus (x over y squared) dy = 0, whose y-derivative of M is minus one over y squared and whose x-derivative of N is minus one over y squared. Exact, in ten seconds.

(1/y + x) dx + (-x/y^2) dy = 0

x/y + x^2/2 = C

Both routes are correct. One takes ten seconds and the other five minutes, which on a one-hour paper decides whether you finish.

The examinable content

Being able to state the rule, "for an equation of the form y f(xy) dx plus x g(xy) dy = 0 the integrating factor is one over xy(f minus g)", and to apply it to a case where f minus g comes out simple. That is what is asked. Grinding through a hard instance of it under time pressure is not what the rule is for.

Check yourself

Equationf(xy)g(xy)f - gFactor
y(1 + xy) dx + x(1 + 2xy) dy1 + xy1 + 2xy-xy1 over x^2y^2
y dx + x(1 + xy) dy11 + xy-xy1 over x^2y^2
y(2 + xy) dx + x(1 + xy) dy2 + xy1 + xy11 over xy
y(1 + xy) dx + x dy1 + xy1xy1 over x^2y^2

((1/x) + y) dx + ((1/y) + x) dy = 0

log(x) + log(y) + x y = C

The last block is the second row's equation after multiplying by its factor, and it is exact: both cross-derivatives are 1.

Contents This chapter on its own page

munotes.in217

Chapter Ninety-Nine

The Integrating Factor That Depends on x Alone

Syllabus topic Module 2, "2.1 Equation of the first order and of the first degree"

In one line

If (1/N)(dM/dy minus dN/dx) turns out to be a function of x alone, the factor is e to the integral of it.

The rule

Compute the quantity below.

h = (dM/dy - dN/dx)/N

If h contains no y, then the integrating factor is:

mu = e^(integrate(h, x))

If h does contain a y, this rule does not apply, and the mirror rule of the next chapter is the one to try.

Where it comes from, which is worth seeing

Suppose the factor is a function of x alone, call it mu(x). Multiplying the equation gives mu M dx plus mu N dy = 0, and the exactness test on that is: the y-derivative of (mu M) equals the x-derivative of (mu N).

Since mu has no y, the left side is mu times dM/dy. The right side, by the product rule, is mu prime times N plus mu times dN/dx.

Rearranging: mu prime over mu equals (dM/dy minus dN/dx) over N, which is h.

So mu prime over mu equals h, a separable equation for mu whose solution is e to the integral of h.

That derivation also shows why h has to be free of y: mu was assumed to be a function of x alone, so mu prime over mu is a function of x alone, so h must be too. The condition is not an extra requirement bolted on; it is the assumption made visible.

Worked: h comes out as one over x

(x^2 + y^2 + x) dx + (x y) dy = 0

Test exactness first. The y-derivative of M is 2y. The x-derivative of N is y. Not equal, so not exact.

Compute h: (2y minus y) over xy, which is y over xy, which is one over x. No y in it, so the rule applies.

The integral of one over x is log x, so the factor is e to the log x, which is x.

Multiplying through by x gives the equation below. Test it: the y-derivative of M is 2xy, the x-derivative of N is 2xy. Exact.

Integrating M with respect to x gives x to the fourth over 4, plus x squared y squared over 2, plus x cubed over 3. The terms of N with no x: none.

(x^3 + x y^2 + x^2) dx + (x^2 y) dy = 0

x^4/4 + x^2 y^2/2 + x^3/3 = C

Worked: h comes out as a constant

This is the case the rule is set for, because a constant integrates to a multiple of x and the factor is a clean exponential.

(3 x^2 y + 2 x y + y^3) dx + (x^2 + y^2) dy = 0

munotes.in218

The Integrating Factor That Depends on x Alone

The y-derivative of M is 3x squared plus 2x plus 3y squared. The x-derivative of N is 2x. Not exact.

h is (3x squared plus 2x plus 3y squared minus 2x) over (x squared plus y squared), which is 3(x squared plus y squared) over (x squared plus y squared), which is 3.

The integral of 3 is 3x, so the factor is e to the 3x.

(e^(3x)(3 x^2 y + 2 x y + y^3)) dx + (e^(3x)(x^2 + y^2)) dy = 0

e^(3x)(x^2 y + y^3/3) = C

Worked: h comes out as a multiple of one over x

(y) dx + (2x) dy = 0

The y-derivative of M is 1, the x-derivative of N is 2, so it is not exact.

h is (1 minus 2) over 2x, which is minus one over 2x. No y, so the rule applies, and the integral is minus half the logarithm of x, giving the factor x to the power minus one half.

That works, and it is worth noticing that the same equation is separable in two lines.

dy/dx = -y/(2x)

y^2 x = C

Two correct routes, and the quicker one wins. That is why this rule sits fifth on the list of things to try.

The order to try things in, once more

  1. Test for exactness. Ten seconds.
  2. Is it separable, or linear? Those have their own quick methods.
  3. Is a standard grouping visible? Thirty seconds.
  4. Is it homogeneous? Use 1 over (Mx plus Ny).
  5. Only then compute h and see whether it is free of y.
  6. If it is not, compute the mirror quantity of the next chapter.

Check yourself

EquationhFactor
(x^2 + y^2 + x) dx + xy dy1/xx
(3x^2y + 2xy + y^3) dx + (x^2 + y^2) dy3e^(3x)
(y) dx + (2x) dy-1/(2x)x to the power -1/2
(y) dx + (x) dy01, because it is already exact

The last row is the check that the rule is consistent: for an equation that is already exact, h is zero, its integral is zero, and the factor is e to the zero, which is 1. A rule that did not do that would be wrong.

Contents This chapter on its own page

munotes.in219

Chapter One Hundred

The Integrating Factor That Depends on y Alone

Syllabus topic Module 2, "2.1 Equation of the first order and of the first degree"

In one line

If (1/M)(dN/dx minus dM/dy) turns out to be a function of y alone, the factor is e to the integral of it, with respect to y.

The rule

Compute the quantity below, noticing that the difference is the other way round and the divisor is M and not N.

k = (dN/dx - dM/dy)/M

If k contains no x, the integrating factor is:

mu = e^(integrate(k, y))

The two rules side by side

Getting them the wrong way round is the commonest error here, so they are worth setting out together.

Factor a function of xFactor a function of y
Compute(dM/dy - dN/dx)/N(dN/dx - dM/dy)/M
Divide byNM
The differenceM firstN first
Must contain noyx
Integrate with respect toxy

Each column is the mirror of the other with x and y swapped and M and N swapped. If you can remember one, you can rebuild the other, and the way to check is that the conclusion must be a function of the variable you are going to integrate with respect to.

Why it is the mirror

Exactly the previous chapter's derivation with the roles of x and y interchanged. Assume the factor is mu(y), apply the exactness test to the multiplied equation, and the product rule now acts on the N term, giving mu prime over mu equal to k.

Worked

(y) dx + (2x - y e^y) dy = 0

Test: the y-derivative of M is 1. The x-derivative of N is 2. Not exact.

Try the x rule first: h is (1 minus 2) over (2x minus y e to the y), which contains a y. So the x rule fails.

Now the y rule: k is (2 minus 1) over y, which is one over y. No x, so the rule applies.

The integral of one over y is log y, so the factor is y.

Multiplying through by y gives the equation below. Test it: the y-derivative of M is 2y, and the x-derivative of N is 2y. Exact.

Integrating M with respect to x gives x y squared. The terms of N with no x: minus y squared e to the y, which integrates by parts twice.

(y^2) dx + (2 x y - y^2 e^y) dy = 0

x y^2 - y^2 e^y + 2 y e^y - 2 e^y = C

The three exponential terms are the integration by parts of y squared e to the y, and they are worth doing carefully rather than quoting.

Worked, a second

(3 x^2 y^4 + 2 x y) dx + (2 x^3 y^3 - x^2) dy = 0

The y-derivative of M is 12x squared y cubed plus 2x. The x-derivative of N is 6x squared y cubed minus 2x. Not exact.

munotes.in220

The Integrating Factor That Depends on y Alone

The x rule: h is (12x squared y cubed plus 2x minus 6x squared y cubed plus 2x) over (2x cubed y cubed minus x squared), which is (6x squared y cubed plus 4x) over (2x cubed y cubed minus x squared). That contains y, so the x rule fails.

The y rule: k is (6x squared y cubed minus 2x minus 12x squared y cubed minus 2x) over (3x squared y to the fourth plus 2xy), which is (minus 6x squared y cubed minus 4x) over (3x squared y to the fourth plus 2xy). Factorising the top as minus 2(3x squared y cubed plus 2x) and the bottom as y(3x squared y cubed plus 2x), that is minus 2 over y. No x.

The integral of minus 2 over y is minus 2 log y, so the factor is y to the power minus 2.

(3 x^2 y^2 + 2 x/y) dx + (2 x^3 y - x^2/y^2) dy = 0

x^3 y^2 + x^2/y = C

Testing: the y-derivative of M is 6x squared y minus 2x over y squared; the x-derivative of N is 6x squared y minus 2x over y squared. Equal.

The factorisation is the skill

In both worked examples, k looked terrible and then factorised into something clean. That is what always happens when the rule applies, and it is the signal that you are on the right track: if the expression will not factorise into a function of y times nothing, the rule does not apply and you should stop.

Under time pressure: compute the top, compute the bottom, and look for a common factor. Thirty seconds. If none appears, the rule is not the one.

What is left if neither rule works

Nothing in this syllabus. An equation for which all five standard factors fail is outside the paper, and if you meet one, re-read the question. It is almost certainly separable, linear, or exact and has been transcribed wrongly.

Check yourself

EquationkFactor by the y rule
y dx + (2x - y e^y) dy1/yy
(3x^2y^4 + 2xy) dx + (2x^3y^3 - x^2) dy-2/yy to the power -2
(y) dx + (x) dy01, because it is already exact
(2y) dx + (x) dy-1/(2y)y to the power -1/2

The last row is worth working through, because both rules apply to it and they give different factors that are equally right.

By the y rule, k is (1 minus 2) over 2y, which is minus one over 2y, and the factor is y to the power minus one half. Multiplying gives 2 root y dx plus x over root y dy, whose cross-derivatives are both one over root y, so it is exact, and its solution is 2x root y = C.

munotes.in221

The Integrating Factor That Depends on y Alone

(2 sqrt(y)) dx + (x/sqrt(y)) dy = 0

2 x sqrt(y) = C

By the x rule of the previous chapter, h is (2 minus 1) over x, which is one over x, and the factor is x. Multiplying gives 2xy dx plus x squared dy, whose cross-derivatives are both 2x, so that is exact too, and its solution is x squared y = C.

(2 x y) dx + (x^2) dy = 0

x^2 y = C

The two answers are the same family: squaring 2x root y = C gives 4 x squared y equal to C squared, which is x squared y equal to a constant. So an integrating factor is never unique, the two rules may both apply, and either answer earns full marks.

Contents This chapter on its own page

munotes.in222

Chapter One Hundred One

The Linear Equation of the First Order

Syllabus topic Module 2, "2.1 Equation of the first order and of the first degree"

In one line

For dy/dx plus Py = Q, multiply by e to the integral of P and the left side becomes the derivative of a product.

MU's label

"Linear Equation and equation reducible to this form". This chapter is the linear equation; the next is what reduces to it.

The standard form

dy/dx + P y = Q

P and Q may be any functions of x, including constants. Getting the equation into exactly this form is step one and it is where marks are lost: the coefficient of dy/dx must be 1, so divide through by it first.

As givenPQ
dy/dx + 3y = x3x
x dy/dx + y = x^21/xx
dy/dx = x - y1x
(1 + x^2) dy/dx + 2xy = 12x/(1 + x^2)1/(1 + x^2)

The second and fourth rows were divided through first. The third was rearranged so that the y term is on the left.

The integrating factor

mu = e^(integrate(P, x))

Multiplying the equation by it makes the left side the derivative of mu times y, and the whole equation then integrates in one step.

diff(mu y, x) = mu Q

So mu times y equals the integral of mu Q, plus a constant, and dividing by mu gives the answer.

Why it works

The left side of the multiplied equation is mu dy/dx plus mu P y. By the product rule, the derivative of mu y is mu dy/dx plus y times mu prime. Those agree exactly when mu prime equals mu P, which is the separable equation whose solution is e to the integral of P.

So the factor is not a trick: it is the one function that makes the left side a single derivative. And this is the previous chapters' integrating factor idea in its tidiest case, because for a linear equation the factor is always available as a formula.

The procedure

  1. Get the equation into the standard form, with a coefficient of 1 on dy/dx.
  2. Identify P and Q.
  3. Compute mu as e to the integral of P.
  4. Write the solution as mu y equal to the integral of mu Q plus C.
  5. Divide by mu.

Worked: constant P

Solve dy/dx plus 2y = e to the minus x.

P is 2 and Q is e to the minus x. The integral of P is 2x, so mu is e to the 2x.

The solution is e to the 2x times y equal to the integral of e to the 2x times e to the minus x, which is the integral of e to the x, which is e to the x plus C.

Dividing: y equals e to the minus x plus C e to the minus 2x.

munotes.in223

The Linear Equation of the First Order

dy/dx + 2y = e^(-x)

y = e^(-x) + C e^(-2x)

Worked: P a function of x

Solve x dy/dx plus y = x squared.

Divide by x first: dy/dx plus y over x equals x. So P is one over x and Q is x.

The integral of P is log x, so mu is x.

The solution is x y equal to the integral of x times x, which is x cubed over 3 plus C.

dy/dx + y/x = x

y = x^2/3 + C/x

Notice what happened in step three: e to the log of something is that something, so a P of the form n over x always gives a factor of x to the n. That is worth recognising instantly, because it is the commonest case after a constant P.

PIntegral of Pmu
a constant aa xe^(ax)
1/xlog xx
2/x2 log xx^2
-1/x-log x1/x
tan x-log(cos x)1/cos x, that is sec x
cot xlog(sin x)sin x

Worked: with a trigonometric P

Solve dy/dx plus y tan x = sin x, for x between minus pi over 2 and pi over 2.

P is tan x, whose integral is minus the logarithm of cos x, so mu is one over cos x, which is sec x.

The solution is y sec x equal to the integral of sin x sec x, which is the integral of tan x, which is minus log(cos x) plus C.

dy/dx + y tan(x) = sin(x)

y = -cos(x) log(cos(x)) + C cos(x)

Worked: with the roles of x and y swapped

Sometimes an equation is not linear in y but is linear in x. Then treat x as the unknown and y as the variable.

Solve dy/dx = one over (x plus y).

That is not linear in y. But turning it upside down, dx/dy equals x plus y, which rearranges to dx/dy minus x equals y: linear in x, with P equal to minus 1 and Q equal to y.

So mu is e to the minus y, and the solution is x e to the minus y equal to the integral of y e to the minus y, which by parts is minus y e to the minus y minus e to the minus y plus C.

Multiplying by e to the y: x equals minus y minus 1 plus C e to the y.

dx/dy - x = y

x = -y - 1 + C e^y

Try turning the equation upside down whenever it is not linear in y. It costs one line to check and it rescues a whole class of question.

munotes.in224

The Linear Equation of the First Order

Check yourself

dy/dx + y = x

y = x - 1 + C e^(-x)

dy/dx - 3y = 6

y = -2 + C e^(3x)

dy/dx + 2y/x = 1/x^2

y = 1/x + C/x^2

dy/dx + y cot(x) = 2 cos(x)

y = sin(x) + C/sin(x)

The third has P equal to 2 over x, so mu is x squared, and the integral of x squared times one over x squared is x. The fourth has P equal to cot x, so mu is sin x, and the integral of 2 sin x cos x is sin squared x.

Contents This chapter on its own page

munotes.in225

Chapter One Hundred Two

Bernoulli's Equation, and Other Equations Reducible to the Linear Form

Syllabus topic Module 2, "2.1 Equation of the first order and of the first degree"

In one line

Divide by y to the n and substitute for y to the power one minus n, and Bernoulli's equation becomes linear.

The shape

dy/dx + P y = Q y^n

It is the linear equation with a power of y on the right instead of a function of x alone. For n = 0 it is linear; for n = 1 it is separable; for every other n it is neither, and this method is what it needs.

MU's label is "Linear Equation and equation reducible to this form", and this is the principal thing that reduces.

The method

  1. Divide the whole equation by y to the n.
  2. Put v equal to y to the power (1 minus n).
  3. Then dv/dx is (1 minus n) times y to the minus n times dy/dx, which is exactly what the divided equation contains.
  4. The equation becomes linear in v, and the previous chapter solves it.
  5. Substitute back.

Why that substitution

Dividing by y to the n gives y to the minus n dy/dx, plus P y to the power (1 minus n), equal to Q.

The second term is P times y to the (1 minus n), which suggests calling that v. And then dv/dx is (1 minus n) y to the minus n dy/dx, so the first term is dv/dx over (1 minus n). Both terms are now in v, and the equation is linear.

dv/dx/(1 - n) + P v = Q

Multiplying by (1 minus n) puts it in standard form with P replaced by (1 minus n)P and Q by (1 minus n)Q.

Worked

Solve dy/dx plus y = y squared.

Here P is 1, Q is 1 and n is 2, so v is y to the power minus 1, that is one over y.

Dividing by y squared: y to the minus 2 dy/dx plus one over y equals 1.

With v equal to one over y, dv/dx is minus y to the minus 2 dy/dx, so the first term is minus dv/dx.

The equation becomes minus dv/dx plus v equals 1, that is dv/dx minus v equals minus 1.

That is linear with P equal to minus 1, so mu is e to the minus x, and the solution is v e to the minus x equal to the integral of minus e to the minus x, which is e to the minus x plus C.

So v equals 1 plus C e to the x, and y is one over that.

dy/dx + y = y^2

y = 1/(1 + C e^x)

That is the logistic equation of the modelling chapter, with the signs arranged differently, and the answer is the same S-shaped family.

munotes.in226

Bernoulli's Equation, and Other Equations Reducible to the Linear Form

Worked, with a power of x

Solve dy/dx plus y over x = y squared.

P is one over x, Q is 1, n is 2, so v is one over y.

Dividing and substituting as before gives minus dv/dx plus v over x equals 1, that is dv/dx minus v over x equals minus 1.

Linear with P equal to minus one over x, so mu is one over x. The solution is v over x equal to the integral of minus one over x, which is minus log x plus C.

So v equals x(C minus log x), and y is its reciprocal.

dy/dx + y/x = y^2

y = 1/(x(C - log(x)))

Worked, with n = 3

Solve dy/dx plus y = y cubed.

n is 3, so v is y to the power minus 2. Dividing by y cubed and substituting, with dv/dx equal to minus 2 y to the minus 3 dy/dx, gives minus dv/dx over 2 plus v equals 1, that is dv/dx minus 2v equals minus 2.

Linear with P equal to minus 2, so mu is e to the minus 2x, and the solution is v e to the minus 2x equal to the integral of minus 2 e to the minus 2x, which is e to the minus 2x plus C.

So v equals 1 plus C e to the 2x, and y squared is one over that.

dy/dx + y = y^3

y = 1/sqrt(1 + C e^(2x))

The two other things that reduce to linear form

Linear in x rather than y. Turn the equation upside down, as the previous chapter's last worked example did. This is worth trying on anything that is not linear in y.

An equation in f(y). If the equation contains only a particular function of y and its derivative, substitute for that function. Putting v equal to e to the y turns an equation in e to the y and its derivative into a linear one, because dv/dx is e to the y dy/dx.

dy/dx = e^(-y)

e^y = x + C

With v equal to e to the y that equation reads dv/dx equal to 1, so v is x plus C, which is the answer. It is separable as well, and either route is fine.

Recognising which method

EquationnMethod
dy/dx + Py = Q0linear
dy/dx + Py = Qy1separable, after collecting
dy/dx + Py = Qy^22Bernoulli, v = 1/y
dy/dx + Py = Qy^33Bernoulli, v = 1/y^2
dy/dx + Py = Q sqrt(y)1/2Bernoulli, v = sqrt(y)

The last row is worth noting: n need not be a whole number, and a square root of y on the right is a Bernoulli equation with n = one half, so v is y to the power one half.

munotes.in227

Bernoulli's Equation, and Other Equations Reducible to the Linear Form

Check yourself

dy/dx - y = y^2

y = -1/(1 + C e^(-x))

dy/dx + 2y/x = y^2

y = 1/(x^2(C + 1/x))

For the second, v is one over y and the linear equation in v is dv/dx minus 2v over x equal to minus 1, whose factor is x to the minus 2.

Contents This chapter on its own page

munotes.in228

Chapter One Hundred Three

The Method of Substitution, Gathered Into One Place

Syllabus topic Module 2, "2.1 Equation of the first order and of the first degree"

In one line

Find the combination of x and y that the equation is really about, name it, and rewrite everything in terms of it.

MU's label, twice

She names "Method of substitution" at 2.1.7 and "Method of Substitution" again at 2.2.6. That repetition is the point: substitution is not one technique but the idea underneath most of them.

Every substitution in section 2.1, in one table

Equation shapeSubstituteIt becomes
dy/dx = f(ax + by + c)v = ax + by + cseparable
homogeneous in x and yy = vx, or x = vyseparable in v and x
(ax+by+c)dx + (a'x+b'y+c')dy, lines meetx = X+h, y = Y+khomogeneous
the same, lines parallelv = the shared combinationseparable
dy/dx + Py = Qy^nv = y^(1-n)linear
not linear in y but linear in xswap the roles of x and ylinear
containing only f(y) and its derivativev = f(y)linear or separable
y f(xy) dx + x g(xy) dyv = xyseparable

Eight entries, and every one of them is the same move: the equation depends on x and y only through one combination, so make that combination the variable.

How to find the combination

Look at what the equation repeats.

If x plus y appears twice, the combination is x plus y. If y over x appears, or can be made to appear by dividing top and bottom, it is y over x. If xy appears in every bracket, it is xy. If y appears only as e to the y, the combination is e to the y.

That is genuinely all there is to it, and the skill is in looking before calculating.

Worked: x = vy instead of y = vx

The homogeneous chapter used y = vx. The other way round is sometimes far easier, and knowing that is worth marks.

Solve (y squared) dx plus (x squared minus xy) dy = 0.

With y = vx the algebra is manageable. With x = vy it is shorter, because the y squared in M then cancels cleanly.

The rule of thumb: substitute for whichever of x and y appears in the simpler coefficient. Here M is y squared, the simpler of the two, so put x = vy.

dy/dx = y^2/(x y - x^2)

y/x - log(y) = C

Worked: a substitution that is not on the list

Solve dy/dx = (y plus x squared) over x.

None of the eight shapes fits exactly. But notice that the right-hand side is y over x plus x, and the y over x suggests putting v equal to y over x, which is the homogeneous substitution used on a non-homogeneous equation.

munotes.in229

The Method of Substitution, Gathered Into One Place

With y = vx, dy/dx is v plus x dv/dx, and the equation becomes v plus x dv/dx equal to v plus x, so x dv/dx equals x, and dv equals dx.

So v is x plus C, and y is x squared plus Cx.

dy/dx = (y + x^2)/x

y = x^2 + C x

The equation was linear all along and would have yielded to that method too. But the substitution worked, and it worked because the combination y over x was visible even though the equation was not homogeneous.

Worked: substituting for a whole bracket

Solve dy/dx = (x plus y) squared, which the earlier chapter did with v = x plus y.

dy/dx = (x + y)^2

y = tan(x + C) - x

That is the first row of the table, and it is the clearest case of the idea.

What to do when nothing suggests itself

Two things, in order.

Test the standard forms mechanically. Is it separable? Exact? Homogeneous? Linear? Bernoulli? Those five tests take a minute between them and cover almost every question.

Look at the answer's likely shape. If the equation involves x squared plus y squared, the answer probably does too, and the substitution is likely to be for that. If it involves xy, likewise.

The one thing substitution cannot do

It cannot make a hard integral easy. Every one of these methods ends with an integration, and if that integration cannot be done, the substitution has not helped.

So when a substitution leaves you with an integral you cannot do, that is usually a sign that the wrong combination was chosen, not that the problem is impossible. Go back and look for another.

Check yourself

Say which substitution each needs.

EquationSubstitute
dy/dx = (2x + y + 1)^3v = 2x + y + 1
dy/dx = (x^2 + y^2)/(xy)y = vx
dy/dx + y = y^4v = y^(-3)
dy/dx = 1/(x + y^2)swap x and y, then linear in x
dy/dx = y/x + (y/x)^2y = vx

dy/dx = y/x + y^2/x^2

x/y + log(x) = C

For the first row of that table, substituting v = 2x plus y plus 1 gives dv/dx equal to 2 plus v cubed, so the separated form is dv over (2 plus v cubed) equal to dx. That integral has no elementary closed form, so the answer is written as an integral of dv over (2 plus v cubed), with v replaced by 2x plus y plus 1, equal to x plus a constant.

An answer written as an integral is a complete answer. It is not a failure, it is what a computer algebra system would also give you, and in any application it is what gets evaluated numerically. Do not spend five minutes trying to force it into closed form.

Contents This chapter on its own page

munotes.in230

Chapter One Hundred Four

First-Order Equations in Practice: Decay, Cooling, Circuits and Trajectories

Syllabus topic Module 2, "2.1 Equation of the first order and of the first degree"

In one line

Four applications, each solved with a method from this section, including the orthogonal trajectories that MU's own reading list treats as part of the topic.

Where this chapter stands

GUIDELINES section 2.3 of this book's house rules: not the driver of the syllabus, but worth having. None of what follows is in MU's printed labels. It is here because a method learned with no idea what it is for is forgotten, and because orthogonal trajectories appear in every one of the three books on her reading list.

One: radioactive decay and half life

The model, from the chapter on where equations come from:

dN/dt = -k N

N = C e^(-k t)

With N equal to N0 at time zero, C is N0. The half life T is the time for N to halve, so e to the minus kT equals one half, giving T equal to log 2 over k.

log(2)/k = log(2)/k

Worked with numbers: if a quantity falls to 90 per cent of its value in 10 years, then e to the minus 10k is 0.9, so k is minus log(0.9) over 10, about 0.01054 per year, and the half life is log 2 over that, about 65.8 years.

log(2)/(-log(9/10)/10) = 10 log(2)/log(10/9)

The same arithmetic answers carbon dating, drug clearance and the decay of a signal in a lossy medium.

Two: Newton's law of cooling

dT/dt = -k(T - 20)

T = 20 + C e^(-k t)

Worked: a body at 100 degrees cools to 60 in 10 minutes in a room at 20. How long to reach 30?

At t = 0, T is 100, so C is 80. At t = 10, T is 60, so 40 equals 80 e to the minus 10k, giving e to the minus 10k equal to one half, so k is log 2 over 10.

For T = 30: 10 equals 80 e to the minus kt, so e to the minus kt is one eighth, so kt is log 8, which is 3 log 2. Since k is log 2 over 10, t is 30 minutes.

3 log(2)/(log(2)/10) = 30

The neatness is not an accident: the temperature difference halved in 10 minutes, so it takes 30 minutes to halve three times, from 80 to 40 to 20 to 10. Recognising that saves all the algebra.

Three: a charging capacitor

dV/dt = (E - V)/2

V = E + C e^(-t/2)

With V(0) = 0 the constant is minus E, so V is E(1 minus e to the minus t over 2). The time constant is the 2 in the exponent, and at t equal to one time constant the voltage has reached 1 minus one over e of its final value, about 63 per cent.

munotes.in231

First-Order Equations in Practice: Decay, Cooling, Circuits and Trajectories

1 - e^(-1) = 1 - 1/e

That number, 0.632, is the one every electronics student memorises, and this is where it comes from.

Four: orthogonal trajectories

This is the application MU's reading list treats as part of the topic, and it is set.

The problem. Given a family of curves, find the family that crosses every one of them at right angles.

The method. Three steps.

  1. Find the differential equation of the given family, by eliminating its constant, as the earlier chapter did.
  2. Replace dy/dx by minus one over dy/dx, because perpendicular slopes are negative reciprocals.
  3. Solve the new equation. Its solutions are the orthogonal trajectories.

Worked: the family of circles about the origin.

Their equation, from the earlier chapter, is dy/dx equal to minus x over y.

dy/dx = -x/y

x^2 + y^2 = C

Replacing dy/dx by its negative reciprocal gives dy/dx equal to plus y over x.

dy/dx = y/x

y = C x

So the orthogonal trajectories of the circles about the origin are the straight lines through the origin, which is geometrically obvious and is the reassuring first example.

Worked: the family of parabolas y = C x squared.

Eliminating C: differentiating gives dy/dx equal to 2Cx, and C is y over x squared, so dy/dx equals 2y over x.

dy/dx = 2y/x

y = C x^2

Replacing dy/dx by minus one over it: minus x over (2y) equals dy/dx.

dy/dx = -x/(2y)

x^2/2 + y^2 = C

So the orthogonal family is a set of ellipses, with their long axis along the x axis. Each parabola crosses each ellipse at right angles.

Worked: the family of hyperbolas xy = C.

Differentiating: y plus x dy/dx = 0, so dy/dx equals minus y over x.

Replacing by the negative reciprocal: dy/dx equals x over y.

dy/dx = x/y

y^2 - x^2 = C

So the orthogonal trajectories of one family of rectangular hyperbolas is the other family of rectangular hyperbolas, rotated by 45 degrees. That symmetry is pleasing and is a standard question.

Where you meet orthogonal trajectories outside an examination

Electric field lines cross lines of equal potential at right angles. Lines of steepest descent cross contour lines at right angles. Streamlines cross lines of equal pressure at right angles in a certain kind of flow. In every case, one family is given and the other is what you want, and this is the calculation.

Check yourself

Given familyIts equationOrthogonal trajectories
circles about the origindy/dx = -x/ylines through the origin
lines through the origindy/dx = y/xcircles about the origin
parabolas y = Cx^2dy/dx = 2y/xellipses x^2 + 2y^2 = C
hyperbolas xy = Cdy/dx = -y/xhyperbolas y^2 - x^2 = C
munotes.in232

First-Order Equations in Practice: Decay, Cooling, Circuits and Trajectories

dy/dx = -x/(2y)

x^2 + 2 y^2 = C

The last block is the third row's answer written without the halves, which is the tidier form and the same family.

Contents This chapter on its own page

munotes.in233

Chapter One Hundred Five

An Equation of the First Order and a Degree Higher Than the First

Syllabus topic Module 2, "2.2 Differential equation of the first order of a degree higher than the first"

In one line

When dy/dx appears squared or cubed, the equation can have several solution curves through one point, and there are four methods for it.

MU's heading and her introduction

Her 2.2 is "Differential equation of the first order of a degree higher than the first", and its first label is simply "Introduction". This chapter is that introduction.

The notation p

Throughout this section, p stands for dy/dx.

p = dy/dx

That is not laziness. Writing p makes it possible to treat the equation as an algebraic equation in the three quantities x, y and p, which is exactly what the four methods do.

What higher degree means

The equation is still of first order, because no derivative beyond the first appears. But p is raised to a power.

EquationOrderDegree
p + y = x11
p squared minus 5p plus 6 = 012
p cubed = x13
y = xp plus p squared12

All four are of first order. Only the first is of first degree, and section 2.1 handles it. The other three are this section's.

Why several solutions can pass through one point

For a first-degree equation, dy/dx at a point is a single number, so there is exactly one direction to go in, and exactly one solution curve through each point.

For a higher-degree equation, the equation for p at a given point is a polynomial, so it can have two or three roots. Each root is a different direction, so there can be two or three solution curves through the same point.

Take p squared minus 5p plus 6 = 0. At every point p is either 2 or 3, so through every point there are two solution curves, one of slope 2 and one of slope 3.

p^2 - 5p + 6 = 0

y = 2x + C

p^2 - 5p + 6 = 0

y = 3x + C

Both families satisfy the equation, as the checker confirms, and the general solution is the two of them together, usually written as a single product set to zero.

(y - 2x - C)(y - 3x - C) = 0

That is a real difference from section 2.1 and it is the first thing to understand about this section.

The four methods

MU's labelWhat you doChapter
Solvable for pfactorise in p and solve each factorthe next one
Solvable for ymake y the subject, differentiate with respect to xthird from here
Solvable for xmake x the subject, differentiate with respect to yfifth
Clairaut's formy = xp + f(p); write C for psixth

And MU's "Method of Substitution" at 2.2.6 is a fifth entry: some equations reduce to Clairaut's form after a substitution.

munotes.in234

An Equation of the First Order and a Degree Higher Than the First

How to choose

In this order.

  1. Will it factorise in p? Try first, because it is much the easiest. A quadratic in p with no x or y mixed into the coefficients usually will.
  2. Is it Clairaut's form, y = xp plus a function of p alone? Then the answer is one line.
  3. Can y be made the subject? Then the solvable-for-y method.
  4. Can x be made the subject? Then the solvable-for-x method.

Steps three and four are the long ones, so exhaust one and two first. The chapter called "Choosing the Method" is a decision table over the whole of Module 2 and is worth reading before an examination.

The arbitrary constant, and where it goes

An equation of first order has one arbitrary constant, however high its degree. That is worth stating because a student who gets two constants out of a quadratic in p has made an error.

What a quadratic in p gives is not two constants but two families, each with its own single constant, and by convention the same letter C is used in both because they are separate solutions rather than parts of one.

The singular solution, in advance

Section 2.1 had none. This section has them, and Clairaut's equation always does.

A singular solution satisfies the equation but is in no family of the general solution, at any value of C. Geometrically it is the curve that the general solution's curves all touch: their envelope. The chapter on the singular solution and the envelope treats it properly.

Two things follow. A question that says "find the general and singular solutions" expects both. And a question that says only "solve" usually expects the general solution, with the singular one mentioned if it exists.

Check yourself

EquationDegree in pFirst method to try
p^2 - 7p + 12 = 02factorise
p^2 - (x + y)p + xy = 02factorise
y = xp + 1/p2, after clearingClairaut
y = 2px + p^4 x^24solvable for y
x = y p + p^22solvable for x

p^2 - 7p + 12 = 0

y = 3x + C

p^2 - 7p + 12 = 0

y = 4x + C

The second row of the table is the one to notice: its coefficients contain x and y, and it still factorises, into (p minus x)(p minus y) = 0. The next chapter does it.

Contents This chapter on its own page

munotes.in235

Chapter One Hundred Six

Solvable for p: The Method of Factors

Syllabus topic Module 2, "2.2 Differential equation of the first order of a degree higher than the first"

In one line

Factorise the equation in p, solve each factor as a first-degree equation, and multiply the answers together.

MU's label

"Solvable for p (or the method of factors)". It is the first and easiest of the four methods, and the one to try first.

The method

  1. Treat the equation as a polynomial in p and factorise it.
  2. Each factor set to zero is a first-degree equation, which section 2.1 solves.
  3. Solve each one, getting one family per factor.
  4. The general solution is the product of those families, each written as something equal to zero, set to zero.

Step four is where marks are lost, and the next section is about it.

How the answers combine

Suppose factorising gives two factors, and solving them gives families F1(x, y, C) = 0 and F2(x, y, C) = 0.

The general solution is the product.

F1(x, y, C) F2(x, y, C) = 0

One constant, not two. The product is zero when either factor is zero, which is exactly the statement that a solution curve belongs to one family or the other. Writing C1 in one and C2 in the other would suggest a two-parameter family, and a first-order equation has only one parameter.

Worked: constant roots

Solve p squared minus 5p plus 6 = 0.

Factorising: (p minus 2)(p minus 3) = 0, so p is 2 or 3.

Each is a first-degree equation with a constant right-hand side, so each integrates immediately.

p^2 - 5p + 6 = 0

y = 2x + C

p^2 - 5p + 6 = 0

y = 3x + C

The general solution is therefore the product below.

(y - 2x - C)(y - 3x - C) = 0

Worked: roots depending on x and y

Solve p squared minus (x plus y)p plus xy = 0.

The coefficients contain x and y, and it still factorises: the expression is a quadratic in p whose roots are x and y.

Factorising: (p minus x)(p minus y) = 0.

First factor: p equals x, so dy/dx equals x, and y equals x squared over 2 plus C.

p - x = 0

y = x^2/2 + C

Second factor: p equals y, so dy/dx equals y, which is separable, and y equals C e to the x.

p - y = 0

y = C e^x

The general solution is the product of (y minus x squared over 2 minus C) and (y minus C e to the x), set to zero.

Notice that the two factors gave equations of completely different kinds, one immediately integrable and one separable. That is normal: factorising in p says nothing about what sort of equation each factor will be.

munotes.in236

Solvable for p: The Method of Factors

Worked: a cubic in p

Solve p cubed minus p = 0.

Factorising: p(p minus 1)(p plus 1) = 0, so p is 0, 1 or minus 1. Three families.

p^3 - p = 0

y = C

p^3 - p = 0

y = x + C

p^3 - p = 0

y = -x + C

Three families of straight lines: the horizontal ones, and the two sets at 45 degrees. Through every point of the plane there are three solution curves.

Worked: one that needs the quadratic formula

Solve x p squared plus (1 minus x squared)p minus x = 0.

It does factorise, but not by inspection. Use the formula for p, with a equal to x, b equal to (1 minus x squared) and c equal to minus x.

The discriminant is (1 minus x squared) squared plus 4x squared, which is (1 plus x squared) squared, a perfect square. So the roots are nice.

p equals (x squared minus 1 plus or minus (1 plus x squared)) over 2x, which gives p equal to x or p equal to minus one over x.

First factor: dy/dx equals x, so y is x squared over 2 plus C.

p - x = 0

y = x^2/2 + C

Second factor: dy/dx equals minus one over x, so y is minus log x plus C.

p + 1/x = 0

y = -log(x) + C

When the discriminant is a perfect square, the equation factorises, and looking for that is worth the ten seconds before reaching for the formula.

When it does not factorise

If the quadratic in p has an ugly discriminant, the roots are ugly and each factor is an unpleasant first-degree equation. That is the signal to try another of the four methods: an equation set in an examination that does not factorise cleanly is usually meant for the solvable-for-y or solvable-for-x route, or is Clairaut's form.

The check

Each family must satisfy the original equation, and the check is the same one as always: differentiate the family, substitute p, and see whether the equation holds. Every block above is that check performed by machine.

And check that you have as many families as the degree. A quadratic in p should give two, a cubic three. Fewer means a factor was missed; more means one was counted twice.

Check yourself

p^2 - 9 = 0

y = 3x + C

p^2 - 9 = 0

y = -3x + C

p^2 + p - 6 = 0

y = 2x + C

p^2 + p - 6 = 0

y = -3x + C

p^2 - p y = 0

y = C e^x

munotes.in237

Solvable for p: The Method of Factors

The last one factorises as p(p minus y) = 0, so the other family is y equal to a constant, and both are solutions.

Contents This chapter on its own page

munotes.in238

Chapter One Hundred Seven

Worked Equations Solvable for p

Syllabus topic Module 2, "2.2 Differential equation of the first order of a degree higher than the first"

In one line

Six worked examples, including one that needs the quadratic formula and one whose factors are equations of two different kinds.

One: both roots constant

Solve p squared minus 4 = 0.

Factorising: (p minus 2)(p plus 2) = 0.

p^2 - 4 = 0

y = 2x + C

p^2 - 4 = 0

y = -2x + C

General solution: the product of (y minus 2x minus C) and (y plus 2x minus C), set to zero.

Two: one root zero

Solve p squared minus 3p = 0.

Factorising: p(p minus 3) = 0, so p is 0 or 3.

p^2 - 3p = 0

y = C

p^2 - 3p = 0

y = 3x + C

The root p = 0 gives y equal to a constant, the family of horizontal lines. That is a perfectly good solution and students sometimes discard it as trivial, losing the mark.

Three: roots involving x

Solve p squared minus (x plus 1)p plus x = 0.

The roots are x and 1, so it factorises as (p minus x)(p minus 1) = 0.

p - x = 0

y = x^2/2 + C

p - 1 = 0

y = x + C

Four: factors of two different kinds

Solve x p squared minus (x squared plus 1)p plus x = 0.

Dividing by x and looking for roots whose product is 1 and whose sum is x plus one over x: those are x and one over x.

So it factorises as (p minus x)(p minus one over x) = 0.

p - x = 0

y = x^2/2 + C

p - 1/x = 0

y = log(x) + C

One factor integrated directly, the other gave a logarithm. Different kinds of answer from one equation is normal.

Five: needing the formula

Solve p squared plus 2p y cot x = y squared.

Treat it as a quadratic in p, with a equal to 1, b equal to 2y cot x and c equal to minus y squared.

The discriminant is 4y squared cot squared x plus 4y squared, which is 4y squared(cot squared x plus 1), which is 4y squared cosec squared x, a perfect square.

So p equals minus y cot x plus or minus y cosec x, that is y(minus cos x plus or minus 1) over sin x.

First root, with the plus: p equals y(1 minus cos x) over sin x. Using the half-angle identities, (1 minus cos x) over sin x is tan(x over 2), so p equals y tan(x over 2).

Separating: dy over y equals tan(x over 2) dx, so log y equals minus 2 log(cos(x over 2)) plus c.

munotes.in239

Worked Equations Solvable for p

p - y tan(x/2) = 0

y = C/cos(x/2)^2

Second root, with the minus: p equals minus y(1 plus cos x) over sin x, which is minus y cot(x over 2).

p + y/tan(x/2) = 0

y = C/sin(x/2)^2

Two families, and notice how similar they are: one is a constant over cos squared of x over 2, the other a constant over sin squared. Their ratio is tan squared of x over 2, which is the tidy way to see that they are genuinely different families.

The lesson from this one: when the discriminant turns out to be a perfect square, the trigonometric identities are usually what make it so. Look for cot squared plus 1 equal to cosec squared, and for the half-angle forms.

Six: a cubic

Solve p cubed minus 2 p squared minus p plus 2 = 0.

Trying p = 1 gives 1 minus 2 minus 1 plus 2 = 0, so (p minus 1) is a factor. Dividing out gives p squared minus p minus 2, which factorises as (p minus 2)(p plus 1).

So the three roots are 1, 2 and minus 1.

p^3 - 2 p^2 - p + 2 = 0

y = x + C

p^3 - 2 p^2 - p + 2 = 0

y = 2x + C

p^3 - 2 p^2 - p + 2 = 0

y = -x + C

Three families, one per root, exactly as the degree promised.

What to check before moving on

One family per root. A quadratic gives two, a cubic three.

Each family satisfies the original equation. Substitute and see.

The constant is the same letter throughout. One arbitrary constant, however many families.

Check yourself

p^2 - 16 = 0

y = 4x + C

p^2 - 5p = 0

y = 5x + C

p^2 - x p = 0

y = x^2/2 + C

p^2 - (2x + 1) p + 2x = 0

y = x^2 + C

For the last, the roots are 2x and 1, so the other family is y equal to x plus C.

Contents This chapter on its own page

munotes.in240

Chapter One Hundred Eight

Solvable for y

Syllabus topic Module 2, "2.2 Differential equation of the first order of a degree higher than the first"

In one line

Make y the subject, differentiate the whole thing with respect to x, and solve the equation in p and x that results.

MU's label

"Solve for y". The method is longer than factorising and is what to use when factorising fails.

The method

  1. Rearrange the equation so that y is alone on the left: y = f(x, p).
  2. Differentiate both sides with respect to x. On the left you get p. On the right you get an expression containing x, p and dp/dx.
  3. That is a first-order equation in p as a function of x. Solve it by any method of section 2.1.
  4. You now have a relation between p and x containing the arbitrary constant.
  5. Eliminate p between that relation and the original equation.

Step five is the one that is forgotten, and without it the answer still contains p, which is not an answer at all.

Why it works

Differentiating y = f(x, p) with respect to x gives, by the chain rule:

p = df/dx + (df/dp)(dp/dx)

The left side is p because dy/dx is p by definition. So the new equation involves only x, p and dp/dx, and y has gone. That is the gain: an equation in two quantities instead of three.

Worked

Solve y = p squared x.

Step one. Already in the right form.

Step two. Differentiate with respect to x. The right side, by the product rule, is 2p x dp/dx plus p squared. Setting that equal to p:

p equals 2p x dp/dx plus p squared.

Step three. Collect: p(1 minus p) equals 2p x dp/dx. Cancelling the p, which assumes p is not zero, gives 1 minus p equal to 2x dp/dx.

That is separable in p and x: dp over (1 minus p) equals dx over 2x.

Integrating: minus log(1 minus p) equals half log x plus c, so 1 minus p equals C over the square root of x, and p equals 1 minus C over root x.

Step four. That is the relation between p and x, with the constant in it.

Step five. Eliminate p by substituting into the original equation. y equals p squared x, so:

y equals (1 minus C over root x) squared times x, which expands to x minus 2C root x plus C squared.

y = p^2 x

y = x - 2 C sqrt(x) + C^2

The checker has substituted that back into the original equation, so the elimination was done correctly.

And the case we cancelled.: p = 0 gives y = 0, which does satisfy the original equation and is not in the general solution at any value of C. So y = 0 is a singular solution, and it was found by noticing what the cancellation threw away.

munotes.in241

Solvable for y

A cleaner worked example

Solve y = p x plus p squared, which is Clairaut's form and is covered properly two chapters from here. It is used here because its solvable-for-y working is short and shows every step.

Differentiate: p equals p plus x dp/dx plus 2p dp/dx.

So 0 equals (x plus 2p) dp/dx.

Two cases. Either dp/dx = 0, giving p equal to a constant C; or x plus 2p = 0, giving p equal to minus x over 2.

The first case gives the general solution: substituting p = C back into the original gives y equal to Cx plus C squared.

dy/dx = (-x + sqrt(x^2 + 4y))/2

y = C x + C^2

The second case gives the singular solution: substituting p equal to minus x over 2 gives y equal to minus x squared over 2 plus x squared over 4, which is minus x squared over 4.

dy/dx = -x/2

y = -x^2/4

That split into two cases, one giving the general solution and one the singular, is what always happens with this method, and it is the reason the singular solution exists at all.

The three places it goes wrong

Forgetting that the left side is p. Differentiating y with respect to x gives dy/dx, which is p, not 1 and not dp/dx.

Not eliminating p. An answer containing p is not an answer.

Discarding the second case. The factor that is not dp/dx gives the singular solution, and a question asking for both wants it.

Check yourself

y = p^2 x

y = x - 2 C sqrt(x) + C^2

dy/dx = (-x + sqrt(x^2 + 4y))/2

y = C x + C^2

dy/dx = -x/2

y = -x^2/4

Those three are the two worked examples and the singular solution of the second. Work the first one again from the beginning without looking, and check every step against the five of the procedure; the step people miss is the fifth.

One more point about what this method produces. The relation between p and x at step four sometimes cannot be solved for p, and then p cannot be eliminated in closed form. The honest answer is then the pair of relations, the original equation and the one found at step four, written together. That is a complete answer, it is what a textbook would print, and it is not worth five minutes of an hour trying to force into an explicit form that does not exist.

Contents This chapter on its own page

munotes.in242

Chapter One Hundred Nine

Worked Equations Solvable for y

Syllabus topic Module 2, "2.2 Differential equation of the first order of a degree higher than the first"

In one line

Four worked examples, and the observation that most questions of this kind turn out to be Clairaut's form in disguise.

One: y = p squared x

Done in the previous chapter and repeated because it is the cleanest illustration.

Differentiating gives p equal to 2px dp/dx plus p squared. Cancelling p and separating gives 1 minus p equal to 2x dp/dx, so p equals 1 minus C over root x, and substituting back gives the answer.

y = p^2 x

y = x - 2 C sqrt(x) + C^2

And the cancelled case p = 0 gives the singular solution.

dy/dx = 0

y = 0

Two: y = 4 p squared x

The same work with a constant in it, which is worth doing once so that the constant's effect is visible.

Differentiating: p equals 8px dp/dx plus 4p squared. Cancelling p: 1 minus 4p equals 8x dp/dx.

Separating and integrating gives 1 minus 4p equal to C over root x, so p equals (1 minus C over root x) over 4.

Substituting into y = 4p squared x:

y = 4 p^2 x

y = (x - 2 C sqrt(x) + C^2)/4

The whole answer is the first example's divided by 4, which is what the constant did.

Three: y = x p plus one over p

Make y the subject: it already is.

Differentiating: p equals p plus x dp/dx minus (1 over p squared) dp/dx.

So 0 equals (x minus one over p squared) dp/dx, which splits into two cases.

Case one, dp/dx = 0, so p is a constant C, and substituting gives the general solution.

y = x p + 1/p

y = C x + 1/C

Case two, x equals one over p squared, so p equals one over root x, and substituting gives y equal to root x plus root x, which is 2 root x.

y = x p + 1/p

y = 2 sqrt(x)

That second answer is a singular solution: no value of C in y = Cx plus one over C gives y = 2 root x, because the general solution is a family of straight lines and this is a parabola. Squaring it gives y squared = 4x.

Four: the observation worth having

Look at the third example. Its form was y = xp plus a function of p alone, which is Clairaut's form, and the method collapsed into two cases at once: dp/dx = 0 giving the general solution, and the other factor giving the singular one.

That is not a coincidence about that example. Most equations set as solvable-for-y questions are Clairaut's form or reduce to it, because those are the ones whose differentiated equation factorises neatly. The first two examples were not, and notice how much more work they took.

munotes.in243

Worked Equations Solvable for y

So the practical advice: before grinding through the solvable-for-y method, check whether the equation is y = xp plus f(p). If it is, the Clairaut chapter gives the answer in one line.

When the answer is parametric

Sometimes step four gives a relation between p and x that cannot be solved for p, and then p cannot be eliminated.

Take y = 2px plus p squared. Differentiating gives p equal to 2p plus 2x dp/dx plus 2p dp/dx, so minus p equals 2(x plus p) dp/dx.

Turning that upside down, dx/dp equals minus 2(x plus p) over p, which rearranges to a linear equation in x with p as the variable: dx/dp plus 2x over p equals minus 2.

Its integrating factor is p squared, and solving gives x equal to minus 2p over 3 plus C over p squared.

Substituting into the original gives y equal to minus p squared over 3 plus 2C over p.

So the answer is that pair of equations, x and y each in terms of p and C. The parameter p cannot be eliminated in closed form, and the pair is the answer. That is a parametric solution, it is complete, and a question whose working leads there is testing whether you know to stop.

The procedure, once more

  1. Make y the subject.
  2. Differentiate with respect to x, remembering that the left side is p.
  3. Solve the resulting equation in p and x. If it is easier as an equation for x in terms of p, turn it upside down, which often makes it linear.
  4. Eliminate p between that and the original equation.
  5. If p cannot be eliminated, give the parametric pair.
  6. Check the case you cancelled: it usually gives the singular solution.

Check yourself

y = p^2 x

y = x - 2 C sqrt(x) + C^2

y = x p + 1/p

y = C x + 1/C

y = x p + 1/p

y = 2 sqrt(x)

The second and third are the general and the singular solution of the same equation, and a question asking to "solve completely" wants both.

Contents This chapter on its own page

munotes.in244

Chapter One Hundred Ten

Solvable for x

Syllabus topic Module 2, "2.2 Differential equation of the first order of a degree higher than the first"

In one line

Make x the subject, differentiate with respect to y, and use that dx/dy is one over p.

MU's label

"Solve for x". It is the mirror of the previous method, and it is the one to use when the equation rearranges more easily for x than for y.

The method

  1. Rearrange so that x is alone: x = f(y, p).
  2. Differentiate both sides with respect to y. On the left you get dx/dy, which is one over p.
  3. That is a first-order equation in p and y. Solve it.
  4. Eliminate p between it and the original equation.

The one new idea

Step two, and it is the only thing to learn.

dx/dy = 1/p

That is the chain rule, or simply the observation that dy/dx and dx/dy are reciprocals. Everything else is the previous method with x and y exchanged.

Worked

Solve x = p squared plus 2p.

Step one. Already in the right form, and notice that y does not appear at all on the right, which makes this the easiest possible case.

Step two. Differentiate with respect to y. On the left, one over p. On the right, (2p plus 2) dp/dy.

So one over p equals (2p plus 2) dp/dy.

Step three. Separating: dy equals p(2p plus 2) dp, which is (2p squared plus 2p) dp.

Integrating: y equals 2p cubed over 3 plus p squared plus C.

Step four. Now eliminate p between that and x = p squared plus 2p. The second is a quadratic in p, so p could be found from it with the formula and substituted into the first; the result is an unpleasant expression with a square root in it.

So the answer is left as the pair, x and y each in terms of p:

x = p^2 + 2 p

y = 2 p^3/3 + p^2 + C

That is a parametric solution, with p as the parameter, and it is a complete answer.

Checking a parametric solution

A parametric pair cannot be substituted into the equation directly, because there is no y as a function of x to substitute. But it can still be checked, and the check is worth knowing.

By the chain rule, dy/dx equals (dy/dp) divided by (dx/dp). And dy/dx is p. So the pair is a solution exactly when the following holds.

diff(2 p^3/3 + p^2 + C, p)/diff(p^2 + 2 p, p) = p

The numerator differentiates to 2p squared plus 2p, the denominator to 2p plus 2, and the quotient is p. So the pair is correct, and the check took one line.

That identity is what the checker has verified above, and it is exactly the check to do by hand.

munotes.in245

Solvable for x

Why solvable-for-x usually gives a parametric answer

Because step four asks you to eliminate p between two relations, and the relation from step three is generally a polynomial in p of higher degree than the original. Eliminating a parameter between two polynomial relations rarely produces anything tidy.

That is not a defect of the method. It is what the answer is. A question set on this method is testing whether you can reach the parametric pair and know to stop.

Worked, one that does eliminate

Occasionally the elimination works, and it is worth seeing once.

Solve p squared y plus 2px = y.

Rearranging for x: x equals y(1 minus p squared) over (2p).

Differentiating with respect to y and doing the work gives, after the algebra, p y equal to a constant, so p equals C over y.

Substituting into the original: x equals y(1 minus C squared over y squared) over (2C over y), which is (y squared minus C squared) over (2C).

So y squared equals 2Cx plus C squared, a family of parabolas.

dy/dx = C/y

y^2 - 2 C x = C^2

The block above verifies the family against p equal to C over y, which is the relation step three produced, and that is the honest check available: the original equation is quadratic in p, so it has two branches, and this family is one of them.

The mirror symmetry, stated plainly

Solvable for ySolvable for x
Make the subjectyx
Differentiate with respect toxy
The left side becomesp1 over p
The result is an equation inp and xp and y
Theneliminate peliminate p

The whole difference is in the third row. If you can do one method you can do the other, and the thing to remember is that dx/dy is the reciprocal of p rather than p itself.

Which to choose

EquationEasier for
y = 2px + p^2y, it already is
x = p^2 + 2px, it already is
y^2 = 2px + p^2 x^2neither; try factorising in p first
p^2 y + 2px = yx, after dividing

And the general advice of this section: try factorising in p first, and check for Clairaut's form second. Those two cover most questions and both are far shorter than either of these two methods.

Check yourself

diff(2 p^3/3 + p^2 + C, p)/diff(p^2 + 2 p, p) = p

diff(p^3/3 + C, p)/diff(p^2/2, p) = p

The second line is the same check for the pair x equal to p squared over 2 and y equal to p cubed over 3 plus C, which is the parametric solution of x equal to p squared over 2. Both checks are one differentiation each and one division, and doing them is what tells you a parametric answer is right.

Contents This chapter on its own page

munotes.in246

Chapter One Hundred Eleven

Clairaut's Form

Syllabus topic Module 2, "2.2 Differential equation of the first order of a degree higher than the first"

In one line

For y = xp plus f(p), the general solution is obtained by writing C in place of p, and nothing else.

MU's label

"Clairaut's form of the equation". It is the easiest method in section 2.2 and the one to look for first, after factorising.

The form

y = x p + f(p)

The x appears only once, multiplied by p, and everything else is a function of p alone. That is the shape to recognise.

EquationClairautf(p)
y = xp + p^2yesp^2
y = xp + 1/pyes1/p
y = xp + sqrt(1 + p^2)yessqrt(1 + p^2)
y = xp + log pyeslog p
y = x p^2 + pnox multiplied by p squared
y = 2xp + p^2nothe coefficient of x is 2p

The last two rows are the near misses, and both are real: the fifth has x times p squared and the sixth has a 2 in front. Neither is Clairaut's form as it stands, though the sixth reduces to it, which the chapter on reducing to Clairaut's form shows.

The result

Replace p by C.

y = C x + f(C)

That is the general solution, and it is a family of straight lines. No integration is needed at all.

Why that works

Differentiate y = xp plus f(p) with respect to x.

The left side gives p. The right side, by the product rule, gives p plus x dp/dx plus f prime of p times dp/dx.

So 0 equals (x plus f prime of p) dp/dx, and the equation factorises.

The first factor, dp/dx = 0, says p is a constant. Call it C. Substituting into the original gives y equal to Cx plus f(C), which is the general solution.

The second factor, x plus f prime of p = 0, gives a relation between x and p with no constant in it. Eliminating p between it and the original gives the singular solution, which the next chapter treats.

So Clairaut's equation always has both, and the split is immediate rather than something to hunt for.

Worked: f(p) = p squared

y = x p + p^2

y = C x + C^2

The general solution is the family of straight lines y = Cx plus C squared, one for each C.

And the singular solution, from x plus 2p = 0, so p = minus x over 2, substituted back:

dy/dx = -x/2

y = -x^2/4

Worked: f(p) = one over p

y = x p + 1/p

y = C x + 1/C

The singular solution comes from x minus one over p squared = 0, so p equals one over root x, and substituting gives y equal to root x plus root x, which is 2 root x.

munotes.in247

Clairaut's Form

y = x p + 1/p

y = 2 sqrt(x)

Squaring, that is y squared = 4x, a parabola, and every one of the straight lines y = Cx plus 1 over C touches it.

Worked: f(p) = the square root of (1 plus p squared)

This one has a lovely answer and is set regularly.

The general solution is y = Cx plus root(1 plus C squared).

For the singular solution: x plus p over root(1 plus p squared) = 0, so p equals minus x over root(1 minus x squared), and substituting gives, after simplification, x squared plus y squared = 1.

The singular solution is the unit circle, and the general solution is every straight line that touches it. That is the geometry of a tangent line to a circle, and it is why this example appears in every book: the general solution is the set of tangents and the singular solution is the curve they are tangent to.

The procedure, complete

  1. Check the form: y = xp plus a function of p alone.
  2. General solution: write C for p. Done.
  3. For the singular solution: differentiate f, set x plus f prime of p equal to zero, solve for p, and substitute into the original.
  4. State both.

Step two is one line, which is why this method is worth recognising before trying anything else.

The mistake to avoid

Writing C for p in the wrong equation. The substitution is made in the original equation y = xp plus f(p), not in the differentiated one.

And a second: the singular solution is not obtained by choosing a value of C. It is a separate curve, and no C gives it. A question asking for both wants two distinct answers.

Check yourself

y = x p + p^2

y = C x + C^2

y = x p + 1/p

y = C x + 1/C

y = x p + 2 p^2

y = C x + 2 C^2

y = x p - p^3

y = C x - C^3

All four are the same one-line move. The last one's singular solution comes from x minus 3p squared = 0, so p equals the square root of x over 3, and substituting gives y equal to a multiple of x to the power three halves.

Contents This chapter on its own page

munotes.in248

Chapter One Hundred Twelve

The Singular Solution, and the Envelope

Syllabus topic Module 2, "2.2 Differential equation of the first order of a degree higher than the first"

In one line

The singular solution is the curve that every member of the general solution touches, and it is found by eliminating the constant between the general solution and its derivative with respect to that constant.

What a singular solution is

A solution of the differential equation that is not in the general solution at any value of the arbitrary constant.

That sounds like a contradiction, because the general solution is supposed to be general. It is not: "general solution" means the one-parameter family the standard methods produce, and for some equations there are solutions outside it.

Section 2.1 had none. Clairaut's equation always has one, and so do many other higher-degree equations.

The geometric picture

Draw the general solution's curves, all of them. For Clairaut's equation they are straight lines.

Those lines, taken together, sweep out a region, and the boundary of that region is a curve that each line just touches. That curve is the envelope of the family, and it is the singular solution.

Why the envelope is a solution: at each of its points it has the same slope as the line touching it there, and that line satisfies the equation, so the envelope satisfies the equation at that point too. Since that holds at every point, the envelope is a solution throughout.

Finding it from the general solution

The method most likely to be asked for.

  1. Write the general solution as F(x, y, C) = 0.
  2. Differentiate it with respect to C, treating x and y as fixed.
  3. Eliminate C between the two equations.

That gives the envelope, which is the singular solution.

Worked: y = Cx plus C squared

Step one. Write it as y minus Cx minus C squared = 0.

Step two. Differentiate with respect to C: minus x minus 2C = 0, so C equals minus x over 2.

Step three. Substitute: y equals (minus x over 2)x plus (minus x over 2) squared, which is minus x squared over 2 plus x squared over 4, that is minus x squared over 4.

dy/dx = -x/2

y = -x^2/4

So the singular solution is y = minus x squared over 4, a downward parabola, and every line y = Cx plus C squared is tangent to it.

The check that it is genuinely singular: the general solution is a family of straight lines, and a parabola is not a straight line, so no value of C produces it.

Worked: y = Cx plus one over C

Differentiating with respect to C: minus x minus one over C squared... careful with the sign. Writing the general solution as y minus Cx minus 1 over C = 0 and differentiating with respect to C gives minus x plus 1 over C squared = 0, so C squared equals one over x, and C equals one over root x.

munotes.in249

The Singular Solution, and the Envelope

Substituting: y equals (1 over root x)x plus root x, which is root x plus root x, that is 2 root x.

y = x p + 1/p

y = 2 sqrt(x)

So the envelope is y = 2 root x, or y squared = 4x, a parabola, and the family of lines is the set of its tangents.

Worked: y = Cx plus root(1 plus C squared)

Differentiating with respect to C: minus x plus C over root(1 plus C squared) = 0, so C equals x over root(1 minus x squared).

Substituting and simplifying gives x squared plus y squared = 1.

dy/dx = -x/y

x^2 + y^2 = C

The envelope is the unit circle, and the family is every tangent line to it. The block above verifies the circle family against the equation whose solutions the circles are; the singular solution of the Clairaut equation is the one member with C = 1.

Finding it from the differential equation instead

There is a second route, and MU's reading list uses both.

Treat the equation as a polynomial in p and set its discriminant to zero. The resulting relation between x and y is the p-discriminant, and it contains the singular solution.

For y = xp plus p squared, written as p squared plus xp minus y = 0, the discriminant is x squared plus 4y, and setting it to zero gives y equal to minus x squared over 4, which is the singular solution again.

x^2 + 4(-x^2/4) = 0

That route is quicker when the equation is a neat quadratic in p, and it also explains why the singular solution is where solutions merge: the discriminant vanishing is exactly the condition for the two roots of p to coincide, so it is where the two solution curves through a point become one.

A warning about both routes

Neither route gives only the singular solution. The C-discriminant can also throw up a node locus or a cusp locus, curves where the family's members cross or come to points rather than touch; the p-discriminant can throw up a tac locus. Those are not solutions.

So always check the answer by substituting it into the differential equation. That is the only test that settles it, and for this paper it is the only test you need. Both worked examples above have been so checked.

Check yourself

Work each one from the general solution, differentiating with respect to C and eliminating.

y = Cx plus C squared. Differentiating with respect to C makes x plus 2C vanish, so C is minus x over 2, and the singular solution is y equal to minus x squared over 4.

munotes.in250

The Singular Solution, and the Envelope

y = Cx plus one over C. Differentiating makes x minus one over C squared vanish, so C is one over the square root of x, and the singular solution is y squared equal to 4x.

y = Cx plus 2C squared. Differentiating makes x plus 4C vanish, so C is minus x over 4, and the singular solution is y equal to minus x squared over 8.

y = Cx minus C cubed. Differentiating makes x plus 3C squared vanish... careful with the sign: writing the general solution as y minus Cx plus C cubed and differentiating with respect to C gives minus x plus 3C squared, so C squared is x over 3, and substituting gives 4x cubed equal to 27y squared.

The last one is the only one of the four whose answer is not a parabola, and it is worth doing in full because the algebra is the hardest of the set: C is the square root of x over 3, so y is x times that, minus its cube, which is (x over 3) to the power three halves times 2, and squaring both sides clears the fractional power.

dy/dx = -x/4

y = -x^2/8

dy/dx = -x/2

y = -x^2/4

Those two blocks check the first and third singular solutions against the slopes they must have, which is the substitution the whole chapter rests on.

Contents This chapter on its own page

munotes.in251

Chapter One Hundred Thirteen

Reducing an Equation to Clairaut's Form

Syllabus topic Module 2, "2.2 Differential equation of the first order of a degree higher than the first"

In one line

Substitute for a power of x or of y, and an equation that is not Clairaut's form often becomes one.

MU's label

"Method of Substitution" under her 2.2. This is what she means by it there, and it is the second time she names substitution as a method in its own right.

The target

Clairaut's form is y = xp plus f(p), and its general solution is one line. So any substitution that produces that shape is worth making.

The substitutions that work

If the equation containsSubstitute
x squared and y squaredX = x squared, Y = y squared
x squared onlyX = x squared
y squared onlyY = y squared
log xX = log x
e to the xX = e to the x
1 over xX = 1 over x

And the rule for what happens to p: with X and Y as the new variables, the new derivative P is dY/dX, and the chain rule connects it to p.

P = (dY/dy)/(dX/dx) p

For X = x squared and Y = y squared, dX/dx is 2x and dY/dy is 2y, so P equals (y over x)p.

Worked, the standard one

Solve x squared p squared plus x p y equal to 1... hmm. Here is the one every book sets, and it is worth seeing worked.

Solve y = 2px plus p squared y.

Multiply through by y: y squared equals 2pxy plus p squared y squared.

Substitute Y = y squared. Then dY/dx is 2y dy/dx, which is 2yp, so P is 2yp and p equals P over 2y.

Substituting: y squared equals 2x y (P over 2y) plus (P over 2y) squared y squared, which is xP plus P squared over 4.

So Y equals xP plus P squared over 4, Clairaut's form with f(P) equal to P squared over 4, and the general solution is Y equal to CX plus C squared over 4.

y^2 = C x + C^2/4

To check that, differentiate it: 2y dy/dx equals C, so C equals 2yp, and substituting into the answer gives y squared equal to 2pxy plus p squared y squared, which is the multiplied original. It works.

2 y (C/(2 y)) = C

A second one, with y squared and a cube

Solve y = 2xp plus y squared p cubed.

Multiply through by y and substitute Y = y squared, so that P equals 2yp and p equals P over 2y.

The first term becomes 2xy p, which is xP. The second becomes y cubed p cubed, which is y cubed times P cubed over 8y cubed, that is P cubed over 8.

So Y equals xP plus P cubed over 8, which is Clairaut's form with f(P) equal to P cubed over 8.

munotes.in252

Reducing an Equation to Clairaut's Form

The general solution is Y equal to CX plus C cubed over 8, that is:

y^2 = C x + C^3/8

Undoing the substitution, that is the answer. Check it by differentiating: 2y dy/dx equals C, so C is 2yp, and substituting back into the answer reproduces the multiplied original.

(C/(2 y))^3 y^3 = C^3/8

The practical advice

Try the substitution only when the equation is close to Clairaut's form already. The signals:

  • y appears squared throughout, or x does;
  • there is a single term with x times p in it;
  • the remaining terms are all powers of p times powers of the same variable.

If those are not present, the substitution will not produce Clairaut's form, and one of the other three methods of this section is what the question wants.

And one more piece of advice: check the answer by differentiating it, as the worked example above did. The substitution route has several places to drop a factor, and differentiating the answer catches all of them in one step.

Check yourself

Say which substitution each needs.

EquationSubstituteThen f is
y = 2px + p^2 yY = y squaredP squared over 4
y = 2px + y^2 p^3Y = y squaredP cubed over 4
x^2 = 2py x + p^2X = x squareda function of P
y = 2px + p^2 xnot this methodtry solvable for y

2 y (C/(2 y)) = C

(C/(2 y))^2 y^2 = C^2/4

The second line is the check that the p squared y squared term really does become P squared over 4, which is the step the whole substitution turns on.

Contents This chapter on its own page

munotes.in253

Chapter One Hundred Fourteen

Choosing the Method: A Decision Table for Module 2

Syllabus topic Module 2, "2.2 Differential equation of the first order of a degree higher than the first" and Module 2, "2.1 Equation of the first order and of the first degree"

In one line

Read the shape of the equation, not its name, and this table tells you what to do.

Why this chapter exists

You have sixty minutes for four to six answers. The single largest waste of that time is five minutes spent on the wrong method before switching. This table is how to avoid it.

Read it from the shape of the equation. The names of the methods are useless at the moment you need them; the shapes are not.

The decision table for the whole of sections 2.1 and 2.2

What you seeMethodChapter
dy/dx equals a function of x aloneintegrateseparation of variables
dy/dx equals a product or quotient of a function of x and a function of yseparate the variablesseparation of variables
dy/dx equals a function of (ax + by + c)v = ax + by + cequations that become separable
M and N of the same total degreey = vxhomogeneous equations
two linear brackets with constants, lines meetingshift the originnon-homogeneous linear
two linear brackets with constants, lines parallelv = the shared combinationthe parallel lines case
dM/dy equals dN/dxit is exact; use the shortcutsolving an exact equation
dy/dx + Py = Qthe integrating factor e to the integral of Pthe linear equation
dy/dx + Py = Qy to the nv = y to the (1 - n)Bernoulli
not linear in y but linear in xswap the rolesthe linear equation
p squared or higher, factorisesfactorise in psolvable for p
y = xp + a function of p alonewrite C for pClairaut
y easy to isolatedifferentiate with respect to xsolvable for y
x easy to isolatedifferentiate with respect to ysolvable for x
y squared or x squared throughout, near Clairautsubstitute for the squarereducing to Clairaut
none of the abovelook for an integrating factorthe five factor rules

The order to test in, and how long each test takes

  1. Is it of first degree in p? One look. If not, go to line 9.
  2. Does it separate? Ten seconds: try to write it as f(y)dy = g(x)dx.
  3. Is it exact? Ten seconds: two partial derivatives.
  4. Is it linear in y? Five seconds: look for y and dy/dx to the first power with no products.
  5. Is it linear in x? Five seconds: turn it upside down and look again.
  6. Is it homogeneous? Ten seconds: compare the degrees.
  7. Is it Bernoulli? Five seconds: a power of y on the right.
  8. Otherwise hunt for an integrating factor, in the order of that chapter.
  9. For higher degree: does it factorise in p? Then factorise. Is it Clairaut's form? Then one line. Otherwise solvable for y or for x.
munotes.in254

Choosing the Method: A Decision Table for Module 2

Steps one to seven take under a minute between them and settle nearly every question.

The four things that mean you are in the wrong method

An x that will not cancel after putting y = vx. The equation was not homogeneous.

Simultaneous equations with no solution when finding the intersection of two lines. They are parallel; use the other substitution.

An integral you cannot do after separating. Usually the wrong combination was chosen; go back and look for another.

p still in the answer. The elimination step was skipped.

Each of those is a signal rather than a disaster, and noticing it at once is worth more than any amount of algebraic skill.

The checks that cost ten seconds and are always worth it

Substitute the answer back. For an explicit answer, differentiate and substitute. For an implicit one, differentiate the relation implicitly. This is the check the whole of this book has been machine-verified against, and it is the only one that settles the matter.

Count the arbitrary constants. One for a first-order equation, however high its degree; two for a second-order one.

Check a special value. Put x = 0, or y = 0, or whatever is convenient, into both the equation and the answer.

Check the long-term behaviour if the equation came from a model. A cooling body must approach room temperature; a decaying quantity must approach zero.

Worked: reading four equations cold

dy/dx = x y plus x. Factorise the right side as x(y plus 1): separable. Ten seconds.

(2x plus 3y) dx plus (3x plus 2y) dy = 0. Two partial derivatives are both 3: exact. Ten seconds.

x dy/dx plus y = x squared. Divide by x: linear with P equal to one over x. Five seconds.

p squared minus 5p plus 6 = 0. Higher degree, factorises: two families of straight lines. Five seconds.

None of the four took more than ten seconds to classify, and none needed any algebra to do so.

Check yourself

Classify each without solving.

EquationMethod
dy/dx = y/xseparable, or homogeneous
dy/dx = (x + y)/(x - y)homogeneous
dy/dx + y tan x = sin xlinear
dy/dx + y = y^3Bernoulli
p^2 - 4 = 0factorise in p
y = xp + p^2Clairaut
(y + 2x) dx + (x + 2y) dy = 0exact

The first row has two correct answers, which is normal and is not a problem: take whichever you can do faster.

dy/dx = y/x

y = C x

(y + 2x) dx + (x + 2y) dy = 0

x y + x^2 + y^2 = C

Contents This chapter on its own page

munotes.in255

Chapter One Hundred Fifteen

What a Linear Equation With Constant Coefficients Is

Syllabus topic Module 2, "2.3 Linear Differential Equations with Constant Coefficients"

In one line

Every derivative of y appears to the first power with a constant multiplying it, and the general solution is one complementary function plus any one particular integral.

MU's heading and her introduction

Her 2.3 is "Linear Differential Equations with Constant Coefficients", and its first label is "Introduction". This chapter is that introduction.

The form

a0 d2y/dx2 + a1 dy/dx + a2 y = X

and in general, for order n, a sum of terms each of which is a constant times a derivative of y, equal to a function X of x alone.

Three requirements, and all three matter.

Linear. y and every derivative to the first power, never multiplied together, never inside a function.

Constant coefficients. The multipliers are numbers, not functions of x. That is what makes the method work.

X is a function of x alone. It may be zero, in which case the equation is called homogeneous in this section's sense of the word.

EquationQualifiesWhy not
y'' + 3y' + 2y = 0yes
y'' + 3y' + 2y = e^xyes
y'' + x y' + 2y = 0nothe coefficient x is not constant
y'' + 3y' + 2y^2 = 0noy squared
y'' + 3 y y' = 0notwo of them multiplied
y'' + sin y = 0noy inside a function

The third row is worth a note: an equation with variable coefficients is still linear, and much of the theory applies, but the method of this section does not, because it depends on the coefficients being constant. Such an equation is outside this syllabus.

The word homogeneous, for the third time

In this section, homogeneous means X = 0. That is a different meaning from section 2.1's "homogeneous in x and y", and a different meaning again from "non-homogeneous linear equations" in MU's 2.1.3.

Three meanings, one word. The only defence is to notice which section you are in, and this book flags each use.

The structural fact the whole section rests on

Here is the theorem that makes everything work, and it is worth stating carefully.

If y1 and y2 are solutions of the homogeneous equation, so is any combination A y1 plus B y2.

That is the superposition property, and it holds because the equation is linear: substituting a combination into a linear equation gives the combination of the results, and if each result is zero so is the combination.

It fails completely for a non-linear equation. Adding two solutions of y' = y squared gives something that is not a solution, and that is the real reason non-linear equations are hard.

munotes.in256

What a Linear Equation With Constant Coefficients Is

The consequence: complementary function plus particular integral

Suppose u is a solution of the homogeneous equation and v is any one solution of the full equation with its X. Then u plus v is also a solution of the full equation, because substituting gives zero plus X.

And conversely, any solution of the full equation differs from v by a solution of the homogeneous one.

So the general solution of the full equation is:

y = (the complementary function) + (any particular integral)

where the complementary function is the general solution of the homogeneous equation, carrying all the arbitrary constants, and the particular integral is any single solution of the full equation, carrying none.

That split is what the rest of this section is organised around. Chapters on the auxiliary equation find the complementary function; chapters on the inverse operator find the particular integral.

Worked, showing the split

Solve y'' minus 5y' plus 6y = e to the 4x.

Complementary function. The homogeneous equation y'' minus 5y' plus 6y = 0 has, as the next chapters show, the solution A e to the 2x plus B e to the 3x.

Particular integral. Trying y = k e to the 4x and substituting gives 16k minus 20k plus 6k equal to 1, so 2k = 1 and k is one half.

General solution. The sum.

d2y/dx2 - 5 dy/dx + 6y = e^(4x)

y = C1 e^(2x) + C2 e^(3x) + e^(4x)/2

Notice that the answer has two arbitrary constants for a second-order equation, and they both sit in the complementary function. The particular integral has none.

What each part means physically

Worth knowing, because it makes the split memorable.

The complementary function is what the system does on its own, with nothing driving it. It is the transient: in a circuit it is what happens after you stop applying a voltage, and it usually dies away.

The particular integral is the system's response to the driving term. It is the steady state: what the system settles into while the input continues.

That is the same split the Laplace transform chapter on worked initial value problems found in its partial fractions, and it is the same fact seen from the other side.

The order of this section

ChaptersWhat
the differential operatorthe notation everything is written in
the auxiliary equation and the four casesthe complementary function
the complete solutionwhy the two parts add
the inverse operator and the five rulesthe particular integral
the general methodwhen no rule fits

Read them in order: each depends on the one before.

Check yourself

d2y/dx2 - y = 0

y = C1 e^x + C2 e^(-x)

d2y/dx2 - y = 1

y = C1 e^x + C2 e^(-x) - 1

munotes.in257

What a Linear Equation With Constant Coefficients Is

The second is the first plus a particular integral of minus 1, and the complementary function is unchanged. That is the split in its simplest possible form: changing the right-hand side changes only the particular integral.

Contents This chapter on its own page

munotes.in258

Chapter One Hundred Sixteen

The Differential Operator D

Syllabus topic Module 2, "2.3 Linear Differential Equations with Constant Coefficients"

In one line

Write D for d/dx, and a differential equation becomes a polynomial in D acting on y.

MU's label

"The Differential Operator". Her later labels are written in this notation, so it has to come first.

The definition

D is the operation of differentiating with respect to x.

D y = dy/dx

Applying it twice is written D squared.

D^2 y = d2y/dx2

And in general D to the n means differentiating n times.

Why bother

Because an equation written in D can be treated as algebra.

Take y'' minus 5y' plus 6y = 0. In operator notation it is:

(D^2 - 5D + 6) y = 0

And the bracket factorises, exactly as an ordinary quadratic does.

(D - 2)(D - 3) = D^2 - 5D + 6

That factorisation is not a formal trick: applying (D minus 2) then (D minus 3) to a function really does give the same result as applying D squared minus 5D plus 6. The next chapter checks that, and it is what the whole method depends on.

The notation f(D)

A polynomial in D is written f(D), so the general linear equation with constant coefficients is:

f(D) y = X

MU writes her labels exactly that way: "Linear Differential Equation f(D) y = 0" and "Linear differential equation f(D) y = X".

Worked translations

EquationIn operator form
y'' + 3y' + 2y = 0(D^2 + 3D + 2)y = 0
y''' - y = e^x(D^3 - 1)y = e^x
y'' + 4y = sin 2x(D^2 + 4)y = sin 2x
y'' - 2y' + y = x^2(D - 1)^2 y = x^2

The last row shows a factorised f(D), which is how it will usually be written once the auxiliary equation has been solved.

What D does to the standard functions

These are the facts the particular-integral rules are built from, and they are worth having in front of you.

diff(e^(a x), x) = a e^(a x)

diff(sin(a x), x) = a cos(a x)

diff(cos(a x), x) = -a sin(a x)

diff(x^n, x) = n x^(n - 1)

So D acting on an exponential multiplies it by a, which is the single most useful fact in the section: it means an exponential is left in its own shape, only scaled, and that is why f(D) acting on e to the ax gives f(a) times e to the ax.

diff(diff(e^(3x), x), x) = 9 e^(3x)

Nine is three squared, and in general D to the n acting on e to the ax gives a to the n times it.

For a sine or a cosine, D twice multiplies by minus a squared.

diff(diff(sin(a x), x), x) = -a^2 sin(a x)

munotes.in259

The Differential Operator D

So D squared acting on a sine or a cosine of ax is the same as multiplying by minus a squared, which is the second most useful fact and the basis of the trigonometric rule for particular integrals.

The inverse operator, in advance

One over f(D) is defined as the operation that undoes f(D): if f(D)y equals X then y equals one over f(D) acting on X.

That is exactly how integration relates to differentiation, and one over D is integration.

(1/D) X = integrate(X, x)

The chapter on the inverse operator makes this precise. It is mentioned here because MU's label "The inverse operator 1/f(D)" is what the last eight chapters of this section are about.

A warning in advance

D behaves like an algebraic symbol in almost every respect, and the next chapter lists exactly which. But there is one thing it does not do, and every mistake made with operator methods comes from forgetting it.

D does not commute with a function of x. Applying D and then multiplying by x is not the same as multiplying by x and then applying D, because of the product rule.

diff(x f(x), x) = f(x) + x diff(f(x), x)

The extra f(x) is exactly the failure to commute. The next chapter treats it properly.

Check yourself

Write each in operator form.

EquationOperator form
y'' - 4y = 0(D^2 - 4)y = 0
y'' + 2y' + y = e^x(D + 1)^2 y = e^x
y''' + y' = 0D(D^2 + 1)y = 0
y'' - 6y' + 9y = x(D - 3)^2 y = x

And check these facts about D.

diff(e^(5x), x) = 5 e^(5x)

diff(diff(cos(3x), x), x) = -9 cos(3x)

diff(x^4, x) = 4 x^3

diff(diff(e^(-2x), x), x) = 4 e^(-2x)

Contents This chapter on its own page

munotes.in260

Chapter One Hundred Seventeen

The Laws D Obeys, and the One It Does Not

Syllabus topic Module 2, "2.3 Linear Differential Equations with Constant Coefficients"

In one line

D adds, multiplies and factorises like an algebraic symbol, but it does not commute with a function of x.

The laws it obeys

Each holds because differentiation is linear and because the coefficients are constant.

It is linear. D acting on a sum is the sum of the results, and a constant passes through.

diff(3 sin(x) + 4 e^x, x) = 3 cos(x) + 4 e^x

Polynomials in D add and multiply as usual. If f and g are polynomials in D, then f(D) plus g(D) and f(D) times g(D) mean what they would for ordinary polynomials.

Multiplication is commutative. f(D) g(D) equals g(D) f(D), which is what makes factorising in any order legitimate.

It factorises. A polynomial in D factorises exactly as the same polynomial in an ordinary variable would.

(D - 2)(D - 3) = D^2 - 5D + 6

(D + 1)^2 = D^2 + 2D + 1

D(D^2 + 1) = D^3 + D

Checking that factorisation really works

The factorisation is the one thing worth verifying rather than taking on trust, because everything depends on it.

Apply (D minus 3) to a function y: the result is y prime minus 3y. Now apply (D minus 2) to that: the derivative of (y prime minus 3y) minus 2(y prime minus 3y), which is y double prime minus 3y prime minus 2y prime plus 6y, that is y double prime minus 5y prime plus 6y.

And that is exactly (D squared minus 5D plus 6) acting on y. So the factorisation holds.

Do it in the other order and the same thing comes out, which is the commutativity.

diff(diff(y, x), x) - 5 diff(y, x) + 6 y = diff(diff(y, x), x) - 5 diff(y, x) + 6 y

The law it does NOT obey

D does not commute with multiplication by a function of x.

Applying D and then multiplying by x is not the same as multiplying by x and then applying D. The product rule is the difference.

diff(x y, x) = y + x diff(y, x)

So Dx acting on y gives y plus xDy, while xD acting on y gives only xDy. The two differ by y, that is by 1 acting on y.

D x - x D = 1

That single relation is where every mistake with operator methods comes from. If you ever treat x as a constant that can be moved past a D, you will lose a term.

Where the failure to commute actually matters

Three places, and all three are coming.

The rule for X equal to x to the n. It expands one over f(D) as a power series in D and applies it to a polynomial. That is legitimate because each term acts on the polynomial separately; but it would not be legitimate to move an x past a D in the middle of it.

munotes.in261

The Laws D Obeys, and the One It Does Not

The rule for X equal to e to the ax times V. The shift rule, which says one over f(D) acting on e to the ax V equals e to the ax times one over f(D plus a) acting on V. That D plus a is precisely the commutation relation in action: moving the exponential past the operator changes the operator.

The rule for X equal to x times V. Its statement contains a term with the derivative of the operator in it, and that derivative term is the failure to commute made explicit.

So the one law D does not obey is not an awkward footnote. It is the reason three of the five rules look the way they do.

The shift relation, stated

Because it is used so often, it is worth having on its own.

f(D)(e^(a x) V) = e^(a x) f(D + a) V

In words: an exponential can be moved out to the left if you replace D by D plus a inside the operator.

Checking it on the simplest case, f(D) equal to D. The left side is the derivative of e to the ax V, which by the product rule is a e to the ax V plus e to the ax V prime. The right side is e to the ax times (D plus a)V, which is e to the ax(V prime plus aV). The two agree.

diff(e^(a x) V, x) = e^(a x)(a V + diff(V, x))

And once it holds for D it holds for any power of D by repetition, and hence for any polynomial in D.

What all this licenses

You may:

  • factorise f(D) and apply the factors in any order;
  • split a sum and treat each term separately;
  • take constants through;
  • expand one over f(D) as a series in D and apply it term by term to a polynomial;
  • move an exponential out, provided you shift D to D plus a.

You may not:

  • move a function of x past a D;
  • treat one over f(D) as a fraction to be cancelled against something containing x;
  • apply the exponential rule when f(a) is zero, which is the failure case of its own chapter.

Check yourself

(D - 1)(D - 4) = D^2 - 5D + 4

(D - 2)^3 = D^3 - 6 D^2 + 12 D - 8

diff(x sin(x), x) = sin(x) + x cos(x)

diff(e^(2x) x^2, x) = 2 e^(2x) x^2 + 2 x e^(2x)

The third and fourth lines are the product rule, which is the commutation failure in its everyday form. Notice that in each case there are two terms where naive commuting would give one.

Contents This chapter on its own page

munotes.in262

Chapter One Hundred Eighteen

The Auxiliary Equation

Syllabus topic Module 2, "2.3 Linear Differential Equations with Constant Coefficients"

In one line

Try y = e to the mx, and the equation becomes a polynomial in m whose roots give the complementary function.

MU's label

"Linear Differential Equation f(D) y = 0". This chapter is how it is solved.

The trial solution

Substitute y = e to the mx into the homogeneous equation. Because D acting on e to the mx multiplies it by m, every derivative becomes a power of m.

diff(e^(m x), x) = m e^(m x)

diff(diff(e^(m x), x), x) = m^2 e^(m x)

So f(D) acting on e to the mx equals f(m) times e to the mx, and the equation f(D)y = 0 becomes:

f(m) e^(m x) = 0

An exponential is never zero, so this holds exactly when f(m) = 0.

The auxiliary equation

f(m) = 0

That polynomial is the auxiliary equation, sometimes the characteristic equation. It is got from the differential equation by writing m for D, and nothing more.

Differential equationAuxiliary equation
y'' - 5y' + 6y = 0m^2 - 5m + 6 = 0
y'' + 4y = 0m^2 + 4 = 0
y'' - 2y' + y = 0m^2 - 2m + 1 = 0
y''' - y = 0m^3 - 1 = 0

What its roots give

Each root m gives one solution e to the mx, and by superposition any combination of those solutions is a solution too.

For a second-order equation with two distinct roots m1 and m2, the complementary function is:

y = A e^(m1 x) + B e^(m2 x)

with two arbitrary constants for a second-order equation, exactly as the order demands.

Worked

Solve y'' minus 5y' plus 6y = 0.

The auxiliary equation is m squared minus 5m plus 6 = 0, which factorises as (m minus 2)(m minus 3) = 0, so m is 2 or 3.

d2y/dx2 - 5 dy/dx + 6y = 0

y = C1 e^(2x) + C2 e^(3x)

Two independent solutions, two arbitrary constants, and the checker has verified that the combination solves the equation for every pair of values.

Why the exponential is the right thing to try

Because the equation says: some combination of y and its derivatives is zero. For that to happen, the derivatives must be the same shape as y, so that the terms can cancel.

The exponential is the one function whose derivative is a multiple of itself. So it is the only shape that can possibly work, and it does.

That reasoning also explains why the method fails for variable coefficients: multiplying by a function of x changes the shape, and no exponential can then make the terms cancel.

munotes.in263

The Auxiliary Equation

The four cases

The roots of a real quadratic come in exactly three kinds, and a repeated complex pair makes a fourth case at higher order. Each has its own chapter.

The rootsCaseChapter
real and distinctonethe next
real and repeatedtwosecond from here
a complex pairthreethird
a repeated complex pairfourfourth

MU's label is "Different cases depending on the nature of the root of the equation f(D) = 0", so the cases are examined by name.

Higher order

For an equation of order n the auxiliary equation is of degree n and has n roots, giving n arbitrary constants.

d3y/dx3 - d2y/dx2 - 2 dy/dx = 0

y = C1 + C2 e^(2x) + C3 e^(-x)

There the auxiliary equation is m cubed minus m squared minus 2m = 0, which is m(m minus 2)(m plus 1) = 0, so the roots are 0, 2 and minus 1. Notice that the root zero gives e to the 0x, which is 1, so it contributes a constant term. That is the commonest surprise in this chapter and it is not an error.

Check yourself

d2y/dx2 - 4y = 0

y = C1 e^(2x) + C2 e^(-2x)

d2y/dx2 + dy/dx - 6y = 0

y = C1 e^(2x) + C2 e^(-3x)

d2y/dx2 - dy/dx = 0

y = C1 + C2 e^x

The third has roots 0 and 1, so a constant and an exponential. Getting the constant from the zero root is the thing to remember.

Contents This chapter on its own page

munotes.in264

Chapter One Hundred Nineteen

Case One: Real and Distinct Roots

Syllabus topic Module 2, "2.3 Linear Differential Equations with Constant Coefficients"

In one line

Each root gives one exponential, and the complementary function is their combination.

The case

The auxiliary equation has real roots, all different. For a second-order equation that means the discriminant is positive.

y = A e^(m1 x) + B e^(m2 x)

One term per root, one arbitrary constant per term.

Worked

Solve y'' minus 7y' plus 12y = 0.

The auxiliary equation is m squared minus 7m plus 12 = 0, that is (m minus 3)(m minus 4) = 0, so the roots are 3 and 4.

d2y/dx2 - 7 dy/dx + 12y = 0

y = C1 e^(3x) + C2 e^(4x)

Worked, with a negative root

Solve y'' plus y' minus 6y = 0.

The auxiliary equation is m squared plus m minus 6 = 0, that is (m minus 2)(m plus 3) = 0, so the roots are 2 and minus 3.

d2y/dx2 + dy/dx - 6y = 0

y = C1 e^(2x) + C2 e^(-3x)

One term grows and one decays. That mixture is normal, and the growing term is what makes such a system unstable: whatever the initial conditions, unless C1 is exactly zero the solution eventually grows without limit.

Worked, with a root of zero

Solve y'' minus 3y' = 0.

The auxiliary equation is m squared minus 3m = 0, that is m(m minus 3) = 0, so the roots are 0 and 3.

The root zero gives e to the 0x, which is 1, so that term is a constant.

d2y/dx2 - 3 dy/dx = 0

y = C1 + C2 e^(3x)

Losing the constant is the commonest error in this case, because a term that looks like nothing is easy to drop.

Worked, third order

Solve y''' minus 6y'' plus 11y' minus 6y = 0.

The auxiliary equation is m cubed minus 6m squared plus 11m minus 6 = 0. Trying m = 1 gives 1 minus 6 plus 11 minus 6 = 0, so (m minus 1) is a factor; dividing out leaves m squared minus 5m plus 6, which factorises as (m minus 2)(m minus 3).

So the roots are 1, 2 and 3, and there are three arbitrary constants.

d3y/dx3 - 6 d2y/dx2 + 11 dy/dx - 6y = 0

y = C1 e^x + C2 e^(2x) + C3 e^(3x)

Fitting initial conditions

Two conditions fix the two constants.

Solve y'' minus 7y' plus 12y = 0 with y(0) = 1 and y prime of 0 = 0.

The general solution is C1 e to the 3x plus C2 e to the 4x. At x = 0 it gives C1 plus C2 = 1. Its derivative is 3C1 e to the 3x plus 4C2 e to the 4x, which at x = 0 gives 3C1 plus 4C2 = 0.

munotes.in265

Case One: Real and Distinct Roots

Solving: from the second, C2 is minus three quarters of C1. Substituting into the first: C1 minus three quarters C1 = 1, so C1 over 4 = 1 and C1 = 4, and then C2 = minus 3.

d2y/dx2 - 7 dy/dx + 12y = 0

y = 4 e^(3x) - 3 e^(4x)

Checking: at x = 0 the value is 4 minus 3, which is 1. The derivative is 12 e to the 3x minus 12 e to the 4x, which at 0 is 12 minus 12, that is 0. Both conditions hold.

What it means physically

Two real negative roots is a system that settles down without oscillating: an overdamped one, like a door with a strong closer. Two real roots of opposite sign is unstable. Two real positive roots grows.

The sign of the roots is therefore the whole of stability for this case, and the chapter on circuits and springs makes the connection.

Check yourself

d2y/dx2 - 9y = 0

y = C1 e^(3x) + C2 e^(-3x)

d2y/dx2 - 5 dy/dx = 0

y = C1 + C2 e^(5x)

d2y/dx2 + 3 dy/dx + 2y = 0

y = C1 e^(-x) + C2 e^(-2x)

d3y/dx3 - dy/dx = 0

y = C1 + C2 e^x + C3 e^(-x)

The last has roots 0, 1 and minus 1, so a constant and two exponentials.

Contents This chapter on its own page

munotes.in266

Chapter One Hundred Twenty

Case Two: Repeated Roots

Syllabus topic Module 2, "2.3 Linear Differential Equations with Constant Coefficients"

In one line

A repeated root gives an exponential and x times the same exponential, and the x is not a fudge.

The problem

Suppose the auxiliary equation has a repeated root m. Then the trial solution e to the mx is found once, and the two terms of the complementary function would be A e to the mx plus B e to the mx, which is (A plus B) e to the mx: one constant, not two.

A second-order equation needs two. So one solution is missing.

The answer

y = (A + B x) e^(m x)

The second solution is x times the first.

Where the x comes from

Not from guessing. Here are two derivations, and the first is the one to give in an examination.

By a limit. Take two distinct roots m and m plus h, so the complementary function is A e to the mx plus B e to the (m plus h)x. Choose the constants as minus B over h and plus B over h, which is legitimate because they are arbitrary.

Then the solution is B(e to the (m+h)x minus e to the mx) over h, which as h tends to zero is B times the derivative of e to the mx with respect to m, which is B x e to the mx.

So x e to the mx is what the second solution becomes as the two roots merge, and that is why the x appears.

By substitution. For a repeated root the operator is (D minus m) squared. Try y = u e to the mx. By the shift relation of the D-laws chapter, (D minus m) squared acting on u e to the mx is e to the mx times D squared acting on u.

So the equation becomes D squared u = 0, which says u double prime = 0, so u is a linear function of x: u = A plus Bx.

That derivation is shorter and it also generalises: for a root repeated three times the equation becomes D cubed u = 0, so u is a quadratic.

Worked

Solve y'' minus 4y' plus 4y = 0.

The auxiliary equation is m squared minus 4m plus 4 = 0, that is (m minus 2) squared = 0, so m = 2 twice.

d2y/dx2 - 4 dy/dx + 4y = 0

y = C1 e^(2x) + C2 x e^(2x)

Worked, a negative repeated root

Solve y'' plus 6y' plus 9y = 0.

The auxiliary equation is (m plus 3) squared = 0, so m = minus 3 twice.

d2y/dx2 + 6 dy/dx + 9y = 0

y = C1 e^(-3x) + C2 x e^(-3x)

The x grows and the exponential decays, and the exponential wins: the solution rises to a peak and then dies away. That is critical damping, the fastest a system can settle without overshooting, and it is what a well-adjusted door closer does.

munotes.in267

Case Two: Repeated Roots

Worked, a root repeated three times

Solve y''' minus 3y'' plus 3y' minus y = 0.

The auxiliary equation is m cubed minus 3m squared plus 3m minus 1 = 0, which is (m minus 1) cubed = 0, so m = 1 three times.

By the substitution derivation, u must satisfy D cubed u = 0, so u is a quadratic in x.

d3y/dx3 - 3 d2y/dx2 + 3 dy/dx - y = 0

y = C1 e^x + C2 x e^x + C3 x^2 e^x

Three constants for a third-order equation, and the powers of x run 0, 1, 2.

The general pattern

A root repeated k times contributes k terms: the exponential multiplied by 1, by x, by x squared, and so on up to x to the power k minus 1.

RootsComplementary function
2, 2(A + Bx) e^(2x)
2, 2, 2(A + Bx + Cx^2) e^(2x)
1, 2, 2A e^x + (B + Cx) e^(2x)
0, 0A + Bx

The last row is the case where the repeated root is zero, so the exponential is 1 and the answer is a straight line. That is the solution of y'' = 0, which it obviously should be.

d2y/dx2 = 0

y = C1 + C2 x

Check yourself

d2y/dx2 - 2 dy/dx + y = 0

y = C1 e^x + C2 x e^x

d2y/dx2 + 4 dy/dx + 4y = 0

y = C1 e^(-2x) + C2 x e^(-2x)

d3y/dx3 - 4 d2y/dx2 + 4 dy/dx = 0

y = C1 + C2 e^(2x) + C3 x e^(2x)

The third has roots 0, 2 and 2, so a constant from the zero root and two terms from the repeated one.

Contents This chapter on its own page

munotes.in268

Chapter One Hundred Twenty-One

Case Three: Complex Roots

Syllabus topic Module 2, "2.3 Linear Differential Equations with Constant Coefficients"

In one line

A complex pair a plus or minus ib gives e to the ax times (A cos bx plus B sin bx), and Euler's formula is what turns the complex answer real.

The case

The auxiliary equation has a negative discriminant, so its roots are a conjugate pair.

m = a + i b

and its conjugate a minus ib. They always come in pairs because the coefficients are real, which is the fact the conjugate chapter of Module 1 established.

The answer

y = e^(a x)(A cos(b x) + B sin(b x))

The real part of the root becomes the exponential, and the imaginary part becomes the frequency.

Where it comes from: Module 1 paying for itself

The auxiliary equation's roots are complex, so the two solutions are e to the (a plus ib)x and e to the (a minus ib)x. The complementary function is a combination of them.

Split each exponential: e to the ax times e to the ibx. And by Euler's formula, which the chapter on the exponential form of a complex number proved:

e^(i b x) = cos(b x) + i sin(b x)

e^(-i b x) = cos(b x) - i sin(b x)

So a combination P e to the (a+ib)x plus Q e to the (a-ib)x becomes e to the ax times ((P plus Q)cos bx plus i(P minus Q)sin bx).

Naming A for (P plus Q) and B for i(P minus Q), which is legitimate because P and Q are arbitrary, gives the real answer.

The arbitrary constants absorbed the i. That is the whole of the argument, and it is why a real differential equation with complex roots still has a real solution.

And the two combinations that do it are precisely the two from Module 1: adding Euler's formula to its conjugate gives twice the cosine, and subtracting gives twice i times the sine.

(e^(i b x) + e^(-i b x))/2 = cos(b x)

(e^(i b x) - e^(-i b x))/(2i) = sin(b x)

Worked: a pair with no real part

Solve y'' plus 9y = 0.

The auxiliary equation is m squared plus 9 = 0, so m is plus or minus 3i. Here a is 0 and b is 3.

d2y/dx2 + 9y = 0

y = C1 cos(3x) + C2 sin(3x)

With a = 0 there is no exponential, so the solution oscillates for ever without growing or decaying. That is simple harmonic motion, and this is its equation.

Worked: a decaying oscillation

Solve y'' plus 2y' plus 5y = 0.

The auxiliary equation is m squared plus 2m plus 5 = 0, whose discriminant is 4 minus 20, that is minus 16. So the roots are minus 1 plus or minus 2i, and a is minus 1 with b equal to 2.

munotes.in269

Case Three: Complex Roots

d2y/dx2 + 2 dy/dx + 5y = 0

y = C1 e^(-x) cos(2x) + C2 e^(-x) sin(2x)

A decaying oscillation: it swings, and each swing is smaller. That is underdamping, and it is what a plucked guitar string does.

Worked: a growing oscillation

Solve y'' minus 2y' plus 5y = 0.

The roots are 1 plus or minus 2i, so a is plus 1.

d2y/dx2 - 2 dy/dx + 5y = 0

y = C1 e^x cos(2x) + C2 e^x sin(2x)

An oscillation whose amplitude grows without limit. In an engineered system that is a fault, and the sign of a is what tells you: a negative means stable, a positive means unstable, and zero means it oscillates for ever.

The alternative form, and why it is worth knowing

The answer can equally be written as a single sine or cosine with a phase.

A cos(b x) + B sin(b x) = sqrt(A^2 + B^2) cos(b x - atan(B/A))

The identity is written for a positive A; for a negative A the same expression holds with pi added to the phase, because the arctangent only knows the ratio and not the quadrant, which is exactly the trap the argument chapter of Module 1 warned about.

That form separates the amplitude, which is the square root of A squared plus B squared, from the phase, which is the arctangent of B over A. Both are what a physical measurement actually gives you, so a question about amplitude or phase wants this form.

And notice where it comes from: the modulus and the argument of the complex number A plus iB, which is the polar form of Module 1 in a new costume.

Fitting initial conditions

Solve y'' plus 4y = 0 with y(0) = 3 and y prime of 0 = 2.

The general solution is C1 cos 2x plus C2 sin 2x. At x = 0 it gives C1 = 3. Its derivative is minus 2C1 sin 2x plus 2C2 cos 2x, which at 0 gives 2C2 = 2, so C2 = 1.

d2y/dx2 + 4y = 0

y = 3 cos(2x) + sin(2x)

Check yourself

d2y/dx2 + y = 0

y = C1 cos(x) + C2 sin(x)

d2y/dx2 + 6 dy/dx + 13y = 0

y = C1 e^(-3x) cos(2x) + C2 e^(-3x) sin(2x)

d2y/dx2 + 16y = 0

y = C1 cos(4x) + C2 sin(4x)

For the second, the discriminant is 36 minus 52, that is minus 16, so the roots are minus 3 plus or minus 2i: a is minus 3 and b is 2.

Contents This chapter on its own page

munotes.in270

Chapter One Hundred Twenty-Two

Case Four: Repeated Complex Roots

Syllabus topic Module 2, "2.3 Linear Differential Equations with Constant Coefficients"

In one line

A complex pair repeated k times gives the same cosine and sine terms multiplied by 1, x, and so on up to x to the power k minus 1.

The case

The two previous chapters combined. The auxiliary equation has a complex pair, and that pair is a repeated root.

That requires an equation of at least fourth order, because a repeated complex pair accounts for four roots. So this case is the one MU's "different cases" label reaches last, and it is set on fourth-order equations.

The answer

For the pair a plus or minus ib repeated twice:

y = e^(a x)((A + B x) cos(b x) + (C + D x) sin(b x))

Four arbitrary constants for a fourth-order equation, exactly as the order demands.

Why

Both previous reasons at once. The complex pair gives the cosine and sine, by Euler's formula. The repetition gives the extra factor of x, by the substitution argument of the repeated-roots chapter.

Formally: the operator contains ((D minus a) squared plus b squared) squared, and putting y = u e to the ax reduces the equation to (D squared plus b squared) squared u = 0, whose solutions are the cosine and sine of bx each multiplied by a linear function of x.

Worked

Solve y'''' plus 2y'' plus y = 0.

The auxiliary equation is m to the fourth plus 2m squared plus 1 = 0, which is (m squared plus 1) squared = 0.

So m squared = minus 1 twice, giving m = plus or minus i, each repeated. Here a is 0 and b is 1.

d4y/dx4 + 2 d2y/dx2 + y = 0

y = C1 cos(x) + C2 sin(x) + C3 x cos(x) + C4 x sin(x)

Four terms, four constants. The x cos x and x sin x terms grow, so this system's oscillation builds up without limit, which is exactly the resonance the Laplace chapter met from the other direction: driving an oscillator at its own frequency produces this equation.

Worked, with a real part

Solve the fourth-order equation whose auxiliary equation is ((m plus 1) squared plus 4) squared = 0.

Expanding, m squared plus 2m plus 5 repeated, so the roots are minus 1 plus or minus 2i, each twice. Here a is minus 1 and b is 2.

d4y/dx4 + 4 d3y/dx3 + 14 d2y/dx2 + 20 dy/dx + 25y = 0

y = C1 e^(-x) cos(2x) + C2 e^(-x) sin(2x) + C3 x e^(-x) cos(2x) + C4 x e^(-x) sin(2x)

The coefficients of that differential equation come from expanding (m squared plus 2m plus 5) squared, which is m to the fourth plus 4m cubed plus 14 m squared plus 20m plus 25.

munotes.in271

Case Four: Repeated Complex Roots

(m^2 + 2m + 5)^2 = m^4 + 4 m^3 + 14 m^2 + 20 m + 25

Here the exponential decays and the x grows, and the exponential wins, so the oscillation rises and then dies. That is a critically damped oscillation.

All four cases, in one table

RootsComplementary function
m1, m2 real and distinctA e^(m1 x) + B e^(m2 x)
m repeated twice(A + Bx) e^(mx)
m repeated k times(A + Bx + ... ) e^(mx), up to x^(k-1)
a plus or minus ibe^(ax)(A cos bx + B sin bx)
a plus or minus ib, repeated twicee^(ax)((A + Bx) cos bx + (C + Dx) sin bx)

That table is the whole of MU's "different cases" label, and it is the single most useful page of section 2.3.

The rule that covers all of them

Every case is the same rule, which is worth stating once so that the five rows above stop being five things to remember.

Each root contributes e to the root times x. A root repeated k times contributes that exponential multiplied by 1, x, up to x to the power k minus 1. A complex pair's two exponentials are then combined into a cosine and a sine by Euler's formula.

That one sentence generates the table.

Check yourself

d4y/dx4 - y = 0

y = C1 e^x + C2 e^(-x) + C3 cos(x) + C4 sin(x)

d4y/dx4 + 8 d2y/dx2 + 16y = 0

y = C1 cos(2x) + C2 sin(2x) + C3 x cos(2x) + C4 x sin(2x)

The first has auxiliary equation m to the fourth minus 1 = 0, whose roots are 1, minus 1, i and minus i: two real and one complex pair, so two exponentials and a cosine and sine. The second is (m squared plus 4) squared = 0, a repeated complex pair.

Contents This chapter on its own page

munotes.in272

Chapter One Hundred Twenty-Three

The Complete Solution: Complementary Function Plus Particular Integral

Syllabus topic Module 2, "2.3 Linear Differential Equations with Constant Coefficients"

In one line

The general solution of f(D)y = X is the complementary function plus any one particular integral, and neither alone will do.

MU's labels

"Linear differential equation f(D) y = X" and "The complimentary Function", which is her own spelling of complementary. This book's contract reproduces her spelling, because a contract's job is to quote what the University printed; the book itself writes it correctly.

The statement

y = (complementary function) + (particular integral)

The complementary function, or CF, is the general solution of f(D)y = 0. It carries all the arbitrary constants.

The particular integral, or PI, is any one solution of f(D)y = X. It carries none.

Why the sum is a solution

Let u be the CF, so f(D)u = 0, and let v be the PI, so f(D)v = X.

Then f(D)(u plus v) is f(D)u plus f(D)v, because the operator is linear, which is 0 plus X, which is X.

So u plus v solves the full equation. One line.

Why every solution is of that form

Let w be any solution of the full equation, so f(D)w = X. Then f(D)(w minus v) is X minus X, which is zero, so w minus v is a solution of the homogeneous equation, and therefore w minus v is contained in the CF.

So w is the CF plus v. Which is to say: there are no other solutions.

Those two paragraphs together are what makes "CF plus PI" the general solution rather than merely a family of solutions, and a question asking you to justify the method wants them.

Why neither alone will do

The CF alone solves f(D)y = 0, not f(D)y = X. It has the right number of constants and the wrong right-hand side.

The PI alone solves the right equation but has no constants, so it cannot be made to fit any initial conditions. It is one solution out of infinitely many.

The two failures are complementary, which is where the name comes from.

Worked

Solve y'' minus 5y' plus 6y = e to the 4x.

CF. The auxiliary equation is (m minus 2)(m minus 3) = 0, so the CF is C1 e to the 2x plus C2 e to the 3x.

PI. Try y = k e to the 4x. Substituting gives 16k minus 20k plus 6k equal to 1, so 2k = 1 and k is one half.

Complete solution. The sum.

d2y/dx2 - 5 dy/dx + 6y = e^(4x)

y = C1 e^(2x) + C2 e^(3x) + e^(4x)/2

Worked, with a constant right-hand side

Solve y'' plus 4y = 8.

CF. m squared plus 4 = 0, so m is plus or minus 2i, and the CF is C1 cos 2x plus C2 sin 2x.

munotes.in273

The Complete Solution: Complementary Function Plus Particular Integral

PI. Try a constant y = k. Then y'' is zero, so 4k = 8 and k = 2.

d2y/dx2 + 4y = 8

y = C1 cos(2x) + C2 sin(2x) + 2

A constant right-hand side gives a constant PI, provided the operator has no factor of D on its own. If it does, the constant is absorbed and the PI is a multiple of x instead; that is the failure case of its own chapter.

Worked, with a sine

Solve y'' minus y = sin x.

CF. m squared minus 1 = 0, so m is plus or minus 1, and the CF is C1 e to the x plus C2 e to the minus x.

PI. Try y = k sin x. Then y'' is minus k sin x, so minus k sin x minus k sin x equals sin x, giving minus 2k = 1 and k = minus one half.

d2y/dx2 - y = sin(x)

y = C1 e^x + C2 e^(-x) - sin(x)/2

Any PI will do, and that is worth checking

The theorem says any one particular integral works, and different methods give different ones. They differ by a solution of the homogeneous equation, which the CF then absorbs.

For instance, for y'' minus y = sin x, both minus sin x over 2 and minus sin x over 2 plus 7 e to the x are particular integrals. The second's extra term is part of the CF, so adding the CF to either gives the same general solution.

d2y/dx2 - y = sin(x)

y = C1 e^x + C2 e^(-x) - sin(x)/2 + 7 e^x

That block verifies it: the 7 e to the x is harmless, because C1 can absorb it. So an answer that differs from the printed one by a CF term is still correct, and it is worth knowing before you conclude that you have made a mistake.

The procedure for the rest of this section

  1. Write the auxiliary equation and find the CF, using the four cases.
  2. Find a PI, using whichever of the rules fits the shape of X.
  3. Add them.
  4. If initial conditions are given, fit the constants at the end, to the complete solution and not to the CF.

Step four is where marks go: fitting the constants to the CF alone, before adding the PI, gives the wrong answer every time.

Check yourself

d2y/dx2 - y = 1

y = C1 e^x + C2 e^(-x) - 1

d2y/dx2 + y = 2

y = C1 cos(x) + C2 sin(x) + 2

d2y/dx2 - 4y = e^x

y = C1 e^(2x) + C2 e^(-2x) - e^x/3

munotes.in274

The Complete Solution: Complementary Function Plus Particular Integral

For the third, the PI is k e to the x with k minus 4k = 1, so k is minus one third.

Contents This chapter on its own page

munotes.in275

Chapter One Hundred Twenty-Four

The Complementary Function, and What It Physically Means

Syllabus topic Module 2, "2.3 Linear Differential Equations with Constant Coefficients"

In one line

The complementary function is what the system does with nothing driving it, and the four cases of the auxiliary equation are its four possible behaviours.

MU's label

"The complimentary Function", her spelling. The object is the general solution of f(D)y = 0.

The four cases, gathered

Roots of the auxiliary equationContribution to the CF
a real root rA e^(rx)
a real root r repeated k times(A + Bx + ...) e^(rx), up to x^(k-1)
a complex pair a plus or minus ibe^(ax)(A cos bx + B sin bx)
that pair repeated k timesthe same, each constant replaced by a polynomial of degree k-1

Read off the roots, write one entry per root or pair, and add them. That is the whole procedure, and the four chapters before this one derived each row.

Worked, three cases in one equation

Find the CF of the equation whose auxiliary equation is:

(m - 1)(m + 2)^2 (m^2 + 9) = 0

Count the roots first: one from the first factor, two from the squared one, and two from the quadratic, which is five. So the differential equation is of fifth order and the CF will have five constants.

The roots are 1, minus 2 twice, and plus or minus 3i.

  • The root 1 gives C1 e to the x.
  • The root minus 2 repeated gives (C2 plus C3 x) e to the minus 2x.
  • The pair plus or minus 3i gives C4 cos 3x plus C5 sin 3x.

d2y/dx2 + 4 dy/dx + 4y = 0

y = C1 e^(-2x) + C2 x e^(-2x)

The block above checks the middle piece on its own, which is the checkable part; the full fifth-order equation's coefficients would come from expanding that product.

(m - 1)(m + 2)^2 (m^2 + 9) = m^5 + 3 m^4 + 9 m^3 + 23 m^2 + 0 m - 36

Reading the coefficients off that expansion gives the differential equation, which is how a question in the other direction is set: "write down the equation whose CF is ..." wants exactly this multiplication.

What it means physically

This is the part worth carrying away, because it makes the four cases memorable.

The CF is the system's own behaviour. Stop driving it, give it a push, and what it does is the CF. It is the transient: in nearly every engineered system it dies away, leaving only the response to the input.

RootsBehaviourName
real, both negativesettles without oscillatingoverdamped
real and repeated, negativesettles as fast as possible without overshootcritically damped
complex with negative real partoscillates, each swing smallerunderdamped
purely imaginaryoscillates for everundamped
any root with positive real partgrows without limitunstable
munotes.in276

The Complementary Function, and What It Physically Means

The last row is the one an engineer cares about most. A system is stable exactly when every root of its auxiliary equation has a negative real part, which is a statement about where certain complex numbers sit relative to the imaginary axis, and it is why Module 1's first half is in this syllabus.

The connection to the Laplace transform

Worth drawing, because it is the same fact twice.

In Module 1, solving a differential equation by the transform produced a rational Y(s) whose denominator was exactly f(s), the auxiliary polynomial with s for m. Its roots were the poles, and the partial fractions over those roots produced exactly the terms of the CF.

So the CF's four cases and the partial-fraction chapters' four cases are the same four cases:

Root of fCF termPartial fraction
real distinctan exponentiala distinct linear factor
real repeatedx times an exponentiala repeated linear factor
complex paira sine and a cosinean irreducible quadratic
repeated complex pairx times a sine or cosinea repeated irreducible quadratic

Noticing that correspondence is the single best way to make both halves of this paper stick.

The constants, and how many

As many as the order. A second-order equation has two, a fifth-order one five. Each root contributes one, and a root repeated k times contributes k.

Counting them is a free check: an answer with the wrong number of constants is wrong, whatever else is right about it.

Check yourself

Write the CF for each auxiliary equation.

Auxiliary equationComplementary function
roots 2 and 5A e^(2x) + B e^(5x)
root 3 twice(A + Bx) e^(3x)
roots plus and minus 4iA cos 4x + B sin 4x
roots -1 plus and minus ie^(-x)(A cos x + B sin x)
roots 0, 0, 1A + Bx + C e^x

d3y/dx3 - d2y/dx2 = 0

y = C1 + C2 x + C3 e^x

The last block is the fifth row's equation, whose auxiliary equation is m cubed minus m squared = 0, that is m squared(m minus 1) = 0.

Contents This chapter on its own page

munotes.in277

Chapter One Hundred Twenty-Five

The Inverse Operator 1 Over f(D)

Syllabus topic Module 2, "2.3 Linear Differential Equations with Constant Coefficients"

In one line

One over f(D) is the operation that undoes f(D), and applying it to X gives a particular integral.

MU's label

"The inverse operator 1/f(D) and the symbolic expression for the particular integral". Her sentence is cut off after the comma in the printed circular, and this book's contract records that; the standard set of rules that follows is the subject of the next eight chapters.

The definition

y = (1/f(D)) X

means: y is a function with f(D)y equal to X.

So one over f(D) acting on X is a particular integral, by definition. The work of the next chapters is finding what it actually equals for each shape of X.

It is not unique, and that is fine

If y is one such function, so is y plus anything the CF contains, because f(D) kills those. So one over f(D) acting on X is determined only up to a CF term.

That is exactly what the complete-solution chapter said: any PI will do, and the CF absorbs the difference. So the inverse operator is allowed to be sloppy about constants of integration, and by convention they are omitted: a constant of integration from one over D would be a CF term anyway.

One over D is integration

The simplest case. If f(D) is D, then y must satisfy Dy = X, so y is the integral of X.

(1/D) X = integrate(X, x)

And no constant, by the convention above.

integrate(x^2, x) = x^3/3

integrate(e^(3x), x) = e^(3x)/3

integrate(sin(2x), x) = -cos(2x)/2

So one over D squared is integrating twice, and one over D to the n is integrating n times.

integrate(integrate(x, x), x) = x^3/6

The rules it obeys

Linearity. One over f(D) acting on a sum is the sum of the results, and constants pass through. So X can be split into its terms and each handled separately, which is what makes the five shape rules useful.

Factorisation. If f(D) factorises, one over f(D) can be applied one factor at a time, in any order.

(1/((D - 2)(D - 3))) X = (1/(D - 2))((1/(D - 3)) X)

That is the basis of the general method of its own chapter, and it is also what partial fractions in D exploits.

Partial fractions in D. Since one over f(D) is a rational function of D, it can be split by partial fractions exactly as a rational function of s was in Module 1.

1/((D - 2)(D - 3)) = -1/(D - 2) + 1/(D - 3)

That identity is about polynomials in D, so it is legitimate, and it turns one hard inverse operator into two easy ones. It is the same algebra as the inverse Laplace transform's partial fractions, on the same kind of object.

munotes.in278

The Inverse Operator 1 Over f(D)

What is coming: the five shapes of X

XRuleChapter
e^(ax)replace D by athe next one
sin ax or cos axreplace D^2 by -a^2third from here
x^nexpand 1/f(D) as a series in Dfifth
e^(ax) Vshift: e^(ax) times 1/f(D + a) applied to Vsixth
x Va term with the derivative of the operatorseventh

And two failure cases, each with its own chapter, for when the first two rules divide by zero. And a general method for when none of them fits.

The warning that applies to all of them

One over f(D) is an operator, not a fraction. You may not cancel it against something containing x, and you may not move a function of x through it. The D-laws chapter's single prohibition applies in full.

What you may do is what the three rules above permit: split sums, take constants out, factorise, and use partial fractions in D.

Worked, with what is available so far

Solve y'' minus 5y' plus 6y = x, using only the inverse operator and integration.

The PI is one over (D squared minus 5D plus 6) acting on x. Partial fractions in D give minus one over (D minus 2) plus one over (D minus 3) acting on x.

Each of those needs the rule for one over (D minus a), which is an integration and is the general method's content. Rather than anticipate it, here is the answer, and the polynomial rule of its own chapter gets it in two lines.

d2y/dx2 - 5 dy/dx + 6y = x

y = C1 e^(2x) + C2 e^(3x) + x/6 + 5/36

Check yourself

integrate(x^3, x) = x^4/4

integrate(cos(3x), x) = sin(3x)/3

integrate(integrate(e^(2x), x), x) = e^(2x)/4

1/((D - 1)(D + 1)) = 1/(2(D - 1)) - 1/(2(D + 1))

The last line is partial fractions in D, and it is checked as an algebraic identity in the symbol D, which is exactly what it is.

Contents This chapter on its own page

munotes.in279

Chapter One Hundred Twenty-Six

The Particular Integral When X Is an Exponential

Syllabus topic Module 2, "2.3 Linear Differential Equations with Constant Coefficients"

In one line

Replace every D by a, so one over f(D) acting on e to the ax is e to the ax over f(a).

The rule

(1/f(D)) e^(a x) = e^(a x)/f(a)

valid provided f(a) is not zero. The failure case is the next chapter.

Why

Because D acting on e to the ax multiplies it by a, so D squared multiplies by a squared, and any polynomial f(D) acting on e to the ax gives f(a) times e to the ax.

diff(e^(a x), x) = a e^(a x)

diff(diff(e^(a x), x), x) = a^2 e^(a x)

So f(D) applied to e to the ax over f(a) gives e to the ax, which is what a particular integral has to do. One line.

Worked

Solve y'' minus 5y' plus 6y = e to the 4x.

f(D) is D squared minus 5D plus 6, so f(4) is 16 minus 20 plus 6, which is 2.

The PI is therefore e to the 4x over 2.

d2y/dx2 - 5 dy/dx + 6y = e^(4x)

y = C1 e^(2x) + C2 e^(3x) + e^(4x)/2

Worked, a negative exponent

Solve y'' plus 3y' plus 2y = e to the minus 3x.

f(minus 3) is 9 minus 9 plus 2, which is 2. So the PI is e to the minus 3x over 2.

d2y/dx2 + 3 dy/dx + 2y = e^(-3x)

y = C1 e^(-x) + C2 e^(-2x) + e^(-3x)/2

Worked, a constant right-hand side

A constant is e to the 0x, so a = 0 and the rule gives the constant divided by f(0).

Solve y'' plus 4y = 8. Here f(0) is 4, so the PI is 8 over 4, which is 2.

d2y/dx2 + 4y = 8

y = C1 cos(2x) + C2 sin(2x) + 2

A constant right-hand side is a special case of this rule, with a = 0, and f(0) is just the constant term of f. That is worth knowing because it turns a whole class of question into one division.

Worked, a sum of exponentials

Linearity: handle each term separately.

Solve y'' minus y = 2 e to the 2x plus 3 e to the 3x.

f(2) is 4 minus 1, which is 3; f(3) is 9 minus 1, which is 8.

d2y/dx2 - y = 2 e^(2x) + 3 e^(3x)

y = C1 e^x + C2 e^(-x) + 2 e^(2x)/3 + 3 e^(3x)/8

Worked, a hyperbolic right-hand side

cosh and sinh are combinations of exponentials, so the rule applies twice.

Solve y'' minus 4y = cosh x. Writing cosh x as (e to the x plus e to the minus x) over 2, and with f(1) and f(minus 1) both equal to minus 3:

munotes.in280

The Particular Integral When X Is an Exponential

d2y/dx2 - 4y = cosh(x)

y = C1 e^(2x) + C2 e^(-2x) - cosh(x)/3

The two halves gave the same divisor, so they recombined into a cosh. That happens whenever f is even, and it saves writing.

The check before applying it

Compute f(a) first and look at it. If it is not zero, apply the rule. If it is zero, stop: the rule divides by zero and the next chapter is what applies.

And f(a) being zero is not a rare accident. It means a is a root of the auxiliary equation, which means the driving term e to the ax is one of the system's own solutions. That is resonance, and it is the physically interesting case.

Check yourself

d2y/dx2 - 9y = e^x

y = C1 e^(3x) + C2 e^(-3x) - e^x/8

d2y/dx2 + dy/dx - 2y = e^(3x)

y = C1 e^x + C2 e^(-2x) + e^(3x)/10

d2y/dx2 - 3 dy/dx + 2y = 5

y = C1 e^x + C2 e^(2x) + 5/2

For the third, a = 0 and f(0) is 2, so the PI is five halves. Check each one by computing f(a) yourself before looking at the answer.

Contents This chapter on its own page

munotes.in281

Chapter One Hundred Twenty-Seven

When the Exponential Rule Fails, and What To Do

Syllabus topic Module 2, "2.3 Linear Differential Equations with Constant Coefficients"

In one line

If f(a) is zero, divide out the factor and bring in a factor of x, once for each time a is a root.

Why it fails

The rule says the PI is e to the ax over f(a). If f(a) is zero, that is a division by zero and the rule says nothing.

And f(a) being zero means a is a root of the auxiliary equation, so e to the ax is part of the complementary function. The driving term is one of the system's own natural motions, which is resonance.

So the failure is not an algebraic accident. It is the mathematics telling you that something physically important is happening.

The repair

If (D minus a) is a factor of f(D) exactly once, write f(D) as (D minus a)g(D) with g(a) not zero.

(1/f(D)) e^(a x) = x e^(a x)/g(a)

If (D minus a) is a factor k times, the answer carries x to the power k, divided by k factorial and by the rest of the operator evaluated at a.

(1/f(D)) e^(a x) = x^k e^(a x)/(factorial(k) g(a))

Where the x comes from

Apply the shift relation of the D-laws chapter. One over (D minus a) acting on e to the ax equals e to the ax times one over D acting on 1, and one over D is integration, so that is e to the ax times x.

integrate(1, x) = x

Applied twice, one over (D minus a) squared gives e to the ax times the integral of x, which is x squared over 2. That is where the k factorial comes from.

integrate(x, x) = x^2/2

integrate(integrate(x, x), x) = x^3/6

Worked, a simple root

Solve y'' minus 5y' plus 6y = e to the 2x.

f(D) is (D minus 2)(D minus 3), so f(2) is zero: the rule has failed.

Write g(D) as (D minus 3), so g(2) is minus 1.

The PI is therefore x e to the 2x over minus 1, that is minus x e to the 2x.

d2y/dx2 - 5 dy/dx + 6y = e^(2x)

y = C1 e^(2x) + C2 e^(3x) - x e^(2x)

Notice that the PI contains e to the 2x, which is also in the CF. That is fine: what makes the PI a PI is the x in front of it, and no choice of C1 can produce x e to the 2x.

Worked, a repeated root

Solve y'' minus 4y' plus 4y = e to the 2x.

f(D) is (D minus 2) squared, so 2 is a root twice: k = 2, and g(D) is 1, so g(2) is 1.

The PI is x squared e to the 2x over 2 factorial, which is x squared e to the 2x over 2.

munotes.in282

When the Exponential Rule Fails, and What To Do

The CF for (D minus 2) squared is C1 e to the 2x plus C2 x e to the 2x, by the repeated-roots chapter, so the complete solution is that plus the PI.

d2y/dx2 - 4 dy/dx + 4y = e^(2x)

y = C1 e^(2x) + C2 x e^(2x) + x^2 e^(2x)/2

Three terms, and the powers of x run 0, 1, 2: two from the CF and the third from the PI. The PI always carries the next power of x after the CF's highest, which is a useful check.

Worked, a constant with a factor of D

A constant right-hand side fails the rule when f(0) is zero, which happens when f(D) has a factor of D.

Solve y'' plus 3y' = 6.

f(D) is D(D plus 3), so f(0) is zero. Here a = 0, k = 1, and g(D) is (D plus 3), so g(0) is 3.

The PI is 6 x over 3, which is 2x.

d2y/dx2 + 3 dy/dx = 6

y = C1 + C2 e^(-3x) + 2 x

So a constant right-hand side gives a PI linear in x when the operator has a factor of D. That is a standard question and it catches students who reach for a constant PI automatically.

The physical meaning, stated plainly

Drive a system at one of its own natural frequencies and the response grows. The x in front of the exponential is that growth.

For a decaying exponential the x eventually loses to the decay, so the response rises and then falls. For a growing one, or for a pure oscillation, the x makes the response grow without limit. That is why soldiers break step on a bridge, and why a wine glass shatters at the right note.

Check yourself

d2y/dx2 - y = e^x

y = C1 e^x + C2 e^(-x) + x e^x/2

d2y/dx2 - 2 dy/dx + y = e^x

y = C1 e^x + C2 x e^x + x^2 e^x/2

d2y/dx2 + dy/dx = 2

y = C1 + C2 e^(-x) + 2 x

For the first, f(D) is (D minus 1)(D plus 1), so g(1) is 2 and the PI is x e to the x over 2. For the second, 1 is a double root, so the PI carries x squared over 2 factorial.

Contents This chapter on its own page

munotes.in283

Chapter One Hundred Twenty-Eight

The Particular Integral When X Is a Sine or a Cosine

Syllabus topic Module 2, "2.3 Linear Differential Equations with Constant Coefficients"

In one line

Replace D squared by minus a squared, and if an odd power of D is left, clear it by multiplying above and below by the conjugate.

The rule

(1/f(D)) sin(a x) = sin(a x)/f(-a^2)

where f(minus a squared) means: replace every D squared in f by minus a squared. The same holds for the cosine.

The rule works because D squared acting on a sine of ax multiplies it by minus a squared.

diff(diff(sin(a x), x), x) = -a^2 sin(a x)

diff(diff(cos(a x), x), x) = -a^2 cos(a x)

Worked, an operator with only even powers

Solve y'' plus 4y = sin 3x.

f(D) is D squared plus 4. Replacing D squared by minus 9 gives minus 9 plus 4, which is minus 5.

So the PI is sin 3x over minus 5.

d2y/dx2 + 4y = sin(3x)

y = C1 cos(2x) + C2 sin(2x) - sin(3x)/5

Worked, with a cosine

Solve y'' minus y = cos 2x.

Replacing D squared by minus 4 gives minus 4 minus 1, which is minus 5.

d2y/dx2 - y = cos(2x)

y = C1 e^x + C2 e^(-x) - cos(2x)/5

When an odd power of D survives

If f contains an odd power of D, replacing D squared leaves a D behind, and a D in a denominator is not something you can evaluate.

The fix is the same as clearing a complex denominator in Module 1: multiply above and below by the conjugate, which turns the denominator into a difference of squares and leaves only even powers.

Worked. Solve y'' plus 2y' plus y = sin x.

f(D) is D squared plus 2D plus 1. Replacing D squared by minus 1 gives minus 1 plus 2D plus 1, which is 2D.

So the PI is sin x over 2D. Multiply above and below by D:

D acting on sin x is cos x, and D squared in the denominator becomes minus 1, so the denominator 2D squared becomes minus 2.

So the PI is cos x over minus 2, that is minus cos x over 2.

d2y/dx2 + 2 dy/dx + y = sin(x)

y = C1 e^(-x) + C2 x e^(-x) - cos(x)/2

Notice what the manoeuvre did: the D in the numerator became a differentiation, which turned the sine into a cosine, and the D squared in the denominator became a number. That is the whole technique.

Worked, with a genuine conjugate

Solve y'' plus y' plus y = cos 2x.

Replacing D squared by minus 4 gives minus 4 plus D plus 1, which is D minus 3.

The PI is cos 2x over (D minus 3). Multiply above and below by (D plus 3):

munotes.in284

The Particular Integral When X Is a Sine or a Cosine

The denominator becomes D squared minus 9, which with D squared replaced by minus 4 is minus 13.

The numerator is (D plus 3) acting on cos 2x, which is minus 2 sin 2x plus 3 cos 2x.

So the PI is (3 cos 2x minus 2 sin 2x) over minus 13.

d2y/dx2 + dy/dx + y = cos(2x)

y = C1 e^(-x/2) cos(sqrt(3) x/2) + C2 e^(-x/2) sin(sqrt(3) x/2) + (2 sin(2x) - 3 cos(2x))/13

The CF there comes from the auxiliary equation m squared plus m plus 1 = 0, whose roots are minus one half plus or minus i root 3 over 2.

The procedure

  1. Replace every D squared in f(D) by minus a squared.
  2. If nothing is left but a number, divide and stop.
  3. If a D survives, multiply above and below by the conjugate of the denominator.
  4. Apply the resulting numerator operator to the sine or cosine, which means differentiating.
  5. Replace D squared once more in the new denominator, and divide.

Both a sine and a cosine at once

By linearity, handle them separately.

Solve y'' plus 4y = sin x plus cos 3x.

For the sine, f(minus 1) is 3. For the cosine, f(minus 9) is minus 5.

d2y/dx2 + 4y = sin(x) + cos(3x)

y = C1 cos(2x) + C2 sin(2x) + sin(x)/3 - cos(3x)/5

Squares of sines and cosines

There is no rule for a squared trigonometric function, so use an identity first, exactly as in the Laplace chapter.

sin(x)^2 = (1 - cos(2x))/2

cos(x)^2 = (1 + cos(2x))/2

Then the right-hand side is a constant plus a cosine, and both have rules.

d2y/dx2 - y = sin(x)^2

y = C1 e^x + C2 e^(-x) - 1/2 + cos(2x)/10

Check yourself

d2y/dx2 + 9y = sin(2x)

y = C1 cos(3x) + C2 sin(3x) + sin(2x)/5

d2y/dx2 - 4y = cos(x)

y = C1 e^(2x) + C2 e^(-2x) - cos(x)/5

d2y/dx2 + 16y = cos(3x)

y = C1 cos(4x) + C2 sin(4x) + cos(3x)/7

For each, replace D squared by minus a squared and divide; none of these three needs the conjugate step.

Contents This chapter on its own page

munotes.in285

Chapter One Hundred Twenty-Nine

When the Sine Rule Fails

Syllabus topic Module 2, "2.3 Linear Differential Equations with Constant Coefficients"

In one line

If replacing D squared by minus a squared makes the denominator zero, the driving frequency is the system's own, and the answer grows like x.

Why it fails

The rule gives sin ax over f(minus a squared). If that denominator is zero, then minus a squared is a root of f, which means plus or minus ia are roots of the auxiliary equation, which means sin ax and cos ax are in the complementary function.

So the system is being driven at exactly its own natural frequency. That is resonance, and it is the most physically important case in the whole section.

The repair

Use the same idea as the exponential failure: extract the vanishing factor and integrate.

For f(D) equal to (D squared plus a squared) times g(D), with g not vanishing:

(1/(D^2 + a^2)) sin(a x) = -x cos(a x)/(2 a)

(1/(D^2 + a^2)) cos(a x) = x sin(a x)/(2 a)

Those two are the standard results and they are worth knowing outright. Note the minus on the first and the swap of sine for cosine in both.

Where they come from

Two routes, and the second is shorter.

By the exponential rule. Write sin ax as the imaginary part of e to the iax. Then one over (D squared plus a squared) acting on e to the iax has f(ia) equal to zero, so the exponential failure case applies with k = 1 and g(D) equal to (D plus ia), giving x e to the iax over 2ia. Taking the imaginary part gives minus x cos ax over 2a.

By the Laplace transform. Module 1's chapter on inverting a repeated quadratic found exactly these functions: the inverse of one over (s squared plus a squared) squared carried a t cos at. Same fact, other language.

Worked

Solve y'' plus 4y = sin 2x.

f(D) is D squared plus 4, and replacing D squared by minus 4 gives zero. The rule has failed.

Apply the standard result with a = 2: the PI is minus x cos 2x over 4.

d2y/dx2 + 4y = sin(2x)

y = C1 cos(2x) + C2 sin(2x) - x cos(2x)/4

The x cos 2x term grows without limit. An undamped oscillator driven at its own frequency builds up for ever, and that is what this answer says.

Compare it with the Laplace chapter's answer to the same problem with both initial values zero, which was (sin 2t minus 2t cos 2t) over 8. The two differ by a multiple of sin 2t, which is a CF term, so they are the same general solution.

Worked, with a cosine

Solve y'' plus 9y = cos 3x.

The standard result with a = 3 gives the PI as x sin 3x over 6.

munotes.in286

When the Sine Rule Fails

d2y/dx2 + 9y = cos(3x)

y = C1 cos(3x) + C2 sin(3x) + x sin(3x)/6

Worked, with a factor that does not vanish

Solve (D squared plus 1)(D squared plus 4) y = sin x.

Here replacing D squared by minus 1 makes the first factor vanish and leaves the second equal to 3.

So the PI is one third of the resonant result for the first factor: one third of minus x cos x over 2, which is minus x cos x over 6.

d4y/dx4 + 5 d2y/dx2 + 4y = sin(x)

y = C1 cos(x) + C2 sin(x) + C3 cos(2x) + C4 sin(2x) - x cos(x)/6

The coefficients of the equation come from expanding (m squared plus 1)(m squared plus 4), which is m to the fourth plus 5m squared plus 4.

(m^2 + 1)(m^2 + 4) = m^4 + 5 m^2 + 4

Resonance with damping, which does not fail

If the equation has a first-derivative term, the roots are not purely imaginary, so replacing D squared leaves a D behind rather than a zero, and the conjugate trick of the previous chapter applies instead. There is no failure.

d2y/dx2 + dy/dx + 4y = sin(2x)

y = C1 e^(-x/2) cos(sqrt(15) x/2) + C2 e^(-x/2) sin(sqrt(15) x/2) - cos(2x)/2

That is the important engineering point: damping removes the unbounded growth. The response is large near the natural frequency but finite, and the amount of damping decides how large.

The two failure cases, side by side

XRuleFails whenRepair
e^(ax)e^(ax)/f(a)f(a) vanishesx^k e^(ax) over k factorial times g(a)
sin axsin ax over f(-a^2)f(-a^2) vanishes-x cos ax over 2a, times 1 over g

They are the same situation: the driving term is in the CF, and the answer gains a factor of x.

Check yourself

d2y/dx2 + y = sin(x)

y = C1 cos(x) + C2 sin(x) - x cos(x)/2

d2y/dx2 + y = cos(x)

y = C1 cos(x) + C2 sin(x) + x sin(x)/2

d2y/dx2 + 16y = sin(4x)

y = C1 cos(4x) + C2 sin(4x) - x cos(4x)/8

All three are resonant, and in each the PI carries an x. Check the divisor: it is 2a, so 2, 2 and 8.

Contents This chapter on its own page

munotes.in287

Chapter One Hundred Thirty

The Particular Integral When X Is a Polynomial

Syllabus topic Module 2, "2.3 Linear Differential Equations with Constant Coefficients"

In one line

Expand one over f(D) as a power series in D, and apply it to the polynomial; the series stops by itself.

The rule

There is no substitution to make. Instead, expand the inverse operator.

(1/(1 - D)) X = (1 + D + D^2 + D^3 + ...) X

That is the ordinary geometric series, with D in place of the variable, and it is legitimate here for a reason worth understanding: applied to a polynomial of degree n, every term beyond D to the n gives zero, because differentiating a polynomial enough times kills it.

So the series is not an infinite series at all in practice. It is a finite sum, and you take exactly as many terms as the polynomial's degree.

The procedure

  1. Arrange f(D) so that its constant term is out in front: write it as (constant) times (1 plus or minus something in D).
  2. Expand the reciprocal of the bracket as a geometric series in D.
  3. Take terms up to D to the power of the polynomial's degree, and no further.
  4. Apply each term, which means differentiating.
  5. Add up.

Worked, degree one

Solve y'' minus 5y' plus 6y = x.

f(D) is 6 minus 5D plus D squared, so take the 6 out: 6(1 minus 5D over 6 plus D squared over 6).

The reciprocal is one sixth times the reciprocal of that bracket, and by the geometric series, up to D because x is of degree one:

one sixth times (1 plus 5D over 6 plus higher terms).

Applying to x: one sixth times (x plus 5 over 6), which is x over 6 plus 5 over 36.

d2y/dx2 - 5 dy/dx + 6y = x

y = C1 e^(2x) + C2 e^(3x) + x/6 + 5/36

Worked, degree two

Solve y'' minus y = x squared.

f(D) is D squared minus 1, which is minus (1 minus D squared). So one over f(D) is minus (1 plus D squared plus D to the fourth plus ...).

Applying up to D squared, because the polynomial is of degree two: minus (x squared plus 2), since D squared acting on x squared is 2 and D to the fourth kills it.

d2y/dx2 - y = x^2

y = C1 e^x + C2 e^(-x) - x^2 - 2

Worked, degree three

Solve y'' plus y = x cubed.

One over (1 plus D squared) expands as 1 minus D squared plus D to the fourth minus ..., and up to D squared is enough for a cubic... not quite: D squared acting on x cubed gives 6x, and D to the fourth kills it, so two terms suffice.

Applying: x cubed minus 6x.

munotes.in288

The Particular Integral When X Is a Polynomial

d2y/dx2 + y = x^3

y = C1 cos(x) + C2 sin(x) + x^3 - 6 x

Worked, with an odd power of D

Solve y'' plus 2y' = x.

f(D) is D squared plus 2D, which has no constant term, so step one fails: you cannot take a constant out in front.

The fix: take out the lowest power of D instead. f(D) is 2D(1 plus D over 2), so one over f(D) is one over 2D times (1 minus D over 2 plus ...).

Applying the bracket to x gives x minus one half. Then one over 2D is one half of an integration, giving one half of (x squared over 2 minus x over 2), which is x squared over 4 minus x over 4.

d2y/dx2 + 2 dy/dx = x

y = C1 + C2 e^(-2x) + x^2/4 - x/4

A factor of D means an integration, and that is why the answer's degree is one higher than the polynomial's. The same thing happened in the exponential failure chapter, for the same reason.

Worked, a polynomial plus something else

Linearity: split it.

Solve y'' minus y = x plus e to the 2x.

For the x, one over (D squared minus 1) is minus(1 plus D squared plus ...), which applied to x gives minus x. For the exponential, f(2) is 3.

d2y/dx2 - y = x + e^(2x)

y = C1 e^x + C2 e^(-x) - x + e^(2x)/3

How many terms to take

Up to D to the power of the polynomial's degree. A constant needs one term, a linear polynomial two, a quadratic three.

Taking more is harmless but wastes time; taking fewer loses terms of the answer. And if there is a factor of D out in front, the integration at the end raises the degree, so count the degree of the polynomial that the bracket is applied to.

The check

Substitute the PI into the equation and see whether you get the polynomial back. For a polynomial PI that check is pure arithmetic and takes fifteen seconds, and it is the fastest check in this whole section.

Check yourself

d2y/dx2 + 4y = x

y = C1 cos(2x) + C2 sin(2x) + x/4

d2y/dx2 - 9y = x^2

y = C1 e^(3x) + C2 e^(-3x) - x^2/9 - 2/81

d2y/dx2 + dy/dx = x^2

y = C1 + C2 e^(-x) + x^3/3 - x^2 + 2 x

The third has a factor of D, so the answer is of degree three rather than two, and the integration is what raised it.

Contents This chapter on its own page

munotes.in289

Chapter One Hundred Thirty-One

The Particular Integral When X Is an Exponential Times Something Else

Syllabus topic Module 2, "2.3 Linear Differential Equations with Constant Coefficients"

In one line

Move the exponential out to the left and replace D by D plus a inside the operator.

The rule

(1/f(D))(e^(a x) V) = e^(a x) (1/f(D + a)) V

The exponential comes out in front, and every D inside the operator becomes D plus a. Then whatever V is, one of the other rules handles it.

Why

It is the shift relation of the D-laws chapter, read backwards. That relation said f(D) acting on e to the ax V equals e to the ax times f(D plus a) acting on V; inverting both sides gives the rule above.

And the shift relation itself was the product rule: differentiating e to the ax V gives a e to the ax V plus e to the ax V prime, which is e to the ax times (D plus a)V.

diff(e^(a x) V, x) = e^(a x)(a V + diff(V, x))

The connection to Module 1

This is the first shifting theorem of the Laplace transform, in the other notation.

That theorem said multiplying f(t) by e to the at replaces s by s minus a in the transform. This rule says multiplying V by e to the ax replaces D by D plus a in the operator. Same statement, same proof, two languages.

Noticing that is worth more than memorising either.

Worked: an exponential times a polynomial

Solve y'' minus 2y' plus y = x e to the x.

f(D) is (D minus 1) squared. Here a = 1 and V = x.

Shifting: f(D plus 1) is (D plus 1 minus 1) squared, which is D squared.

So the PI is e to the x times one over D squared acting on x, which is e to the x times x cubed over 6, since one over D squared is integrating twice.

integrate(integrate(x, x), x) = x^3/6

d2y/dx2 - 2 dy/dx + y = x e^x

y = C1 e^x + C2 x e^x + x^3 e^x/6

Notice how neatly the shift worked: the operator became a pure power of D, and the whole problem became an integration.

Worked: an exponential times a sine

Solve y'' plus y = e to the x sin x.

Here a = 1 and V = sin x. Shifting: f(D plus 1) is (D plus 1) squared plus 1, which is D squared plus 2D plus 2.

So the PI is e to the x times one over (D squared plus 2D plus 2) acting on sin x, and now the trigonometric rule applies: replace D squared by minus 1, giving minus 1 plus 2D plus 2, which is 2D plus 1.

So we need sin x over (2D plus 1). Multiply above and below by (2D minus 1): the denominator becomes 4D squared minus 1, which with D squared replaced by minus 1 is minus 5. The numerator is (2D minus 1) acting on sin x, which is 2 cos x minus sin x.

munotes.in290

The Particular Integral When X Is an Exponential Times Something Else

So the PI is e to the x times (2 cos x minus sin x) over minus 5, that is e to the x (sin x minus 2 cos x) over 5.

d2y/dx2 + y = e^x sin(x)

y = C1 cos(x) + C2 sin(x) + e^x (sin(x) - 2 cos(x))/5

Worked: an exponential times a constant

That is just the exponential rule, and it is worth checking that the shift agrees with it.

For f(D) equal to D squared minus 4 and X equal to 3 e to the x: shifting gives (D plus 1) squared minus 4, which is D squared plus 2D minus 3, applied to the constant 3. For a constant only the constant term of the operator matters, which is minus 3, so the PI is 3 e to the x over minus 3, which is minus e to the x.

And the exponential rule directly: f(1) is 1 minus 4, which is minus 3, so the PI is 3 e to the x over minus 3, the same.

d2y/dx2 - 4y = 3 e^x

y = C1 e^(2x) + C2 e^(-2x) - e^x

The two rules agree, as they must, and that agreement is a good check that you have shifted correctly.

When the shift makes the operator lose its constant term

That happens exactly when a is a root of f, which is the exponential failure case. After shifting, the operator has a factor of D, and one over D is an integration, which is where the x comes from.

So the failure case is not a separate rule at all: it is this rule, with the integration that a factor of D forces. That is the tidiest way to see all of it.

The procedure

  1. Identify a, the coefficient in the exponent, and V, everything else.
  2. Write f(D plus a) by substituting D plus a for D and expanding.
  3. Apply one over f(D plus a) to V, using whichever other rule fits V.
  4. Multiply the result by e to the ax.

Step two is where the arithmetic is, and it is worth expanding carefully: a squared bracket expands to three terms and dropping one is the usual mistake.

Check yourself

d2y/dx2 - y = x e^(2x)

y = C1 e^x + C2 e^(-x) + x e^(2x)/3 - 4 e^(2x)/9

d2y/dx2 - 3 dy/dx + 2y = x e^x

y = C1 e^x + C2 e^(2x) - x^2 e^x/2 - x e^x

munotes.in291

The Particular Integral When X Is an Exponential Times Something Else

d2y/dx2 + 4y = e^x cos(x)

y = C1 cos(2x) + C2 sin(2x) + e^x (4 cos(x) + 2 sin(x))/20

For the second, a = 1 is a root of the auxiliary equation, so the shift leaves a factor of D and the answer carries an x squared.

Contents This chapter on its own page

munotes.in292

Chapter One Hundred Thirty-Two

The Particular Integral When X Is x Times a Function

Syllabus topic Module 2, "2.3 Linear Differential Equations with Constant Coefficients"

In one line

One over f(D) acting on xV is x times the usual answer, minus the derivative of the operator applied to it.

The rule

(1/f(D))(x V) = x (1/f(D)) V - (diff(f(D), D)/f(D)^2) V

The second term is where the failure of D to commute with x shows itself. Without it the rule would just be "take the x outside", which is exactly what you may not do.

An equivalent and often tidier form:

(1/f(D))(x V) = (x - diff(f(D), D)/f(D)) (1/f(D)) V

Why the extra term is there

Because Dx is not xD. The D-laws chapter established that Dx minus xD is 1, and repeating that relation through a polynomial gives f(D)x minus x f(D) equal to the derivative of f with respect to D.

f(D) x - x f(D) = diff(f(D), D)

Inverting that relation and rearranging gives the rule. So the derivative term is the commutator, and there is nothing arbitrary about it.

Worked

Solve y'' plus y = x sin x.

Here V is sin x and f(D) is D squared plus 1.

First, one over f(D) acting on sin x: this is the resonant case, since replacing D squared by minus 1 gives zero. By the sine failure chapter the answer is minus x cos x over 2.

Now the derivative of f with respect to D is 2D, so the correction term is 2D over f(D), applied to that.

Putting it together and simplifying gives the PI below.

d2y/dx2 + y = x sin(x)

y = C1 cos(x) + C2 sin(x) + (x sin(x) - x^2 cos(x))/4

The x squared appeared because the base case was already resonant and carried one x, and this rule added another.

Check it by differentiating twice, which is worth doing once for a PI of this shape. The first derivative is (sin x minus x cos x plus x squared sin x) over 4, and the second is (3x sin x plus x squared cos x) over 4. Adding the second to the original gives 4x sin x over 4, which is x sin x.

Worked, without resonance

Solve y'' minus y = x e to the 2x.

Here it is quicker to treat this as the exponential times a function rule of the previous chapter, with a = 2 and V = x, which is what the previous chapter's first check-yourself line did.

d2y/dx2 - y = x e^(2x)

y = C1 e^x + C2 e^(-x) + x e^(2x)/3 - 4 e^(2x)/9

That is the general advice: when X is x times an exponential, use the shift rule rather than this one, because the shift turns it into a polynomial problem and polynomials are easy. This rule is for x times a sine or cosine, where the shift does not help.

munotes.in293

The Particular Integral When X Is x Times a Function

Worked, x times a cosine

Solve y'' plus 4y = x cos 2x.

The base case, one over (D squared plus 4) acting on cos 2x, is resonant and gives x sin 2x over 4.

The derivative of f is 2D, and working through the correction gives:

d2y/dx2 + 4y = x cos(2x)

y = C1 cos(2x) + C2 sin(2x) + (x^2 sin(2x) + x cos(2x)/2)/8

The alternative route, which is often easier

For x times a sine or cosine, write the trigonometric function as the real or imaginary part of a complex exponential, and then the whole thing is x times an exponential, which the shift rule handles.

For y'' plus 4y = x cos 2x: write cos 2x as the real part of e to the 2ix, so X is the real part of x e to the 2ix. Apply the shift rule with a = 2i and V = x, then take the real part at the end.

That route uses Module 1's complex numbers to avoid this chapter's rule entirely, and many students find it easier. Both are correct; use whichever you can execute faster.

The five rules, complete

XRule
e^(ax)e^(ax)/f(a), or the failure case if f(a) vanishes
sin ax, cos axreplace D^2 by -a^2, or the failure case
x^nexpand 1/f(D) as a series in D
e^(ax) Vshift: e^(ax) times 1/f(D+a) applied to V
x Vx times the usual answer, minus the derivative-of-operator term

That table is MU's "symbolic expression for the particular integral" in full, and it is the whole of the eight chapters from the inverse operator to here.

What to do when none of the five fits

The general method of the next chapter, which never fails and is slower than all of them.

Check yourself

d2y/dx2 + y = x cos(x)

y = C1 cos(x) + C2 sin(x) + (x^2 sin(x) + x cos(x))/4

d2y/dx2 - y = x sin(x)

y = C1 e^x + C2 e^(-x) - x sin(x)/2 - cos(x)/2

The second is not resonant, since replacing D squared by minus 1 in D squared minus 1 gives minus 2, so the base case is minus sin x over 2 and the correction is straightforward.

Contents This chapter on its own page

munotes.in294

Chapter One Hundred Thirty-Three

The General Method, For When No Rule Fits

Syllabus topic Module 2, "2.3 Linear Differential Equations with Constant Coefficients"

In one line

One over (D minus a) acting on X is e to the ax times the integral of e to the minus ax X, and applying that factor by factor never fails.

The rule

(1/(D - a)) X = e^(a x) integrate(e^(-a x) X, x)

Factorise f(D) into linear factors and apply that formula to each, one at a time. No constants of integration are needed, by the convention of the inverse-operator chapter.

Why it works

The statement one over (D minus a) acting on X equals y means (D minus a)y = X, that is y prime minus ay = X.

That is a linear first-order equation in y, with P equal to minus a and Q equal to X. Its integrating factor is e to the minus ax, and the linear chapter's formula gives exactly the answer above.

So the general method is nothing new: it is section 2.1's linear equation, applied once per factor.

Worked

Solve y'' minus 3y' plus 2y = e to the x, by the general method.

f(D) factorises as (D minus 1)(D minus 2).

First factor. One over (D minus 2) acting on e to the x is e to the 2x times the integral of e to the minus 2x times e to the x, which is e to the 2x times the integral of e to the minus x, which is e to the 2x times minus e to the minus x, that is minus e to the x.

integrate(e^(-x), x) = -e^(-x)

Second factor. Now one over (D minus 1) acting on minus e to the x: that is e to the x times the integral of e to the minus x times minus e to the x, which is e to the x times the integral of minus 1, which is minus x e to the x.

integrate(-1, x) = -x

So the PI is minus x e to the x.

d2y/dx2 - 3 dy/dx + 2y = e^x

y = C1 e^x + C2 e^(2x) - x e^x

Compare that with the exponential rule: f(1) is 1 minus 3 plus 2, which is zero, so the rule fails and the failure case applies, giving x e to the x over g(1) where g(D) is (D minus 2), so g(1) is minus 1, and the PI is minus x e to the x. The same answer, and the failure case got there in one line where the general method took two integrations.

Worked, where the general method is the only route

Solve y' minus y = one over x.

None of the five rules applies: the right-hand side is not an exponential, a sine, a polynomial, or either product form.

munotes.in295

The General Method, For When No Rule Fits

f(D) is (D minus 1), so the general method gives e to the x times the integral of e to the minus x over x.

That integral has no elementary form. It is the exponential integral, a named function like the ones in the special-functions chapter.

So the answer is e to the x times that integral, and that is the complete answer.

A right-hand side outside the five shapes gives an answer as an integral, and there is nothing wrong with it. In this paper such a question would be unusual; if it appears, this is what to do.

Worked, a sine by the general method

Solve y' plus y = sin x, by the general method rather than the trigonometric rule.

One over (D plus 1) acting on sin x is e to the minus x times the integral of e to the x sin x.

That integral is done by parts twice and gives e to the x (sin x minus cos x) over 2.

integrate(e^x sin(x), x) = e^x (sin(x) - cos(x))/2

So the PI is (sin x minus cos x) over 2.

dy/dx + y = sin(x)

y = C e^(-x) + (sin(x) - cos(x))/2

By the trigonometric rule: replacing D squared by minus 1 in (D plus 1) leaves D plus 1, which is odd, so multiply above and below by (D minus 1), giving numerator (D minus 1) sin x, which is cos x minus sin x, over denominator D squared minus 1, which is minus 2. That is (sin x minus cos x) over 2, the same.

Two routes, one answer, and the rule was three lines against the general method's integration by parts.

When to use it

SituationUse
X is one of the five shapesthe matching rule
a rule fails by dividing by zerothat rule's failure case
X is outside the five shapesthe general method
you cannot remember the rulethe general method

The last row is the honest one. The general method is slower and it never fails, so know it before the examination as insurance, and reach for a rule first.

The two things to watch

Apply the factors one at a time, innermost first, and finish each integration before starting the next.

Constants of integration may be dropped, because each is a CF term. But if you keep one, keep it consistently, and expect your PI to contain a CF term that the final answer absorbs.

Check yourself

integrate(e^(-2x) e^x, x) = -e^(-x)

integrate(e^(-x) e^x, x) = x

integrate(e^x cos(x), x) = e^x (sin(x) + cos(x))/2

dy/dx - 2y = e^(3x)

y = C e^(2x) + e^(3x)

munotes.in296

The General Method, For When No Rule Fits

dy/dx - 2y = e^(2x)

y = C e^(2x) + x e^(2x)

The last two are the same equation with a different right-hand side, and the second is the resonant case: the general method produces the integral of 1, which is x, and that is where the x comes from.

Contents This chapter on its own page

munotes.in297

Chapter One Hundred Thirty-Four

Worked Equations End to End

Syllabus topic Module 2, "2.3 Linear Differential Equations with Constant Coefficients"

In one line

Six complete solutions, from the auxiliary equation to the final answer, each shown at full length and in the five-mark form.

How to read this chapter

Each problem is worked twice: once in full, which is what a seven-and-a-half-mark question wants, and once in the short form that fits five marks. Which paper you get is not up to you, so both are worth having.

One: distinct roots, exponential forcing

Solve y'' minus 5y' plus 6y = e to the 4x.

Full working. The auxiliary equation is m squared minus 5m plus 6 = 0, that is (m minus 2)(m minus 3) = 0, so the roots are 2 and 3, both real and distinct. The complementary function is therefore C1 e to the 2x plus C2 e to the 3x.

For the particular integral, X is e to the 4x, so the exponential rule applies with a = 4. Computing f(4): 16 minus 20 plus 6, which is 2. It is not zero, so the rule gives e to the 4x over 2.

The complete solution is the sum.

d2y/dx2 - 5 dy/dx + 6y = e^(4x)

y = C1 e^(2x) + C2 e^(3x) + e^(4x)/2

Five-mark form. Roots 2, 3. CF = C1 e^(2x) + C2 e^(3x). f(4) = 2, so PI = e^(4x)/2. Answer: the sum.

Two: complex roots, constant forcing

Solve y'' plus 2y' plus 5y = 10.

Full working. The auxiliary equation is m squared plus 2m plus 5 = 0, whose discriminant is 4 minus 20, that is minus 16, so the roots are minus 1 plus or minus 2i. The CF is e to the minus x times (C1 cos 2x plus C2 sin 2x).

For the PI, a constant is e to the 0x, so a = 0 and f(0) is 5, giving a PI of 10 over 5, which is 2.

d2y/dx2 + 2 dy/dx + 5y = 10

y = C1 e^(-x) cos(2x) + C2 e^(-x) sin(2x) + 2

Five-mark form. Roots minus 1 plus or minus 2i. CF = e^(-x)(C1 cos 2x + C2 sin 2x). f(0) = 5, so PI = 2. Answer: the sum.

Note the physical reading: the oscillation dies away and the solution settles at 2, which is the steady state.

Three: repeated roots, polynomial forcing

Solve y'' minus 4y' plus 4y = x.

Full working. The auxiliary equation is (m minus 2) squared = 0, so m = 2 twice, and the CF is (C1 plus C2 x) e to the 2x.

For the PI, X is a polynomial of degree 1. f(D) is 4 minus 4D plus D squared, so take the 4 out: 4(1 minus D plus D squared over 4). The reciprocal expands as one quarter times (1 plus D plus ...), and up to D is enough.

munotes.in298

Worked Equations End to End

Applying to x: one quarter of (x plus 1).

d2y/dx2 - 4 dy/dx + 4y = x

y = C1 e^(2x) + C2 x e^(2x) + x/4 + 1/4

Five-mark form. m = 2 twice. CF = (C1 + C2 x)e^(2x). 1/f(D) = (1/4)(1 + D), applied to x gives (x+1)/4. Answer: the sum.

Four: resonance with an exponential

Solve y'' minus y = e to the x.

Full working. Roots plus and minus 1, so the CF is C1 e to the x plus C2 e to the minus x.

For the PI, f(1) is 1 minus 1, which is zero, so the exponential rule fails. Writing f(D) as (D minus 1)(D plus 1), g(D) is (D plus 1) and g(1) is 2, so the PI is x e to the x over 2.

d2y/dx2 - y = e^x

y = C1 e^x + C2 e^(-x) + x e^x/2

Five-mark form. Roots plus and minus 1. f(1) = 0, so resonant: PI = x e^x/g(1) = x e^x/2. Answer: the sum.

Five: resonance with a sine

Solve y'' plus 9y = cos 3x.

Full working. Roots plus and minus 3i, CF is C1 cos 3x plus C2 sin 3x.

For the PI, replacing D squared by minus 9 gives zero, so the sine rule fails. The standard resonant result for the cosine with a = 3 is x sin 3x over 2a, which is x sin 3x over 6.

d2y/dx2 + 9y = cos(3x)

y = C1 cos(3x) + C2 sin(3x) + x sin(3x)/6

Five-mark form. Roots plus and minus 3i. f(minus 9) = 0, so resonant: PI = x sin 3x/6. Answer: the sum.

Six: with initial conditions

Solve y'' plus 4y = 8 with y(0) = 3 and y prime of 0 = 0.

Full working. The CF is C1 cos 2x plus C2 sin 2x, and the PI is 8 over 4, which is 2. So the general solution is C1 cos 2x plus C2 sin 2x plus 2.

Now fit the conditions to the complete solution, not to the CF. At x = 0: C1 plus 2 = 3, so C1 = 1. The derivative is minus 2C1 sin 2x plus 2C2 cos 2x, which at 0 is 2C2 = 0, so C2 = 0.

d2y/dx2 + 4y = 8

y = cos(2x) + 2

Five-mark form. CF = C1 cos 2x + C2 sin 2x, PI = 2. y(0) = 3 gives C1 = 1; y'(0) = 0 gives C2 = 0. Answer: cos 2x + 2.

Fitting the constants to the CF alone, before adding the PI, would have given C1 = 3 and the wrong answer. That is the commonest single error on this kind of question.

munotes.in299

Worked Equations End to End

The routine, in the order to write it

  1. Auxiliary equation, roots, and which case they are.
  2. Complementary function.
  3. The shape of X, and which rule.
  4. Compute the rule's denominator and check it is not zero.
  5. Particular integral.
  6. Add.
  7. Fit the constants to the complete solution, if conditions are given.
  8. Check by substituting.

Writing those eight steps as eight lines is the answer, and an examiner can follow it. A page of unlabelled algebra earns less for the same work.

Check yourself

d2y/dx2 - dy/dx - 2y = e^(3x)

y = C1 e^(2x) + C2 e^(-x) + e^(3x)/4

d2y/dx2 + y = x

y = C1 cos(x) + C2 sin(x) + x

d2y/dx2 - 2 dy/dx + y = e^x

y = C1 e^x + C2 x e^x + x^2 e^x/2

The third is doubly resonant: 1 is a repeated root, so the PI carries x squared over 2 factorial.

Contents This chapter on its own page

munotes.in300

Chapter One Hundred Thirty-Five

Where These Equations Come From: Circuits, Springs and Signals

Syllabus topic Module 2, "2.3 Linear Differential Equations with Constant Coefficients"

In one line

A series LCR circuit and a mass on a spring are the same equation, and the three cases of the auxiliary equation are its three behaviours.

Where this chapter stands

Not in MU's printed labels. It is here under GUIDELINES 2.3 of this book's house rules, which allows material that is not the driver of the syllabus but is worth having, because a technique learned with no idea what it is for is forgotten.

The mass on a spring

A mass m on a spring of stiffness k, with a damper of strength c, driven by a force F(t).

Newton's second law says mass times acceleration equals the sum of the forces: the spring pulls back proportionally to displacement, the damper resists proportionally to velocity, and F drives.

m d2y/dt2 + c dy/dt + k y = F(t)

That is a linear second-order equation with constant coefficients: exactly this section's subject.

The series LCR circuit

An inductor L, a resistor R and a capacitor C in series, driven by a voltage E(t). Writing q for the charge on the capacitor, the voltages across the three components are L times the second derivative of q, R times the first, and q over C.

L d2q/dt2 + R dq/dt + q/C = E(t)

It is the same equation. Compare the two, term by term.

MechanicalElectricalRole
mass minductance Lresists change
damping cresistance Rdissipates energy
stiffness kone over capacitance Cstores and returns
displacement ycharge qthe unknown
force Fvoltage Ethe driving term

So every result about one is a result about the other. A mechanical engineer and an electronic engineer are solving one equation with two vocabularies, and that is why this section is in an Information Technology syllabus.

The three cases, and what they are called

The auxiliary equation is the quadratic with the three coefficients, and its discriminant decides everything.

DiscriminantRootsBehaviourName
positivereal, distinct, both negativesettles without oscillatingoverdamped
zeroreal, repeated, negativesettles fastest without overshootcritically damped
negativecomplex with negative real partoscillates, decayingunderdamped
negative, with no dampingpurely imaginaryoscillates for everundamped

Those are the four cases of the auxiliary equation with their engineering names, and a question in another paper may ask for them by name.

Worked: the three behaviours of one circuit

Take L = 1, C = one quarter, and vary R. The equation is q'' plus R q' plus 4q = 0 and the auxiliary equation is m squared plus Rm plus 4 = 0.

R = 5, overdamped. The discriminant is 25 minus 16, which is 9, so the roots are minus 1 and minus 4.

munotes.in301

Where These Equations Come From: Circuits, Springs and Signals

d2y/dx2 + 5 dy/dx + 4y = 0

y = C1 e^(-x) + C2 e^(-4x)

The charge decays without ever changing sign. No ringing.

R = 4, critically damped. The discriminant is zero, so m = minus 2 twice.

d2y/dx2 + 4 dy/dx + 4y = 0

y = C1 e^(-2x) + C2 x e^(-2x)

This is the fastest settling with no overshoot, which is what a designer usually wants.

R = 2, underdamped. The discriminant is 4 minus 16, which is minus 12, so the roots are minus 1 plus or minus i root 3.

d2y/dx2 + 2 dy/dx + 4y = 0

y = C1 e^(-x) cos(sqrt(3) x) + C2 e^(-x) sin(sqrt(3) x)

The charge oscillates and the oscillation dies away. That is ringing, and in a digital circuit it is what makes a clean edge look like a wobble.

R = 0, undamped. The roots are plus or minus 2i.

d2y/dx2 + 4y = 0

y = C1 cos(2x) + C2 sin(2x)

An LC circuit with no resistance oscillates for ever at its natural frequency. That is an oscillator, and it is how a radio transmitter picks its frequency.

Resonance, and why it matters to a designer

Drive the undamped circuit at its own natural frequency and the answer grows without limit, which is the sine failure chapter's result.

d2y/dx2 + 4y = sin(2x)

y = C1 cos(2x) + C2 sin(2x) - x cos(2x)/4

With damping the growth stops and the response is merely large, which is how a radio tuner selects one station out of hundreds: the circuit responds strongly near its natural frequency and weakly elsewhere.

d2y/dx2 + dy/dx + 4y = sin(2x)

y = C1 e^(-x/2) cos(sqrt(15) x/2) + C2 e^(-x/2) sin(sqrt(15) x/2) - cos(2x)/2

So the amount of damping is a design choice: little damping gives a sharp, selective response; a lot gives a broad, forgiving one. That trade-off is the whole of filter design in one sentence.

The transient and the steady state, once more

Every answer in this chapter has two parts, and now they have names worth using.

The complementary function is the transient: it dies away, and after a few time constants it is gone. It is what the circuit does about being switched on, and it depends on the initial conditions.

The particular integral is the steady state: it persists as long as the input does. It does not depend on the initial conditions at all.

That is why an engineer usually cares only about the PI: the transient is over in microseconds and the steady state is what the circuit is for. And it is why Module 1's final value theorem exists, which reads the steady state off the transform without solving anything.

munotes.in302

Where These Equations Come From: Circuits, Springs and Signals

Where else this equation turns up

SystemThe unknownThe equation
a queue at a router under loadqueue lengththe same, with a driving arrival rate
a control loop with feedbackthe errorthe same, with the gain in the coefficients
a PID controllerthe process variablethe same, third order with the integral term
a digital filterthe sampled signalthe discrete cousin of the same
the temperature of a processortemperaturefirst order, or second with a heatsink

The fourth row is the one a computing student will meet by name. A digital filter's design starts from exactly this equation, and the z transform is what turns it into algebra, in the way the Laplace transform did in Module 1.

Check yourself

d2y/dx2 + 3 dy/dx + 2y = 0

y = C1 e^(-x) + C2 e^(-2x)

d2y/dx2 + 2 dy/dx + y = 0

y = C1 e^(-x) + C2 x e^(-x)

d2y/dx2 + dy/dx + y = 0

y = C1 e^(-x/2) cos(sqrt(3) x/2) + C2 e^(-x/2) sin(sqrt(3) x/2)

Three circuits with the same inductance and capacitance and three different resistances, giving the three cases in order. Identify which is which from the discriminant before reading the answers.

Contents This chapter on its own page

munotes.in303

The rest of this subject

These notes are cut from the University's printed syllabus. Open the syllabus itself for the same subject.

Report or request
Done!