Пункт 8

Мастер-теорема

Пусть имеется рекуррентное соотношение:

T⁡(n)={a⋅T⁡(nb)+O⁡(nc),n>1O⁡(1),n=1 T of n equals 2 cases Case 1: a times T of open paren n over b close paren plus O of open paren n to the c-th power close paren comma n is greater than 1 Case 2: O of 1 comma n equals 1

Где a∈ℕ,b∈ℝ,c∈ℝ+,b>1 a is a member of the natural numbers comma b is a member of the real numbers comma c is a member of r-plus comma b is greater than 1

Тогда:

T⁡(n)={O⁡(nc)c>logb⁡(a)O⁡(nc⁢log⁡(n))c=logb⁡(a)O⁡(nlogb⁡(a))c<logb⁡(a) T of n equals 3 cases Case 1: O of open paren n to the c-th power close paren c is greater than the log base b of a Case 2: O of open paren n to the c-th power log n close paren c equals the log base b of a Case 3: O of open paren n raised to the log base b of a power close paren c is less than the log base b of a

Доказательство

TODO TODO

пока что мне лень его ботать, оно есть тута: https://neerc.ifmo.ru/wiki/index.php?title=%D0%9C%D0%B0%D1%81%D1%82%D0%B5%D1%80-%D1%82%D0%B5%D0%BE%D1%80%D0%B5%D0%BC%D0%B0