Need help with an inverse function

54 Views Asked by At

$$g(x) = \frac{100}{1+2^{-x}}$$

Ok, i have this expression and my task is to find the inverse. My answer to that is -ln2((100-x)/x). Which is wrong when i test it. Can someone help me with this?

3

There are 3 best solutions below

2
On BEST ANSWER

$$g(x) = \frac{100}{1+2^{-x}}$$

$$\frac{100}{g(x)} = 1+2^{-x}$$

$$\frac{100}{g(x)} -1 = 2^{-x}$$

$$\ln\left(\frac{100}{g(x)} -1\right) / \ln(2) = -x$$

$$-\ln\left(\frac{100}{g(x)} -1\right) / \ln(2) = x$$

0
On

$g(x)=\frac{100}{1+2^{-x}}\implies$

$g(x)\cdot(1+2^{-x})=100\implies$

$1+2^{-x}=\frac{100}{g(x)}\implies$

$2^{-x}=\frac{100}{g(x)}-1\implies$

$-x=\log_2(\frac{100}{g(x)}-1)\implies$

$x=-\log_2(\frac{100}{g(x)}-1)$

0
On

I can let $y=\frac{100}{1+2^{-x}}$.

$$ 1+2^{-x} = \frac{100}{y}$$ $$ 2^{-x} = \frac{100}{y}-1$$ $$ 2^{-x} = \frac{100-y}{y}$$ $$2^x = \frac{y}{100-y}$$ $$x = \log_2 \left ( \frac{y}{100-y}\right)$$