To find the inverse function of ( f(x) = \frac{3x - 2}{x + 4} ), I need to determine a function ( f^{-1}(x) ) such that ( f(f^{-1}(x)) = x ) and ( f^{-1}(f(x)) = x ). The process involves solving for ( x ) in terms of ( y ) after setting ( y = f(x) ), and then expressing the result as ( f^{-1}(x) ).
Start with the function:
[ y = \frac{3x - 2}{x + 4} ]
The goal is to solve for ( x ) in terms of ( y ). First, eliminate the fraction by multiplying both sides by the denominator ( x + 4 ):
[ y(x + 4) = 3x - 2 ]
Distribute ( y ) on the left-hand side:
[ yx + 4y = 3x - 2 ]
Next, I need to isolate ( x ). Move all terms involving ( x ) to one side and all other terms to the opposite side. Subtract ( yx ) from both sides:
[ 4y = 3x - yx - 2 ]
Factor ( x ) out on the right-hand side:
[ 4y = x(3 - y) - 2 ]
Add 2 to both sides to further isolate the term with ( x ):
[ 4y + 2 = x(3 - y) ]
Now, solve for ( x ) by dividing both sides by ( 3 - y ):
[ x = \frac{4y + 2}{3 - y} ]
This expression gives ( x ) in terms of ( y ). To express the inverse function, replace ( y ) with ( x ):
[ f^{-1}(x) = \frac{4x + 2}{3 - x} ]
To ensure this is correct, I can verify by checking if ( f(f^{-1}(x)) = x ) and ( f^{-1}(f(x)) = x ).
First, compute ( f(f^{-1}(x)) ). Substitute ( f^{-1}(x) = \frac{4x + 2}{3 - x} ) into ( f(x) ):
[ f(f^{-1}(x)) = f\left( \frac{4x + 2}{3 - x} \right) = \frac{3\left( \frac{4x + 2}{3 - x} \right) - 2}{\left( \frac{4x + 2}{3 - x} \right) + 4} ]
Simplify the numerator:
[ 3\left( \frac{4x + 2}{3 - x} \right) - 2 = \frac{3(4x + 2) - 2(3 - x)}{3 - x} = \frac{12x + 6 - 6 + 2x}{3 - x} = \frac{14x}{3 - x} ]
Simplify the denominator:
[ \frac{4x + 2}{3 - x} + 4 = \frac{4x + 2 + 4(3 - x)}{3 - x} = \frac{4x + 2 + 12 - 4x}{3 - x} = \frac{14}{3 - x} ]
Now compute the fraction:
[ f(f^{-1}(x)) = \frac{\frac{14x}{3 - x}}{\frac{14}{3 - x}} = \frac{14x}{3 - x} \cdot \frac{3 - x}{14} = x ]
This confirms ( f(f^{-1}(x)) = x ).
Next, compute ( f^{-1}(f(x)) ). Substitute ( f(x) = \frac{3x - 2}{x + 4} ) into ( f^{-1}(x) ):
[ f^{-1}(f(x)) = f^{-1}\left( \frac{3x - 2}{x + 4} \right) = \frac{4\left( \frac{3x - 2}{x + 4} \right) + 2}{3 - \left( \frac{3x - 2}{x + 4} \right)} ]
Simplify the numerator:
[ 4\left( \frac{3x - 2}{x + 4} \right) + 2 = \frac{4(3x - 2) + 2(x + 4)}{x + 4} = \frac{12x - 8 + 2x + 8}{x + 4} = \frac{14x}{x + 4} ]
Simplify the denominator:
[ 3 - \frac{3x - 2}{x + 4} = \frac{3(x + 4) - (3x - 2)}{x + 4} = \frac{3x + 12 - 3x + 2}{x + 4} = \frac{14}{x + 4} ]
Now compute the fraction:
[ f^{-1}(f(x)) = \frac{\frac{14x}{x + 4}}{\frac{14}{x + 4}} = \frac{14x}{x + 4} \cdot \frac{x + 4}{14} = x ]
This confirms ( f^{-1}(f(x)) = x ).
Both checks verify that the inverse is correct. Additionally, I should consider the domain and range. The original function ( f(x) = \frac{3x - 2}{x + 4} ) has a vertical asymptote at ( x = -4 ), so its domain is all real numbers except ( x = -4 ). The horizontal asymptote is ( y = 3 ), meaning the range of ( f(x) ) is all real numbers except ( y = 3 ). For the inverse, the domain of ( f^{-1}(x) ) must match the range of ( f(x) ), so ( x \neq 3 ), and its range matches the domain of ( f(x) ), so the output of ( f^{-1}(x) ) excludes ( -4 ), which is consistent with the behavior of ( f^{-1}(x) ).
Thus, the inverse function is:
[ f^{-1}(x) = \frac{4x + 2}{3 - x} ]