We come across the problem of inverting a function often in computer science. Instead of solving it by brute force, sometimes it would be much easier to do it with the help of Θ(⋅), if we only care about the asymptotic trend. See two examples below.
Suppose there is an algorithm that has running time O(n3/t)+O(tlogt), for any t>0. We want to choose a t that minimizes the asymptotic time complexity of the algorithm.
As for any a,b>0,
max{a,b}≤a+b≤2⋅max{a,b}.
It suffices to choose a t that minimizes max{n3/t,tlogt}. By the result of previous section, we can choose
t=Θ(lognn3),
and the time complexity is
O(n3logn).
Reference
[1]. Ryan O'Donnell, Lecture 2, CS Theory Toolkit, CARNEGIE MELLON UNIVERSITY