How to solve x*a^x=b with math reasoning?

  • Thread starter Thread starter raul_l
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 3K views
raul_l
Messages
105
Reaction score
0
x*a^x=b

how to solve this?
 
Physics news on Phys.org
This is a good candidate for Newton's method.
You first choose an x0 arbitrarily. You can graph it first, then choose an x0 wisely so it's near the roots.
Then use the formula:
[tex]x_{n + 1} = x_n - \frac{f(x_n)}{f'(x_n)}[/tex], and let n increase without bound to obtain the solution, i.e:
[tex]x = \lim_{n \rightarrow \infty} x_n[/tex].
Can you get this? :)
 
Yes.
And it works! :)
I didn't know about Newton's method before.
 
with math reasoning

Suppose a and b are unknown constants
Let [tex]y=xa^x[/tex] and hence [tex]y=b[/tex]
Take a ln of bothe sides leading to [tex]lny=lnx+xlna[/tex]
We understand that x,a,b must be > 0

Taking a derivative of y gives us
[tex]\frac{dy}{dx}=(\frac{1}{x}+lna)xa^x[/tex]
Now we find that [tex]x=0 (omitted), \frac{-1}{lna}[/tex]

Next, we draw a table to check signs of [tex]\frac{dy}{dx}[/tex], but before that we check [tex]a[/tex]
1. if 0<a<1
Look at the table and mark for sign (+/-), then check for y to compare with [tex]y=b (a.straight.line)[/tex], which means you need to reason the value of b for where the root(s) exist.
2. if a>1
Do the same to find out root domain

Now things become easier when you know concrete constant a, b. just put them inthere to find a root. This way looks crary though :biggrin: but sovable domain can be understood
 
Last edited: