Is There an Error in Solving This Differential Equation?

  • Thread starter Thread starter shiri
  • Start date Start date
shiri
Messages
85
Reaction score
0
Find the particular solution of the differential equation

xy' + 4y = -20xcos(x^5)

satisfying the initial condition y(pi) = 0.Solution

y' + 4(y/x) = -20cos(x^5)

p(x) = 4/x
q(x) = -20cos(x^5)

u(x) = int(4/x) = 4lnx
e^{u(x)} = x^4

1/e^{u(x)} int(e^{u(x)}*q(x)dx
1/(x^4) int(x^4*(-20cos(x^5)))dx

u substitution
u = x^5
du = 5x^4dx

1/(x^4) int(x^4*(-20cos(u)))(du/(5x^4))
-4/(x^4) int(cosu)du
-4/(x^4) (sin(x^5)+c)
(-4sin(x^5)/(x^4))-((4c)/(x^4))

y(pi) = 0 = (-4sin(pi^5)/(pi^4))-((4c)/(pi^4))
c = -sin(pi^5)

Final
(-4sin(x^5)/(x^4))+((4sin(pi^5))/(x^4))

So this is what I got, but it's a wrong answer. Can anybody tell me what I do wrong in this problem?
 
Physics news on Phys.org
Hi shiri! :smile:

(have a pi: π and an integral: ∫ and try using the X2 tag just above the Reply box :wink:)
shiri said:
xy' + 4y = -20xcos(x^5)

1/(x^4) int(x^4*(-20cos(x^5)))dx

Haven't you lost the x in -20xcosx5? :redface:
 
tiny-tim said:
Hi shiri! :smile:

(have a pi: π and an integral: ∫ and try using the X2 tag just above the Reply box :wink:)


Haven't you lost the x in -20xcosx5? :redface:


well I divide both sides by x, so...
 
Sorry, you're right :redface:

xy' + 4y = -20xcosx5

multiply by x3

x4y' + 4x3y = -20x4cosx5 :wink:

So (x4y)' = -4(sinx5)'

So x4y = 4(sinπ5 - sinx5)

So y = 4(sinπ5 - sinx5)/x4


hmm :confused: … the condition y(π) = 0 is a bit strange for cos(x5) …

is it possible the question should be (cosx)5 ?
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top