Solveeit Logo

Question

Question: What is the difference between the graph of \[y = \left| {f\left( x \right)} \right|\] and \[\left| ...

What is the difference between the graph of y=f(x)y = \left| {f\left( x \right)} \right| and y=f(x)\left| y \right| = f\left( x \right).

Explanation

Solution

Here we will first assume the function f(x)f\left( x \right). Then we will form the equations by putting the value of the function f(x)f\left( x \right). We will then plot the graph on the basis of the equation and will compare the graph of the both given equations.

Complete step-by-step answer:
Given functions are
y=f(x)y = \left| {f\left( x \right)} \right|…………………..(1)\left( 1 \right)
y=f(x)\left| y \right| = f\left( x \right)…………………..(2)\left( 2 \right)
Let the function f(x)f\left( x \right) be equal to f(x)=xf\left( x \right) = x.
Now we will form the graph for the respective equations.
For equation (1)\left( 1 \right), the equation becomes
y=x\Rightarrow y = \left| x \right|
So from the equation it is clearly seen that the graph for the equation (1)\left( 1 \right) will be symmetric to the Y-axis of the graph because for every value of xx the value of yy will always remain positive. Therefore, the graph is

Now we will take the equation (2)\left( 2 \right). Therefore, the equation becomes
y=x\Rightarrow \left| y \right| = x
So from the equation it is clearly seen that the graph for the equation (2)\left( 2 \right) will be symmetric to the X-axis of the graph because for every value of yy the value of xx will always remain positive. Therefore, the graph is

Hence the graph for equation (1)\left( 1 \right) will be symmetric about the Y-axis and the graph for the equation (2)\left( 2 \right) will be symmetric about the X-axis.

Note: The given functions are modulus functions. Modulus function is the function which always gives the positive value for the given input whether the given input is positive or negative.
For example: a=a\left| a \right| = a and a=a\left| { - a} \right| = a.
To draw the graph we need to note a few points. The xx axis and yy axis in the Cartesian plane are perpendicular to each other and intersecting at a point which is named as the origin. The positive xx axis is towards the right side of the origin and negative xx-axis is towards the left side of the origin. Also the positive yy axis lies towards the upward direction from the origin and the negative yy axis lies towards the downward direction from the origin.