1

$$2^{x-3}=\frac{1}{x}$$

So far, I've only managed to solve it graphically. I was wondering if there is any other method available? I know about the $\ln$ method of course.

Sahiba Arora
  • 10,847
kenobe
  • 83

3 Answers3

5

Since the left hand side is positive, $x$ must be positive.

The problem is equivalent to $$x2^x=8$$ Notice that product of positive increasing function is increasing and hence it has a unique solution.

$$x2^x=2^3=2(2^2)$$

Hence $2$ is the unique solution.

Siong Thye Goh
  • 149,520
  • 20
  • 88
  • 149
2

A non-iterative approach is to use Lambert's W function.

$$\begin{align} &2^{x-3}=\frac{1}{x}\\ \implies &x2^x=8 \\ \implies&xe^{x\ln 2}=8 \\ \implies&x\ln2\cdot e^{x\ln 2}=8\ln2 \\ \implies&x=\frac{W(8\ln2)}{\ln2} \\ \text{(Thanks}&\text{ to projectilemotion for the following:)} \\ \implies&x=\frac{W(4\ln4)}{\ln2} \text{ (Using identity: } W(x\ln x) = \ln x)\\ \implies&x=\frac{\ln4}{\ln2} = 2\\ \end{align}$$

Χpẘ
  • 1,130
  • 6
  • 8
1

The other obvious method is bisection -- find a value for which the left side is less than the right, a value for which it's greater, and then check the midpoint. Repeat.

Of course, a first step is to guesstimate and try some integers; I did so and found $x = 2$ on my third try (after I'd checked $x = 1, 3$ becasue they were algebraically really easy).

John Hughes
  • 93,729
  • I like the bisection. Thank you very much sir. – kenobe Jun 27 '17 at 22:29
  • My solution can be regarded as the completion of @SiongThyeGogh's, for while his tells you that there is a unique solution, mine gives you a very practical (for this particular problem) way to approximate that solution to very high accuracy. – John Hughes Jun 27 '17 at 23:47
  • Warning: Only works for intervals where the given function is monotone. – Simply Beautiful Art Jun 27 '17 at 23:52
  • 1
    No. It only works where the function is continuous and you can find an interval on which the function has opposite signs at the two ends. When you evaluate at the midpoint, the value is either $0$ (yay!), the opposite sign from the left end, or the opposite sign from the right end. Whichever half-interval has opposite-sign ends contains a root. Iterate on that interval, thereby constraining some root in exponentially-nested intervals, as claimed. Regardless, the other answer showed that it's continuous and increasing, so we're OK in either case. – John Hughes Jun 27 '17 at 23:56
  • It is true that the root is guaranteed to be unique only if the function is monotone, unless you have some other information about the function. – John Hughes Jun 28 '17 at 00:16
  • No. This is the only info I have. Thanks for your help gentlemen – kenobe Jun 28 '17 at 00:21
  • Hm, my bad. I was thinking more along the lines of a unique solution. – Simply Beautiful Art Jun 28 '17 at 00:35