Extremly long Definite triple integral

Click For Summary

Discussion Overview

The discussion revolves around calculating a definite triple integral of the form 1/|x+y+z|, specifically focusing on the integral of 1/sqrt((x-x')^2+(y-y')^2+(z-z')^2) over a defined region. The context is related to a geophysical inversion program, where the integral is used to model the potential of vertical square columns based on their density and depth.

Discussion Character

  • Technical explanation
  • Exploratory
  • Debate/contested

Main Points Raised

  • One participant presents a need to simplify the computation of a complex triple integral that results in 48 terms when limits are applied.
  • Another participant questions the equivalence of the functions involved in the integral and asks for clarification on the integration region.
  • A participant describes the application of the integral in a geophysical inversion program, detailing the setup of vertical columns and the variables involved.
  • There is a suggestion to consider changing to spherical coordinates, though one participant expresses skepticism about this approach for a rectangular prism array.
  • Specific limits for the integration are provided, indicating the thickness of the columns and the measurement height above the z=0 plane.

Areas of Agreement / Disagreement

Participants express differing views on the appropriateness of spherical coordinates for the given problem, indicating a lack of consensus on the best approach to simplify the integral.

Contextual Notes

The discussion includes assumptions about the integration limits and the nature of the functions involved, which may affect the simplification strategies proposed.

NamDogg
Messages
3
Reaction score
0
Hi

I am currently working on a project, and I need to calculate the definite triple integral of 1/|x+y+z|. i.e:

int int int (1/sqrt((x-x')^2+(y-y')^2+(z-z')^2)) dx dy dz.
I have solved the integral, and it has 48 terms if the limits are inserted (6 terms with 3 sets of upper and lower limits). The computing power to model with this huge expression is too much, so is there a trick or shortcut that outputs a simple answer, even if it is slightly approximated?

Assistance would be greatly appreciated.
 
Last edited:
Physics news on Phys.org
I would argue that the function 1/|x+y+z| and the thing in your integral are different functions. I'm going to assume that your integral is correct

What kind of region are you integrating over?
 
Thank you for your reply.

I am creating a geophysical inversion program, by which I treat one body as a set of vertical square columns. The only variables are then the density and depth of the individual columns. After defining the potential for one column, I can create an array of columns and find the forward model for the system. Hence my integral is:

I= Gρ(∫∫∫1/|r-r0| dx dy dz)
I= Gρ(∫∫∫1/sqrt((x-x')^2+(y-y')^2+(z-z')^2) dx dy dz))

with respective x,y,z min and max constants as limits

So I am integrating over real space.


However, the integral has a huge amount of terms, so my modelling is quite slow, especially for systems with many vertical columns (large body)
 
NamDogg said:
Hi

I am currently working on a project, and I need to calculate the definite triple integral of 1/|x+y+z|. i.e:

int int int (1/sqrt((x-x')^2+(y-y')^2+(z-z')^2)) dx dy dz.
I have solved the integral, and it has 48 terms if the limits are inserted (6 terms with 3 sets of upper and lower limits). The computing power to model with this huge expression is too much, so is there a trick or shortcut that outputs a simple answer, even if it is slightly approximated?

Assistance would be greatly appreciated.

It depends very much on what the limits are. For example, you could change to spherical coordinates centered at (x',y',z').
 
mathman said:
It depends very much on what the limits are. For example, you could change to spherical coordinates centered at (x',y',z').

I don't see how spherical coordinates would be simpler for a rectangular prism array.
My limits are:

-t/2<x<t/2
-t/2<y<t/2
h<z<h+D

t=thickness of the columns. Such that the area of the column is t^2
h=measurement height above the z=0 plane. Such that g(0,0,0) is finite.
D = depth of the column
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 9 ·
Replies
9
Views
3K
Replies
5
Views
2K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K