You have 3 free guides left 😟
Unlock your guides
You have 3 free guides left 😟
Unlock your guides

Probability and expected values are key concepts in calculus, bridging mathematics with real-world applications. They help us understand uncertainty and make predictions about random events, using double integrals to calculate probabilities over two-dimensional regions.

This topic dives into joint and marginal probability density functions, conditional probability, and expected values. We'll explore how to use double integrals to find probabilities, calculate conditional probabilities, and determine expected values and variances for continuous random variables.

Joint and Marginal Probability Density Functions

Defining Joint and Marginal Probability Density Functions

Top images from around the web for Defining Joint and Marginal Probability Density Functions
Top images from around the web for Defining Joint and Marginal Probability Density Functions
  • f(x,y)f(x,y) gives the probability density of two continuous random variables XX and YY occurring together
  • fX(x)f_X(x) or fY(y)f_Y(y) gives the probability density of a single , either XX or YY, without considering the other variable
    • Can be obtained by integrating the joint probability density function over the range of the other variable
    • For example, the marginal probability density function of XX is given by fX(x)=f(x,y)dyf_X(x) = \int_{-\infty}^{\infty} f(x,y) dy
  • Properties of joint probability density functions:
    • Non-negative: f(x,y)0f(x,y) \geq 0 for all xx and yy
    • Integrates to 1 over the entire domain: f(x,y)dxdy=1\int_{-\infty}^{\infty} \int_{-\infty}^{\infty} f(x,y) dx dy = 1

Calculating Probabilities using Double Integrals

  • Double integral in probability can be used to calculate the probability of two continuous random variables falling within a specific region
  • Probability of (X,Y)(X,Y) falling within a region RR is given by P((X,Y)R)=Rf(x,y)dAP((X,Y) \in R) = \iint_R f(x,y) dA
    • RR is the region of interest in the xyxy-plane
    • dAdA represents the area element dxdydx dy
  • Example: If the joint probability density function is f(x,y)=6xyf(x,y) = 6xy over the region 0x10 \leq x \leq 1 and 0y1x0 \leq y \leq 1 - x, the probability of (X,Y)(X,Y) falling within this triangular region is R6xydA=1\iint_R 6xy dA = 1

Conditional Probability

Definition and Formula

  • Conditional probability measures the probability of an event occurring given that another event has already occurred
  • For continuous random variables XX and YY, the of YY given X=xX=x is denoted as fYX(yx)f_{Y|X}(y|x)
    • Defined as fYX(yx)=f(x,y)fX(x)f_{Y|X}(y|x) = \frac{f(x,y)}{f_X(x)}, where f(x,y)f(x,y) is the joint probability density function and fX(x)f_X(x) is the marginal probability density function of XX
  • Similarly, the conditional probability density function of XX given Y=yY=y is fXY(xy)=f(x,y)fY(y)f_{X|Y}(x|y) = \frac{f(x,y)}{f_Y(y)}

Calculating Conditional Probabilities

  • To calculate the probability of YY falling within a range [c,d][c,d] given X=xX=x, integrate the conditional probability density function over that range:
    • P(cYdX=x)=cdfYX(yx)dyP(c \leq Y \leq d | X=x) = \int_c^d f_{Y|X}(y|x) dy
  • Similarly, to calculate the probability of XX falling within a range [a,b][a,b] given Y=yY=y:
    • P(aXbY=y)=abfXY(xy)dxP(a \leq X \leq b | Y=y) = \int_a^b f_{X|Y}(x|y) dx

Expected Value and Variance

Expected Value

  • (or ) of a XX with probability density function f(x)f(x) is denoted as E(X)E(X) or μX\mu_X
    • Calculated using the formula E(X)=xf(x)dxE(X) = \int_{-\infty}^{\infty} x f(x) dx
  • For a function g(X)g(X) of the random variable XX, the expected value is given by E(g(X))=g(x)f(x)dxE(g(X)) = \int_{-\infty}^{\infty} g(x) f(x) dx
  • Expected value of a continuous random variable XX with joint probability density function f(x,y)f(x,y) is E(X)=xf(x,y)dxdyE(X) = \int_{-\infty}^{\infty} \int_{-\infty}^{\infty} x f(x,y) dx dy

Variance

  • of a continuous random variable XX measures the spread of the distribution around its expected value
    • Denoted as Var(X)Var(X) or σX2\sigma_X^2
    • Calculated using the formula Var(X)=E((XμX)2)=(xμX)2f(x)dxVar(X) = E((X - \mu_X)^2) = \int_{-\infty}^{\infty} (x - \mu_X)^2 f(x) dx
  • Alternative formula for variance: Var(X)=E(X2)(E(X))2Var(X) = E(X^2) - (E(X))^2
    • Where E(X2)=x2f(x)dxE(X^2) = \int_{-\infty}^{\infty} x^2 f(x) dx is the expected value of X2X^2
  • σX\sigma_X is the square root of the variance

Covariance and Correlation

Covariance

  • Covariance measures the linear relationship between two continuous random variables XX and YY
    • Denoted as Cov(X,Y)Cov(X,Y) or σXY\sigma_{XY}
    • Calculated using the formula Cov(X,Y)=E((XμX)(YμY))=(xμX)(yμY)f(x,y)dxdyCov(X,Y) = E((X - \mu_X)(Y - \mu_Y)) = \int_{-\infty}^{\infty} \int_{-\infty}^{\infty} (x - \mu_X)(y - \mu_Y) f(x,y) dx dy
  • Alternative formula for covariance: Cov(X,Y)=E(XY)E(X)E(Y)Cov(X,Y) = E(XY) - E(X)E(Y)
    • Where E(XY)=xyf(x,y)dxdyE(XY) = \int_{-\infty}^{\infty} \int_{-\infty}^{\infty} xy f(x,y) dx dy is the expected value of the product XYXY
  • Positive covariance indicates a positive linear relationship, negative covariance indicates a negative linear relationship, and zero covariance suggests no linear relationship

Correlation Coefficient

  • Correlation coefficient measures the strength and direction of the linear relationship between two continuous random variables XX and YY
    • Denoted as ρXY\rho_{XY}
    • Calculated using the formula ρXY=Cov(X,Y)σXσY\rho_{XY} = \frac{Cov(X,Y)}{\sigma_X \sigma_Y}, where σX\sigma_X and σY\sigma_Y are the standard deviations of XX and YY, respectively
  • Properties of the correlation coefficient:
    • Always between -1 and 1, inclusive
    • ρXY=1\rho_{XY} = 1 indicates a perfect positive linear relationship
    • ρXY=1\rho_{XY} = -1 indicates a perfect negative linear relationship
    • ρXY=0\rho_{XY} = 0 suggests no linear relationship
© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.


© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.
Glossary
Glossary