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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T07:52:37+00:00 2026-05-14T07:52:37+00:00

How to prove this: 4 n = O(8 n ) 8 n = O(4

  • 0

How to prove this:

  1. 4n = O(8n)
  2. 8n = O(4n)?

So what are the C and n0 values for both cases?

  • 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-14T07:52:37+00:00Added an answer on May 14, 2026 at 7:52 am

    EDIT: I tried to clarify I bit more …

    1.
    For a proof (see formal definition of Big-O) we have to find any C and n0, that 4n <= C * 8n for all n > n0.
    So – to prove your case 1 it is all about finding an example for these two values. We will try … the equation I just quoted from wikipedia says:

    f(n) = O(g(n))
    

    if and only if there exists a positive real number C and a real number n0 such that

    |f(n)| <= C * |g(n)| for all n > n0
    

    where f(n) = 4n and g(n)=8n

    4^n    <= C * 8^n
    4^n    <= C * 2^n * 4^n
    1      <= C * 2^n
    

    So we choose C to be 1 and n0 to be 1, too. The equation is true -> case 1 proven.

    2.
    Since I guess, that this is homework – you should give it a try yourself – I can help you a bit more, as soon as you provide results of your own tries.
    Hint: just try to find a C and a n0 there, too – maybe you can prove, that there never exists any pair of C and n0 for the equation … ^^

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

Sidebar

Related Questions

Consider this code: package Prova; import java.util.ArrayList; public class Prova { private ArrayList<String> people;
This one has proven to be a little tricky for me so far. I
This seems like a simple question, but has proven to be difficult to find
I would like to probe a tristate signal using chipscope. According to this answer
Looking for a proven to work algorithm for production. Did see this example but
Trying to prove correctness of a insertion function of elements into a bst I
How to prove const char *p is same as char const *p through code
I'm trying to prove the statement ~(a->~b) => a in a Hilbert style system.
I'd like to prove that a GUID is not unique in a simple test
I have a 2D array of type Variant . The size and values that

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.