What is the asymptotic bound for $\sum_{i=0}^{\log(n)} 2^{i} \sum_{k=0}^{\frac{n}{2^{i}}} (k+2)^{2} + \theta(n)$?
Asked
Active
Viewed 60 times
1 Answers
1
I suggest you use big O notation. If I am not mistaken, the following does the job.
Normal[Series[Sum[2^i*(k + 2)^2, {i, 0, Log[n]}, {k, 0, n/2^i}], {n, Infinity,1}]] //FullSimplify
$$\frac{1}{9} n^3 \left(4-2^{-2 \log (n)}\right)+n^2 \left(5-5\ 2^{-\log (n)-1}\right)+\frac{37 n}{6}+\frac{37}{6} n \log (n)+2^{\log (n)+3}-4 $$
One sees the main term of the asymptotics is $\frac 4 9 n^3$.
O[x]^nrepresents a term of order $x^n$ not necessarily giving a bound. – yarchik Sep 24 '19 at 07:18BesselJ[0,x]. Its leading term in series expansion at infinity readsSqrt[2/π] Cos[π/4-x]/Sqrt[x]. It represents a good approximation, but does not give a bound such as $|J_0(x)|<1/\sqrt{x}$. – yarchik Sep 24 '19 at 08:57Seriesis not a tool to generate the asymptotic bounds. They can be obtained with further analysis based on it. The word bound often comes with a specification "from above" or "from below". This notion is not present in the big-O notation, nor is it a part ofSeriescommand. – yarchik Sep 24 '19 at 09:13Seriesfor this summation. `In[14]:= summation = Sum[2^i*(k + 2)^2, {i, 0, Log[n]}, {k, 0, n/2^i}];In[15]:= terms = List @@ Expand[ summation /. a_^(b_. + c_. Log[n]) :> a^b*n^(c Log[a])];
In[16]:= Last@Sort[terms, AsymptoticLess[##, n -> ∞] &]
Out[16]= (4 n^3)/9`
– Greg Hurst Sep 24 '19 at 11:43