To find the inverse of the function \( f(x) = 3(2^x) \), we'll follow these steps:
-
Replace \( f(x) \) with \( y \): \[ y = 3(2^x) \]
-
Swap \( x \) and \( y \): \[ x = 3(2^y) \]
-
Solve for \( y \): \[ \frac{x}{3} = 2^y \]
-
Take the logarithm base 2 of both sides: \[ y = \log_2\left(\frac{x}{3}\right) \]
Now we have found the inverse function: \[ f^{-1}(x) = \log_2\left(\frac{x}{3}\right) \]
Looking at the answer options, the correct choice is:
D. \( f^{-1}(x) = \log_2\left(\frac{x}{3}\right) \).