Got Homework?
Connect with other students for help. It's a free community.
Here's the question you clicked on:
 0 viewing
xEnOnn
Group Title
For bigO complexity equations, how is something like \(\frac{N(N1)}{2}\) simplifies to just \(O(N^2)\)? I know the constants can be ignored because they are not significant, but when expanded,
For complexity equations, how is something like\[\frac{N(N1)}{2} = \frac{N^2N)}{2}\]
Only the \(2\) is a constant, the other \(N\) is not but why does it end up to only \(O(N^2)\)?
 2 years ago
 2 years ago
xEnOnn Group Title
For bigO complexity equations, how is something like \(\frac{N(N1)}{2}\) simplifies to just \(O(N^2)\)? I know the constants can be ignored because they are not significant, but when expanded, For complexity equations, how is something like\[\frac{N(N1)}{2} = \frac{N^2N)}{2}\] Only the \(2\) is a constant, the other \(N\) is not but why does it end up to only \(O(N^2)\)?
 2 years ago
 2 years ago

This Question is Closed

ktobah Group TitleBest ResponseYou've already chosen the best response.1
Look, we have : \[\frac{ N^{2}  N }{ 2 } = \frac{ 1 }{ 2 } N^{2}  \frac{ 1 }{ 2 } N\] So when we talk about the complexity, we usually ignore N because it's very very small than \[N^{2}\] Now we have Complexity equal : \[\frac{ 1 }{ 2 } N^{2}\] So with the O notation, the complexity will be : \[O(N^{2})\] Good luck.
 2 years ago
See more questions >>>
Your question is ready. Sign up for free to start getting answers.
spraguer
(Moderator)
5
→ View Detailed Profile
is replying to Can someone tell me what button the professor is hitting...
23
 Teamwork 19 Teammate
 Problem Solving 19 Hero
 Engagement 19 Mad Hatter
 You have blocked this person.
 ✔ You're a fan Checking fan status...
Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.