[Math] Particular integral in complementary function
ordinary differential equations
Why does multiplying by $x$ work here? Is this a general rule when the particular integral in complementary function
Best Answer
$$y''-5y'+6y=e^{2x}$$
The characteristic polynomial is:
$$r^2-5r+6 =0 \implies (r-2)(r-3)=0$$$$ \implies S_r= \{2,3\}$$
The solution of the homogeneous equation is :
$$y(x)=c_1e^{2x}+c_2e^{3x}$$
So the particular solution should be
$$y_p(x)=Axe^{2x}$$
Normally the guess should be $Ae^{2x}$. But since $e^{2x}$ is already solution of the homogeneous equation, you need to multiply by $x$ the guess.
EDIT
A good exercice is to solve the following equation :
$$y''-4y'+4y=e^{2x}$$
Try it ..
Not quite. For example, $y'' = 0$ has solutions $y = a t + b$. $y = (a t + b) t$ satisfies $y'' + a y = 2 a$.
What is true is that if $r$ is a root of order $m$ of the polynomial $P(x)$, then
$q(t) e^{rt}$ is a solution of $P(D) y = 0$ for any polynomial $q$ of degree $\le m-1$,
and for any polynomial $p$ of degree $d$, $P(D) y = p(t) e^{rt}$ will have solutions of the form $s(t) e^{rt}$ where $s(t)$ is a polynomial of degree $d+m$.
I will present two ways to arrive at the term $xe^{2x}$. I hope they would help you understand the matter better.
Change of Basis
For any function $y$ and constant $a$, observe that
$$
(D - a)y = e^{ax}D(e^{-ax}y)
$$
where $D$ is the differential operator $\frac{d}{dx}$.
In other words, the operator $D - a$ is similar to $D$, via the change of basis $e^{ax}$.
To use this to solve the equation $(D - 2)(D - 3)y = e^{2x}$, rewrite the equation as
\begin{align}
(D - 2)(D - 3)y & = e^{2x} \\
e^{2x}D(e^{-2x}(D - 3)y) & = e^{2x} \\
D(e^{x}D(e^{-3x}y)) & = 1 && \text{The right-hand side is a non-zero constant}\\
e^{x}D(e^{-3x}y) & = x + c \\
D(e^{-3x}y) & = xe^{-x} + ce^{-x} \\
e^{-3x}y & = -xe^{-x} + Ae^{-x} + B \\
y & = -xe^{2x} + Ae^{2x} + Be^{3x}.
\end{align}
Annihilator
By recognizing that $e^{2x}$ is in the null space of $(D - 2)$, we can apply $(D - 2)$ to the original equation to obtain
$$
(D - 2)^2(D - 3)y = 0.
$$
Now, the method to find the homogeneous solution should give you the form
$y = Ae^{2x} + Be^{3x} + Cxe^{2x}$.
Substitute back into the original equation and solve for $C$. (You will get $C = -1$.)
Best Answer
$$y''-5y'+6y=e^{2x}$$ The characteristic polynomial is: $$r^2-5r+6 =0 \implies (r-2)(r-3)=0$$ $$ \implies S_r= \{2,3\}$$ The solution of the homogeneous equation is : $$y(x)=c_1e^{2x}+c_2e^{3x}$$ So the particular solution should be $$y_p(x)=Axe^{2x}$$ Normally the guess should be $Ae^{2x}$. But since $e^{2x}$ is already solution of the homogeneous equation, you need to multiply by $x$ the guess.
EDIT
A good exercice is to solve the following equation : $$y''-4y'+4y=e^{2x}$$ Try it ..