Skip to content

BernoulliPolynomial ​

The Bernoulli polynomial Bn(x)B_n(x) -- Wolfram's own BernoulliB(n, x).

✓ checked against that system · ! checked, with disagreements (hover a chip)FungrimBernoulliPolynomial✓Fungrim entryWolfram LanguageBernoulliB✓
BernoulliPolynomial(n, x)exact for a symbolic or exact x, numeric via BernoulliB's own kernel otherwise
mpmathbernpoly(n, x)Juliaenumeratio_bernoulli_poly(n, x)
Typed signatures
TypePackageApplies
(integer, number) -> numberanalyticalways

Domain: Wolfram

Plot

Examples

Basic #

B0(x)=1B_0(x) = 1

live ↗
InBernoulliPolynomial(0,x)\mathrm{BernoulliPolynomial}(0, x)Out11

B1(x)=x−1/2B_1(x) = x - 1/2

live ↗
InBernoulliPolynomial(1,x)\mathrm{BernoulliPolynomial}(1, x)Outx−12x-\frac{1}{2}
Scope #

B2(0)=1/6B_2(0) = 1/6

live ↗
InN(BernoulliPolynomial(2,0))N(\mathrm{BernoulliPolynomial}(2, 0))Out0.166 666 666 666 666 660.166\,666\,666\,666\,666\,66

B2(1)=1/6B_2(1) = 1/6

live ↗
InN(BernoulliPolynomial(2,1))N(\mathrm{BernoulliPolynomial}(2, 1))Out0.166 666 666 666 666 660.166\,666\,666\,666\,666\,66
About
Examples4
Checked againstWolfram Language 4 agreempmath 2 agreeJulia 2 agree
CrosswalkFungrimFungrim entry ×11Wolfram LanguagempmathJulia

Implementation

mappedmpmathpackages/oracle/src/mappings.ts
mappedjuliapackages/oracle/src/mappings.ts

See also: BernoulliB