Double Integral of Pythagoras over rectangular region

Click For Summary
The discussion centers on calculating the average length of a line drawn from a point on the perimeter of a rectangle to another point on one of the remaining sides, involving the double integral ∫_0^A ∫_0^B √(x² + y²) dy dx. Participants suggest using polar coordinates and trig substitutions to simplify the integral, with one user proposing to split the region into two parts for easier integration. The conversation highlights the complexity of the integral due to the rectangular boundaries, and there is an acknowledgment that the substitution methods can lead to complicated results. Overall, the thread explores various approaches to solving the integral while seeking simplifications. The discussion emphasizes the mathematical techniques applicable to this geometric problem.
ctchervenkov
Messages
2
Reaction score
0
Take any given point on the perimeter of a (A x B) rectange and then draw a line from that point to another point on one of the three remaining sides of the rectangle. What is the average length of the line?
Well, the answer to that question involves integrals like this:

\int_0^A \int_0^B \sqrt{x^2 + y^2} dy dx

This thing gets a bit interesting given that it's basically a polar type integral but with rectangular boundaries. Any ideas?

Thanks!

Chris
 
Physics news on Phys.org
That looks like a fairly standard "trig substitution" integral. To integrate with respect to y initially, let y= x tan(\theta) so that \sqrt{x^2+ y^2}= \sqrt{x^2+ x^2tan^2(\theta)}= x\sqrt{1+ tan^2(\theta)}= x sec(\theta) while dy= x sec^2(\theta)d\theta. The first integral becomes \int_0^{arctan(B/x)} (x sec(\theta))(x sec^2(\theta)= x^2\int_0^{arctan(B/x)} sec^3(\theta)d\theta
 
ctchervenkov said:
Take any given point on the perimeter of a (A x B) rectange and then draw a line from that point to another point on one of the three remaining sides of the rectangle. What is the average length of the line?
Well, the answer to that question involves integrals like this:

\int_0^A \int_0^B \sqrt{x^2 + y^2} dy dx

This thing gets a bit interesting given that it's basically a polar type integral but with rectangular boundaries. Any ideas?

Thanks!

Chris

Hi ctchervenkov! Welcome to PF!

Polar works here. You will need to split the region into two.
$$\int_0^{\tan^{-1}\frac{B}{A}} \int_0^{\frac{A}{\cos\theta}} r^2\,dr\,d\theta+\int_{\tan^{-1}\frac{B}{A}}^{\pi/2} \int_{0}^{\frac{B}{\sin\theta}} r^2\,dr\,d\theta$$
Not sure if this can be simplified further.
 
to Pranav-Arora: I had tried that, but the things got a bit ugly...

to HallsofIvy: Had not tried that particular substitution I don't think. Thanks. Will see if that simplifies things...
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 20 ·
Replies
20
Views
4K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K