
Not only will Test for Positivity 6 deliver an affir-
mative answer if g(x) > 0 for all x ∈ S, but if there
is a y ∈ S such that g(y) < 0, then the test will also
deliver the results that g(x) ≥ 0 for all x ∈ S is false,
in a finite number of steps.
Lemma 10. If for g in Lemma 3 there is a y ∈ S such
that g(y) < 0, then Test for Positivity 6 will deliver a
point y
∗
∈ S such that g(y
∗
) < 0 in a finite number of
steps.
Proof. Since g is continuous there is an open neigh-
borhood U ⊂ S of y such that g(x) < 0 for all x ∈ U,
and since S from (18) is continuous the set S
−1
(U) is
open in S
2
id
⊂ R
m
and there is an open ball B ⊂ S
2
id
where g ◦ S is negative. Now consider that the ver-
tices of S
2
id
are the set {0,2}
m
∩ S
2
id
, the set of all
vertices of all the simplices in the first subdivision of
S
2
id
is {0,1,2}
m
∩ S
2
id
, the set of all vertices of all
the simplices in the second iterative subdivision of
S
2
id
is {0,1/2, 1, 3/2, 2}
m
∩ S
2
id
, etc. Now, for a large
enough K ∈ N, there must exist an
x
∗
∈
0,
1
2
K
,
2
2
K
,. . . ,
2 ·2
K
− 1
2
K
,2
m
∩ B
and with y
∗
= S(x
∗
) we have 0 > (g ◦ S)(x
∗
) = g(y
∗
).
Assume V is a CPQ Lyapunov function candidate,
i.e. is of the form (1) and fulfills the conditions (3). In
Theorem 1 we showed that if V (x) ≥ 0 for all x ̸= 0
0
0,
then V (x) > 0 for all x ̸= 0
0
0. Hence, for every ν ∈ I,
either V (x) > 0 for all x ∈ C
ν
\ {0
0
0} or there exists a
y ∈ C
ν
such that V (y) < 0. Combining Corollary 9
and Lemma 10 with these results delivers:
Theorem 11. For a CPQ Lyapunov function candi-
date V of the form (1) that fulfills the conditions (3),
the Test for Positivity 6 is non-conservative when ver-
ifying the conditions (2) for a CPQ Lyapunov func-
tions. That is, the test will give an affirmative answer
in a finite number of steps, whether (2) holds true or
not.
6 CONCLUSIONS
For switched, cone-wise linear systems, either arbi-
trary switched or with state-dependent switching, we
presented an algorithm to verify the positive definite
conditions for CPQ Lyapunov function candidates pa-
rameterized using LMIs or LP. Further, we proved in
Theorem 11 that the algorithm is non-conservative,
in comparison to earlier approaches that do introduce
some conservatism. In a subsequent publication we
will describe an efficient implementation of our algo-
rithm for n-dimensional system and demonstrate its
applicability. Further, we will compare its numeri-
cal efficiency with the LMI approaches presented in
(Kruszewski et al., 2009; Sala and Arino, 2007; Gon-
zaleza et al., 2017), which are sufficient and asymp-
totically necessary.
ACKNOWLEDGEMENT
We thank the anonymous reviewers for useful sugges-
tions and references.
REFERENCES
Andersen, S., August, E., Hafstein, S., and Piccini, J.
(2023a). Lyapunov function computation for linear
switched systems: Comparison of SDP and LP ap-
proaches. In Proceedings of the 13th International
Conference on Simulation and Modeling Methodolo-
gies, Technologies and Applications, volume 1, pages
61–70.
Andersen, S., Giesl, P., and Hafstein, S. (2023b). Com-
mon Lyapunov functions for switched linear systems:
Linear programming-based approach. IEEE Control
Systems Letters, 7:901–906.
Andersen, S., Hafstein, S., Roman, J., and van den Eijn-
den, S. (2024). Efficient implementation of piece-
wise quadratic Lyapunov function computations for
switched linear systems. In Proceedings of the 21tst
International Conference on Informatics in Control,
Automation and Robotics (ICINCO),, volume 1, pages
277–284.
Camlibel, M. and Pang, S.-J.and Shen, J. (2006).
Conewiselinear systems: Non-zenoness and observ-
ability. SIAM Journal on Control and Optimization,
45(5):1769–1800.
Deenen, D., Sharif, B., van den Eijnden, S., Nijmeijer, H.,
Heemels, M., and Heertjes, M. (2021). Projection-
based integrators for improved motion control: For-
malization, well-posedness and stability of hybrid
integrator-gain systems. Automatica, 133:109830.
Filippov, A. (1988). Differential Equations with Discon-
tinuous Right-hand Side. Kluwer. Translated from
Russian, original book from 1985.
Giesl, P., Hafstein, S., and Pokkakkillath, S. (2025). Piece-
wise quadratic Lyapunov functions for stochastic dif-
ferential equations by linear programm. Discrete Con-
tin. Dyn. Syst. Ser. B, 30(6):2027–2050.
Gonzaleza, T., Sala, A., Bernal, M., and Robles, R.
(2017). Piecewise-Takagi–Sugeno asymptotically ex-
actestimation of the domain of attractionof nonlinear
systems. J. Frank. Inst., 354:1514–1541.
Hafstein, S. (2019). Simulation and Modeling Method-
ologies, Technologies and Applications, volume 873
of Advances in Intelligent Systems and Computing,
Verifying Positivity of Piecewise Quadratic Lyapunov Functions
443