What is it?
(or ): many inputs, one (or many) outputs. With two inputs the graph is a surface over the plane; with a million inputs — the weights of a model — we reason with its level sets and its gradient.
Formulas
- a training loss: a function of variables
Where it shows up in computing
A grayscale image is a function sampled on a grid; a colour image is .
Where it shows up in AI
A loss is a scalar function of all the model's parameters.
Where is it used?
Computing topics reachable from here, through the chain of ideas that leads to them:
3D Computer graphics
- Surfaces and level sets→Signed distance fields and ray marching★★★★★
- Partial derivatives→Gradient→Surface normals★★★★★
- Surfaces and level sets→Curvature (basic differential geometry)→Mesh processing (discrete differential geometry)★★★★★
- Multiple integrals and change of variables→Monte Carlo methods→The rendering equation★★★★★
- Partial derivatives→Gradient→Surface normals→Lighting and shading★★★★★
- Partial derivatives→Gradient→Surface normals→Ray tracing★★★★★
- +1
⚙ Robotics and control
- Partial derivatives→Multivariable chain rule→Jacobian matrix→Robot Jacobian (velocity kinematics)★★★★★
- Partial derivatives→Multivariable chain rule→Jacobian matrix→Inverse kinematics★★★★★
- Partial derivatives→Gradient→Constrained optimization→Trajectory optimization and MPC★★★★★
- Partial derivatives→Multivariable chain rule→Jacobian matrix→Equilibria and stability→Control theory★★★★★
- Partial derivatives→Total differential and linearization→Kalman filter★★★★★
⚛ Physics and simulation
- Partial derivatives→Heat equation and diffusion★★★★★
- Partial derivatives→Partial differential equations→Wave equation★★★★★
- Scalar fields→Vector fields→Electromagnetism (Maxwell's equations)★★★★★
- Scalar fields→Vector fields→Fluid dynamics and CFD★★★★★
- Partial derivatives→Partial differential equations→Finite element method★★★★★
- Scalar fields→Vector fields→Fluid dynamics and CFD→Weather and climate modelling★★★★★
- +3
What depends on it
This page has the essentials. A fuller treatment (intuition, formal definition, worked example) is on the way.