Testwiki:Reference desk/Archives/Mathematics/2015 July 26

From testwiki
Revision as of 05:31, 2 August 2015 by imported>Scsbot (edited by robot: archiving July 26)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Error:not substituted

{| width = "100%"

|- ! colspan="3" align="center" | Mathematics desk |- ! width="20%" align="left" | < July 25 ! width="25%" align="center"|<< Jun | July | Aug >> ! width="20%" align="right" |Current desk > |}

Welcome to the Wikipedia Mathematics Reference Desk Archives
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


July 26

Differential equation

What are the solutions of (fg)=gf? Examples include f arbitrary and g(x) = x, and f(x) = x2 and g = sin. GeoffreyT2000 (talk) 01:33, 26 July 2015 (UTC)

an obscure root-finding problem

I expect the answer is No, but anyway: if y=rex/r, is there a closed expression for r given x,y? —Tamfang (talk) 08:40, 26 July 2015 (UTC)

There is! But it requires use of the non-elementary Lambert W function: r=xW(x/y). -- Meni Rosenfeld (talk) 09:15, 26 July 2015 (UTC)
Thanks! Looks like I need to install SciPy. —Tamfang (talk) 19:56, 26 July 2015 (UTC)
...or work out the Taylor series (with y as the variable, in my application). —Tamfang (talk) 21:03, 27 July 2015 (UTC)

A closed expression is not necessarily useful. Set s = r–1. Then the equation is 0 = exs–ys. Expand the exponential: 0=k=0aksk=1+(xy)s+k=2xkk!sk. Leave it here until you need numeric solutions. Bo Jacoby (talk) 22:30, 26 July 2015 (UTC).

Numeric solutions are, as it happens, all I need. —Tamfang (talk) 21:03, 27 July 2015 (UTC)
  • If that. It hit me last night that the idea for which I asked this question was backward. Is that a valid reason to mark it Resolved? —Tamfang (talk) 06:14, 29 July 2015 (UTC)

Let f(s)=k=0aksk and fN(s)=k=0Naksk. A root s in the algebraic equation 0=fN(s) approximately solves the transcendental equation 0=f(s) when N is not too small. If you supply values for x and y I'll show you how to solve it. Bo Jacoby (talk) 06:54, 28 July 2015 (UTC).