[Math] Transformations of the form $f(ax+b)$

algebra-precalculusgraphing-functions

Suppose I wanted to sketch the graph $y=\sqrt{5x-10}$ for $5x-10 \ge0$

Is there a direct method?

I know that I can define first $g(x)=\sqrt{x}$ and consider $y=g(5x)$ or $y=\sqrt{5x}$ This is a stretch scale factor $\frac{1}{5}$ parallel to the $x$ axis.

I define a new function $h(x)=\sqrt{5x}$ then consider $y=h(x-2)$, a translation by the vector $[2,0]^T$

But is there a direct method? I'm thinking along the lines of $y=f(5(x-2))$ but I couldn't work it.

I'd like to do it more directly because my students are struggling when they do it in steps. The topic arose when finding the range of a function and sketching all the intermediate graphs confuses them.

I had searched the site and the web but couldn't find anything. Hopefully I've not missed a duplicate question as I'm surprised it hadn't been asked previously.

Thanks for your help in advance.

Best Answer

We have $$ f(ax+b)=f(a(x+\tfrac ba)) $$ corresponding to a stretch by a factor $\frac 1a$ followed by a horisontal translation by $-\frac ba$. You simply invert the operations, so multiplied by $a$ becomes stretched by $\frac 1a$ and adding $\frac ba$ becomes shifted by $-\frac ba$. So in steps:

  1. Given $f(ax+b)$ write down $a,\frac ba$.
  2. Invert both in turn to have $\frac 1a,-\frac ba$.
  3. Conclude that the graph of $f$ have been stretched by a factor $\frac 1a$ followed by a horisontal shift by $-\frac ba$.
Related Question