Second-Order Linear Equations with Constant Coefficients - Nonhomogeneous Case
In questa pagina 6
In questa pagina 3
Prerequisites: Second-Order Linear Equations with Constant Coefficients - Homogeneous CaseFor y'' + a1 y' + a0 y = 0 with constant a0, a1 one looks for solutions e^(lambda t): they work if lambda is a root of the characteristic polynomial p(lambda) = lambda^2 + a1 lambda + a0. Delta > 0 (roots lambda1 and lambda2 distinct): y = c1 e^(lambda1 t) + c2 e^(lambda2 t). Delta = 0 (double root lambda): y = (c1 + c2 t) e^(lambda t). Delta < 0 (roots alpha plus or minus i omega): y = e^(alpha t)(c1 cos omega t + c2 sin omega t). The same method holds for every order.Second-Order Linear Equations with Constant Coefficients - Homogeneous Case →, Second-Order Linear Differential Equations - General StructureFor y'' + a1(t)y' + a0(t)y = b(t) with continuous coefficients on an interval, solutions are defined on the whole interval and the Cauchy problem with y(t0), y'(t0) has a unique solution. The general integral of the homogeneous equation is c1 y1 + c2 y2 with y1, y2 linearly independent solutions (checked with the Wronskian); that of the complete equation is yp + c1 y1 + c2 y2, with yp a particular solution. The same structure holds for every order n.Second-Order Linear Differential Equations - General Structure → (structure of the general integral of the complete equation).
What is left to do
For the complete equation the general integral is where is the general integral of the homogeneous equation (found with the characteristic polynomial) and is one particular solution of . Only is left to find.
It can be found when is a polynomial, an exponential, a sine or a cosine, or a product (or sum) of these functions: with () a polynomial of degree .
The method of similarity
The idea: if is of a certain type, look for of the same type, with unknown coefficients, and find them by substituting in the equation. It works because differentiating a polynomial times an exponential times a sine/cosine gives again a function of the same type.
Criterion (method of similarity). Method. Let (or with ), with a polynomial of degree , , . Consider the (possibly complex) number and compare it with the roots of the characteristic polynomial .
- ( is not a root): a particular solution is with and polynomials of degree whose coefficients are found by substituting in the equation.
- is a simple root (multiplicity ) of : .
- is a double root of (it happens only with and real): .
In cases 2 and 3 one speaks of the phenomenon of resonance.
Example. : is a simple root of , so ; substituting one finds , that is .
Warning: even if contains only the cosine (or only the sine), in both must be put, because differentiating one gives the other.
Why multiply by . If is a root, the function of case 1 solves the homogeneous equation: substituted in the equation it gives , not , and no choice of the coefficients works. Multiplying by (or ) one leaves the solutions of the homogeneous equation, as in the case of the homogeneous equation, where the second solution is .
The most frequent special cases
| (no resonance) | ||
|---|---|---|
| (polynomial) | ||
| or | ||
For a polynomial, : so , , , and there is resonance when is a root of , that is when (the term in is missing).
How to find the coefficients. Compute and , substitute in the equation and equate the coefficients of the same powers of (identity principle for polynomials), or of and (an identity principle holds for these combinations too).
Resonance in the forced oscillator
For , with (a point attached to a spring, without friction, pushed by a periodic external force), the roots of the characteristic polynomial are and :
- if (the frequency of the force differs from the natural one of the spring) the particular solution is , bounded;
- if (same frequency) there is resonance: , which oscillates with an amplitude that grows without bound.
Hence the name: a bounded force, with the "right" frequency, produces larger and larger oscillations.
Grafico interattivo: Resonance: y = (1/2) t sin(2t) oscillates with growing amplitude
Superposition principle
Principle (superposition). If , the general integral of is where is the general integral of the homogeneous equation, a particular solution of and one of .
Example. : for one has and for one has , so .
In this way one handles one forcing term at a time, each with its own (one may give resonance and the other not).
Proof (not required). Substitute and regroup: So is a solution; and is a particular solution, hence by the structure of the general integral of the complete equation all solutions are obtained ∎.
The method holds for every order
For linear equations with constant coefficients of order the method is the same: check whether is a root of the characteristic polynomial and with which multiplicity , and multiply by .
Common mistakes
- Putting only the cosine in when contains only the cosine: both and are needed.
- Forgetting resonance: before writing always check whether is a root of .
- For a polynomial of degree using a polynomial of lower degree: for one needs even though the term in is missing.
- Imposing the initial conditions on instead of on .
Versione ripasso
Prerequisite: Second-Order Linear Equations with Constant Coefficients - Homogeneous CaseFor y'' + a1 y' + a0 y = 0 with constant a0, a1 one looks for solutions e^(lambda t): they work if lambda is a root of the characteristic polynomial p(lambda) = lambda^2 + a1 lambda + a0. Delta > 0 (roots lambda1 and lambda2 distinct): y = c1 e^(lambda1 t) + c2 e^(lambda2 t). Delta = 0 (double root lambda): y = (c1 + c2 t) e^(lambda t). Delta < 0 (roots alpha plus or minus i omega): y = e^(alpha t)(c1 cos omega t + c2 sin omega t). The same method holds for every order.Second-Order Linear Equations with Constant Coefficients - Homogeneous Case →. The general integral of is: where is the solution of the associated homogeneous equation and is a particular solution.
The method of similarity
Let (or ), a polynomial of degree , . Let and .
Method.
- If : , with polynomials of degree with unknown coefficients.
- If is a simple root: ; if it is a double root (only with and real): (resonance).
Why : if is a root, solves the homogeneous equation and gives instead of .
Example: : simple root, , .
Frequent cases
| (no resonance) | ||
|---|---|---|
| or | ||
For a polynomial : there is resonance when .
Coefficients: substitute in and equate coefficients.
Resonance in the forced oscillator
For , : the roots are and .
- : , bounded.
- : is a simple root, resonance: , with unboundedly growing amplitude.
Superposition principle
If , the particular solution is . It follows from linearity: each term has its own (one may give resonance and the other not). Example: gives .
Common mistakes: omitting the sine (or the cosine) in ; not checking resonance; using a polynomial of lower degree (for one needs ); imposing the initial conditions on instead of on .