Question
Question: How do I take the inverse of an absolute value of function \[f\left( x \right) = \left| {x - 2} \rig...
How do I take the inverse of an absolute value of function f(x)=∣x−2∣?
Solution
Here, we will use the condition for the absolute value of the function. Then by swapping the variables and solving for the variable, we will find the inverse of the given absolute function. The absolute value is defined as the non-negative integer without regard to its sign, it can be either a positive or negative integer.
Complete step by step solution:
We are given an absolute value function f(x)=∣x−2∣.
We will find the inverse for the given absolute value function.
We know that the inverse for the given absolute value function f(x)=∣x−2∣is the same as the inverse for the function f(x)=−(x−2)
⇒f(x)=−(x−2)
Now, we will replace f(x) by y, so we get
⇒y=−(x−2)
Now, we will replace x by y and y by x in the above equation, we get
⇒x=−(y−2)
Now, multiplying by a negative sign on both the sides of the equation, we get
⇒−x=(−)(−)(y−2)
We know that the product of two Negative Integers is always a Positive Integer. Thus, we get
⇒−x=y−2
Now, by solving for y, we get
⇒y=−x+2
Thus, the inverse of the absolute value function, we get
⇒f−1(x)=−x+2
Therefore, the inverse of the Absolute Value Function f(x)=∣x−2∣ is f−1(x)=−x+2.
Note:
We know that if a functionf which maps x toy, then the inverse of a function f−1 that maps y to x. If the horizontal line intersects the graph of the function in all places at exactly one point, then the given function should have an inverse that is also a function. If at any point, there are two or more points on the graph, in any horizontal line, it has no inverse. This test is known as the Horizontal Line Test to check whether a function has an inverse.