GO-V.ORG
As seen in

Akra–Bazzi method

In computer science, the Akra–Bazzi method, or Akra–Bazzi theorem, is used to analyze the asymptotic behavior of the mathematical recurrences that appear in the analysis of divide and conquer algorithms where the sub-problems have substantially different sizes.[src] It is a generalization of the master theorem for divide-and-conquer recurrences, which assumes that the sub-problems have equal size.[src] It is named after mathematicians Mohamad Akra and Louay Bazzi.[src]

In computer science, the Akra–Bazzi method, or Akra–Bazzi theorem, is used to analyze the asymptotic behavior of the mathematical recurrences that appear in the analysis of divide and conquer algorithms where the sub-problems have substantially different sizes.[src] It is a generalization of the master theorem for divide-and-conquer recurrences, which assumes that the sub-problems have equal size.[src] It is named after mathematicians Mohamad Akra and Louay Bazzi.[src] T(x)=g(x) + \sum_{i=1}^k a_i T(b_i x + h_i(x))\qquad \text{for }x \geq x_0.[src] The conditions for usage are: sufficient base cases are provided a_i and b_i are constants for all i a_i > 0 for all i 0 for all i \left|g'(x)\right| \in O(x^c) , where c is a constant and O notates Big O notation \left| h_i(x) \right| \in O\left(\frac{x}{(\log x)^2}\right) for all i x_0 is a constant The asymptotic behavior of T(x) is found by determining the value of p for which \sum_{i=1}^k a_i b_i^p = 1 and plugging that value into the equation: T(x) \in \Theta \left( x^p\left( 1+\int_1^x \frac{g(u)}{u^{p+1}}du \right)\right) (see Θ).[src] Intuitively, h_i(x) represents a small perturbation in the index of T .[src] By noting that \lfloor b_i x \rfloor = b_i x + (\lfloor b_i x \rfloor - b_i x) and that the absolute value of \lfloor b_i x \rfloor - b_i x is always between 0 and 1, h_i(x) can be used to ignore the floor function in the index.[src] Similarly, one can also ignore the ceiling function.[src] For example, T(n) = n + T \left(\frac{1}{2} n \right) and T(n) = n + T \left(\left\lfloor \frac{1}{2} n \right\rfloor \right) will, as per the Akra–Bazzi theorem, have the same asymptotic behavior.[src] Suppose T(n) is defined as 1 for integers 0 \leq n \leq 3 and n^2 + \frac{7}{4} T \left( \left\lfloor \frac{1}{2} n \right\rfloor \right) + T \left( \left\lceil \frac{3}{4} n \right\rceil \right) for integers n > 3 .[src] In applying the Akra–Bazzi method, the first step is to find the value of p for which \frac{7}{4} \left(\frac{1}{2}\right)^p + \left(\frac{3}{4} \right)^p = 1 .[src] In this example, p=2 .[src] Then, using the formula, the asymptotic behavior can be determined as follows: \begin{align} T(x) & \in \Theta \left( x^p\left( 1+\int_1^x \frac{g(u)}{u^{p+1}}\,du \right)\right) \\ & = \Theta \left( x^2 \left( 1+\int_1^x \frac{u^2}{u^3}\,du \right)\right) \\ & = \Theta(x^2(1 + \ln x)) \\ & = \Theta(x^2\log x).[src] \end{align} The Akra–Bazzi method is more useful than most other techniques for determining asymptotic behavior because it covers such a wide variety of cases.[src] Its primary application is the approximation of the running time of many divide-and-conquer algorithms.[src] For example, in the merge sort, the number of comparisons required in the worst case, which is roughly proportional to its runtime, is given recursively as T(1) = 0 and T(n) = T\left(\left\lfloor \frac{1}{2} n \right\rfloor \right) + T\left(\left\lceil \frac{1}{2} n \right\rceil \right) + n - 1 for integers n > 0 , and can thus be computed using the Akra–Bazzi method to be \Theta(n \log n) .[src] ==See also== Master theorem (analysis of algorithms) Asymptotic complexity[src]

20 sentences · 20 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Akra–Bazzi method." encyclopegia.org, 2025, https://encyclopegia.org/wiki/akra-bazzi-method. Accessed 04 December 2026.

Chicago

"Akra–Bazzi method." encyclopegia.org. Accessed December 4, 2026. https://encyclopegia.org/wiki/akra-bazzi-method.

APA

encyclopegia.org. (2025). Akra–Bazzi method. Retrieved December 4, 2026, from https://encyclopegia.org/wiki/akra-bazzi-method

Accessed December 4, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1330486464 · 0.5 · snapshot enwiki-001330486464

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.