Skip to content
Nemenman Lab
Menu ☰

Archive · Physics 434, 2012

Homework 5

Archived from the old lab wiki. Some external links may no longer work.

  1. Consider a biochemical system for production of a protein that is somewhat different from what we explored in class: number of proteins nn increases by one with a rate α\alpha and it decreases with the rate rn2rn^2. 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 n(t=0)=60n(t=0)=60 and α=50\alpha=50 and r=1/50r=1/50. Explore different values of α,r\alpha,r 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:
    • Solve the deterministic chemical kinetics equation numerically using the Euler stepping method. That is: n(t+Δt)=n(t)+dndtΔtn(t+\Delta t)=n(t)+ \frac{dn}{dt}\Delta t
    • For the master equation, formally the array of probabilities PnP_n is infinite dimensional. But the probabilities PnP_n for n≫nˉ+10nˉn\gg\bar{n}+10\sqrt{\bar{n}}, where nˉ\bar{n} is the average value of nn obtained from the equivalent deterministic equation, are extremely small. So we may keep track of a finite set of probabilities PnP_n that are not too much larger than the the expected deterministic mean. Then one can do Euler stepping again, now for each of PnP_n, to calculate the dynamics of each of these probabilities.
    • For the Fokker-Planck equation, one can specify P(n,t)P(n,t) at discretized values of nn and approximate spatial derivatives with finite differences, as you did in calculus. And then use the Eurler method again.
    • Finally, for the Langevin equation, we get a single random trajectory n(t)n(t) at a time. One must then generate many such random trajectories and histogram them to get an approximation to P(n,t)P(n,t).
    • Compare distributions from Langevin, Fokker-Planck, and master simulations by plotting them on top of each other.
  2. Analytically calculate the entropy of a Gaussian random variable.
  3. 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 rr, and let’s calculate the entropy rate of the Poisson process. First represent this process by discretizing time in intervals Δt\Delta t. Explain why the entropy of the Poisson generated sequence of duration TT (or, alternatively, n=T/Δtn=T/\Delta t symbols) is exactly proportional to time, that is S=snS=sn, where ss is some constant. Thus we only need to calculate the entropy of a single symbol, this ss, in order to find the entropy rate as R=sTΔtTR=\frac{sT}{\Delta t T}. Does this rate have a finite value as Δt→0\Delta t\to0? Why or why not?
  4. 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 τr\tau_r. What is the entropy rate of such neuron?