How to solve this differential equation analytically

Click For Summary
SUMMARY

The discussion focuses on solving the differential equation u''(x) - (x^6 + 3*x^2)*u(x) = 0 with boundary conditions u(-1) = u(1) = 1. The initial approach using auxiliary equations was deemed incorrect due to the variable coefficients. The correct method involves guessing a solution of the form e^{f(x)}, leading to a new differential equation for f(x). This approach allows for finding a particular solution and subsequently adjusting it to meet the boundary conditions.

PREREQUISITES
  • Understanding of second-order linear differential equations
  • Familiarity with variable coefficient methods
  • Knowledge of boundary value problems
  • Basic calculus, including differentiation and integration
NEXT STEPS
  • Study variable coefficient differential equations
  • Learn about the method of undetermined coefficients
  • Explore boundary value problem techniques in differential equations
  • Investigate the method of Frobenius for solving differential equations
USEFUL FOR

Mathematics students, educators, and researchers focusing on differential equations, particularly those dealing with variable coefficients and boundary value problems.

Johnson04
Messages
17
Reaction score
0

Homework Statement



u''(x) - (x^6 + 3*x^2)*u(x) = 0, u(-1) = u(1) = 1, -1 <= x <= 1


The Attempt at a Solution


Consider v''(x) - s^2 * v(x) = 0, the auxiliary equation is: r^2 - s^2 = 0. Since (x^6 + 3*x^2) >= 0, s >= 0. Thus, I got r = s or -s. Suppose v(x) = a*exp(s*x)+b*exp(-s*x), then v'(x)=a*s*exp(s*x)-b*s*exp(-s*x), v''(x)=a*s^2*exp(s*x)+b*s^2*exp(-s*x)=s^2*v(x).
Let s = s(x), u''(x) - s(x)^2 * u(x) = 0, similarly I got u(x) = a*exp(s(x)*x)+b*exp(-s(x)*x). s(x) = Sqrt(x^6 + 3*x^2), u'(x) = a*(Sqrt(x^6 + 3*x^2) + x*(6*x^5+6*x)/(2*Sqrt(x^6 + 3*x^2))) * exp(s(x)*x) + b * (-Sqrt(x^6 + 3*x^2) - x * (6*x^5 + 6*x)/(2*Sqrt(x^6 + 3*x^2))) * exp(-s(x)*x), absolutely, u''(x) will be different from (x^6 + 3*x^2)*u(x), that is to say the method I used is totally incorrect!

Could anybody tell me what's wrong with my solution and how should I solve this differential equation?

Thanks a lot!
 
Physics news on Phys.org
Your method is incorrect, because there is no auxiliary in this case, since the coefficients are functions and not constants. i.e. you don't have a solution of the form e^{kx}

For function coefficient second order linear differential there is no general method, to find the solution.
But if you somehow guess one of the solutions, then an other linearly independent can be formed.

So in this case a good guess is, search in the form of e^{f(x)}
Where f(x) is some function, we need to find out.
plugging this into the equation we get a differential equation for f(x):
f&#039;&#039;(x)+f&#039;^2(x)=x^6+3x^2
Now we do another trick. Notice:
f&#039;&#039;=\frac{df&#039;}{df}\frac{df}{dx}=\frac{df&#039;}{df}f&#039;=\frac12 \frac{df&#039;^2}{df}

now put v=f&#039;^2.

So then the DE for f:
\frac{1}{2}\frac{dv}{df}+v=x^6+3x^2

this can be solved straight forward, for the v(f) function since it is linear non-homogenous with constant coefficients, and then using v=f&#039;^2 we can simply get the f(x) function.
So we have obtained one solution of the original second order DE, and then using the usual method, you can find a second solution, and then adjust to the boundary conditions and you are done.

I hope everything was clear :D
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
Replies
5
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
Replies
6
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 27 ·
Replies
27
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K