# Difference between revisions of "Eleisha's Segment 4: The Jailer's Tip"

m |
|||

Line 55: | Line 55: | ||

<math> P(A|S_BI)= \int_x \frac{1}{1 + x} p(x| I)dx </math> | <math> P(A|S_BI)= \int_x \frac{1}{1 + x} p(x| I)dx </math> | ||

− | <math> P(A|S_BI)= \int_x \frac{1}{1 + x} p(x| I)\times\frac{1}{2}\left[\delta\left(x - \frac{1}{3}\right) + \delta\left(x - \frac{2}{3}\right)\right] dx = \frac{1}{2}\left[\frac{1}{1+ \frac{1}{3}} + \frac{1}{\frac{2}{3}}\right] = \left[ \frac{3}{4} + \frac{3}{5}\right] = \frac{27}{40} = 0.675</math> | + | <math> P(A|S_BI)= \int_x \frac{1}{1 + x} p(x| I)\times\frac{1}{2}\left[\delta\left(x - \frac{1}{3}\right) + \delta\left(x - \frac{2}{3}\right)\right] dx = \frac{1}{2}\left[\frac{1}{1+ \frac{1}{3}} + \frac{1}{1 + \frac{2}{3}}\right] = \left[ \frac{3}{4} + \frac{3}{5}\right] = \frac{27}{40} = 0.675</math> |

<math></math> | <math></math> |

## Latest revision as of 09:53, 3 March 2014

** To Calculate: **

1. Evaluate
**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int_0^1 \delta(3x - 2) dx }**

Let
**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y = 3x - 2 }**

**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{dy}{dx} = 3 }**

**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle dy = 3dx }**

**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{1}{3}dy = dx }**

Substituting: **Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int_0^1 \delta(3x - 2) dx = \int_0^1 \delta(y) \frac{1}{3}dy = \frac{1}{3} \int_0^1 \delta(y)dy = \frac{1}{3}*[1] }**
(by definition) **Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle = \frac{1}{3} }**

2. Prove that

**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \delta(ax) =\frac{1}{a}\delta(x) }**

Solution:
If **Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \delta(ax) =\frac{1}{a}\delta(x) }**
then **Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int_{-\infty}^\infty \delta(ax) = \int_{-\infty}^{\infty} \frac{1}{a}\delta(x) }**

Let
**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y = ax }**

**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{dy}{dx} = a }**

**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle dy = adx }**

**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{1}{a}dy = dx }**

So substituting we have
**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int_{-\infty}^\infty \delta(y)\frac{1}{a}dy = \frac{1}{a} \int_{-\infty}^\infty \delta(y)dy }**

**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{1}{a} \int_{-\infty}^\infty \delta(y)dy = \int_{-\infty}^{\infty} \frac{1}{a}\delta(x) dx }**

since **Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int_{-\infty}^{\infty} \delta(u) = 1 }**
by definition

3. What is the numerical value of **Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle P(A|S_BI)}**
if the prior for **Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle p(x) }**
is a massed prior with half the mass at **Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x = 1/3 }**
and half the mass at **Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x = 2/3 }**
?

Prior = **Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{1}{2}\left[\delta\left(x - \frac{1}{3}\right) + \delta\left(x - \frac{2}{3}\right)\right] }**

So,

**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle P(A|S_BI)= \int_x \frac{1}{1 + x} p(x| I)dx }**

**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle P(A|S_BI)= \int_x \frac{1}{1 + x} p(x| I)\times\frac{1}{2}\left[\delta\left(x - \frac{1}{3}\right) + \delta\left(x - \frac{2}{3}\right)\right] dx = \frac{1}{2}\left[\frac{1}{1+ \frac{1}{3}} + \frac{1}{1 + \frac{2}{3}}\right] = \left[ \frac{3}{4} + \frac{3}{5}\right] = \frac{27}{40} = 0.675}**

** To Think About: **

1. With respect to problem 3, above, since x is a probability, how can choosing x=1/3 half the time, and x=2/3 the other half of the time be different from choosing x=1/2 all the time?

2. Suppose A is some event that we view as stochastic with P(A), such as "will it rain today?". But the laws of physics (or meteorology) say that A actually depends on other weather variables X, Y, Z, etc., with conditional probabilities P(A|XYZ...). If we repeatedly sample just A, to naively measure P(A), are we correctly marginalizing over the other variables?

** Back To: ** Eleisha Jackson