Question:
dxd(xdxdy+(1+x)y)=12;dxdy=0,y=0,x=1
Solution:
Since the equation is in the form d/dx (dy/dx + y P(x) = Q(x) , we use Case 1
letu∫dxduu=xdxdy+(1+x)y=∫12=12x+C1
Solving for the value of C1 using the initial values.
xdxdy+(1+x)y1(0)+(1+1)00+0−12=12x+C1;dxdy=0,y=0,x=1=12(1)+C1=12+C1=C1
Rewriting the equation into the general form of a first-order linear differential equation (FOLDE).
[xdxdy+(1+x)y=12x−12]x1dxdy+(x1+x)y=12−x12dxdy+(x1+1)y=12−x12
Since the equation is now in the form of dy/dx + y P(x) = Q(x), we use FOLDE
dxdy+(x1+1)y=12−x12
From the general form of a first-order differential equation, we have
P(x)=(x1+1)Q(x)=12−x12
Compute for the integrating factor
ϕϕϕϕ=e∫P(x)dx=e∫(x1+1)dx=elnx+x=x(ex)
Substituting everything to the solution of a first-order linear differential equation, we have
y(xex)=∫xex(12−x12)dx+C2y(xex)=∫(12xex−12ex)dx+C2yxex=∫12xex−∫12exdx+C2
Use Integration by Parts to solve for the first integral
∫12xexdxu=xdv=Thereforeuv−∫vduConsequently∫12xexdx=12∫xexdxex =xex−∫exdx=xex−ex=12(xex−ex)du=dxv=ex
Therefore,
yxexyxexyxex=12(xex−ex)−12ex+C2=12xex−12ex−12ex+C2=12xex−24ex+C2
Solving for C2
yx0(1)0012e1=12x−24+exC2;y=0,x=1=12(1)−24+e1C2=12−24e+e1C2=−12+e1C2=C2
Therefore, the solution to the problem is
yx=12x−24+ex12e1oryx=12x−24+12e1−x
You must be logged in to post a comment.