Show that 2^n+1 is 0(2^n)
are you sure of what you just whrite
That is the same question I asked the professor!
Is that expression multiplied by zero ? 0(2^n)
No it's big O notation.
\(2^n+1 = O(2^n)\)
Right? @kattck
That is what I was thinking at first but how it is written I have asked and it does represent the number 0
Well, if it is, I haven't seen anything like this before. For me, that expression is equal to 0, there is no such 'n' for 2^2 + 1 to be zero.
sorry, I was going to write 2^n+1
Well, it's not what big O means.
What class are you in? @kattck
Yah this would be false statement correct?
yes
This is discrete Mathematic Comp Science
then I'm pretty sure it's big O.
What subjects did your proffessor explained you so far?
Do you have note about it? What is this "0"?
What is definition of 0( f(x) )?
I found a whole section on Big-"OH" notation!
geerky42 You were right!
Yeah :) What is definition of big O, if you were given?
Then from here, we can figure out how to show etc
ok so big OH is measuerment time of the execution of the algorithm
Well, yeah that's what big O is often used for.
In your question, by "show," you mean like prove?
Yah this section is mostly about proving the algorithms.
OK, so from definition in link, \(2^n+1 = O(2^n)\) if there exist positive constant \(C_1\) and \(C_2\) such that \(2^n+1\le C_1~ 2^n\) for all \(n>C_2\)|dw:1433116401018:dw| You get the idea, right?
Join our real-time social learning platform and learn together with your friends!