Sunday, December 29, 2019
Calculations With the Gamma Function
The gamma function is defined by the following complicated looking formula: Ãâ ( z ) Ã¢Ë «0âËže - ttz-1dt One question that people have when they first encounter this confusing equation is, ââ¬Å"How do you use this formula to calculate values of the gamma function?â⬠à This is an important question as it is difficult to know what this function even means and what all of the symbols stand for. One way to answer this question is by looking at several sample calculations with the gamma function.à Before we do this, there are a few things from calculus that we must know, such as how to integrate a type I improper integral, and that e is a mathematical constant.à Motivation Before doing any calculations, we examine the motivation behind these calculations.à Many times the gamma functions show up behind the scenes.à Several probability density functionsà are stated in terms of the gamma function. Examples of these include the gamma distribution and students t-distribution,à The importance of the gamma function cannot be overstated.à Ãâ ( 1 ) The first example calculation that we will study is finding the value of the gamma function for Ãâ ( 1 ). This is found by setting z 1 in the above formula: Ã¢Ë «0âËže - tdt We calculate the above integral in two steps: The indefinite integral Ã¢Ë «e - tdt -e - t CThis is an improper integral, so we have Ã¢Ë «0âËže - tdt limb ââ â âËž -e - b e 0 1 Ãâ ( 2 ) The next example calculation that we will consider is similar to the last example, but we increase the value of z by 1.à We now calculate the value of the gamma function for Ãâ ( 2 ) by setting z 2 in the above formula. The steps are the same as above: Ãâ ( 2 ) Ã¢Ë «0âËže - tt dt The indefinite integral Ã¢Ë «te - tdt- te - t -e - t C.à Although we have only increased the value of z by 1, it takes more work to calculate this integral.à In order to find this integral, we must use a technique from calculus known as integration by parts. We now use the limits of integration just as above and need to calculate: limb ââ â âËž - be - b -e - b -0e 0 e 0. A result from calculus known as Lââ¬â¢Hospitalââ¬â¢s rule allows us to calculate the limit limb ââ â âËž - be - b 0. This means that the value of our integral above is 1. Ãâ (z 1 ) zÃâ (z ) Another feature of the gamma function and one which connects it to the factorial is the formula Ãâ (z 1 ) zÃâ (z ) for z any complex number with a positive real part. The reason why this is true is a direct result of the formula for the gamma function. By using integration by parts we can establish this property of the gamma function.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.