Let $f:\mathbb{R}^2\mapsto\mathbb{R}$ be given by $f(w_1,w_2)=\frac{1}{2}(1-w_2\sigma(w_1))^2$, where $\sigma(x)=\max\{x,0\}$ is the ReLU function. I want to compute the Clarke subdifferential of $f$ when $w_1=0$. Is chain rule valid here? I know there is a chain rule in Clarke's book (Optimization and nonsmooth analysis, Theorem 2.3.10) saying that if $g$ is strictly differentiable and $f$ is locally Lipschitz, then the Clarke subdifferential of $F(x)=(f\circ g)(x)$ satisfies chain rule, i.e., $\partial F\subset\partial f(g(x))g'(x)$. However, in our case, the outer function $f$ is smooth, while the inner function is nonsmooth, but ReLU is piecewise linear and convex, is it possible that chain rule still holds?
2026-03-25 05:59:11.1774418351
Chain rule for composite function with inner function non-smooth
153 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail AtRelated Questions in CHAIN-RULE
- Show that $g \circ f$ is n times differentiable
- Chain rule with intermediate vector function
- Derivative and chain rule exam problem
- Derivative of square of skew symmetric matrix times a vector wrt the argument of the skew symmetric argument
- Show that certain properties remain under inversion
- Multi-variable chain rule - confusion in application
- Chain rule proof by definition
- Find the value of the function (Chain rule)
- Chain rule problem: given $f(x)=\sqrt{4x+7}$ and $g(x)=e^{x+4}$, compute $f(g(x))'$.
- Chain Rule partial derivatives and the wave equation
Related Questions in NEURAL-NETWORKS
- Retrain of a neural network
- Angular values for input to a neural network
- Smooth, differentiable loss function 'bounding' $[0,1]$
- How to show that a gradient is a sum of gradients?
- Approximation rates of Neural Networks
- How does using chain rule in backprogation algorithm works?
- Computing the derivative of a matrix-vector dot product
- Need to do an opposite operation to a dot product with non square matrices, cannot figure out how.
- Paradox of square error function and derivates in neural networks
- Momentum in gradient descent
Related Questions in SUBGRADIENT
- how to prove the affine composition of the subdifferential?
- why subgradient of convex function is unique
- Subgradients of parametrized LP
- How to show $\partial f(x) =\{\nabla f(x) \}$ for a convex differentiable function?
- What is the subdifferential of the $f(x)$?
- Plot and calculate subgradient of f(x)
- Calculate the convex conjugate of f(x)?
- Proving necessity of a condition for minimum of a convex function
- An optimality condition for constrained problems using subgradients
- A necessary and sufficient condition for optimality of non-smooth convex functions over convex set
Related Questions in NON-SMOOTH-OPTIMIZATION
- Second order necessary and sufficient conditions for convex nonsmooth optimization
- Uses of nonsmooth analysis in mathematical research
- Optimization with parametric constraints: solution maps
- Formulate the solution of a zero sum game with a payoff matrix A as an optimization problem.
- Minimizing a composite non-differentiable convex function over a $2$-norm ball
- How to avoid overflow when evaluating the exponential smoothing function?
- Sub-differential of a convex function along a particular direction
- Optimality check for non-differentiable convex function
- Maximum of pseudoconvex function
- Example of empty Clarke subdifferential for function lipschitz over a closed convex set
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?