I have a function $f(r)$ defined as $x$ satisfying $g(r,x)=0$.
How do I get a series expansion of $f(r)$ around $r=\infty$?
Function $f(r)$ below is unexpectedly linear, and I'm trying to get a closed form expression for exact values of slope and intercept
ClearAll["Globals`*"];
g[r_, x_] =
Log[2 (-(E^x)^(-1/r) r + Zeta[1 + 1/r])^2 Zeta[2 (1 + 1/r)]] -
Log[Zeta[
1 + 1/r]^2 (-((E^x)^(1 - 2 (1 + 1/r))/(-1 + 2 (1 + 1/r))) +
Zeta[2 (1 + 1/r)])];
f[r_] := x /. FindRoot[g[r, x], {x, 1}];
Plot[f[r], {r, 1, 10}, AxesLabel -> {"r", "f(r)"}]
For a different $f(r)$ this kind of asymptotic inversion can be done using InverseSeries
command, but here it returns unevaluated.
Background question on math.SE
f[r_] = Log[2 + Sqrt[2]] r - EulerGamma + (EulerGamma^2/2 + StieltjesGamma[1])/r + (-2 EulerGamma^3 - 6 EulerGamma StieltjesGamma[1] - 3 StieltjesGamma[2])/(6 r^2)
plus higher-order terms; but I have no idea how to do it in Mathematica in a concide way. $\endgroup$g[x, z]
? (NoteAsymptoticSolve[]
is the function that does what you ask in the edit, only it is not robust enough to handle all cases and notg[x, z]
unfortunately. Probably nothing can handle all cases.) (2) A new question should not supersede an old Q&A but be posted as new question (unless the old Q&A didn't get any answers). $\endgroup$