Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I'm trying to solve a bigger problem however I am stuck at this step:

How can I solve:

$$ 2^x - x = 5 $$

any hints/tips/steps please?

share|improve this question
1  
Trial and error? 1 doesn't work, 2 doesn't work, ... (If you plot $y=2^x$ and $y=5+x$ in the same diagram, you'll see that there are two solutions, but I don't think the second one has a simple closed form.) –  Hans Lundmark Oct 23 '11 at 13:42
    
Normally I might say something about Newton's method or about attractive fixed points. But in this case the answer is staring you in the face. –  Michael Hardy Oct 23 '11 at 13:49
1  
One solution is "obvious". The other real solution needs the services of Lambert. –  J. M. Oct 23 '11 at 13:53
    
the second solution is somewhere between $-5$ and $-4$ –  pedja Oct 23 '11 at 14:22
    
$\approx -4.969$ –  pedja Oct 23 '11 at 14:57

1 Answer 1

up vote 3 down vote accepted

As alluded to in the comments there is an integer solution. For the other solution is existence of a solution good enough? You can use the Intermediate Value Theorem on the function $f(x)=2^x-x-5$. It is negative at $x=0$ and positive at $x=-6$. So, somewhere in between the IVT says there must be a $0$. Or you can use Newton's method on $f$ to approximate the $0$ of $f$.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.