🎯 Transformation of Functions β€” Mastering Graph Shifts, Stretches & Reflections

Author: Rishabh Kumar (IIT + ISI | Global Math Mentor)
Published: October 2025
Category: Algebra | Graphs & Functions


πŸ”Ή What Are Function Transformations?

A transformation of a function changes its shape, position, or orientation on a graph β€” without altering its fundamental nature.

Every transformation can be understood as a modification of the base function f(x)f(x)f(x).

For example:

  • y=f(x)+ky = f(x) + ky=f(x)+k β†’ vertical shift
  • y=f(xβˆ’h)y = f(x – h)y=f(xβˆ’h) β†’ horizontal shift
  • y=βˆ’f(x)y = -f(x)y=βˆ’f(x) β†’ reflection about x-axis
  • y=af(x)y = a f(x)y=af(x) β†’ vertical stretch or compression

Think of transformations as β€œhow functions move and morph on the graph paper.”


πŸ”Ή The Four Core Transformations

Let’s break them down with meaning and examples.


1️⃣ Vertical Shifts (Up/Down)

Adding or subtracting a constant outside the function moves the graph up or down. y=f(x)+ky = f(x) + ky=f(x)+k

  • If k>0k > 0k>0: shift up by kkk
  • If k<0k < 0k<0: shift down by ∣k∣|k|∣k∣

🧩 Example: y=x2+3y = x^2 + 3y=x2+3

is the graph of y=x2y = x^2y=x2 shifted up 3 units.


2️⃣ Horizontal Shifts (Left/Right)

Adding or subtracting inside the function argument moves it left or right. y=f(xβˆ’h)y = f(x – h)y=f(xβˆ’h)

  • If h>0h > 0h>0: shift right by hhh
  • If h<0h < 0h<0: shift left by ∣h∣|h|∣h∣

🧩 Example: y=(xβˆ’2)2y = (x – 2)^2y=(xβˆ’2)2

is the graph of y=x2y = x^2y=x2 shifted 2 units right.


3️⃣ Reflections (Flipping the Graph)

Flips the graph across an axis.

  • y=βˆ’f(x)y = -f(x)y=βˆ’f(x): reflect about the x-axis
  • y=f(βˆ’x)y = f(-x)y=f(βˆ’x): reflect about the y-axis

🧩 Example: y=βˆ’βˆ£x∣y = -|x|y=βˆ’βˆ£x∣

is the reflection of y=∣x∣y = |x|y=∣x∣ downward across the x-axis.


4️⃣ Stretches and Compressions

Multiplying either the output or input by a constant changes the steepness or width of the graph.

(a) Vertical Stretch/Compression

y=af(x)y = a f(x)y=af(x)

  • ∣a∣>1|a| > 1∣a∣>1: vertical stretch
  • 0<∣a∣<10 < |a| < 10<∣a∣<1: vertical compression

🧩 Example: y=2x2y = 2x^2y=2×2

is narrower (stretched vertically) than y=x2y = x^2y=x2.

(b) Horizontal Stretch/Compression

y=f(bx)y = f(bx)y=f(bx)

  • ∣b∣>1|b| > 1∣b∣>1: compressed horizontally (narrower)
  • 0<∣b∣<10 < |b| < 10<∣b∣<1: stretched horizontally (wider)

🧩 Example: y=(2x)2=4x2y = (2x)^2 = 4x^2y=(2x)2=4×2

is narrower than y=x2y = x^2y=x2.


πŸ”Ή Combined Transformations

Most exam questions (IB, A Level, AP) mix multiple transformations.
The key is to apply transformations in the correct order β€” usually inside β†’ outside (horizontal β†’ vertical).

🧩 Example: y=βˆ’2(xβˆ’1)2+3y = -2(x – 1)^2 + 3y=βˆ’2(xβˆ’1)2+3

Step-by-step:
1️⃣ Shift right 1 unit β†’ (xβˆ’1)(x – 1)(xβˆ’1)
2️⃣ Stretch vertically by factor 2 β†’ 2(xβˆ’1)22(x – 1)^22(xβˆ’1)2
3️⃣ Reflect across x-axis β†’ βˆ’2(xβˆ’1)2-2(x – 1)^2βˆ’2(xβˆ’1)2
4️⃣ Shift up 3 units β†’ +3+3+3

βœ… Result: a parabola opening downward, vertex at (1, 3), narrower than y=x2y = x^2y=x2.


πŸ”Ή Symmetry & Invariance

Transformations preserve symmetry if applied carefully:

  • Reflection about y-axis preserves even functions (f(x)=f(βˆ’x)f(x) = f(-x)f(x)=f(βˆ’x))
  • Reflection about x-axis flips the sign of all outputs
  • Translations preserve overall shape but not symmetry center

πŸ”Ή Common Mistakes

  1. ❌ Mixing up inside vs outside shifts (horizontal vs vertical).
  2. ❌ Forgetting sign reversal β€” f(xβˆ’h)f(x – h)f(xβˆ’h) moves right, not left.
  3. ❌ Applying transformations in the wrong order.
  4. ❌ Ignoring negative scaling factors (they cause reflections).

πŸ”Ή Advanced Insight β€” Function Composition

All transformations can be written as compositions: y=af(b(xβˆ’h))+ky = a f(b(x – h)) + ky=af(b(xβˆ’h))+k

Where:

  • hhh: horizontal shift
  • bbb: horizontal stretch/compression
  • aaa: vertical stretch/compression
  • kkk: vertical shift

This unified form helps in graph sketching, transformations, and inverse function questions.


πŸ”Ή Real-World Applications

  • Physics: wave transformations (phase shift, amplitude, frequency)
  • Economics: demand/supply function scaling
  • Computer graphics: geometric transformations
  • Math exams: core for IB, IGCSE, A Level, and AP

🌟 Why This Topic Matters

Understanding transformations builds graphical intuition β€” the ability to visualize equations before plotting them.
It turns algebra into geometry β€” a crucial skill for competitive exams like STEP and MAT, where interpretation matters more than formula.


πŸ“˜ Learn Visually, Think Conceptually

At Math By Rishabh, we go beyond formula β€” we teach how to see math.

In the Mathematics Elevate Mentorship, you’ll:
βœ… Master transformations through geometry & animation,
βœ… Build graph intuition for exam problems,
βœ… Learn visual calculus through function motion.

πŸš€ Transform how you see functions.
πŸ‘‰ Book your personalized mentorship session now at MathByRishabh.com

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top