OH BOY who's ready to board the hype train for differential equations!?
*cricket sounds*
*more cricket sounds*
*awkward silence*
Anyway... in case you're wondering, what we're gonna do today is we're gonna look into homogeneous linear differential equations with constant coefficients, that is, differential equations in the form
andxndny+an−1dxn−1dn−1y+⋯+a1dxdy+a0y=0(0.1)
(a0, a1, …, an−1, an are arbitrary real constants), and we're gonna talk about their general solutions! (yay)
By the way, if you don't know about homogeneous linear differential equations (really long name I know) and how to solve them, look it up here.
Now, there is this thing with a nice name called "characteristic equation" or "auxiliary equation":
anrn+an−1rn−1+⋯+a1r+a0=0(0.2) which determines the nature of the general solution of (0.1).
In fact, we have this theorem stating that when all roots of equation (0.2) are distinct, then a general solution for equation (0.1) will be in the form
y(x)=c1er1x+c2er2x+⋯+cnernx(0.3)
where c1, c2, ⋯, cn are arbitrary constants (may be real or complex, if there are complex roots, they are also rewritten to the trigonometric form using Euler's formula but that's beside the main point), r1, r2, ⋯, rn are the n distinct roots of equation (0.2).
And if some of the roots are repeated, for example, say that one of the roots r is repeated k times , then the term in the general solution associated with that repeated root would be in the form
(c1+c2x+c3x2+⋯+ckxk−1)erx(0.4)
Now two questions might arise from our heads, why exactly must it be in the form (0.3)? And where did the (c1+c2x+c3x2+⋯+ckxk−1) part in (0.4) come from?
There's one explanation that uses the principle of superposition (not the one involving waves!), but here I'm gonna present you an alternative approach to derive (0.3) and (0.4), so hold on tight and wear your seatbelts!
Second Order
Before we do anything crazy, let's look at something simpler, a second order homogeneous linear DE with constant coefficients:
a2dx2d2y+a1dxdy+a0y=0(a2=0)(1.1)
We will now try to derive a general solution that satisfies (1.1).
Instead of "guessing" that the solution would look like the form erx, let's instead start at its characteristic equation shall we?
a2r2+a1r+a0=0(1.2)
This is just a simple quadratic equation, let r1, r2 be its two roots, then using Vieta's formula, we have
r1+r2=−a2a1r1r2=a2a0
Back to (1.1), since a2=0, we have dx2d2y+a2a1⋅dxdy+a2a0⋅y=0
dx2d2y−(r1+r2)dxdy+r1r2y=0
dx2d2y−r2dxdy−r1dxdy+r1r2y=0
(dx2d2y−r2dxdy)−r1(dxdy−r2y)=0
Now, here's the interesting part, notice that if we let y1=dxdy−r2y, then dxdy1=dx2d2y−r2dxdy, the equation above becomes dxdy1−r1y1=0⟹dxdy1=r1y1
Would you look at that! What we have now is a separable differential equation, which can be easily solved:
y11dy1=r1dx
Integrating both sides:
∫y11dy1=∫r1dx⟹ln∣y1∣=r1x+C0
∣y1∣=er1x+C0
y1=±eC0er1x
±eC0 is an arbitrary constant, so we'll replace it with C1:
∴y1=C1er1x
Back substituting y1=dxdy−r2y: dxdy−r2y=C1er1x
Brilliant! We now have a first order linear differential equation, to solve this, we multiply both sides by its integrating factor e∫−r2dx=e−r2x:
e−r2xdxdy−r2e−r2xy=C1e(r1−r2)x
dxd(e−r2xy)=C1e(r1−r2)x
∴e−r2xy=∫C1e(r1−r2)xdx(1.3)
Case 1: Equation (1.2) has two distinct roots, i.e. r1=r2
From (1.3), e−r2xy=r1−r2C1e(r1−r2)x+C2 y=r1−r2C1er1x+C2er2x
Relabeling the constants, we have y=c1er1x+c2er2x
which is exactly what we wanted, it is a general solution that satisfies (1.1), and is in the same form as (0.3)
Let's now see what happens if the characteristic equation has two equal real roots.
Case 2: Equation (1.2) has two equal real roots, i.e. r1=r2
From (1.3), e−r1xy=∫C1dx=C1x+C2
y=C1xer1x+C2er1x
Relabeling the constants and rearranging, we have y=(c1+c2x)er1x which is also what we wanted, it is a general solution and it is in the same form as (0.4).
Third Order
Now what about third order homogeneous linear DEs with constant coefficients? Fear not! We're about to find out!
a3dx3d3y+a2dx2d2y+a1dxdy+a0y=0(a3=0)(2.1)
Again, we shall start from its characteristic equation:
a3r3+a2r2+a1r+a0=0(2.2)
Ah, a good-ol' cubic equation, let r1, r2, r3 be its three roots, using Vieta's formula, we have
r1+r2+r3=−a3a2r1r2+r2r3+r1r3=a3a1r1r2r3=−a3a0
Case 1: Equation (2.2) has 3 distinct roots
As a3=0, from (2.1), we have dx3d3y+a3a2⋅dx2d2y+a3a1⋅dxdy+a3a0⋅y=0
dx3d3y−(r1+r2+r3)dx2d2y+(r1r2+r2r3+r1r3)dxdy−r1r2r3y=0
dx3d3y−r3dx2d2y−(r1+r2)dx2d2y+r3(r1+r2)dxdy+r1r2dxdy−r1r2r3y=0
(dx3d3y−r3dx2d2y)−(r1+r2)(dx2d2y−r3dxdy)+r1r2(dxdy−r3y)=0
Substitute y1=dxdy−r3y, we get dx2d2y1−(r1+r2)dxdy1+r1r2y1=0(2.3)
Déjà vu? Hey! That's because we're back to the second order case again! In fact, if we let r1+r2=−a2′a1′ and r1r2=a2′a0′ (a0′, a1′, a2′ are constants, a2′=0), we have dx2d2y1+a2′a1′⋅dxdy1+a2′a0′⋅y=0⟹a2′dx2d2y1+a1′dxdy1+a0′y=0 with r1, r2 being the roots of its characteristic equation a2′r2+a1′r+a0′=0.
Hence we're dealing with a second order homogeneous linear DE with constant coefficients, which we know its general solution, and because r1=r2,
y1=dxdy−r3y=C1er1x+C2er2x
This is a first order linear differential equation, multiplying both sides by its integrating factor e∫−r3dx=e−r3x, we will get dxd(e−r3xy)=C1e(r1−r3)x+C2e(r2−r3)x(2.4)
Integrating both sides and multiplying both sides by er3x, we have y=r1−r3C1er1x+r2−r3C2er2x+C3er3x
Relabeling the constants: y=c1er1x+c2er2x+c3er3x□
Case 2: Equation (2.2) has one repeated root, without loss of generality, let's assume that r1=r3
In this case, all the steps will be identical to case 1 until up to (2.4), where integrating both sides of (2.4) would instead give
e−r1xy=C1x+r2−r3C2er2x+C3
Multiplying both sides by er1x and relabeling the constants, we have
y=(c1+c2x)er1x+c3er2x□
Case 3: Equation (2.2) has 3 equal real roots, i.e. r1=r2=r3
Similar to case 1, but when solving for y1 in (2.3) would instead give y1=dxdy−r1y=(C1+C2x)er1x
Multiplying both sides by its integrating factor e∫−r1dx=e−r1x gives dxd(e−r1xy)=C1+C2x
Integrating both sides: e−r1xy=C1x+2C2x2+C3
Multiplying both sides by er1x and relabeling the constants, we have y=(c1+c2x+c3x2)er1x□
Some Observations
We have shown that if the roots of a characteristic equation of a second or third order homogeneous linear DE with constant coefficients are all distinct, then its general solution will be in the form (0.3), a linear sequence of powers of e, which makes sense, since e comes up a lot in calculus, it's a special magic number with special properties. It also makes it reasonable to guess that solutions to (0.1) might be in the form erx.
Things also get a bit more interesting when there are repeated roots. You might have noticed in (1.3) and (2.4), when there are repeated roots, they cause the exponent of the terms Ceax to become zero, causing it to be equal to some constant C. When constants are integrated, linear terms of x appear, in higher orders, the x terms are integrated several more times and become x2 terms, then x3, x4, …. This is one of the reasons integer powers of x appear in (0.4) when repeated roots are involved.
Higher Orders?
Of course, the derivations above can be extended to higher orders, an inductive way to prove for all orders might also exist, but this note is already too long and is left as an exercise to the reader :D (I'm so nice).
This might be the longest note I've ever written, so if you made it all the way here, then you are awesome. :)
Toodles, gotta go!
#Calculus
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
@Kenneth Tan Thanks for this!!!
Log in to reply
Glad it helped :)
Some criticisms:
In the second-order case, where you have two distinct roots, what happens when the two roots are "complex"? If you are looking for solutions in the "real number field", you will need to do some work to adjust it.
When you go to higher-orders, using the method of characteristic equations will fail once you get to degree 5 and higher (by the Abel-Ruffini theorem). Because of this, you may need to adjust your methods. I am not sure how to tackle this though; not sure if using a linear algebraic method of solving it as a system of ODEs would solve your problem, as finding the eigenvalues generally requires solving such a polynomial. In any case, you may think about it.
In any case, a nice primer for anyone looking to understand homogeneous linear ODEs, especially in the third-order case. Ultimately, these methods will fall very short from a pure mathematical perspective, as the calculations become (almost) infinitely more complicated.
Do computer science students take calculus? I wonder.
Log in to reply
Usually they take calculus but is not too in depth.
Log in to reply
Fair enough. After all, computers don't mix well with infinitely many tasks. Looking at you integrals.
JARID2 belongs to JmjC domain containing protein family, members of which mediate histone demethylation through an iron-and α-ketoglutarate (KG)-dependent oxidation mechanism. In fact, JARID2, an essential regulatory component of PRC2 in pluripotent stem cells, contains an RNA-binding region that mediates, at least in part, its interaction with the imprinted lncRNA MEG3.
https://www.creative-biogene.com/genesearch/JARID2.html