Question #159532

Solve the differential equations using integrating factor.

1. x dy/dx - y = x raise to power of 3 cosx, given that y=0 and x=π.

2. ( 1 + x square) dy/dx + 3xy = 5x given y=2 and x=1


1
Expert's answer
2021-02-01T08:23:58-0500
  1. In the first case we can even guess the integrating factor (as we can see the derivative of a quotient on the left). Let's calculate it directly anyway, first we will divide both sides by xx to find y+(1x)y=x2cosxy' + (-\frac{1}{x}) y = x^2 \cos x : P(x)=1xP(x)=-\frac{1}{x}, I(x)=eP(t)dt=1xI(x) = e^{\int P(t)dt} = \frac{1}{x}. By multiplying both sides by I(x)I(x) we find yxyx2=xcosx\frac{y'}{x}-\frac{y}{x^2}=x\cos x. Now we have (yx)=xcosx(\frac{y}{x})' = x \cos x. By integrating both sides we find yx=xsinx+cosx+C\frac{y}{x} = x\sin x+\cos x + C and thus y(x)=x2sinx+xcosx+Cxy(x) =x^2 \sin x + x\cos x + Cx. Let's find the constant : 0=π20+π(1)+Cπ0 = \pi^2 \cdot 0 + \pi \cdot (-1) + C \pi and so C=1C=1, y(x)=x2sinx+xcosx+xy(x)=x^2 \sin x + x\cos x + x.
  2. Let's start by dividing both sides by (1+x2)(1+x^2) : y+3x1+x2y=5x1+x2y'+\frac{3x}{1+x^2} y = \frac{5x}{1+x^2}. Thus P(x)=3x1+x2P(x) = \frac{3x}{1+x^2}, I(x)=eP(t)dt=e32ln(1+x2)=(1+x2)3/2I(x) = e^{\int P(t) dt} = e^{\frac{3}{2} \ln(1+x^2)}=(1+x^2)^{3/2}. Now by multyplying both sides by I(x)I(x) we find y(1+x2)3/2+3x(1+x2)1/2y=5x(1+x2)1/2y'(1+x^2)^{3/2} +3x\cdot (1+x^2)^{1/2}y=5x\cdot (1+x^2)^{1/2}, ((1+x2)3/2y)=5x(1+x2)1/2((1+x^2)^{3/2}y)' = 5x \cdot (1+x^2)^{1/2}. Now by integrating both sides we find (1+x2)3/2y=5223(1+x2)3/2+C(1+x^2)^{3/2} y = \frac{5}{2} \cdot \frac{2}{3} (1+x^2)^{3/2} + C and so y(x)=53+C(1+x2)3/2y(x)=\frac{5}{3} + \frac{C}{(1+x^2)^{3/2}}, now let's find the constant : y(1)=53+C23/2=2y(1) = \frac{5}{3} + \frac{C}{2^{3/2}} = 2, C=223C = \frac{2\sqrt{2}}{3} and thus the solution is y(x)=53+223(1+x2)3/2y(x) = \frac{5}{3} + \frac{2\sqrt{2}}{3(1+x^2)^{3/2}}.

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!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS