Answer on Question #69632 – Math – Differential Equations
Question
Solve the equation
xdxdy−ay=x+1,
where a is a constant.
Solution
A First Order Linear Nonhomogeneous DE can be solved with a help of the Method of Integrating Factor.
Divide both sides of (1) by x
dxdy−xay=1+x1
Integrating factor is
v(x)=e∫(−xa)dx,
where
∫(−xa)dx=−aln∣x∣+C.
Set the constant of integration C to be equal to 0 in order to simplify v and ∣x∣=x if x>0.
Then
v(x)=e∫(−xa)dx=e−alnx=(elnx)−a=x−a
Multiple both sides of (2) by a positive function v(x) that transforms the left-hand side into the derivative of the product v(x)⋅y.
x−adxdy−x−axay=x−a(1+x1)dxd(x−ay)=x−a+x−a−1
Case a=0:
dxdy=1+x1dy=(1+x1)dx∫dy=∫(1+x1)dxy=x+ln∣x∣+C1
Case a=1:
dxdy−x1y=1+x1dxd(x−1y)=x−1+x−1−1∫d(x−1y)=∫(x1+x21)dxxy=ln∣x∣−x1+C2y=xln∣x∣−1+C2x
Case a=0,a=1:
dxd(x−ay)=x−a+x−a−1∫(x−ay)=∫(x−a+x−a−1)dxx−ay=−a+1x−a+1+−ax−a+C3y=−a+1x−a1+C3xa
Answer:
y=−a+1x−a1+C3xa, if a=0,a=1;y=x+ln∣x∣+C1, if a=0;y=xln∣x∣−1+C2x, if a=1.
Answer provided by https://www.AssignmentExpert.com