Hey, I assume the problem is almost selfexplaining I don't understand to set global Assumptions
Clear[k1,k2]
$Assumptions= {k1>0,k2==0}
Det[
{{k1,0},{0,k2}}]
Det[
{{k1,0},{0,k2}}]===0
Why is this not 0 and True but here it knows how to integrate
$Assumptions = {n == -1, m > 0}
Integrate[x^n, x]
Integrate[x^m, x]
Thanks for the support and all the best