TutorialQuestion 1Review the deflnitions of the basic notations such as £, O, ›, o, and !.O-notationFor a given function g(n), denoted by O(g(n)) the set of functions.O(g(n)) =ff(n): there exist positive constants c and n such that00• f(n)• cg(n) for all n‚ n g.0›-notationFor a given function g(n), denoted by ›(g(n)) the set of functions.›(g(n)) =ff(n): there exist positive constants c and n such that00• cg(n)• f(n) for all n‚ n g.0£-notationFor a given function g(n), denoted by £(g(n)) the set of functions.£(g(n)) =ff(n): there exist positive constants c , c , and n such1 2 0that 0• c g(n)• f(n)• c g(n) for all n‚ n g.1 2 0o-notationFor a given function, g(n), we denote by o(g(n)) the set of functions.o(g(n)) = ff(n): for any positive constant c > 0, there exists aconstant n > 0 such that 0• f(n) < cg(n) for all n‚ n g.0 0The implication of this, is that f(n) becomes insigniflcant relativeto g(n) as n approaches inflnity:f(n)lim = 0n!1 g(n)!-notationFor a given function, g(n), we denote by !(g(n)) the set of functions.!(g(n)) = ff(n): for any positive constant c > 0, there exists aconstant n > 0 such that 0• cg(n) < f(n) for all n‚ n g.0 0The implication of this is that g(n) becomes insigniflcant relative tof(n) as n approaches inflnity:166f(n)lim =1n!1 g(n)Question 2What is the difierence between O and o as well as › and !?The difierence between O and o is that O represents an upper boundof the solution for a problem, which may also be ...
Voir