I'm currently working on aysmptotic notation.
I know the basic laws of big theta, O, and omega. But I'm having a little confunsion in understanding simplifying the expressions (if that's even possible).
I'm essentially wondering if the following is true...
Θ(⌈x/4⌉) = Θ(x)
...and if so, I am looking to prove that.
I can show that x is Θ(⌈x/4⌉) and also that ⌈x/4⌉ is Θ(x)
$ $
$0 <= (1)⌈\frac{x}{4}⌉ <= x$
$0 <= x <= (4)⌈\frac{x}{4}⌉$
Hence x is Θ(⌈x/4⌉)
$ $
$0 <= ⌈\frac{x}{4}⌉ <= (1)x$
$0 <= (\frac{1}{4})x <= ⌈\frac{x}{4}⌉$
Hence ⌈x/4⌉ is also Θ(x)
But does this mean that when the cost of a step is Θ(⌈x/4⌉) then that is equivalent of saying the step costs Θ(x)?