Try it yourself · Class 11 Mathematics · Functions and Graph Transformations

Graph transformations: stretch, squeeze and shift y = a f(b(x – h)) + k

Every transformed graph comes from a basic graph by four moves. The simulation draws the basic graph faint and the transformed graph bold, and reads out the vertex or asymptotes, the period, the domain and the range.

The faint curve is the basic function and the bold curve is . The orange dot is the vertex or start point; orange lines are the asymptotes of . stretches up and down, squeezes sideways, moves right and moves up.

The simulation needs JavaScript; everything it shows is explained below.

What to change

  • Tabs: the basic function , , , or .
  • Stretch a: from -3 to 3 in steps of 0.5. A negative flips the graph upside down.
  • Squeeze b: from -3 to 3 in steps of 0.5. A larger makes the graph narrower; a negative flips it left to right.
  • Shift h: from -4 to 4 moves the graph right. Shift k: from -4 to 4 moves it up.

What to watch

  • For with , , , the vertex is (1, 1) and the range is .
  • Set for : the parabola opens downward and the range becomes .
  • For with : the period is 3.14 (that is ) and the range is .
  • For with , : the asymptotes are and , the domain is and the range is .
  • For with : the graph starts at (1, 1) and runs to the left, so the domain is .

The formula

stretches vertically, squeezes horizontally by , shifts right, shifts up. The period of becomes .

Try these questions

Work each one out with the simulation, tap to see the answer, then try the chapter quiz.

  1. CBSE

    Find the range of (i) (ii) (iii) (iv) .
    Show the answer
    (i) ; (ii) ; (iii) ; (iv)
  2. CBSE

    The domain and range of the function given by is
    1. (A) Domain , Range
    2. (B) Domain , Range
    3. (C) Domain , Range
    4. (D) Domain , Range
    Show the answer
    (B) Domain , Range
  3. CBSE

    The domain and range of the real function defined by is given by
    1. (A) Domain , Range
    2. (B) Domain , Range
    3. (C) Domain , Range
    4. (D) Domain , Range
    Show the answer
    (C) Domain , Range

More to try in Functions and Graph Transformations

Every simulation in the Lab