<?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_380%2C_2011%3A_Lecture_2</id>
	<title>Physics 380, 2011: Lecture 2 - 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_380%2C_2011%3A_Lecture_2"/>
	<link rel="alternate" type="text/html" href="https://nemenmanlab.org/~ilya/index.php?title=Physics_380,_2011:_Lecture_2&amp;action=history"/>
	<updated>2026-05-17T09:39:51Z</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_380,_2011:_Lecture_2&amp;diff=293&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_380,_2011:_Lecture_2&amp;diff=293&amp;oldid=prev"/>
		<updated>2018-07-04T16:28:41Z</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_380,_2011:_Lecture_2&amp;diff=292&amp;oldid=prev</id>
		<title>nemenman&gt;Ilya at 13:37, 30 August 2011</title>
		<link rel="alternate" type="text/html" href="https://nemenmanlab.org/~ilya/index.php?title=Physics_380,_2011:_Lecture_2&amp;diff=292&amp;oldid=prev"/>
		<updated>2011-08-30T13:37:59Z</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;{{PHYS380-2011}}&lt;br /&gt;
&lt;br /&gt;
During these lectures, we will review some basic concepts of probability theory, such as probability distributions, conditionals, marginals, expectations, etc. We will discuss the central limit theorem and will derive some properties of random walks. Finally, we will study some specific useful probability distributions. In the course of this whole lecture block, we should be thinking about ''E. coli'' chemotaxis in the background -- all of these concepts will be applicable.&lt;br /&gt;
&lt;br /&gt;
''Workup questions''' for the previous lecture: &lt;br /&gt;
# Is one photon a lot for a human or not? Let's estimate how many photons we get per photoreceptor per behavioral time scale.&lt;br /&gt;
# We discussed ''E. coli'' swimming last time. Let's watch a demo. A question is: how does the spiral motion propel the bug? In other words: how will a tilted bar fall in corn syrup?&lt;br /&gt;
&lt;br /&gt;
A very good introduction to probability theory can be found in &lt;br /&gt;
[http://www.dartmouth.edu/~chance/teaching_aids/books_articles/probability_book/pdf.html Introduction to Probability] by CM Grinstead and JL Snell.&lt;br /&gt;
 &lt;br /&gt;
*Random variables: motion of ''E. coli'', time to neural action potential; diffusion and first passage&lt;br /&gt;
**Sample space, events, probabilities --  probability space&lt;br /&gt;
**nonnegativity: &amp;lt;math&amp;gt;P_i\ge0&amp;lt;/math&amp;gt;&lt;br /&gt;
**unit normalization: &amp;lt;math&amp;gt;\sum_{i=1}^N P_i=1&amp;lt;/math&amp;gt;&lt;br /&gt;
**nesting: if &amp;lt;math&amp;gt;A\subset B&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;P(A)\le P(B)&amp;lt;/math&amp;gt;&lt;br /&gt;
**additivity (for non-disjoint events): &amp;lt;math&amp;gt; P(A\cup B)=P(A)+P(B)-P(A\cap B)&amp;lt;/math&amp;gt;&lt;br /&gt;
**complementarity &amp;lt;math&amp;gt;P(not\, A)=1-P(A)&amp;lt;/math&amp;gt;&lt;br /&gt;
*Continuous and discrete events: probability distributions and densities &amp;lt;math&amp;gt;P_i&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;P(x)&amp;lt;/math&amp;gt;&lt;br /&gt;
**Cumulative distributions &amp;lt;math&amp;gt;C(x)=\int_{-\infty}^x P(x')dx'&amp;lt;/math&amp;gt;&lt;br /&gt;
**Change of variables for continuous and discrete variates &amp;lt;math&amp;gt;P(x')=P(x)\frac{dx}{dx'}&amp;lt;/math&amp;gt;, for multi-dimensional variables &amp;lt;math&amp;gt;P(\vec{x'})=P(\vec{x})\left|\frac{dx_\alpha}{dx'_\beta}\right|&amp;lt;/math&amp;gt;&lt;br /&gt;
*Distributions: &lt;br /&gt;
**uniform: probability of doing a tumble by an ''E.coli'' in any moment of an interval of duration &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; if we know that. &amp;lt;math&amp;gt;P(t)=1/T,\; 0\le t\le T&amp;lt;/math&amp;gt;&lt;br /&gt;
**exponential: time to the next ''E. coli'' tumble at constant tumbling rate &amp;lt;math&amp;gt;P(t)=r e^{-rt}&amp;lt;/math&amp;gt;. We derived this in class.&lt;br /&gt;
**Poisson: number of ''E. coli'' tumbles in a given time; &amp;lt;math&amp;gt;P(n)=\frac{(rT)^n}{n!}e^{-rT}&amp;lt;/math&amp;gt;. Derived in class&lt;br /&gt;
**For all of these examples, can replace bacterial tumbling with a neural spike.&lt;br /&gt;
*Expectations, Moments, central moments&lt;br /&gt;
**moments: &amp;lt;math&amp;gt;\mu_n=E(x^n)=\int x^nP(x)dx&amp;lt;/math&amp;gt;&lt;br /&gt;
**central moments: &amp;lt;math&amp;gt;m_n=E((x-\mu)^n)&amp;lt;/math&amp;gt;: distribution mean, width, asymmetry, flatness, etc...&lt;br /&gt;
*Frequencies and probabilities: Law of large numbers. If &amp;lt;math&amp;gt;S=\frac{1}{n}\sum x_i&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\mu_S=\mu_x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sigma^2_S=\sigma^2_x/n&amp;lt;/math&amp;gt;. Thus the sample mean approaches the true mean of the distribution. See one of the homework problems for this week.&lt;br /&gt;
&lt;br /&gt;
We have also discussed our first program in class. The ''E. coli'' motion program is available here:&lt;br /&gt;
*[[media:ecoli.m | ecoli.m]]&lt;/div&gt;</summary>
		<author><name>nemenman&gt;Ilya</name></author>
		
	</entry>
</feed>