1. Definition
From y=f(x), shifts and stretches give y=a·f(x−h)+k: a vertical stretch, h horizontal shift, k vertical shift.
2. Formula & Notation
| a | Vertical stretch (a<0 reflects) |
| h | Horizontal shift |
| k | Vertical shift |
3. Properties & Laws
- f(x)+k shifts up for k>0;
- f(x−h) shifts right for h>0;
- a f(x) stretches vertically by a;
- f(bx) stretches horizontally by 1/b;
- −f(x), f(−x) reflect in the axes.
4. Steps
- Enter a, h, k;
- Click "Calculate" for the description;
- Or click "Load Example".
5. Worked Examples
Example: y=2f(x−1)+3: shift right 1, stretch ×2, shift up 3.
6. Common Pitfalls
x−h moves right;
Order of shift and stretch matters;
For negative a, reflect after stretching.