1
Fork 0
mirror of https://github.com/Steffo99/appunti-magistrali.git synced 2024-11-22 10:44:17 +00:00
appunti-steffo/9 - Algoritmi distribuiti/1 - Problemi algoritmici/notazione Θ-grande.md

32 lines
726 B
Markdown

---
aliases:
- big-Theta
- notazione theta-grande
- big-Θ
- tight bound
---
[[notazione asintotica]] per il [[limite bilaterale]].
$$
\def \varAsym {{\color{royalblue} g(n)}}
\def \varFunc {{\color{orangered} f(n)}}
\def \varLess {{\color{lightcoral} c_{less}}}
\def \varMore {{\color{palegreen} c_{more}}}
\def \varBeginning {{\color{turquoise} n_0}}
\Huge
\Theta(\varAsym)
$$
In linguaggio formale, $\varFunc$ è in $\Theta(\varAsym)$ se:
$$
\Theta(\varAsym)
\Longleftrightarrow
\begin{cases}
\exists & \varLess > 0\\
\exists & \varMore > 0\\
\exists & \varBeginning > 0\\
\\
\forall & n \geq \varBeginning\\
: & 0 \leq (\varLess \cdot \varAsym) \leq \varFunc \leq (\varMore \cdot \varAsym)
\end{cases}
$$