Skip to content
Nemenman Lab
Menu ☰

Archive · Physics 434, 2012

Homework 8

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

  1. Consider the following Langevin differential equation that we discussed in class: dxdt=−kx+cη\frac{dx}{dt}=-kx+c\eta, where η\eta is a Wiener process, that is, it is a Gaussian variable with ⟨η⟩=0\langle\eta\rangle=0, ⟨η(t)η(t′)⟩=δ(t−t′)\langle\eta(t)\eta(t')\rangle=\delta(t-t').
    • Write simple program that would solve this equation using Euler stepping. That is, following our discussion in one of the previous homeworks, for a given kk, cc and the temporal step size Δt\Delta t, we can define xn≡x(nΔt)x_n\equiv x(n\Delta t), and then xn+1−xnΔt=−kxn+cΔtν\frac{x_{n+1}-x_{n}}{\Delta t}= -kx_n+\frac{c}{\sqrt{\Delta t}}\nu, where ν\nu is a Gaussian random variable with zero mean and unit variance. This then gives xn+1=xn−kxnΔt+cΔtνx_{n+1}=x_{n} -kx_n\Delta t+c\sqrt{\Delta t}\nu, which can be turned into a simple for-loop code for simulating a sequence of x’s.
    • Simulate N=1e5N=1e5 steps of this dynamics of xx. Plot xx. Describe what you see.
    • Take a Fourier transform of this xx using the Matlab build-in fftfft function.
    • Plot (in log-log scale) the power spectrum (that is ∣xω∣2≡xωx−ω\left|x_\omega\right|^2\equiv x_\omega x_{-\omega}.
    • Using the expressions we derived in class, show that the power spectrum for this xx should look like ⟨xωx−ω⟩=c2k2+ω2\langle x_\omega x_{-\omega}\rangle=\frac{c^2}{k^2+\omega^2}. Compare this to your plot. Do they look similar? Think about why or why not. (Hint — they will be similar for about half of your plot).
  2. Write down an expression for the mutual information through an enzymatic amplifier, derived in class. Suppose the input signal is band limited, so that its spectrum is ⟨ΔEa,ωΔEa,−ω⟩=ϵ21+ω2τE2\langle \Delta E_{a,\omega}\Delta E_{a,-\omega}\rangle= \frac{\epsilon^2}{1+\omega^2\tau_E^2}, where ϵ\epsilon is some constant depending on the system kinetic rates. We suppose that there’s no input noise, and only intrinsic noise in the amplifier. Remembering that g01τ≤constg_0\frac{1}{\tau}\le {\rm const} (recall what this constant is), can you find the best setting for an amplifier (that is, the choice of τ\tau), which would improve the mutual information between the input or the output of the amplifier? That is, can filtering improve the information? Now suppose there is input noise δEa,ω\delta E_{a,\omega}. Does it change the result? Explain your results.