University of Southampton · FACULTY OF STATISTICS

MATH6174 Chap.4 Transformations and Derived Distributions

- one subject, every graph, every model, every mark
7 Chapters3-page Bible
Our own words - no uploaded lecturer files
Updated for this semester
Chapter 4 of 10 · MATH6174

Transformations and Derived Distributions

Transformations and Derived Distributions is the chapter the final examination returns to most often. The problem is to find the distribution of Y = g(X) when the distribution of X is known, and the lecture slides give the reason directly: many theoretical results needed for inference are derived this way.

For a one-to-one transformation of a continuous variable, the transformation theorem states that the density of Y equals the density of X evaluated at the inverse g inverse of y, multiplied by the absolute value of the derivative of that inverse. The support of Y must be worked out separately by mapping the support of X. When g is not one-to-one, such as Y = X squared on the whole real line, the c.d.f.

method or a sum over the inverse branches is used instead. For vectors the derivative becomes the Jacobian determinant of the inverse map, and a two-variable problem often introduces an auxiliary variable which is integrated out at the end. Three derived distributions follow.

The square of a standard normal is chi-squared with one degree of freedom, which is a gamma with shape one half and rate one half, and sums of independent chi-squared variables add their degrees of freedom. The t distribution is the ratio of a standard normal to the square root of an independent chi-squared divided by its degrees of freedom.

The F distribution is the ratio of two independent chi-squared variables, each divided by its degrees of freedom. The 2025/26 final opened with transformations of a half-normal variable, and the 2026/27 class test asked for the distribution of a scaled exponential, so the method has to be fluent.

In this chapter

What this chapter covers

  • 01

    The transformation theorem for one-to-one maps

  • 02

    Mapping the support of the new variable

  • 03

    The c.d.f. method for non-monotone maps

  • 04

    Jacobians for two-variable transformations

  • 05

    Squares of normals and the chi-squared family

  • 06

    The t distribution as a normal over a chi-squared root

  • 07

    The F distribution as a ratio of scaled chi-squared variables

Worked example · free

Show that a scaled gamma variable is chi-squared

Q [6 marks]. X has a gamma distribution with shape 3 and rate beta. Use the transformation theorem to find the density of Y = 2 beta X and identify it. The weighting here is for self-study and is not an official scheme.
The same probability, redistributed.The same probability, redistributed. If X is exponential(1), then Y = root X has density 2y exp(-y squared) on the positive line; the computed curves show the mass near zero for X pulled out to a hump with its mode at 1/root 2.00.511.522.5300.51valuedensityX exponential(1): exp(-x)Y = root X: 2y exp(-y squared)mode of Y at 1/root 2
The same probability, redistributed. If X is exponential(1), then Y = root X has density 2y exp(-y squared) on the positive line; the computed curves show the mass near zero for X pulled out to a hump with its mode at 1/root 2.
  • 1The map y = 2 beta x is one-to-one on the positive line, with inverse x = y/(2 beta), so the support of Y is also y > 0.
  • 1The derivative of the inverse is 1/(2 beta), so the absolute Jacobian is 1/(2 beta).
  • 2Substitute: the density of Y is beta cubed over Gamma(3), times (y/(2 beta)) squared, times exp(-y/2), times 1/(2 beta).
  • 1The powers of beta cancel and the density simplifies to y squared exp(-y/2) divided by 2 cubed Gamma(3).
  • 1This is the chi-squared density with k = 6, since a chi-squared with k degrees of freedom is a gamma with shape k/2 and rate 1/2.
Y = 2 beta X has a chi-squared distribution with 6 degrees of freedom.
Sia tip — State the new support on its own line before substituting; a correct density on the wrong support is still a wrong distribution.
Glossary

Key terms

Jacobian
The factor that rescales a density under a change of variables, computed from the partial derivatives of the inverse map.
Chi-squared distribution
A gamma distribution with shape k/2 and rate 1/2, arising as a sum of k squared independent standard normals.
Student t distribution
The distribution of a standard normal divided by the square root of an independent chi-squared over its degrees of freedom.
F distribution
The distribution of a ratio of two independent chi-squared variables, each divided by its own degrees of freedom.
FAQ

Transformations and Derived Distributions FAQ

Why do I need the absolute value of the derivative?

A density must stay non-negative. For a decreasing transformation the derivative of the inverse is negative, and without the absolute value the new density would be negative. The absolute value is what makes the formula work for both increasing and decreasing maps.

What if the transformation is not one-to-one?

Split the support into pieces on which the map is one-to-one and add the contributions, or start from the c.d.f. For Y = X squared with X on the whole line, P(Y <= y) = P(-root y <= X <= root y), and differentiating that probability gives the density of Y.

How do I choose the auxiliary variable in a two-variable problem?

Pick a second variable that makes the inverse map easy to write, often one of the original variables itself, such as Y1 = X1 alongside Y2 = X2/X1. Find the joint density with the Jacobian, then integrate the auxiliary variable out to get the marginal you want.

How do I know the transformed density is correct?

Integrate it over the new support and check that the answer is one, then compare it with a family you know. If the integral is not one, the usual causes are a missing Jacobian, a Jacobian taken for the forward rather than the inverse map, or limits that ignore how the support moved.

Study strategy

Exam move

Use a fixed five-line layout for every transformation: map and inverse, support of the new variable, derivative or Jacobian, substitution, and identification of the family. Work the scaled exponential, the square of a normal and the reciprocal of a positive variable until the layout is automatic, then attempt the two-variable problems on the second exercise sheet, which practise the Jacobian and marginalisation together.

Working through Transformations and Derived Distributions in MATH6174? Sia is AskSia’s AI Statistics tutor — ask any MATH6174 Transformations and Derived Distributions question and get a clear, step-by-step explanation grounded in how MATH6174 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.

A+Everything unlocked
Unlocks this Bible + all 8 of your subjects at University of Southampton, plus 1,000+ more Bibles across the AskSia library.
Sia - your MATH6174 tutor, unlimited, worked the way the exam marks it
The full 3-page Bible + practice bank with worked solutions
Chrome extension - sync your LMS so Sia knows your deadlines
Bilingual EN / Chinese on every Bible and every Sia answer
$0.99 Trial
30-day money-back · cancel in one tap · how it works