Imaginary Center of Mass? What is that?

Click For Summary

Discussion Overview

The discussion revolves around the calculation of the center of mass for a solid of revolution generated by rotating the curve defined by the function f(x) = sin²(x) + ln(x) about the x-axis. Participants explore the implications of obtaining nonreal numbers in the integral evaluation and the physical meaning of imaginary components in this context.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant notes that while the average y-coordinate of the center of mass is zero due to symmetry, the average x-coordinate is not the same as in a 2D lamina, leading to a specific integral formulation for \bar{x>.
  • Another participant suggests using integration by parts to evaluate the integrals instead of relying on computational tools, indicating a potential oversight in the original approach.
  • Concerns are raised about the physical interpretation of the imaginary part obtained from the integral, with one participant suggesting it might indicate a value that is effectively zero within numerical precision.
  • Another participant argues that the introduction of imaginary numbers by computational software like Maple is unnecessary, asserting that the function is real over the specified interval.
  • Discussion includes a critique of the numerical output format, where a small imaginary component could be disregarded if the real part is sufficiently accurate.
  • Participants compare the performance of different computational tools, noting that Mathematica handles real functions better than Maple, which tends to produce complex results more readily.

Areas of Agreement / Disagreement

Participants express differing views on the implications of obtaining imaginary numbers in the results, with some suggesting it is a numerical artifact while others question the reliability of the computational methods used. No consensus is reached regarding the interpretation of the imaginary part.

Contextual Notes

Limitations include potential inaccuracies in numerical approximations and the reliance on truncated series in computational methods, which may lead to unexpected imaginary components in the results.

flyingpig
Messages
2,574
Reaction score
1
Suppose I give you a curve

f(x) = \sin^2 (x) + ln(x)

And suppose I tell you to rotate this curve about the x axis, we get disks. Now, I ask you, what is the center of mass of this object?

Now immediately, you could say that \bar{y} = 0 because it is symmetric about the x-axis. I don't argue, and I say you are right. But what about \bar{x}?

It is actually NOT the same as the 2D- lamina. In fact

\bar{x} = \frac{\int_{a}^{b} \pi x[f(x)]^2 dx}{\int_{a}^{b} \pi [f(x)]^2 dx}

Okay, so what am I trying get here?

Evaluate the integral of the curve from x = 1 to x = 10

\int_{1}^{10} \pi x (\sin^2 (x) + ln(x))^2 dx

Do this (do it on a computer, trust me on this) and you get some nonreal numbers. I asked my TA about it and he said when I expand f(x) = \sin^2 (x) + ln(x), I get a term that I won't know how touch until I get to analysis.

On Maple I got

[PLAIN]http://img143.imageshack.us/img143/9805/comh.jpg

I asked my TA what it means physically and he said that he wasn't sure and maybe the complex/imaginary part meant it is significantly 0

So what does having an imaginary part mean?
 
Last edited by a moderator:
Physics news on Phys.org
You don't need Maple to carry out the integrals, you just apply integration by parts and obtain:

int(ln(x) dx)=x ln(x)-x
int(sin^2(x) dx)= (-sin(x) cos(x)+1)/2

Now apply Barrow's rule

My mistake. I didn't pay proper attention to the integrand
 
Last edited:
how about this?
 

Attachments

  • integral-1.png
    integral-1.png
    23.7 KB · Views: 622
flyingpig said:
I asked my TA what it means physically and he said that he wasn't sure and maybe the complex/imaginary part meant it is significantly 0

So what does having an imaginary part mean?
That is just 0 to within your numerical precision.
 
flyingpig said:
So what does having an imaginary part mean?
It means Maple is stupid sometimes. The function is real everywhere in this interval, so there was no reason to introduce imaginary numbers. Yet it did.

It's obvious how Maple solved that integral: They integrated a truncated infinite series. Had they used a infinite rather than truncated series the imaginary part would have gone to zero. They use truncated series because they want to give an answer in finite time. This, combined with its penchant to introduce complex numbers at the drop of a hat, can lead to complex results with tiny imaginary part (that should be zero).
 
If you think about it, the quoted answer in post #1 is in an unhelpful form. To illustrate this, you could write it as
Code:
 6.549237340?
-0.0000000004308080094 i
where "?" denotes an unknown digit. If the first "?" is small enough to be ignored, the whole of the imaginary part can be ignored too. (Bear in mind that any numerical solution like this can only ever be an approximation to the exact answer.)
 
never mind...

@gnel

That is odd, but Wolframalpha takes log(x) as ln(x) right?
 
flyingpig said:
That is odd, but Wolframalpha takes log(x) as ln(x) right?
Correct. Mathematica does things a bit better than does Maple in this regard. Maple is too quick to go to complex numbers. Mathematica tries to keep things real if it knows the function to be integrated is real throughout the integration interval. That, or it is "smart" enough to recognize that a non-zero imaginary part is bogus if it does use a complex formulation to calculate a result that is real.
 

Similar threads

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