Jump to content

big ohhh notation :P

Featured Replies

hey could someone please give me a bit of help with this big O notation bussiness, it makes not much sense to me, (mainly in terms of calucating limit sof indeterminate form, and how the big O's cancel etc.) anyways any help or pointers to a good website that explains the stuff would be great!

 

Thanks Guys and Gals :)

 

Sarah

If f(x)=O(g(x)) that just means that for large enough x and some constant c, |f(x)|<=c*g(x). You can use this to give bounds on certain limits, like f(x), if f(x)=g(x)+O(h(x)), because we know that lim x->infinity g(x)-h(x) <= lim x->infinity f(x) <= lim x->infinity g(x)+h(x). I don't really know what you mean by "how the big O's cancel," so I can't help you out there.

  • Author

hang on a sec and i'll upload a pic of problem in which this "cancelling" (or looks like cancelling to me) happens....

What they mean is that there is an error term, on the order of x2 and order of x, in reference to the last line ofc.

 

Since you are taking the limit as x approaches 0, x will become very small, so x2 << 1, and x << 1/3.

 

Thus, they are negligible, and can be tossed away.

If x < 1, and you're looking at a limit as x -> 0, then x >> x2 >> x3, etc

 

You if you have a term of order x, you can ignore the higher order terms. They are small compared to x. If you have terms that look like x2, you can ignore terms that look like x3, again, because they are small when x -> 0.

 

The O(xn) just means that all the terms are that exponent, n, and the terms are small so they can be ignored. Thus it's not worth the time to actually calculate that term.

  • 2 weeks later...

the importnat thing is that as x tends to zero so does O(x) or (X^n) for any positive n. just think of it as a function - if f(x) and g(x) tend to zero as x tends to zero then (1+f)/(2+g) tends to 1/3 as x tends to zero.

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.