Ln(x) + x = c

  • Thread starter j3n
  • Start date
  • #1
j3n
3
0
hello,
i heard there is some way of solving for x, but i can't for the life of me remember how. please help!

ln(x) + x = 10

thanks!
 

Answers and Replies

  • #2
chaoseverlasting
1,041
3
Yeah, I think it should be something like this:
lnx>=1
x>=e...(1)
lnx>=1
lnx+x>=1+x
1+x<=10
x<=9
solution set for x: [e,9]
 
  • #3
dextercioby
Science Advisor
Homework Helper
Insights Author
13,285
1,696
Graph intersection: y=ln x and y=10-x.
 
  • #4
Gib Z
Homework Helper
3,352
7
>.< I don't think that's it mate.

Theres no way to solve for x, you can only approximate it.
 
  • #5
mybsaccownt
63
0
Newton's method works quite nicely here

we will need, the function:

f (x) = ln(x) + x -10 = 0

and its first derivative:

f'(x) = 1/x + 1

an initial guess:

x0 = 1

and we can begin:

x1 = x0 - f(x0)/f'(x0) = 5.5

x2 = x1 - f(x1)/f'(x1) = 7.865213153

x3 = 7.929390693

x4 = 7.929420095

x5 = x4 as far as my calculator is concerned

try it out
 
  • #6
theperthvan
184
0
Just curious how you would use Newton's Method, Gib Z, since you do not use a calculator.
Cheers,
 
Last edited:
  • #7
HallsofIvy
Science Advisor
Homework Helper
43,021
973
hello,
i heard there is some way of solving for x, but i can't for the life of me remember how. please help!

ln(x) + x = 10

thanks!

I wonder if you are not thinking of the "Lambert W function". W(x) is defined as the inverse of the function f(x)= xex.

If ln(x)+ x= 10, then, taking the exponential of each side, eln(x)+ x= xex= e10.

x= W(e10).

Of course, the only way to evaluate that is to do some kind of numerical approximation as others have said,
 

Suggested for: Ln(x) + x = c

  • Last Post
Replies
14
Views
1K
Replies
2
Views
651
Replies
29
Views
898
Replies
32
Views
910
  • Last Post
Replies
3
Views
153
Replies
5
Views
570
  • Last Post
Replies
3
Views
461
Replies
3
Views
389
Replies
9
Views
887
Top