Solved Exercises on Effects of Transformations on Center and Spread

Master transformation effects: linear and scaling transformations on measures of center and spread through these 5 detailed exercises covering theoretical and practical applications.

Solution: Exercises 1 to 3
1 Linear Transformation Effects
Exercise 1
A dataset has a mean of 50 and a standard deviation of 10. If we add 15 to each value in the dataset, what are the new mean and standard deviation?
Definition:

Linear transformation: Adding or subtracting a constant to each value in a dataset.

Translation: Moving all data points by the same amount without changing their relative positions.

Transformation rules:
  1. Linear transformation: x → x + c (where c is a constant)
  2. Mean: New mean = Original mean + c
  3. Standard deviation: New std dev = Original std dev (unchanged)
Step 1: Identify the transformation

Each value is increased by 15

This is a linear transformation: x → x + 15

Step 2: Apply transformation to the mean

Original mean = 50

New mean = Original mean + 15 = 50 + 15 = 65

Step 3: Apply transformation to the standard deviation

Original standard deviation = 10

Linear transformations do not affect spread measures

New standard deviation = 10 (unchanged)

Step 4: Verify with mathematical reasoning

Standard deviation measures spread: σ = √[Σ(xi - μ)²/n]

After transformation: σ_new = √[Σ((xi + 15) - (μ + 15))²/n] = √[Σ(xi - μ)²/n] = σ

The constant cancels out, so standard deviation is unchanged

Step 5: State the complete result

New mean = 65, New standard deviation = 10

New mean = 65, New standard deviation = 10
Final answer:

The new mean is 65 and the new standard deviation is 10. When we add a constant to each value, the mean increases by that constant, but the standard deviation remains unchanged because the relative distances between values stay the same.

Applied rules:

• Linear transformation: x → x + c

• Mean transformation: μ_new = μ_orig + c

• Spread invariance: σ_new = σ_orig

2 Scaling Transformation Effects
Exercise 2
A dataset has a mean of 20, median of 18, and standard deviation of 5. If we multiply each value by 3, what are the new mean, median, and standard deviation?
Definition:

Scaling transformation: Multiplying or dividing each value in a dataset by a constant.

Proportional change: All values change by the same multiplicative factor.

Step 1: Identify the transformation

Each value is multiplied by 3

This is a scaling transformation: x → 3x

Step 2: Apply transformation to the mean

Original mean = 20

New mean = Original mean × 3 = 20 × 3 = 60

Step 3: Apply transformation to the median

Original median = 18

New median = Original median × 3 = 18 × 3 = 54

Step 4: Apply transformation to the standard deviation

Original standard deviation = 5

Scaling transformations affect spread measures by the same factor

New standard deviation = 5 × 3 = 15

Step 5: Verify with mathematical reasoning

For standard deviation: If each value is multiplied by 3, the distances from the mean are also multiplied by 3

σ_new = √[Σ(3xi - 3μ)²/n] = √[Σ9(xi - μ)²/n] = 3√[Σ(xi - μ)²/n] = 3σ

New mean = 60, New median = 54, New standard deviation = 15
Final answer:

The new mean is 60, the new median is 54, and the new standard deviation is 15. When we multiply each value by 3, all measures (both center and spread) are multiplied by 3. The relative positions of values are preserved, but all distances are scaled by the same factor.

Applied rules:

• Scaling transformation: x → cx

• Center scaling: Mean_new = Mean_orig × c

• Spread scaling: σ_new = σ_orig × c

3 Combined Transformation Effects
Exercise 3
A dataset has a mean of 40, median of 35, and standard deviation of 8. If we transform each value using the formula y = 2x + 10, what are the new mean, median, and standard deviation?
Definition:

Combined transformation: A transformation that includes both scaling and linear components (y = ax + b).

Sequential effects: Scaling affects both center and spread, while linear transformation affects only center.

Step 1: Identify the transformation components

Transformation: y = 2x + 10

This consists of: (1) Scaling by 2, then (2) Adding 10

Step 2: Apply scaling effects first

After scaling by 2:

New mean = 40 × 2 = 80

New median = 35 × 2 = 70

New standard deviation = 8 × 2 = 16

Step 3: Apply linear transformation effects

After adding 10 to the scaled values:

New mean = 80 + 10 = 90

New median = 70 + 10 = 80

New standard deviation = 16 + 0 = 16 (unchanged by linear transformation)

Step 4: Apply general formulas

For transformation y = ax + b:

Mean_new = a × Mean_orig + b

Median_new = a × Median_orig + b

σ_new = |a| × σ_orig

Using a = 2, b = 10: Mean = 2×40 + 10 = 90, Median = 2×35 + 10 = 80, σ = 2×8 = 16

Step 5: Verify the results

Mean_new = 90, Median_new = 80, Standard deviation_new = 16

These match our sequential calculation

New mean = 90, New median = 80, New standard deviation = 16
Final answer:

The new mean is 90, the new median is 80, and the new standard deviation is 16. For the transformation y = 2x + 10, both center and spread measures are affected by the scaling factor (2), while only center measures are affected by the additive constant (10).

Applied rules:

• Combined transformation: y = ax + b

• Center transformation: Center_new = a × Center_orig + b

• Spread transformation: Spread_new = |a| × Spread_orig

Transformation Effects Summary
y = ax + b \Rightarrow \begin{cases} \text{Mean}: \mu_y = a\mu_x + b \\ \text{Median}: M_y = aM_x + b \\ \text{SD}: \sigma_y = |a|\sigma_x \end{cases}
Combined Transformation Formula
Linear (x+c)
Mean → μ+c
SD → σ
Shifts center only
Scaling (cx)
Mean → cμ
SD → |c|σ
Affects both center and spread
Combined (ax+b)
Mean → aμ+b
SD → |a|σ
Both effects combined
Key definitions:

Linear transformation: Adding or subtracting a constant to each value (x → x + c).

Scaling transformation: Multiplying or dividing each value by a constant (x → cx).

Combined transformation: A combination of scaling and linear transformations (x → ax + b).

Measure invariance: How certain measures respond to transformations.

Effect patterns:
  1. Linear transformations: Affect center measures, leave spread unchanged
  2. Scaling transformations: Affect both center and spread measures
  3. Combined transformations: Scale both center and spread, then shift center
Tip 1: Linear transformations (adding/subtracting) only affect center.
Tip 2: Scaling transformations (multiplying/dividing) affect both center and spread.
Tip 3: Standard deviation is always positive, so use |a| for scaling.
Tip 4: The order of operations doesn't matter for combined transformations.
Linear Effects: Mean, median, mode all shift by the same constant; range, IQR, standard deviation unchanged.
Scaling Effects: All measures (center and spread) scale by the same factor; shape of distribution preserved.
Transformation rules:

• Linear (x+c): Center changes by c, spread unchanged

• Scaling (cx): Center and spread both multiplied by |c|

• Combined (ax+b): Center → a×center+b, spread → |a|×spread

Solution: Exercises 4 to 5
4 Real-World Application
Exercise 4
A university converts GPAs from a 4.0 scale to a 100-point scale using the formula: New GPA = 25 × Old GPA. If the original GPAs had a mean of 3.2 and standard deviation of 0.5, what are the new statistics? Interpret the results.
Definition:

Scale conversion: Changing the unit of measurement while preserving the relative relationships between values.

Proportional scaling: Maintaining the same relative distances between values after transformation.

Step 1: Identify the transformation

Formula: New GPA = 25 × Old GPA

This is a scaling transformation with factor a = 25

Original: mean = 3.2, standard deviation = 0.5

Step 2: Apply transformation to the mean

New mean = 25 × Original mean = 25 × 3.2 = 80

Step 3: Apply transformation to the standard deviation

New standard deviation = 25 × Original standard deviation = 25 × 0.5 = 12.5

Step 4: Interpret the results

Original scale: Mean = 3.2, SD = 0.5 (on 4.0 scale)

New scale: Mean = 80, SD = 12.5 (on 100-point scale)

The transformation preserves the relative positions of students

Step 5: Verify the interpretation

A student with original GPA of 3.2 (mean) now has 80 (new mean)

A student one standard deviation above the mean: 3.2 + 0.5 = 3.7 → 25 × 3.7 = 92.5

One standard deviation above new mean: 80 + 12.5 = 92.5 ✓

New mean = 80, New standard deviation = 12.5
Final answer:

The new mean is 80 and the new standard deviation is 12.5. The conversion from 4.0 scale to 100-point scale multiplies all statistics by 25. The mean GPA of 3.2 becomes 80, and the standard deviation of 0.5 becomes 12.5. The relative positions of students remain the same, just on a different scale.

Applied rules:

• Scaling factor: a = 25

• Center scaling: Mean_new = 25 × Mean_orig

• Spread scaling: σ_new = 25 × σ_orig

5 Temperature Conversion
Exercise 5
Daily temperatures in Fahrenheit have a mean of 68°F and standard deviation of 10°F. Convert to Celsius using the formula: °C = (°F - 32) × 5/9. What are the new mean and standard deviation?
Definition:

Temperature conversion: A real-world application of linear transformations with both scaling and shifting components.

Unit conversion: Changing measurement units while preserving physical relationships.

Step 1: Rewrite the transformation in standard form

°C = (°F - 32) × 5/9

°C = (5/9) × °F - (5/9) × 32

°C = (5/9) × °F - 17.78

This is in the form y = ax + b where a = 5/9 and b = -17.78

Step 2: Apply transformation to the mean

Original mean = 68°F

New mean = a × Original mean + b = (5/9) × 68 + (-17.78)

New mean = 37.78 - 17.78 = 20°C

Step 3: Apply transformation to the standard deviation

Original standard deviation = 10°F

Standard deviation is affected only by the scaling factor (a)

New standard deviation = |a| × Original standard deviation = (5/9) × 10 = 5.56°C

Step 4: Verify with direct calculation

Using the formula: New mean = (68 - 32) × 5/9 = 36 × 5/9 = 20°C ✓

For standard deviation: The linear shift (-32) doesn't affect spread

Only the scaling by 5/9 affects the standard deviation

Step 5: Interpret the results

The mean temperature of 68°F becomes 20°C

The standard deviation of 10°F becomes 5.56°C

The variability is reduced because the Celsius scale has smaller units

New mean = 20°C, New standard deviation = 5.56°C
Final answer:

The new mean is 20°C and the new standard deviation is 5.56°C. The conversion from Fahrenheit to Celsius involves both scaling (by 5/9) and shifting (subtracting 32 then scaling). The mean is affected by both operations, but the standard deviation is only affected by the scaling operation, reducing the variability from 10°F to 5.56°C.

Applied rules:

• Combined transformation: y = ax + b

• Center transformation: Both scaling and shifting apply

• Spread transformation: Only scaling applies (shift doesn't affect spread)

Comprehensive Guide to Transformation Effects
\text{For } y = ax + b: \quad \mu_y = a\mu_x + b, \quad \sigma_y = |a|\sigma_x
General Transformation Formula
Key definitions:

Transformation: A mathematical operation applied to each value in a dataset.

Linear transformation: Adding or subtracting a constant (translation).

Scaling transformation: Multiplying or dividing by a constant (expansion/compression).

Combined transformation: Both scaling and linear operations applied together.

Measure invariance: How statistical measures respond to transformations.

Transformation analysis:
  1. Identify transformation type: Linear, scaling, or combined
  2. Apply to center measures: Mean, median, mode
  3. Apply to spread measures: Standard deviation, variance, range, IQR
  4. Verify with examples: Check with sample values
Tip 1: Linear transformations only affect center, not spread.
Tip 2: Scaling affects both center and spread by the same factor.
Tip 3: Always use absolute value for spread measures when scaling.
Tip 4: The shape of the distribution is preserved under linear transformations.
Tip 5: Z-scores are invariant under linear transformations.
Tip 6: Variance scales by the square of the scaling factor.
Linear Transformation Effects: Mean, median, mode → add constant; Standard deviation, variance → unchanged; Range, IQR → unchanged.
Scaling Transformation Effects: Mean, median, mode → multiply by factor; Standard deviation → multiply by absolute factor; Variance → multiply by squared factor.
Real-World Applications: Unit conversions, standardization, currency conversions, temperature conversions, scaling measurements.
Key transformation rules:

• Linear (x+c): Center measures shift by c, spread measures unchanged

• Scaling (cx): All measures scale by |c| (except variance by c²)

• Combined (ax+b): Center → a×center+b, Spread → |a|×spread

• Variance scaling: Var(ax+b) = a²×Var(x)

Transformation Effects Visualization
Understanding Transformation Effects
Key characteristics of transformation effects:
Linear: Shifts center only, preserves spread
Scaling: Affects both center and spread
Combined: Both effects applied together
Invariance: Some relationships preserved under transformation
Real-world: Practical applications in unit conversions

Analysis: Transformations affect center and spread measures differently depending on the type of transformation applied.

  • Linear transformations: Only affect center measures
  • Scaling transformations: Affect both center and spread
  • Combined transformations: Apply both effects sequentially
  • Shape preservation: Distribution shape remains the same
  • Unit conversion: Maintain relative relationships between values

Questions & Answers

Question: Why doesn't adding a constant to each value change the standard deviation? Doesn't the data move?

Answer: Great question! Adding a constant moves all data points by the same amount, but the relative distances between them remain unchanged:

  • Standard deviation measures: How spread out the values are relative to each other
  • When you add a constant: Every value increases by the same amount, so the distances between values stay the same
  • Example: If data is 10, 20, 30 and you add 5, it becomes 15, 25, 35. The gaps (10 units each) remain the same.

Think of it like moving a ruler along a number line - the marks stay the same distance apart, just at different positions.

Question: What happens to variance when we apply transformations? Is it the same as standard deviation?

Answer: Variance behaves differently than standard deviation:

  • Linear transformation (x + c): Variance is unchanged (like standard deviation)
  • Scaling transformation (cx): Variance is multiplied by c² (standard deviation multiplied by |c|)
  • Combined transformation (ax + b): Variance is multiplied by a² (standard deviation by |a|)

Why the difference?: Variance is based on squared deviations, so scaling affects it quadratically. Since standard deviation is the square root of variance, it's affected linearly.

For example, if you multiply each value by 3, the variance becomes 9 times larger, but the standard deviation becomes 3 times larger.

Question: Does the median follow the same transformation rules as the mean? What about the mode?

Answer: Yes, both median and mode follow the same transformation rules as the mean:

  • Linear transformation (x + c): Median_new = Median_orig + c, Mode_new = Mode_orig + c
  • Scaling transformation (cx): Median_new = c × Median_orig, Mode_new = c × Mode_orig
  • Combined transformation (ax + b): Median_new = a × Median_orig + b, Mode_new = a × Mode_orig + b

Why?: These measures of center are positional - they depend on the relative ordering of values. When all values are transformed in the same way, their relative positions (and therefore the median and mode) transform the same way.

This is true as long as the transformation is monotonic (preserves order).

Question: What happens to the range and IQR under transformations? Do they follow the same rules as standard deviation?

Answer: Range and IQR behave like standard deviation under transformations:

  • Linear transformation (x + c): Range_new = Range_orig, IQR_new = IQR_orig (unchanged)
  • Scaling transformation (cx): Range_new = |c| × Range_orig, IQR_new = |c| × IQR_orig
  • Combined transformation (ax + b): Range_new = |a| × Range_orig, IQR_new = |a| × IQR_orig

Reason: Both range and IQR measure spread based on differences between values. Linear transformations don't change differences (the +c cancels out), but scaling transformations multiply all differences by the same factor.

For example, if range is 10 and you multiply by 2, the new range is 20, just like standard deviation.

Question: Do z-scores change when we apply transformations to the data? How does this affect interpretation?

Answer: Z-scores are invariant under linear transformations:

  • For transformation y = ax + b: The z-score of the transformed value equals the z-score of the original value
  • Proof: z_y = (y - μ_y)/σ_y = (ax + b - (aμ_x + b))/(|a|σ_x) = (a(x - μ_x))/(|a|σ_x) = sign(a) × z_x
  • When a > 0: z_y = z_x (same z-score)

Interpretation: This property makes z-scores very useful for comparing relative positions across different scales. A student's relative performance (z-score) remains the same whether grades are reported as 85% or 8.5/10.

This is why standardized tests maintain the same interpretation regardless of the raw score scale.