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 787565
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T21:13:22+00:00 2026-05-14T21:13:22+00:00

In the Master Theorem , cases 1 & 3 you have if f(n) =

  • 0

In the Master Theorem, cases 1 & 3 you have if f(n) = O(log b of a-e) in case 1, I wondered why one has to subtract the constant e there?

In the third case of the master theorem one has to add a constant… Why is that so?

What is the constant based on?

  • 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-14T21:13:23+00:00Added an answer on May 14, 2026 at 9:13 pm

    You might think of it this way – lets take the third case as an example:
    f(n) = O(n^(log(b a) + e)) for e < 0 (The log is not of (a – e), but rather it’s (log in base b of a) – e)
    What does this mean?
    Lets establish one thing first: The entire blob at the right side – O(n^(log(b a))). This is, in essence, the asymptotic behaviour of the T(n) function, without taking into account the f(n) part of it.
    This part is not perfectly intuitive, but think about it, and you’ll see its correct. (Just calculate some values for f(n) = O(1) and you’ll see I’m right. Since nonexistant f(n) is, for all intents and purposes, O(1).)

    So, given that, we look at the e. What does the e do? It’s lower than zero for sure, we know that thanks to the constraints we put on it, so that means the e will lower the asymptotic “class” (as in, n^2, log n, etc.) when put in the equation. In other words, if you can lower the asymptotic class of the aT(n/b) part and make it equal to f(n), then that means aT(n/b) is asymptotically bigger than f(n), and we act accordingly.
    What this means, and what the master method is all about, is solving the following: O(T(n) – f(n)) = O(f(n)).
    Lets look at the generic form the master method is based upon:
    T(n) = aT(n/b) + f(n)
    The aT(n/b) part, is in essence the loop. The thing that decides how many iterations we will have. The right part, is the body of the loop. The actual work done. If the right side is asymptotically weak to the left side, than the right side matters less, and we have some lovely formulas to decide the asymptotic behaviour if its weaker, equal or bigger. We substract or add the e as I explained above, to find out if it’s bigger, smaller or equal.

    It’s a bit hard for me to explain these kinds of things in text and not in my native language, I hope it was understood.

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

Sidebar

Related Questions

I have 2 master pages. One is intended to be shown in a normal
master branch has these files and folders (simplified): C:\Local\TickZoom\Project>ls file.txt name.txt public public branch
My master page has a contentplaceholder in the head tag. Because I want my
My master GIT branch seams to have some errors thus I'd like to recheck,
I have a master page currently with the below for the title: <title><asp:ContentPlaceHolder ID=TitleContent
I have two entities: Master and Details. When I query them, the resulting query
Recently I have been studying recursion; how to write it, analyze it, etc. I
Master table contains ID and PersonName. Course table contains ID, CourseName. Detail table contains
Master section of window contains a DataGrid. Details section displays a form allowing editing
My master page contains a list as shown here. What I'd like to do

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.