We are interested in solving equations of the form

The case when
is straightforward and its general solution is called the complementary function. The case when
can be solved using judiciously chosen Ansatz, or as I would like to call it, educated trial-and-error. Nevertheless, if we can find at least one particular integral
such that

then the general solution is given by
. We last asked the question: Can we find
systematically, rather than in an ad-hoc manner?
The key idea is some experimentation and a notational shift. If we took the “inverse” of the operator
, we will obtain

Strictly speaking, the operator
does not have an inverse, since for any complementary function
,

Yet, further technical tools in linear algebra allows us to effectively “ignore”
and treat
as having an inverse with technical caveats. We shall not discuss them here, but simply agree that

With that, we can formally define the inverse-
operator.
Definition 1. We will write
to mean the unique function (with caveats) such that
. Abbreviated,

This allows us to write, without ambiguity,

As with many calculus-related properties, the inverse-
operator is linear.
Theorem 1. For any
and real constant
,

Proof. This is a consequence of linear algebraic ideas. Nevertheless, we provide a proof here. For each
, find
such that
. Then

The proof of the second property is similar.
If
, then

The calculation that reverses differentiation is integration, and by convention, we will say that

Indeed, the arbitrary constants in the context of differential equations turns out to get “absorbed” into
.
Theorem 2. For any
,
.
Now we need to know several common
and their results after being plugged into the inverse-
operator.
Theorem 3. Let
be a polynomial. We have the following inverse-
calculations. with
. For any constant
,
- if
, then
,
- if
, then
,
- if
, then
,
- if
, then
.
Proof. We will prove the first result and leave the rest as exercises. Let
. We notice that for any constant
, if
, then
. Hence,

Hence, by the linearity of inverse-
operators,

Dividing both sides by
yields the desired result.
Sadly, there are instances when
, in which we need to reconsider our strategy. To that end, consider any function
. Then the product rule yields

If we differentiate a second time, applying the same result but replacing
with
yields

Repeating the pattern, we see that

By multiplying by
and summing relevant terms, we obtain the intriguing result

But how do we translate this information into inverse-
operators? We perform a clever trick.
Theorem 4. Let
be a polynomial. For any constant
and any function
,

Proof. Define
. Then

Taking
on both sides yields the desired result.
A common setup involves
being a trigonometric function, but in that instance, what if
? By the factor theorem, it turns out that this must mean that
is a factor of
. Hence, we study the latter case for simplicity.
Just like in Theorem 4, we consider any function
. Then some differentiation (left as an exercise) yields

The first equality does resemble the identity
, and indeed, this is the generalised product rule. For the right-hand side, the clever choice
yields
and
. This choice of
yields

Doing some algebra,

Finally, taking the inverse-
operator and applying linearity yields our final result. The result is analogous if we started with
.
Theorem 5. For any constant
,

For a somewhat more elegant proof, of some of these identities, see this post. Finally, to see that this inverse-
recipe really works, let’s revisit our tedious problem from a previous post.
Example 1. Find the general solution to the differential equation

Solution. For the complementary function
, we solve the characteristic equation
to obtain the real and distinct roots
, yielding
.
For the particular integral
, we apply the inverse-
operator to get

If we substitute
with
, we get
, which is sad, since we cannot use Theorem 3. Instead, we will use Theorem 4 with
to get

We leave it as an exercise to verify that the last two steps are legitimate, i.e., in the sense that for polynomials
,

Back to the problem, applying results from Theorems 2 and 3 yield

Hence, the desired general solution to the original differential equation must be

which matches our previously obtained result.
—Joel Kindiak, 31 Jan 25, 1608H