L1-regularized quadratic function: Difference between revisions

From Calculus
No edit summary
Line 1: Line 1:
==Definition==
==Definition==


A <math>\ell^1</math>-regularized quadratic function of one variable is a function of the form:
A <math>L^1</math>-regularized quadratic function of one variable is a function of the form:


<math>f(x) := ax^2 + bx + c + \lambda|x|</math>
<math>f(x) := ax^2 + bx + c + \lambda|x|</math>


where <math>a,b,c,\lambda \in \R, a \ne 0, \lambda > 0</math>.
where <math>a,b,c,\lambda \in \R, a > 0, \lambda > 0</math>. Note that we assume <math>a > 0</math> 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 definition of function|piecewise]] [[quadratic function]] definition:
The function has a [[piecewise definition of function|piecewise]] [[quadratic function]] definition:

Revision as of 17:25, 11 May 2014

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.