7.3 Chapter Summary
This chapter focused on methods for simplifying sums and integrals. This chapter can be summarized with 4 main techniques:
Sums and integrals of linear functions are linear functions of sums and integrals (you can move linear functions outside a sum or an integral),
Integration/summation by parts,
Integration by substitution/change of variables, and
Change of density.
Change of Density Visualizer - Use this tool to visualize changes of density.
Sums and Integrals of Sums and Products¶
Definitions and examples are all available in Section 7.1.
Sums and integrals are linear so, given f(x)=ag(x)+bh(x) then:
all x∑f(x)=aall x∑g(x)+ball x∑h(x),∫all xf(x)dx=a∫all xg(x)dx+b∫all xh(x)dx. Integration by Parts:
Given f(x)=g(x)h′(x),
∫x=abf(x)dx=g(x)h(x)∣∣x=ab−∫abg′(x)h(x)dx where h′(x)=dxdh(x) and g′(x)=dxdg(x).
Tail Integrals/Sums:
By integration/summation by parts, if X is nonnegative random variable, then:
E[X]={∫x=0∞Pr(X>x)dx∑x=1∞Pr(X≥x) if continuous if discrete
Change of Variables:¶
Definitions and examples are all available in Section 7.2.
To integrate by change of variables (“u-substitution”):
Suppose that f(x)=g∘h(x)=g(h(x)) and that h(x) is a monotonic function. Let u=h(x) and du(x)=h′(x)dx.
Let h−1 denote the inverse function that recovers x from u, x=h−1(u).
Then:
∫g(h(x))dx=∫h′(h−1(u))g(u)du=∫g~(u)du. Let G~ denote the indefinite integral of g~(x)=g(u)/h′(h−1(u)). Then:
∫abg(h(x))dx=G~(u)∣∣h(a)h(b)=G~(h(b))−G~(h(a)). Applying the change of variables formulas to probability densities produces the change of density formula:
If X is a continuous random variable with density fX, and Y=h(X) for some differentiable, monotonic function h, then:
fY(y)=fX(x)∣h′(x)∣1 at x=h−1(y). If h(x)=σx+s for some σ>0, then we can use the linear change of density formula:
fY(y)∝fX(h−1(y))=fX(σx−s).