Transformation of a Single Variable (DP IB Analysis & Approaches (AA)): Revision Note

Did this video help you?

Transformation of a Single Variable

How do I calculate the expected value and variance of a transformation of X?

  • Suppose X is transformed by the function f to form a new variable T = f(X)

    • This means the function f is applied to all possible values of X

  • Create a new probability distribution table

    • The top row contains the values t subscript i equals f open parentheses x subscript i close parentheses

    • The bottom row still contains the values straight P invisible function application open parentheses X equals x subscript i close parentheses which are unchanged as:

      • straight P invisible function application open parentheses X equals x subscript i close parentheses equals straight P invisible function application open parentheses f open parentheses X close parentheses equals f open parentheses x subscript i close parentheses close parentheses equals straight P invisible function application left parenthesis T equals t subscript i right parenthesis

      • Some values of may be equal so you can add their probabilities together

  • The mean is calculated in the same way

    • straight E invisible function application open parentheses T close parentheses equals sum t straight P invisible function application left parenthesis X equals x right parenthesis blank

  • The variance is calculated using the same formula

    • Var invisible function application open parentheses T close parentheses equals straight E invisible function application open parentheses T ² close parentheses minus open square brackets straight E invisible function application open parentheses T close parentheses close square brackets squared

Are there any shortcuts?

  • There are formulae which can be used if the transformation is linear

    • T equals a X plus b where a and b are constants

  • If the transformation is not linear then there are no shortcuts

    • You will have to first find the probability distribution of T

What are the formulae for E(aX + b) and Var(aX + b)?

  • If a and b are constants then the following formulae are true:

    • straight E left parenthesis a X space plus space b right parenthesis space equals space a straight E left parenthesis X right parenthesis space plus space b

    • Var left parenthesis a X space plus space b right parenthesis space equals space a ² Var left parenthesis X right parenthesis

      • These are given in the formula booklet

  • This is the same as linear transformations of data

    • The mean is affected by multiplication and addition/subtraction

    • The variance is affected by multiplication but not addition/subtraction

  • Remember division can be written as a multiplication

    • X over a equals 1 over a X

Worked Example

X is a random variable such that straight E left parenthesis X right parenthesis equals 5and Var left parenthesis X right parenthesis equals 4.

Find the value of:

(i) straight E left parenthesis 3 X plus 5 right parenthesis

(ii) Var left parenthesis 3 X plus 5 right parenthesis

(iii) Var left parenthesis 2 minus X right parenthesis.

4-4-2-ib-aa-ai-hl-axb-we-solution

You've read 0 of your 5 free revision notes this week

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Did this page help you?

Dan Finlay

Author: Dan Finlay

Expertise: Maths Subject Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.