Order Comparison of Functions: f(n) < THETA(g(n)) for O(2^n) and O(3^n)

  • Thread starter Thread starter Ad2d
  • Start date Start date
Ad2d
Messages
9
Reaction score
0
Hello All, I need help making sure I am right about this. Say for example I have these two functions: f(n) = 2^n and g(n) = 3^n.

Now the order is O(2^n) and O(3^n) respectfuilly. Now I need make sure I am right about this: based on the order, O(2^n) < O(3^n) therefore f(n) < THETA(g(n)).

Is this statement correct here when I say f(n) < THETA(g(n)) and that O(2^n) < O(3^n)?
 
Last edited:
Mathematics news on Phys.org
Isn't O(2^n) = O(3^n)? Exponential functions differ by a multiplicative constant.
 
Tac-Tics said:
Isn't O(2^n) = O(3^n)? Exponential functions differ by a multiplicative constant.

No?
The constant C does not exist such that C \cdot 2^x &gt; 3^x for all x.
 
Ack. My intuition failed me. I was thinking of 2x^n versus 3x^n for a constant n. Sry.
 
O(2^n) is O(3^n) in the usual abuse of notation sense. But the set of functions that are O(2^n) is a proper subset of the set of functions that are O(3^n). For example, 2.0001^n is not O(2^n).

"f(n) < THETA(g(n))" isn't defined -- O, o, Theta, and the others use only the element operator (or, by the abuse mentioned above, an equal sign). Do you perhaps mean that 2^n is o(3^n)? That would be correct, because lim 2^n/3^n = 0.
 
Thank You all. I was able do what CRGreathouse with the limits which made more since to me. From what the professor was saying, I am thinking that Theta is a value that is I am between the upper and lower bound, and I need to show whether or not the functions where less than the upperbond (f(n) < theta (g(n)) ), greater than the lower bound (f(n) > theta (g(n)) ), or equal ((f(n) = theta (g(n)) )). I hope that make sense (I'm not a genius when it comes to wording in math). Just like to say thanks again for all your input. It helped.
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...

Similar threads

Replies
2
Views
1K
Replies
9
Views
2K
Replies
1
Views
1K
Replies
1
Views
2K
Replies
2
Views
2K
Replies
7
Views
3K
Back
Top