Skip to content

FunctionAnalytic ​

True if f is analytic (entire) at every real x, False otherwise.

✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram LanguageFunctionAnalytic✓
FunctionAnalytic(f, x)whether f, viewed as a function of a complex variable, is entire.
Typed signatures
TypePackageApplies
(expression, symbol) -> expressionanalyticalways

Domain: Elementary functions

Details
  • Confirmed against wolframscript, this is stricter than "analytic on its real domain" -- FunctionAnalytic(1/x, x) is False even though 1/x1/x is perfectly analytic away from 0, because it is not analytic EVERYWHERE (it has a pole at x=0x=0, real domain or not).
  • True for a polynomial and Exp/Sin/Cos of an affine argument (all entire); False for any genuine rational function (a nonconstant denominator always has a complex pole somewhere), Sqrt and Ln (a branch point), and Tan (poles where cosine vanishes).

Examples

Basic #

Polynomials are entire

live ↗
InFunctionAnalytic(x2,x)\mathrm{FunctionAnalytic}(x^2, x)OutTrue\mathrm{True}

A pole anywhere in the complex plane disqualifies it, real domain or not

live ↗
InFunctionAnalytic(1x,x)\mathrm{FunctionAnalytic}(\frac{1}{x}, x)OutFalse\mathrm{False}

Known value · Wolfram 15.0.0, hand cross-checked

Sqrt has a branch point at the origin

live ↗
InFunctionAnalytic(x,x)\mathrm{FunctionAnalytic}(\sqrt{x}, x)OutFalse\mathrm{False}

Known value · Wolfram 15.0.0, hand cross-checked

Sine is entire

live ↗
InFunctionAnalytic(sin⁡(x),x)\mathrm{FunctionAnalytic}(\sin(x), x)OutTrue\mathrm{True}

Known value · Wolfram 15.0.0, hand cross-checked

Tangent has poles, so it is not analytic everywhere

live ↗
InFunctionAnalytic(tan⁡(x),x)\mathrm{FunctionAnalytic}(\tan(x), x)OutFalse\mathrm{False}
Applications #

Polynomials are analytic

live ↗
In[FunctionAnalytic(x,x),FunctionAnalytic(x2+1,x),FunctionAnalytic(x3−2x2−5x+6,x)]\bigl\lbrack\mathrm{FunctionAnalytic}(x, x), \mathrm{FunctionAnalytic}(x^2+1, x), \mathrm{FunctionAnalytic}(x^3-2x^2-5x+6, x)\bigr\rbrackOut[True,True,True]\bigl\lbrack\mathrm{True}, \mathrm{True}, \mathrm{True}\bigr\rbrack

Sine, cosine and exp are entire, so analytic

live ↗
In[FunctionAnalytic(sin⁡(x),x),FunctionAnalytic(cos⁡(x),x),FunctionAnalytic(ex,x)]\bigl\lbrack\mathrm{FunctionAnalytic}(\sin(x), x), \mathrm{FunctionAnalytic}(\cos(x), x), \mathrm{FunctionAnalytic}(e^{x}, x)\bigr\rbrackOut[True,True,True]\bigl\lbrack\mathrm{True}, \mathrm{True}, \mathrm{True}\bigr\rbrack
About
Examples7
Checked againstWolfram Language 7 agree
CrosswalkWolfram Language