Variable dimensional integralsAbout high dimensional integralsAbout calculating IntegralsMultiple integrals...
What verb for taking advantage fits in "I don't want to ________ on the friendship"?
Movie with Zoltar in a trailer park named Paradise and a boy playing a video game then being recruited by aliens to fight in space
Most elegant way to write a one-shot 'if'
Converting Geographic Coordinates into Lambert2008 coordinates
Sacrifice blocking creature before damage is dealt no longer working (MtG Arena)?
What kind of jet plane is this?
Bin Packing with Relational Penalization
What game is this character in the Pixels movie from?
Do the 26 richest billionaires own as much wealth as the poorest 3.8 billion people?
Preferred word for "preferred", "target", "chosen" in end user support documentation
Can I travel from Germany to England alone as an unaccompanied minor?
Why would anyone even use a Portkey?
Are the requirements of a Horn of Valhalla cumulative?
Is it possible to have a character with proficiency in all martial weapons without proficiency in Medium armor?
Reusable spacecraft: why still have fairings detach, instead of open/close?
What is "oversubscription" in Networking?
Security Patch SUPEE-11155 - Possible issues?
Why is Japan trying to have a better relationship with Iran?
Copy group of files (Filename*) to backup (Filename*.bak)
How to securely dispose of a smartphone?
Is there reliable evidence that depleted uranium from the 1999 NATO bombing is causing cancer in Serbia?
How to get a character's limb regrown at 3rd level?
How do I ensure my employees don't abuse my flexible work hours policy?
The warming up game
Variable dimensional integrals
About high dimensional integralsAbout calculating IntegralsMultiple integrals where the number of integrals is aribtraryDirac delta in integralsComputing integrals in MathematicaHow does one evaluate this variable number of multiple integrals?Evaluating integrals of derivativesDefining derivatives of integralssymbolic Integration of a long function while retaining constantsEvaluating multiple integrals
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
$begingroup$
I need to Integrate
a function, but let the number of dimensions vary.
Integrate[Product[Exp[-( t[[i]] )^2], {i,1,4}], options]
with
t = {u,v,x,y}
and
options = {#,-Infinity,Infinity}&/@{u,v,x,y}
but the double braces on options doesn't allow this to work. I get this for options:
{{u, -Infinity, Infinity}, {v, -Infinity, Infinity}, {x,
-Infinity, Infinity}, {y, -Infinity, Infinity}}
If I want a general list of variables, can these be added as variables into integrate, with the corresponding limits? I need a variable dimension, simply taken from the length of a list.
calculus-and-analysis syntax
$endgroup$
add a comment |
$begingroup$
I need to Integrate
a function, but let the number of dimensions vary.
Integrate[Product[Exp[-( t[[i]] )^2], {i,1,4}], options]
with
t = {u,v,x,y}
and
options = {#,-Infinity,Infinity}&/@{u,v,x,y}
but the double braces on options doesn't allow this to work. I get this for options:
{{u, -Infinity, Infinity}, {v, -Infinity, Infinity}, {x,
-Infinity, Infinity}, {y, -Infinity, Infinity}}
If I want a general list of variables, can these be added as variables into integrate, with the corresponding limits? I need a variable dimension, simply taken from the length of a list.
calculus-and-analysis syntax
$endgroup$
add a comment |
$begingroup$
I need to Integrate
a function, but let the number of dimensions vary.
Integrate[Product[Exp[-( t[[i]] )^2], {i,1,4}], options]
with
t = {u,v,x,y}
and
options = {#,-Infinity,Infinity}&/@{u,v,x,y}
but the double braces on options doesn't allow this to work. I get this for options:
{{u, -Infinity, Infinity}, {v, -Infinity, Infinity}, {x,
-Infinity, Infinity}, {y, -Infinity, Infinity}}
If I want a general list of variables, can these be added as variables into integrate, with the corresponding limits? I need a variable dimension, simply taken from the length of a list.
calculus-and-analysis syntax
$endgroup$
I need to Integrate
a function, but let the number of dimensions vary.
Integrate[Product[Exp[-( t[[i]] )^2], {i,1,4}], options]
with
t = {u,v,x,y}
and
options = {#,-Infinity,Infinity}&/@{u,v,x,y}
but the double braces on options doesn't allow this to work. I get this for options:
{{u, -Infinity, Infinity}, {v, -Infinity, Infinity}, {x,
-Infinity, Infinity}, {y, -Infinity, Infinity}}
If I want a general list of variables, can these be added as variables into integrate, with the corresponding limits? I need a variable dimension, simply taken from the length of a list.
calculus-and-analysis syntax
calculus-and-analysis syntax
asked 8 hours ago
Alexander Kartun-GilesAlexander Kartun-Giles
4872 silver badges11 bronze badges
4872 silver badges11 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
You can use Sequence
to eliminate a set of brackets:
t = {u, v, x, y};
Integrate[
Product[
Exp[-( t[[i]] )^2],
{i,1,4}
],
Sequence @@ ({#,-Infinity,Infinity}&/@t)
]
π^2
However, it is simpler to use a Region
specification instead:
Integrate[Exp[-p.p], p ∈ FullRegion[4]]
π^2
$endgroup$
$begingroup$
Thank you very much. Isp
a vector, hence FullRegion[4]?
$endgroup$
– Alexander Kartun-Giles
8 hours ago
1
$begingroup$
@AlexanderKartun-Giles Yes,p
is a symbolic vector.
$endgroup$
– Carl Woll
8 hours ago
$begingroup$
Ok I will look that up. Thank you.
$endgroup$
– Alexander Kartun-Giles
8 hours ago
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "387"
};
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',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f201054%2fvariable-dimensional-integrals%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
You can use Sequence
to eliminate a set of brackets:
t = {u, v, x, y};
Integrate[
Product[
Exp[-( t[[i]] )^2],
{i,1,4}
],
Sequence @@ ({#,-Infinity,Infinity}&/@t)
]
π^2
However, it is simpler to use a Region
specification instead:
Integrate[Exp[-p.p], p ∈ FullRegion[4]]
π^2
$endgroup$
$begingroup$
Thank you very much. Isp
a vector, hence FullRegion[4]?
$endgroup$
– Alexander Kartun-Giles
8 hours ago
1
$begingroup$
@AlexanderKartun-Giles Yes,p
is a symbolic vector.
$endgroup$
– Carl Woll
8 hours ago
$begingroup$
Ok I will look that up. Thank you.
$endgroup$
– Alexander Kartun-Giles
8 hours ago
add a comment |
$begingroup$
You can use Sequence
to eliminate a set of brackets:
t = {u, v, x, y};
Integrate[
Product[
Exp[-( t[[i]] )^2],
{i,1,4}
],
Sequence @@ ({#,-Infinity,Infinity}&/@t)
]
π^2
However, it is simpler to use a Region
specification instead:
Integrate[Exp[-p.p], p ∈ FullRegion[4]]
π^2
$endgroup$
$begingroup$
Thank you very much. Isp
a vector, hence FullRegion[4]?
$endgroup$
– Alexander Kartun-Giles
8 hours ago
1
$begingroup$
@AlexanderKartun-Giles Yes,p
is a symbolic vector.
$endgroup$
– Carl Woll
8 hours ago
$begingroup$
Ok I will look that up. Thank you.
$endgroup$
– Alexander Kartun-Giles
8 hours ago
add a comment |
$begingroup$
You can use Sequence
to eliminate a set of brackets:
t = {u, v, x, y};
Integrate[
Product[
Exp[-( t[[i]] )^2],
{i,1,4}
],
Sequence @@ ({#,-Infinity,Infinity}&/@t)
]
π^2
However, it is simpler to use a Region
specification instead:
Integrate[Exp[-p.p], p ∈ FullRegion[4]]
π^2
$endgroup$
You can use Sequence
to eliminate a set of brackets:
t = {u, v, x, y};
Integrate[
Product[
Exp[-( t[[i]] )^2],
{i,1,4}
],
Sequence @@ ({#,-Infinity,Infinity}&/@t)
]
π^2
However, it is simpler to use a Region
specification instead:
Integrate[Exp[-p.p], p ∈ FullRegion[4]]
π^2
answered 8 hours ago
Carl WollCarl Woll
85.9k3 gold badges110 silver badges220 bronze badges
85.9k3 gold badges110 silver badges220 bronze badges
$begingroup$
Thank you very much. Isp
a vector, hence FullRegion[4]?
$endgroup$
– Alexander Kartun-Giles
8 hours ago
1
$begingroup$
@AlexanderKartun-Giles Yes,p
is a symbolic vector.
$endgroup$
– Carl Woll
8 hours ago
$begingroup$
Ok I will look that up. Thank you.
$endgroup$
– Alexander Kartun-Giles
8 hours ago
add a comment |
$begingroup$
Thank you very much. Isp
a vector, hence FullRegion[4]?
$endgroup$
– Alexander Kartun-Giles
8 hours ago
1
$begingroup$
@AlexanderKartun-Giles Yes,p
is a symbolic vector.
$endgroup$
– Carl Woll
8 hours ago
$begingroup$
Ok I will look that up. Thank you.
$endgroup$
– Alexander Kartun-Giles
8 hours ago
$begingroup$
Thank you very much. Is
p
a vector, hence FullRegion[4]?$endgroup$
– Alexander Kartun-Giles
8 hours ago
$begingroup$
Thank you very much. Is
p
a vector, hence FullRegion[4]?$endgroup$
– Alexander Kartun-Giles
8 hours ago
1
1
$begingroup$
@AlexanderKartun-Giles Yes,
p
is a symbolic vector.$endgroup$
– Carl Woll
8 hours ago
$begingroup$
@AlexanderKartun-Giles Yes,
p
is a symbolic vector.$endgroup$
– Carl Woll
8 hours ago
$begingroup$
Ok I will look that up. Thank you.
$endgroup$
– Alexander Kartun-Giles
8 hours ago
$begingroup$
Ok I will look that up. Thank you.
$endgroup$
– Alexander Kartun-Giles
8 hours ago
add a comment |
Thanks for contributing an answer to Mathematica Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f201054%2fvariable-dimensional-integrals%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown