0 Daumen
571 Aufrufe

Master-Theorem (einfache Form): Für positive Konstanten a,b,c,d a, b, c, d , sei n=bk n=b^{k} für ein kN k \in \mathbb{N} .
r(n)={a falls n=1 Basisfall cn+dr(n/b) falls n>1 teile und herrsche.  r(n)=\left\{\begin{array}{ll} a & \text { falls } n=1 \text { Basisfall } \\ c n+d r(n / b) & \text { falls } n>1 \text { teile und herrsche. } \end{array}\right.
Es gilt
r(n)={Θ(n) falls d<bΘ(nlogn) falls d=bΘ(nlogbd) falls d>b r(n)=\left\{\begin{array}{ll} \Theta(n) & \text { falls } d<b \\ \Theta(n \log n) & \text { falls } d=b \\ \Theta\left(n^{\log _{b} d}\right) & \text { falls } d>b \end{array}\right.

Aufgabe: Zeigen Sie mit Hilfe des Master-Theorems scharfe asymptotische Schranken für folgende Rekurrenzen.

b) B(1) : =1 B(1):=1 und für n=3k,kN : B(n)=9B(n/3)+4n n=3^{k}, k \in \mathbb{N}: B(n)=9 B(n / 3)+4 n

Ich habe für d in Θ(nlogbd ) 9 eingesetzt, verstehe nicht warum in der Musterlösung 4 eingesetzt wurde:

b) a=1,b=3,c=4,d=9dbT(n)=Θ(nlog34) a=1, b=3, c=4, d=9 \stackrel{d \gg b}{\Rightarrow} T(n)=\Theta\left(n^{\log _{3} 4}\right)

Avatar von

Frag doch mal jemand vom Lehrpersonal. Ich verstehe es jedenfalls auch nicht.

Ein anderes Problem?

Stell deine Frage