Skip to content

Main content

Sigmoid Scalar Third Derivative Tool

Evaluate the third input derivative of the logistic sigmoid with stable forward evaluation.

Loading tool…

Description

With s=sigmoid(x), return s*(1-s)*(1-6*s+6*s²), the third scalar input derivative.

The logistic sigmoid is 1/(1+exp(-x)) and its inverse logit is log(p/(1-p)) on 0<p<1. Temperature and input sensitivities use different derivatives. The logarithm of a derivative is distinct from the derivative of a logarithm, especially when numerical tails underflow.

With s=sigmoid(x), return s*(1-s)*(1-6*s+6*s²), the third scalar input derivative.

When to use this tool

Use Sigmoid Scalar Third Derivative when checking the stated sigmoid/logit scalar derivative or stable product convention.

How to use the tool and how it works

  1. Enter x. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read derivative. Use the output convention below.

With s=sigmoid(x), return s*(1-s)*(1-6*s+6*s²), the third scalar input derivative.1

Input fieldMeaning and unitsAccepted input
xFinite scalar input coordinate; use the mathematical scale specified above.Required. Finite number.
Output fieldInterpretationReturned shape
derivativeScalar derivative with respect to the variable and at the fixed coordinates specified above; not a tensor/model gradient.Required. Finite number.
json
{
  "input": {
    "x": 0
  },
  "output": {
    "derivative": -0.125
  }
}

Limitations and assumptions

  • Uses unit-scale sigmoid and scalar floating-point arithmetic; no temperature factor or model/tensor gradient is added.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Use the complete explicit function and the intended parameter, branch and numerical conventions for symbolic, tensor or model-level differentiation; assess training behavior independently.

References

  1. Calculation and input contract: activation/sigmoid-scalar-third-derivative — tool.io

Similar or alternative tools

  • Sigmoid Log Derivative

    Return -abs(x)-2*log1p(exp(-abs(x))), the natural logarithm of sigmoid's first derivative.

  • Sigmoid Temperature Sensitivity

    Evaluate s=sigmoid(x/temperature) using sign-stable exponential branches; return -x*s*(1-s)/temperature², or zero when s rounds to an endpoint.