Integrating a Complex Integral Involving a Rectangle

Click For Summary

Homework Help Overview

The discussion revolves around integrating a complex integral that arises in the context of finding the potential of a uniformly charged rectangle. The integral in question is \(\int \log(\sqrt{a^2+x^2} + b) dx\), which has led to various attempts and methods being explored by participants.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants have attempted integration by parts and trigonometric substitution but found these methods to complicate the problem further. Some have suggested alternative approaches involving exponential forms of the integral and questioned whether the original integral should be a double integral instead.

Discussion Status

The discussion is ongoing, with participants sharing their attempts and questioning the assumptions behind the integral setup. Some have provided insights into the potential relationship between the integral and the physical context of uniformly charged rectangles, while others express uncertainty about the best approach to take.

Contextual Notes

There is mention of specific parameters such as uniform charge density and the dimensions of the rectangle, which may influence the interpretation of the integral. Participants are also considering the implications of the integral's form on the overall problem of calculating electric potential.

awvvu
Messages
188
Reaction score
1
This integral came up while trying to find the potential of a uniformly charged rectangle.

[tex]\int \log(\sqrt{a^2+x^2} + b) dx[/tex]

Integrator gives a pretty long expression involving inverse tangents so I'm not sure where to begin at all. I tried integrating by parts once, taking u to be the whole expression, but it just makes it messier. I also tried the trig subtitution:

[tex]x = a \tan(\theta)[/tex]
[tex]\int a \log(a \sec(\theta) + b) \sec^2(\theta) d \theta[/tex]

But that's not any easier to integrate.
 
Last edited:
Physics news on Phys.org
Damn nobody? I am stumped as well, I have this problem at the back of my head ... hopefully something pops up :)
 
I don't know if this is going to work but how about:

assuming the log is of base e

[tex]y=\int \log(\sqrt{a^2+x^2} + b) dx[/tex]
[tex]e^y=\int (\sqrt{a^2+x^2}+b) dx[/tex]

solve the RHS and then take the ln of the resulting solution
 
bob1182006 said:
I don't know if this is going to work but how about:

assuming the log is of base e

[tex]y=\int \log(\sqrt{a^2+x^2} + b) dx[/tex]
[tex]e^y=\int (\sqrt{a^2+x^2}+b) dx[/tex]

solve the RHS and then take the ln of the resulting solution

I don't know how to do the integral easily, but I know you DEFINITELY can't do that. If this is related to the potential of a uniformly charged rectangle I'd suggest you post the steps you used to get to that integral. Shouldn't it be a double integral? There may be an easier approach that doesn't involve evaluating that integral.
 
awvvu said:
This integral came up while trying to find the potential of a uniformly charged rectangle.

[tex]\int \log(\sqrt{a^2+x^2} + b) dx[/tex]

Integrator gives a pretty long expression involving inverse tangents so I'm not sure where to begin at all. I tried integrating by parts once, taking u to be the whole expression, but it just makes it messier. I also tried the trig subtitution:

[tex]x = a \tan(\theta)[/tex]
[tex]\int a \log(a \sec(\theta) + b) \sec^2(\theta) d \theta[/tex]

But that's not any easier to integrate.

have you tried using integration by parts? I think it would simplify thigs a lot. And after that probbably a trig substitution would work, i am not sure though, i haven't tried it myself.
 
Dick said:
If this is related to the potential of a uniformly charged rectangle I'd suggest you post the steps you used to get to that integral. Shouldn't it be a double integral? There may be an easier approach that doesn't involve evaluating that integral.

Okay, there's a rectangle with uniform charge density [itex]\delta[/itex] with one corner at the origin and the other corner at (L, H). And we want to find potential as a function of (x, y), so x and y are constants in the following integral.(this is going to be fun to type up).

[tex]V = K \int_R \frac{dQ}{r_i}[/tex], where [tex]r_i = \sqrt{(x - x_i)^2 + (y - y_i)^2}[/tex] and [tex]dQ = \delta dA = \delta dx_i dy_i[/tex]
[tex]K \delta \int_0^H \int_0^L \frac{1}{\sqrt{(x - x_i)^2 + (y - y_i)^2}} dx_i dy_i[/tex]

Now doing the substitution [tex]u = x - x_i[/tex] and [tex]v = y - y_i[/tex]:

[tex]K \delta \int_{y - H}^{y} \int_{x - L}^{x} \frac{1}{\sqrt{u^2 + v^2}} du dv[/tex]

Then doing the trig substitution [tex]u = v \tan(\theta)[/tex], so [tex]du = v \sec^2(\theta) d\theta[/tex]:

[tex]K \delta \int_{y-H}^{y}\int \frac{v \sec^2(\theta)}{\sqrt{v^2 \tan^2(\theta) + v^2}}d\theta dv[/tex]
[tex]K \delta \int_{y-H}^{y}\int \sec(\theta) d\theta dv[/tex]
[tex]K \delta \int_{y-H}^{y} \left[ \log(\sec(\theta) + \tan(\theta)) \right] dv[/tex]
[tex]K \delta \int_{y-H}^{y} \left[ \log(\sqrt{u^2 + v^2} + u) - \log(v) \right]_{u = x - L}^{u = x} dv[/tex]
[tex]K \delta \int_{y-H}^{y} \log(\sqrt{x^2 + v^2} + x) - \log(\sqrt{(x - L)^2 + v^2} + x - L) dv[/tex]

The last integrals are of form: [itex]\int \log(\sqrt{a^2+x^2} + b) dx[/itex] like above. I think the left integral is much simpler because a = b in that case, and stuff cancels out. But the right one is a lot more complicated.

edit: oh wait, a = b for the right integral too, so that makes it a lot easier!

[tex]\int \log(\sqrt{a^2 + x^2} + a) = x \log(\sqrt{a^2 + x^2} + a) + a \log(\sqrt{a^2 +x^2} + x) - x[/tex] (from Integrator)

I still don't know how to do this integral though.
 
Last edited:

Similar threads

Replies
2
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
3
Views
2K
  • · Replies 34 ·
2
Replies
34
Views
6K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
10
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
11K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K