A Mathematical Exposition of Forward Propagation and Backpropagation in Artificial Neural Networks

Artificial neural networks (ANNs) are parameterised mathematical models trained to approximate relationships between inputs and outputs. Their training is grounded in linear algebra, differential calculus, and numerical optimisation. This paper presents a mathematical exposition of feedforward neural networks, focusing on forward propagation, loss functions, gradient descent, and backpropagation. It first develops the mathematical framework for describing the flow of information through a network, before deriving the gradients of the loss function with respect to weights and biases using the chain rule. The roles of activation functions and loss functions are examined to explain how network outputs are transformed into measures of prediction error and how these errors guide parameter optimisation. To complement the theoretical analysis, the paper investigates a small multilayer feedforward network through a numerical example and a computational experiment. The experiment tracks the loss across successive training iterations and compares the effects of different learning rates on optimisation behaviour. The analytical backpropagation gradients are additionally verified against central finite-difference approximations, providing a numerical consistency check of the derived expressions. These comparisons provide a practical basis for discussing convergence, the speed of parameter updates, and the potential instability associated with unsuitable learning-rate choices. By connecting analytical gradient calculations with numerical results, the paper aims to clarify how backpropagation enables gradient-based learning and how optimisation choices influence the training process. The overall objective is to provide a rigorous yet accessible account of the mathematical principles underlying neural-network training, supported by reproducible calculations and computational evidence.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-24
DOI
https://doi.org/10.5281/zenodo.24500067
Primary Topic
Neural Networks and Applications
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

A Mathematical Exposition of Forward Propagation and Backpropagation in Artificial Neural Networks

Mohammad Elyas Ahmadi
2 links
Zenodo (CERN European Organization for Nuclear Research)
Neural Networks and Applications
preprint

A Mathematical Exposition of Forward Propagation and Backpropagation in Artificial Neural Networks

Mohammad Elyas Ahmadi
preprint en

Abstract

Artificial neural networks (ANNs) are parameterised mathematical models trained to approximate relationships between inputs and outputs. Their training is grounded in linear algebra, differential calculus, and numerical optimisation. This paper presents a mathematical exposition of feedforward neural networks, focusing on forward propagation, loss functions, gradient descent, and backpropagation. It first develops the mathematical framework for describing the flow of information through a network, before deriving the gradients of the loss function with respect to weights and biases using the chain rule. The roles of activation functions and loss functions are examined to explain how network outputs are transformed into measures of prediction error and how these errors guide parameter optimisation. To complement the theoretical analysis, the paper investigates a small multilayer feedforward network through a numerical example and a computational experiment. The experiment tracks the loss across successive training iterations and compares the effects of different learning rates on optimisation behaviour. The analytical backpropagation gradients are additionally verified against central finite-difference approximations, providing a numerical consistency check of the derived expressions. These comparisons provide a practical basis for discussing convergence, the speed of parameter updates, and the potential instability associated with unsuitable learning-rate choices. By connecting analytical gradient calculations with numerical results, the paper aims to clarify how backpropagation enables gradient-based learning and how optimisation choices influence the training process. The overall objective is to provide a rigorous yet accessible account of the mathematical principles underlying neural-network training, supported by reproducible calculations and computational evidence.

Zenodo (CERN European Organization for Nuclear Research)
University of Liverpool (GB)
Neural Networks and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
A Mathematical Exposition of Forward Propagation and Backpropagation in Artificial Neural Networks — Mohammad Elyas Ahmadi · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS