Complexity Definition and 155 Threads

  1. P

    I Connection between absolute continuity of function and measure

    Let ##m## be Lebesgue measure. It is another proposition that the functions ##NBV## are in one-to-one correspondence between complex Borel measures, e.g. ##F\in NBV## induces a complex measure ##\mu_F## such that ##F(x)=\mu_F((-\infty,x])##. Then in Folland's real analysis text, I'll omit the...
  2. R

    Comp Sci Solving Complexity Issues: Merging Algorithms

    So I have this problem to solve, I was thinking that for k=2, the threshold value is too low and inefficient, but I'm not sure when k is at logn or more. If 2 sorting algorithms have the same complexity, won’t merging them be pointless in terms of running time? For b), i think the merged...
  3. shivajikobardan

    MHB Time complexity of Breadth First Search, why and how?

    Firstly, how is time complexity of BFS $O(b^d)$. Say I have this tree with goal n, how do I calculate time complexity for it? Assume left to right traversal. I know the answer is a,b,c,x1,d,e,f,i,j,k,g,h,z,l,m,n. But I am not sure how to calculate time complexity here using the above formula
  4. C

    Comp Sci Complexity for generating strings of length k from CNF grammar

    Here's the following code I've written for generating strings of length k given a CNF grammar ( Chomsky Normal Form grammar ) ( The code is a recursive variant of the CYK algorithm ). The algorithm is recursive and uses memoization. def generate_language(rule_dict, start_var, k): mem =...
  5. C

    A Compactness and complexity in electrodynamics

    As human beings, we tend to act and observe and think over time periods spanning a few milliseconds to several decades (or even centuries.) Essentially all phenomena that we directly engage with in everyday life are electrodynamical (with quantum electrodynamics over reasonably short time and...
  6. paulrk

    Calculate complexity of the game of life (cellular automata)

    I want to calculate the kolmogorov complexity of n evolution of a game of game of life(game of life is a kind of cellular automata). I’m not searching for the complexity of a certain pattern of cells but for the total complexity of an initial set of cells over n evolutions. Does it make sense to...
  7. Arman777

    Python Complexity of the Steganography Encryption Method

    I have implemented steganography encryption and decryption process, and I wondered if someone could decrypt the message in these conditions; (a) without having the original image (b) having the original image. The encryption starts from the first color code and the first pixel. (c) having the...
  8. B

    Evaluate the complexity of this graph coloring algorithm

    Hello everybody, I should evaluate the complexity of this graph coloring algorithm. To do this, I use the adjacency matrix in which the graph nodes are the elements on the diagonal, while the elements outside the diagonal indicate if a node is adjacent to another ##(A_{i,j} = 1)## or not...
  9. TimeSkip

    I Is Complexity in Mathematics Determinate?

    When the proof justifies the theorem, by a growing alphabet, then is it possible to talk about the complexity of the theorem via the growing alphabet of the theorems proof? In as short as possible, would it be possible to entertain the notion that complexity in non-congruent mathematics is...
  10. SSequence

    I What is Integer Complexity and Why Does It Matter?

    Not a question as such, but an interesting notion that I came upon (maybe some other people would find it interesting too). It seems to have been introduced in 1950's and seems a good amount of work has been done on it. For example: 12=(1+1+1)*(1+1+1+1) So the complexity of 12 is 7 since it can...
  11. SadPaul

    Comp Sci Prove Dijkstra's O(E + VlogV) complexity

    My effort: I think that the sorting problem in question is Heap Sort which has an O(logV) complexity, but how can I operate with that information so I can solve this? Can you help me by giving me the outline of an idea?
  12. M

    I Emergence of Complexity and Life

    Life, on first glance, appears to violate the second law of thermodynamics. This is because we see an apparent increase in complexity over time, i.e. a decrease of entropy. The resolution of this apparent violation is supposed to be that the sun provides enough energy and expends enough entropy...
  13. Z

    Request to Improve the Complexity of a Probability Question for students

    Hi, I want to frame the above Probability question for computer science students. I have stated my idea above but I want to refine it so that it becomes a more comprehensive real world problem. Zulfi.
  14. hideelo

    A Hawking Radiation: Understanding Complexity in Black Holes

    If we take the perspective that black holes thermalize (reach maximum entropy) in a very short time and then just sit there and grow in complexity, how do we interpret Hawking radiation in this picture? i.e. you can't just have the state of the black hole keep growing in complexity forever...
  15. A

    Can the evolution of symbionts lead to greater biological complexity?

    Hows this for an idea that struck me one day?OK, most 'bugs' that we get are bacteria that release toxins which react badly with us. There are many more bacteria which live inside us and don't release these toxins, so we don't notice them. It would therefore seem that these non harmful bacteria...
  16. L

    Can Complexity in Life Really Arise by Chance?

    The article under the above name, by John Rennie in the July 2002 Scientific American, has 14 other reasons than the one I wish to illustrate:[Creationist] "8. Mathematically, it is inconceivable that anything as complex as a protein, let alone a living cell or a human, could spring up by...
  17. P

    Can Thought Emanate from a Singular Origin Despite Complexity?

    Since several of you objected to my �singular source of thought� statement (in the Aquinas topic), I thought I�d clarify my thoughts about the matter in one post to everyone.Most of you complained that I have not considered the immense complexity within the brain. Yes, I have.Have you all...
  18. P

    Is Life's Complexity Evidence of an Intelligent Designer?

    This post, which is necessarily long, seeks to summate my argument in the other-sciences forum, concerning 'recreating life' - after considerations of its complex-order. I am posting it here because I believe it to be a sound rational-argument for the existence of an absolutely-intelligent...
  19. S

    Is Cultural Complexity Driven by Information Technology and Chaos Theory?

    (Not sure this belongs in philosophy, but the only other option seemed to be pseudo-science, and I don't like the sound of that. Before I start, I've got to admit, I�m not especially well-versed in any of the concepts this post concerns... I have only a passing familiarity with Chaos Theory...
  20. F

    Will the Future of Science Lead to Simplicity or Complexity in Knowledge?

    I was wondering... As time goes on will our knowledge of physics become more simple or complex? At the present, science (especially astrophysics and quantum mechanics) are getting more complex everyday (Dimensions, strings, more and more particles to name a few). Will Science become very...
  21. L

    What is the origin of DNA's complexity in the beginnings of life?

    DNA is the code of life - the blue-print of life. Somehow (and its irrelevant to this discussion), small mutations of this code have allowed life to 'evolve' over time... so that DNA has also evolved through time with the life it instigates.I don't know the exact details, but suffice to say that...
  22. BillTre

    Interesting Path to Eukaryotic Cell Complexity Proposed

    The Inside-Out hypothesis, proposed in this paper (open access), explains the origin of several eukaryotic cellular structure based upon the cell geometry resulting from expansions cell protrusions becoming the cell's non-nuclear cytoplasm. Here is their summary diagram: and their caption...
  23. E

    Comp Sci Time Complexity Algorithm Proof

    Use the formal definition of Big-Oh to prove that if f (n) and g(n) are nonnegative functions such that f (n) = O(g(n)), f (n) + g(n) = Ω(g(n)). By the definition of Big-Oh: If f(n) and g(n) are non-negative functions such that f(n) = O(g(n)) there must be positive constants c and n0 such...
  24. F

    Complexity of this heap algorithm

    I'm trying to count running time of build heap in heap sort algorithm BUILD-HEAP(A) heapsize := size(A); for i := floor(heapsize/2) downto 1 do HEAPIFY(A, i); end for END The basic idea behind why the time is linear is due to the fact that the time complexity...
  25. R

    I don't understand my prof's notes relating to time complexity

    Problem Statement: I've attached a picture of his notes. For a sorted array, to update it he put: O(logn)+O(1) Relevant Equations: O(n) + O(logn) = O(n) I don't see how it can be O(logn)+O(1) and not O(logn)+O(n) in the worst case After you find the index that needs updating, and you...
  26. kolleamm

    Time complexity for an OS to find a file/directory?

    What is the time complexity for an OS to find a file? Is it O(1) time? Let's say for example, you had a billion files in a single folder, and you wanted to load a file into a string in your program, would the system find a specific file right away, or would there be a longer wait? Let's...
  27. YoungPhysicist

    Time complexity of a binary search

    Binary search works by eliminating half of the objects in a sorted array every time,so shouldn’t it’s time complexity being ##O(\log_2 n)## instead of ##O(\log n)##?
  28. S

    I Would complexity re-emerge if cosmic expansion reversed?

    Imagine that for some reason the current slow expansion of the universe is going to reverse, and the universe is going to collapse back to the pre-inflation state. [Let's make this an assumption without worrying about the mechnism] So we have a very dilute and cold distribution of energy, since...
  29. maxhersch

    Other College Physics: Struggling with Time & Complexity

    I am in my 4th year (3 semesters left including the current one), taking mechanics, E&M, quantum mechanics, and a lab course. For each of the three main courses, we get one problem set per week that's around 5-8 questions. In addition to that there's a lab report due every 1-2 weeks. It really...
  30. F

    I Is fine tuning maximized complexity?

    It is often argued that the constants of nature are so finely tuned for life, that the slightest change to them would disallow life. Is this the same as saying that they are what is required to maximize complexity in the world?
  31. S

    Calculations prior to determining algorithm complexity order

    Hello to everyone who's reading this. The problem that I'm struggling with, and it's solution, are typed below.: Homework Statement PROBLEM STATEMENT: Assume an array [0, ... n - 1] of int, and assume the following code segment: for (int i = 0; i < n - 1; i++) if(a[i] > a[i+1])...
  32. doktorwho

    The order of complexity of the Pascal code -- like n * log(n)....

    Homework Statement The kind of problems i we are currently dealing with in school are like this: Find the order of complexity of the function Homework Equations 3. The Attempt at a Solution [/B] Im suppose to guess or calculate the complexity of this based on code sample. Its in Pascal and...
  33. M

    Java Help-Improving runtime complexity of the method

    Hello everyone, Looking for a more efficient solution to method 'what', in terms of run-time complexity and space. The method finds the largest cell sequence that the organs sum is divided by 3.(Correct me if I'm wrong) As it seems runtime complexity here is O(n ^ 3). I came to solution of O(n ^...
  34. zrek

    I What "language" means in Kolmogorov complexity?

    Please help me to understand the answer I found on mathoverflow. The question was: "Do all uncountable sets contain elements with infinite Kolmogorov complexity?" The reasoning is clear for me, but I'd like to understand every word of the answer, which is the following: "...given a language...
  35. QuantumQuest

    A Viewpoint: Black Holes Produce Complexity Fastest

    Yesterday I came across this article about speed limit on the growth of complexity in quantum gravity, that I found interesting: Theoretical results suggest a precise speed limit on the growth of complexity in quantum gravity, set by fundamental laws and saturated by black holes. The article...
  36. I

    B Is 0 a Real Number, an Imaginary Number, or Both?

    I was just thinking about this question, and I see 3 possible answers: 1) 0 is a purely real complex number. This seems to be the most intuitive, however the one problem is that it shows up on the imaginary numberline. 2) 0 is not real nor imaginary. I understand this one, but I have found one...
  37. X

    Why is the complexity class expression this?

    I'm trying to understand complexity class algorithms off of my professor's lecture notes, but I still can't get a hang of it. void sort(int a[], int N) { //N is the length of the array for (int base=0; base<N; ++base) for (int check=base+1; check<N; ++check) if...
  38. mfb

    Insights The Complexity of Modern Science - Comments

    mfb submitted a new PF Insights post The Complexity of Modern Science Continue reading the Original PF Insights Post.
  39. marcus

    Graph isomorphism problem-advance in complexity research

    There seems to have been a major step forward in complexity research. somebody wrote a pleasant understandable piece about it in Quanta magazine. https://www.quantamagazine.org/20151214-graph-isomorphism-algorithm/ I gave the title an "intermediate" tag because the graph isomorphism problem is...
  40. B

    How can I learn computational complexity?

    Hi all, I was watching a lecture on MIT OpenSource website that is called Algorithmic Lower Bounds: Fun with Hardness Proofs. I am very interested in the content of the lecture, but I couldn't understand most of the information, such as P and some specific terminologies. I tried to look them up...
  41. F

    Can I use the Master Theorem here? (Algorithm Complexity)

    Homework Statement What is the complexity of the following recurrence: T(n) = (9/4)T((2/3)n) + n² Homework Equations My question is: can I use the Master Theorem here? The Attempt at a Solution My attemp: a=9/4 b=3/(1/2) (this is where I think I may be wrong) f(n) = n² so, in this case T(n)...
  42. TheMathNoob

    Average complexity -- worst case of an algorithm

    Homework Statement a Write an algorithm to find the median of three distinct integers a,b,c b Describe D, the set of inputs for your algorithm, in light of the discussion in Section 1.4.3 following Example 1.9. This section discusses Average complexity for an algorithm which involves an...
  43. A

    Complexity of Go: Calculating the Game Tree Estimate

    I have found various Internet sources claiming words to the following effect, regarding the board-game Go: "It is commonly said that no game has ever been played twice. This may be true: On a 19×19 board, there are about 3^361×0.012 = 2.1×10^170 possible positions, most of which are the end...
  44. E

    Structures: dynamic, complexity, organisation

    Hi, I have to make a project for school about the topic on the title. It must be a personal work, i mean i can't choose a difficult subject cause then all my presentation could be just a simple documentation. Also, the project could include just one or two of the topics in the title. I thought...
  45. BWV

    Quantifying the complexity of a system

    Are there generally accepted methods for quantifying the complexity of a system, enabling comparison and the requirements for quantitatively modeling it? Think everyone would agree that in complexity, for example a double pendulum is less complex than the global climate which is in turn less...
  46. Justice Hunter

    Does Black Hole Quantum Complexity Challenge Our Understanding of Wormholes?

    Leonard Susskind talks about Black hole Quantum Complexity in one of his online lectures. I was wondering what you guys on the forums think about this, and what you guys think it means. Here's a link to the video He points out that the complexity increases linearly with time, and at the...
  47. B

    Algebra Seeking the Recommendation on Complexity Theory

    Dear Physics Forum personnel, I am a rising college junior in US with a major in mathematics and an aspiring applied mathematician in the fields of theoretical computing. I just recently got a research project on the complexity theory about the algebraic computation, approximation, and measure...
  48. M

    MHB Differential equations - Decidability and Complexity

    Hey! :o Is someone familiar with the following? We have linear differential equations with polynomial coefficients depending on x. $a_n(x)y^{(n)}+ \dots a_1(x)y^{(1)}+a_0(x)y^{(0)}=b(x)$ There are problems like if there are solutions, if the solutions are linear independent and so on and...
  49. P

    Delay complexity of Boolean functions

    Homework Statement I don't really understand how/why every Boolean function of n variables may be implemented with a delay complexity of O(n). Could someone please try and explain? Homework EquationsThe Attempt at a Solution I was trying to show it using minterms (SOP). There is a maximum of...
  50. S

    Complexity Analysis problem of an Algorithm.

    ##A,B## are symmetric matrices of graphs ##G,H## respectively. For ##x \in G##,consider the graph ##(G-x)##, it has vertices adjacent to ##x## and vertices non adjacent to ##x##.## A_x## is the symmetric matrix of the graph ##(G-x)##, where ##C## is the symmetric matrix of the graph created by...
Back
Top