Loading…

Function Transformer

Math Algebra • Functions

View all topics

Choose a base function (or enter a custom \(f(x)\)), then adjust \(a,b,h,k\) in \(\;g(x)=a\,f(b(x-h))+k\). Drag the graph to pan and use the mouse wheel to zoom (hold Shift for vertical pan/zoom).

Transform parameters for \(g(x)=a\,f(b(x-h))+k\)

Graph window

900
Ready

Probe

x=0 · f(x)=… · g(x)=…
Choose a base function and parameters, then press Calculate. The tool outputs the transformed equation \(g(x)=a\,f(b(x-h))+k\) and plots both functions.

Drag to pan. Mouse wheel to zoom (cursor-centered). Hold Shift to pan/zoom vertically. Double-click to reset view.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What is a function transformation in algebra?

A function transformation changes a graph by shifting, stretching, compressing, or reflecting it. These changes are created by modifying the input x, the output f(x), or both.

How do a and k change the graph in y = a f(x) + k?

The value a scales the outputs vertically and reflects the graph across the x-axis when a is negative. The value k shifts the entire graph up when k > 0 and down when k < 0.

How do b and h change the graph in y = f(b(x - h))?

The value h shifts the graph right by h (left if h is negative). The value b scales horizontally, with b > 1 compressing the graph and 0 < b < 1 stretching it, and a negative b reflecting across the y-axis.

Why does horizontal scaling feel reversed compared to vertical scaling?

Horizontal changes act on the input x rather than the output, so replacing x with b x changes where the same output occurs. This is why larger b values compress the graph horizontally instead of stretching it.

When does a transformation change the domain or range?

Shifts and scalings can move the set of outputs and can also move or resize the interval of x-values you are considering. Additional domain restrictions still apply whenever the original function has constraints, such as division by zero, sqrt inputs, or log inputs.