5

Looking into this question made me suspect that SumConvergence might have more Methods available than the four listed in its documentation. How do I find all Methods available for this function?

Edit: For completeness let me add that, besides Automatic, the documentation mentions (note the vague choice of words: "possible values ... include")

Possible values for Method include:
"IntegralTest" the integral test
"RaabeTest" Raabe's test
"RatioTest" D'Alembert ratio test
"RootTest" Cauchy root test

Note: The obvious adaption to the answer to this similar question does not seem to work; the same seems to be true for the answers to this question.

Jules Lamers
  • 1,074
  • 9
  • 19

1 Answers1

3

Like J.M., I see the "DivergenceTest" (Nth term test for divergence) as well as user-defined methods.

The "DivergenceTest" can only be used to show divergence (return value False). If it returns True, it is unreliable.

SumConvergence[1/n, n, Method -> "DivergenceTest"]
(*  True  *)

User-defined methods have the form Method -> myConvTest, where myConvTest has the form as SumConvergence (without options):

myConvTest[summand, variable]

Examples:

SumConvergence[1/n, n, Method -> (True &)] (* the optimistic test *)
(*  True  *)

myLCT[e_, k_] := SumConvergence[Normal[Series[e, {k, ∞, 2}]], k]
SumConvergence[Sin[50/n^2], n, Method -> myLCT]
(*  True  *)

[Discovered exploring this question.]

Michael E2
  • 235,386
  • 17
  • 334
  • 747