You are not logged in.

- Topics: Active | Unanswered

Pages: **1**

**Sabbir****Guest**

I want to know about gamma function,I have read about it in wikipedia,but I could not understand it very much,so please help(I know about factorial).

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 107,156

Hi Sabbir;

Welcome to the forum;

For positive integers

so Gamma(5) = 4! = 24.

The gamma function also defined for other than integers.

But that is all in the pages you visited. Do you have a specific problem that requires the Gamma function?

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

**zetafunc.****Guest**

What do you need help with?

I understand the gamma function as being an extension to the factorial function, defining it for real and complex numbers. It is defined as

or

.This integral can be annoying to evaluate, so quite often people use a table of values, or use some known properties of distributions to solve. For simplicity, let's try to evaluate Gamma(0.5).

I'll rewrite this as

I'll make a substitution;

So our integral becomes

Do you recognise this integral? It is a disguised form of something called the Gaussian integral. It's defined as

Since it's an even function (it's symmetrical about the y-axis), the area from 0 to infinity is just half of the area from negative infinity to positive infinity. Thus, your integral evaluates to √π. Hope this helps!

**zetafunc.****Guest**

You can also evaluate the Gaussian integral using polar co-ordinates (rather than just accepting my definition for it). It's a bit long but I can show you if you'd like.

**Sabbir****Guest**

I think if you show me some examples(such as other fractions and complex number)it will be easy for me to understand.

**zetafunc.****Guest**

You mean evaluating the gamma function at different values -- 0.75, 0.224, (3+2i), etc.?

Was any part of my explanation unclear?

**Sabbir****Guest**

Yes,different values and your explanation was clear but other values will make it easier for me to understand the way of approaching

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 107,156

Hi;

Only certain values yield nice results like that. For say Gamma(10 + 1/3 ) you will have to resort to numerical methods.

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

**zetafunc.****Guest**

There are lots of ways to compute values for the gamma function. For example, this is a useful identity;

Thus, since

then it follows that

so you can use that to find values of the gamma function at 5/2, 7/2, etc.

**Sabbir****Guest**

Ok,but it will be helpful to see a complex number example.

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 107,156

Those get very complicated. One way is with a Taylor series expanded around infinity.

This is quite close for only two terms of a Taylor series.

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

**zetafunc.****Guest**

Evaluating it at complex numbers is interesting. Let's try to find Gamma(1+i).

but note that

so our integral becomes

I can do that becaues e[sup]i[/sup] is just a constant. Can you see where to go from here?

**zetafunc.****Guest**

Sorry, I am wrong.

. Ignore my previous post.**Sabbir****Guest**

So,will the taylor series give the same result as the integral's.

**zetafunc.****Guest**

Sabbir wrote:

So,will the taylor series give the same result as the integral's.

They will give you a (very good) approximation to the integral, yes.

May I ask what this is for?

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 107,156

You can also evaluate the integral numerically.

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

**Sabbir****Guest**

I was just curious about the taylor series

**zetafunc.****Guest**

Sabbir wrote:

I was just curious about the taylor series

I mean, about the Gamma function -- is it for a particular class?

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 107,156

Hi;

I was just curious about the taylor series

What would you like to know?

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

Pages: **1**