Shift, stretch, and reflect any function with sliders
Every function can be transformed using the formula y = a · f(x − h) + k. The parameter k shifts the graph up or down, h shifts it left or right, and a stretches or compresses it vertically. When a is negative, the graph flips upside down.
Use the sliders below to experiment: start with the k slider to shift vertically, then try h for horizontal shifts, and finally a for stretching and reflection. Watch how the shape changes in real time.
Ask the AI "What does a = −2 do?" or "Move the vertex to (3, 4)."