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

can anyone explain to me big O notation and give an example

OpenStudy (zzr0ck3r):

I am not sure what you are talking about

OpenStudy (zzr0ck3r):

where did you see it?

OpenStudy (anonymous):

lol i have a discrete math class which is a pain @zzr0ck3r

OpenStudy (anonymous):

@zzr0ck3r Big- O Notation - determine whether f is O ( g ) and, if so, find witnesses

OpenStudy (zzr0ck3r):

so you need to know if there is a positive real number \(\epsilon\) and a \(x_0\in \mathbb{R}\) such that \(f(x) \le \epsilon g(x)\) for all \(x>x_0\). This is about convergence time?

OpenStudy (zzr0ck3r):

\(|f(x)| \le \epsilon |g(x)| \)

OpenStudy (anonymous):

to be honest with you i have no idea if you could just further more expand on that it would be more understandable for me if you dont mind

OpenStudy (zzr0ck3r):

ok so let \(f(x) = 3x\) and let \(g(x)=3x+2\) then \(f\) is \(O(g(x))\) because for all \(x>1\) we have \(f(x) \le 1* g(x)\)

OpenStudy (zzr0ck3r):

this is a very basic example.

OpenStudy (zzr0ck3r):

my choice of \(x>1\) was random...we could have choose any number as long as the number we multiplied \(g(x)\) by was greater than \(1\)/

OpenStudy (anonymous):

so g(x) has to be greater than f(x) for it to be considered as a big o notation? @zzr0ck3r

OpenStudy (zzr0ck3r):

no there is some point that for all other points afterwards, f(x) is less than (or equal) to g(x) times some positive number

OpenStudy (zzr0ck3r):

so if f(x) <= 0.00005*g(x) for all x> 2^256 then f is Og

OpenStudy (anonymous):

ok got it

OpenStudy (zzr0ck3r):

so at some point f is bounded by g times some positive number

OpenStudy (zzr0ck3r):

we don't care when, as long as its for all x after that spot and we don't care about the number g is multiplied by as long as its positive

OpenStudy (zzr0ck3r):

you have no idea why you are using it?

OpenStudy (zzr0ck3r):

Are you doing something with algorithms?

OpenStudy (anonymous):

yes

OpenStudy (zzr0ck3r):

on computers?

OpenStudy (anonymous):

yup

OpenStudy (anonymous):

but its basic we're not going through computer codes yet

OpenStudy (zzr0ck3r):

so you are talking about the time it takes the algorithm to do its thing.

OpenStudy (zzr0ck3r):

discrete is hard but can be fun.

OpenStudy (anonymous):

no not really were just going over some stuff in class i have a test later on today i just want to have a more of an idea about the big o notation

OpenStudy (anonymous):

trust me im basically surviving

OpenStudy (zzr0ck3r):

maybe look up Lipchitz continuity. It is very similar (I think)

OpenStudy (anonymous):

can you help me with these ● a | b ● the Division algorithm ● mod ● congruence class modulo n

OpenStudy (anonymous):

a | b the Division algorithm mod congruence class modulo n

OpenStudy (anonymous):

mod is something i already know

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!