| Jay520 said:
|
I'm saying it works because it is true, not that it's true because it works. Important distinction - and it isn't a proof.
Are you convinced? | |||
| Yes | 34 | 58.62% | |
| No | 20 | 34.48% | |
| not sure | 1 | 1.72% | |
| Total: | 55 | ||
| Jay520 said:
|
I'm saying it works because it is true, not that it's true because it works. Important distinction - and it isn't a proof.
Jaydi said:
That's why the notation x=O(n) is not so efficient and shouldn't be used. You should say that x= n h(n) with h(n) tending to a constant when n is getting large. |
Technically h(n) would not be tending to a constant — in typical usage it would be bounded by a constant but not convergent.
To be fair, the Landau notation was invented precisely for its efficiency. If I'm adding together 50 error terms of size O(n) it is a major inconvenience to have to give each of them a separate name, especially as this draws attention away from the main term. Despite its flaws I definitely think it should be used, it's just not for beginners.
dsgrue3 said:
...and that is not a valid way of showing it. |
What if we forget x and simply write:
9.999... = 10*0.999... (I believe we can agree on this.)
9 = 9*0.999... (subtract 0.999...)
1 = 0.999... (divide by 9)
All right here, right? Well then, let's make writing the thing easier and say x = 0.999... The exact same process written in terms of x:
9.999... = 10*0.999... = 10x
9 = 9x (subtract 0.999...)
1 = x (divide by 9)
Now do you claim that when I decide I want to write the equations in a more convenient form using symbols, the whole thing loses validity?
ebw said:
Technically h(n) would not be tending to a constant — in typical usage it would be bounded by a constant but not convergent. To be fair, the Landau notation was invented precisely for its efficiency. If I'm adding together 50 error terms of size O(n) it is a major inconvenience to have to give each of them a separate name, especially as this draws attention away from the main term. Despite its flaws I definitely think it should be used, it's just not for beginners. |
Yes, you're totally right. I was writing an equivalence, not a O.
When I said it lacks efficiency, I meant that students don't even really understand the meaning of a o, which is far more easier to use than O. So I try to avoid these notations as more as possible.