I've got a problem – divide-and-conquer part of my program divided my problem into 2 parts: 1/7 and 5/7 of a problem + merging in a linear time. I need to know it's asymptotic complexity. I know, it can be rewritten to $T(n) = T(n/7) + T(5n/7) + O(n)$. Is there a simple way for rewriting this whole thing into big O notation? (Also if you can explain your procedure to me, so I can start using Big O notation on my own, I will be happy!)
2026-05-04 20:15:59.1777925759
Divide and Conquer in big O notation
1.6k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
By the Akra–Bazzi method, we have:
$$T(n) = T(n/7)+T(5n/7)+g(n)$$ $$a_1 = 1, a_2 = 1, b_1 = 1/7, b_2 = 5/7$$ We must find $p$ such that: $$\left(\frac{1}{7}\right)^p+\left(\frac{5}{7}\right)^p=1$$ Since $p<2$ in this case, then the Akra–Bazzi method gives you that: $$T(n) = \Theta(n^{p}(1+n^{1-p}))=\Theta(n)$$