Question #54160

Solve the initial value problems:
a) y' = (x y sin(x))/(y+1), y(0) = 1
b) t(du/dt) = t^2 + 3u, t>0, u(2)=4

Expert's answer

Answer on Question #54160 - Math - Calculus

Solve the initial value problems:

a) y=(xysin(x))/(y+1),y(0)=1y' = (x y \sin(x)) / (y + 1), y(0) = 1

b) t(du/dt)=t2+3u,t>0,u(2)=4t(\mathrm{du} / \mathrm{dt}) = t^2 + 3u, t > 0, u(2) = 4

Solution

a) y=xysinxy+1,y(0)=1.y' = \frac{xysinx}{y + 1}, y(0) = 1.

y+1ydy=xsinxdxy+1ydy=xsinxdx(1+1y)dy=xdcos(x)y+lny=(xcos(x)cos(x)dx)+Cy+lny=xcosx+sinx+C;(1)y(0)=1(2)\begin{array}{l} \frac{y + 1}{y} dy = xsinx dx \rightarrow \int \frac{y + 1}{y} dy = \int xsinx dx \rightarrow \\ \rightarrow \int \left(1 + \frac{1}{y}\right) dy = - \int x \, d\cos(x) \rightarrow \\ \rightarrow y + lny = - (x \cos(x) - \int \cos(x) \, dx) + C \rightarrow \\ \rightarrow y + lny = - x \cos x + sinx + C; \quad (1) \\ y(0) = 1 \quad (2) \end{array}


Equalities (1) and (2) give the following expression:


y(0)+lny(0)=0cos(0)+sin(0)+C1=C(3)\begin{array}{l} y(0) + lny(0) = -0 \cdot \cos(0) + \sin(0) + C \rightarrow \\ 1 = C \quad (3) \end{array}


Substitute (3) for CC in (1) and obtain the answer.

Solution to the initial value problem is


y+lny=xcosx+sinx+1.y + lny = - x \cos x + \sin x + 1.


b) tdudt=t2+3u,t>0,u(2)=4.t \frac{du}{dt} = t^2 + 3u, t > 0, u(2) = 4.

Rewrite tdudt=t2+3ut \frac{du}{dt} = t^2 + 3u as


dudt3tu=t\frac{du}{dt} - \frac{3}{t} u = tdudt+P(t)u=f(t)whereP(t)=3t,f(t)=t\frac{du}{dt} + P(t)u = f(t) \quad \text{where} \quad P(t) = -\frac{3}{t}, \quad f(t) = t


Integrating factor is the following:


eP(t)dt=e3lnt=t3e^{\int P(t)dt} = e^{-3lnt} = t^{-3}


Multiply (4) by (5):


1t3dudt3t4u=tt3\frac{1}{t^3} \frac{du}{dt} - \frac{3}{t^4} u = \frac{t}{t^3}ddt(ut3)=1t2\frac{d}{dt} \left( \frac{u}{t^3} \right) = \frac{1}{t^2}


Integrate both sides with respect to tt :


ut3=dtt2ut3=1t+C\frac{u}{t^3} = \int \frac{dt}{t^2} \rightarrow \frac{u}{t^3} = -\frac{1}{t} + C \rightarrow


Multiply both sides by t3t^3 :


u=Ct3t2;u = C t^3 - t^2;


It follows from the initial condition u(2)=4u(2) = 4 and (6) that


u(2)=44=8C4u(2) = 4 \rightarrow 4 = 8C - 4 \rightarrowC=1C = 1


Substitute (7) for CC in (6) and obtain the answer.

Solution to the initial value problem is


u=t3t2.\boldsymbol{u} = \boldsymbol{t}^3 - \boldsymbol{t}^2.


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