How to Find the Solution to 3^x = x^2?

  • Thread starter Thread starter Benn
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 2K views
Benn
Messages
34
Reaction score
0

Homework Statement



Find all possible values of x:

x2 = 3x

Homework Equations





The Attempt at a Solution



I took the log of both sides.. didn't get anywhere. I'm not sure where to start.
 
Physics news on Phys.org
You can't solve this analytically with logarithms. You can either guess the right answer and prove that it works, use the Lambert W function or you can use a numerical method.
 
Your equation has a solution, because both functions are monotone and increasing.

[tex]3^{-1}<(-1)^2[/tex]

[tex]3^0 > 0^2[/tex]
 
One simple way to find that solution is via a fixed point iteration. Taking the square root of both sides and recognizing that the solution is negative yields
[tex]x=-\sqrt{3^x}[/tex]
This converges to the solution fairly quickly. Quickly by fixed point iteration standards, that is. Fixed point iteration is rarely fast.