Answer on Question #58204 – Math – Differential Equations
Question
1. a) Solve the following ordinary differential equation:
i) 1/xsinydx+[(lnx)(cosy)+y)]dy=0
Solution
xsinydx+(lnxcosy+y)dy=0
Let us split the left-hand side of equation into two parts
(xsinydx+lnxcosydy)+ydy=0
In the first part
xsinydx=sinyd(lnx)
and
lnxcosydy=lnxd(siny)(xsinydx+lnxcosydy)+ydy=(siny⋅d(lnx)+lnx⋅d(siny))+ydy=d(siny⋅lnx)+ydy=0
We integrate the last expression and get
lnx⋅siny+2y2=C,
where C is an arbitrary real constant.
Answer: lnx⋅siny+2y2=C.
Question
1. a) Solve the following ordinary differential equation:
ii) d2y/dx2+dy/dx−12y=4e2x
Solution
dx2d2y+dxdy−12y=4e2x
Let us find a solution in the form of
y=eμx
First we solve the homogeneous equation
dx2d2y+dxdy−12y=0
which has the characteristic equation
μ2+μ−12=0
Applying Vieta's formula we get μ=3 or μ=−4.
Solution to the homogeneous equation is yh=Ce3x+De−4x.
Now, find a particular solution to non-homogeneous equation in the form of
yp=αe2xdx2d2yp+dxdyp−12yp=4e2xdx2d2(αe2x)+dxd(αe2x)−12(αe2x)=4e2x4αe2x+2αe2x−12e2x=4e2x4α+2α−12=4→6α=16→α=616=38,
hence
yp=38e2x
and the general solution is
y=yh+yp=Ce3x+De−4x+38e2x
Answer: y=Ce3x+De−4x+38e2x .
Question
b) Solve the initial value problem:
d∧2y/dx∧2+2(dy/dx)+2y=0,y(0)=2,y′(0)=1Solution
dx2d2y+2dxdy+2y=0y(0)=2y′(0)=1
Let us find a solution in the form of
y=eμx
An homogeneous equation
dx2d2y+2dxdy+2y=0
has a characteristic equation
μ2+2μ+2=0
Applying Vieta's formula we get μ=−1+i or μ=−1−i .
Solution to homogeneous equation is y=Ce−xsinx+De−xcosx To meet the initial conditions
y(0)=2,y′(0)=1,
consider
y(0)=2=Ce−0sin0+De−0cos0=0+D=D→D=2y′(0)=1=−Ce−0sin0+Ce−0cos0+De−0cos0−De−0sin0=0+C+D=C+2=1→C=−1
Answer: y=−e−xsinx+2e−xcosx .
www.AssignmentExpert.com