Given:
x2y′′+xy′−4y=x3
This is an Euler-Cauchy equation with variable coefficients.
Let's try to solve the following homogeneous equation without y-free part (right hand side):
x2y′′+xy′−4y=0
Try to find any trivial solution in form:
y=xa,a−const
y′=axa−1,y′′=a(a−1)xa−2
x2(a(a−1)xa−2)+x2(axa−1)−4xa=0
a(a−1)xa+axa−4xa=0
a2−a+a−4=0, a=±2
We found two trivial solutions, let's choose the first one:
1. y=x2, 2. y=x−2
Now try to find a general solution in form:
y=x2u(x)=x2u
y′=2xu+x2u′
y′′=2u+4xu′+x2u′′
x2(2u+4xu′+x2u′′)+x(2xu+x2u′)−4x2u=x3
4x3u′+x4​u′′+x3u′=x3
5x3u′+x3x​u′′=x3
5u′+xu′′=1 (∗)
The equation (*) is the first-order linear differential equation.
Let's solve first homogeneous variant of this equation:
5u′+xu′′=0
To simplify the solution we can use substitution:
u′(x)=t(x)=t, t′=dxdt​=u′′
5t+xt′=0
xdxdt​=−5t
tdt​=−5xdx​ (integrate both parts)
ln∣t∣=−5ln∣x∣+ln∣C∣, C−const
t=x5C​
Now we can use the method of variation of parameters to find the general solution of (*):
t=x5C(x)​, t′=x5C′(x)​−5x6C(x)​
5x5C(x)​+xx5C′(x)​−5xx6C(x)​=1
xx5C′(x)​=1
C′(x)=x4 (integrate both parts)
C(x)=5x5​+D, D−const
t=x5C(x)​=x5x5+D​=51​+x5D​
t=u′=51​+x5D​ (integrate both parts)
u=5x​−4x4D​+E, E−const
y=x2u=x2(5x​−4x4D​+E)=5x3​−4x2D​+Ex2
Now we can rewrite constants:
C1​=−4D​, C2​=E
The general solution of the given equation:
y=5x3​+x2C1​​+C2​x2, C1​,C2​−const
Comments