Please evaluate this double integral over rectangular bounds

In summary: Thanks,QMIn summary, the integral in question is a difficult one that requires iterated integration, and the integrand is correct despite its unusual dimensions. The indefinite integral has been derived and the integration constants cancel when using rectangular bounds. The definite integral still remains to be evaluated.
  • #1
{???}
57
7
Summary:: Could someone please evaluate this double integral over rectangular bounds? Answer only is just fine.

[Mentor Note -- thread moved from the technical math forums, so no Homework template is shown]

Hi,

I'm trying to find the answer to the following integral over the rectangle ##(x^-,x^+)\times(y^-,y^+)##:
[tex]
\int_{y^-}^{y^+}\int_{x^-}^{x^+}v^2\arctan\frac{Lu}{v\sqrt{u^2+v^2+L^2}}\,\mathrm{d}v\,\mathrm{d}u.
[/tex]
For the indefinite double integral, WA gives a complicated answer with logarithms of complex arguments. I know that ##\tan^{-1}z=\frac{i}{2}\log\frac{1-iz}{1+iz}##, but it is not clear how to get this from the WA expression:
[tex]
\log\left\{-\frac{12(L\sqrt{L^2+u^2+v^2}+L^2+u^2-iuv)}{L^2u^3(v+iu)}\right\}
[/tex]
Obviously, this should have a real answer since the integrand is real-valued over the domain of integration.

I don't have access to Mathematica at the moment and the internet integral evaluators I've tried all seem to fail here. I'm not interested in the step-by-step approach (##u##-/trigonometric substitution, integration by parts, partial fractions, etc.). I just want to know the answer to the double integral above.

Can somebody with access to a CAS or Mathematica please compute this double integral over the given rectangular bounds and share the answer? It would be much appreciated.

Thanks,
QM
 
Last edited by a moderator:
  • Like
Likes WWGD and Delta2
Physics news on Phys.org
  • #2
##u(x^-,x^+)## or ##v(x^-,x^+)## ?

Where is Origin ? You do not care ?
 
  • #3
{?} said:
Summary:: Could someone please evaluate this double integral over rectangular bounds? Answer only is just fine.

Hi,

I'm trying to find the answer to the following integral over the rectangle ##(x^-,x^+)\times(y^-,y^+)##:
[tex]
\int_{y^-}^{y^+}\int_{x^-}^{x^+}v^2\arctan\frac{Lu}{v\sqrt{u^2+v^2+L^2}}\,\mathrm{d}v\,\mathrm{d}u.
[/tex]
For the indefinite double integral, WA gives a complicated answer with logarithms of complex arguments. I know that ##\tan^{-1}z=\frac{i}{2}\log\frac{1-iz}{1+iz}##, but it is not clear how to get this from the WA expression:
[tex]
\log\left\{-\frac{12(L\sqrt{L^2+u^2+v^2}+L^2+u^2-iuv)}{L^2u^3(v+iu)}\right\}
[/tex]
Obviously, this should have a real answer since the integrand is real-valued over the domain of integration.

I don't have access to Mathematica at the moment and the internet integral evaluators I've tried all seem to fail here. I'm not interested in the step-by-step approach (##u##-/trigonometric substitution, integration by parts, partial fractions, etc.). I just want to know the answer to the double integral above.

Can somebody with access to a CAS or Mathematica please compute this double integral over the given rectangular bounds and share the answer? It would be much appreciated.

Thanks,
QM
What is the application? Is this for schoolwork?
 
  • #4
Sorry that was a typo. Should be ##u(x^-,x^+)##.
 
  • #5
berkeman said:
What is the application? Is this for schoolwork?
It is a schoolwork-type problem, but not schoolwork. I was investigating electrostatic properties of an analytically soluble charge distribution when I encountered these integrals.
 
  • #6
{?} said:
It is a schoolwork-type problem, but not schoolwork.
Okay, please post schoolwork-type questions in the schoolwork forums, and please show as much work on the question as you can. I will move your thread to the schoolwork forums for you now.

This thread will help to explain the PF rules about schoolwork-type questions:

https://www.physicsforums.com/threads/homework-coursework-questions.373889/
 
  • #8
{?} said:
Summary:: Could someone please evaluate this double integral over rectangular bounds? Answer only is just fine.

[Mentor Note -- thread moved from the technical math forums, so no Homework template is shown]

Hi,

I'm trying to find the answer to the following integral over the rectangle ##(x^-,x^+)\times(y^-,y^+)##:
[tex]
\int_{y^-}^{y^+}\int_{x^-}^{x^+}v^2\arctan\frac{Lu}{v\sqrt{u^2+v^2+L^2}}\,\mathrm{d}v\,\mathrm{d}u.
[/tex]
Mathematica is giving a complex answer because without explicitly defining the domain of L, x, and y, Mathematica assumes they are complex. To restrict L, a, and b to Reals, use the code:
Mathematica:
ClearAll[theL, a, b];
Integrate[
v^2 ArcTan[(theL u)/(v Sqrt[u^2 + v^2 + theL^2])], {v, -b,
  b}, {u, -a, a}, Assumptions -> Element[{theL, a, b}, Reals]]
 
  • #9
Your integral smells fishy to me. I assume we have
$$
\frac{y}{x}=\tan(\phi)
$$
$$
\frac{L}{\sqrt{x^2+y^2 +L^2}}=\cos(\theta)
$$
where ##\phi## is the azimuthal angle and ##\theta## is the angle of elevation measured from the vertical. Your integrand is
$$
x^2\tan^{-1}(\tan(\phi)\cos(\theta))
$$
with the dimensions of ##angle*(length)^2##. That's just weird for an electrostatics problem with rectangular symmetry. It looks like your mixing apples and oranges. Where did you get that? It should be a red flag for you that something went wrong in your derivation when WA gives a complex solution.
 
Last edited:
  • #10
Dimensions of ##angle\cdot length^2## are correct. There are other factors of ##x_{\pm}^{-1},y_{\pm}^{-1},z_{\pm}^{-1},L^{-1}## and these lead to dimensions of ##[k]charge^2length^{-1}## when all is said and done. I just omitted those prefactors to focus on the integral I have not yet been able to evaluate. I am absolutely certain the integrand is correct, it's just an uncommon (and hard) problem requiring enough iterated integration that this integral eventually occurs.

I have worked out the indefinite integral:
[tex]
\iint v^2\tan^{-1}\frac{Lu}{v\sqrt{L^2+u^2+v^2}}\,\mathrm{d}u\,\mathrm{d}v
=2Lu(u^2+L^2)\sinh^{-1}\frac{v}{\sqrt{u^2+L^2}}-\tfrac{1}{2}L^4\tan^{-1}\frac{uv}{L\sqrt{u^2+v^2+L^2}}
[/tex]
[tex]
-\tfrac{1}{2}u^4\tan^{-1}\frac{Lv}{u\sqrt{u^2+v^2+L^2}}
+\tfrac{1}{2}v^4\tan^{-1}\frac{Lu}{v\sqrt{u^2+v^2+L^2}}
+\tfrac{5}{2}Luv\sqrt{u^2+v^2+L^2}
+u^3v\sinh^{-1}\frac{L}{\sqrt{v^2+u^2}},
[/tex]
Integration constants are omitted because they cancel when I input rectangular bounds.

Can someone please confirm this result?
 
  • #11
If it were single integral the definite integral should be
[tex] [RHS]_{x-}^{x+}[/tex]
I am not sure how we should calculate definite double integral from RHS. May I do it as
[tex] [[RHS]_{x-}^{x+}]_{y-}^{y+}[/tex]?

For confirmation how about calculating and checking
[tex]\frac{\partial RHS}{\partial u\partial v}=Integrand[/tex]?

Integrand is odd function for both u and v. So we expect RHS is even function for both u and v like
[tex]\int dx \int dy \ \ xy= \frac{x^2y^2}{4}[/tex]
But your RHS is odd function for both u and v. Is my speculation wrong ?
 
Last edited:

Related to Please evaluate this double integral over rectangular bounds

1. What is a double integral?

A double integral is a type of mathematical operation that involves integrating a function of two variables over a two-dimensional region. It is represented by two integral signs and is used to calculate the volume under a surface in three-dimensional space.

2. What are rectangular bounds?

Rectangular bounds refer to the limits or boundaries of the region over which the double integral is being evaluated. In other words, it defines the area that is being integrated over in the x-y plane.

3. How do I evaluate a double integral over rectangular bounds?

To evaluate a double integral over rectangular bounds, you first need to determine the limits of integration for both variables, typically denoted by a and b for x and c and d for y. Then, you can use the basic rules of integration to solve the integral, which involves finding the antiderivative of the function and plugging in the limits of integration.

4. What is the purpose of evaluating a double integral over rectangular bounds?

Evaluating a double integral over rectangular bounds allows you to find the volume under a surface in three-dimensional space. It is used in many fields of science, such as physics, engineering, and economics, to solve problems involving areas and volumes.

5. Are there any special cases when evaluating a double integral over rectangular bounds?

Yes, there are some special cases when evaluating a double integral over rectangular bounds. For example, if the function being integrated is symmetric about one of the axes, the integral can be simplified by using the symmetry to reduce the number of integrals. Additionally, if the function is separable, the integral can be written as a product of two single integrals.

Similar threads

  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
495
  • Calculus and Beyond Homework Help
Replies
16
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
926
  • Calculus and Beyond Homework Help
Replies
3
Views
691
  • Calculus and Beyond Homework Help
Replies
3
Views
664
  • Calculus and Beyond Homework Help
Replies
17
Views
2K
  • Calculus and Beyond Homework Help
Replies
4
Views
981
  • Calculus and Beyond Homework Help
Replies
4
Views
908
Back
Top