Soft maximum

- What are you reading?
- You will like this. The author says the soft maximum of 1 and 2 is 2.31.
- Is he still loose or in an asylum?
- I think he is an assistant professor.
- Why will you never answer my questions?
- On the other hand, the soft maximum of 10 and 20 is 20.000005.
- That is better, but every kid under 5 knows the answer is 20.
- You need to work on your listening skills. The maximum, what the author calls the hard maximum is 20, but the soft maximum is 20.000005.
- What is soft maximum? I thought it was the bigger number of the two.
- The soft maximum of two numbers a and b is sm(a,b) = ln(e^a + e^b).
- You mean the natural logarithm and its inverse function? I thought this blog could be read by anyone!?
- Another definition is sm(a,b,k) = ln(e^(ka) + e^(kb))/k.
- Light, can we have some light please!?
- sm(1,2,1) = 2.31 while sm(1,2,10) = 20.000005.
- So when k increases the soft maximum approaches the hard maximum?
- That’s today’s question.
Problem source: The blog of John D Cook.