Ask your own question, for FREE!
Mathematics 18 Online
OpenStudy (anonymous):

Can someone help me with some Big O notation?

OpenStudy (anonymous):

OpenStudy (anonymous):

@mathmale

OpenStudy (mathmale):

First, Angelina, what is "big O" notation? Completely new to me.

OpenStudy (mathmale):

With the first problem, my first instinct is to multiply these two binomials together. Is that not the correct thing to do here?

OpenStudy (anonymous):

Big O notation is like and estimate of how long an algorithm will take to run, basically it's just the domination of terms

OpenStudy (mathmale):

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.

OpenStudy (anonymous):

Yeah, nobody responded over there

OpenStudy (anonymous):

It's kinda new to me too

OpenStudy (mathmale):

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

OpenStudy (zarkon):

\[(n-1)(n+2)=n^2+n-2\le n^2+n\le n^2+n^2=2n^2\] for \(n\ge 1\)

OpenStudy (anonymous):

What's that supposed to mean?

OpenStudy (zarkon):

\[(n-1)(n+2)=O(n^2)\]

OpenStudy (anonymous):

Oh okay

OpenStudy (anonymous):

the second one is O(n)?

OpenStudy (zarkon):

no

OpenStudy (anonymous):

How come?

OpenStudy (zarkon):

\[2+4+\cdots+2n=2(1+2+\cdots+n)=2\frac{n(n+1)}{2}=n(n+1)\]

OpenStudy (zarkon):

it is \(O(n^2)\)

OpenStudy (anonymous):

So for the third one, what would we do?

OpenStudy (anonymous):

I assume that the n^3 should be the dominating term?

OpenStudy (zarkon):

almost

OpenStudy (zarkon):

\[n^3\log(n)\]

OpenStudy (anonymous):

is that because 17logn multiplies with n^3?

OpenStudy (zarkon):

that is one of them

OpenStudy (anonymous):

and n^3 multiplies log n

OpenStudy (anonymous):

Okay so if we expand the 4th one out we get n^5 + 2^n n^3 +3^n n^2 +6^n

OpenStudy (anonymous):

so should be O(n^5)?

OpenStudy (zarkon):

no

OpenStudy (anonymous):

This is confusing

OpenStudy (zarkon):

exponential grows much faster than polynomial

OpenStudy (anonymous):

hmmmm

OpenStudy (anonymous):

is it something^n?

OpenStudy (zarkon):

yes

OpenStudy (anonymous):

6^n?

OpenStudy (zarkon):

yes

OpenStudy (anonymous):

so O(6^n)?

OpenStudy (zarkon):

it is

OpenStudy (zarkon):

though i'm sure your instructor will want to see more work...like I did for the first one

OpenStudy (zarkon):

I'm out of time here...past my bed time

OpenStudy (anonymous):

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}\]

OpenStudy (anonymous):

not sure what is the largest

OpenStudy (anonymous):

sorry it should be 10^n * n

OpenStudy (anonymous):

i'm thinking it would also be O(5^2n)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!