Home Integration by PartsIntegration by PartsExamples Integration by Parts with a definite integral Going in Circles Tricks of the Trade Integrals of Trig FunctionsAntiderivatives of Basic Trigonometric FunctionsProduct of Sines and Cosines (mixed even and odd powers or only odd powers) Product of Sines and Cosines (only even powers) Product of Secants and Tangents Other Cases Trig SubstitutionsHow Trig Substitution WorksSummary of trig substitution options Examples Completing the Square Partial FractionsIntroduction to Partial FractionsLinear Factors Irreducible Quadratic Factors Improper Rational Functions and Long Division Summary Strategies of IntegrationSubstitutionIntegration by Parts Trig Integrals Trig Substitutions Partial Fractions Improper IntegralsType 1 - Improper Integrals with Infinite Intervals of IntegrationType 2 - Improper Integrals with Discontinuous Integrands Comparison Tests for Convergence Modeling with Differential EquationsIntroductionSeparable Equations A Second Order Problem Euler's Method and Direction FieldsEuler's Method (follow your nose)Direction Fields Euler's method revisited Separable EquationsThe Simplest Differential EquationsSeparable differential equations Mixing and Dilution Models of GrowthExponential Growth and DecayThe Zombie Apocalypse (Logistic Growth) Linear EquationsLinear ODEs: Working an ExampleThe Solution in General Saving for Retirement Parametrized CurvesThree kinds of functions, three kinds of curvesThe Cycloid Visualizing Parametrized Curves Tracing Circles and Ellipses Lissajous Figures Calculus with Parametrized CurvesVideo: Slope and AreaVideo: Arclength and Surface Area Summary and Simplifications Higher Derivatives Polar CoordinatesDefinitions of Polar CoordinatesGraphing polar functions Video: Computing Slopes of Tangent Lines Areas and Lengths of Polar CurvesArea Inside a Polar CurveArea Between Polar Curves Arc Length of Polar Curves Conic sectionsSlicing a ConeEllipses Hyperbolas Parabolas and Directrices Shifting the Center by Completing the Square Conic Sections in Polar CoordinatesFoci and DirectricesVisualizing Eccentricity Astronomy and Equations in Polar Coordinates Infinite SequencesApproximate Versus Exact AnswersExamples of Infinite Sequences Limit Laws for Sequences Theorems for and Examples of Computing Limits of Sequences Monotonic Covergence Infinite SeriesIntroductionGeometric Series Limit Laws for Series Test for Divergence and Other Theorems Telescoping Sums Integral TestPreview of Coming AttractionsThe Integral Test Estimates for the Value of the Series Comparison TestsThe Basic Comparison TestThe Limit Comparison Test Convergence of Series with Negative TermsIntroduction, Alternating Series,and the AS TestAbsolute Convergence Rearrangements The Ratio and Root TestsThe Ratio TestThe Root Test Examples Strategies for testing SeriesStrategy to Test Series and a Review of TestsExamples, Part 1 Examples, Part 2 Power SeriesRadius and Interval of ConvergenceFinding the Interval of Convergence Power Series Centered at $x=a$ Representing Functions as Power SeriesFunctions as Power SeriesDerivatives and Integrals of Power Series Applications and Examples Taylor and Maclaurin SeriesThe Formula for Taylor SeriesTaylor Series for Common Functions Adding, Multiplying, and Dividing Power Series Miscellaneous Useful Facts Applications of Taylor PolynomialsTaylor PolynomialsWhen Functions Are Equal to Their Taylor Series When a Function Does Not Equal Its Taylor Series Other Uses of Taylor Polynomials Functions of 2 and 3 variablesFunctions of several variablesLimits and continuity Partial DerivativesOne variable at a time (yet again)Definitions and Examples An Example from DNA Geometry of partial derivatives Higher Derivatives Differentials and Taylor Expansions Differentiability and the Chain RuleDifferentiabilityThe First Case of the Chain Rule Chain Rule, General Case Video: Worked problems Multiple IntegralsGeneral Setup and Review of 1D IntegralsWhat is a Double Integral? Volumes as Double Integrals Iterated Integrals over RectanglesHow To Compute Iterated IntegralsExamples of Iterated Integrals Fubini's Theorem Summary and an Important Example Double Integrals over General RegionsType I and Type II regionsExamples 1-4 Examples 5-7 Swapping the Order of Integration Area and Volume Revisited Double integrals in polar coordinatesdA = r dr (d theta)Examples Multiple integrals in physicsDouble integrals in physicsTriple integrals in physics Integrals in Probability and StatisticsSingle integrals in probabilityDouble integrals in probability Change of VariablesReview: Change of variables in 1 dimensionMappings in 2 dimensions Jacobians Examples Bonus: Cylindrical and spherical coordinates |
Often, we are interested in two random variables $X$ and $Y$, and want to understand how they are related. For instance, $X$ might be tomorrow's high temperature, and $Y$ might be tomorrow's barometric pressure. Or $X$ might be the concentration of virus in a patient's blood, and $Y$ might be the concentration of an antibody. Or $X$ and $Y$ might be the horizontal and vertical coordinates of the spot where a dart hits a board. When we have two random variables $X$ and $Y$, the pair $(x,y)$ takes values in the plane, and we speak of the probability per unit area of $(x,y)$ landing in a certain region. This is called the joint probability density function, and is written $f_{X,Y}(x,y)$.
If we know the joint distribution of $X$ and $Y$, we can compute the distribution of just $X$ or just $Y$. These are called marginal distributions, because for discrete random variables they are often written on the margins of a table. We get $f_X(x)$ by integrating $f_{X,Y}(x,y)$ over $y$, and $f_Y(y)$ by integrating $f_{X,Y}(x,y)$ over $x$: \begin{eqnarray*} f_X(x) & = & \int_{-\infty}^\infty f_{X,Y}(x,y) dy \\ f_Y(y) & = & \int_{-\infty}^\infty f_{X,Y}(x,y) dx \end{eqnarray*} If $\mu_X$ and $\mu_Y$ are the average values of $X$ and $Y$, then the covariance of $X$ and $Y$ is $$Cov(X,Y) = E((X-\mu_X)(Y-\mu_Y)) = \iint (x-\mu_x)(y-\mu_y) f_{X,Y}(x,y) dA.$$ Just like the variance of one variable, this is more easily computed as $$Cov(X,Y) = E(XY) - \mu_X\mu_Y = \iint xy f_{X,Y}(x,y) dA - \mu_X\mu_Y.$$ The correlation between $X$ and $Y$ is $$Cor(X,Y) = \frac{Cov(X,Y)}{\sigma_X\sigma_Y}.$$ This is a number, often written $r$, between $-1$ and $1$. If $r$ is close to 1, then all the likely values of $(X,Y)$ lie close to a straight line of positive slope. In that case we say that $X$ and $Y$ are positively correlated. Increases in $X$ are then associated with increases in $Y$, and vice-versa. This is statistical evidence that $X$ and $Y$ are somehow related. Maybe $X$ causes $Y$, or maybe $Y$ causes $X$, or maybe something else causes both of them. If $r$ is close to $-1$, then the likely values of $(X,Y)$ lie close to a line of negative slope, so increasing $X$ tends to decrease $Y$, and vice-versa. $X$ and $Y$ are said to be negatively correlated. Again, this is evidence that $X$ and $Y$ are related. If $r$ is close to 0, then $X$ and $Y$ are said to be uncorrelated.
|