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

  • SEARCH
  • Home
  • 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 7588107
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T19:50:30+00:00 2026-05-30T19:50:30+00:00

I just wanted to verify some things did I do the steps below right?

  • 0

I just wanted to verify some things did I do the steps below right?

T(n)   = 3T(n/3) + n  : Theta(nlogn)

O(nlogn)

T(k)   = cklog(k)  k<n

T(n/4) = c(n/3)log(n/3)
       = c(n/3)[logn - log3]
       = c(n/3)logn - c(n/3)log3    

T(n)   = cnlogn-cnlog3 + n

       <= cnlogn -cn + n 
       <= cnlogn -dn **[STEP A]**
       <= cnlogn if c >= d

Omega(nlogn)
   >= cnlogn -cn + n 
   >= cnlogn -dn **[STEP A]**
   >= cnlogn if 0 < c <= d  

I’m having trouble with step A what I ended up for my ranges of c was:

c >= 1 for the upper bound
0 < c <= 1 for the lower bound

Is there a special reason why you would combine cn + n. I can kind of see the logic behind it but is it necessary to do that step? Because then I can do that for like any case…which is a bit weird..

  • 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-30T19:50:31+00:00Added an answer on May 30, 2026 at 7:50 pm

    You were still right until:

    T(n) = cnlogn-cnlog3 + n
         >= cnlogn -cn + n
    

    for Ω(nlogn)

    since it only holds for c <= 0 which is contradictory with our assumption that c >= 0.

    One way to fix the second proof could be:

    T(n) = cnlogn - cnlog3 + n
         = cnlogn - n(clog3 - 1)
         <= cnlogn when c >= 1/log3 
    

    Therefore: T(n) = Ω(nlogn).

    In general, values of lower bound and upper bound don’t matter much. The goal is to find two constants c1 and c2 such that:

    c1*n*logn <= T(n) <= c2*n*logn forall n >= some n0.

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

Sidebar

Related Questions

Just wanted to write some recursion but can't check if the child is in
just wanted to ask is there a possibility to bind some listener to the
just wanted to ask is there a possibility to bind some listener to the
Just wanted some quick help I'm 90% sure i need to use the (this)
Just wanted to know if i am going in the right direction or not.
Just wanted to ask some advice when building a database with mongodb, I have
Just wanted to get an idea for ways (web) developers get round the short
just wanted to gather different ideas and perspectives as to which layer should (and
Just wanted to know if it is possible to disallow the whole site for
Just wanted opinions on a design question. If you have a C++ class than

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.