L1-regularized quadratic function
Definition
A -regularized quadratic function of one variable is a function of the form:
where . Note that we assume for some of our case analysis, because we consider such functions in the context of modifying the minimization problem for quadratic functions.
The function has a piecewise quadratic function definition:
Differentiation
First derivative
The expression for the first derivative is obtained from the piecewise definition of the function, using the differentiation rule for piecewise definition by interval. We obtain the expression:
The first derivative is undefined at . At this point, the left-hand derivative is and the right-hand derivative is .
The derivative function is therefore a piecewise linear function with a jump discontinuity at zero.
Second derivative
The second derivative is defined as:
The second derivative is undefined at zero.
Points and intervals of interest
Critical points
As noted above, we have the following expression for the derivative:
We have at least one and at most three critical points. The three candidates are discussed below.
Critical point | Case that it occurs | Description of critical point |
---|---|---|
0 | Always | The function is not differentiable at the point. The left-hand derivative is and the right-hand derivative is . |
The case that | It is the unique critical point for the quadratic piece for . It occurs if and only if the critical point for that piece happens to fall within that piece definition. | |
The case that | It is the unique critical point for the quadratic piece for . It occurs if and only if the critical point for that piece happens to fall within that piece definition. |
The second and third critical point type cannot both occur. This can be seen arithmetically, since subtracting the second condition from the first contradicts the assumption pair . It also follows from the fact that the graph of the function is concave up (more on this later).
Here are the combined cases:
Case | Set of critical points |
---|---|
Intervals of increase and decrease=
We include the three cases below. Recall the assumption that :
Case | Set of critical points |
---|---|
decreasing on increasing on : note that the derivative is undefined at 0, but the function is continuous and increasing on both the left and right. | |
decreasing on Failed to parse (syntax error): {\displaystyle \left(-\infty,0]}
. increasing on . | |
decreasing on : note that the derivative is undefined at 0, but the function is continuous and increasing on both the left and right. increasing on |