What is the order of these functions

  • Thread starter Thread starter Gear2d
  • Start date Start date
  • Tags Tags
    Functions
Click For Summary

Homework Help Overview

The discussion revolves around determining the order of functions using Big O notation, specifically comparing the functions 2^x, 3^x, and 3^(x-10). Participants are exploring the definitions and implications of "order" in this context.

Discussion Character

  • Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • Participants are questioning the completeness of the original question, particularly the need for specifying the limit as x approaches a certain value. There is also a focus on the definitions of "order" and the relationships between the functions, such as whether one function is O of another.

Discussion Status

Some participants have provided clarifications regarding the definitions of Big O and Theta notation, while others are exploring the implications of limits in determining the relationships between the functions. There is an ongoing examination of the assumptions and conventions used in the definitions.

Contextual Notes

Participants note the importance of specifying the limit for x and the potential differences in textbook definitions regarding Big O and small o notation. There is also a mention of the need to avoid shifting between different notations without clear justification.

Gear2d
Messages
49
Reaction score
0
I need now what is the order (The Big Oh notation) of these three functions:

2^x
3^x
3^(x-10)
 
Last edited:
Physics news on Phys.org
Gear2d said:
I need now what is the order (The Big Oh notation) of these three functions:

2^x
3^x
3^(x-10)

Your question is incomplete. You need to specify x ->?.
 
Also you should specify what your definition of "order" is. The "big Oh" I am familiar with says that one function is "O" of another function. Saying that g(x) is O(f(x)) (as x -> a) means that \lim_{x\rightarrow a} g(x)/f(x) is a finite number.

Often "order" is given in terms of x going to infinity but even so, your question makes no sense. A function does not just have an "order". It is or is not "O" of another function. Are you asking if 2x= O(3x) or vice-versa?
 
Last edited by a moderator:
Good point guys. I wanted to compare two of them to each other, let's say:

f(x) = 2^x vs. g(x) = 3^x

now from this I have to determine if f=Theta(g), f<Theta(g) or f>Theta(g). Instead of using L'Hospital rule:

c=lim 2^x/3^x = lim (2/3)^x = 0 as x goes to infinite this would mean that f<Theta(g).

I wanted to do this using order where x>1. Would 2^x have O(2^x) and 3^x have O(3^x), where f(n)<g(n)?
 
Gear2d said:
Good point guys. I wanted to compare two of them to each other, let's say:

f(x) = 2^x vs. g(x) = 3^x

now from this I have to determine if f=Theta(g), f<Theta(g) or f>Theta(g). Instead of using L'Hospital rule:

c=lim 2^x/3^x = lim (2/3)^x = 0 as x goes to infinite this would mean that f<Theta(g).

I wanted to do this using order where x>1. Would 2^x have O(2^x) and 3^x have O(3^x), where f(n)<g(n)?
Please don't shift from O(g) to "Theta(g)"!

And since that limit is 0, f(x)= o(g). "Small o" or f= o(g) means that the fraction f/g goest to 0. As I said before, most textbooks give: "f= O(g), as x goes to a" means that f(x)/g(x) goes to a finite limit" which includes 0 so if f(x)= o(g), it follows that f= O(g). Some textbooks however, require that f(x)/g(x) go to a [g]nonzero[/b] finite limit in order that f= O(g) so that does NOT include f= o(g). I recommend that you check the definition in your textbook to be certain which convention it uses.

Oh, and to answer your last question, f= O(f) for any function f so saying "2x= O(2x" (which is what I guess you mean by "2^x have O(2^x)) so "2x= O(2x)" is trivially true. A function doesn't have "an order" except as compared to some other function.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 23 ·
Replies
23
Views
4K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
Replies
9
Views
3K
  • · Replies 5 ·
Replies
5
Views
1K