I've been trying to figure out how to solve this for a while. We are currently learning the master theorem, and the above recurrence is in my homework. I've tried applying it and found that it can't be used here. So I've started to expand the recurrence out by iteration and got this: $$T(n)=2^k\cdot T\left(\frac n{2^k}\right)+(2^k-1)\left(\frac n{\lg n}\right)$$ If I let $2^k=n$ and $T(1)=1$ I get $$T(n)=n+(n-1)\left(\frac n{\lg n}\right)$$ which leads to $$T(n)=n+\left(\frac{n^2-n}{\lg n}\right)$$ I don't know where to go from here. How would I classify this function's asymptotic complexity?
2026-03-31 13:36:33.1774964193
Finding the asymptotic complexity class of $T(n) = 2T(n/2) + (n/\lg n)$
148 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in ALGORITHMS
- Least Absolute Deviation (LAD) Line Fitting / Regression
- Do these special substring sets form a matroid?
- Modified conjugate gradient method to minimise quadratic functional restricted to positive solutions
- Correct way to prove Big O statement
- Product of sums of all subsets mod $k$?
- (logn)^(logn) = n^(log10+logn). WHY?
- Clarificaiton on barycentric coordinates
- Minimum number of moves to make all elements of the sequence zero.
- Translation of the work of Gauss where the fast Fourier transform algorithm first appeared
- sources about SVD complexity
Related Questions in RECURRENCE-RELATIONS
- Recurrence Relation for Towers of Hanoi
- Solve recurrence equation: $a_{n}=(n-1)(a_{n-1}+a_{n-2})$
- General way to solve linear recursive questions
- Approximate x+1 without addition and logarithms
- Recurrence relation of the series
- first order inhomogeneous linear difference equation general solution
- Guess formula for sequence in FriCAS
- Solve the following recurrence relation: $a_{n}=10a_{n-2}$
- Find closed form for $a_n=2\frac{n-1}{n}a_{n-1}-2\frac{n-2}{n}a_{n-2}$ for all $n \ge 3$
- Young Tableaux generating function
Related Questions in RECURSION
- Solving discrete recursion equations with min in the equation
- Recognizing recursion relation of series that is solutions of $y'' + y' + x^2 y = 0$ around $x_0 = 0$.
- Ackermann Function for $(2,n)$
- Primitive recursive functions of bounded sum
- Ackermann Function for $f(2,n)$ as compared to $f(5,1)$
- Determinant of Block Tridiagonal Matrix
- In how many ways can the basketball be passed between four people so that the ball comes back to $A$ after seven passes? (Use recursion)
- Finding a recursive relation from a differential equation.
- A recursive divisor function
- Are these numbers different from each other?
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
For things like $T(n) = 2T(n/2) + (n/\lg n) $, I throw $n = 2^m$ or even $n = 2^{2^m}$ at it and see what sticks.
If $n = 2^m$, this becomes $T(2^m) = 2T(2^{m-1}) + (2^m/m) $.
Letting $T(2^k) = s(k)$, we get $s(m) = 2s(m-1)+2^m/m$.
Doing the usual, which, in this case, is dividing by $2^m$, this becomes $\frac{s(m)}{2^m} = \frac{s(m-1)}{2^{m-1}}+1/m$.
Letting $r(m) = \frac{s(m)}{2^m}$, this becomes $r(m) = r(m-1)+1/m$ or $r(m) - r(m-1)=1/m$.
Summing from $1$ to $N$, $r(N)-r(0) =\sum_{m=1}^N 1/m \approx \ln N $.
So $r(N) \approx \ln N$. (I may worry about the constant later.)
Working backwards, $s(m)=2^mr(m) \approx 2^m \ln m $.
Therefore $T(2^k) = s(k) \approx 2^k \ln k$ or, replacing $2^k$ by $j$, $k = \lg j$ so that $T(j)\approx j \ln \lg j $, which is Did's result in their comment.
WHen I get this type of result, I know that it needs a more rigorous derivation (in particular, about the $n$ which are not of the form $2^m$ as well as neglected constants), but I am usually pretty comfortable stating that this is the true size of the terms.