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:
Related functions
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 , or equivalently,  |
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 , or equivalently,  |
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
|
, or equivalently,  |
|
, or equivalently,  |
|
, or equivalently,  |
|
Intervals of increase and decrease
We include the three cases below. Recall the assumption that
:
| Case |
Set of critical points
|
, or equivalently,  |
decreasing on ![{\displaystyle \left(-\infty ,{\frac {-(b-\lambda )}{2a}}\right]}](https://wikimedia.org/api/rest_v1/media/math/render/svg/2ba388997e989933ffc539422cfb27b6045886ab) increasing on : note that the derivative is undefined at 0, but the function is continuous and increasing on both the left and right.
|
, or equivalently,  |
decreasing on . increasing on .
|
, or equivalently,  |
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
|
Local extreme values
We include the three cases below. Recall the assumption that
. Note that the function is concave up (i.e., a convex function) and therefore has a unique point of local minimum that is also a point of absolute minimum.
| Case |
Point of unique local minimum that is also a point of absolute minimum (value of ) |
Distance from the point of unique local minimum in the case , namely, the value  |
Local minimum value (also the absolute minimum value) |
Distance from the local minimum value in the case , namely, the value  |
Extent to which the value at the point differs from the local minimum value (for the regularized function)
|
, or equivalently,  |
 |
 |
 |
 |
|
, or equivalently,  |
0 |
 |
 |
 |
|
, or equivalently,  |
 |
 |
 |
 |
|
Single expression
The following single expression can be used to determine the point of local minimum:
Here is the intuitive explanation: we are starting out with the point of local minimum
for the original function. We then need to "move" a distance
reflecting a change in the coefficient of
by
. The direction of move depends on the sign of
, because that affects what piece definition we are currently in. However, when moving, we do not want to cross the origin, because if the graph shifted that much, we lost the interior minimum point completely and have to settle for the minimum at the point where the definition changes.
Sensitivity to regularization parameter
The derivative of the point of local minimum with respect to the parameter
is given as follows (the expression is obtained from the expression for the point of local minimum above):
The derivative is undefined at
. At this point, the point of local minimum transitions from a moving point to a stationary point at
.
Intervals of concave up and concave down
At all points other than 0, the function is twice differentiable and has positive second derivative
. At zero, the first derivative jumps upward from
to
. Therefore, the first derivative is increasing throughout the domain.