Advanced maths

Scorer Gi and Hi function calculator with derivatives

Evaluate both Scorer inhomogeneous Airy functions Gi and Hi, with their first derivatives and normalization checks.

Your numbers

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

Evaluate both Scorer inhomogeneous Airy functions Gi and Hi, with their first derivatives and normalization checks.

THE FORMULAGi_double_prime-x Gi=-1/pi; Hi_double_prime-x Hi=1/pi; Gi+Hi=Bi.

A worked example

At zero, Gi is approximately 0.204975542482000 and Hi is twice that, approximately 0.409951084964000. Their first derivatives are approximately 0.149429452451275 and 0.298858904902551.

Good to know

Real argument in a validated bounded interval initially[−6,6]. Gi/Hi values and derivatives together, integral/ODE refinement and Gi+Hi=Bi consistency. Reject unstable cancellation; no generic arbitrary-forcing Airy boundary solver or complex continuation.

Two particular solutions of a forced Airy equation

Scorer functions appear when the Airy differential equation includes a constant forcing term. The two standard real functions Gi and Hi are not the same as the homogeneous Airy solutions Ai and Bi. This page evaluates both Scorer functions and their first derivatives together, keeping the forcing signs and normalization explicit.

The distinction matters when solving a differential equation. Adding a homogeneous solution changes boundary behavior without changing the forcing. A named Scorer function selects a particular standard normalization, rather than every possible solution of the inhomogeneous equation. Entering one argument here therefore evaluates those standard functions; it does not solve an arbitrary boundary value problem with user-chosen endpoint conditions.

Scorer Gi and Hi function calculator with derivatives worked exampleAt x = 0Gi ≈ 0.2049755425Hi ≈ 0.4099510850Gi + Hi = Bi
Scroll across to see the full diagram.
At zero, Gi is approximately 0.204975542482000 and Hi is twice that, approximately 0.409951084964000. Their first derivatives are approximately 0.149429452451275 and 0.298858904902551.

Compare this with the Airy Ai and Bi function calculator with derivatives. Evaluate the normalized particular solutions of the inhomogeneous Airy equation, rather than homogeneous Ai/Bi solutions.

The real evaluation interval

The initial supported argument range is minus six through six. It includes positive and negative behavior while keeping the numerical methods and comparisons within a separately checked real domain. Complex arguments and distant asymptotic regions require additional algorithms. Rejecting an argument outside this range avoids disguising an unvalidated extrapolation as the same quality of answer.

The two functions can have very different magnitudes at the same argument. On positive arguments, Hi grows while Gi remains comparatively small. Computing a small function as the difference of two large nearly equal terms can lose digits. The implementation must monitor cancellation and refinement rather than rely only on the mathematical fact that a connection identity is exact.

Normalization and forcing signs

Gi satisfies y double prime minus x y equal to minus one divided by pi. Hi satisfies the same left-hand operator with plus one divided by pi. Their sum is the homogeneous Airy function Bi because the two forcing terms cancel. Mixing the signs gives the wrong particular solution even if the curves remain smooth and finite.

Initial values and first derivatives at zero fix the named solutions for power-series or differential-equation evaluation. The constant forcing enters the quadratic series coefficient, while higher coefficients follow the Airy recurrence. For a direct integral evaluation, Hi has a decaying cubic exponential integrand after accounting for the linear argument term, whereas Gi involves an oscillatory integral and needs different numerical care.

Values and derivatives belong together

The first derivative records the local change with the argument and is useful when these functions appear in matched boundary conditions. It can be evaluated by differentiating a convergent representation or integrating the corresponding first-order system. A finite difference of two rounded displayed values is a weaker check and can be inaccurate near cancellation or a small derivative.

The second derivatives follow from the forced differential equations once the values are known. That makes them convenient for interpretation, but it also means a residual computed from those same substituted formulas is not an independent numerical test. Independent validation should compare derivatives or integrals from a different representation or a trusted high-precision implementation.

The zero-argument worked example

At zero, Gi is approximately 0.204975542482000 and Hi is approximately 0.409951084964000. Hi is exactly twice Gi at this point under the standard normalization. Their sum is approximately 0.614926627446001, matching Bi at zero. These values supply a compact check of both the normalization and the connection formula.

The first derivatives are approximately 0.149429452451275 and 0.298858904902551, again in a one-to-two ratio. Their sum matches Bi prime at zero. The second derivatives there are minus one divided by pi and plus one divided by pi respectively, directly exposing the opposite forcing signs without needing a plot or a large-argument asymptotic approximation.

Refinement and connection checks

A successful calculation should compare increasingly accurate series, integration steps or quadrature settings and retain only digits stable under that refinement. Gi plus Hi should agree with an independently evaluated Bi, and the derivative sum should agree with Bi prime. Those connection checks can reveal a wrong forcing sign, incorrect starting value or a cancellation problem.

The error report should use both absolute and relative scales. Relative error becomes misleading when a function or derivative is close to zero, while a fixed absolute tolerance may be too strict for a large Hi value. A failed cancellation or refinement check is an unresolved numerical answer, not a reason to substitute the connection formula without assessing whether it worsens the conditioning.

Using a named function rather than a general solver

These functions are useful building blocks in differential equations with turning points and constant forcing. The page returns their standard numerical values, not physical units, model parameters or a fitted solution. If an application needs a combination such as Gi plus an arbitrary multiple of Ai, those coefficients must come from its own initial or boundary conditions.

The bounded real evaluator is intentionally separate from the existing homogeneous Airy-function calculator. It adds the nonzero forcing and named particular solutions, rather than renaming Ai or Bi. Retain the argument, normalization, derivative convention and validation status when using a result elsewhere, especially if an external reference uses a different sign convention for the particular solution.

A few questions, answered

Are Gi and Hi just Ai and Bi with new names?

No. Gi and Hi solve inhomogeneous Airy equations with opposite constant forcing signs.

Why calculate both functions together?

Their sum and derivative sum provide useful checks against Bi and Bi prime.

Can Gi be found by subtracting Hi from Bi?

The identity is exact, but subtraction can lose precision when the two terms are large and nearly equal.

Does this solve my chosen boundary conditions?

No. It evaluates the standard named functions; a general solution may require additional homogeneous terms.

Find your calculator

Start typing to explore the library.