<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://nemenmanlab.org/~ilya/index.php?action=history&amp;feed=atom&amp;title=Physics_434%2C_2012%3A_Homework_5</id>
	<title>Physics 434, 2012: Homework 5 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://nemenmanlab.org/~ilya/index.php?action=history&amp;feed=atom&amp;title=Physics_434%2C_2012%3A_Homework_5"/>
	<link rel="alternate" type="text/html" href="https://nemenmanlab.org/~ilya/index.php?title=Physics_434,_2012:_Homework_5&amp;action=history"/>
	<updated>2026-05-17T09:39:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://nemenmanlab.org/~ilya/index.php?title=Physics_434,_2012:_Homework_5&amp;diff=439&amp;oldid=prev</id>
		<title>Ilya: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://nemenmanlab.org/~ilya/index.php?title=Physics_434,_2012:_Homework_5&amp;diff=439&amp;oldid=prev"/>
		<updated>2018-07-04T16:28:42Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 16:28, 4 July 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Ilya</name></author>
		
	</entry>
	<entry>
		<id>https://nemenmanlab.org/~ilya/index.php?title=Physics_434,_2012:_Homework_5&amp;diff=438&amp;oldid=prev</id>
		<title>nemenman&gt;Ilya at 01:32, 4 October 2012</title>
		<link rel="alternate" type="text/html" href="https://nemenmanlab.org/~ilya/index.php?title=Physics_434,_2012:_Homework_5&amp;diff=438&amp;oldid=prev"/>
		<updated>2012-10-04T01:32:50Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{PHYS434-2012}}&lt;br /&gt;
#Consider a biochemical system for production of a protein that is somewhat different from what we explored in class: number of proteins &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; increases by one with a rate &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; and it decreases with the rate &amp;lt;math&amp;gt;rn^2&amp;lt;/math&amp;gt;. This happens when the protein is involved in a self-degradation, as is widely believed to be true for development (Eldar et al., 2003) Derive the deterministic equation describing the system. Then derive the equations describing its stochastic dynamics: the master, the Langevin, and the Fokker-Planck equations. Let's explore how well all four of these descriptions agree with each other. Write programs to solve all four of these equations (see below for suggestions).  Start your simulations with &amp;lt;math&amp;gt;n(t=0)=60&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha=50&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;r=1/50&amp;lt;/math&amp;gt;. Explore different values of &amp;lt;math&amp;gt;\alpha,r&amp;lt;/math&amp;gt; and answer the following questions: (a) What are the conditions, under which all four different simulation techniques largely agree with each other? (b) Which simulations are closer to  each other: Langevin vs. Fokker-Planck or Langevin vs. master equation? (c) Under which conditions is each of the two pairs close to each other? Illustrate your answers with graphs. The following should be helpful when you write your simulations code:&lt;br /&gt;
#*Solve the deterministic chemical kinetics equation numerically using the Euler stepping method. That is: &amp;lt;math&amp;gt;n(t+\Delta t)=n(t)+ \frac{dn}{dt}\Delta t&amp;lt;/math&amp;gt;&lt;br /&gt;
#*For the master equation, formally the array of probabilities &amp;lt;math&amp;gt;P_n&amp;lt;/math&amp;gt; is infinite dimensional. But the probabilities &amp;lt;math&amp;gt;P_n&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;n\gg\bar{n}+10\sqrt{\bar{n}}&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\bar{n}&amp;lt;/math&amp;gt; is the average value of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; obtained from the equivalent deterministic equation, are extremely small. So we may keep track of a finite set of probabilities &amp;lt;math&amp;gt;P_n&amp;lt;/math&amp;gt; that are not too much larger than the the expected deterministic mean. Then one can do Euler stepping again, now for each of &amp;lt;math&amp;gt;P_n&amp;lt;/math&amp;gt;, to calculate the dynamics of each of these probabilities.&lt;br /&gt;
#*For the Fokker-Planck equation, one can specify &amp;lt;math&amp;gt;P(n,t)&amp;lt;/math&amp;gt; at discretized values of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and approximate spatial derivatives with finite differences, as you did in calculus. And then use the Eurler method again.&lt;br /&gt;
#*Finally, for the Langevin equation, we get a single random trajectory &amp;lt;math&amp;gt;n(t)&amp;lt;/math&amp;gt; at a time. One must then generate many such random trajectories and histogram them to get an approximation to &amp;lt;math&amp;gt;P(n,t)&amp;lt;/math&amp;gt;.&lt;br /&gt;
#*Compare distributions from Langevin, Fokker-Planck, and master simulations by plotting them on top of each other.&lt;br /&gt;
#Analytically calculate the entropy of a Gaussian random variable.&lt;br /&gt;
#How much information can a spiking neuron transmit? This is limited from above by its entropy rate. Let's represent a neuron as releasing action potentials with a Poisson process with a certain rate &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, and let's calculate the entropy rate of the Poisson process. First represent this process by discretizing time in intervals &amp;lt;math&amp;gt;\Delta t&amp;lt;/math&amp;gt;. Explain why the entropy of the Poisson generated sequence of duration &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; (or, alternatively, &amp;lt;math&amp;gt;n=T/\Delta t&amp;lt;/math&amp;gt; symbols) is exactly proportional to time, that is &amp;lt;math&amp;gt;S=sn&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; is some constant. Thus we only need to calculate the entropy of a single symbol, this &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;, in order to find the entropy rate as &amp;lt;math&amp;gt;R=\frac{sT}{\Delta t T}&amp;lt;/math&amp;gt;. Does this rate have a finite value as &amp;lt;math&amp;gt;\Delta t\to0&amp;lt;/math&amp;gt;? Why or why not?&lt;br /&gt;
#''Graduate students:'' Suppose now the neuron has what's called a ''refractory period''. That is, after a spike, a neuron cannot fire for the time &amp;lt;math&amp;gt;\tau_r&amp;lt;/math&amp;gt;. What is the entropy rate of such neuron?&lt;/div&gt;</summary>
		<author><name>nemenman&gt;Ilya</name></author>
		
	</entry>
</feed>