Is There an Analytic Solution for This Non-Homogeneous Differential Equation?

  • Thread starter nrhoades
  • Start date
  • Tags
    Diffeq
In summary, the second derivative of y, evaluated at c+dx+ex^2, is equal to -ay(x) - b, where y is now evaluated at x. This equation holds over a range of x, but c, d, and e must be chosen such that c + dx + ex^2 precisely maps this range to itself. If c, d, and e are not chosen suitably, regions where y''(c+dx+ex^2) is defined but y(x) isn't, or vice versa, can arise.
  • #1
nrhoades
11
0
Is there an analytic solution for:

y"(c+dx+ex^2) + ay + b = 0,

y (x=0) = Ts
y'(x=L) = 0

where a,b,c,d,e are all constants?
 
Physics news on Phys.org
  • #2
nrhoades said:
Is there an analytic solution for:

y"(c+dx+ex^2) + ay + b = 0,

y (x=0) = Ts
y'(x=L) = 0

where a,b,c,d,e are all constants?
I don't understand this DE. Are you saying that the second derivative of y, evaluated at c+dx+ex^2, is equal to -ay(x) - b, where y is now evaluated at x? What physical mechanism could give such a remote relationship? What about the domain? Over what range of x is this equation supposed to hold? Are c, d, and e such that c + dx + ex^2 precisely maps this range to itself? If not, how do we deal with the regions where y''(c+dx+ex^2) is defined but y(x) isn't, or vice versa?
 
  • #3
Good questions.

I am investigating the properties of a sensor I am making, which involves the simultaneous interactions of convective heat transfer, joule heating, and potential theory. I am trying to build an analytic model that approximates all of these physics for simple geometries, namely a pipe with a pipe thickness. The major contributing factor is that the pipe material's resistance changes with temperature.

Basically here is what happens for the simple geometry of a coaxial setup:
1. Inside pipe surface is connected to ground, outside pipe surface is given a voltage.
2. Fluid goes through pipe.
3. Current flows from the outer pipe surface to the inner surface.
4. The pipe heats up.
5. The fluid advects some heat downstream.
6. A downstream section of pipe touches sligtly hotter fluid because of the advection.
7. This downstream section of pipe heats up a little bit more.
8. The resistance of the downstream pipe section increases.
9. The current in the downstream section is reduced.
10. Less heat is produced in the downstream section.
11. Less heat is conducted into the fluid...
12. Less heat is advected...
etc...

So there is some balance that exists between all of this. I've already solved the heat transfer math; all it needs is heat flux as a function of the inner pipe temperature. This looks like

q"(Ts) = A*Ts + B

making the simplification that the resistance changes linearly with temperature.

Now, finding q"(Ts) for a coaxial setup is easy.
1. The e-field is the same everywhere radially AND axially. The E-field is E(z)=V/(Ro-Ri) where z is the distance in the radial direction from Ri to Ro. Actually, this is a constant, so E=V/(Ro-Ri) (z isn't needed as a variable).

Assuming that the pipe is insulated T'(z=Z)=0 and that T(z=0)=Ts, the diffEQ is the one you helped me solve before:

T" + AT + b = 0. Oh yeah, big Z is equal to Ro-Ri to make things easier.
Anyway, the heat flux turns out to be

q"(Ts) = Aj*Ts + Bj
Aj = k*a/(sqrt(|a|) * tan(h)(sqrt(|a|Z)
Aj = k*b/(sqrt(|a|) * tan(h)(sqrt(|a|Z)
a = alpha/k*E(z)^2
b = beta/k*E(z)^2

where

E(z) = V/(Ro-Ri) const.

and alpha is in [Siemens]/[m*K] and beta is in [Siemens]/[m]

Simple and neat solution.

Now I want to explore the geometry when, instead of there being an inner and outer conductor in the pipe, the pipe is split in half (like a C) and the conductors as placed on the edges of the C. I call this "split". The e-field is only the same axially, no longer radially. Therefore, z must come into play somehow. In this case, E(z)=(pi*V)/(Ri+z*Z) (or something like this, my notes are in my office).

The DiffEQ becomes

T" + a/(c+dz+ez^2)*T + b/(c+dz+ez^2) = 0

because of the squaring action of E(z), or more simply

T"*(c+dz+ez^2) + a*T + b = 0

where I am reusing a through e as dummy variables.

That's where it comes from. How would I go about solving this? The domain of z must be > 0 because it is a real distance (pipe thickness). a can be positive or negative, and b,c,d,e > 0 always. T > 0 [Kelvins]
 
  • #4
I think what's confusing me is that you never explicitly give the argument of T (or y in the original). Originally you wrote
[tex]
y^{\prime\prime}\left(c+dx+ex^2\right) + ay + b = 0
[/tex]

which would ordinarily be understood, not as y'' multiplied by c+dx+ex^2, but y'' evaluated at c+dx+ex^2. But If I understand correctly what you just wrote, your DE is actually

[tex]
(c+dz+ez^2)T^{\prime\prime}\left(x\right) + a*T\left(x\right) + b = 0
[/tex]

where x is along the pipe, and z is perpendicular to the pipe (and so would y be -- I'm not sure why it's OK to leave that out).

There are a lot of reasons why this looks wrong to me, so I'm guessing I still don't understand correctly.
 
  • #5
it's actually

(c + dz + ez^2)*T"(z) + a*T(z) + b = 0
T(z=0) = Ts
T'(z=Z) = 0

Don't let my explanation confuse you; forget the axial direction x for now; right now I'm solving a one dimensional ODE (radially only) with lots of constants, shown above.

I'm scared of the word "Bessel", but it might have to come into play here. This is where I have no experience.
 
Last edited:
  • #6
Oh, boy, you're going to love this. No Bessel functions, but -- are you ready?

[tex]
T(z)\to \left((b+a \text{Ts}) \left((a+2 e) (c+Z (d+e Z)) \, _2F_1\left(\frac{7 e+\sqrt{e (e-4 a)}}{4 e},\frac{1}{4} \left(7-\frac{\sqrt{e (e-4 a)}}{e}\right);3;-\frac{4 e (c+Z (d+e Z))}{d^2-4 c e}\right)-2 \left(d^2-4 c e\right) \, _2F_1\left(\frac{3 e+\sqrt{e (e-4 a)}}{4 e},\frac{1}{4} \left(3-\frac{\sqrt{e (e-4 a)}}{e}\right);2;-\frac{4 e (c+Z (d+e Z))}{d^2-4 c e}\right)\right) G_{2,2}^{2,0}\left(-\frac{4 e (c+z (d+e z))}{d^2-4 c e}|
\begin{array}{c}
\frac{1}{4} \left(5-\frac{\sqrt{e-4 a}}{\sqrt{e}}\right),\frac{1}{4} \left(\frac{\sqrt{e-4 a}}{\sqrt{e}}+5\right) \\
0,1
\end{array}
\right)+8 e \left((b+a \text{Ts}) (c+z (d+e z)) \, _2F_1\left(\frac{3 e+\sqrt{e (e-4 a)}}{4 e},\frac{1}{4} \left(3-\frac{\sqrt{e (e-4 a)}}{e}\right);2;-\frac{4 e (c+z (d+e z))}{d^2-4 c e}\right)-b c \, _2F_1\left(\frac{3 e+\sqrt{e (e-4 a)}}{4 e},\frac{1}{4} \left(3-\frac{\sqrt{e (e-4 a)}}{e}\right);2;-\frac{4 c e}{d^2-4 c e}\right)\right) G_{2,2}^{2,0}\left(-\frac{4 e (c+Z (d+e Z))}{d^2-4 c e}|
\begin{array}{c}
\frac{1}{4}-\frac{\sqrt{e-4 a}}{4 \sqrt{e}},\frac{1}{4} \left(\frac{\sqrt{e-4 a}}{\sqrt{e}}+1\right) \\
0,0
\end{array}
\right)+b \left(2 \left(d^2-4 c e\right) \, _2F_1\left(\frac{3 e+\sqrt{e (e-4 a)}}{4 e},\frac{1}{4} \left(3-\frac{\sqrt{e (e-4 a)}}{e}\right);2;-\frac{4 e (c+Z (d+e Z))}{d^2-4 c e}\right)-(a+2 e) (c+Z (d+e Z)) \, _2F_1\left(\frac{7 e+\sqrt{e (e-4 a)}}{4 e},\frac{1}{4} \left(7-\frac{\sqrt{e (e-4 a)}}{e}\right);3;-\frac{4 e (c+Z (d+e Z))}{d^2-4 c e}\right)\right) G_{2,2}^{2,0}\left(-\frac{4 c e}{d^2-4 c e}|
\begin{array}{c}
\frac{5}{4}-\frac{\sqrt{e-4 a}}{4 \sqrt{e}},\frac{1}{4} \left(\frac{\sqrt{e-4 a}}{\sqrt{e}}+5\right) \\
0,1
\end{array}
\right)\right)/\left(a \left(8 c e \, _2F_1\left(\frac{3 e+\sqrt{e (e-4 a)}}{4 e},\frac{1}{4} \left(3-\frac{\sqrt{e (e-4 a)}}{e}\right);2;-\frac{4 c e}{d^2-4 c e}\right) G_{2,2}^{2,0}\left(-\frac{4 e (c+Z (d+e Z))}{d^2-4 c e}|
\begin{array}{c}
\frac{1}{4}-\frac{\sqrt{e-4 a}}{4 \sqrt{e}},\frac{1}{4} \left(\frac{\sqrt{e-4 a}}{\sqrt{e}}+1\right) \\
0,0
\end{array}
\right)+\left((a+2 e) (c+Z (d+e Z)) \, _2F_1\left(\frac{7 e+\sqrt{e (e-4 a)}}{4 e},\frac{1}{4} \left(7-\frac{\sqrt{e (e-4 a)}}{e}\right);3;-\frac{4 e (c+Z (d+e Z))}{d^2-4 c e}\right)-2 \left(d^2-4 c e\right) \, _2F_1\left(\frac{3 e+\sqrt{e (e-4 a)}}{4 e},\frac{1}{4} \left(3-\frac{\sqrt{e (e-4 a)}}{e}\right);2;-\frac{4 e (c+Z (d+e Z))}{d^2-4 c e}\right)\right) G_{2,2}^{2,0}\left(-\frac{4 c e}{d^2-4 c e}|
\begin{array}{c}
\frac{5}{4}-\frac{\sqrt{e-4 a}}{4 \sqrt{e}},\frac{1}{4} \left(\frac{\sqrt{e-4 a}}{\sqrt{e}}+5\right) \\
0,1
\end{array}
\right)\right)\right)
[/tex]

Here's the same thing in Mathematica's native form (useful because the names identify special functions you've probably never heard of):

[tex]
T[z] -> ((b +
a Ts) (-2 (d^2 - 4 c e) Hypergeometric2F1[(
3 e + Sqrt[e (-4 a + e)])/(4 e),
1/4 (3 - Sqrt[e (-4 a + e)]/e),
2, -((4 e (c + Z (d + e Z)))/(d^2 - 4 c e))] + (a + 2 e) (c +
Z (d + e Z)) Hypergeometric2F1[(7 e + Sqrt[e (-4 a + e)])/(
4 e), 1/4 (7 - Sqrt[e (-4 a + e)]/e),
3, -((4 e (c + Z (d + e Z)))/(
d^2 - 4 c e))]) MeijerG[{{}, {1/
4 (5 - Sqrt[-4 a + e]/Sqrt[e]),
1/4 (5 + Sqrt[-4 a + e]/Sqrt[e])}}, {{0, 1}, {}}, -((
4 e (c + z (d + e z)))/(d^2 - 4 c e))] +
8 e (-b c Hypergeometric2F1[(3 e + Sqrt[e (-4 a + e)])/(4 e),
1/4 (3 - Sqrt[e (-4 a + e)]/e),
2, -((4 c e)/(d^2 - 4 c e))] + (b + a Ts) (c +
z (d + e z)) Hypergeometric2F1[(3 e + Sqrt[e (-4 a + e)])/(
4 e), 1/4 (3 - Sqrt[e (-4 a + e)]/e),
2, -((4 e (c + z (d + e z)))/(
d^2 - 4 c e))]) MeijerG[{{}, {1/4 - Sqrt[-4 a + e]/(
4 Sqrt[e]), 1/4 (1 + Sqrt[-4 a + e]/Sqrt[e])}}, {{0,
0}, {}}, -((4 e (c + Z (d + e Z)))/(d^2 - 4 c e))] +
b (2 (d^2 - 4 c e) Hypergeometric2F1[(3 e + Sqrt[e (-4 a + e)])/(
4 e), 1/4 (3 - Sqrt[e (-4 a + e)]/e),
2, -((4 e (c + Z (d + e Z)))/(d^2 - 4 c e))] - (a + 2 e) (c +
Z (d + e Z)) Hypergeometric2F1[(7 e + Sqrt[e (-4 a + e)])/(
4 e), 1/4 (7 - Sqrt[e (-4 a + e)]/e),
3, -((4 e (c + Z (d + e Z)))/(
d^2 - 4 c e))]) MeijerG[{{}, {5/4 - Sqrt[-4 a + e]/(
4 Sqrt[e]), 1/4 (5 + Sqrt[-4 a + e]/Sqrt[e])}}, {{0,
1}, {}}, -((4 c e)/(
d^2 - 4 c e))])/(a (8 c e Hypergeometric2F1[(
3 e + Sqrt[e (-4 a + e)])/(4 e),
1/4 (3 - Sqrt[e (-4 a + e)]/e),
2, -((4 c e)/(
d^2 - 4 c e))] MeijerG[{{}, {1/4 - Sqrt[-4 a + e]/(
4 Sqrt[e]), 1/4 (1 + Sqrt[-4 a + e]/Sqrt[e])}}, {{0,
0}, {}}, -((4 e (c + Z (d + e Z)))/(
d^2 - 4 c e))] + (-2 (d^2 - 4 c e) Hypergeometric2F1[(
3 e + Sqrt[e (-4 a + e)])/(4 e),
1/4 (3 - Sqrt[e (-4 a + e)]/e),
2, -((4 e (c + Z (d + e Z)))/(d^2 - 4 c e))] + (a +
2 e) (c + Z (d + e Z)) Hypergeometric2F1[(
7 e + Sqrt[e (-4 a + e)])/(4 e),
1/4 (7 - Sqrt[e (-4 a + e)]/e),
3, -((4 e (c + Z (d + e Z)))/(d^2 - 4 c e))]) MeijerG[{{},
{5/4 - Sqrt[-4 a + e]/(4 Sqrt[e]),
1/4 (5 + Sqrt[-4 a + e]/Sqrt[e])}}, {{0, 1}, {}}, -((
4 c e)/(d^2 - 4 c e))]))
[/tex]
 
  • #7
My computer keeps locking up. Haha.
 
  • #8
You should get Mathematica. Seriously. It's expensive, but if you need to deal with stuff like this, it's the tool for the job.
 

Related to Is There an Analytic Solution for This Non-Homogeneous Differential Equation?

1. What is a non-homogeneous differential equation?

A non-homogeneous differential equation is one where the right-hand side of the equation contains a function that is not equal to zero. This function is typically referred to as the non-homogeneous or forcing function.

2. How is a non-homogeneous differential equation solved?

The solution to a non-homogeneous differential equation involves finding both the general solution to the equation and a particular solution that satisfies the non-homogeneous portion of the equation. The general solution is found by solving the associated homogeneous equation, while the particular solution is found using a method such as variation of parameters or undetermined coefficients.

3. Can a non-homogeneous differential equation have multiple solutions?

Yes, a non-homogeneous differential equation can have multiple solutions. This is because the general solution to the equation can have an arbitrary constant or constants, resulting in a family of solutions. The particular solution, however, will be unique.

4. What are some real-life applications of non-homogeneous differential equations?

Non-homogeneous differential equations are commonly used in physics, engineering, and economics to model systems with external forces or inputs. Some examples include the motion of a damped harmonic oscillator with a driving force, the growth of a population with a limiting factor, and the change in value of an investment with added interest or inflation.

5. Are there any numerical methods for solving non-homogeneous differential equations?

Yes, there are several numerical methods for solving non-homogeneous differential equations, including Euler's method, the Runge-Kutta method, and the finite difference method. These methods involve approximating the solution at discrete points and using iterative calculations to find an approximate solution to the equation.

Similar threads

Replies
3
Views
838
Replies
2
Views
2K
  • Differential Equations
2
Replies
52
Views
975
  • Differential Equations
Replies
2
Views
1K
  • Differential Equations
Replies
2
Views
1K
  • Differential Equations
Replies
3
Views
1K
  • Differential Equations
Replies
5
Views
692
Replies
2
Views
2K
  • Differential Equations
Replies
2
Views
1K
  • Differential Equations
Replies
2
Views
3K
Back
Top