A first-order differential equation involves the first derivative . A second-order differential equation involves the second derivative
and even possibly the first.
Example 1. Given , find the general solution to the equation
Solution. We will leave the solution as a guided exercise. Use the substitution to obtain the differential equation
By the method of separable variables, , so that
By the method of integrating factors,
.
This yields the first result for our discussion on second-order differential equations.
Theorem 1. Given real constants , the general solution to the differential equation
is determined by the roots of its characteristic equation or auxiliary equation :
if the roots
are real and distinct.
if the roots
are real and repeated.
if the roots
are complex conjugates.
Proof. We have proven the first case in Example 1. For the third case, we apply the first case to the observation
where the second equality follows from Euler’s formula. The solutions are then given by
where and
are constants.
For the second case, the derivation of the first case leads to the differential equation
By the method of integrating factors, we have an integrating factor so that the general solution is given by
where are constants.
For naming purposes:
- Since the left-hand side is of the form
, the ODE is called linear.
- Since the highest derivative is
, the ODE is of second-order.
- Since the coefficients in each
are constants
, the ODE is said to have constant coefficients.
- Since the right-hand side is
, the ODE is said to be homogeneous.
Putting it all together, differential equations of the form
are called homogeneous second-order linear ODEs with constant coefficients (what a mouthful…).
Example 2. Given , an object is said to obey simple harmonic motion if its acceleration
is directly proportional to its displacement
with proportionality constant
.
Given that the object obeying simple harmonic motion has initial displacement and initial velocity
, obtain an expression for
in terms of
,
,
,
.
Solution. Since the object obeys simple harmonic motion,
The characteristic equation is given by and its roots are
. Thus, the general solution of the differential equation is given by
Since yields
and
yields
, we have
Things start getting rather challenging when the right-hand side of our differential equation is not ; how do we solve the following differential equation?
In fact, we haven’t even considered the cases where are replaced by functions themselves. This is itself a nontrivial area of study, which we may explore if time and space permits.
Nevertheless, working with constant ,
,
, we have several approaches to solve the corresponding differential equation. We will explore both approaches in due time; the Laplace approach in its traditional presentation, and the undetermined coefficients in a rather compact presentation involving inverse-
operators.
These approaches by no means solve every differential equation out there, but it does suffice to analytically solve many equations that are in use in the STEM fields. Most differential equations are solved numerically anyway, and then we invoke the pure mathematicians’ insanity to verify that these solutions genuinely exist. But that’s a discussion for another day.
—Joel Kindiak, 28 Jan 25, 1616H
Leave a comment