Differential equation: I think there is a Gamma Function here

In summary, the equation is first order, ODE with two unknowns, Y(η) being a function of η. It can be solved for C1 using the substitution t=u^3 and the results are related to the incomplete gamma function, gamma(1/3,x^3).
  • #1
Saladsamurai
3,020
7
***Please skip ahead to post # 6 where I have better formulated my question. Thank you! ***

I have an equation

[tex] AY'' + B\eta^2Y'=0 \qquad(1)[/tex]

where A and B are known constants and Y is a function of η. By using the substitution X = Y' I have reduced the problem to a first order ODE of the form

[tex]Y' = C_1e^{-\frac{B}{3A}\eta^3 \qquad(2)[/tex]

[tex]\Rightarrow Y(\eta) = \int_0^\eta C_1e^{-k\eta^3}\,d\eta \qquad(3)[/tex]

where let k = B/3A for compactness.

I am not sure how to integrate this. I know that

[tex]\Gamma(z) = \int_0^\infty t^{z - 1}e^{-t}\,dt\qquad(4)[/tex]

but I am not really sure how to use this since I don't have a 't' anywhere. Not to mention the bounds of my integral are not infinite.

Any advice on this?
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
Use the change of variables [tex]t=\eta^3[/tex] and you can express it in terms of the incomplete Gamma function. Within an additive constant and factors that are easy to determine, it's related to [tex]\Gamma(1/3,\eta^3)[/tex]. I don't believe that there's a simpler form for this.
 
  • #3
fzero said:
Use the change of variables [tex]t=\eta^3[/tex] and you can express it in terms of the incomplete Gamma function. Within an additive constant and factors that are easy to determine, it's related to [tex]\Gamma(1/3,\eta^3)[/tex]. I don't believe that there's a simpler form for this.

Hello again :smile: Ok. So if I let [itex]t = \eta^3\rightarrow dt = 3\eta^2\,d\eta\rightarrow d\eta = dt / (3\eta^2)[/itex] Plugging these results into (3) we have

[tex]Y(t) = C_!\int e^{-kt}\,\frac{dt}{3\eta^2} \qquad(4)[/tex]

Is this really going somewhere? I am pretty bad at these... what do i do with my limits? I know that at eta = 0 -> t = 0 and at eta = eta -> eta = t^(1/3)

I think i am screwing this up :redface:
 
  • #4
Saladsamurai said:
Hello again :smile: Ok. So if I let [itex]t = \eta^3\rightarrow dt = 3\eta^2\,d\eta\rightarrow d\eta = dt / (3\eta^2)[/itex] Plugging these results into (3) we have

[tex]Y(t) = C_!\int e^{-kt}\,\frac{dt}{3\eta^2} \qquad(4)[/tex]

Is this really going somewhere? I am pretty bad at these... what do i do with my limits? I know that at eta = 0 -> t = 0 and at eta = eta -> eta = t^(1/3)

I think i am screwing this up :redface:

If you want to express it as an incomplete gamma then you're best to write it as a definite integral with a dummy variable of integration.

Say you wanted to find the indefinite integral,

[tex] I(x) = \int \, e^{-x^3} \, dx[/tex].

Write it instead as,

[tex] I(x) = \int_{u=0}^{u=x} \, e^{-u^3} \, du + C[/tex]

After substituting [itex] t=u^3 [/itex], [itex]dt/du = 3 u^2[/itex], you get :

[tex] I(x) = \frac{1}{3} \, \int_{t=0}^{t=x^3} \, t^{-2/3} \, e^{-t} \, dt + C[/tex]

[tex] I(x) = \frac{1}{3} \, \gamma(1/3,x^3) + C[/tex]

Where [itex] \gamma(.,.) [/itex] is the lower incomplete gamma function and "C" is the constant of integration.
 
  • #5
Ok folks, this is great info. I am going to plug in the constants A and B that I have as I think it will make this easier. The actual equation that I am looking at right now is:

[tex]\theta(\eta) = C_1\int e^{(-0.0277\Pr)\eta^3}\,d\eta \qquad(5)[/tex]

where C1 is some constant (from a previous integration,i.e. a boundary condition) and Pr is a constant (i.e. the Prandtl Number).

I have the boundary conditions on θ:

η = 0: θ = 0
η→∞: θ = 1​

I know that these make the problem easier since now I actually have the infinite integral.

I know that I am supposed to arrive at a final answer of θ'(0) = 0.339*Pr1/3. Now it is quite possible that (5) is not perfect and that I might not get exactly 0.339. But I would like to at least get as far as getting "something" times Pr1/3.

So I would like to go ahead and try to get (5) integrated and solve for my C1. So following fzero's and uart's suggestions we are looking to integrate:

[tex]\int_0^\infty e^{(-0.0277\Pr)\eta^3}\,d\eta \qquad(6)[/tex]

I guess I should have mentioned that I have boundary conditions as this will probably simplify my problem :redface:

If I let [itex]u^3 = 0.0277\Pr\eta^3[/itex] I can now write (6) as

[tex]\int_0^\infty e^{-u^3}\,du \qquad(7)[/tex]

Now I let

[tex]t = u^3\rightarrow dt = 3u^2\,du = 3(t^{1/3})^2\,du\rightarrow du = (1/3)*t^{-2/3}\,dt[/tex]

so that (7) becomes:

[tex]
\frac{1}{3}\int_0^\infty t^{-2/3}e^{-t} = \Gamma(1/3)\qquad(8)
[/tex]

I feel like I have completely ignored the factor of 0.0277*Pr in the integral. But I am unsure of how to sneak it back in there?

Thanks for the help so far! :smile:

EDIT: I should probably just let t = 0.0277*Pr*η3 and it will factor out ... I will try this! I think that I "hid" that factor inside of u and should have taken care of it before evaluating the integral to Γ(1/3)
 
Last edited:
  • #6
Ok. I am confusing the heck out of myself here. I am confusing boundary conditions with other things and I need to straighten this out. This is due to my weak background in calculus. Let start from the top. I have a Differential EQ:

[tex]
\frac{d^2\theta}{d\eta^2} + 0.083\Pr\eta^2\frac{d\theta}{d\eta} = 0 \qquad(a)[/tex]

where Pr = a constant.

By letting [itex]X = \frac{d\theta}{d\eta}[/itex] (a) becomes:

[tex]\frac{dX}{X} = -0.083\Pr\eta^3\,d\eta \qquad(b)[/tex]

[tex]\Rightarrow \ln X = -0.0277\Pr\eta^3 + C_0[/tex]

[tex]\Rightarrow X = e^{-0.0277\Pr\eta^3 + C_0}=e^{-0.0277\Pr\eta^3}e^{ C_0}[/tex]

Let

[tex]e^{C_0} =C_1\qquad(c)[/tex]

and we have

[tex]X = C_1e^{-0.0277\Pr\eta^3}\qquad(d)[/tex]

But [itex]X = \frac{d\theta}{d\eta}[/itex] so that (d) becomes

[tex]\int d\theta = C_1\int e^{-0.0277\Pr\eta^3}\,d\eta \qquad(e)[/tex].This is about where we came in (Fight Club reference). Now as it stands, both integrals in (e) are indefinite and this is where the procedure gets fuzzy for me. I have options:

1) Find the antiderivatives of both sides, which will introduce a 2nd constant of integration and then apply the boundary conditions to solve for C1 and C2.

or

2) Impose boundary conditions now while integrating.

The second option is where I get confused. I feel like using option 2 gets me an integral that better fits the definition of the Gamma function, but I am shaky on the procedure.

For boundary conditions, I have:

η = 0: θ = 0
η→∞: θ = 1​

If I write (e) as follows:

[tex]\int_0^1 d\theta = C_1\int_0^\infty e^{-0.0277\Pr\eta^3}\,d\eta \qquad(f)[/tex]

am I technically using up BOTH of my boundary conditions since I havce asserted in my limits that at η = 0: θ = 0 AND η→∞: θ = 1 ? Because I think this would make it impossible for mr to solve for C1. But the form of (f) is perfect for getting the Gamma function out of it.

Sorry, it's these little details that kill me :redface: . Thank you to anyone who has the patience to go through this with me :smile: .
 
  • #7
To keep from notational confusion, rewrite

[tex]
\int d\theta = C_1\int e^{-0.0277\Pr\eta^3}\,d\eta \qquad(e)
[/tex]

in terms of dummy variables

[tex]
\int^\theta_0 d\phi = C_1\int^\eta_0 e^{-0.0277\Pr x^3}\,dx.
[/tex]

Doing the integrals, you will find that

[tex]
\theta = C_1 \Gamma(1/3,\eta^3) + C_2
[/tex]

You can now apply the boundary conditions: η = 0: θ = 0 fixes [tex]C_2 [/tex], while η→∞: θ = 1 fixes [tex]C_1[/tex].
 
  • #8
fzero said:
To keep from notational confusion, rewrite

[tex]
\int d\theta = C_1\int e^{-0.0277\Pr\eta^3}\,d\eta \qquad(e)
[/tex]

in terms of dummy variables

[tex]
\int^\theta_0 d\phi = C_1\int^\eta_0 e^{-0.0277\Pr x^3}\,dx.
[/tex]

Hi fzero :smile: I guess my question is: why should I set the lower limits on each integral to 0 ? Is it because I know that when η = 0, θ = 0 ? (If so, I feel like I am "using up a boundary condition by prescribing these lower limits to be 0).
 
  • #9
Saladsamurai said:
Hi fzero :smile: I guess my question is: why should I set the lower limits on each integral to 0 ? Is it because I know that when η = 0, θ = 0 ? (If so, I feel like I am "using up a boundary condition by prescribing these lower limits to be 0).

Yes, it would be more straightforward to just write

[tex]

\int^\theta_{\theta_0} d\phi = C_1\int^\eta_{\eta_0} e^{-0.0277\Pr x^3}\,dx,

[/tex]

where [tex]\theta(\eta_0) = \theta_0[/tex] is an initial condition. If we did this, we'd find

[tex]

\theta -\theta_0 = C_1 \left( \Gamma(1/3,\eta^3) -\Gamma(1/3,\eta_0^3) \right).

[/tex]

So [tex]C_2[/tex] is fixed as claimed.
 
  • #10
fzero said:
Yes, it would be more straightforward to just write

[tex]

\int^\theta_{\theta_0} d\phi = C_1\int^\eta_{\eta_0} e^{-0.0277\Pr x^3}\,dx,

[/tex]

where [tex]\theta(\eta_0) = \theta_0[/tex] is an initial condition. If we did this, we'd find

[tex]

\theta -\theta_0 = C_1 \left( \Gamma(1/3,\eta^3) -\Gamma(1/3,\eta_0^3) \right).

[/tex]

So [tex]C_2[/tex] is fixed as claimed.

Ok. I am not sure that I understand the notation [itex]\Gamma(1/3,\eta^3)[/itex]. Why do you have the η3 as an argument? Is that your way of taking care of the 0.0277*Pr part of it?

The reason that I ask, is that I am supposed to simplify this to 0.339*Pr1/3 and I am just having some trouble getting there.

I need to get from here:

[tex]\int^\theta_{\theta_0} d\phi = C_1\int^\eta_{\eta_0} e^{-0.0277\Pr x^3}\,dx,[/tex]

to here: 0.339*Pr1/3,

using η = 0: θ = 0 and η→∞: θ = 1.

If I take my integral:

[tex]\int^\theta_{\theta_0} d\phi = C_1\int^\eta_{\eta_0} e^{-0.0277\Pr x^3}\,dx,[/tex]

and make the substitution t = 0.0277*Pr*x3 I will eventually arrive at:[tex]\int^\theta_{\theta_0} d\phi =\frac{1}{3}(0.0277\Pr)^{-1/3}C_1\int_{\eta_o}^\eta t^{-2/3}e^{-t}\,dt \qquad(g)[/tex]

Now the integral on the right side of (g) is almost the Gamma function except that the limits of the integral are not 0 and ∞ as they are in the definition of Gamma. How can I remedy this? Is it enough to assign the limits to be 0 and ∞ and then have it be implied that my solution is valid only on that interval?
 
  • #11
Saladsamurai said:
Ok. I am not sure that I understand the notation [itex]\Gamma(1/3,\eta^3)[/itex]. Why do you have the η3 as an argument? Is that your way of taking care of the 0.0277*Pr part of it?

No,

[tex]\Gamma(s,x) = \int_x^\infty t^{s-1} e^{-t} dt[/tex]

is the incomplete Gamma function. Except perhaps at specific values, it isn't expressible in terms of more elementary functions. Closely related (and more directly applicable to your integral) is the lower incomplete Gamma function

[tex]\gamma(s,x) = \int_0^x t^{s-1} e^{-t} dt.[/tex]

These are related by the identity

[tex]\gamma(s,x) + \Gamma(s,x) =\Gamma(s).[/tex]

The reason that I ask, is that I am supposed to simplify this to 0.339*Pr1/3 and I am just having some trouble getting there.

The solutions to your problem are functions of [tex]\eta[/tex], but perhaps that is the value at some particular [tex]\eta[/tex].

[tex]\int^\theta_{\theta_0} d\phi =\frac{1}{3}(0.0277\Pr)^{-1/3}C_1\int_{\eta_o}^\eta t^{-2/3}e^{-t}\,dt \qquad(g)[/tex]

Now the integral on the right side of (g) is almost the Gamma function except that the limits of the integral are not 0 and ∞ as they are in the definition of Gamma. How can I remedy this? Is it enough to assign the limits to be 0 and ∞ and then have it be implied that my solution is valid only on that interval?

The solution, as I said, is a function [tex]\theta(\eta)[/tex] that can be expressed in terms of the incomplete Gamma function. It won't be expressible in terms of simpler functions. Typically, you'd resort to numerical approximations for the values of interest. Perhaps there's additional information that would help sort out the value that you're quoting, but we have the general solution that follows from equation (g).

Edit: Also check the powers of [tex]\eta[/tex] in the integration limits in (g), since [tex]t\sim x^3[/tex].
 
  • #12
Hello fzero :smile: Thank you for your patience; I appreciate the help. Unfortunately, I am a little slow. I still fail to see some things:

1.) I need to fix my limits to the following:

[tex]
\int^\theta_{\theta_0} d\phi =\frac{1}{3}(0.0277\Pr)^{-1/3}C_1\int_{\eta_o^3}^{\eta^3} t^{-2/3}e^{-t}\,dt \qquad(h)
[/tex]

Ok, I think I can deal with that.

2.) You are right, it was a specific value of eta. Moreover, I need to show from all of this that

[tex]\left ( \frac{d\theta}{d\eta}\right )_{\eta = 0} = 0.339(\Pr)^{1/3} \qquad(i)[/tex]

So I need to be able to solve for my C1 and any additional constants of integration that come up.

So I need to know how I can move forward from (h) and I am failing miserably to see how to do so. The integral in (h) does not have the same limits as the lower incomplete Gamma function. It runs from arbitrary ηo to η. So how can I tweak (g) so that I can make use of the definition of the lower incomplete Gamma function? And how do I justify those modifications?
 
  • #13
Saladsamurai said:
Hello fzero :smile: Thank you for your patience; I appreciate the help. Unfortunately, I am a little slow. I still fail to see some things:

1.) I need to fix my limits to the following:

[tex]
\int^\theta_{\theta_0} d\phi =\frac{1}{3}(0.0277\Pr)^{-1/3}C_1\int_{\eta_o^3}^{\eta^3} t^{-2/3}e^{-t}\,dt \qquad(h)
[/tex]

Ok, I think I can deal with that.

2.) You are right, it was a specific value of eta. Moreover, I need to show from all of this that

[tex]\left ( \frac{d\theta}{d\eta}\right )_{\eta = 0} = 0.339(\Pr)^{1/3} \qquad(i)[/tex]

So I need to be able to solve for my C1 and any additional constants of integration that come up.

So I need to know how I can move forward from (h) and I am failing miserably to see how to do so. The integral in (h) does not have the same limits as the lower incomplete Gamma function. It runs from arbitrary ηo to η. So how can I tweak (g) so that I can make use of the definition of the lower incomplete Gamma function? And how do I justify those modifications?

Just split the limits of integration up

[tex]\int_{0}^{\infty} t^{-2/3}e^{-t}\,dt = \int_{0}^{\eta_0^3} t^{-2/3}e^{-t}\,dt+ \int_{\eta_o^3}^{\eta^3} t^{-2/3}e^{-t}\,dt+\int_{\eta^3}^{\infty} t^{-2/3}e^{-t}\,dt .[/tex]

So

[tex] \Gamma(1/3) = \gamma(1/3,\eta_0^3) + \int_{\eta_o^3}^{\eta^3} t^{-2/3}e^{-t}\,dt + \Gamma(1/3,\eta^3). [/tex]

This gives us the integral in terms of [tex] \Gamma(1/3,\eta^3)[/tex] and constants. Solve for [tex]\theta(\eta)[/tex] and apply the initial conditions.
 
  • #14
fzero said:
Just split the limits of integration up

[tex]\int_{0}^{\infty} t^{-2/3}e^{-t}\,dt = \int_{0}^{\eta_0^3} t^{-2/3}e^{-t}\,dt+ \int_{\eta_o^3}^{\eta^3} t^{-2/3}e^{-t}\,dt+\int_{\eta^3}^{\infty} t^{-2/3}e^{-t}\,dt .[/tex]

So

[tex] \Gamma(1/3) = \gamma(1/3,\eta_0^3) + \int_{\eta_o^3}^{\eta^3} t^{-2/3}e^{-t}\,dt + \Gamma(1/3,\eta^3). [/tex]

This gives us the integral in terms of [tex] \Gamma(1/3,\eta^3)[/tex] and constants. Solve for [tex]\theta(\eta)[/tex] and apply the initial conditions.

So from your equation we have

[tex]\theta - \theta_0 = \frac{1}{3}(0.0277\Pr)^{-1/3}C_1\int_{\eta_o^3}^{\eta^3} t^{-2/3}e^{-t}\,dt = \frac{1}{3}(0.0277\Pr)^{-1/3}C_1\left [ \Gamma(1/3) -\left( \gamma(1/3,\eta_0^3) + \Gamma(1/3,\eta^3)\right )\right ] [/tex]

[tex]\Rightarrow \theta(\eta) = \frac{1}{3}(0.0277\Pr)^{-1/3}C_1\left [ \Gamma(1/3) -\left( \gamma(1/3,\eta_0^3) + \Gamma(1/3,\eta^3)\right )\right ] + \theta_0[/tex]

Should there be a second constant of integration somewhere? Or is it somehow included?
 
  • #15
Saladsamurai said:
So from your equation we have

[tex]\theta - \theta_0 = \frac{1}{3}(0.0277\Pr)^{-1/3}C_1\int_{\eta_o^3}^{\eta^3} t^{-2/3}e^{-t}\,dt = \frac{1}{3}(0.0277\Pr)^{-1/3}C_1\left [ \Gamma(1/3) -\left( \gamma(1/3,\eta_0^3) + \Gamma(1/3,\eta^3)\right )\right ] [/tex]

[tex]\Rightarrow \theta(\eta) = \frac{1}{3}(0.0277\Pr)^{-1/3}C_1\left [ \Gamma(1/3) -\left( \gamma(1/3,\eta_0^3) + \Gamma(1/3,\eta^3)\right )\right ] + \theta_0[/tex]

Should there be a second constant of integration somewhere? Or is it somehow included?

No, we used definite integrals so there's no integration constant. If we'd performed indefinite integrals, we'd have eliminated the integration constant with the initial condition.
 
  • #16
fzero said:
No, we used definite integrals so there's no integration constant. If we'd performed indefinite integrals, we'd have eliminated the integration constant with the initial condition.

Ok. So C1 arose as a result of using an indefinite integral and hence I need to solve for it. We could say that θ0 is my second constant of integration right?
 
  • #17
Saladsamurai said:
Ok. So C1 arose as a result of using an indefinite integral and hence I need to solve for it.

Yes. Sometimes with a 2nd order DE, instead of being given two values of the function, you're given the value of the function at a point and the value of the derivative somewhere. In that case, we could have used the initial condition on the derivative to eliminate the constant of integration.

We could say that θ0 is my second constant of integration right?

If you want, but it's really an abuse of terminology. The constant of integration appears in the antiderivative (associated to the indefinite integral). When we perform a definite integral, the integration constant cancels out in the difference between the antiderivatives evaluated at the endpoints of the integral.
 

Related to Differential equation: I think there is a Gamma Function here

1. What is a differential equation?

A differential equation is a mathematical equation that relates an unknown function to its derivatives. It describes the relationship between the rate of change of a quantity and the quantity itself. Differential equations are widely used in many fields of science, including physics, engineering, and economics.

2. What is the Gamma Function?

The Gamma Function is a mathematical function that generalizes the factorial function to real and complex numbers. It is denoted by the Greek letter Γ and is defined as the integral of the function xs-1e-x over the range of 0 to ∞.

3. How is the Gamma Function used in differential equations?

The Gamma Function is often used in the solution of differential equations that involve exponential functions. It can also be used in the evaluation of certain integrals and in the derivation of mathematical identities.

4. Can the Gamma Function be graphed?

Yes, the Gamma Function can be graphed using a graphing calculator or mathematical software. The resulting graph is a smooth curve that starts at 0 and approaches ∞ as x increases.

5. Why is the Gamma Function important in science?

The Gamma Function has many applications in science, especially in fields that involve exponential growth and decay. It is used in physics to describe radioactive decay, in biology to model population growth, and in economics to study compound interest. It also plays a crucial role in probability and statistics, making it an essential tool for scientists and researchers.

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
626
  • Calculus and Beyond Homework Help
Replies
1
Views
374
  • Calculus and Beyond Homework Help
Replies
2
Views
396
  • Calculus and Beyond Homework Help
Replies
3
Views
146
  • Calculus and Beyond Homework Help
Replies
7
Views
739
  • Calculus and Beyond Homework Help
Replies
7
Views
435
Replies
16
Views
263
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
631
  • Calculus and Beyond Homework Help
Replies
1
Views
91
Back
Top