Higher-order linear equations · Definition
Second-order linear equation
Before you start you need to know
It describes systems with inertia, such as a spring or a circuit, where acceleration depends on position and velocity.
Definition
It is a second-order differential equation, linear in the unknown \(y\) and its derivatives, whose coefficients \(p\), \(q\) and term \(g\) depend only on \(t\).
What matters is that \(y\), \(y'\) and \(y''\) appear only to the first power, multiplied by functions of \(t\). When \(g(t)=0\) the equation is called homogeneous; if \(g\neq0\), nonhomogeneous, and \(g\) stands for an external force or source. The classification matters because almost every method in this topic depends on it.
Unlike first order, the general solution carries two arbitrary constants, because we must integrate twice. Two conditions are needed to fix them, for example the values of \(y\) and \(y'\) at a time \(t_0\). If \(p\), \(q\) and \(g\) are continuous on an interval, there is a unique solution that meets them.
When \(p\) and \(q\) are constants, we try \(y=e^{rt}\): substituting yields the polynomial \(r^2+pr+q=0\), the characteristic equation, and each root gives a solution. For example, \(y''-5y'+6y=0\) gives \(r=2\) and \(r=3\), so \(e^{2t}\) and \(e^{3t}\) are solutions.
A common mistake is to think any twice-differentiable function "looks like" a solution: you must substitute and check that the left side minus the right side vanishes. Another is calling \(y''+y^2=0\) linear; the square of the unknown makes it nonlinear. Next we see how solutions of the homogeneous version combine.
Think about it
If \(y''+y=\cos t\), what is \(g(t)\) and is the equation homogeneous?
\(g(t)=\cos t\neq0\), so it is not homogeneous; its homogeneous version is \(y''+y=0\).
Exercises 10
- Which of these equations is second-order linear?
- In \(y''+\tfrac{2}{t}\,y'-3y=e^t\), what is \(q(t)\)?
- Which of these equations is homogeneous (\(g=0\))?
- Which function solves \(y''+3y'+2y=0\)?
- If \(y=e^{rt}\) solves \(y''-5y'+6y=0\), what values can \(r\) take?
- For \(k>0\), which value makes \(y=\sin(kt)\) solve \(y''+16y=0\)?
- The function \(y=t^2\) solves \(y''+y=g(t)\). What is \(g(t)\)?
- What is the constant solution of \(y''+4y'+5y=10\)?
- Why is \(y''+y\,y'=0\) not linear?
- If \(y_1=e^{t}\) solves \(y''-y=0\), which of these functions also solves it?
What comes next
References
- William E. Boyce, Richard C. DiPrima, Douglas B. Meade, Elementary Differential Equations and Boundary Value Problems, 12th edition, Wiley, 2021. §3.1
- Dennis G. Zill, A First Course in Differential Equations with Modeling Applications, 11th edition, Cengage, 2018. §4.1