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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T17:01:29+00:00 2026-05-16T17:01:29+00:00

I am reading thee book "Discrete Mathematics and its Application" by Kenneth H. Rosen

  • 0

I am reading thee book "Discrete Mathematics and its Application" by Kenneth H. Rosen
I am now in the chapter Growth of Functions and trying the Exercise of that.[5th Edition page 142]

I am stuck here:

Determine whether these functions are in O(x^2) [(big oh of x’s square]

[1] f(x) = 2^x,

[2] f(x) = (x^4)/2

[3] f(x) = floor(x) * floor(x)

I can not do the 1st one. Will anybody please help?

I have done the 2nd and 3rd as follows. Please check and comment.

[2]

if f(x) = (x^4)/2 is O(x^2) for x > k (k = any constant, C = any constant)

___then |(x^4)/2| <= C|.(x^2)| for x > k

___or |(x^2)| <= 2C for x > k

___or x <= sqrt(2C) for x > k

___or x<= C1 [ C1 = sqrt(2c) = Constant]

___but this contradicts with x > k where k is any constant

so f(x) is not O(x^2)

[3]

 f(x) = floor(x) * floor(x) <= x * x for x > 1
__or f(x) <= x^2 for x>1
__so f(x) is O(x^2) taking C = 1 and k = 1 as witness

Please help me in the 1st one.

  • 1 1 Answer
  • 1 View
  • 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-16T17:01:30+00:00Added an answer on May 16, 2026 at 5:01 pm

    f(x) is in O(g(x)) exactly when f(x) <= a*g(x)+b for large x and fixed a and b. One method from elementary calculus is to divide and take the limit:

    lim(f(x)/g(x)) as x->inf

    If this is zero, then f(x) grows strictly slower than x^2. If it’s any other finite number, then the two functions are in the same big-O class (and that number is your C-witness). If it’s infinity, then f(x) is NOT O(x^2).

    The simpler approach is just to look at the largest power of x (for polynomials) or just know that k^x grows faster than x^k for all fixed k greater than one. (Hint: this is your answer.)

    Big-O notation is something you should be able to eyeball. In fact, if you aren’t presently this comfortable with the relations between algebraic functions, then you’re better off to drop the algorithms class and switch to a math class first until you have good grades in calculus. Then, you will have no trouble at all with big-O notation.

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

Sidebar

Related Questions

I was trying to contact the author of a book I am reading on
Reading the Jon Skeet book, I have found (some time now) the use of
reading the SCJP book, I've found something like this in the chapter 1 self-test
Reading the MCIMX50 Application Processor Reference Manuals on page 1368 (Section 33.3) there is
Reading the Scala by Example book and there is this example when Martin explains
Reading among the list of possibilities of the Java ME platform, its possible for
Reading the book I found the following: The way of thinking when you model
Reading through Thinking in Java i stuck in ex:6 of Inner Classes chapter. Exercise
Reading along with the agile book, it says this in a footnote: ... You
Reading the documentation on the changes to UIViewControllers in iOS, I trying to figure

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.