(a) To prove that (7n^3 + 30n^2 + 5n - 9 \in O(n^3)):
According to the definition of Big O notation, we need to show that there exists a constant (c > 0) and (n_0 > 0) such that (0 \leq 7n^3 + 30n^2 + 5n - 9 \leq cn^3) for all (n \geq n_0).
We can see that (7n^3 + 30n^2 + 5n - 9) is a polynomial dominated by the (n^3) term for large values of (n). As (n) approaches infinity, the lower degree terms become negligible in comparison to the (n^3) term. Choose (c = 7 + 30 + 5 + 9) (the sum of the absolute values of the coefficients) and (n_0 = 1). Then, for all (n \geq n_0), the following holds:
(0 \leq 7n^3 + 30n^2 + 5n - 9 \leq 7n^3 + 30n^3 + 5n^3 + 9n^3 = 51n^3),
which matches the definition of Big O notation. Therefore, (7n^3 + 30n^2 + 5n - 9 \in O(n^3)).
(b) To prove that (5000n^3 \in \Omega(n^2)):
We need to show that there exists a constant (c > 0) and (n_0 > 0) such that (0 \leq cn^2 \leq 5000n^3) for all (n \geq n_0).
Choose (c = 1) and (n_0 = 1). For all (n \geq n_0), the following holds:
(0 \leq n^2 \leq 5000n^3).
Thus, (5000n^3) is in (\Omega(n^2)), as it grows at least as fast as (n^2).
(c) To prove that (20n^3 + 3n^2 \in \omega(n^2)):
The small omega notation (\omega(g(n))) denotes that for function (f(n)), there is no constant (c > 0) such that (f(n) \leq c \cdot g(n)) for every sufficiently large (n). Formally, we want to show that (\forall c > 0, \exists n_0 > 0) such that (20n^3 + 3n^2 > cn^2) for all (n \geq n_0).
As (n) grows large, the (n^3) term will dominate the (n^2) term. Let (c) be any positive constant. As (n) becomes larger, (20n^3) will become much larger than (cn^2), and (3n^2) is insignificant compared to (20n^3).
We can select (n_0) such that for all (n \geq n_0), (20n > c), thus:
(20n^3 + 3n^2 > 20n^3 > cn^3 \geq cn^2),
which confirms that (20n^3 + 3n^2 \in \omega(n^2)).
(d) To prove that (46n^3 \in o(n^4)):
The little o notation (o(g(n))) signifies that for function (f(n)), for any constant (c > 0), there exists an (n_0 > 0) such that (f(n) < c \cdot g(n)) for all (n \geq n_0).
To prove that (46n^3) grows at a rate significantly less than (n^4), we choose any constant (c > 0). It is clear that as (n) grows, (n^3) becomes infinitely smaller than (n^4). Specifically, we can choose (n_0) such that for all (n \geq n_0), (46 < cn).
Thus, for all (n \geq n_0), we have:
(46n^3 < cn^4),
which proves that (46n^3 \in o(n^4)).
(e) To prove that (n^2 + 3n - 10 \in \Theta(n^2)):
Theta notation (\Theta(g(n))) indicates both upper and lower bounds. Specifically, we need to find constants (c_1), (c_2 > 0) and (n_0 > 0) such that for all (n \geq n_0), (c_1n^2 \leq n^2 + 3n - 10 \leq c_2n^2).
As (n) grows large, the (n^2) term will dominate the rest of the terms. Choose (c_1 = 1) (since the (n^2) coefficient is 1 in the polynomial) and (c_2) to be slightly larger than 1 to account for the (3n) and (-10) terms, let's say (c_2 = 2). You can find an (n_0) large enough such that the inequalities hold for all (n \geq n_0). Let's say (n_0 = 10), which is certainly large enough to ensure the (3n - 10) part is much less than (n^2).
Therefore, for all (n \geq n_0):
(1n^2 \leq n^2 + 3n - 10 \leq 2n^2),
which shows that (n^2 + 3n - 10 \in \Theta(n^2)).