← Math & statistics

Function Transformation Calculator

Graph transformations from the parent graph by changing a, b, h, and v. Compare shifts, stretches, compressions, and reflections side by side.

No sign-in. Calculations run in your browser.

Other languages 日本語 | English | 简体中文 | 繁體中文 | 繁體中文(香港) | Español | Español (LatAm) | Español (México) | Português (Brasil) | Português (Portugal) | Bahasa Indonesia | Tiếng Việt | 한국어 | Français | Deutsch | Italiano | Русский | हिन्दी | العربية | বাংলা | اردو | Türkçe | ไทย | Polski | Filipino | Bahasa Melayu | فارسی | Nederlands | Українська | עברית | Čeština
Parameters

Graph

Gray shows the base f(x); blue shows the transformed y. Dashed lines mark asymptotes and the dot marks the chosen x*.

Results

How it's calculated

    How to read a, b, h, and v

    Quick examples

    Common mistakes

    If (t, f(t)) is on the parent graph, it becomes (t/b + h, a·f(t) + v) on the transformed graph when b ≠ 0. Use that point mapping to sanity-check the graph against the algebra.

    FAQ

    How do I read transformations of functions from the parent graph?

    Start with the parent graph, then change one parameter at a time. h and v shift the graph, while a and b control scaling and reflections.

    What does positive h mean in a function transformation?

    In y = a·f(b(x−h)) + v, positive h shifts the graph to the right. Negative h shifts it to the left.

    How do a and b cause reflections?

    If a is negative, the graph reflects across the x-axis. If b is negative, the graph reflects across the y-axis.

    Why does |b| > 1 compress horizontally?

    Because b multiplies the x-input before f. A feature at x=t on f appears at x=t/b after transformation (plus h), so distances in x become smaller when |b| is larger than 1.

    What does the share URL store?

    The link stores the family, a, b, h, v, domain preset, x*, and whether teacher mode is on, so the same graph and settings open right away.