Difference between revisions of "Homogeneous Differential Equations"

From Department of Mathematics at UTSA
Jump to navigation Jump to search
(Created page with "A differential equation can be '''homogeneous''' in either of two respects. A first order differential equation is said to be homogeneous if it may be written :<math...")
 
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
A [[differential equation]] can be '''homogeneous''' in either of two respects.  
+
A differential equation can be '''homogeneous''' in either of two respects.  
  
A [[first order differential equation]] is said to be homogeneous if it may be written
+
A first order differential equation is said to be homogeneous if it may be written
 
:<math>f(x,y) \, dy = g(x,y) \, dx,</math>
 
:<math>f(x,y) \, dy = g(x,y) \, dx,</math>
where {{mvar|f}} and {{mvar|g}} are [[homogeneous function]]s of the same degree of {{mvar|x}} and {{mvar|y}}.<ref name="Zill2012">{{cite book|author=Dennis G. Zill|title=A First Course in Differential Equations with Modeling Applications|url=https://books.google.com/books?id=pasKAAAAQBAJ&q=homogeneous|date=15 March 2012|publisher=Cengage Learning|isbn=978-1-285-40110-2}}</ref> In this case, the change of variable {{math|1=''y'' = ''ux''}} leads to an equation of the form  
+
where {{mvar|f}} and {{mvar|g}} are homogeneous functions of the same degree of {{mvar|x}} and {{mvar|y}}. In this case, the change of variable {{math|1=''y'' = ''ux''}} leads to an equation of the form  
 
:<math>\frac{dx}{x} = h(u) \, du,</math>
 
:<math>\frac{dx}{x} = h(u) \, du,</math>
which is easy to solve by [[integral|integration]] of the two members.
+
which is easy to solve by integration of the two members.
  
Otherwise, a differential equation is homogeneous if it is a homogeneous function of the unknown function and its derivatives. In the case of [[linear differential equation]]s, this means that there are no constant terms. The solutions of any linear [[ordinary differential equation]] of any order may be deduced by integration from the solution of the homogeneous equation obtained by removing the constant term.
+
Otherwise, a differential equation is homogeneous if it is a homogeneous function of the unknown function and its derivatives. In the case of linear differential equations, this means that there are no constant terms. The solutions of any linear ordinary differential equation of any order may be deduced by integration from the solution of the homogeneous equation obtained by removing the constant term.
  
==History==
+
== Homogeneous first-order differential equations ==
 
 
The term ''homogeneous'' was first applied to differential equations by [[Johann Bernoulli]] in section 9 of his 1726 article ''De integraionibus aequationum differentialium'' (On the integration of differential equations).<ref>{{cite journal |date=June 1726 |title=De integraionibus aequationum differentialium |url=https://archive.org/details/commentariiacade01impe |journal=Commentarii Academiae Scientiarum Imperialis Petropolitanae |volume=1|pages=167–184}}</ref>
 
  
== Homogeneous first-order differential equations ==
 
{{Differential equations}}
 
  
A first-order [[ordinary differential equation]] in the form:
+
A first-order ordinary differential equation in the form:
  
 
:<math>M(x,y)\,dx + N(x,y)\,dy = 0 </math>
 
:<math>M(x,y)\,dx + N(x,y)\,dy = 0 </math>
  
is a homogeneous type if both functions {{math|''M''(''x'', ''y'')}} and {{math|''N''(''x'', ''y'')}} are [[homogeneous function]]s of the same degree {{mvar|n}}.<ref>{{harvnb|Ince|1956|p=18}}</ref> That is, multiplying each variable by a parameter {{math|λ}}, we find
+
is a homogeneous type if both functions {{math|''M''(''x'', ''y'')}} and {{math|''N''(''x'', ''y'')}} are homogeneous functions of the same degree {{mvar|n}}. That is, multiplying each variable by a parameter {{math|λ}}, we find
  
 
:<math>M(\lambda x, \lambda y) = \lambda^n M(x,y) \quad \text{and} \quad N(\lambda x, \lambda y) = \lambda^n N(x,y)\,. </math>
 
:<math>M(\lambda x, \lambda y) = \lambda^n M(x,y) \quad \text{and} \quad N(\lambda x, \lambda y) = \lambda^n N(x,y)\,. </math>
Line 28: Line 24:
  
 
===Solution method===
 
===Solution method===
In the quotient <math display="inline">\frac{M(tx,ty)}{N(tx,ty)} = \frac{M(x,y)}{N(x,y)}</math>, we can let {{math|1=''t'' = {{sfrac|1|''x''}}}} to simplify this quotient to a function {{mvar|f}} of the single variable {{math|{{sfrac|''y''|''x''}}}}:
+
In the quotient <math display="inline">\frac{M(tx,ty)}{N(tx,ty)} = \frac{M(x,y)}{N(x,y)}</math>, we can let <math>t = \frac{1}{x}</math> to simplify this quotient to a function {{mvar|f}} of the single variable <math>\frac{y}{x}</math>:
  
 
:<math>\frac{M(x,y)}{N(x,y)} = \frac{M(tx,ty)}{N(tx,ty)} = \frac{M(1,y/x)}{N(1,y/x)}=f(y/x)\,. </math>
 
:<math>\frac{M(x,y)}{N(x,y)} = \frac{M(tx,ty)}{N(tx,ty)} = \frac{M(1,y/x)}{N(1,y/x)}=f(y/x)\,. </math>
Line 34: Line 30:
 
:<math>\frac{dy}{dx} = -f(y/x).</math>
 
:<math>\frac{dy}{dx} = -f(y/x).</math>
  
Introduce the [[change of variables]] {{math|1=''y'' = ''ux''}}; differentiate using the [[product rule]]:
+
Introduce the change of variables {{math|1=''y'' = ''ux''}}; differentiate using the product rule:
  
 
:<math>\frac{dy}{dx}=\frac{d(ux)}{dx} = x\frac{du}{dx} + u\frac{dx}{dx} = x\frac{du}{dx} + u.</math>
 
:<math>\frac{dy}{dx}=\frac{d(ux)}{dx} = x\frac{du}{dx} + u\frac{dx}{dx} = x\frac{du}{dx} + u.</math>
  
This transforms the original differential equation into the [[Separation of variables|separable]] form
+
This transforms the original differential equation into the separable form
 
: <math>x\frac{du}{dx} = -f(u) - u, </math>
 
: <math>x\frac{du}{dx} = -f(u) - u, </math>
 
or
 
or
 
: <math>\frac 1x\frac{dx}{du} = \frac {-1}{f(u) + u}, </math>
 
: <math>\frac 1x\frac{dx}{du} = \frac {-1}{f(u) + u}, </math>
which can now be integrated directly: {{math|ln ''x''}} equals the [[antiderivative]] of the right-hand side (see [[ordinary differential equation]]).
+
which can now be integrated directly: {{math|ln ''x''}} equals the antiderivative of the right-hand side (see ordinary differential equation).
  
 
===Special case===
 
===Special case===
Line 53: Line 49:
  
 
==Homogeneous linear differential equations==
 
==Homogeneous linear differential equations==
{{see also|Linear differential equation}}
 
A linear differential equation is  '''homogeneous''' if it is a [[homogeneous linear equation]] in the unknown function and its derivatives. It follows that, if {{math|''φ''(''x'')}} is a solution, so is {{math|''cφ''(''x'')}}, for any (non-zero) constant {{mvar|c}}. In order for this condition to hold, each nonzero term of the linear differential equation must depend on the unknown function or any derivative of it. A linear differential equation that fails this condition is called '''inhomogeneous.'''
 
  
A [[linear differential equation]] can be represented as a [[linear operator]] acting on {{math|''y''(''x'')}} where {{mvar|x}} is usually the independent variable and {{mvar|y}} is the dependent variable. Therefore, the general form of a [[linear homogeneous differential equation]] is  
+
A linear differential equation is  '''homogeneous''' if it is a homogeneous linear equation in the unknown function and its derivatives. It follows that, if {{math|''φ''(''x'')}} is a solution, so is {{math|''cφ''(''x'')}}, for any (non-zero) constant {{mvar|c}}. In order for this condition to hold, each nonzero term of the linear differential equation must depend on the unknown function or any derivative of it. A linear differential equation that fails this condition is called '''inhomogeneous.'''
 +
 
 +
A linear differential equation can be represented as a linear operator acting on {{math|''y''(''x'')}} where {{mvar|x}} is usually the independent variable and {{mvar|y}} is the dependent variable. Therefore, the general form of a linear homogeneous differential equation is  
  
 
:<math> L(y) = 0</math>
 
:<math> L(y) = 0</math>
  
where {{mvar|L}} is a [[differential operator]], a sum of derivatives (defining the "0th derivative" as the original, non-differentiated function), each multiplied by a function {{math|''f''<sub>''i''</sub>}} of {{mvar|x}}:
+
where {{mvar|L}} is a differential operator, a sum of derivatives (defining the "0th derivative" as the original, non-differentiated function), each multiplied by a function {{math|''f''<sub>''i''</sub>}} of {{mvar|x}}:
  
 
:<math> L = \sum_{i=0}^n f_i(x)\frac{d^i}{dx^i} \, ,</math>
 
:<math> L = \sum_{i=0}^n f_i(x)\frac{d^i}{dx^i} \, ,</math>
Line 75: Line 71:
 
:<math> 2 x^2 \frac{d^2y}{dx^2} - 3 x \frac{dy}{dx} + y = 2 \,. </math>
 
:<math> 2 x^2 \frac{d^2y}{dx^2} - 3 x \frac{dy}{dx} + y = 2 \,. </math>
 
The existence of a constant term is a sufficient condition for an equation to be inhomogeneous, as in the above example.
 
The existence of a constant term is a sufficient condition for an equation to be inhomogeneous, as in the above example.
 +
 +
==Second order equations==
 +
 +
In order to show how these equations are solved, lets start with the most basic case - a second order equation
 +
 +
::<math>A\frac{d^2y}{dx^2}+B\frac{dy}{dx}+Cy=0</math>
 +
 +
where A, B, and C are constants.
 +
 +
===The Auxiliary Quadratic===
 +
 +
For a DE
 +
 +
::<math>a\frac{d^2y}{dx^2}+b\frac{dy}{dx}+cy=0,</math>
 +
 +
Make the following substitution:
 +
 +
::<math>y=e^{mx}\,</math>
 +
 +
This gives also
 +
 +
::<math>\frac{dy}{dx}=me^{mx}\,</math>
 +
::<math>\frac{d^2y}{dx^2}=m^2e^{mx}\,</math>
 +
 +
The DE is now
 +
 +
::<math>am^2e^{mx}+bme^{mx}+ce^{mx}=0 \,</math>
 +
 +
Dividing by <math>e^{mx}</math> gives (note:<math>e^{mx}</math> can never equal zero)
 +
 +
::<math>am^2+bm+c=0 \,</math>
 +
 +
This is the '''auxiliary quadratic''' (AQ) of the DE. There are four classes of outcomes to the auxiliary quadratic:
 +
 +
#<math>b^2-4ac > 0, \,</math>, giving two distinct, real, roots.
 +
#<math>b^2-4ac = 0, \,</math>, giving two coincident real, roots.
 +
#<math>b^2-4ac < 0, \,</math>, giving complex roots.
 +
:''a'': Purely imaginary roots.
 +
:''b'': Complex-conjugate pair.
 +
 +
The method of solution of the DE depends on the class of AQ.
 +
 +
===Class 1: Distinct, Real Roots===
 +
 +
Consider the DE
 +
 +
::<math>\frac{d^2y}{dx^2}+\frac{dy}{dx}-6y=0 </math>
 +
 +
The AQ is
 +
 +
::<math>m^2+m-6=0 \,</math>
 +
::<math>(m+3)(m-2)=0 \,</math>
 +
 +
This gives us the following roots:
 +
 +
::<math>m=2, \ m=-3</math>
 +
 +
Going back to the substitution we made to obtain the AQ, we have
 +
 +
::<math>y=e^{2x},\ y=e^{-3x}</math>
 +
 +
as two distinct solutions to the DE. According to the superposition principle, the general solution is therefore
 +
 +
::<math>y=Ae^{2x}+Be^{-3x} \,</math>
 +
 +
====General Solution to Class 1 DEs====
 +
:Generalizing, for the Second Order DE
 +
 +
:::<math>a\frac{d^2y}{dx^2}+b\frac{dy}{dx}+cy=0</math>
 +
 +
:with the auxiliary quadratic given by
 +
 +
:::<math>am^2+bm+c=0 \,</math>
 +
 +
:with roots ''&alpha;'' and ''&beta;'', the general solution is
 +
 +
:::<math>y=Ae^{\alpha x}+Be^{\beta x} \,</math>
 +
 +
===Class 2: Coincident, Real Roots===
 +
 +
Consider the DE
 +
 +
::<math>\frac{d^2y}{dx^2}-4\frac{dy}{dx}+4y=0 </math>
 +
 +
The AQ is
 +
 +
::<math>m^2-4m+4=0 \,</math>
 +
::<math>(m-2)(m-2)=0 \,</math>
 +
 +
so, <math>e^{2x}\,</math> is a solution. However, we cannot have it as both solutions as the factor of two produced will be absorbed into the constant, leaving us with only one constant, and therefore a DE without a full solution.
 +
 +
For the other solution we will use the Method of Reduction of Order.  To do so we assume that it is in the form of:
 +
::<math>y_2=u(x)y_1=u(x)e^{2x}\,</math>
 +
At the end we will check if our assumption is correct.  We will now substitute this equation and solve for u(x)
 +
::<math>y_2''-4y_2'+4y_2=0\,</math>
 +
::<math>u''(x)e^{2x}+2u'(x)e^{2x}+2u'(x)e^{2x}+4u(x)e^{2x}-4(u'(x)e^{2x}+2u(x)e^{2x})+4u(x)e^{2x}=0\,</math>
 +
::<math>u''(x)e^{2x}=0\,</math>
 +
::<math>e^{2x}\,</math> is always non-zero so the only way the product can equal zero is if:
 +
::<math>u''(x)=0\,</math>
 +
Integrating twice offers
 +
::<math>u(x)=a_1x + a_2\,</math>
 +
Therefore
 +
::<math>y_2=(a_1x+a_2)y_1\,</math>
 +
::<math>y_2=(a_1x+a_2)e^{2x}\,</math>
 +
Our general solution is:
 +
::<math>y=C_1y_1+C_2y_2\,</math>
 +
::<math>y=C_1e^{2x}+C_2(a_1x+a_2)e^{2x}\,</math>
 +
::<math>y=(C_1+a_2)e^{2x}+C_2a_1xe^{2x}\,</math>
 +
Because each constant is arbitrary we can simply write
 +
::<math>y=C_1e^{2x}+C_2xe^{2x}\,</math>
 +
 +
The Method of Reduction of Order can be used on different equations and u(x) does not always equal x.  You can see below that <math>y=xe^{x}</math> is a valid solution.
 +
::<math>y=xe^{2x}\,</math>
 +
::<math>\frac{dy}{dx}=2xe^{2x}+e^{2x}=e^{2x}(2x+1)\,</math>
 +
::<math>\frac{d^2y}{dx^2}=2e^{2x}+2e^{2x}(2x+1)=e^{2x}(4x+4)\,</math>
 +
 +
To check substitute these into the original DE:
 +
 +
::<math>e^{2x}(4x+4)-4e^{2x}(2x+1)+4xe^{2x}=0 \,</math>
 +
::<math>4xe^{2x}+4e^{2x}-8xe^{2x}-4e^{2x}+4xe^{2x}=0 \,</math>
 +
::<math>0=0\,</math>
 +
 +
Therefore, <math>y=xe^{2x}\,</math> is a solution as well.
 +
 +
====General Solution to Class 2 DEs====
 +
:Generalizing, for the Second Order DE
 +
 +
:::<math>a\frac{d^2y}{dx^2}+b\frac{dy}{dx}+cy=0</math>
 +
 +
:with the coincident root ''&alpha;'' of the AQ, the general solution is
 +
 +
:::<math>y=(A+Bx)e^{\alpha x} \,</math>
 +
 +
===Class 3a: Purely Imaginary Roots===
 +
 +
To have complex roots, the AQ must have a discriminant less than zero, so
 +
 +
::<math>b^2-4ac < 0 \,</math>
 +
 +
Also, for the solution to be purely imaginary, the value of ''b'' must be exactly zero.
 +
 +
Therefore,
 +
 +
::<math>4ac>0\,</math>
 +
 +
This means that ''a'' and ''c'' have to have the same signs: either ''a'' and ''c'' are both positive or they are both negative. If we consider our general second-order DE:
 +
 +
::<math>a\frac{d^2y}{dx^2}+b\frac{dy}{dx}+cy=0</math>
 +
 +
Setting ''b'' to zero gives
 +
 +
::<math>a\frac{d^2y}{dx^2}+cy=0</math>
 +
 +
Dividing through by ''a'' gives
 +
 +
::<math>\frac{d^2y}{dx^2}+\frac{c}{a}y=0</math>.
 +
 +
Therefore, the ''y'' term is always positive, and this can be represented by
 +
 +
::<math>\frac{d^2y}{dx^2}+\omega^2y=0</math>.
 +
 +
(I'm using ''&omega;'' here as it is used for simple harmonic motion, which is the primary use of this DE). There are now two paths to the solution of the DE. The first relies on us spotting that we can use the cyclical nature of trig. functions when derived. Substitute the following
 +
 +
::<math>y=\cos \omega x \,</math>
 +
::<math>\frac{dy}{dx}=-\omega \sin \omega x\,</math>
 +
::<math>\frac{d^2y}{dx^2}=-\omega^2 \cos \omega x\,</math>
 +
 +
And check in our DE:
 +
 +
::<math>\frac{d^2y}{dx^2}+\omega^2 y=-\omega^2 \cos \omega x+\omega^2 \cos \omega x=0</math>
 +
 +
This checks out, so <math>\cos \omega x\,</math> is a solution. A similar result holds true for the substitution using <math>y=\sin \omega x \,</math>.
 +
 +
Our solutions are therefore
 +
 +
::<math>y=\cos \omega x \,</math>
 +
::<math>y=\sin \omega x \,</math>
 +
 +
So the general solution is
 +
 +
::<math>y=A\cos \omega x+B\sin \omega x. \,</math>
 +
 +
 +
The other method of solving this equation is to use Euler's Formula:
 +
 +
::<math>e^{\omega ix}=\cos \omega x +i \sin x \,</math>
 +
 +
:and
 +
 +
::<math>e^{-\omega ix}=\cos \omega x -i \sin x \,</math>
 +
 +
From our original DE, we have an AQ of
 +
 +
::<math>m^2+\omega^2=0 \,</math>
 +
 +
giving us roots of
 +
 +
::<math>m=\pm i \omega \,</math>
 +
 +
so the general solution, similar to the Class 1 DEs, is
 +
 +
::<math>y=Ae^{\omega ix}+Be^{-\omega ix} \,</math>
 +
::<math>y=A(\cos \omega x +i \sin \omega x)+B(\cos \omega x -i \sin \omega x)\,</math>
 +
::<math>y=(A+B)\cos \omega x+i(A-B)\sin \omega x \,</math>
 +
 +
Since A and B are arbitrary, we can set new constants for convenience, letting our new A equal A+B and our new B equal ''i''(A-B).
 +
 +
Thus we have as our general solution
 +
 +
::<math>y=A\cos \omega x+B\sin \omega x \,</math>
 +
 +
====General Solution to Class 3a DEs====
 +
:Generalizing, for the Second Order DE
 +
 +
:::<math>\frac{d^2y}{dx^2}+\omega^2 y=0</math>
 +
 +
:the general solution is
 +
 +
:::<math>y=A\cos \omega x+B\sin \omega x \,</math>
 +
 +
===Class 3b: Complex Conjugate Roots===
 +
 +
Since it is a proven theorem that complex roots of polynomials always occur in conjugate pairs, the only remaining class of AQ is the one with complex conjugates for solutions.
 +
 +
Given that the solutions are complex, we know that in the AQ
 +
 +
::<math>am^2+bm+c=0 \,</math>
 +
::<math>b^2-4ac,<0,\ b \ne 0 \,</math> (see Class 3a).
 +
 +
The roots of this are in the form
 +
 +
::<math>(p \pm iq)\,</math>
 +
 +
The general solution is then
 +
 +
::<math>y=Ae^{(p+iq)x}+Be^{(p-iq)x}\,</math>
 +
::<math>y=e^{px} \left( Ae^{iqx}+Be^{-iqx}\right)\,</math>
 +
 +
From Euler's Formulas, we can now get
 +
 +
::<math>y=e^{px}\left( A\left(\cos q x + i \sin q x \right)+B\left(\cos q x - i \sin q x \right) \right)\,</math>
 +
::<math>y=e^{px}\left( (A+B)\cos q x+i(A-B)\sin q x \right)\,</math>
 +
 +
As A and B are arbitrary, we can collapse them as in Class 3a, so that we have the general solution
 +
 +
::<math>y=e^{px}\left( A\cos q x+B\sin q x \right)\,</math>
 +
 +
====General Solution to Class 3b DEs====
 +
:Generalizing, for the Second Order DE
 +
 +
:::<math>a\frac{d^2y}{dx^2}+b\frac{dy}{dx}+cy=0</math>
 +
 +
:with an AQ with roots
 +
 +
:::<math>m=p \pm iq,</math>
 +
 +
:The general solution is
 +
 +
:::<math>y=e^{px}\left( A\cos q x+B\sin q x \right)\,</math>
 +
 +
 +
We have now covered all possible types of homogeneous second-order differential equation, and we didn't even have to integrate anything! We will now have a look at higher order equivalents.
 +
 +
== Licensing ==
 +
Content obtained and/or adapted from:
 +
* [https://en.wikipedia.org/wiki/Homogeneous_differential_equation Homogeneous differential equation, Wikipedia] under a CC BY-SA license
 +
* [https://en.wikibooks.org/wiki/Ordinary_Differential_Equations/Homogenous_1 Homogeneous 1, Wikibooks: Ordinary Differential Equations] under a CC BY-SA license

Latest revision as of 14:46, 22 October 2021

A differential equation can be homogeneous in either of two respects.

A first order differential equation is said to be homogeneous if it may be written

where f and g are homogeneous functions of the same degree of x and y. In this case, the change of variable y = ux leads to an equation of the form

which is easy to solve by integration of the two members.

Otherwise, a differential equation is homogeneous if it is a homogeneous function of the unknown function and its derivatives. In the case of linear differential equations, this means that there are no constant terms. The solutions of any linear ordinary differential equation of any order may be deduced by integration from the solution of the homogeneous equation obtained by removing the constant term.

Homogeneous first-order differential equations

A first-order ordinary differential equation in the form:

is a homogeneous type if both functions M(x, y) and N(x, y) are homogeneous functions of the same degree n. That is, multiplying each variable by a parameter λ, we find

Thus,

Solution method

In the quotient , we can let to simplify this quotient to a function f of the single variable :

That is

Introduce the change of variables y = ux; differentiate using the product rule:

This transforms the original differential equation into the separable form

or

which can now be integrated directly: ln x equals the antiderivative of the right-hand side (see ordinary differential equation).

Special case

A first order differential equation of the form (a, b, c, e, f, g are all constants)

where afbe can be transformed into a homogeneous type by a linear transformation of both variables (α and β are constants):

Homogeneous linear differential equations

A linear differential equation is homogeneous if it is a homogeneous linear equation in the unknown function and its derivatives. It follows that, if φ(x) is a solution, so is (x), for any (non-zero) constant c. In order for this condition to hold, each nonzero term of the linear differential equation must depend on the unknown function or any derivative of it. A linear differential equation that fails this condition is called inhomogeneous.

A linear differential equation can be represented as a linear operator acting on y(x) where x is usually the independent variable and y is the dependent variable. Therefore, the general form of a linear homogeneous differential equation is

where L is a differential operator, a sum of derivatives (defining the "0th derivative" as the original, non-differentiated function), each multiplied by a function fi of x:

where fi may be constants, but not all fi may be zero.

For example, the following linear differential equation is homogeneous:

whereas the following two are inhomogeneous:

The existence of a constant term is a sufficient condition for an equation to be inhomogeneous, as in the above example.

Second order equations

In order to show how these equations are solved, lets start with the most basic case - a second order equation

where A, B, and C are constants.

The Auxiliary Quadratic

For a DE

Make the following substitution:

This gives also

The DE is now

Dividing by gives (note: can never equal zero)

This is the auxiliary quadratic (AQ) of the DE. There are four classes of outcomes to the auxiliary quadratic:

  1. , giving two distinct, real, roots.
  2. , giving two coincident real, roots.
  3. , giving complex roots.
a: Purely imaginary roots.
b: Complex-conjugate pair.

The method of solution of the DE depends on the class of AQ.

Class 1: Distinct, Real Roots

Consider the DE

The AQ is

This gives us the following roots:

Going back to the substitution we made to obtain the AQ, we have

as two distinct solutions to the DE. According to the superposition principle, the general solution is therefore

General Solution to Class 1 DEs

Generalizing, for the Second Order DE
with the auxiliary quadratic given by
with roots α and β, the general solution is

Class 2: Coincident, Real Roots

Consider the DE

The AQ is

so, is a solution. However, we cannot have it as both solutions as the factor of two produced will be absorbed into the constant, leaving us with only one constant, and therefore a DE without a full solution.

For the other solution we will use the Method of Reduction of Order. To do so we assume that it is in the form of:

At the end we will check if our assumption is correct. We will now substitute this equation and solve for u(x)

is always non-zero so the only way the product can equal zero is if:

Integrating twice offers

Therefore

Our general solution is:

Because each constant is arbitrary we can simply write

The Method of Reduction of Order can be used on different equations and u(x) does not always equal x. You can see below that is a valid solution.

To check substitute these into the original DE:

Therefore, is a solution as well.

General Solution to Class 2 DEs

Generalizing, for the Second Order DE
with the coincident root α of the AQ, the general solution is

Class 3a: Purely Imaginary Roots

To have complex roots, the AQ must have a discriminant less than zero, so

Also, for the solution to be purely imaginary, the value of b must be exactly zero.

Therefore,

This means that a and c have to have the same signs: either a and c are both positive or they are both negative. If we consider our general second-order DE:

Setting b to zero gives

Dividing through by a gives

.

Therefore, the y term is always positive, and this can be represented by

.

(I'm using ω here as it is used for simple harmonic motion, which is the primary use of this DE). There are now two paths to the solution of the DE. The first relies on us spotting that we can use the cyclical nature of trig. functions when derived. Substitute the following

And check in our DE:

This checks out, so is a solution. A similar result holds true for the substitution using .

Our solutions are therefore

So the general solution is


The other method of solving this equation is to use Euler's Formula:

and

From our original DE, we have an AQ of

giving us roots of

so the general solution, similar to the Class 1 DEs, is

Since A and B are arbitrary, we can set new constants for convenience, letting our new A equal A+B and our new B equal i(A-B).

Thus we have as our general solution

General Solution to Class 3a DEs

Generalizing, for the Second Order DE
the general solution is

Class 3b: Complex Conjugate Roots

Since it is a proven theorem that complex roots of polynomials always occur in conjugate pairs, the only remaining class of AQ is the one with complex conjugates for solutions.

Given that the solutions are complex, we know that in the AQ

(see Class 3a).

The roots of this are in the form

The general solution is then

From Euler's Formulas, we can now get

As A and B are arbitrary, we can collapse them as in Class 3a, so that we have the general solution

General Solution to Class 3b DEs

Generalizing, for the Second Order DE
with an AQ with roots
The general solution is


We have now covered all possible types of homogeneous second-order differential equation, and we didn't even have to integrate anything! We will now have a look at higher order equivalents.

Licensing

Content obtained and/or adapted from: