1.dx2d2y−2dxdy+5y=extan2x
The differential equation has the form
dx2d2y+pdxdy+qy=s where p=−2 , q=5 and s=−extan2x
Solve corresponding homogenous linear equation
dx2d2y+pdxdy+qy=0
Its characteristic equation is given as
q+(k2+kp)=0⟹5+(k2−2k)=0⟹k2−2k+5=0
∴ k1=1−2i and k2=1+2i
⟹ y=C1ek1x+C2ek2x=C1e(1−2i)x+C2e(1+2i)x
Solve the inhomogeneous equation
dx2d2y+pdxdy+qy=s
By use of variation of parameters method, suppose that C1 and C2 are functions of x
∴ The general solution is
y=C1(x)e(1−2i)x+C2(x)e(1+2i)x
To find C1(x) and C2(x) ,by the method of variation of parameters ,we find the solution from the system:
y1(x)dxdC1(x)+y2(x)dxdC2(x)=0
dxdC1(x)dxdy1(x)+dxdC2(x)dxdy2(x)=f(x)
Where y1(x) and y2(x) are linearly independent particular solutions of linear ordinary differential Equations
y1(x)=ex(1−2i) , C1=1 and C2=0
y2(x)=ex(1+2i) , C1=0 and C2=1
And the free term is given as
f(x)=extan(2x)
So the system has the form:
ex(1−2i)dxdC1(x)+ex(1+2i)dxdC2(x)=0
dxdC1(x)dxdex(1−2i)+dxdC2(x)dxdex(1+2i)=extan(2x)
solving the system gives
dxdC1(x)=4ie2ixtan(2x)⟹C1(x)=∫4ie2ixtan(2x)dx
dxdC2(x)=4ie−2ixtan(2x)⟹C2(x)=−∫4ie−2ixtan(2x)dx
Evaluate ∫4ie2ixtan(2x)dx=8log(e2ix−i)−8log(e2ix+i)−8ie2ix
−∫4ie−2ixtan(2x)dx=8log(e2ix−i)−8log(e2ix+i)+8ie2ix
Substitute C1(x) and C2(x) to
y=C1(x)e(1−2i)x+C2(x)e(1+2i)x
⟹y=(8log(e2ix−i)−8log(e2ix+i)−8ie2ix)e(1−2i)x+(8log(e2ix−i)−8log(e2ix+i)+8ie2ix)e(1+2i)x
∴y=(C2sin(2x)+(C1+8log(sin(2x)−1)−8log(sin(2x)+1))cos(2x)ex
2.dxdy+3y=3x2e−3x
This differential equation has the form
dxdy+p(x)y=Q(x)
Solve the correspondent linear homogenous equation
dxdy+p(x)y=0 where p(x)=3 and Q(x)=3x2e−3x
⟹dxdy=−p(x)y⟹ydy=−p(x)dx⟹∫y1dy=−∫p(x)dx
∴log(∣y∣)=−∫p(x)dx⟹∣y∣=e−∫p(x)dx
⟹y1=e−∫p(x)dx=e−∫3dx=eC1−3x
and y2=−e−∫p(x)dx=−e−∫3dx=−eC2−3x
This leads to correspondent solution for any constant C not equal to zero
y=Ce−3x
Now we should solve the inhomogeneous equation
dxdy+p(x)y=Q(x)
Use variation of parameters method by considering C as a function of x
y=C(x)e−3x
Apply it in the original equation using rules for product differentiation of composite functions derivative .We find that
dxdC(x)=Q(x)e∫p(x)dx
Let use Q(x) and p(x) for this equation, we get the first order differential equation for C(x)
dxdC(x)=3x3⟹C(x)=∫3x2dx=x3+c
use C(x) at
y=C(x)e−3x
∴ y=(C1+x3)e−3x
Comments