Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3809758
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T15:21:18+00:00 2026-05-19T15:21:18+00:00

The recurrence relation T( n ) = 2T( n /2) + n lg lg

  • 0

The recurrence relation

T(n) = 2T(n/2) + n lg lg n

(where lg is logarithm to base 2) can be solved using the master theorem but I am not very sure about the answer. I have found my answer but am not mentioning it here in order to prevent information cascades. Please help me find the big O and Ω for above.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T15:21:19+00:00Added an answer on May 19, 2026 at 3:21 pm

    None of the 3 cases in the master theorem apply for

    T(n)=2 T(n/2) + n log(log n)
    

    (With arbitrary base, it doesn’t really matter)

    Case 1: f(n)=n log(log n) is ‘bigger’ than nlog2 2=n1

    Case 2: f(n) does not fit n logk(n)

    Case 3: f(n) is smaller than n1+e

    U(n)=2 U(n/2) + n log n
    L(n)=2 L(n/2) + n
    

    You can show that: U(n) >= T(n) and L(n) <= T(n). So U gives a upper bound, and L a lower bound for T.

    Applying the master theorem for U(n), gives

    Case 2: f(n)=n log n=Θ(n1 log1 n) thus U(n)=Θ(n log2 n)

    Applying the master theorem for L(n), gives

    Case 2: f(n)=n =Θ(n1 log0 n) thus L(n)=Θ(n log n)

    Because L(n)<=T(n)<=U(n) it follows that T(n)=O(n log2 n) and T(n)=Ω(n log n)

    Also, note that O(log2n)=O((log n)/log 2)=O((log n) * c)=O(log n).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Why is the recurrence relation of recursive factorial algorithm this? T(n)=1 for n=0 T(n)=1+T(n-1)
I'm solving some recurrence relation problems for Big O and so far up till
I am trying to find the big O bound for the following recurrence relation:
Assuming n=B-A+1, I need to derive the recurrence relation of this algorithm: void recurringalgorithm(int
I'm reading my algorithms text book, and I'm reading about recurrence relations and finding
I'm working out the recurrence relation T(n) = T(3/4 * n) + O(1) It's
Hello I am trying to get the efficiency for Strassen's algorithm but need some
I'm trying to write a general solver for a linear system in Maxima using
I'm working on a recurrence application for events. I have a date range of
I am trying to work out a few guesses on algorithm complexity, but every

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.