Skip to content
Bezoek de website voor leraren en scholieren →
The Network Pages
  • Themes
    • Algorithms
    • Math Insight
    • Hubs and communities
    • Decisions under uncertainty
    • Real-world networks
    • Human interest
  • Topics
  • Basic Notions
  • Resources
    • Animations
    • Videos
    • Science Illustrations
  • About
  • Search
The Network Pages
Type search term(s) and press enter
Article Hubs and communities

The two community Kuramoto model - Animation

October 20th, 2020 by Janusz Meylahn and Martijn Gösgens
Topics Synchronization

In the interactive simulation below, developed by Martijn Gosgens, you can see how the two-community Kuramoto model works.

In the simulation you are able to adjust a variety of parameters of the model before starting the simulation and seeing what happens. The first parameters you can adjust are the number of nodes (colored dots) in each community.  N_{1} represents the number of nodes in the red community and N_{2} the number of nodes in the green community. Next you are able to adjust the strength with which red nodes attract other red nodes (K_{1}) and the strength with which green nodes attract other green nodes (K_{2}). We are predominantly interested in cases where both K_{1} and K_{2} are positive (but feel free to experiment with negative, i.e. repulsive, K’s). The parameters L_{1} and L_{2} are the strength with which red nodes are attracted (or repulsed) by green nodes and the strength with which green nodes are attracted by red nodes respectively. When these are positive the interaction between the two communities is attractive, when they are negative the interaction is repulsive. The last model parameter you can adjust is the noise strength, D. This should be greater than or equal to zero and it adjusts the amount that the nodes jiggle. Making D larger makes the nodes jiggle more.

In the next bit of the simulation you can adjust how the dots will be placed on the circle initially (when the simulation starts) as well as the natural properties of the oscillators. With the “Frequencies” option you can select “constant zero” or “standard normal”. Selecting “constant zero” gives each dot the property that it would stand still if there where no other dots and selecting “standard normal” gives each dot its own speed it would rotate around the circle with (drawn from a normal distribution). Finally, you can change how the dots start on the circle. The initial positions are taken randomly from two (normal) distributions. By changing u_{1} and u_{2} you adjust the mean of these distributions and by adjusting the slider for r_{1} and r_{2} you adjust how peaked (concentrated) the distribution is.

Let’s consider an example: We will set the number of nodes to 200 per community. We will set both K_1 and K_2 to 5, both L_1 and L_2 to -2 and D to 1. Next we take the Frequencies to be “constant zero”, set both u’s to 0 and both r’s to 0.75. This means that the nodes will initially be fairly concentrated (an r of 1 would be that they are all on the same spot, while 0 is completely spread out on the circle) around the zero point on the circle (the right most point on the circle).

Now click on “Restart Simulation” (maybe restart it a couple of times to check if what you see is repeatable). What do you observe? Why? What happens when you change L_{1} to 2 and L_{2} to -3? What do you observe if you choose different values for r_1, r_2? Take some time to play around with the simulation.

Click here for the answer

What you should see first is that both communities become more concentrated around the zero point. This is as both communities have K’s of 5 which means the nodes would like to be closer to each other. But of course both L’s are negative which means that the green and red nodes repel one another, so what you should see next is that the two communities move apart until they are on opposite sides of the circle.

Click here to have a look at the mathematics behind this simulation!

Would you like to stay up to date when a new post appears on the Network Pages?
Subscribe to our mailing list
Follow us
Loading

Related articles

  • Article

    The puzzle of creating a puzzle•••

    January 20 2025, by Soeren Terziadis
    How to create curved Nonogram puzzles and why it may be harder than you think!
    Read article
  • Article

    What have Donald Trump, an epidemiologist and a rock in common?••

    September 30 2022, by Federico Capannoli
    In this article, dear reader, I am going to show you in which way the development of your opinion during the last political issue, the spread of a virus among your acquaintances during the current pandemic, and the alignment of some particles lying inside the device from which you are reading this article are extremely comparable phenomena.
    Read article
  • Article

    How many colors do you need to color a map?••

    June 26 2022, by Jasper Konijn
    A mathematician once told me that problems that are very simple to state can be very deceiving, and sometimes turn out to be extremely difficult to solve. One such problem was the Four Color Problem. 
    Read article
  • Article

    What is the chance of throwing six with a fair die?•

    May 13 2024, by Twan Koperberg
    If, after reading the title, your immediate response is to shout "1/6-th", then you have correctly answered the question. Well done! However, in this article we will focus on the meaning of this question. What exactly is this "chance" of which you've just exclaimed it equals 1/6-th?
    Read article
  • Article

    The Elegant Heist: Mastering the Art of Necklace Splitting••

    April 6 2024, by Yilin Li
    Ever wondered how stolen necklaces are tactfully divided? Join us on a captivating journey into the math under necklace splitting! This journey will lead us to a wonderful and very important theorem in mathematics, the Borsuk-Ulam theorem.
    Read article
footer logo
The Network Pages is sponsored by the Netherlands Organisation for Scientific Research (NWO) through the Gravitation grant "NETWORKS", the Vici grant of R.W. van der Hofstad, and by the European Union’s Horizon 2020 research and innovation programme under the Marie Skłodowska-Curie grant agreement No 945045 (PhD students) and grant agreement No 101034253 (postdoctoral fellows).
The Network Pages
  • Themes
    • Algorithms
    • Math Insight
    • Hubs and communities
    • Decisions under uncertainty
    • Real-world networks
    • Human interest
  • Topics
  • Basic Notions
  • Resources
    • Animations
    • Videos
    • Science Illustrations
  • About
  • Search