Question #58204

1. a) Solve the following ordinary differential equations:

i) 1/x sin ydx + [(ln x)(cos y) + y)] dy = 0

ii) d^2 y / dx^2 + dy/dx - 12y = 4e^2x

b) Solve the initial value problem:

d^2 y / dx^2 + 2(dy/dx) + 2y=0, y(0)=2, y'(0)=1

Expert's answer

Answer on Question #58204 – Math – Differential Equations

Question

1. a) Solve the following ordinary differential equation:

i) 1/xsinydx+[(lnx)(cosy)+y)]dy=01 / x \sin y \, dx + [(\ln x)(\cos y) + y)] \, dy = 0

Solution

sinyxdx+(lnxcosy+y)dy=0\frac{\sin y}{x} \, dx + (\ln x \cos y + y) \, dy = 0


Let us split the left-hand side of equation into two parts


(sinyxdx+lnxcosydy)+ydy=0\left(\frac{\sin y}{x} \, dx + \ln x \cos y \, dy\right) + y \, dy = 0


In the first part


sinyxdx=sinyd(lnx)\frac{\sin y}{x} \, dx = \sin y \, d(\ln x)


and


lnxcosydy=lnxd(siny)\ln x \cos y \, dy = \ln x \, d(\sin y)(sinyxdx+lnxcosydy)+ydy=(sinyd(lnx)+lnxd(siny))+ydy=d(sinylnx)+ydy=0\begin{array}{l} \left(\frac{\sin y}{x} \, dx + \ln x \cos y \, dy\right) + y \, dy = (\sin y \cdot d(\ln x) + \ln x \cdot d(\sin y)) + y \, dy \\ = d(\sin y \cdot \ln x) + y \, dy = 0 \end{array}


We integrate the last expression and get


lnxsiny+y22=C,\ln x \cdot \sin y + \frac{y^2}{2} = C,


where CC is an arbitrary real constant.

Answer: lnxsiny+y22=C\ln x \cdot \sin y + \frac{y^2}{2} = C.

Question

1. a) Solve the following ordinary differential equation:

ii) d2y/dx2+dy/dx12y=4e2x\mathrm{d}^2 y / \mathrm{d}x^2 + \mathrm{d}y / \mathrm{d}x - 12y = 4e^2x

Solution

d2ydx2+dydx12y=4e2x\frac{d^2 y}{dx^2} + \frac{dy}{dx} - 12y = 4e^{2x}


Let us find a solution in the form of


y=eμxy = e^{\mu x}


First we solve the homogeneous equation


d2ydx2+dydx12y=0\frac{d^2 y}{dx^2} + \frac{dy}{dx} - 12y = 0


which has the characteristic equation


μ2+μ12=0\mu^2 + \mu - 12 = 0


Applying Vieta's formula we get μ=3\mu = 3 or μ=4\mu = -4.

Solution to the homogeneous equation is yh=Ce3x+De4xy_h = Ce^{3x} + De^{-4x}.

Now, find a particular solution to non-homogeneous equation in the form of


yp=αe2xy_p = \alpha e^{2x}d2ypdx2+dypdx12yp=4e2x\frac{d^2 y_p}{dx^2} + \frac{dy_p}{dx} - 12y_p = 4e^{2x}d2dx2(αe2x)+ddx(αe2x)12(αe2x)=4e2x\frac {d ^ {2}}{d x ^ {2}} (\alpha e ^ {2 x}) + \frac {d}{d x} (\alpha e ^ {2 x}) - 1 2 (\alpha e ^ {2 x}) = 4 e ^ {2 x}4αe2x+2αe2x12e2x=4e2x4 \alpha e ^ {2 x} + 2 \alpha e ^ {2 x} - 1 2 e ^ {2 x} = 4 e ^ {2 x}4α+2α12=46α=16α=166=83,4 \alpha + 2 \alpha - 1 2 = 4 \rightarrow 6 \alpha = 1 6 \rightarrow \alpha = \frac {1 6}{6} = \frac {8}{3},


hence


yp=83e2xy _ {p} = \frac {8}{3} e ^ {2 x}


and the general solution is


y=yh+yp=Ce3x+De4x+83e2xy = y _ {h} + y _ {p} = C e ^ {3 x} + D e ^ {- 4 x} + \frac {8}{3} e ^ {2 x}


Answer: y=Ce3x+De4x+83e2xy = Ce^{3x} + De^{-4x} + \frac{8}{3}e^{2x} .

Question

b) Solve the initial value problem:


d2y/dx2+2(dy/dx)+2y=0,y(0)=2,y(0)=1\mathrm {d} ^ {\wedge} 2 \mathrm {y} / \mathrm {d x} ^ {\wedge} 2 + 2 (\mathrm {d y} / \mathrm {d x}) + 2 \mathrm {y} = 0, \mathrm {y} (0) = 2, \mathrm {y} ^ {\prime} (0) = 1

Solution

d2ydx2+2dydx+2y=0\frac {d ^ {2} y}{d x ^ {2}} + 2 \frac {d y}{d x} + 2 y = 0y(0)=2y (0) = 2y(0)=1y ^ {\prime} (0) = 1


Let us find a solution in the form of


y=eμxy = e ^ {\mu x}


An homogeneous equation


d2ydx2+2dydx+2y=0\frac {d ^ {2} y}{d x ^ {2}} + 2 \frac {d y}{d x} + 2 y = 0


has a characteristic equation


μ2+2μ+2=0\mu^ {2} + 2 \mu + 2 = 0


Applying Vieta's formula we get μ=1+i\mu = -1 + i or μ=1i\mu = -1 - i .

Solution to homogeneous equation is y=Cexsinx+Dexcosxy = Ce^{-x}\sin x + De^{-x}\cos x To meet the initial conditions


y(0)=2,y (0) = 2,y(0)=1,y ^ {\prime} (0) = 1,


consider


y(0)=2=Ce0sin0+De0cos0=0+D=DD=2y (0) = 2 = C e ^ {- 0} \sin 0 + D e ^ {- 0} \cos 0 = 0 + D = D \rightarrow D = 2y(0)=1=Ce0sin0+Ce0cos0+De0cos0De0sin0=0+C+D=C+2=1y ^ {\prime} (0) = 1 = - C e ^ {- 0} \sin 0 + C e ^ {- 0} \cos 0 + D e ^ {- 0} \cos 0 - D e ^ {- 0} \sin 0 = 0 + C + D = C + 2 = 1C=1\rightarrow C = - 1


Answer: y=exsinx+2excosxy = -e^{-x}\sin x + 2e^{-x}\cos x .

www.AssignmentExpert.com


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS