Solving a differential equation

  • #1
50
0
I have the following differential equation

[itex]\frac{\partial}{\partial t}\left(\frac{a}{X}\right)+\frac{X}{b}\frac{ \partial Y}{\partial t}+\frac{c}{X}=0[/itex]

where [itex]a[/itex], [itex]b[/itex] and [itex]c[/itex] are constants and [itex]X[/itex] is a function of
[itex]t[/itex]. I want to solve it for [itex]Y[/itex] analytically (if possible) or numerically.
 
  • #2
First, that's not really a partial differential equation because the only differentiation is with respect to the single variable, t. If X(t) is a known function of t, then [itex]\partial/\partial ta/X[/itex] is also a known function of t- call it X'(t). Then your equation can be written
[tex]\frac{X}{b}\frac{dY}{dt}= -X'- C/X[/tex]

[tex]\frac{dY}{dt}= (-X'- C/X)\frac{b}{X}= -\frac{X'X- C}{X^2}[/tex]
and you solve for Y by integrating.b
 
Last edited by a moderator:
  • #3
If X(t) is a known function of t I would solve it easily. Unfortunately this is not the case.
 
  • #4
Then all you can do is write
[tex]Y(t)= -\int\frac{XX'- C}{X^2}dt[/tex]
 
  • #5
If X(t) is a known function of t I would solve it easily. Unfortunately this is not the case.

Two unknown functions and one equation only is not enough. You need two equations.
 
  • #6
Many thanks to you all!

To close the gap, I obtained a second relation

[itex]Y=\frac{d}{O}\left(X^{1/2}-O^{1/2}\right)[/itex]


where [itex]d[/itex] is a constant and [itex]O[/itex] is a known function of [itex]t[/itex] with
a closed analytical form.
 
  • #7
First, that's not really a partial differential equation because the only differentiation is with respect to the single variable, t. If X(t) is a known function of t, then [itex]\partial/\partial ta/X[/itex] is also a known function of t- call it X'(t). Then your equation can be written
[tex]\frac{X}{b}\frac{dY}{dt}= -X'- C/X[/tex]

[tex]\frac{dY}{dt}= (-X'- C/X)\frac{b}{X}= -\frac{X'X- C}{X^2}[/tex]
and you solve for Y by integrating.b

I would be inclined to call ##\frac{d}{dt}(a/X(t))## something other than ##X'(t)##, which could be confused with ##dX/dt##. :tongue2:
 
  • #8
Many thanks to you all!

To close the gap, I obtained a second relation

[itex]Y=\frac{d}{O}\left(X^{1/2}-O^{1/2}\right)[/itex]


where [itex]d[/itex] is a constant and [itex]O[/itex] is a known function of [itex]t[/itex] with
a closed analytical form.
Take the derivative w.r.t. t, then you can substitute for [itex]\frac{dY}{dt}[/itex] in HallsofIvy's equation in Post #2. Now you have a differential equation in just one unknown function, X(t).

p.s. "d" is not the best name for a quantity in anything having to do with calculus :smile:
 

Suggested for: Solving a differential equation

Replies
2
Views
221
Replies
1
Views
492
Replies
10
Views
731
Replies
3
Views
864
Replies
3
Views
693
Replies
3
Views
1K
Replies
5
Views
181
Back
Top