Anki Deck Changes

Commit: d66be06a - Update deck.json

Author: Jonas B <65017752+Scr1pting@users.noreply.github.com>

Date: 2026-01-23T21:40:19+01:00

Changes: 1 note(s) changed (0 added, 1 modified, 0 deleted)

Note 1: ETH::A&D

Deck: ETH::A&D
Note Type: Horvath Classic
GUID: lg2TVeS_j]
modified

Before

Front

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Sums
How can I find the asymptotic behavior of a sum like \(\sum_{i = 1}^{\lfloor \log_2 (n) \rfloor} \sqrt{i}\)?

Back

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Sums
How can I find the asymptotic behavior of a sum like \(\sum_{i = 1}^{\lfloor \log_2 (n) \rfloor} \sqrt{i}\)?

Sum and integral have the same asymptotic behavior (not covered in lecture)!

\[\begin{align} \sum_{i=1}^{\lceil \sqrt{n} \rceil} \sqrt{i} &\sim \int_1^{\lceil \sqrt{n} \rceil} \sqrt{x}\,dx \\ &= \left[\frac{2}{3}x^{3/2}\right]_1^{\lceil \sqrt{n} \rceil} \\ &= \frac{2}{3}\bigl(\lceil \sqrt{n} \rceil^{3/2} - 1\bigr) \\ &\sim \frac{2}{3}\bigl(n^{1/2}\bigr)^{3/2} \\ &= \Theta(n^{3/4}). \end{align}\]
(We use \(\sim\) to denote asympotic equivalence. Correct but verbose would be to wrap everything in \(\Theta\))

After

Front

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Sums
How can I find the asymptotic behavior of a sum like \(\sum_{i = 1}^{^{\lceil \sqrt{n} \rceil}} \sqrt{i}\)?

Back

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Sums
How can I find the asymptotic behavior of a sum like \(\sum_{i = 1}^{^{\lceil \sqrt{n} \rceil}} \sqrt{i}\)?

Sum and integral have the same asymptotic behavior (not covered in lecture)!

\[\begin{align} \sum_{i=1}^{\lceil \sqrt{n} \rceil} \sqrt{i} &\sim \int_1^{\lceil \sqrt{n} \rceil} \sqrt{x}\,dx \\ &= \left[\frac{2}{3}x^{3/2}\right]_1^{\lceil \sqrt{n} \rceil} \\ &= \frac{2}{3}\bigl(\lceil \sqrt{n} \rceil^{3/2} - 1\bigr) \\ &\sim \frac{2}{3}\bigl(n^{1/2}\bigr)^{3/2} \\ &= \Theta(n^{3/4}). \end{align}\]
(We use \(\sim\) to denote asympotic equivalence. Correct but verbose would be to wrap everything in \(\Theta\))
Field-by-field Comparison
Field Before After
Front How can I find the asymptotic behavior of a sum like \(\sum_{i = 1}^{\lfloor \log_2 (n) \rfloor} \sqrt{i}\)? How can I find the asymptotic behavior of a sum like \(\sum_{i = 1}^{^{\lceil \sqrt{n} \rceil}} \sqrt{i}\)?
Tags: ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Sums
↑ Top