Learn

Learning preferences

Make learning more comfortable. Changes apply immediately.

Enlarges page content, including diagrams and their labels. You can also use your browser’s zoom.

Choose the colours that are easiest for you to distinguish. Applies to lesson diagrams and lab plots. Labels, shapes, hatching and line patterns also distinguish meanings. Source photographs and raw image brightness stay unchanged; mask-only views are available for image overlays.

ExampleComparisonSample link

Saved in this browser on this device. Preferences are separate from progress backups.

Lesson 20 of 22

Add independent variables and change multiple coordinates

Derive supports and Jacobians before evaluating integrals.

Loading your saved responses…

Try the optional starting-point checks and targeted refreshers. You can continue directly into this lesson.

Try

Two independent Uniform(0,2) variables are added. Their sum lies between zero and four, but is not uniform: central sums have more contributing pairs. Sketch the square support and a diagonal strip x+y≈s to predict the shape of the sum density.

Predict

At s=1, the possible x values satisfying 0<x<2 and 0<s−x<2 form an interval of length one. At s=2 the length is two. Predict how the overlap length changes after s passes two. The moving support, not just the density height, creates the triangular law.

Experiment

The product joint density is 1/4. Therefore f_S(s)=s/4 for 0<s<2 and (4−s)/4 for 2<s<4, zero elsewhere. Each triangular half has area 1/2, verifying normalization.

Sum sAllowed x intervalDensity
1(0,1)1/4
2(0,2)1/2
3(1,2)1/4

The endpoints and the peak can be assigned any consistent density value without changing probabilities. Compare the sum’s mean, 2, with linearity of expectation as an independent check.

Understand

For independent continuous X,Y, the convolution formula is f_(X+Y)(s)=∫f_X(x)f_Y(s−x)dx. Without independence, use ∫f_(X,Y)(x,s−x)dx instead. Discrete convolution sums over pairs with the requested total. Independence justifies a product of marginals; zero covariance alone does not.

The formula can be derived by the coordinate change S=X+Y,T=X. Its inverse is X=T,Y=S−T, with absolute inverse Jacobian one. Transform the support as well as the density, then integrate out T. In the uniform example, the overlap bounds are max(0,s−2)<t<min(2,s), producing separate pieces.

For a general one-to-one smooth transformation of a density, multiply the original density at the inverse map by the absolute determinant of the inverse derivative. Global coverage and support must be checked. Several inverse branches contribute separate terms; determinant sign records orientation, not negative probability.

A useful example takes independent exponential rate-one X,Y and defines S=X+Y and U=X/(X+Y). The inverse is X=SU,Y=S(1−U), with S>0 and 0<U<1. Its absolute Jacobian is S. The joint density becomes S e^(−S), factorizing into a normalized Gamma(shape 2, rate 1) density for S and a uniform density for U. This proves independence of the transformed coordinates, not merely zero covariance.

The event X+Y=0 has probability zero in this exponential model, so the ratio’s undefined origin can be assigned arbitrarily without changing the law. Such null-set exceptions should be stated rather than hidden. In a model with an atom at zero, the same ratio would need separate treatment.

Convolution can describe sums even when no elementary antiderivative exists. A valid integral setup with correct support is a meaningful result; numerical approximation should be labeled and checked rather than replaced with an unsupported named family.

Apply

Derive the practice unit-square convolution from overlap bounds and verify total mass. For the sum-and-ratio transformation, compute the derivative matrix of the inverse explicitly and check its determinant. Then verify each factor integrates to one before announcing independence.

Continue

Next use moment-generating functions to identify certain sum laws. Their usefulness depends on existence around zero; finite moments alone are not enough.

Apply · explain · revise

Practice and reasoning

Drafts save locally as you type. Reveal worked solutions when useful; the site remembers that exposure. Automatic matches check the requested answer, while written arguments require review against the rubric.

Independent fair Bernoulli X,Y are added. Find P(X+Y=1).

Integers, fractions and finite decimals are accepted. Expressions such as sqrt(2) are not parsed by this checker.

X,Y are independent Uniform(0,1). Find the density of S=X+Y at s=1/2.

Integers, fractions and finite decimals are accepted. Expressions such as sqrt(2) are not parsed by this checker.

The product convolution f_X(x)f_Y(s−x) applies directly when:

Your response

For S=X+Y,T=X with inverse X=T,Y=S−T, the absolute inverse Jacobian is:

Your response

Derive the complete density of S for independent Uniform(0,1) variables and check it integrates to one.

Structure your argument and preserve revisions

These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.

Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.

Independent X,Y have exponential rate 1. Let S=X+Y and U=X/(X+Y). Derive their joint density and independence.

Structure your argument and preserve revisions

These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.

Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.

Reflect and continue

Before marking this lesson complete, explain one key idea without the worked solution and identify a condition that matters. Marking complete records participation, not independent mastery.