Is x^3 O(x^4) but x^4 not O(x^3)?

  • Thread starter Thread starter nicnicman
  • Start date Start date
  • Tags Tags
    Proof Relationship
nicnicman
Messages
132
Reaction score
0

Homework Statement


To establish a big - O relationship, find witnesses C and k such that |f(x)| <= C|g(x)| whenever x > k.

Show that x^3 is O(x^4) but that x^4 is not O(x^3).


Homework Equations


If f(x) is O(g(x)) then there is a C such that f(x) <= Cg(x).


The Attempt at a Solution



If f(x) is O(g(x)) then there is a C such that f(x) <= Cg(x).
Thus, if x^3 is O(x^4), then x^3 <= C(x^4).
This is true for all C > 0 when C is a real number.

Similarly, if x^4 is O(x^3) then
x^4 <= Cx^3.
x <= C (divide both sides by x^3)
However, x <= C can not be true for any C. Thus x^4 is not O(x^3).

I'm not sure about this proof because I didn't provide witnesses C and k as the instructions called for. Big-O problems confuse me and I'm not sure if this proof is correct. Any suggestions are appreciated.
 
Physics news on Phys.org
Any suggestions?
 
nicnicman said:
If f(x) is O(g(x)) then there is a C such that f(x) <= Cg(x).
Thus, if x^3 is O(x^4), then x^3 <= C(x^4).
This is true for all C > 0 when C is a real number.
What is true? x3≤Cx4 if and only if x ≥ 1/C. Perhaps this can help you to find some values of k and C.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top