0
$\begingroup$

I have the following equation, which equals 1 for positive values of $n$, but at $n = \inf$ the equation becomes indeterminate.

4 n (1 - 1/2) 1/2 (1/Sqrt[n])^2

If I require the input from the equation when $n$ is very large (and in principle infinitely large), is the best practice simply to set $n$ to an arbitrarily very large value, or does Mathematica have a standard, best practice, solution to this kind of problem?

$\endgroup$
1
  • $\begingroup$ Your example evaluates to one for every n... $\endgroup$ Commented Nov 6, 2018 at 12:16

1 Answer 1

2
$\begingroup$

This command gives one

4 n (1 - 1/2) 1/2 (1/Sqrt[n])^2 /. n :> \[Infinity]

which is a simple replacement rule.

So do the following two

4 n (1 - 1/2) 1/2 (1/Sqrt[n])^2 // Series[#, {n, \[Infinity], 10}] &

4 n (1 - 1/2) 1/2 (1/Sqrt[n])^2 // Limit[#, {n -> \[Infinity]}] &

which is what I would do if the replacement rule gave indeterminate.

Hope this helps.

$\endgroup$

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.