Solving a differential equation with constants A, B, C, D

3 replies · 3K views · last reply
timsea81
Messages
89
Reaction score
1
Hello!
I am looking for someone's help solving a differential equation. In the attached image:

A, B, C, and D are all constants
x = x(t)

This is one step in the process for my thermo assignment. Using Matlab or some other ODE software would be an acceptable way to solve the problem if there is no easy way to do it by hand. Any help you could lend would be appreciated. Thanks.
 
Attachments
  • Handwritten equation: [A/x² - Dt/(x-B)] dx = C dt, with the bracket enclosing a fraction A over x squared minus a fraction Dt over x minus B.
    IMAG01662.jpg
    9.5 KB · Views: 548
I would look at the differential equation in the following form:
[tex] C\frac{dt}{dx}+\frac{Dt}{x-B}=\frac{A}{x^{2}}[/tex]
This looks to be some kind of integrating factor equation (I could be wrong) but have a go.
 
Thanks, I'll go down that road in a minute but first I have another question that I will post as a separate question as it is unrelated.
 
Hi !

The ODE is linear and can be solved as t=t(x)
The function t(x) is related to a Gauss hypergeometric fonction, or alternatively a Beta function : attached document.
The function x(t) cannot be expressed with a finite number of elementary functions.
x(t) have to be compuded thanks to numerical methods (But, for some particular values of the constant coefficients, it could be expressed analytically).
 
Attachments
  • Handwritten-style derivation solving a linear ODE dt/dx + delta/(x-B) t = alpha/x^2 via separation and integrating factor, ending with t = K(x-B)^(D/C) form and a Gauss hypergeometric 2F1 solution.
    Hypergeometric2F1.JPG
    30.6 KB · Views: 521