Why isn't $f(x)=\sqrt{2-x}$ reflected across the y-axis?

1.5k Views Asked by At

If I try to graph this function, it does not appear to reflect across the y-axis when it comes time to do the reflection. Rather, it is reflected around the point where the function begins on the graph.

Here is what I tried: $$\sqrt{2-x}=\sqrt{-(x-2)}$$ This makes it easier to graph the transformations:

Root function ($f(x)=\sqrt{x}$):

Graph of the real square root of x with x from -20 to 20.

With the right horizontal shift ($f(x)=\sqrt{x-2}$):

Previous graph, shifted over two units to the right.

With a horizontal reflection ($f(x)=\sqrt{-(x-2)}$):

This is the part I'm confused about. Why doesn't it reflect across the y-axis?

Previous graph, reflected horizontally accross the point of origin of the line.

I would expect the final graph to look like this:

Same graph, but reflected across the y-axis.

2

There are 2 best solutions below

3
On BEST ANSWER

As you observed that $f(2-x) = f\big(-(x-2)\big)$. Since $$ f(x) \quad \stackrel{(1)}{\longrightarrow} \quad f(-x) \quad \stackrel{(2)}{\longrightarrow} \quad f\big(-(x-2)\big), $$ we can obtain $f(2-x)$ from $f(x)$ by transformations that correspond to (1) and (2), where

(1) is reflection across the $y$-axis;

(2) is translation to the right by $2$ units.

1
On

When it comes to combining transformations, you should think of it as a replacement procedure. Shifting two units to the right means replacing $x$ with $x - 2$. A reflection over the $y$-axis means replacing $x$ with $-x$. So if we apply these transformations in the given order, then we would get $y = f(-x - 2) = \sqrt{-x - 2}$.

On the other hand, the function $y = f(-(x - 2))$ suggests that we applied the two transformations in reverse order. That is, we first reflected the function over the $y$-axis, then shifted the resulting graph two units to the right. Since expanding yields $y = f(-x + 2)$, notice that this is equivalent to first shifting the original graph two units to the left, then reflecting over the $y$-axis.