Answer on Question #54160 - Math - Calculus
Solve the initial value problems:
a) y′=(xysin(x))/(y+1),y(0)=1
b) t(du/dt)=t2+3u,t>0,u(2)=4
Solution
a) y′=y+1xysinx,y(0)=1.
yy+1dy=xsinxdx→∫yy+1dy=∫xsinxdx→→∫(1+y1)dy=−∫xdcos(x)→→y+lny=−(xcos(x)−∫cos(x)dx)+C→→y+lny=−xcosx+sinx+C;(1)y(0)=1(2)
Equalities (1) and (2) give the following expression:
y(0)+lny(0)=−0⋅cos(0)+sin(0)+C→1=C(3)
Substitute (3) for C in (1) and obtain the answer.
Solution to the initial value problem is
y+lny=−xcosx+sinx+1.
b) tdtdu=t2+3u,t>0,u(2)=4.
Rewrite tdtdu=t2+3u as
dtdu−t3u=tdtdu+P(t)u=f(t)whereP(t)=−t3,f(t)=t
Integrating factor is the following:
e∫P(t)dt=e−3lnt=t−3
Multiply (4) by (5):
t31dtdu−t43u=t3tdtd(t3u)=t21
Integrate both sides with respect to t :
t3u=∫t2dt→t3u=−t1+C→
Multiply both sides by t3 :
u=Ct3−t2;
It follows from the initial condition u(2)=4 and (6) that
u(2)=4→4=8C−4→C=1
Substitute (7) for C in (6) and obtain the answer.
Solution to the initial value problem is
u=t3−t2.
www.AssignmentExpert.com