Integral involving l1-norm

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I am trying to figure out how to evaluate an integral of the following form. Assume that $textbfx$ is a $P times 1$ vector, where $||.||_1$ reprents the l-1 norm, i.e. $sum_j=1^P |x_j|$.



The simplest version to evaluate is this first integral as you can just re-write the l1-norm and integrate directly.
$$int_-infty^infty exp(- ||textbfx||_1) dtextbfx = 2^P$$



The trickier part is I'm now trying to figure out how to do this when I left multiply $textbfx$ by some matrix $textbfA$, i.e:



$$int_-infty^infty exp(- ||textbfAtextbfx||_1) dtextbfx = ?$$



My thought was to do some change of variables on the integral, i.e. $textbfy = textbfA textbfx$, but as $textbfA$ isn't necessarily square, I wasn't really sure how to do this in a general case.



Any help would be greatly appreciated!







share|cite|improve this question















  • 2




    Do, thin QR factorization of $A$. When $R_1$ is not invertible the integral diverges. When $R_1$ is invertible, do your changes of variable.
    – user578878
    Jul 27 at 0:28










  • Thanks! Could you say more about how this helps? It seems like when I do the QR decomposition, I'm left with the l1 norm of Q times the transformed matrix and thus I still have the same problem. Maybe I'm missing something obvious here?
    – MGA
    Jul 27 at 0:52










  • Also I am still confused about how to do the change of variables with $R_1$?
    – MGA
    Jul 27 at 1:18







  • 1




    The answer is not $|R_1|^-1cdot 2^m$. For the example of vectors $q_1,q_2$ that I wrote above, the result is $10/9$, instead of $2^2$. Notice that although I denoted it $Id$, that matrix is not the identity. It is the identity with extra zero rows at the bottom.
    – user578878
    Jul 27 at 2:52







  • 1




    Yes, there is a closed form, which you would obtain by doing what I said above.
    – user578878
    Jul 27 at 3:00














up vote
1
down vote

favorite












I am trying to figure out how to evaluate an integral of the following form. Assume that $textbfx$ is a $P times 1$ vector, where $||.||_1$ reprents the l-1 norm, i.e. $sum_j=1^P |x_j|$.



The simplest version to evaluate is this first integral as you can just re-write the l1-norm and integrate directly.
$$int_-infty^infty exp(- ||textbfx||_1) dtextbfx = 2^P$$



The trickier part is I'm now trying to figure out how to do this when I left multiply $textbfx$ by some matrix $textbfA$, i.e:



$$int_-infty^infty exp(- ||textbfAtextbfx||_1) dtextbfx = ?$$



My thought was to do some change of variables on the integral, i.e. $textbfy = textbfA textbfx$, but as $textbfA$ isn't necessarily square, I wasn't really sure how to do this in a general case.



Any help would be greatly appreciated!







share|cite|improve this question















  • 2




    Do, thin QR factorization of $A$. When $R_1$ is not invertible the integral diverges. When $R_1$ is invertible, do your changes of variable.
    – user578878
    Jul 27 at 0:28










  • Thanks! Could you say more about how this helps? It seems like when I do the QR decomposition, I'm left with the l1 norm of Q times the transformed matrix and thus I still have the same problem. Maybe I'm missing something obvious here?
    – MGA
    Jul 27 at 0:52










  • Also I am still confused about how to do the change of variables with $R_1$?
    – MGA
    Jul 27 at 1:18







  • 1




    The answer is not $|R_1|^-1cdot 2^m$. For the example of vectors $q_1,q_2$ that I wrote above, the result is $10/9$, instead of $2^2$. Notice that although I denoted it $Id$, that matrix is not the identity. It is the identity with extra zero rows at the bottom.
    – user578878
    Jul 27 at 2:52







  • 1




    Yes, there is a closed form, which you would obtain by doing what I said above.
    – user578878
    Jul 27 at 3:00












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I am trying to figure out how to evaluate an integral of the following form. Assume that $textbfx$ is a $P times 1$ vector, where $||.||_1$ reprents the l-1 norm, i.e. $sum_j=1^P |x_j|$.



The simplest version to evaluate is this first integral as you can just re-write the l1-norm and integrate directly.
$$int_-infty^infty exp(- ||textbfx||_1) dtextbfx = 2^P$$



The trickier part is I'm now trying to figure out how to do this when I left multiply $textbfx$ by some matrix $textbfA$, i.e:



$$int_-infty^infty exp(- ||textbfAtextbfx||_1) dtextbfx = ?$$



My thought was to do some change of variables on the integral, i.e. $textbfy = textbfA textbfx$, but as $textbfA$ isn't necessarily square, I wasn't really sure how to do this in a general case.



Any help would be greatly appreciated!







share|cite|improve this question











I am trying to figure out how to evaluate an integral of the following form. Assume that $textbfx$ is a $P times 1$ vector, where $||.||_1$ reprents the l-1 norm, i.e. $sum_j=1^P |x_j|$.



The simplest version to evaluate is this first integral as you can just re-write the l1-norm and integrate directly.
$$int_-infty^infty exp(- ||textbfx||_1) dtextbfx = 2^P$$



The trickier part is I'm now trying to figure out how to do this when I left multiply $textbfx$ by some matrix $textbfA$, i.e:



$$int_-infty^infty exp(- ||textbfAtextbfx||_1) dtextbfx = ?$$



My thought was to do some change of variables on the integral, i.e. $textbfy = textbfA textbfx$, but as $textbfA$ isn't necessarily square, I wasn't really sure how to do this in a general case.



Any help would be greatly appreciated!









share|cite|improve this question










share|cite|improve this question




share|cite|improve this question









asked Jul 26 at 23:15









MGA

413




413







  • 2




    Do, thin QR factorization of $A$. When $R_1$ is not invertible the integral diverges. When $R_1$ is invertible, do your changes of variable.
    – user578878
    Jul 27 at 0:28










  • Thanks! Could you say more about how this helps? It seems like when I do the QR decomposition, I'm left with the l1 norm of Q times the transformed matrix and thus I still have the same problem. Maybe I'm missing something obvious here?
    – MGA
    Jul 27 at 0:52










  • Also I am still confused about how to do the change of variables with $R_1$?
    – MGA
    Jul 27 at 1:18







  • 1




    The answer is not $|R_1|^-1cdot 2^m$. For the example of vectors $q_1,q_2$ that I wrote above, the result is $10/9$, instead of $2^2$. Notice that although I denoted it $Id$, that matrix is not the identity. It is the identity with extra zero rows at the bottom.
    – user578878
    Jul 27 at 2:52







  • 1




    Yes, there is a closed form, which you would obtain by doing what I said above.
    – user578878
    Jul 27 at 3:00












  • 2




    Do, thin QR factorization of $A$. When $R_1$ is not invertible the integral diverges. When $R_1$ is invertible, do your changes of variable.
    – user578878
    Jul 27 at 0:28










  • Thanks! Could you say more about how this helps? It seems like when I do the QR decomposition, I'm left with the l1 norm of Q times the transformed matrix and thus I still have the same problem. Maybe I'm missing something obvious here?
    – MGA
    Jul 27 at 0:52










  • Also I am still confused about how to do the change of variables with $R_1$?
    – MGA
    Jul 27 at 1:18







  • 1




    The answer is not $|R_1|^-1cdot 2^m$. For the example of vectors $q_1,q_2$ that I wrote above, the result is $10/9$, instead of $2^2$. Notice that although I denoted it $Id$, that matrix is not the identity. It is the identity with extra zero rows at the bottom.
    – user578878
    Jul 27 at 2:52







  • 1




    Yes, there is a closed form, which you would obtain by doing what I said above.
    – user578878
    Jul 27 at 3:00







2




2




Do, thin QR factorization of $A$. When $R_1$ is not invertible the integral diverges. When $R_1$ is invertible, do your changes of variable.
– user578878
Jul 27 at 0:28




Do, thin QR factorization of $A$. When $R_1$ is not invertible the integral diverges. When $R_1$ is invertible, do your changes of variable.
– user578878
Jul 27 at 0:28












Thanks! Could you say more about how this helps? It seems like when I do the QR decomposition, I'm left with the l1 norm of Q times the transformed matrix and thus I still have the same problem. Maybe I'm missing something obvious here?
– MGA
Jul 27 at 0:52




Thanks! Could you say more about how this helps? It seems like when I do the QR decomposition, I'm left with the l1 norm of Q times the transformed matrix and thus I still have the same problem. Maybe I'm missing something obvious here?
– MGA
Jul 27 at 0:52












Also I am still confused about how to do the change of variables with $R_1$?
– MGA
Jul 27 at 1:18





Also I am still confused about how to do the change of variables with $R_1$?
– MGA
Jul 27 at 1:18





1




1




The answer is not $|R_1|^-1cdot 2^m$. For the example of vectors $q_1,q_2$ that I wrote above, the result is $10/9$, instead of $2^2$. Notice that although I denoted it $Id$, that matrix is not the identity. It is the identity with extra zero rows at the bottom.
– user578878
Jul 27 at 2:52





The answer is not $|R_1|^-1cdot 2^m$. For the example of vectors $q_1,q_2$ that I wrote above, the result is $10/9$, instead of $2^2$. Notice that although I denoted it $Id$, that matrix is not the identity. It is the identity with extra zero rows at the bottom.
– user578878
Jul 27 at 2:52





1




1




Yes, there is a closed form, which you would obtain by doing what I said above.
– user578878
Jul 27 at 3:00




Yes, there is a closed form, which you would obtain by doing what I said above.
– user578878
Jul 27 at 3:00










1 Answer
1






active

oldest

votes

















up vote
0
down vote













Let $n$ be dimension of our space (sorry, I change $P$ with $n$) and let $A$ be a $k times n$ matrix ($k$ rows and $n$ columns). Let $k leq n$. Write $A$ in the block form
$$
A = beginpmatrix
A_1 &A_2
endpmatrix
$$
where $A_1$ consists of the first $ktimes k$ elements and $A_2$ consists of the last $ktimes (n-k)$ elements. Now form $n times n$ matrix $B$ as the following
$$
B = beginpmatrix
A_1 &A_2 \
0 & 1
endpmatrix
$$
(here $1$ stands for the identity matrix).
This $B$ serves your desired change of variables. Note that if $k<n$ the integral diverges.






share|cite|improve this answer























  • Hi, I'm trying to think through this answer in the k > n case but I think it can't be true that if k < n the integral diverges. Consider the case where A = [1,0,0,0] and x is a 4 dimensional vector. A * x = x_1 and the integral evaluates to '2'. Am I missing something?
    – MGA
    Jul 27 at 0:53






  • 1




    @MGA in this case the integral becomes $int e^ dx_1 dotsm dx_4 = infty$. The case $k>n$ is lost in my answer, indeed. In this case we want to reduce $A$ to an upper triangular matrix (something with zero rows), as in the comment by nextpuzzle (note $operatornamerk A leq n$).
    – dsw
    Jul 27 at 1:28











  • Thanks. Could you say more about where $B$ comes from? Why can't I flip the order of the identity matrix and 0 in the augmented matrix?
    – MGA
    Jul 27 at 2:44










Your Answer




StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2863915%2fintegral-involving-l1-norm%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













Let $n$ be dimension of our space (sorry, I change $P$ with $n$) and let $A$ be a $k times n$ matrix ($k$ rows and $n$ columns). Let $k leq n$. Write $A$ in the block form
$$
A = beginpmatrix
A_1 &A_2
endpmatrix
$$
where $A_1$ consists of the first $ktimes k$ elements and $A_2$ consists of the last $ktimes (n-k)$ elements. Now form $n times n$ matrix $B$ as the following
$$
B = beginpmatrix
A_1 &A_2 \
0 & 1
endpmatrix
$$
(here $1$ stands for the identity matrix).
This $B$ serves your desired change of variables. Note that if $k<n$ the integral diverges.






share|cite|improve this answer























  • Hi, I'm trying to think through this answer in the k > n case but I think it can't be true that if k < n the integral diverges. Consider the case where A = [1,0,0,0] and x is a 4 dimensional vector. A * x = x_1 and the integral evaluates to '2'. Am I missing something?
    – MGA
    Jul 27 at 0:53






  • 1




    @MGA in this case the integral becomes $int e^ dx_1 dotsm dx_4 = infty$. The case $k>n$ is lost in my answer, indeed. In this case we want to reduce $A$ to an upper triangular matrix (something with zero rows), as in the comment by nextpuzzle (note $operatornamerk A leq n$).
    – dsw
    Jul 27 at 1:28











  • Thanks. Could you say more about where $B$ comes from? Why can't I flip the order of the identity matrix and 0 in the augmented matrix?
    – MGA
    Jul 27 at 2:44














up vote
0
down vote













Let $n$ be dimension of our space (sorry, I change $P$ with $n$) and let $A$ be a $k times n$ matrix ($k$ rows and $n$ columns). Let $k leq n$. Write $A$ in the block form
$$
A = beginpmatrix
A_1 &A_2
endpmatrix
$$
where $A_1$ consists of the first $ktimes k$ elements and $A_2$ consists of the last $ktimes (n-k)$ elements. Now form $n times n$ matrix $B$ as the following
$$
B = beginpmatrix
A_1 &A_2 \
0 & 1
endpmatrix
$$
(here $1$ stands for the identity matrix).
This $B$ serves your desired change of variables. Note that if $k<n$ the integral diverges.






share|cite|improve this answer























  • Hi, I'm trying to think through this answer in the k > n case but I think it can't be true that if k < n the integral diverges. Consider the case where A = [1,0,0,0] and x is a 4 dimensional vector. A * x = x_1 and the integral evaluates to '2'. Am I missing something?
    – MGA
    Jul 27 at 0:53






  • 1




    @MGA in this case the integral becomes $int e^ dx_1 dotsm dx_4 = infty$. The case $k>n$ is lost in my answer, indeed. In this case we want to reduce $A$ to an upper triangular matrix (something with zero rows), as in the comment by nextpuzzle (note $operatornamerk A leq n$).
    – dsw
    Jul 27 at 1:28











  • Thanks. Could you say more about where $B$ comes from? Why can't I flip the order of the identity matrix and 0 in the augmented matrix?
    – MGA
    Jul 27 at 2:44












up vote
0
down vote










up vote
0
down vote









Let $n$ be dimension of our space (sorry, I change $P$ with $n$) and let $A$ be a $k times n$ matrix ($k$ rows and $n$ columns). Let $k leq n$. Write $A$ in the block form
$$
A = beginpmatrix
A_1 &A_2
endpmatrix
$$
where $A_1$ consists of the first $ktimes k$ elements and $A_2$ consists of the last $ktimes (n-k)$ elements. Now form $n times n$ matrix $B$ as the following
$$
B = beginpmatrix
A_1 &A_2 \
0 & 1
endpmatrix
$$
(here $1$ stands for the identity matrix).
This $B$ serves your desired change of variables. Note that if $k<n$ the integral diverges.






share|cite|improve this answer















Let $n$ be dimension of our space (sorry, I change $P$ with $n$) and let $A$ be a $k times n$ matrix ($k$ rows and $n$ columns). Let $k leq n$. Write $A$ in the block form
$$
A = beginpmatrix
A_1 &A_2
endpmatrix
$$
where $A_1$ consists of the first $ktimes k$ elements and $A_2$ consists of the last $ktimes (n-k)$ elements. Now form $n times n$ matrix $B$ as the following
$$
B = beginpmatrix
A_1 &A_2 \
0 & 1
endpmatrix
$$
(here $1$ stands for the identity matrix).
This $B$ serves your desired change of variables. Note that if $k<n$ the integral diverges.







share|cite|improve this answer















share|cite|improve this answer



share|cite|improve this answer








edited Jul 27 at 1:28


























answered Jul 27 at 0:43









dsw

963




963











  • Hi, I'm trying to think through this answer in the k > n case but I think it can't be true that if k < n the integral diverges. Consider the case where A = [1,0,0,0] and x is a 4 dimensional vector. A * x = x_1 and the integral evaluates to '2'. Am I missing something?
    – MGA
    Jul 27 at 0:53






  • 1




    @MGA in this case the integral becomes $int e^ dx_1 dotsm dx_4 = infty$. The case $k>n$ is lost in my answer, indeed. In this case we want to reduce $A$ to an upper triangular matrix (something with zero rows), as in the comment by nextpuzzle (note $operatornamerk A leq n$).
    – dsw
    Jul 27 at 1:28











  • Thanks. Could you say more about where $B$ comes from? Why can't I flip the order of the identity matrix and 0 in the augmented matrix?
    – MGA
    Jul 27 at 2:44
















  • Hi, I'm trying to think through this answer in the k > n case but I think it can't be true that if k < n the integral diverges. Consider the case where A = [1,0,0,0] and x is a 4 dimensional vector. A * x = x_1 and the integral evaluates to '2'. Am I missing something?
    – MGA
    Jul 27 at 0:53






  • 1




    @MGA in this case the integral becomes $int e^ dx_1 dotsm dx_4 = infty$. The case $k>n$ is lost in my answer, indeed. In this case we want to reduce $A$ to an upper triangular matrix (something with zero rows), as in the comment by nextpuzzle (note $operatornamerk A leq n$).
    – dsw
    Jul 27 at 1:28











  • Thanks. Could you say more about where $B$ comes from? Why can't I flip the order of the identity matrix and 0 in the augmented matrix?
    – MGA
    Jul 27 at 2:44















Hi, I'm trying to think through this answer in the k > n case but I think it can't be true that if k < n the integral diverges. Consider the case where A = [1,0,0,0] and x is a 4 dimensional vector. A * x = x_1 and the integral evaluates to '2'. Am I missing something?
– MGA
Jul 27 at 0:53




Hi, I'm trying to think through this answer in the k > n case but I think it can't be true that if k < n the integral diverges. Consider the case where A = [1,0,0,0] and x is a 4 dimensional vector. A * x = x_1 and the integral evaluates to '2'. Am I missing something?
– MGA
Jul 27 at 0:53




1




1




@MGA in this case the integral becomes $int e^ dx_1 dotsm dx_4 = infty$. The case $k>n$ is lost in my answer, indeed. In this case we want to reduce $A$ to an upper triangular matrix (something with zero rows), as in the comment by nextpuzzle (note $operatornamerk A leq n$).
– dsw
Jul 27 at 1:28





@MGA in this case the integral becomes $int e^ dx_1 dotsm dx_4 = infty$. The case $k>n$ is lost in my answer, indeed. In this case we want to reduce $A$ to an upper triangular matrix (something with zero rows), as in the comment by nextpuzzle (note $operatornamerk A leq n$).
– dsw
Jul 27 at 1:28













Thanks. Could you say more about where $B$ comes from? Why can't I flip the order of the identity matrix and 0 in the augmented matrix?
– MGA
Jul 27 at 2:44




Thanks. Could you say more about where $B$ comes from? Why can't I flip the order of the identity matrix and 0 in the augmented matrix?
– MGA
Jul 27 at 2:44












 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2863915%2fintegral-involving-l1-norm%23new-answer', 'question_page');

);

Post as a guest













































































Comments

Popular posts from this blog

What is the equation of a 3D cone with generalised tilt?

Color the edges and diagonals of a regular polygon

Relationship between determinant of matrix and determinant of adjoint?