How to Perform Operations on Big O Terms?

AI Thread Summary
The discussion centers on the need for a standardized algorithm or procedure for performing operations on big O terms, particularly in the context of computer algebra systems (CAS). Specific examples include expressions like (x-1) * O(x) and O((x-a)²), where 'a' is a positive number. The initial inquiry highlights a desire for algorithmic definitions and research papers that detail how to compute the order of an expression, especially in multivariate scenarios. While the Wikipedia page on big O notation is acknowledged as informative, it lacks the algorithmic depth sought by the user. The conversation suggests that big O notation is primarily applied to specific types of functions, such as powers or logarithms, and emphasizes that while wrapping estimates in big O notation is straightforward, the challenge lies in accurately estimating the functions themselves. The discussion concludes with a suggestion to focus on more practical applications rather than the complexities of big O operations.
Avichal
Messages
294
Reaction score
0
Is there a standard algorithm or procedure that defines addition, multiplication of big O terms.

I want definitions for problems like:-
1) (x-1) * O(x)
2) O((x-a)2) where a is some positive number
etc.

Since I want to implement this on a computer I would prefer some algorithm or paper that defines and tells you how to deal with operations on big O terms.
Thank you!
 
Technology news on Phys.org
The very first hit for "big O notation" was http://en.wikipedia.org/wiki/Big_O_notation =. Now I believe you would not have posted questions, answers to which are so easily found, so I assume there is a problem with that page. What is it?
 
Yes, I had a look at the Wikipedia page. It's great but I wanted something more algorithmic.
I am looking for something like a research paper which would algorithmic-ally explain how to compute order of an expression.
For e.g.:- O(x) + O(y) .. multivariate order arithmetic is tough to handle
O(x-a) .. order around some arbitrary point

Basically I want it from the perspective of implementing a computer algebra system (CAS)
 
I am not aware of such papers and I am not convinced this is something one should be bothered with. The big O notation is used almost exclusively with very particular arguments, such as powers of a variable or logarithms. The notation itself is never the most difficult, or even just difficult, thing in any research. Finding an estimate is the difficult part, wrapping it in the big O notation is trivial.

I suggest that you tackle something more useful.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...
Back
Top