Can someone help me with some Big O notation?
@mathmale
First, Angelina, what is "big O" notation? Completely new to me.
With the first problem, my first instinct is to multiply these two binomials together. Is that not the correct thing to do here?
Big O notation is like and estimate of how long an algorithm will take to run, basically it's just the domination of terms
I see. While I understand your goal, I don't know how to approach this estimation of run time. Have you tried posting this problem in the Computer Science section? Currently there are 38 people checked in there.
Yeah, nobody responded over there
It's kinda new to me too
Angelina, I think your best bet would be to research "Big O" notation on the net. I've done a preliminary search for you and have come up with the following: https://www.google.com/search?sourceid=chrome-psyapi2&ion=1&espv=2&es_th=1&ie=UTF-8&q=big%20o%20notation&oq=Big%20O%20notation&aqs=chrome.0.0l6.3950j0j7
\[(n-1)(n+2)=n^2+n-2\le n^2+n\le n^2+n^2=2n^2\] for \(n\ge 1\)
What's that supposed to mean?
\[(n-1)(n+2)=O(n^2)\]
Oh okay
the second one is O(n)?
no
How come?
\[2+4+\cdots+2n=2(1+2+\cdots+n)=2\frac{n(n+1)}{2}=n(n+1)\]
it is \(O(n^2)\)
So for the third one, what would we do?
I assume that the n^3 should be the dominating term?
almost
\[n^3\log(n)\]
is that because 17logn multiplies with n^3?
that is one of them
and n^3 multiplies log n
Okay so if we expand the 4th one out we get n^5 + 2^n n^3 +3^n n^2 +6^n
so should be O(n^5)?
no
This is confusing
exponential grows much faster than polynomial
hmmmm
is it something^n?
yes
6^n?
yes
so O(6^n)?
it is
though i'm sure your instructor will want to see more work...like I did for the first one
I'm out of time here...past my bed time
okay, so for the last one I expanded it out and got \[n ^{n}n!+ 2^{n} n*n! + 5^{n}n! +5^{n}n ^{n} + 10^{n} + 5^{2n}\]
not sure what is the largest
sorry it should be 10^n * n
i'm thinking it would also be O(5^2n)
Join our real-time social learning platform and learn together with your friends!