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

  • Thread starter Thread starter raul_l
  • Start date Start date
AI Thread Summary
The equation x*a^x=b cannot be solved exactly in general, so numerical methods like Newton's method are recommended for approximating roots. Start by selecting an initial guess, x0, and use the iterative formula x_{n + 1} = x_n - f(x_n)/f'(x_n) to converge to a solution. The discussion emphasizes the importance of understanding the behavior of the function by taking its derivative and analyzing the signs based on the values of a and b. For positive constants a and b, the approach involves checking the conditions for a and using a sign table to determine the existence of roots. Ultimately, knowing specific values for a and b simplifies finding the roots of the equation.
raul_l
Messages
105
Reaction score
0
x*a^x=b

how to solve this?
 
Physics news on Phys.org
You can't, in general, solve it exactly. Use a numerical method to approximate the roots.
 
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:
x_{n + 1} = x_n - \frac{f(x_n)}{f'(x_n)}, and let n increase without bound to obtain the solution, i.e:
x = \lim_{n \rightarrow \infty} x_n.
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 y=xa^x and hence y=b
Take a ln of bothe sides leading to lny=lnx+xlna
We understand that x,a,b must be > 0

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

Next, we draw a table to check signs of \frac{dy}{dx}, but before that we check a
1. if 0<a<1
Look at the table and mark for sign (+/-), then check for y to compare with y=b (a.straight.line), 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:
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Essentially I just have this problem that I'm stuck on, on a sheet about complex numbers: Show that, for ##|r|<1,## $$1+r\cos(x)+r^2\cos(2x)+r^3\cos(3x)...=\frac{1-r\cos(x)}{1-2r\cos(x)+r^2}$$ My first thought was to express it as a geometric series, where the real part of the sum of the series would be the series you see above: $$1+re^{ix}+r^2e^{2ix}+r^3e^{3ix}...$$ The sum of this series is just: $$\frac{(re^{ix})^n-1}{re^{ix} - 1}$$ I'm having some trouble trying to figure out what to...
Back
Top