<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article article-type="research-article" dtd-version="2.3" xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Complex Syst.</journal-id>
<journal-title>Frontiers in Complex Systems</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Complex Syst.</abbrev-journal-title>
<issn pub-type="epub">2813-6187</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">1266733</article-id>
<article-id pub-id-type="doi">10.3389/fcpxs.2023.1266733</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Complex Systems</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>A three-state language competition model including language learning and attrition</article-title>
<alt-title alt-title-type="left-running-head">Scialla et al.</alt-title>
<alt-title alt-title-type="right-running-head">
<ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3389/fcpxs.2023.1266733">10.3389/fcpxs.2023.1266733</ext-link>
</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>Scialla</surname>
<given-names>Stefano</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<xref ref-type="fn" rid="fn1">
<sup>&#x2020;</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1539514/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<role content-type="https://credit.niso.org/contributor-roles/formal-analysis/"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/software/"/>
<role content-type="https://credit.niso.org/contributor-roles/validation/"/>
<role content-type="https://credit.niso.org/contributor-roles/visualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Liivand</surname>
<given-names>Jens-Kristjan</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<role content-type="https://credit.niso.org/contributor-roles/formal-analysis/"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/software/"/>
<role content-type="https://credit.niso.org/contributor-roles/validation/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Patriarca</surname>
<given-names>Marco</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<xref ref-type="fn" rid="fn1">
<sup>&#x2020;</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/381788/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<role content-type="https://credit.niso.org/contributor-roles/formal-analysis/"/>
<role content-type="https://credit.niso.org/contributor-roles/funding-acquisition/"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/project-administration/"/>
<role content-type="https://credit.niso.org/contributor-roles/resources/"/>
<role content-type="https://credit.niso.org/contributor-roles/software/"/>
<role content-type="https://credit.niso.org/contributor-roles/supervision/"/>
<role content-type="https://credit.niso.org/contributor-roles/validation/"/>
<role content-type="https://credit.niso.org/contributor-roles/visualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Heinsalu</surname>
<given-names>Els</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/896688/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/funding-acquisition/"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/project-administration/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
<role content-type="https://credit.niso.org/contributor-roles/visualization/"/>
</contrib>
</contrib-group>
<aff id="aff1">
<sup>1</sup>
<institution>National Institute of Chemical Physics and Biophysics</institution>, <addr-line>Tallinn</addr-line>, <country>Estonia</country>
</aff>
<aff id="aff2">
<sup>2</sup>
<institution>Department of Science and Technology for Sustainable Development and One Health</institution>, <institution>Universit&#xe0; Campus Bio-Medico di Roma</institution>, <addr-line>Rome</addr-line>, <country>Italy</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>
<bold>Edited by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/609385/overview">Maxi San Miguel</ext-link>, Institute for Cross Disciplinary Physics and Complex Systems, IFISC (CSIC-UIB), Spain</p>
</fn>
<fn fn-type="edited-by">
<p>
<bold>Reviewed by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2390804/overview">Yoshifumi Kawasaki</ext-link>, The University of Tokyo, Japan</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/43623/overview">Elka Korutcheva</ext-link>, National University of Distance Education (UNED), Spain</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Marco Patriarca, <email>marco.patriarca@gmail.com</email>
</corresp>
<fn fn-type="other" id="fn1">
<label>
<sup>&#x2020;</sup>
</label>
<p>ORCID: Stefano Scialla, <ext-link ext-link-type="uri" xlink:href="http://orcid.org/0000-0003-1582-8743">orcid.org/0000-0003-1582-8743</ext-link>; Marco Patriarca, <ext-link ext-link-type="uri" xlink:href="http://orcid.org/0000-0001-6743-2914">orcid.org/0000-0001-6743-2914</ext-link>
</p>
</fn>
</author-notes>
<pub-date pub-type="epub">
<day>24</day>
<month>08</month>
<year>2023</year>
</pub-date>
<pub-date pub-type="collection">
<year>2023</year>
</pub-date>
<volume>1</volume>
<elocation-id>1266733</elocation-id>
<history>
<date date-type="received">
<day>25</day>
<month>07</month>
<year>2023</year>
</date>
<date date-type="accepted">
<day>07</day>
<month>08</month>
<year>2023</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2023 Scialla, Liivand, Patriarca and Heinsalu.</copyright-statement>
<copyright-year>2023</copyright-year>
<copyright-holder>Scialla, Liivand, Patriarca and Heinsalu</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<abstract>
<p>We develop a three-state agent-based language competition model that takes into account the fact that language learning and attrition are not instantaneous but occur over a finite time interval; i.e., we introduce memory in the system. We show that memory effects significantly impact the dynamics of language competition. Furthermore, we find that including heterogeneity in the linguistic skills of the agents affects the results substantially. We also explore the role of other factors, such as different levels of language learning difficulty, initial population fractions, and daily interaction rates.</p>
</abstract>
<kwd-group>
<kwd>language dynamics</kwd>
<kwd>three-state language competition models</kwd>
<kwd>language learning</kwd>
<kwd>memory effects</kwd>
<kwd>heterogeneity</kwd>
</kwd-group>
<contract-num rid="cn001">PRG1059</contract-num>
<contract-sponsor id="cn001">Eesti Teadusagentuur<named-content content-type="fundref-id">10.13039/501100002301</named-content>
</contract-sponsor>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>Multi- and Cross-Disciplinary Complexity</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec id="s1">
<title>1 Introduction</title>
<p>The past two decades have witnessed a significant growth of research interest in mathematical modeling of language dynamics. This has been mainly driven by the consideration that according to UNESCO, about 43% of the approximately 6,000 languages currently spoken in the world are at risk of extinction by as early as 2050 (<xref ref-type="bibr" rid="B3">Austin, 2008</xref>; <xref ref-type="bibr" rid="B28">Moseley, 2010</xref>). In fact, starting from the seminal work by <xref ref-type="bibr" rid="B1">Abrams and Strogatz (2003</xref>), the study and modeling of language competition have become one of the key research topics in complex systems theory.</p>
<p>While the Abrams&#x2013;Strogatz model, based on Lotka&#x2013;Volterra-type equations, is a two-state model that takes into account monolingual groups only, other models, including the first language competition models by Baggs and Freedman (<xref ref-type="bibr" rid="B5">Baggs et al., 1990</xref>; <xref ref-type="bibr" rid="B4">Baggs and Freedman, 1990</xref>; <xref ref-type="bibr" rid="B6">Baggs and Freedman, 1993</xref>), also incorporate bilingual communities. The various models introduced so far leverage a range of approaches derived not only from population&#x2013;ecology models but also from statistical physics, game theory, and agent-based modeling (<xref ref-type="bibr" rid="B10">Castellano et al., 2009</xref>; <xref ref-type="bibr" rid="B8">Baronchelli, 2016</xref>; <xref ref-type="bibr" rid="B22">Marchetti et al., 2020b</xref>; <xref ref-type="bibr" rid="B21">Marchetti et al., 2020a</xref>; <xref ref-type="bibr" rid="B30">Patriarca et al., 2020</xref>; <xref ref-type="bibr" rid="B23">Marchetti et al., 2021</xref>; <xref ref-type="bibr" rid="B26">Minett and Wang, 2008</xref>; <xref ref-type="bibr" rid="B32">Vazquez et al., 2010</xref>; <xref ref-type="bibr" rid="B33">Ya-ping et al., 2015</xref>). The inclusion of bilingualism has led to models that demonstrate that under certain conditions, the survival of both competing languages, coexisting within a stable bilingual community, can be achieved (<xref ref-type="bibr" rid="B10">Castellano et al., 2009</xref>; <xref ref-type="bibr" rid="B16">Heinsalu et al., 2014</xref>; <xref ref-type="bibr" rid="B23">Marchetti et al., 2021</xref>).</p>
<p>A feature common to many language dynamics models, encompassing bilingualism or not, is the assumption that the key driving force for adopting one language versus another is its relative prestige or perceived status (<xref ref-type="bibr" rid="B1">Abrams and Strogatz, 2003</xref>). This makes sense as it seems plausible that perceived language status played a role, for instance, in the decline of Welsh and Scottish Gaelic in favor of English, or in the progressive disappearance of Quechua, still spoken in some areas of Peru, in favor of Spanish. However, there are other relevant factors that can lead to a language shift (<xref ref-type="bibr" rid="B30">Patriarca et al., 2020</xref>). For example, based on Indian census data, De Silva et al. pointed out that the competition between Hindi and English over two&#xa0;decades from 1991 to 2011 has resulted in the saturation of the bilingual community and a steady growth of Hindi monolinguals, in spite of English being a higher status language (<xref ref-type="bibr" rid="B12">De Silva et al., 2021</xref>). This is related to the Indian political background and educational infrastructures. Anyway, the main parameters of such language competition models are the transition rates, which reflect the influence of different factors, such as language prestige, the underlying socioeconomic and political situation, and language similarity.</p>
<p>It is to be noted that three-state language dynamics models, in which one of the states corresponds to bilinguals, are formally similar to three-state opinion dynamics models, where one of the states can represent undecided individuals (<xref ref-type="bibr" rid="B10">Castellano et al., 2009</xref>). Importantly, in opinion dynamics, in addition to other factors and mechanisms, the role of memory and how it influences even a simple choice, has been recognized and studied (<xref ref-type="bibr" rid="B11">Dall&#x2019;Asta and Castellano, 2007</xref>). For example, some voter models incorporate memory effects in agent-based simulations or through fractional derivatives at the analytical level (<xref ref-type="bibr" rid="B7">Baron et al., 2022</xref>), mimicking an opinion change happening only after several interactions have taken place.</p>
<p>Memory effects are expected to play a relevant role whenever the constituent units themselves are complex and can exchange, record, and process information. Taking memory into account is even more relevant when considering the complex processes that underlie language learning and attrition. In fact, a closer analysis of the learning process reveals that even the acquisition of a single word is based on the memory association between the phoneme associated to the word and, e.g., the image corresponding to a real object (<xref ref-type="bibr" rid="B29">Odgen and Richards, 1923</xref>) and, thus, should be more properly treated at a cognitive modeling level (<xref ref-type="bibr" rid="B22">Marchetti et al., 2020b</xref>; <xref ref-type="bibr" rid="B21">Marchetti et al., 2020a</xref>; <xref ref-type="bibr" rid="B23">Marchetti et al., 2021</xref>; and references therein). Thus, the acquisition of a new language, as well as its retention, is a time-consuming process that depends on multiple interactions over a finite time interval. Cognitive processes and, in particular, memory-related effects, individual language learning aptitudes, and different degrees of difficulty of learning and retaining a language, from both a grammatical and a phonetic viewpoint, may play a crucial role in determining the outcome of language competition.</p>
<p>Most models of language dynamics describe language acquisition and shift as simple instantaneous transitions between different linguistic states driven by the current state of the system. Instead, in the present paper, we study the role of memory in language competition at a phenomenological level, focusing on the accompanying processes of language learning and attrition (<xref ref-type="bibr" rid="B20">Liivand, 2018</xref>). The impact of memory on language adoption is studied as a function of the frequency of interactions with other speakers, taking into account both the difficulty of learning and retaining a foreign language and the possibility of abandoning one&#x2019;s mother tongue after becoming bilingual. The combination of these effects determines in our model the conditions that may lead to language extinction or survival or to the attainment of an equilibrium involving different linguistic communities.</p>
<p>Research on second language acquisition has shown that, in addition to different language usage frequencies among individuals, there exist additional relevant individual factors, including age, personal skills, aptitude, personality, learning style, motivation, and external (cultural and socioeconomical) environment (<xref ref-type="bibr" rid="B14">Ellis et al., 1994</xref>; <xref ref-type="bibr" rid="B15">Griffiths and Soru&#xe7;, 2020</xref>), which shape the observed heterogeneous learning abilities of individuals. However, people also differ vastly in how fast they forget a language (<xref ref-type="bibr" rid="B31">Schmid and K&#xf6;pke, 2019</xref>) for mother tongue attrition and (<xref ref-type="bibr" rid="B25">Mickan et al., 2020</xref>) for foreign language attrition. Without trying to model the detailed origin of individual differences but still willing to incorporate some degree of heterogeneity in individuals, we assigned diversified values to the parameters related to language learning and retaining. The inclusion of heterogeneity in the present study is motivated by the research in language acquisition, but the importance of heterogeneity and quenched disorder in complex processes, from economic stability to network synchronization (<xref ref-type="bibr" rid="B9">Bouchaud, 2009</xref>; <xref ref-type="bibr" rid="B19">Lafuerza and Toral, 2013</xref>; <xref ref-type="bibr" rid="B34">Zhang et al., 2021</xref>), is now well recognized.</p>
<p>This paper is organized as follows. <xref ref-type="sec" rid="s2">Section 2</xref> introduces a three-state agent-based language competition model that takes into account memory effects and the heterogeneity of speakers. We also provide the numerical algorithm to simulate the model. <xref ref-type="sec" rid="s3">Section 3</xref> presents the results for both homogeneous and heterogeneous populations with identical or diversified linguistic capabilities, respectively. We study the time evolutions and phase portraits of the systems and analyze how the language competition outcome depends on the interaction frequency, level of heterogeneity, initial fractions of the monolingual populations, and the asymmetry between language learning difficulties. <xref ref-type="sec" rid="s4">Section 4</xref> outlines the conclusions.</p>
</sec>
<sec id="s2">
<title>2 Model</title>
<sec id="s2-1">
<title>2.1 Overall description</title>
<p>In order to investigate the impact of memory on language competition, we develop an agent-based model of a population of <italic>N</italic> speakers, of whom a fraction <italic>N</italic>
<sub>
<italic>X</italic>
</sub> speak language <italic>X</italic>, a fraction <italic>N</italic>
<sub>
<italic>Y</italic>
</sub> speak language <italic>Y</italic>, and a fraction <italic>N</italic>
<sub>
<italic>Z</italic>
</sub> are bilinguals speaking both languages <italic>X</italic> and <italic>Y</italic>; <italic>N</italic>
<sub>
<italic>X</italic>
</sub> &#x2b; <italic>N</italic>
<sub>
<italic>Y</italic>
</sub> &#x2b; <italic>N</italic>
<sub>
<italic>Z</italic>
</sub> &#x3d; 1. In the following, the symbols <italic>X</italic> and <italic>Y</italic> also represent the language state of <italic>X</italic>- and <italic>Y</italic>-monolinguals, respectively, while <italic>Z</italic> represents the state of bilingual agents. It is assumed that initially, there are no bilinguals, i.e., <italic>N</italic>
<sub>
<italic>Z</italic>
</sub> (<italic>t</italic> &#x3d; 0) &#x3d; 0.</p>
<p>During the time evolution of the system, agents communicate pair-wise. Each time step in the simulations corresponds to 1&#xa0;day, and an agent is assumed to communicate every day on average with other <italic>N</italic>
<sub>int</sub> agents. Thus, there are daily <italic>N</italic>
<sub>int</sub> &#xd7; <italic>N</italic>/2 interactions in the system.</p>
<p>For the choice of the language used in a communication, we apply the following rules.<list list-type="simple">
<list-item>
<p>&#x2022; In the encounter between two monolinguals of different languages, since there is no common language to be used, it is assumed that either speaker will try to use their own language, which the other speaker will make an effort to understand so that eventually, either agent will learn something of the other agent&#x2019;s language.</p>
</list-item>
<list-item>
<p>&#x2022; The language employed in an interaction between a monolingual and a bilingual agent is that of the monolingual agent.</p>
</list-item>
<list-item>
<p>&#x2022; In the case of an encounter between two bilinguals, both languages could be used in principle. The choice of the language employed takes into account the cost of language switching (<xref ref-type="bibr" rid="B24">Meuter and Allport, 1999</xref>; <xref ref-type="bibr" rid="B18">Jackson et al., 2001</xref>; <xref ref-type="bibr" rid="B2">Abutalebi and Green, 2007</xref>; <xref ref-type="bibr" rid="B27">Moritz-Gasser and Duffau, 2009</xref>; <xref ref-type="bibr" rid="B17">Iriberri and Uriarte, 2012</xref>); i.e., it depends on the native language and/or the number of previous communications in one or the other language (see <xref ref-type="sec" rid="s2-3">Section 2.3</xref> for details).</p>
</list-item>
</list>
</p>
<p>In the learning process, memory is taken into account, assuming that a monolingual agent can acquire the other language and become bilingual only through repeated interactions with monolingual speakers of the other language. In the model, we assume that in order to learn a new language and become bilingual, a monolingual agent has to use the new language at least <italic>K</italic> times within a time interval <italic>T</italic>
<sup>
<italic>K</italic>
</sup>. If the monolingual agent has used the new language less than <italic>K</italic> times, as time interval <italic>T</italic>
<sup>
<italic>K</italic>
</sup> elapses, the agent&#x2019;s memory is reset. Importantly, the model will use, in general, two different parameters <italic>K</italic>
<sup>X</sup> and <italic>K</italic>
<sup>Y</sup> for the two languages <italic>X</italic> and <italic>Y</italic>, respectively, reflecting the possible different difficulties of learning; i.e., <italic>K</italic>
<sup>X</sup> (<italic>K</italic>
<sup>Y</sup>) expresses the difficulty of learning language <italic>X</italic> (<italic>Y</italic>) and, therefore, will be used to determine if a monolingual agent speaking language <italic>Y</italic> (<italic>X</italic>) meets the criterion to become bilingual or not.</p>
<p>Memory effects also influence language maintenance. In the model, we assume that a bilingual has to use both languages <italic>X</italic> and <italic>Y</italic> at least <italic>M</italic> times within a time interval <italic>T</italic>
<sup>
<italic>M</italic>
</sup> in order to maintain them (for simplicity, we assume the same <italic>M</italic> and <italic>T</italic>
<sup>
<italic>M</italic>
</sup> for both the first and second languages). If this condition is not fulfilled for one of the languages, that language will be forgotten.</p>
<p>The model variables are discussed in <xref ref-type="sec" rid="s2-2">Section 2.2</xref>, and the dynamical rules of time evolution are listed in <xref ref-type="sec" rid="s2-3">Section 2.3</xref>.</p>
</sec>
<sec id="s2-2">
<title>2.2 Microscopic variables</title>
<p>The state of agent <italic>i</italic> (<italic>i</italic> &#x3d; 1, 2, <italic>&#x2026;</italic> , <italic>N</italic>) at time step <italic>t</italic> is specified by the following set of individual variables:<list list-type="simple">
<list-item>
<p>&#x2022; Language variables (all agents): The linguistic state of agent <italic>i</italic> is recorded by the variable <inline-formula id="inf1">
<mml:math id="m1">
<mml:msubsup>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>, representing the (main) language (<inline-formula id="inf2">
<mml:math id="m2">
<mml:msubsup>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>X</mml:mi>
</mml:math>
</inline-formula> or <italic>Y</italic>), and, if the agent is bilingual, also by the variable <inline-formula id="inf3">
<mml:math id="m3">
<mml:msubsup>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>, recording the second language (<inline-formula id="inf4">
<mml:math id="m4">
<mml:msubsup>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>Y</mml:mi>
</mml:math>
</inline-formula> or <italic>X</italic>, respectively). For a monolingual agent, <inline-formula id="inf5">
<mml:math id="m5">
<mml:msubsup>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:math>
</inline-formula>.</p>
</list-item>
<list-item>
<p>&#x2022; Learning variables (monolinguals): For a monolingual agent <italic>i</italic> <inline-formula id="inf6">
<mml:math id="m6">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, the learning process of a new language at time <italic>t</italic> is tracked by the time counter <inline-formula id="inf7">
<mml:math id="m7">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, recording the time elapsed since the first interaction with a monolingual of the other language, and the language usage counter <italic>k</italic>
<sub>
<italic>i</italic>
</sub>(<italic>t</italic>), counting how many times the speaker has used the other language.</p>
</list-item>
<list-item>
<p>&#x2022; Maintenance variables (bilinguals): For a bilingual agent <italic>i</italic> <inline-formula id="inf8">
<mml:math id="m8">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2260;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, language use at time <italic>t</italic> is tracked by the time counter <inline-formula id="inf9">
<mml:math id="m9">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, measuring the time elapsed since becoming bilingual, and by the usage counters <inline-formula id="inf10">
<mml:math id="m10">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>, <inline-formula id="inf11">
<mml:math id="m11">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> of the two languages. It should be noted that it is assumed that monolinguals do not forget their language, and therefore, <inline-formula id="inf12">
<mml:math id="m12">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> is not tracked for them.</p>
</list-item>
</list>
</p>
</sec>
<sec id="s2-3">
<title>2.3 Numerical algorithm</title>
<p>The algorithm employed in the numerical simulations can be summarized as follows:</p>
<p>0. At time <italic>t</italic> &#x3d; 0, the population contains only a fraction <italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0) of <italic>X</italic>-monolinguals and a fraction <italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0) of <italic>Y</italic>-monolinguals, i.e., <italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0) &#x2b; <italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0) &#x3d; 1 and <italic>N</italic>
<sub>
<italic>Z</italic>
</sub> (0) &#x3d; 0. Counters <inline-formula id="inf13">
<mml:math id="m13">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> and <italic>k</italic>
<sub>
<italic>i</italic>
</sub> are initialized to zero.</p>
<p>1. A set of <italic>N</italic>
<sub>int</sub> &#xd7; <italic>N</italic>/2 couples of agents are randomly selected from the population.</p>
<p>2. Agents <italic>i</italic> and <italic>j</italic> of each extracted couple interact, and their language use is tracked (<xref ref-type="table" rid="T1">Table 1</xref>; <xref ref-type="table" rid="T2">Table 2</xref>).<list list-type="simple">
<list-item>
<p>&#x2022; If both agents <italic>i</italic> and <italic>j</italic> are monolinguals of the same language <inline-formula id="inf14">
<mml:math id="m14">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, nothing happens.</p>
</list-item>
<list-item>
<p>&#x2022; If agents <italic>i</italic> and <italic>j</italic> are monolinguals with different languages <inline-formula id="inf15">
<mml:math id="m15">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2260;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, either of them learns something about the other agent&#x2019;s language, and their language use counters are updated: <italic>k</italic>
<sub>
<italic>i</italic>
</sub> &#x2192; <italic>k</italic>
<sub>
<italic>i</italic>
</sub> &#x2b; 1 and <italic>k</italic>
<sub>
<italic>j</italic>
</sub> &#x2192; <italic>k</italic>
<sub>
<italic>j</italic>
</sub> &#x2b; 1.</p>
</list-item>
<list-item>
<p>&#x2022; If agent <italic>i</italic> is bilingual and agent <italic>j</italic> is monolingual, it is assumed that they communicate in the language of the monolingual agent <italic>j</italic>. In this case, only the usage counter of the bilingual agent <italic>i</italic> is updated: <inline-formula id="inf16">
<mml:math id="m16">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2192;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:math>
</inline-formula> if agent <italic>i</italic> used the main language or <inline-formula id="inf17">
<mml:math id="m17">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2192;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:math>
</inline-formula> if the second language was used. Agent <italic>j</italic> does not learn; consequently, there is no update for agent <italic>j</italic>. An analogous update is carried out if agent <italic>i</italic> is monolingual and agent <italic>j</italic> is bilingual.</p>
</list-item>
<list-item>
<p>&#x2022; If agents <italic>i</italic> and <italic>j</italic> are both bilinguals and have the same main language, this will be used in the communication, and therefore, <inline-formula id="inf18">
<mml:math id="m18">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2192;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:math>
</inline-formula> and <inline-formula id="inf19">
<mml:math id="m19">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2192;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:math>
</inline-formula>.</p>
</list-item>
<list-item>
<p>&#x2022; If agents <italic>i</italic> and <italic>j</italic> are both bilinguals but their main languages are different, they will make a decision based on their memory information stored in the counters <inline-formula id="inf20">
<mml:math id="m20">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> (see <xref ref-type="table" rid="T2">Table 2</xref>). If both agents have used one of the two languages more frequently, that language will be used. Instead, if the two agents have comparable language use, but for different languages, then the choice will be made randomly. Depending on the language used, the corresponding counters of agents <italic>i</italic> and <italic>j</italic> are updated.</p>
</list-item>
</list>
</p>
<table-wrap id="T1" position="float">
<label>TABLE 1</label>
<caption>
<p>Possible encounters between agents <italic>i</italic> and <italic>j</italic>, the language used, and corresponding updates of their variables (time counters are always updated; see text for details). Here, <italic>X</italic>, <italic>Y</italic>, and <italic>Z</italic> denote the linguistic state of the speaker.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left">Encounter of agents <italic>i</italic> &#x2b; <italic>j</italic>
</th>
<th align="center">Language used</th>
<th align="left">Variable update</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">
<italic>X</italic> &#x2b; <italic>X</italic>
</td>
<td align="center">
<italic>X</italic>
</td>
<td align="left">Neither of the agents learns: no updates</td>
</tr>
<tr>
<td align="left">
<italic>Y</italic> &#x2b; <italic>Y</italic>
</td>
<td align="center">
<italic>Y</italic>
</td>
<td align="left">Neither of the agents learns: no updates</td>
</tr>
<tr>
<td align="left">
<italic>X</italic> &#x2b; <italic>Y</italic>
</td>
<td align="center">
<italic>X</italic> and <italic>Y</italic>
</td>
<td align="left">Both agents learn something of the other language, and their</td>
</tr>
<tr>
<td align="left">&#x2003;</td>
<td/>
<td align="left">interaction counters are updated: <italic>k</italic>
<sub>
<italic>i</italic>
</sub> &#x2192; <italic>k</italic>
<sub>
<italic>i</italic>
</sub> &#x2b; 1, <italic>k</italic>
<sub>
<italic>j</italic>
</sub> &#x2192; <italic>k</italic>
<sub>
<italic>j</italic>
</sub> &#x2b; 1</td>
</tr>
<tr>
<td align="left">
<italic>Z</italic> &#x2b; <italic>X</italic>
</td>
<td align="center">
<italic>X</italic>
</td>
<td align="left">If <italic>X</italic> is the main (second) language of the bilingual speaker <italic>i</italic>
</td>
</tr>
<tr>
<td align="left">&#x2003;</td>
<td/>
<td align="left">
<inline-formula id="inf21">
<mml:math id="m21">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2192;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:math>
</inline-formula> <inline-formula id="inf22">
<mml:math id="m22">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2192;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left">&#x2003;</td>
<td/>
<td align="left">Agent <italic>j</italic> does not learn: no update for agent <italic>j</italic>
</td>
</tr>
<tr>
<td align="left">
<italic>Z</italic> &#x2b; <italic>Y</italic>
</td>
<td align="center">
<italic>Y</italic>
</td>
<td align="left">If <italic>Y</italic> is the main (second) language of the bilingual speaker <italic>i</italic>,</td>
</tr>
<tr>
<td align="left">&#x2003;</td>
<td/>
<td align="left">
<inline-formula id="inf23">
<mml:math id="m23">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2192;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:math>
</inline-formula> <inline-formula id="inf24">
<mml:math id="m24">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2192;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left">&#x2003;</td>
<td/>
<td align="left">Agent <italic>j</italic> does not learn: no update for agent <italic>j</italic>
</td>
</tr>
<tr>
<td align="left">
<italic>Z</italic> &#x2b; <italic>Z</italic>
</td>
<td align="center">Common main</td>
<td align="left">
<inline-formula id="inf25">
<mml:math id="m25">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2192;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:math>
</inline-formula>, <inline-formula id="inf26">
<mml:math id="m26">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2192;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left">&#x2003;with <inline-formula id="inf27">
<mml:math id="m27">
<mml:msubsup>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</td>
<td align="center">language <italic>X</italic> or <italic>Y</italic>
</td>
<td align="left"/>
</tr>
<tr>
<td align="left">
<italic>Z</italic> &#x2b; <italic>Z</italic>
</td>
<td align="center">
<italic>X</italic> or <italic>Y</italic>
</td>
<td align="left">Interaction counters corresponding to the language used</td>
</tr>
<tr>
<td align="left">&#x2003;with <inline-formula id="inf28">
<mml:math id="m28">
<mml:msubsup>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2260;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</td>
<td align="center">(see <xref ref-type="table" rid="T2">Table 2</xref>)</td>
<td align="left">are updated</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap id="T2" position="float">
<label>TABLE 2</label>
<caption>
<p>Language selection and corresponding criteria in an encounter between two bilinguals with different main languages.</p>
</caption>
<table>
<tbody valign="top">
<tr>
<td rowspan="2" align="left">Use <inline-formula id="inf29">
<mml:math id="m29">
<mml:msubsup>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> if</td>
<td align="left">
<inline-formula id="inf30">
<mml:math id="m30">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3e;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</td>
<td rowspan="2" align="left">or</td>
<td align="left">
<inline-formula id="inf31">
<mml:math id="m31">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</td>
<td rowspan="2" align="left">or</td>
<td align="left">
<inline-formula id="inf32">
<mml:math id="m32">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3e;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf33">
<mml:math id="m33">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</td>
<td align="left">
<inline-formula id="inf34">
<mml:math id="m34">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3c;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</td>
<td align="left">
<inline-formula id="inf35">
<mml:math id="m35">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3c;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td rowspan="2" align="left">Use <inline-formula id="inf36">
<mml:math id="m36">
<mml:msubsup>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> if</td>
<td align="left">
<inline-formula id="inf37">
<mml:math id="m37">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3c;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</td>
<td rowspan="2" align="left">or</td>
<td align="left">
<inline-formula id="inf38">
<mml:math id="m38">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</td>
<td rowspan="2" align="left">or</td>
<td align="left">
<inline-formula id="inf39">
<mml:math id="m39">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3c;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf40">
<mml:math id="m40">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</td>
<td align="left">
<inline-formula id="inf41">
<mml:math id="m41">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3e;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</td>
<td align="left">
<inline-formula id="inf42">
<mml:math id="m42">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3e;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td rowspan="2" align="left">Toss coin if</td>
<td align="left">
<inline-formula id="inf43">
<mml:math id="m43">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</td>
<td rowspan="2" align="left">or</td>
<td align="left">
<inline-formula id="inf44">
<mml:math id="m44">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3e;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</td>
<td rowspan="2" align="left">or</td>
<td align="left">
<inline-formula id="inf45">
<mml:math id="m45">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3c;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf46">
<mml:math id="m46">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</td>
<td align="left">
<inline-formula id="inf47">
<mml:math id="m47">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3e;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</td>
<td align="left">
<inline-formula id="inf48">
<mml:math id="m48">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3c;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>3. After the <italic>N</italic>
<sub>int</sub> &#xd7; <italic>N</italic>/2 couples of agents extracted have interacted, the time variables are updated for each agent <italic>i</italic>: if agent <italic>i</italic> is monolingual, time counter <inline-formula id="inf49">
<mml:math id="m49">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> is updated, <inline-formula id="inf50">
<mml:math id="m50">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2192;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:math>
</inline-formula>; if agent <italic>i</italic> is bilingual, time counter <inline-formula id="inf51">
<mml:math id="m51">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> is updated, <inline-formula id="inf52">
<mml:math id="m52">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2192;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:math>
</inline-formula>. Furthermore, the system time <italic>t</italic> is updated, <italic>t</italic> &#x2192; <italic>t</italic> &#x2b; 1.</p>
<p>4. Language use counters, time counters, and possible transitions between the monolingual and bilingual state are checked for each agent <italic>i</italic> (see <xref ref-type="table" rid="T3">Table 3</xref>).<list list-type="simple">
<list-item>
<p>&#x2022; If agent <italic>i</italic> is monolingual, the counters <italic>k</italic>
<sub>
<italic>i</italic>
</sub> and <inline-formula id="inf53">
<mml:math id="m53">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> are checked at each time step. If <italic>k</italic>
<sub>
<italic>i</italic>
</sub> &#x3c; <italic>K</italic> and <inline-formula id="inf54">
<mml:math id="m54">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3c;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula>, the learning process continues. If, instead, <italic>k</italic>
<sub>
<italic>i</italic>
</sub> &#x3c; <italic>K</italic> and <inline-formula id="inf55">
<mml:math id="m55">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula>, the counters are reset, <italic>k</italic>
<sub>
<italic>i</italic>
</sub> &#x2192; 0 and <inline-formula id="inf56">
<mml:math id="m56">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2192;</mml:mo>
<mml:mn>0</mml:mn>
</mml:math>
</inline-formula>, and the learning process starts over. If <italic>k</italic>
<sub>
<italic>i</italic>
</sub> &#x2265; <italic>K</italic> and <inline-formula id="inf57">
<mml:math id="m57">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula>, agent <italic>i</italic> becomes bilingual, and the maintenance variables, <inline-formula id="inf58">
<mml:math id="m58">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>, <inline-formula id="inf59">
<mml:math id="m59">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>, and <inline-formula id="inf60">
<mml:math id="m60">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>, are initialized to zero.</p>
</list-item>
<list-item>
<p>&#x2022; If agent <italic>i</italic> is bilingual, the counter <inline-formula id="inf61">
<mml:math id="m61">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> is checked at each time step. If <inline-formula id="inf62">
<mml:math id="m62">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">M</mml:mi>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula>, the language usage counters <inline-formula id="inf63">
<mml:math id="m63">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> and <inline-formula id="inf64">
<mml:math id="m64">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> will be checked. If <inline-formula id="inf65">
<mml:math id="m65">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2265;</mml:mo>
<mml:mi>M</mml:mi>
</mml:math>
</inline-formula> but <inline-formula id="inf66">
<mml:math id="m66">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3c;</mml:mo>
<mml:mi>M</mml:mi>
</mml:math>
</inline-formula>, the second language is forgotten and agent <italic>i</italic> becomes monolingual <inline-formula id="inf67">
<mml:math id="m67">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2192;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>. If <inline-formula id="inf68">
<mml:math id="m68">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3c;</mml:mo>
<mml:mi>M</mml:mi>
</mml:math>
</inline-formula> but <inline-formula id="inf69">
<mml:math id="m69">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2265;</mml:mo>
<mml:mi>M</mml:mi>
</mml:math>
</inline-formula>, the first language is forgotten and the second language is promoted to main language (<inline-formula id="inf70">
<mml:math id="m70">
<mml:msubsup>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2192;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> and <inline-formula id="inf71">
<mml:math id="m71">
<mml:msubsup>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2192;</mml:mo>
<mml:mn>0</mml:mn>
</mml:math>
</inline-formula>). In both cases, the learning variables of the now monolingual speaker are reset, <italic>k</italic>
<sub>
<italic>i</italic>
</sub> &#x2192; 0 and <inline-formula id="inf72">
<mml:math id="m72">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2192;</mml:mo>
<mml:mn>0</mml:mn>
</mml:math>
</inline-formula>. If, instead, both <inline-formula id="inf73">
<mml:math id="m73">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2265;</mml:mo>
<mml:mi>M</mml:mi>
</mml:math>
</inline-formula> and <inline-formula id="inf74">
<mml:math id="m74">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2265;</mml:mo>
<mml:mi>M</mml:mi>
</mml:math>
</inline-formula>, the agent remains bilingual and all the maintenance variables are reset. If both <inline-formula id="inf75">
<mml:math id="m75">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3c;</mml:mo>
<mml:mi>M</mml:mi>
</mml:math>
</inline-formula> and <inline-formula id="inf76">
<mml:math id="m76">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3c;</mml:mo>
<mml:mi>M</mml:mi>
</mml:math>
</inline-formula>, then the second language is forgotten.</p>
</list-item>
</list>
</p>
<table-wrap id="T3" position="float">
<label>TABLE 3</label>
<caption>
<p>Checks made on each agent <italic>i</italic> (<italic>i</italic> &#x3d;1,<italic>&#x2026;</italic> , <italic>N</italic>). If for individual <italic>i</italic>, the conditions are fulfilled, the change described in the column &#x201c;outcome&#x201d; takes place and variables are updated as described in column &#x201c;Updates.&#x201d;</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left">Agent <italic>i</italic>
</th>
<th align="left">Conditions</th>
<th align="left">Outcome</th>
<th align="left">Updates</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td rowspan="6" align="left">Monolingual at each time step</td>
<td align="left">
<italic>k</italic>
<sub>
<italic>i</italic>
</sub> &#x3c; <italic>K</italic> and <inline-formula id="inf77">
<mml:math id="m77">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3c;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula>
</td>
<td align="left">Learning continues</td>
<td align="left">
<inline-formula id="inf78">
<mml:math id="m78">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2192;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left">Or</td>
<td align="left"/>
<td align="left"/>
</tr>
<tr>
<td align="left">
<italic>k</italic>
<sub>
<italic>i</italic>
</sub> &#x3c; <italic>K</italic> and <inline-formula id="inf79">
<mml:math id="m79">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula>
</td>
<td align="left">Fails to become bilingual</td>
<td align="left">
<inline-formula id="inf80">
<mml:math id="m80">
<mml:msub>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2192;</mml:mo>
<mml:mn>0</mml:mn>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left">Or</td>
<td align="left"/>
<td align="left"/>
</tr>
<tr>
<td rowspan="2" align="left">
<italic>k</italic>
<sub>
<italic>i</italic>
</sub> &#x2265; <italic>K</italic> and <inline-formula id="inf81">
<mml:math id="m81">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula>
</td>
<td rowspan="2" align="left">Becomes bilingual</td>
<td align="left">
<inline-formula id="inf82">
<mml:math id="m82">
<mml:msubsup>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo>&#x2192;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2260;</mml:mo>
<mml:mn>0</mml:mn>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf83">
<mml:math id="m83">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2192;</mml:mo>
<mml:mn>0</mml:mn>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td rowspan="10" align="left">Bilingual at <inline-formula id="inf84">
<mml:math id="m84">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">M</mml:mi>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula>
</td>
<td rowspan="2" align="left">
<inline-formula id="inf85">
<mml:math id="m85">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2265;</mml:mo>
<mml:mi>M</mml:mi>
</mml:math>
</inline-formula> and <inline-formula id="inf86">
<mml:math id="m86">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3c;</mml:mo>
<mml:mi>M</mml:mi>
</mml:math>
</inline-formula>
</td>
<td align="left">Becomes monolingual</td>
<td align="left">
<inline-formula id="inf87">
<mml:math id="m87">
<mml:msubsup>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2192;</mml:mo>
<mml:mn>0</mml:mn>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left">(forgets second language)</td>
<td align="left">
<inline-formula id="inf88">
<mml:math id="m88">
<mml:msub>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2192;</mml:mo>
<mml:mn>0</mml:mn>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left">Or</td>
<td align="left"/>
<td align="left"/>
</tr>
<tr>
<td rowspan="2" align="left">
<inline-formula id="inf89">
<mml:math id="m89">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3c;</mml:mo>
<mml:mi>M</mml:mi>
</mml:math>
</inline-formula> and <inline-formula id="inf90">
<mml:math id="m90">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2265;</mml:mo>
<mml:mi>M</mml:mi>
</mml:math>
</inline-formula>
</td>
<td align="left">Becomes monolingual</td>
<td align="left">
<inline-formula id="inf91">
<mml:math id="m91">
<mml:msubsup>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2192;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>, <inline-formula id="inf92">
<mml:math id="m92">
<mml:msubsup>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2192;</mml:mo>
<mml:mn>0</mml:mn>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left">(forgets main language)</td>
<td align="left">
<inline-formula id="inf93">
<mml:math id="m93">
<mml:msub>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2192;</mml:mo>
<mml:mn>0</mml:mn>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left">Or</td>
<td align="left"/>
<td align="left"/>
</tr>
<tr>
<td align="left">
<inline-formula id="inf94">
<mml:math id="m94">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2265;</mml:mo>
<mml:mi>M</mml:mi>
</mml:math>
</inline-formula> and <inline-formula id="inf95">
<mml:math id="m95">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2265;</mml:mo>
<mml:mi>M</mml:mi>
</mml:math>
</inline-formula>
</td>
<td align="left">Remains bilingual</td>
<td align="left">
<inline-formula id="inf96">
<mml:math id="m96">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2192;</mml:mo>
<mml:mn>0</mml:mn>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left">Or</td>
<td align="left"/>
<td align="left"/>
</tr>
<tr>
<td rowspan="2" align="left">
<inline-formula id="inf97">
<mml:math id="m97">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3c;</mml:mo>
<mml:mi>M</mml:mi>
</mml:math>
</inline-formula> and <inline-formula id="inf98">
<mml:math id="m98">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3c;</mml:mo>
<mml:mi>M</mml:mi>
</mml:math>
</inline-formula>
</td>
<td align="left">Becomes monolingual</td>
<td align="left">
<inline-formula id="inf99">
<mml:math id="m99">
<mml:msubsup>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2192;</mml:mo>
<mml:mn>0</mml:mn>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left">(forgets second language)</td>
<td align="left">
<inline-formula id="inf100">
<mml:math id="m100">
<mml:msub>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2192;</mml:mo>
<mml:mn>0</mml:mn>
</mml:math>
</inline-formula>
</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>5. The algorithm is reiterated from step 1 until the final simulation time <italic>t</italic> &#x3d; <italic>t</italic>
<sub>fin</sub> is reached or until all speakers become monolinguals of the same language.</p>
<p>It should be noted that instead of using an algorithm where the time and language use counters are reset, as explained previously, one could use an alternative more realistic algorithm based on a moving temporal window, i.e., checking at each time step the language use during the reference time intervals <italic>T</italic>
<sup>
<italic>K</italic>
</sup> or <italic>T</italic>
<sup>M</sup>. For computational convenience, we used the aforementioned algorithm, but we checked that within the parameter range used, the two methods provide equivalent results.</p>
</sec>
<sec id="s2-4">
<title>2.4 Including heterogeneity</title>
<p>As discussed in Introduction, in a language dynamics model that aims to scrutinize the impact of memory and learning processes, it is relevant to take into account that individual linguistic skills to learn or retain a language are different. This heterogeneity may depend on many factors. In our model, the effect of these factors is described in terms of a heterogeneous distribution of the parameters regulating the learning and maintenance of a language, i.e., the associated time intervals and language usage frequencies.</p>
<p>As far as the learning process is concerned, the global language usage thresholds <italic>K</italic>
<sup>X</sup> and <italic>K</italic>
<sup>Y</sup> for learning language <italic>X</italic> and <italic>Y</italic> by monolingual speakers of language <italic>Y</italic> and <italic>X</italic>, respectively, are replaced by a heterogeneous set of parameters <inline-formula id="inf101">
<mml:math id="m101">
<mml:msubsup>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">X</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> and <inline-formula id="inf102">
<mml:math id="m102">
<mml:msubsup>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">Y</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>, respectively, assigned to each agent <italic>i</italic>. Analogously, to include heterogeneity in language retention, in place of a single value <italic>T</italic>
<sup>M</sup>, we extract a different value <inline-formula id="inf103">
<mml:math id="m103">
<mml:msubsup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">M</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> for each agent <italic>i</italic>. Thus, the time period after which a speaker forgets a language is an individual characteristic.</p>
<p>In the following equation, we limit ourselves to considering a specific case with a simple correlation between the threshold values of language usage and attrition times of generic agent <italic>i</italic>.<disp-formula id="e1">
<mml:math id="m104">
<mml:msubsup>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">X</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">X</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>S</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mspace width="0.17em"/>
<mml:msup>
<mml:mrow>
<mml:mi>&#x3c3;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">X</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
</mml:math>
<label>(1)</label>
</disp-formula>
<disp-formula id="e2">
<mml:math id="m105">
<mml:msubsup>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">Y</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">Y</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>S</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mspace width="0.17em"/>
<mml:msup>
<mml:mrow>
<mml:mi>&#x3c3;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">Y</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
</mml:math>
<label>(2)</label>
</disp-formula>
<disp-formula id="e3">
<mml:math id="m106">
<mml:msubsup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">M</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">M</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>S</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mspace width="0.17em"/>
<mml:msup>
<mml:mrow>
<mml:mi>&#x3c3;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">M</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
<mml:mo>.</mml:mo>
</mml:math>
<label>(3)</label>
</disp-formula>
</p>
<p>In the aforementioned three equations, <italic>S</italic>
<sub>
<italic>i</italic>
</sub> is the same random number extracted from a standard normal distribution, the values <italic>K</italic>
<sup>X</sup>, <italic>K</italic>
<sup>Y</sup>, and <italic>T</italic>
<sup>M</sup> represent the means, and <italic>&#x3c3;</italic>
<sup>X</sup>, <italic>&#x3c3;</italic>
<sup>Y</sup>, and <italic>&#x3c3;</italic>
<sup>M</sup> represent the relative standard deviations of the respective distributions. Thus, the standard deviations express the degree of heterogeneity of the agents. Equations <xref ref-type="disp-formula" rid="e1">1</xref>, <xref ref-type="disp-formula" rid="e2">2</xref> describe the learning, and Eq. <xref ref-type="disp-formula" rid="e3">3</xref> describes the language maintenance features of individual <italic>i</italic>. The Gaussian distribution is the most natural one to describe the heterogeneity of the linguistic skills in a population. A value <italic>S</italic>
<sub>
<italic>i</italic>
</sub> &#x3e; 0 in Eq. <xref ref-type="disp-formula" rid="e1">1</xref> or <xref ref-type="disp-formula" rid="e2">2</xref> describes a speaker who needs for learning to practice language <italic>X</italic> or <italic>Y</italic> more times than on average; instead, <italic>S</italic>
<sub>
<italic>i</italic>
</sub> &#x3c; 0 corresponds to the opposite case. The negative sign in Eq. <xref ref-type="disp-formula" rid="e3">3</xref> reflects the fact that, in general, the individuals who learn more slowly are, at the same time, the ones who forget more quickly, and <italic>vice versa</italic>. For the sake of simplicity, we assume that <italic>&#x3c3;</italic>
<sup>X</sup> &#x3d; <italic>&#x3c3;</italic>
<sup>Y</sup> &#x3d; <italic>&#x3c3;</italic>
<sup>M</sup> &#x2261; <italic>&#x3c3;</italic>.</p>
<p>It should be noted that since in Eqs <xref ref-type="disp-formula" rid="e1">1</xref>&#x2013;<xref ref-type="disp-formula" rid="e3">3</xref> <italic>S</italic>
<sub>
<italic>i</italic>
</sub> is extracted from a standard normal distribution, <inline-formula id="inf104">
<mml:math id="m107">
<mml:msubsup>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">X</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>, <inline-formula id="inf105">
<mml:math id="m108">
<mml:msubsup>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">Y</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>,and <inline-formula id="inf106">
<mml:math id="m109">
<mml:msubsup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">M</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> can take also negative values. As long as <italic>&#x3c3;</italic> is small enough, this happens only for a small fraction of the extracted values of <italic>S</italic>
<sub>
<italic>i</italic>
</sub>. In fact, in the following section, we limit ourselves to studying the parameter range <italic>&#x3c3;</italic> &#x2208; (0, 0.5]. For <italic>&#x3c3;</italic> &#x3d; 0.5, agents corresponding to the upper end of the range defined by&#xa0;&#xb1;&#xa0;one standard deviation from the mean learn three times faster (and forget three times more slowly) than agents positioned at the opposite end. Larger values of <italic>&#x3c3;</italic> would lead to unrealistic differences between the individuals. For a given value of <italic>&#x3c3;</italic>, in the case an <italic>S</italic>
<sub>
<italic>i</italic>
</sub> value leads to a negative parameter <inline-formula id="inf107">
<mml:math id="m110">
<mml:msubsup>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">X</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>, <inline-formula id="inf108">
<mml:math id="m111">
<mml:msubsup>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">Y</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>, or <inline-formula id="inf109">
<mml:math id="m112">
<mml:msubsup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">M</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>, that parameter is set to zero.</p>
</sec>
</sec>
<sec sec-type="results|discussion" id="s3">
<title>3 Results and discussion</title>
<sec id="s3-1">
<title>3.1 Simulation parameters</title>
<p>We simulate the model for a population comprising at least <italic>N</italic> &#x3d; 10<sup>3</sup> agents, unless specified differently. We checked that this is a sufficient population size and the results remain unchanged when increasing the number of speakers even up to <italic>N</italic> &#x3d; 10<sup>4</sup>. The simulation time is <italic>N</italic>
<sub>
<italic>t</italic>
</sub> &#x3d; 4 &#xd7; 10<sup>4</sup> days <inline-formula id="inf110">
<mml:math id="m113">
<mml:mo>&#x2248;</mml:mo>
<mml:mn>110</mml:mn>
</mml:math>
</inline-formula> years. We assume that each time step in the simulations corresponds to 1&#xa0;day and each agent has an average number <italic>N</italic>
<sub>int</sub> of daily interactions with other agents. Based on psycho-sociological and epidemiological studies (<xref ref-type="bibr" rid="B13">Valle et al., 2007</xref>; <xref ref-type="bibr" rid="B35">Zhaoyang et al., 2018</xref>) about social interactions, we explore a range of <italic>N</italic>
<sub>int</sub> &#x2208; [8, 24]. We allow for monolinguals of language <italic>Y</italic> (<italic>X</italic>) a time <italic>T</italic>
<sup>
<italic>K</italic>
</sup> &#x3d; 730 days &#x3d; 2 years to acquire language <italic>X</italic> (<italic>Y</italic>), during which they should use the language at least <italic>K</italic>
<sup>X</sup> (<italic>K</italic>
<sup>Y</sup>) times. When exploring the symmetrical case of an equal level of difficulty of language learning, we set <italic>K</italic>
<sup>X</sup> &#x3d; <italic>K</italic>
<sup>Y</sup> &#x3d; 5,110 (i.e., on average, seven practicing events per day to learn a new language). In the asymmetrical case, <italic>K</italic>
<sup>Y</sup> is maintained at 5,110 and <italic>K</italic>
<sup>X</sup> is varied. The ability of bilinguals to retain the native or acquired language is assessed over the time period <italic>T</italic>
<sup>M</sup> &#x3d; 7,300 days &#x3d; 20 years, during which the speakers, to remain bilinguals, should use both languages at least <italic>M</italic> &#x3d; 43,800 times (on average, six times per day). Unless specified differently, we set <italic>&#x3c3;</italic> &#x3d; 0.5 when diversifying <italic>K</italic>
<sup>X</sup>, <italic>K</italic>
<sup>Y</sup>, and <italic>T</italic>
<sup>M</sup> in order to add heterogeneity to the aforementioned model.</p>
<p>It should be noted that the choice of the minimum number of learning interactions needed to acquire a new language, determined by the thresholds <italic>K</italic>
<sup>X</sup>, <italic>K</italic>
<sup>Y</sup>, and <italic>T</italic>
<sup>
<italic>K</italic>
</sup>, as well as of the minimum number of practicing events required to retain a language, determined by <italic>M</italic> and <italic>T</italic>
<sup>M</sup>, is arbitrary. However, studying the dependence of simulation results on the number of daily interactions <italic>N</italic>
<sub>int</sub> per agent is equivalent to varying the aforementioned thresholds while keeping <italic>N</italic>
<sub>int</sub> constant. This is because the competition outcome is mainly determined by the interplay between the daily interaction frequency and model thresholds.</p>
</sec>
<sec id="s3-2">
<title>3.2 Homogeneous population</title>
<p>We begin our study of the effects of memory on language competition dynamics by examining first the case of a homogeneous population.</p>
<p>As long as no bilinguals are present in the system (beginning of the time evolution), a speaker interacts daily, on average, <italic>N</italic>
<sub>
<italic>X</italic>
</sub>(0)<italic>N</italic>
<sub>int</sub> times with <italic>X</italic>-monolinguals and <italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0)<italic>N</italic>
<sub>int</sub> times with <italic>Y</italic>-monolinguals. As discussed in <xref ref-type="sec" rid="s2-3">Section 2.3</xref>, a monolingual &#x2192; bilingual transformation, <italic>X</italic> &#x2192; <italic>Z</italic> (or <italic>Y</italic> &#x2192; <italic>Z</italic>), takes place only if an <italic>X</italic> (or <italic>Y</italic>)-monolingual has used the other language at least <italic>K</italic>
<sup>
<italic>Y</italic>
</sup> (or <italic>K</italic>
<sup>
<italic>X</italic>
</sup>) times within the maximum allowed learning time <italic>T</italic>
<sup>
<italic>K</italic>
</sup>. This implies the following conditions for the transition times <italic>t</italic>
<sub>
<italic>X</italic>
</sub> and <italic>t</italic>
<sub>
<italic>Y</italic>
</sub>:<disp-formula id="e4">
<mml:math id="m114">
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2261;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>/</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:mi mathvariant="normal">n</mml:mi>
<mml:mi mathvariant="normal">t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2264;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mi mathvariant="normal">f</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mspace width="0.3333em" class="nbsp"/>
<mml:mspace width="0.3333em" class="nbsp"/>
<mml:mspace width="0.3333em" class="nbsp"/>
<mml:mi>Y</mml:mi>
<mml:mo>&#x2192;</mml:mo>
<mml:mi>Z</mml:mi>
<mml:mo>,</mml:mo>
</mml:math>
<label>(4)</label>
</disp-formula>
<disp-formula id="e5">
<mml:math id="m115">
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>Y</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2261;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>Y</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>/</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:mi mathvariant="normal">n</mml:mi>
<mml:mi mathvariant="normal">t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>Y</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2264;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mi mathvariant="normal">f</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mspace width="0.3333em" class="nbsp"/>
<mml:mspace width="0.3333em" class="nbsp"/>
<mml:mspace width="0.3333em" class="nbsp"/>
<mml:mi>X</mml:mi>
<mml:mo>&#x2192;</mml:mo>
<mml:mi>Z</mml:mi>
<mml:mo>.</mml:mo>
</mml:math>
<label>(5)</label>
</disp-formula>
</p>
<p>If both conditions are fulfilled, then which of the two possible transformations, <italic>Y</italic> &#x2192; <italic>Z</italic> or <italic>X</italic> &#x2192; <italic>Z</italic>, will take place, i.e., which monolingual community will form the bilingual population, depends on which of the two transition times, <italic>t</italic>
<sub>
<italic>X</italic>
</sub> &#x2264; <italic>T</italic>
<sup>
<italic>K</italic>
</sup> or <italic>t</italic>
<sub>
<italic>Y</italic>
</sub> &#x2264; <italic>T</italic>
<sup>
<italic>K</italic>
</sup>, is smaller. For given values of <italic>N</italic>
<sub>int</sub> and <italic>T</italic>
<sup>
<italic>K</italic>
</sup>, this depends on <italic>K</italic>
<sup>X</sup>, <italic>K</italic>
<sup>Y</sup>, and the initial fractions <italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0) and <italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0). In the symmetrical case, when <italic>K</italic>
<sup>X</sup> &#x3d; <italic>K</italic>
<sup>Y</sup> &#x2261; <italic>K</italic>, the transition type is determined only by the values of <italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0) and <italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0); if <italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0) &#x3d; <italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0), both monolingual populations turn into bilinguals; otherwise, it is the population of the minority language that becomes bilingual. In the asymmetrical case, when <italic>K</italic>
<sup>X</sup> &#x2260; <italic>K</italic>
<sup>Y</sup>, for equal initial population fractions, <italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0) &#x3d; <italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0), the transition type is determined by the values of <italic>K</italic>
<sup>X</sup> and <italic>K</italic>
<sup>Y</sup>: for <italic>K</italic>
<sup>X</sup> &#x3e; <italic>K</italic>
<sup>Y</sup>, the bilingual community will be formed by <italic>X</italic>-monolinguals and for <italic>K</italic>
<sup>Y</sup> &#x3e; <italic>K</italic>
<sup>X</sup> by <italic>Y</italic>-monolinguals, i.e., by the monolinguals of the language that is more difficult to learn. If neither condition is fulfilled, no bilingual community will appear.</p>
<p>In order to illustrate the beginning of the system time evolution, let us consider the example of a population of 100 identical speakers (we use in this example only 100 individuals for the clarity of visualization) with initial population fractions <italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0) &#x3d; 0.6 and <italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0) &#x3d; 0.4. The daily interaction rate is <italic>N</italic>
<sub>int</sub> &#x3d; 16, <italic>K</italic>
<sup>X</sup> &#x3d; <italic>K</italic>
<sup>Y</sup> &#x3d; 5,110, and the transition times for the given parameters are <italic>t</italic>
<sub>
<italic>X</italic>
</sub> &#x3d; 532 and <italic>t</italic>
<sub>
<italic>Y</italic>
</sub> &#x3d; 798, respectively. In this case, since <italic>t</italic>
<sub>
<italic>X</italic>
</sub> &#x3c; <italic>T</italic>
<sup>
<italic>K</italic>
</sup> &#x3c; <italic>t</italic>
<sub>
<italic>Y</italic>
</sub>, all the <italic>Y</italic>-monolinguals will become bilinguals around time <italic>t</italic> &#x3d; <italic>t</italic>
<sub>
<italic>X</italic>
</sub>. Accordingly, in <xref ref-type="fig" rid="F1">Figure 1A</xref>, the lines depicting the usage counters <italic>k</italic>
<sub>
<italic>i</italic>
</sub> of the <italic>Y</italic>-monolinguals stop, while the lines corresponding to the bilinguals&#x2019; language usage counters <inline-formula id="inf111">
<mml:math id="m116">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> and <inline-formula id="inf112">
<mml:math id="m117">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> appear; because <italic>N</italic>
<sub>
<italic>X</italic>
</sub>(<italic>t</italic>) &#x3e; <italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(<italic>t</italic>) &#x2b; <italic>N</italic>
<sub>
<italic>Z</italic>
</sub>(<italic>t</italic>) &#x3d; <italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0), the lines corresponding to <inline-formula id="inf113">
<mml:math id="m118">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> measuring the usage of the acquired language <italic>X</italic> have larger slopes than the lines corresponding to <inline-formula id="inf114">
<mml:math id="m119">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> measuring the usage of the bilinguals&#x2019; first language <italic>Y</italic>. Instead, because after time <italic>t</italic>
<sub>
<italic>X</italic>
</sub>, the monolinguals of language <italic>X</italic> will use only language <italic>X</italic>, both in the communication among themselves and with the bilinguals, their language usage counters <italic>k</italic>
<sub>
<italic>i</italic>
</sub> will remain constant until <italic>t</italic> &#x3d; <italic>T</italic>
<sup>
<italic>K</italic>
</sup>, when they are reset to zero.</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>(Symmetrical case). Time evolutions in a homogeneous system [<bold>(A)</bold> and <bold>(B)</bold>] and in a heterogeneous system with <italic>&#x3c3;</italic> &#x3d; 0.2 [<bold>(C)</bold> and <bold>(D)</bold>]. <bold>(A)</bold>, <bold>(C)</bold> Language usage counters <italic>k</italic>
<sub>
<italic>i</italic>
</sub>, <inline-formula id="inf115">
<mml:math id="m120">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>, and <inline-formula id="inf116">
<mml:math id="m121">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> <italic>versus</italic> time. <bold>(B</bold>,<bold>D)</bold> Fractions of speakers <italic>versus</italic> time. The results are obtained using <italic>N</italic> &#x3d; 100 agents; <italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0)/<italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0) &#x3d; 60/40, and <italic>N</italic>
<sub>int</sub> &#x3d; 16. For comparison, the transition times <italic>t</italic>
<sub>
<italic>X</italic>
</sub> and <italic>t</italic>
<sub>
<italic>Y</italic>
</sub> for homogeneous populations and threshold time <italic>T</italic>
<sup>
<italic>K</italic>
</sup> are marked by vertical lines for both systems.</p>
</caption>
<graphic xlink:href="fcpxs-01-1266733-g001.tif"/>
</fig>
<p>
<xref ref-type="fig" rid="F1">Figure 1B</xref> shows the corresponding time evolution of the population fractions: at time <italic>t</italic>
<sub>
<italic>X</italic>
</sub>, there is the transition <italic>Y</italic> &#x2192; <italic>Z</italic>, i.e., all monolinguals of language <italic>Y</italic> learn language <italic>X</italic> and become bilinguals; instead, <italic>N</italic>
<sub>
<italic>X</italic>
</sub>(<italic>t</italic>) &#x3d; <italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0).</p>
<p>Now, if the parameters are such that one of the monolingual populations becomes bilingual, whether this state is stable or not, it depends on the parameters regulating the attrition process. It will be stable if bilinguals practice both languages at least <italic>M</italic> times during a time interval <italic>T</italic>
<sup>M</sup>. Because in the current example in the communication between bilinguals, only their first language is used (all bilinguals have the same first language), then <italic>N</italic>
<sub>
<italic>Z</italic>
</sub>(<italic>t</italic>) &#x3d; <italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0) (as in our example depicted in <xref ref-type="fig" rid="F1">Figure 1</xref>) or <italic>N</italic>
<sub>
<italic>Z</italic>
</sub>(<italic>t</italic>) &#x3d; <italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0); the second language is used by bilinguals only in the communication with monolinguals, whose population is equal to the initial one. Consequently, the conditions for the bilingual population to maintain languages <italic>X</italic> and <italic>Y</italic> are, respectively,<disp-formula id="e6">
<mml:math id="m122">
<mml:msup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">M</mml:mi>
</mml:mrow>
</mml:msup>
<mml:msub>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:mi mathvariant="normal">n</mml:mi>
<mml:mi mathvariant="normal">t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2265;</mml:mo>
<mml:mi>M</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mtext>to&#x2009;maintain&#x2009;language&#x2009;X</mml:mtext>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
</mml:math>
<label>(6)</label>
</disp-formula>
<disp-formula id="e7">
<mml:math id="m123">
<mml:msup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">M</mml:mi>
</mml:mrow>
</mml:msup>
<mml:msub>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:mi mathvariant="normal">n</mml:mi>
<mml:mi mathvariant="normal">t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>Y</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2265;</mml:mo>
<mml:mi>M</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mtext>to&#x2009;maintain&#x2009;language&#x2009;Y</mml:mtext>
</mml:mrow>
</mml:mfenced>
<mml:mo>.</mml:mo>
</mml:math>
<label>(7)</label>
</disp-formula>
</p>
<p>The bilingual community remains bilingual only if both conditions are satisfied. If one of the conditions is not fulfilled, the respective language is forgotten and the bilinguals become monolinguals of the language for which the condition is satisfied. If none of the conditions is fulfilled, the bilinguals become monolinguals of their original language. In the aforementioned example (<xref ref-type="fig" rid="F1">Figures 1A, B)</xref>, the bilinguals maintain both languages and the state reached is stable.</p>
<p>The behavior of the system under different initial conditions is illustrated by the phase portraits in <xref ref-type="fig" rid="F2">Figure 2A</xref> for <italic>K</italic>
<sup>X</sup> &#x3d; <italic>K</italic>
<sup>Y</sup> (symmetrical language learning difficulty) and <xref ref-type="fig" rid="F2">Figure 2B</xref> for <italic>K</italic>
<sup>X</sup> &#x2260; <italic>K</italic>
<sup>Y</sup> (asymmetrical language learning difficulty). Possible initial conditions are represented by the points on the line <italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0) &#x2b; <italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0) &#x3d; 1, where <italic>N</italic>
<sub>
<italic>Z</italic>
</sub> (0) &#x3d; 0. In this example, we chose <italic>N</italic>
<sub>int</sub> &#x3d; 10, allowing us to observe different regimes: some trajectories evolve toward a final state, where, in addition to bilingual speakers, there are also monolinguals of language <italic>X</italic> (or <italic>Y</italic>)&#x2014;as shown by the dots on the <italic>N</italic>
<sub>
<italic>X</italic>
</sub>-axis (<italic>N</italic>
<sub>
<italic>Y</italic>
</sub>-axis); for the rest of the initial conditions, the representative point remains in the initial state. This behavior can be understood by expressing conditions (4)&#x2013;(5) in terms of the initial fractions <italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0) and <italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0).<disp-formula id="e8">
<mml:math id="m124">
<mml:msub>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2265;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>/</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:mi mathvariant="normal">n</mml:mi>
<mml:mi mathvariant="normal">t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>&#x2261;</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mi>N</mml:mi>
<mml:mi>X</mml:mi>
<mml:mo>&#x2a;</mml:mo>
</mml:msubsup>
</mml:mrow>
<mml:mspace width="0.3333em" class="nbsp"/>
<mml:mspace width="0.3333em" class="nbsp"/>
<mml:mi mathvariant="normal">f</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mspace width="0.3333em" class="nbsp"/>
<mml:mspace width="0.3333em" class="nbsp"/>
<mml:mi>Y</mml:mi>
<mml:mo>&#x2192;</mml:mo>
<mml:mi>Z</mml:mi>
<mml:mo>,</mml:mo>
</mml:math>
<label>(8)</label>
</disp-formula>
<disp-formula id="e9">
<mml:math id="m125">
<mml:msub>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>Y</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2265;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>Y</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>/</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:mi mathvariant="normal">n</mml:mi>
<mml:mi mathvariant="normal">t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>&#x2261;</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mi>N</mml:mi>
<mml:mi>Y</mml:mi>
<mml:mo>&#x2a;</mml:mo>
</mml:msubsup>
</mml:mrow>
<mml:mspace width="0.3333em" class="nbsp"/>
<mml:mspace width="0.3333em" class="nbsp"/>
<mml:mi mathvariant="normal">f</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mspace width="0.3333em" class="nbsp"/>
<mml:mspace width="0.3333em" class="nbsp"/>
<mml:mi>X</mml:mi>
<mml:mo>&#x2192;</mml:mo>
<mml:mi>Z</mml:mi>
<mml:mo>,</mml:mo>
</mml:math>
<label>(9)</label>
</disp-formula>which define implicitly the critical initial fractions <inline-formula id="inf117">
<mml:math id="m126">
<mml:msubsup>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2a;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> and <inline-formula id="inf118">
<mml:math id="m127">
<mml:msubsup>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>Y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2a;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>, above which a transition to bilingualism takes place. In the symmetrical case, when <italic>K</italic>
<sup>X</sup> &#x3d; <italic>K</italic>
<sup>Y</sup> &#x3d; 5,110, the values of the critical initial fractions are <inline-formula id="inf119">
<mml:math id="m128">
<mml:mrow>
<mml:msubsup>
<mml:mi>N</mml:mi>
<mml:mi>X</mml:mi>
<mml:mo>&#x2a;</mml:mo>
</mml:msubsup>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mi>N</mml:mi>
<mml:mi>Y</mml:mi>
<mml:mo>&#x2a;</mml:mo>
</mml:msubsup>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0.7</mml:mn>
</mml:math>
</inline-formula>. For the asymmetrical case with <italic>K</italic>
<sup>X</sup> &#x3d; 5,840 and <italic>K</italic>
<sup>Y</sup> &#x3d; 4380 depicted in <xref ref-type="fig" rid="F2">Figure 2B</xref>, <inline-formula id="inf120">
<mml:math id="m129">
<mml:msubsup>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2a;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0.8</mml:mn>
</mml:math>
</inline-formula> and <inline-formula id="inf121">
<mml:math id="m130">
<mml:msubsup>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>Y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2a;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0.6</mml:mn>
</mml:math>
</inline-formula>. No transition to bilinguals takes place if the trajectory starts from an initial condition for which neither inequality is satisfied, i.e., when <inline-formula id="inf122">
<mml:math id="m131">
<mml:msub>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>&#x3c;</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mi>N</mml:mi>
<mml:mi>X</mml:mi>
<mml:mo>&#x2a;</mml:mo>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf123">
<mml:math id="m132">
<mml:msub>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>Y</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>&#x3c;</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mi>N</mml:mi>
<mml:mi>Y</mml:mi>
<mml:mo>&#x2a;</mml:mo>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>, corresponding to the interval <inline-formula id="inf124">
<mml:math id="m133">
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mi>N</mml:mi>
<mml:mi>Y</mml:mi>
<mml:mo>&#x2a;</mml:mo>
</mml:msubsup>
</mml:mrow>
<mml:mo>&#x3c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>&#x3c;</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mi>N</mml:mi>
<mml:mi>X</mml:mi>
<mml:mo>&#x2a;</mml:mo>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> (see <xref ref-type="fig" rid="F2">Figures 2A, B</xref>). In this case, the two monolingual communities remain isolated and coexist together so that <italic>N</italic>
<sub>
<italic>X</italic>
</sub>(<italic>t</italic>) &#x3d; <italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0) and <italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(<italic>t</italic>) &#x3d; <italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0). If the parameters are such that <inline-formula id="inf125">
<mml:math id="m134">
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mi>N</mml:mi>
<mml:mi>Y</mml:mi>
<mml:mo>&#x2a;</mml:mo>
</mml:msubsup>
</mml:mrow>
<mml:mo>&#x3e;</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mi>N</mml:mi>
<mml:mi>X</mml:mi>
<mml:mo>&#x2a;</mml:mo>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>, such an interval does not exist; for example, for the <italic>K</italic>
<sup>X</sup>, <italic>K</italic>
<sup>Y</sup>, and <italic>T</italic>
<sup>
<italic>K</italic>
</sup> values used in <xref ref-type="fig" rid="F2">Figure 2</xref>, it disappears in both symmetrical and asymmetrical cases, if <italic>N</italic>
<sub>int</sub> &#x2265; 14.</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>Phase portraits of homogeneous [<italic>&#x3c3;</italic> &#x3d; 0&#x2014;<bold>(A)</bold> and <bold>(B)</bold>] and heterogeneous [<italic>&#x3c3;</italic> &#x3d; 0.2&#x2014;<bold>(C)</bold> and <bold>(D)</bold>] systems with symmetrical [<italic>K</italic>
<sup>X</sup> &#x3d; <italic>K</italic>
<sup>Y</sup> &#x3d; 5,110&#x2014;<bold>(A)</bold> and <bold>(C)</bold>] and asymmetrical [<italic>K</italic>
<sup>X</sup> &#x3d; 5,840, <italic>K</italic>
<sup>Y</sup> &#x3d; 4380&#x2014;<bold>(B)</bold> and <bold>(D)</bold>] language learning difficulties. The gray triangle represents the area accessible to the system. The initial conditions are represented by the red dots, and the final positions are represented by the blue dots (overlapping the red ones on the diagonal). The results are obtained using <italic>N</italic> &#x3d; 100 agents and <italic>N</italic>
<sub>int</sub> &#x3d; 10. For the homogeneous system, the critical initial densities <inline-formula id="inf126">
<mml:math id="m135">
<mml:msubsup>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2a;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> and <inline-formula id="inf127">
<mml:math id="m136">
<mml:msubsup>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>Y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2a;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> are marked by the dashed lines. Trajectories are averaged over 100 runs.</p>
</caption>
<graphic xlink:href="fcpxs-01-1266733-g002.tif"/>
</fig>
<p>Now, from the last remark, as well as from conditions (4)&#x2013;(5) and (6)&#x2013;(7), it is also clear that the number of daily interactions, <italic>N</italic>
<sub>int</sub>, is a very important quantity in determining the dynamics and outcome of the language competition. In <xref ref-type="fig" rid="F3">Figure 3</xref>, the final population composition is plotted as a function of <italic>N</italic>
<sub>int</sub>, dashed lines, for the homogeneous system. This figure shows clearly how the final outcome of the language competition is determined by the interplay of the learning and attrition processes. Let us determine the conditions for the learning and maintenance of languages <italic>X</italic> and <italic>Y</italic> for the example with <italic>K</italic>
<sup>
<italic>X</italic>
</sup> &#x3d; <italic>K</italic>
<sup>
<italic>Y</italic>
</sup> &#x3d; 5,110 and <italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0)/<italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0) &#x3d; 60/40. From Eqs <xref ref-type="disp-formula" rid="e4">(4)</xref> and <xref ref-type="disp-formula" rid="e5">(5)</xref>, one obtains the conditions on the interaction rate: <italic>N</italic>
<sub>int</sub> &#x2265; <italic>K</italic>
<sup>
<italic>X</italic>
</sup>/<italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0)<italic>T</italic>
<sup>
<italic>K</italic>
</sup> &#x3d; 11.6 and <italic>N</italic>
<sub>int</sub> &#x2265; <italic>K</italic>
<sup>
<italic>Y</italic>
</sup>/<italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0)<italic>T</italic>
<sup>
<italic>K</italic>
</sup> &#x3d; 17.5, for <italic>X</italic>- and <italic>Y</italic>-monolinguals, respectively. Therefore, nothing happens until the value <italic>N</italic>
<sub>int</sub> &#x3d; 11.6 is reached (it should be noted that in <xref ref-type="fig" rid="F3">Figure 3</xref>, <italic>N</italic>
<sub>int</sub> assumes only integer values), and the two populations speaking languages <italic>X</italic> and <italic>Y</italic> remain isolated and do not generate any bilingual community. At <italic>N</italic>
<sub>int</sub> &#x2265; 11.6, <italic>Y</italic>-monolinguals learn language <italic>X</italic> and become bilingual. However, in order to remain as such, they have to maintain both languages. According to Eqs <xref ref-type="disp-formula" rid="e6">(6)</xref> and <xref ref-type="disp-formula" rid="e7">(7)</xref>, the condition for a bilingual to maintain language <italic>X</italic> is <italic>N</italic>
<sub>int</sub> &#x3e; <italic>M</italic>/<italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0)<italic>T</italic>
<sup>
<italic>M</italic>
</sup> &#x3d; 10, whereas for maintaining language <italic>Y</italic>, the interaction frequency has to satisfy the condition <italic>N</italic>
<sub>int</sub> &#x3e; <italic>M</italic>/<italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0)<italic>T</italic>
<sup>
<italic>M</italic>
</sup> &#x3d; 15. Thus, in the interval 11.6 &#x2264; <italic>N</italic>
<sub>int</sub> &#x2264; 15, bilinguals who appeared in the system during the time evolution will turn into <italic>X</italic>-monolinguals so that there are only <italic>X</italic>-monolinguals in the final state of the system. Instead, for <italic>N</italic>
<sub>int</sub> &#x3e; 15, the bilinguals can maintain both languages, and the final population consists of <italic>X</italic>-monolinguals and bilinguals. Thus, depending on the value of the interaction frequency, one can observe three regimes (see the dashed lines in <xref ref-type="fig" rid="F3">Figure 3</xref>): 1) coexistence of the two monolingual populations (with <italic>N</italic>
<sub>
<italic>X</italic>
</sub>(<italic>t</italic>) &#x3d; <italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0) and <italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(<italic>t</italic>) &#x3d; <italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0)); 2) only the majority language surviving; and 3) coexistence of monolingual speakers of majority language and bilinguals whose first language is the minority language.</p>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>(Symmetrical case). Comparison of the final speakers&#x2019; compositions <italic>versus</italic> <italic>N</italic>
<sub>int</sub> for homogeneous (<italic>&#x3c3;</italic> &#x3d; 0) and heterogeneous (<italic>&#x3c3;</italic> &#x3d; 0.5) populations; <italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0)/<italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0) &#x3d; 60/40.</p>
</caption>
<graphic xlink:href="fcpxs-01-1266733-g003.tif"/>
</fig>
<p>Not taking the memory effects into account, i.e., assuming a time unit much larger than the time scales <italic>T</italic>
<sup>
<italic>K</italic>
</sup> and <italic>T</italic>
<sup>M</sup>, the homogeneous version of the proposed model, discussed in the this section, reduces to the Minett&#x2013;Wang model that is local in time. The Minett&#x2013;Wang model with neutral volatility has only two stable equilibrium points: one of the two competing languages surviving and the other one disappearing; which of the two languages survives depends on the model parameters. Instead, introducing the time-consuming language learning and retention processes, for a wide range of parameters, both languages can survive due to two opposing mechanisms: 1) not learning the other language (coexistence of the two isolated languages) or 2) frequent language contact between the minority language speakers, who eventually become bilinguals, and monolinguals of the majority language.</p>
</sec>
<sec id="s3-3">
<title>3.3 Heterogeneous population</title>
<p>In the example illustrating the time evolution in a homogeneous population&#x2014;<xref ref-type="fig" rid="F1">Figures 1A, B</xref>&#x2014;all monolinguals of language <italic>Y</italic> become bilinguals around time <italic>t</italic>
<sub>
<italic>X</italic>
</sub>. The population time evolution is characterized by a simple behavior and sharp transitions because agents are identical to each other in their features and they behave in the same way. The only source of randomness in the homogeneous system is related to the random choice of the interacting agents.</p>
<p>In the corresponding example of a heterogeneous population&#x2014;<xref ref-type="fig" rid="F1">Figures 1C, D</xref>&#x2014;because in conditions (4)&#x2013;(5), <italic>K</italic>
<sup>X</sup> and <italic>K</italic>
<sup>Y</sup> are replaced by <inline-formula id="inf128">
<mml:math id="m137">
<mml:msubsup>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">X</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> and <inline-formula id="inf129">
<mml:math id="m138">
<mml:msubsup>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">Y</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>, respectively, for each individual <italic>i</italic>, the transition <italic>Y</italic> &#x2192; <italic>Z</italic> takes place at a different time, resulting in a bundle of parallel lines, as shown in <xref ref-type="fig" rid="F1">Figure 1C</xref>, instead of the overlapping ones, as in (A).</p>
<p>As a consequence, the step-like curves describing the transitions <italic>N</italic>
<sub>
<italic>Y</italic>
</sub> &#x2192; 0 and <italic>N</italic>
<sub>
<italic>Z</italic>
</sub> &#x2192; 0.4 are replaced by smoother sigmoids. Depending on the value of <italic>&#x3c3;</italic>, it can also happen that not all monolinguals of language <italic>Y</italic> become bilingual at some time <italic>t</italic> &#x2264; <italic>T</italic>
<sup>
<italic>K</italic>
</sup>, whereas some <italic>X</italic>-monolinguals may do so. Similar considerations are valid for the attrition. In fact, in <xref ref-type="fig" rid="F1">Figure 1C</xref>, one can notice that there is a line <inline-formula id="inf130">
<mml:math id="m139">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> which has a slope much larger than that of the other lines, and a line <inline-formula id="inf131">
<mml:math id="m140">
<mml:msubsup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> with slope equal to zero. These lines correspond to a bilingual that used to be an <italic>X</italic>-monolingual and not <italic>Y</italic>-monolingual as the other bilinguals in this figure.</p>
<p>Such diversity in the behavior of individuals induces significant differences in the dynamics and final competition outcome between the homogeneous and heterogeneous systems. To understand how this happens, let us have a look at the time evolution of the speakers&#x2019; fractions <italic>N</italic>
<sub>
<italic>X</italic>
</sub>, <italic>N</italic>
<sub>
<italic>Y</italic>
</sub>, and <italic>N</italic>
<sub>
<italic>Z</italic>
</sub> on a longer time scale, depicted in <xref ref-type="fig" rid="F4">Figure 4</xref>, for a heterogeneous population with <italic>&#x3c3;</italic> &#x3d; 0.5, initial ratio <italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0)/<italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0) &#x3d; 60/40, <italic>K</italic>
<sup>X</sup> &#x3d; <italic>K</italic>
<sup>Y</sup> &#x3d; 5,110, and three different values of <italic>N</italic>
<sub>int</sub> corresponding to low (<italic>N</italic>
<sub>int</sub> &#x3d; 8), medium (<italic>N</italic>
<sub>int</sub> &#x3d; 16), and high (<italic>N</italic>
<sub>int</sub> &#x3d; 24) daily interaction rates.</p>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>(Symmetrical case, heterogeneous population). Time evolution of speakers&#x2019; fractions evolving from <italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0)/<italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0) &#x3d; 60/40 for different daily interaction rates: <bold>(A)</bold> <italic>N</italic>
<sub>int</sub> &#x3d; 8, <bold>(B)</bold> <italic>N</italic>
<sub>int</sub> &#x3d; 16, <bold>(C)</bold> <italic>N</italic>
<sub>int</sub> &#x3d; 24.</p>
</caption>
<graphic xlink:href="fcpxs-01-1266733-g004.tif"/>
</fig>
<p>In the example of the homogeneous system (<xref ref-type="fig" rid="F1">Figures 1A, B</xref>), only the speakers of minority language <italic>Y</italic> contributed to the formation of the bilingual community. Instead, in the heterogeneous system, as shown already in <xref ref-type="fig" rid="F1">Figure 1C</xref>, the speakers of majority language <italic>X</italic> also contribute (see the initial decrease in <italic>N</italic>
<sub>
<italic>X</italic>
</sub> in all panels of <xref ref-type="fig" rid="F4">Figure 4</xref>), but their contribution is smaller than that of <italic>Y</italic>-monolinguals. It should be noted that the larger the interaction rate, the larger the contribution of <italic>Y</italic>-monolinguals (compare the three panels in <xref ref-type="fig" rid="F4">Figure 4</xref>). In the following, the formed bilingual community decreases in time due to the attrition process, leading to a corresponding growth of <italic>N</italic>
<sub>
<italic>X</italic>
</sub>. The decrease in <italic>N</italic>
<sub>
<italic>Z</italic>
</sub> and the corresponding increase in <italic>N</italic>
<sub>
<italic>X</italic>
</sub> become larger for higher values of <italic>N</italic>
<sub>int</sub>.</p>
<p>The appearance of a maximum in the bilingual population size is also observed in the Minett&#x2013;Wang model (<xref ref-type="bibr" rid="B26">Minett and Wang, 2008</xref>; <xref ref-type="bibr" rid="B16">Heinsalu et al., 2014</xref>), in which, however, finally only one of the languages survives, as mentioned previously.</p>
<p>Before proceeding with the discussion, we analyze the presence of the small zigzagged segments in the time evolution curves shown in <xref ref-type="fig" rid="F4">Figure 4</xref>. They are related to attrition processes taking place at times close to each other due to diversity and initial conditions. We verified that they tend to disappear for <italic>t</italic> &#x2192; <italic>&#x221e;</italic> and their amplitudes decrease with the system size, as <italic>N</italic> &#x2192; <italic>&#x221e;</italic>. We also checked that they do not significantly influence the final results.</p>
<p>
<xref ref-type="fig" rid="F4">Figures 4A, B</xref> show that in a heterogeneous system, it is possible for the two monolingual and bilingual populations to coexist in the final state. The same becomes evident from the phase portraits in <xref ref-type="fig" rid="F2">Figures 2C, D</xref> and from the curves shown in <xref ref-type="fig" rid="F3">Figure 3</xref> for the heterogeneous system. Although in <xref ref-type="fig" rid="F3">Figure 3</xref>, the dashed curves for the homogeneous system and the solid ones for the heterogeneous system might seem to be qualitatively similar, the fraction of <italic>Y</italic>-monolinguals decreases and the fraction of bilinguals increases with <italic>N</italic>
<sub>int</sub>, and the fraction of <italic>X</italic>-monolinguals passes through a maximum, and even the phase portraits for heterogeneous and homogeneous populations in <xref ref-type="fig" rid="F2">Figure 2</xref> might seem to be not so different, the systems are actually fundamentally different. That is, it appears that adding heterogeneity to the population can, for a wide range of parameters, lead to the coexistence of the three linguistic groups, which is not possible in a corresponding homogeneous system. Therefore, we conclude that diversity in linguistic abilities is one of the key factors leading to the possibility of the coexistence of all linguistic groups in a three-state system, and this is the most important difference between the homogeneous and heterogeneous systems.</p>
<p>The reason behind the smoothing of the curves shown in <xref ref-type="fig" rid="F3">Figure 3</xref> when adding heterogeneity in the population is similar to why the step-like transitions shown in <xref ref-type="fig" rid="F1">Figures 1B</xref> are replaced by smoother curves shown in <xref ref-type="fig" rid="F1">Figures 1D</xref>. That is, the replacement of <italic>K</italic>
<sup>X</sup>, <italic>K</italic>
<sup>Y</sup>, and <italic>T</italic>
<sup>M</sup> by <inline-formula id="inf132">
<mml:math id="m141">
<mml:msubsup>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">X</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>, <inline-formula id="inf133">
<mml:math id="m142">
<mml:msubsup>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">Y</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>, and <inline-formula id="inf134">
<mml:math id="m143">
<mml:msubsup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">M</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> consequently satisfies conditions (4)&#x2013;(5) and (6)&#x2013;(7) for each individual <italic>i</italic> at a different value of <italic>N</italic>
<sub>int</sub>, instead of a global fixed <italic>N</italic>
<sub>int</sub> value, as in the case of a homogeneous population.</p>
<p>In order to evaluate how the degree of heterogeneity, expressed as the relative standard deviation <italic>&#x3c3;</italic>, influences the results, we ran simulations for the same system with <italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0)/<italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0) &#x3d; 60/40 and <italic>K</italic>
<sup>X</sup> &#x3d; <italic>K</italic>
<sup>Y</sup> &#x3d; 5,110 studied previously, varying <italic>&#x3c3;</italic> between 0 and 0.5. The results are depicted in <xref ref-type="fig" rid="F5">Figure 5</xref> for three different values of <italic>N</italic>
<sub>int</sub>. Furthermore, the figure shows that adding a certain level of heterogeneity to the system can result in a situation where, in the final state, all three linguistic groups are present in the system: see the lowest group of lines appearing as <italic>&#x3c3;</italic> increases. For fixed parameter values and initial composition of the total population, the value of <italic>&#x3c3;</italic> leading to such a final state increases slightly when <italic>N</italic>
<sub>int</sub> is increased. Furthermore, the diversity of individuals increases the competition advantage of the majority language, with respect to the homogeneous system, for all values of <italic>N</italic>
<sub>int</sub> (c.f. also <xref ref-type="fig" rid="F3">Figure 3</xref>), and the effect of varying <italic>&#x3c3;</italic> is the largest at intermediate values of <italic>N</italic>
<sub>int</sub>.</p>
<fig id="F5" position="float">
<label>FIGURE 5</label>
<caption>
<p>(Symmetrical case). Final population composition <italic>versus</italic> <italic>&#x3c3;</italic> for three values of <italic>N</italic>
<sub>int</sub>; <italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0)/<italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0) &#x3d; 60/40. The thin green horizontal lines are a guide to the eye corresponding to the case <italic>&#x3c3;</italic> &#x3d; 0.</p>
</caption>
<graphic xlink:href="fcpxs-01-1266733-g005.tif"/>
</fig>
<p>From the discussion in <xref ref-type="sec" rid="s3-2">Section 3.2</xref>, it became clear that the initial conditions play a relevant role in determining the final outcome of the language competition in the homogeneous system. This is also true in the case of heterogeneous populations, as observed from <xref ref-type="fig" rid="F2">Figures 2C, D</xref> and from <xref ref-type="fig" rid="F6">Figure 6</xref>. In the case of equal initial population sizes, <italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0) &#x3d; <italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0) &#x3d; 0.5, equal fractions of <italic>X</italic>- and <italic>Y</italic>-monolinguals become bilingual. If the interaction frequency is low, e.g., <italic>N</italic>
<sub>int</sub> &#x3d; 8, at equilibrium, relatively large <italic>X</italic>- and <italic>Y</italic>-monolingual populations coexist with a small bilingual community. The size of the formed bilingual population increases as the interaction frequency <italic>N</italic>
<sub>int</sub> increases; <xref ref-type="fig" rid="F6">Figure 6</xref> shows the results for <italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0)/<italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0) &#x3d; 50/50 for three different values of <italic>N</italic>
<sub>int</sub>. If the ratio <italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0)/<italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0) is increased, i.e., <italic>X</italic> becomes the majority language and <italic>Y</italic> becomes the minority language, the final population composition tends to be more and more dominated by majority language <italic>X</italic>, as shown in <xref ref-type="fig" rid="F6">Figure 6</xref>. For <italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0)/<italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0) &#x2273; 80/20, minority language <italic>Y</italic> becomes extinct, unless the interaction frequency is very low (<italic>N</italic>
<sub>int</sub> &#x3d; 8). In the low interaction limit, the two language populations remain practically isolated from one another and can, in this way, coexist.</p>
<fig id="F6" position="float">
<label>FIGURE 6</label>
<caption>
<p>(Symmetrical case, heterogeneous population). Final speakers&#x2019; compositions as a function of <italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0)/<italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0) for different values of <italic>N</italic>
<sub>int</sub>.</p>
</caption>
<graphic xlink:href="fcpxs-01-1266733-g006.tif"/>
</fig>
</sec>
<sec id="s3-4">
<title>3.4 Asymmetrical learning difficulty</title>
<p>So far, we mostly concentrated on the symmetrical case <italic>K</italic>
<sup>X</sup> &#x3d; <italic>K</italic>
<sup>Y</sup> &#x2261; <italic>K</italic>. Next, we examine in detail the asymmetrical case when <italic>K</italic>
<sup>X</sup> &#x2260; <italic>K</italic>
<sup>Y</sup>, i.e., the two competing languages have different degrees of learning difficulty.</p>
<p>From conditions (8)&#x2013;(9) for the homogeneous population, it is clear that the asymmetry between the parameters <italic>K</italic>
<sup>X</sup> and <italic>K</italic>
<sup>Y</sup> induces asymmetry also in the critical fractions <inline-formula id="inf135">
<mml:math id="m144">
<mml:msubsup>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2a;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>, <inline-formula id="inf136">
<mml:math id="m145">
<mml:msubsup>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>Y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2a;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>, e.g., for <italic>K</italic>
<sup>X</sup> &#x3e; <italic>K</italic>
<sup>Y</sup>, also <inline-formula id="inf137">
<mml:math id="m146">
<mml:msubsup>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2a;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3e;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>Y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2a;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> (c.f. <xref ref-type="fig" rid="F2">Figures 2A, B</xref>). Therefore, the asymmetry in the language learning difficulty implies that in order to preserve a monolingual community of the language that is more difficult to learn and to induce, at the same time, the transition of the other (minority) language speakers into bilinguals, its minimal initial population fraction has to be larger with respect to the symmetrical case. Similar trends are also present for the heterogeneous systems (c.f. <xref ref-type="fig" rid="F2">Figures 2C, D</xref>). In practice, this means that the more difficult a language is for the learners, the harder it is to integrate the foreign language community members, e.g., immigrants, and the smaller should their proportion in the population be, or/and some measures should be taken to favor the learning of the local language in order to avoid the formation of linguistically isolated communities.</p>
<p>
<xref ref-type="fig" rid="F7">Figure 7</xref> presents the results for a heterogeneous system characterized by the parameter values summarized in <xref ref-type="sec" rid="s3-1">Section 3.1</xref> and with <italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0) &#x3d; <italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0) &#x3d; 0.5. In this figure, the value of <italic>K</italic>
<sup>X</sup> is increased from <italic>K</italic>
<sup>X</sup> &#x3d; <italic>K</italic>
<sup>Y</sup> (corresponding to the symmetrical case) up to <italic>K</italic>
<sup>X</sup> &#x3d; 6<italic>K</italic>
<sup>Y</sup> in order to observe how the asymmetry in the language learning difficulty influences the language competition outcome. As observed already in <xref ref-type="fig" rid="F6">Figure 6</xref>, for <italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0) &#x3d; <italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0) and <italic>K</italic>
<sup>X</sup> &#x3d; <italic>K</italic>
<sup>Y</sup>, in the final state, <italic>N</italic>
<sub>
<italic>X</italic>
</sub> &#x3d; <italic>N</italic>
<sub>
<italic>Y</italic>
</sub> and the fraction of bilinguals increases with increasing values of <italic>N</italic>
<sub>int</sub>. Now, when <italic>K</italic>
<sup>X</sup> &#x3e; <italic>K</italic>
<sup>Y</sup> (see <xref ref-type="fig" rid="F7">Figure 7</xref>), the final fractions of <italic>X</italic>-monolinguals and bilinguals are decreased with respect to the symmetrical case, while <italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(<italic>t</italic>
<sub>fin</sub>) is increased; the larger the <italic>N</italic>
<sub>int</sub> is, the larger the influence of asymmetry. However, increasing the asymmetry between the language learning difficulties beyond <italic>K</italic>
<sup>X</sup>/<italic>K</italic>
<sup>Y</sup> &#x2248; 3 does not substantially influence the results. For <italic>K</italic>
<sup>X</sup>/<italic>K</italic>
<sup>Y</sup> &#x3d; 3, in order to become bilingual within the time interval <italic>T</italic>
<sup>
<italic>K</italic>
</sup>, a speaker of language <italic>Y</italic> should practice language <italic>X</italic>, on average, 21 times per day. Comparing this with the number of average daily interactions (<italic>N</italic>
<sub>int</sub> &#x2208; [8, 24]), it is obvious that the task is very hard for any agent. Therefore, the monolinguals of language <italic>Y</italic> will remain monolinguals of their mother tongue and <italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(<italic>t</italic>
<sub>fin</sub>) &#x2248; <italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0) &#x3d; 0.5 for all studied values of <italic>N</italic>
<sub>int</sub>. Instead, the monolinguals of language <italic>X</italic> will become bilingual, the final fraction of bilinguals being larger for larger <italic>N</italic>
<sub>int</sub> values. In fact, for <italic>N</italic>
<sub>int</sub> &#x3d; 24, almost all monolinguals of language <italic>X</italic> will turn into bilinguals, leaving only a very small fraction of <italic>X</italic>-monolinguals in the system.</p>
<fig id="F7" position="float">
<label>FIGURE 7</label>
<caption>
<p>(Heterogeneous system). Final population composition <italic>versus</italic> <italic>K</italic>
<sup>X</sup>/<italic>K</italic>
<sup>Y</sup> (<italic>K</italic>
<sup>Y</sup> &#x3d; 5110) for three values of <italic>N</italic>
<sub>int</sub>; <italic>N</italic>
<sub>
<italic>X</italic>
</sub>(0)/<italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0) &#x3d; 50/50.</p>
</caption>
<graphic xlink:href="fcpxs-01-1266733-g007.tif"/>
</fig>
<p>
<xref ref-type="fig" rid="F8">Figure 8</xref> illustrates the case where the initial populations have different sizes and set <italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0)/<italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0) &#x3d; 60/40. However, we now vary the value of <italic>K</italic>
<sup>X</sup> so that the ratio <italic>K</italic>
<sup>X</sup>/<italic>K</italic>
<sup>Y</sup> goes from 1/7 to 4 (i.e., we go from the case where minority language <italic>Y</italic> is seven times more difficult to learn for monolinguals of language <italic>X</italic> than majority language <italic>X</italic> for monolinguals of <italic>Y</italic>, to the symmetrical case corresponding to <italic>K</italic>
<sup>X</sup>/<italic>K</italic>
<sup>Y</sup> &#x3d; 1, up to the case where majority language <italic>X</italic> is three times more difficult to learn for monolinguals of <italic>Y</italic> than minority language <italic>Y</italic> for monolinguals of <italic>X</italic>). <xref ref-type="fig" rid="F8">Figure 8</xref> shows that for all studied values of <italic>N</italic>
<sub>int</sub>, an increase in <italic>K</italic>
<sup>X</sup>/<italic>K</italic>
<sup>Y</sup>, i.e., the learning difficulty of language <italic>X</italic>, leads to a decrease in <italic>N</italic>
<sub>
<italic>X</italic>
</sub>, as expected, and an increase in <italic>N</italic>
<sub>
<italic>Y</italic>
</sub> and <italic>N</italic>
<sub>
<italic>Z</italic>
</sub>. It should be noted that while in the case <italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0)/<italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0) &#x3d; 50/50, an increase of <italic>K</italic>
<sup>X</sup>/<italic>K</italic>
<sup>Y</sup> leads to a decrease in bilinguals (see <xref ref-type="fig" rid="F7">Figure 7</xref>), in the case <italic>N</italic>
<sub>
<italic>X</italic>
</sub> (0)/<italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0) &#x3d; 60/40, the fraction of bilinguals, instead, increases.</p>
<fig id="F8" position="float">
<label>FIGURE 8</label>
<caption>
<p>(Heterogeneous system). Final population composition <italic>versus</italic> <italic>K</italic>
<sup>X</sup>/<italic>K</italic>
<sup>Y</sup> (<italic>K</italic>
<sup>Y</sup> &#x3d; 5110) for different values of <italic>N</italic>
<sub>int</sub>; <italic>N</italic>
<sub>
<italic>X</italic>
</sub>(0)/<italic>N</italic>
<sub>
<italic>Y</italic>
</sub>(0) &#x3d; 60/40.</p>
</caption>
<graphic xlink:href="fcpxs-01-1266733-g008.tif"/>
</fig>
</sec>
</sec>
<sec sec-type="conclusion" id="s4">
<title>4 Conclusion</title>
<p>In this paper, we developed an agent-based three-state language competition model that incorporates elements mimicking language learning and retention and the underlying memory processes.</p>
<p>We showed that upon including memory in a Minett&#x2013;Wang-type model with a population of speakers having homogeneous linguistic skills, the final outcome of the language competition can be 1) the extinction of one of the competing languages; 2) the coexistence of two isolated language communities; and 3) a state where the minority language survives due to the bilingual speakers. Which of the three possible scenarios is realized depends on the initial population composition, the parameters that determine learning/attrition (among which is the asymmetry between the language learning difficulties), and the interaction frequency between individuals.</p>
<p>The results of our study suggest that while language prestige is certainly crucial for language shift and in determining the outcome of language competition, memory effects may also play a critical role, and their relative importance versus prestige may depend on the specific features of the system under consideration.</p>
<p>Another relevant issue addressed in the present work concerns the impact of heterogeneity on language dynamics models. We showed that the outcome of language competition depends, in addition to other parameters, on the level of population diversity in terms of language learning and retention skills. In fact, adding heterogeneity to the model significantly changes the time evolution of population fractions and the final population composition. Diversity also allows us to observe, differently from the corresponding homogeneous system, a final equilibrium state where all three linguistic groups&#x2014;the two monolingual and the bilingual groups&#x2014;are present. Therefore, we conclude that, in addition to the learning and retention processes, the impact of heterogeneity on language dynamics deserves a broader investigation.</p>
</sec>
</body>
<back>
<sec sec-type="data-availability" id="s5">
<title>Data availability statement</title>
<p>The raw data supporting the conclusion of this article will be made available by the authors, without undue reservation.</p>
</sec>
<sec id="s6">
<title>Author contributions</title>
<p>SS: conceptualization, data curation, formal analysis, investigation, methodology, software, validation, visualization, and writing&#x2014;original draft and review and editing. JK-L: conceptualization, data curation, formal analysis, investigation, methodology, software, validation, and writing&#x2014;original draft and review and editing. MP: conceptualization, data curation, formal analysis, funding acquisition, investigation, methodology, project administration, resources, software, supervision, validation, visualization, and writing&#x2014;original draft and review and editing. EH: conceptualization, funding acquisition, visualization, investigation, methodology, project administration, supervision, and writing&#x2014;original draft and review and editing.</p>
</sec>
<sec id="s7">
<title>Funding</title>
<p>The authors declare that financial support was received for the research, authorship, and/or publication of this article. The authors acknowledge support from the Estonian Research Council through Grant PRG1059.</p>
</sec>
<sec sec-type="COI-statement" id="s8">
<title>Conflict of interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
<p>SS, MP and EH declared that they were editorial board members of Frontiers, at the time of submission. This had no impact on the peer review process and the final decision.</p>
</sec>
<sec sec-type="disclaimer" id="s9">
<title>Publisher&#x2019;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors, and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Abrams</surname>
<given-names>D. M.</given-names>
</name>
<name>
<surname>Strogatz</surname>
<given-names>S. H.</given-names>
</name>
</person-group> (<year>2003</year>). <article-title>Modelling the dynamics of language death</article-title>. <source>Nature</source> <volume>424</volume>, <fpage>900</fpage>. <pub-id pub-id-type="doi">10.1038/424900a</pub-id>
</citation>
</ref>
<ref id="B2">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Abutalebi</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Green</surname>
<given-names>D.</given-names>
</name>
</person-group> (<year>2007</year>). <article-title>Bilingual language production: the neurocognition of language representation and control</article-title>. <source>J. neurolinguistics</source> <volume>20</volume>, <fpage>242</fpage>&#x2013;<lpage>275</lpage>. <pub-id pub-id-type="doi">10.1016/j.jneuroling.2006.10.003</pub-id>
</citation>
</ref>
<ref id="B3">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Austin</surname>
<given-names>P. K.</given-names>
</name>
</person-group> (<year>2008</year>). <source>1000 languages: The worldwide history of living and lost tongues</source>. <publisher-loc>London</publisher-loc>: <publisher-name>Thames and Hudson Ltd</publisher-name>.</citation>
</ref>
<ref id="B4">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Baggs</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Freedman</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>1990</year>). <article-title>A mathematical model for the dynamics of interactions between a unilingual and a bilingual population: persistence versus extinction</article-title>. <source>J. Math. Sociol.</source> <volume>16</volume>, <fpage>51</fpage>&#x2013;<lpage>75</lpage>. <pub-id pub-id-type="doi">10.1080/0022250x.1990.9990078</pub-id>
</citation>
</ref>
<ref id="B5">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Baggs</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Freedman</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Aiello</surname>
<given-names>W.</given-names>
</name>
</person-group> (<year>1990</year>). &#x201c;<article-title>Equilibrium characteristics in models of unilingual-bilingual population interactions</article-title>,&#x201d; in <source>Ocean waves mechanics, computational fluid dynamics, and mathematical modelling: Proceedings of the 11th international annual conference of the Canadian applied mathematics society</source>. Editor <person-group person-group-type="editor">
<name>
<surname>Rahman</surname>
<given-names>M.</given-names>
</name>
</person-group> (<publisher-loc>Southampton</publisher-loc>: <publisher-name>Computational Mechanics Publications Ltd</publisher-name>), <fpage>879</fpage>.</citation>
</ref>
<ref id="B6">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Baggs</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Freedman</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>1993</year>). <article-title>Can the speakers of a dominated language survive as unilinguals &#x2014; A mathematical-model of bilingualism</article-title>. <source>Math. Comput. Model.</source> <volume>18</volume>, <fpage>9</fpage>&#x2013;<lpage>18</lpage>. <pub-id pub-id-type="doi">10.1016/0895-7177(93)90122-f</pub-id>
</citation>
</ref>
<ref id="B7">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Baron</surname>
<given-names>J. W.</given-names>
</name>
<name>
<surname>Peralta</surname>
<given-names>A. F.</given-names>
</name>
<name>
<surname>Galla</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Toral</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Analytical and numerical treatment of continuous ageing in the voter model</article-title>. <source>Entropy</source> <volume>24</volume>, <fpage>1331</fpage>. <pub-id pub-id-type="doi">10.3390/e24101331</pub-id>
</citation>
</ref>
<ref id="B8">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Baronchelli</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2016</year>). <article-title>A gentle introduction to the minimal naming game</article-title>. <source>Comput. Constr. Gramm. Constr. Change</source> <volume>30</volume>, <fpage>171</fpage>&#x2013;<lpage>192</lpage>. <pub-id pub-id-type="doi">10.1075/bjl.30.08bar</pub-id>
</citation>
</ref>
<ref id="B9">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bouchaud</surname>
<given-names>J.-P.</given-names>
</name>
</person-group> (<year>2009</year>). <article-title>The (unfortunate) complexity of the economy</article-title>. <source>Phys. World</source> <volume>22</volume>, <fpage>28</fpage>&#x2013;<lpage>32</lpage>. <pub-id pub-id-type="doi">10.1088/2058-7058/22/04/39</pub-id>
</citation>
</ref>
<ref id="B10">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Castellano</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Fortunato</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Loreto</surname>
<given-names>V.</given-names>
</name>
</person-group> (<year>2009</year>). <article-title>Statistical physics of social dynamics</article-title>. <source>Rev. Mod. Phys.</source> <volume>81</volume>, <fpage>591</fpage>&#x2013;<lpage>646</lpage>. <pub-id pub-id-type="doi">10.1103/RevModPhys.81.591</pub-id>
</citation>
</ref>
<ref id="B11">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Dall&#x2019;Asta</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Castellano</surname>
<given-names>C.</given-names>
</name>
</person-group> (<year>2007</year>). <article-title>Effective surface-tension in the noise-reduced voter model</article-title>. <source>Europhys. Lett. (EPL)</source> <volume>77</volume>, <fpage>60005</fpage>. <pub-id pub-id-type="doi">10.1209/0295-5075/77/60005</pub-id>
</citation>
</ref>
<ref id="B12">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>De Silva</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Basheer</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Antwi-Fordjour</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Beauregard</surname>
<given-names>M. A.</given-names>
</name>
<name>
<surname>Chand</surname>
<given-names>V.</given-names>
</name>
<name>
<surname>Parshad</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>The &#x201c;higher&#x201d; status language does not always win: the fall of English in India and the rise of Hindi</article-title>. <source>Adv. Complex Syst.</source> <volume>23</volume>, <fpage>2050021</fpage>. <pub-id pub-id-type="doi">10.1142/s0219525920500216</pub-id>
</citation>
</ref>
<ref id="B13">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Del Valle</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Hyman</surname>
<given-names>J. M.</given-names>
</name>
<name>
<surname>Hethcote</surname>
<given-names>H. W.</given-names>
</name>
<name>
<surname>Eubank</surname>
<given-names>S. G.</given-names>
</name>
</person-group> (<year>2007</year>). <article-title>Mixing patterns between age groups in social networks</article-title>. <source>Soc. Netw.</source> <volume>29</volume>, <fpage>539</fpage>&#x2013;<lpage>554</lpage>. <pub-id pub-id-type="doi">10.1016/j.socnet.2007.04.005</pub-id>
</citation>
</ref>
<ref id="B14">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Ellis</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Ellis</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Ellis</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>1994</year>). <source>The study of second language acquisition</source>. <publisher-loc>Oxford, UK</publisher-loc>: <publisher-name>Oxford University Press</publisher-name>.</citation>
</ref>
<ref id="B15">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Griffiths</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Soru&#xe7;</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2020</year>). <source>Individual differences in language learning: A complex systems theory perspective</source>. <publisher-name>Springer International Publishing</publisher-name>.</citation>
</ref>
<ref id="B16">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Heinsalu</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Patriarca</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>L&#xe9;onard</surname>
<given-names>J. L.</given-names>
</name>
</person-group> (<year>2014</year>). <article-title>The role of bilinguals in language competition</article-title>. <source>Adv. Complex Syst.</source> <volume>17</volume>, <fpage>1450003</fpage>. <pub-id pub-id-type="doi">10.1142/S0219525914500039</pub-id>
</citation>
</ref>
<ref id="B17">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Iriberri</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Uriarte</surname>
<given-names>J.-R.</given-names>
</name>
</person-group> (<year>2012</year>). <article-title>Minority language and the stability of bilingual equilibria</article-title>. <source>Ration. Soc.</source> <volume>24</volume>, <fpage>442</fpage>&#x2013;<lpage>462</lpage>. <pub-id pub-id-type="doi">10.1177/1043463112453556</pub-id>
</citation>
</ref>
<ref id="B18">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Jackson</surname>
<given-names>G. M.</given-names>
</name>
<name>
<surname>Swainson</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Cunnington</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Jackson</surname>
<given-names>S. R.</given-names>
</name>
</person-group> (<year>2001</year>). <article-title>Erp correlates of executive control during repeated language switching</article-title>. <source>Biling. Lang. Cognition</source> <volume>4</volume>, <fpage>169</fpage>&#x2013;<lpage>178</lpage>. <pub-id pub-id-type="doi">10.1017/S1366728901000268</pub-id>
</citation>
</ref>
<ref id="B19">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lafuerza</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Toral</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2013</year>). <article-title>On the effect of heterogeneity in stochastic interacting-particle systems</article-title>. <source>Sci. Rep.</source> <volume>3</volume>, <fpage>1189</fpage>. <pub-id pub-id-type="doi">10.1038/srep01189</pub-id>
</citation>
</ref>
<ref id="B20">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Liivand</surname>
<given-names>J. K.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Memory effects in language acquisition and attrition processes</article-title>. <comment>Master&#x2019;s thesis</comment>. <publisher-loc>Tartu</publisher-loc>: <publisher-name>University of Tartu</publisher-name>.</citation>
</ref>
<ref id="B21">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Marchetti</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Patriarca</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Heinsalu</surname>
<given-names>E.</given-names>
</name>
</person-group> (<year>2020a</year>). <article-title>A Bayesian approach to the naming game model</article-title>. <source>Front. Phys.</source> <volume>8</volume>, <fpage>10</fpage>. <pub-id pub-id-type="doi">10.3389/fphy.2020.00010</pub-id>
</citation>
</ref>
<ref id="B22">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Marchetti</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Patriarca</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Heinsalu</surname>
<given-names>E.</given-names>
</name>
</person-group> (<year>2020b</year>). <article-title>A bird&#x2019;s-eye view of naming game dynamics: from trait competition to Bayesian inference</article-title>. <source>Chaos (Woodbury, N.Y.)</source> <volume>30</volume>, <fpage>063119</fpage>. <pub-id pub-id-type="doi">10.1063/5.0009569</pub-id>
</citation>
</ref>
<ref id="B23">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Marchetti</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Patriarca</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Heinsalu</surname>
<given-names>E.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>The role of bilinguals in the Bayesian naming game</article-title>. <source>Phys. D. Nonlinear Phenom.</source> <volume>428</volume>, <fpage>133062</fpage>. <pub-id pub-id-type="doi">10.1016/j.physd.2021.133062</pub-id>
</citation>
</ref>
<ref id="B24">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Meuter</surname>
<given-names>R. F.</given-names>
</name>
<name>
<surname>Allport</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>1999</year>). <article-title>Bilingual language switching in naming: Asymmetrical costs of language selection</article-title>. <source>J. Mem. Lang.</source> <volume>40</volume>, <fpage>25</fpage>&#x2013;<lpage>40</lpage>. <pub-id pub-id-type="doi">10.1006/jmla.1998.2602</pub-id>
</citation>
</ref>
<ref id="B25">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Mickan</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>McQueen</surname>
<given-names>J. M.</given-names>
</name>
<name>
<surname>Lemh&#xf6;fer</surname>
<given-names>K.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Between-language competition as a driving force in foreign language attrition</article-title>. <source>Cognition</source> <volume>198</volume>, <fpage>104218</fpage>. <pub-id pub-id-type="doi">10.1016/j.cognition.2020.104218</pub-id>
</citation>
</ref>
<ref id="B26">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Minett</surname>
<given-names>J. W.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>W. S.-Y.</given-names>
</name>
</person-group> (<year>2008</year>). <article-title>Modelling endangered languages: the effects of bilingualism and social structure</article-title>. <source>Lingua</source> <volume>118</volume>, <fpage>19</fpage>&#x2013;<lpage>45</lpage>. <pub-id pub-id-type="doi">10.1016/j.lingua.2007.04.001</pub-id>
</citation>
</ref>
<ref id="B27">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Moritz-Gasser</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Duffau</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>2009</year>). <article-title>Cognitive processes and neural basis of language switching: Proposal of a new model</article-title>. <source>Neuroreport</source> <volume>20</volume>, <fpage>1577</fpage>&#x2013;<lpage>1580</lpage>. <pub-id pub-id-type="doi">10.1097/wnr.0b013e328333907e</pub-id>
</citation>
</ref>
<ref id="B28">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Moseley</surname>
<given-names>C.</given-names>
</name>
</person-group> (<year>2010</year>). <source>Atlas of the world&#x2019;s languages in danger</source>. <publisher-loc>Paris</publisher-loc>: <publisher-name>UNESCO Publishing</publisher-name>.</citation>
</ref>
<ref id="B29">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Odgen</surname>
<given-names>C. K.</given-names>
</name>
<name>
<surname>Richards</surname>
<given-names>I. A.</given-names>
</name>
</person-group> (<year>1923</year>). <source>The Meaning of Meaning. A study of the influence of thought and of the science of symbolism</source>. <publisher-loc>New York</publisher-loc>: <publisher-name>Harcourt, Brace and World, Inc</publisher-name>.</citation>
</ref>
<ref id="B30">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Patriarca</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Heinsalu</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Leonard</surname>
<given-names>J. L.</given-names>
</name>
</person-group> (<year>2020</year>). &#x201c;<article-title>Languages in space and time: models and methods from complex systems theory</article-title>,&#x201d; in <source>Physics of society: Econophysics and sociophysics</source> (<publisher-name>Cambridge University Press</publisher-name>). <pub-id pub-id-type="doi">10.1017/9781108480659</pub-id>
</citation>
</ref>
<ref id="B31">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Schmid</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>K&#xf6;pke</surname>
<given-names>B.</given-names>
</name>
</person-group> (<year>2019</year>). <source>The Oxford handbook of language attrition</source>. <publisher-loc>Oxford Handbooks</publisher-loc>: <publisher-name>OUP Oxford</publisher-name>.</citation>
</ref>
<ref id="B32">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Vazquez</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Castell&#xf3;</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>San Miguel</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2010</year>). <article-title>Agent based models of language competition: macroscopic descriptions and order&#x2013;disorder transitions</article-title>. <source>J. Stat. Mech. Theory Exp.</source> <volume>2010</volume>, <fpage>P04007</fpage>. <pub-id pub-id-type="doi">10.1088/1742-5468/2010/04/p04007</pub-id>
</citation>
</ref>
<ref id="B33">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Ya-ping</surname>
<given-names>Q.</given-names>
</name>
<name>
<surname>Ya</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Gui-hong</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Kai-feng</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Chao</surname>
<given-names>W.</given-names>
</name>
</person-group> (<year>2015</year>). &#x201c;<article-title>Complex agent network model for the competition among three languages</article-title>,&#x201d; in <conf-name>The 27th Chinese Control and Decision Conference (2015 CCDC)</conf-name>, <conf-loc>Qingdao, China</conf-loc>, <conf-date>23-25 May 2015</conf-date> (<publisher-name>IEEE</publisher-name>), <fpage>5910</fpage>&#x2013;<lpage>5917</lpage>. <pub-id pub-id-type="doi">10.1109/CCDC.2015.7161868</pub-id>
</citation>
</ref>
<ref id="B34">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Ocampo-Espindola</surname>
<given-names>J. L.</given-names>
</name>
<name>
<surname>Kiss</surname>
<given-names>I. Z.</given-names>
</name>
<name>
<surname>Motter</surname>
<given-names>A. E.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Random heterogeneity outperforms design in network synchronization</article-title>. <source>Proc. Natl. Acad. Sci. U. S. A.</source> <volume>118</volume>, <fpage>e2024299118</fpage>. <pub-id pub-id-type="doi">10.1073/pnas.2024299118</pub-id>
</citation>
</ref>
<ref id="B35">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhaoyang</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Sliwinski</surname>
<given-names>M. J.</given-names>
</name>
<name>
<surname>Martire</surname>
<given-names>L. M.</given-names>
</name>
<name>
<surname>Smyth</surname>
<given-names>J. M.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Age differences in adults&#x2019; daily social interactions: an ecological momentary assessment study</article-title>. <source>Psychol. Aging</source> <volume>33</volume>, <fpage>607</fpage>&#x2013;<lpage>618</lpage>. <pub-id pub-id-type="doi">10.1037/pag0000242</pub-id>
</citation>
</ref>
</ref-list>
</back>
</article>