Message Boards Message Boards

0
|
3186 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

[?] Work with Gamma function?

Posted 7 years ago

Hi everyone. I'm bit puzzled about how mathematica deals with Gamma(x) The definition is Gamma(x)=(x-1)! But when I plot, say,

Gamma(x)-(x-1)Gamma(x-1)

it gives me graphs with positive values but it should be zero.. does anyone know what is going on? Many thanks!

POSTED BY: d m
2 Replies

Proper syntax would tell you it does equal 0:

Plot[Gamma[x] - (x - 1) Gamma[x - 1], {x, 0, 10}, PlotRange -> {-5, 5}]
POSTED BY: Sander Huisman

Welcome to Wolfram Community! Please make sure you know the rules: https://wolfr.am/READ-1ST

Please edit your post and provide code example of your issue.

POSTED BY: Moderation Team
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract