How do I obtain the Inverse Laplace transform of the following expression? $$\frac{\tan ^{-1}\left(\sqrt{s}\right)}{\sqrt{s}}$$
Using Mariusz Iwaniuk recipes with Feynmann trick and "Mellin Transform trick" in earlier question I get the same result as inverse Laplace Transform of $\frac{\tan ^{-1}\left(\frac{1}{\sqrt{s}}\right)}{\sqrt{s}}$ which seems wrong since these two functions are distinct.
ClearAll["Global`*"];
ilaplace[expr_] := InverseLaplaceTransform[expr, s, t];
(*Custom Laplace transforms from "Hypergeometric" post*)
(*Mariusz solution from \
https://mathematica.stackexchange.com/a/285338/217*)
augmentInv[expr_, var_] :=
Module[{a1, a2, a3, a4, expra},
expra = expr /. {ArcTan[a1_] -> ArcTan[a1/var],
Log[a1_] -> Log[a1/var],
Hypergeometric2F1[a1_, a2_, a3_, a4_] ->
Hypergeometric2F1[a1, a2, a3, a4/var]};
If[MemberQ[Reduce`FreeVariables[expra], var], expra, expra/var]];
ilaplaceMellin0[expr_] :=
Block[{expra, mellin, ilap, imellin, s, t, a},
expra = augmentInv[expr, a];
mellin = FunctionExpand@MellinTransform[expra, a, q];
ilap = InverseLaplaceTransform[mellin, s, t];
imellin = InverseMellinTransform[ilap, q, a] /. a -> 1;
FullSimplify@imellin];
SetAttributes[ilaplaceMellin0, Listable];
ilaplaceMellin[expr_] :=
Block[{dummy},
Distribute@dummy@Expand[expr] /. dummy -> ilaplaceMellin0];
(*https://zackyzz.github.io/feynman.html*)
augment[expr_, var_] :=
Module[{a1, a2, a3, a4, expra},
expra = expr /. {ArcTan[a1_] -> ArcTan[a1 var],
Log[a1_] -> Log[a1 var],
Hypergeometric2F1[a1_, a2_, a3_, a4_] ->
Hypergeometric2F1[a1, a2, a3, a4 var]};
If[MemberQ[Reduce`FreeVariables[expra], var], expra, var*expra]];
ilaplaceFeynmann0[expr_] :=
Block[{repl, ilap, a1, a2, a3, a4, a}, expra = augment[expr, a];
ilap = InverseLaplaceTransform[D[expra, a] // Factor, s, t];
Assuming[{t > 0}, Integrate[ilap, {a, 0, 1}]]];
SetAttributes[ilaplaceFeynmann0, Listable];
ilaplaceFeynmann[expr_] :=
Block[{dummy},
Distribute@dummy@Expand[expr] /. dummy -> ilaplaceFeynmann0];
expr1 = ArcTan[Sqrt[2]/Sqrt[s]]/(Sqrt[2] Sqrt[s]);
expr2 = Hypergeometric2F1[1, 1/3, 4/3, s];
expr3 = ArcTan[1/Sqrt[s]]/ Sqrt[s];
expr4 = ArcTan[Sqrt[s]]/ Sqrt[s];
exprs = {expr1, expr2, expr3, expr4};
methods = {ilaplace, ilaplaceFeynmann, ilaplaceMellin};
results = Outer[TimeConstrained[#1[#2], 10] &, methods, exprs];
TableForm[results,
TableHeadings -> {{"default", "Feynmann", "Mellin"}, exprs}]
InverseLaplaceTransform
in Mathematica works as is as shown in the answer below? $\endgroup$ArcTan[1/Sqrt[s]]/Sqrt[s]
. Here it appears default method works $\endgroup$