How do you solve ex+4=1e2x?

2 Answers
Nov 28, 2015

Express as a cubic in ex, solve that, then take natural log.

Explanation:

Multiply both sides by e2x to get:

e3x+4e2x=1

Subtract 1 from both sides to get:

e3x+4e2x1=0

Let t=ex.

t3+4t21=0

This cubic has three Real roots, which are all irrational, but only one is positive.

graph{x^3+4x^2-1 [-10.58, 9.42, -1.36, 8.64]}

Solve the cubic by your favourite method to find:

t10.472833909

Then x=ln(t1)0.749011

Nov 28, 2015

Let t=ex to get a cubic t34t1=0 with 3 Real roots, one of which is positive, giving t2.11490754 and

x=ln(t)0.749011

Explanation:

Divide both sides of the equation by ex to get:

1+4ex=1(ex)3

Subtract the left hand side from the right to get:

(1ex)34(1ex)1=0

Let t=1ex to get:

t34t1=0

This cubic has three Real roots, one of which is positive.

graph{x^3-4x-1 [-10, 10, -5, 5]}

Find by your favourite method (*):

t12.11490754

Then x=ln(t1)0.749011

(*) For example, for a cubic with 3 Real roots that is already in the form t3+pt+q=0 you can use the trigonometric formula:

tk=2p3cos(13arccos(3q2p3p)2πk3)

with k=0,1,2

choosing k to give you the positive root.