Is There an Error in Solving This Differential Equation?

  • Thread starter Thread starter shiri
  • Start date Start date
Click For Summary
SUMMARY

The forum discussion focuses on solving the differential equation xy' + 4y = -20xcos(x^5) with the initial condition y(π) = 0. The initial approach involved using an integrating factor, leading to the expression y = 4(sin(π^5) - sin(x^5))/x^4. However, a participant pointed out a critical error regarding the loss of the variable x during manipulation. The discussion suggests that the original problem may have intended to use (cos(x))^5 instead of cos(x^5), which could affect the solution.

PREREQUISITES
  • Understanding of first-order linear differential equations
  • Familiarity with integrating factors and their application
  • Knowledge of trigonometric functions and their derivatives
  • Proficiency in substitution methods for integrals
NEXT STEPS
  • Review the method of integrating factors in differential equations
  • Learn about substitution techniques in integral calculus
  • Study the properties of trigonometric functions and their behavior in calculus
  • Explore common pitfalls in solving differential equations with initial conditions
USEFUL FOR

Mathematics students, educators, and anyone involved in solving differential equations or teaching calculus concepts.

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 ?
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
1K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 27 ·
Replies
27
Views
4K