Answer on Question #70742 – Math – Differential Equations
Question
1. a) Solve the following ordinary differential equations:
i) dxdy+4xy=x
ii) dx2d2y+dx4dy−12y=cos2x.
Solution
i)
y′+4xy=xy′=x(1−4y)1−4ydy=xdx∫1−4ydy=∫xdx−41ln(1−4y)=2x2+C1ln(1−4y)=−2x2−4C11−4y=C2e−2x2y(x)=Ce−2x2+4′1
where C1,C2,C are real constants.
ii)
y′′+4y′−12y=cos2x
First, solve homogeneous equation:
y′′+4y′−12y=0λ2+4λ−12=0→λ1=−6,λ1=2
Thus, the general solution of the homogeneous equation is
yhomogeneous=C1e−6x+C2e2x,
where C1,C2 are arbitrary real constants.
Now, let's find any solution for non-homogeneous equation in the form
y~=Acos2x+Bsin2x
If we substitute it in equation, we shall get
−4Acos2x−4Bsin2x−8Asin2x+8Bcos2x−12Acos2x−12Bsin2x=cos2x
As cos2x and sin2x are linearly independent,
−4A+8B−12A=1−4B−8A−12B=0
Solving this system
A=−201,B=401
Thus, the general solution of the non-homogeneous equation is
y(x)=yhomogeneous+y~=C1e−6x+C2e2x−201cos2x+401sin2x
Answer: i) y(x)=Ce−2x2+41; ii) y(x)=C1e−6x+C2e2x−201cos2x+401sin2x.
Answer provided by https://www.AssignmentExpert.com