Root of equation with 2 exponentials

  • Thread starter Thread starter ephedyn
  • Start date Start date
  • Tags Tags
    Root
AI Thread Summary
The discussion revolves around comparing two models of library fines: a geometric model that starts at $0.01 and doubles each day, and an arithmetic model that adds $0.10 daily. The user explores how to determine when the geometric fines exceed the arithmetic fines, leading to a mathematical equation involving exponentials. The conversation highlights the complexity of solving equations where the variable appears both as an index and a base, specifically mentioning the use of the Lambert W function for such cases. Participants clarify misconceptions about algebraic manipulations and emphasize that exact solutions may not be possible with elementary functions.
ephedyn
Messages
169
Reaction score
1

Homework Statement



This isn't really a homework question, but I was considering a different model of library fines... where the fine at the end of the 1st late day is $0.01, and it increases geometrically with a common ratio of 2, so it goes like

$0.01, $0.03, $0.07, $0.15...

Then I was comparing this with a typical model of $0.10 additional fines with each day

$0.10, $0.20, $0.30, $0.40...

2. Homework Equations /attempt at a solution

Now, I can work out the day (let n denote this term) when the accumulated fines on the geometric model exceeds the arithmetic model by plotting the graph, where I get

0.1 + 0.1(n-1) < 0.01(2n-1)
10n - 2n + 1 < 0

which has integer solutions for n = 6 or greater. My question is, how do you algebraically solve these sort of equations where the variable is involved twice, as an index and as a base? For example...

x3 - ex = 0
 
Physics news on Phys.org
Well, what exactly do you mean when you say "how would you solve for this?" -- ?

If you wanted to find out the number of days which it took for the fine to raise to, say, five dollars (5) you could have to first take the natural log of both sides to get e^x to become x.
and then simply solve

x^3 - e^x = 5

x^3 - x = ln 5

x^3 = x + ln 5

divide by x

x^2 = ln 5

x = sqrt ( ln 5)

but perhaps you mean something els.
 
Brown399 you've broken way too many algebraic rules. I suggest you go back and revise that subject.

e.g.
Going from
x^3 - e^x = 5
to
x^3-x=ln(5)
is wrong.

From
x^3 = x + ln 5
to
x^2=ln(5)
is very wrong.ephedyn, your problem can't be solved in terms of elementary functions. Basically, you'll only be able to get a good approximation at best.
 
You can solve these types of problems in terms of the Lambert W function though.

This says that if y=xe^x then x=W(y).

So, for your example x^3=e^x

1=x^3e^{-x}

1=xe^{\frac{-x}{3}}

\frac{-1}{3}=\frac{-x}{3}e^{\frac{-x}{3}}

Hence, \frac{-x}{3}=W\left(\frac{-1}{3}\right)

x=-3W\left(\frac{-1}{3}\right)
 
^Brown399: ...mmm.

^Mentallic: Ohh! I get how that works now. Thanks a lot. I think there are two complex solutions too but I figured how to work those out.
 
I tried to combine those 2 formulas but it didn't work. I tried using another case where there are 2 red balls and 2 blue balls only so when combining the formula I got ##\frac{(4-1)!}{2!2!}=\frac{3}{2}## which does not make sense. Is there any formula to calculate cyclic permutation of identical objects or I have to do it by listing all the possibilities? Thanks
Since ##px^9+q## is the factor, then ##x^9=\frac{-q}{p}## will be one of the roots. Let ##f(x)=27x^{18}+bx^9+70##, then: $$27\left(\frac{-q}{p}\right)^2+b\left(\frac{-q}{p}\right)+70=0$$ $$b=27 \frac{q}{p}+70 \frac{p}{q}$$ $$b=\frac{27q^2+70p^2}{pq}$$ From this expression, it looks like there is no greatest value of ##b## because increasing the value of ##p## and ##q## will also increase the value of ##b##. How to find the greatest value of ##b##? Thanks
Back
Top