2
$\begingroup$

I'd like to visualiza the step-by-step solution of the following limit by calling Wolfram|Alpha in Mathematica, but I don't know how to specify that n is a positive integer variable:

WolframAlpha["lim(n*(2^(1/n)-1)) as n->+infinity", 
 PodStates -> {"Solution__Step-by-step solution"}]

Thank you in advance.

$\endgroup$
6
  • 1
    $\begingroup$ The limit does not require n to be an integer. The fact that the limit is for n approaching +Infinity implies that n is positive. Use WolframAlpha["lim(n*(2^(1/n)-1)) as n->+infinity", {{"Limit", 2}, "Content"}, PodStates -> {"Solution__Step-by-step solution", "Limit__Step-by-step solution"}] $\endgroup$
    – Bob Hanlon
    Commented Feb 17, 2020 at 19:12
  • $\begingroup$ Hello @BobHanlon, can you clarify me why the fact that n is a positive integer is not important please? $\endgroup$ Commented Feb 17, 2020 at 20:10
  • $\begingroup$ @Bob Hanlon: W|A does not properly work with DiscreteLimit (in Wolfram Language notation). Consider WolframAlpha["Limit[(-1)^n/n ,n->Infinity]", PodStates -> {"Solution__Step-by-step solution"}] . [CASE:4384509] was submitted by me. $\endgroup$
    – user64494
    Commented Feb 17, 2020 at 20:10
  • $\begingroup$ FunctionDomain[n*(2^(1/n) - 1), n] indicates that the function is real for all real n not equal to zero. Look at LogLinearPlot[{Log[2], n*(2^(1/n) - 1)}, {n, 1, 10000}] $\endgroup$
    – Bob Hanlon
    Commented Feb 17, 2020 at 20:21
  • 1
    $\begingroup$ Yes, asking there would be better. $\endgroup$
    – Bob Hanlon
    Commented Feb 17, 2020 at 20:56

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.