In order to prove the relationships between functions using the original definitions of O, Ω, θ, o, and ω, we recall the definitions of these terms first:
f(n) ∈ O(g(n)) if there exist positive constants c and n₀ such that for all n ≥ n₀, |f(n)| ≤ c|g(n)|.
f(n) ∈ Ω(g(n)) if there exist positive constants c and n₀ such that for all n ≥ n₀, |f(n)| ≥ c|g(n)|.
f(n) ∈ θ(g(n)) if there exist positive constants c₁, c₂, and n₀ such that for all n ≥ n₀, c₁|g(n)| ≤ |f(n)| ≤ c₂|g(n)|.
f(n) ∈ o(g(n)) if for every positive constant ε, there exists a constant n₀ such that for all n ≥ n₀, |f(n)| < ε|g(n)|.
f(n) ∈ ω(g(n)) if for every positive constant c, there exists a constant n₀ such that for all n ≥ n₀, |f(n)| > c|g(n)|.
Let's start by proving each given relationship individually with these definitions.
(b) To prove that 5000n^3 ∈ Ω(n^2), we must show that there exist positive constants c and n₀ such that for all n ≥ n₀, 5000n^3 ≥ cn^2.
Choose c = 1 and let n₀ = 1. We have for all n ≥ n₀:
5000n^3 ≥ n^2
Which is obviously true since 5000n^3 is indeed greater than n^2 for all n ≥ 1. Thus, 5000n^3 ∈ Ω(n^2).
(c) To prove that 20n^3 + 3n^2 ∈ ω(n^2), we must show that for every constant c > 0, there exists an n₀ such that for all n ≥ n₀, 20n^3 + 3n^2 > cn^2.
Let c be any positive constant and let n₀ = max(1, sqrt(2c/3)). For all n ≥ n₀:
20n^3 + 3n^2 > 3n^2
20n^3 > 3n^2 implies n^3 > n^2/(20/3) = n^2(3/20)
As n gets large, n^3 dominates n^2, making the left side grow faster than any constant multiple of n^2 for sufficiently large n. Therefore, 20n^3 + 3n^2 ∈ ω(n^2).
(d) To prove that 46n^3 ∈ o(n^4), we must show that for every positive constant ε, there exists a constant n₀ such that for all n ≥ n₀, 46n^3 < εn^4.
Let ε be any positive constant and let n₀ be such that n₀ = max(1, 46/ε). For all n ≥ n₀:
46n^3 < εn^4
To see this, just divide both sides by n^3 (assuming n ≥ 1):
46 < εn
n > 46/ε
Since we are choosing n₀ to be at least 46/ε, this inequality holds true for all n ≥ n₀. Therefore, 46n^3 ∈ o(n^4).
(e) To prove that n^2 + 3n -10 ∈ θ(n^2), we must show there exist positive constants c₁, c₂, and n₀ such that for all n ≥ n₀, c₁n^2 ≤ n^2 + 3n - 10 ≤ c₂n^2.
Let's choose c₁ = 1/2 and c₂ = 2 (we may need to adjust n₀ accordingly to ensure both sides of the inequality hold):
For the left inequality:
n^2 + 3n - 10 ≥ (1/2)n^2
2n^2 + 6n - 20 ≥ n^2
n^2 + 6n - 20 ≥ 0
This condition will be true for sufficiently large n (visibly true when n is much larger than 6, for example, n ≥ 10).
For the right inequality:
n^2 + 3n - 10 ≤ 2n^2
3n - 10 ≤ n^2
This condition is true for n ≥ 3.
Hence, if we let n₀ = 10, then for all n ≥ n₀, we have:
(1/2)n^2 ≤ n^2 + 3n -10 ≤ 2n^2
Thereby showing that n^2 + 3n -10 ∈ θ(n^2).