Substituting variables in xmaxima

  • Thread starter Thread starter coomast
  • Start date Start date
  • Tags Tags
    Variables
Click For Summary
SUMMARY

The discussion centers on using xmaxima to substitute variables in ordinary differential equations (ODEs). The specific example provided involves transforming the equation \(\frac{d^2y}{dx^2}+x \cdot y=0\) by substituting \(y=\sqrt{x}\cdot g(x)\) and further substituting \(x^3=t^2\), resulting in a Bessel differential equation. The final solution is expressed as \(y(x)=\sqrt{x}\cdot \left[A\cdot J_{1/3}\left(\frac{2}{3}x^{3/2}\right)+ B\cdot Y_{1/3}\left(\frac{2}{3}x^{3/2}\right)\right]\). The user seeks guidance on how to implement these substitutions in xmaxima.

PREREQUISITES
  • Familiarity with ordinary differential equations (ODEs)
  • Understanding of Bessel functions and their properties
  • Basic knowledge of the xmaxima software
  • Experience with variable substitution techniques in differential equations
NEXT STEPS
  • Research how to perform variable substitutions in xmaxima
  • Learn about solving Bessel differential equations using xmaxima
  • Explore tutorials on advanced features of xmaxima for differential equations
  • Investigate community forums for similar xmaxima problem-solving discussions
USEFUL FOR

Mathematicians, engineers, and students working with differential equations, particularly those using xmaxima for computational solutions.

coomast
Messages
279
Reaction score
1
Hello,

I have a problem using the program xmaxima. It involves the substitution of a new dependent and independent variable in an ordinary differential equation. Let me clearify this with an example of which we know the solution beforehand. So consider the following equation:

[tex]\frac{d^2y}{dx^2}+x \cdot y=0[/tex]

Substituting [itex]y=\sqrt{x}\cdot g(x)[/itex] gives:

[tex]x^2 \cdot \frac{d^2g}{dx^2}+x \cdot \frac{dg}{dx}+\left(x^3-\frac{1}{4}\right) \cdot g=0[/tex]

Substituting in this equation [itex]x^3=t^2[/itex], we get:

[tex]t^2 \cdot \frac{d^2g}{dt^2}+t \cdot \frac{dg}{dt}+\left(\left(\frac{2t}{3}\right)^2 -\left(\frac{1}{3}\right)^2\right) \cdot g=0[/tex]

Which is a Bessel differential equation with solution:

[tex]g(t)=A\cdot J_{1/3}\left(\frac{2t}{3}\right)+ B\cdot Y_{1/3}\left(\frac{2t}{3}\right)[/tex]

Transforming into the previous variables:

[tex]g(x)=A\cdot J_{1/3}\left(\frac{2}{3}x^{3/2}\right)+ B\cdot Y_{1/3}\left(\frac{2}{3}x^{3/2}\right)[/tex]

and thus the solution to the original differential equation:

[tex]y(x)=\sqrt{x}\cdot \left[A\cdot J_{1/3}\left(\frac{2}{3}x^{3/2}\right)+ B\cdot Y_{1/3}\left(\frac{2}{3}x^{3/2}\right)\right][/tex]

Now the question is how does one do that in xmaxima?

best regards,

coomast
 
Physics news on Phys.org
Hi Coomast,

I'm not sure how to use xmaxima to solve the given differential equation, but I can offer some advice. Have you tried researching online to see if anyone else has posted a solution to a similar problem using xmaxima? There may be other tutorials or helpful posts that could provide insight into how to solve this problem. Additionally, you could reach out to the developers of xmaxima directly and ask for help.

Good luck!
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
Replies
10
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 11 ·
Replies
11
Views
9K
  • · Replies 6 ·
Replies
6
Views
3K