math calculator
AI Activation Functions & Derivatives Calculator
Calculate and visualize neural network activations like Sigmoid, ReLU, and Softmax with derivatives.
Inputs
Results
f(1)
0.731059
Function Curve
f(1) = 0.7311 · f′(1) = 0.1966
Calculation Steps
Apply the Sigmoid function: \[f(x) = \frac{1}{1 + e^{-x}} = \frac{1}{1 + e^{-1}} = \frac{1}{1 + 0.3679} = 0.731059\]
Calculate the derivative: \[f'(x) = \sigma(x)(1 - \sigma(x)) = 0.7311 \times (1 - 0.7311) = 0.196612\]
Formula
Activation Function Formulas
\sigma(x) = \frac{1}{1+e^{-x}}, \quad \text{ReLU}(x) = \max(0, x), \quad \text{Softmax}(z_i) = \frac{e^{z_i}}{\sum_j e^{z_j}}Activation functions introduce non-linearity into neural networks. The choice of function affects training speed, gradient flow, and model capacity.
Step by step
How the calculation works
- 1Select a function type and input x to compute its output value and derivative.
- 2The curve plot shows the function shape with your x value highlighted in blue.
- 3Use the Softmax tab to distribute a logit vector into a probability distribution.
Related guides
Learn more about this calculation
Guide
Scientific Notation Guide: Powers of Ten Made Practical
Learn how to convert, compare, and calculate with powers of ten using worked examples and the live DTC scientific calculator.
Site Guide
How to Use Do The Calculation Calculators: A Practical Step-by-Step Guide
Learn the fastest reliable workflow for using Do The Calculation calculators, reading results, checking formulas, and using save, print, share, and export actions correctly.
Bayes' Theorem
Bayes' Theorem Calculator
Compute posterior probability distributions used in probabilistic models.
Scientific
Scientific Calculator
Compute exponentials, logarithms, and hyperbolic functions.