Integration of part of a radius gives a complex number....

In summary, the conversation discusses finding the length shown in red in an attached figure as a function of d (shown in blue) and the angle θ. The law of the triangle is used to determine the length s, which is then subtracted from the radius r to obtain the desired length p. There is confusion about the validity of the equation and the integration of a real number resulting in a complex number. The conversation also explores the relationship between d and θ and the difficulty in evaluating the integral ∫(sqrt(r^2 - d^2*sin^2(θ)))dθ. Maple gives a solution in terms of elliptic functions, but it is not clear how it relates to the problem at hand.
  • #1
Adel Makram
635
15
Missing homework template due to originally being posted in other forum.
I am interested to find the length shown in red in the attached figure. I want this length as a function of d (shown in blue) and the angle θ. Then I will integrate this length to dθ from 0 to π/2.

Firstly, I used the law of the triangle to determine the length s which when subtracted from the radius r yields the desired length p.
s2+2sd cosθ+ d2-r2=0

Then I used a substitute a2=d2/ r2-d2
which gives, -sqrt(r2-d2 ∫ sqrt {(a2 cos2(θ)-1} dθ

Lastly, I used wolframe alfa to calculate the part under integration, here is what I got.( I used r=1 and d=1/2 r).

The result is a complex number ( attached). I don`t understand how the integration of a length which is a real number results into a complex number.
 

Attachments

  • circle.png
    circle.png
    35.9 KB · Views: 359
  • Snap 2015-08-08 at 13.35.09.png
    Snap 2015-08-08 at 13.35.09.png
    8.1 KB · Views: 392
Last edited:
Physics news on Phys.org
  • #2
"law of the triangle" to determine the length s which when subtracted from the radius r yields the desired length p.
s2+2sd cosθ+ d2-r2=0
Could you explain this ? To me it looks as if ##(s+d\cos\theta)^2 < r^2 ## !
 
  • #3
BvU said:
Could you explain this ? To me it looks as if ##(s+d\cos\theta)^2 < r^2 ## !
Consider the triangle with sides r, d and s,

r2= d2 + s2 + 2 ds cosθ

This is a quadratic equation of s, given d and r.
 
  • #4
Funny, I would say that ##
(s+d\cos\theta)^2 + z^2 = r^2##
 
  • #5
BvU said:
Funny, I would say that ##
(s+d\cos\theta)^2 + z^2 = r^2##
True, I am using this too later in the calculation of p.

Please see the word file I just attached.
 

Attachments

  • From the law of estimation of the triangle sides.docx
    139.3 KB · Views: 180
  • #6
Using it later is pointless if your first step is simply wrong
[edit] Oops -- looks like I'm off track. Let me review ...
 
Last edited:
  • #7
About the question: you want to vary ##\theta## from ##0## to ## \pi/2##. Is s a constant ? then doesn't d stay constant too ?
 
  • #8
BvU said:
About the question: you want to vary ##\theta## from ##0## to ## \pi/2##. Is s a constant ? then doesn't d stay constant too ?
Yes ##\theta## varies from ##0## to ##\pi/2##. d is a constant.
 
  • #9
d was shown in blue. What happens when ##\theta## reaches ##{\pi\over 2} + \arcsin ({2r\over d})## ?

[edit] Sorry, ##{\pi\over 2} + \arcsin ({d\over 2r})## of course. This is when s = r and p goes through zero.

(to me that means d is approximately where z is in your drawing. meaning p = 0.
 
Last edited:
  • #10
BvU said:
d was shown in blue. What happens when ##\theta## reaches ##{\pi\over 2} + \arcsin ({2r\over d})## ?

(to me that means d is approximately where z is in your drawing. meaning p = 0.
I drew another circle with more clear lines. z is always perpendicular to r.

I didn`t get you at the second sentence. d is always ≤r
 

Attachments

  • d, p and r.png
    d, p and r.png
    18.3 KB · Views: 368
Last edited:
  • #11
OK, so I see: ##z = d\sin\theta, \quad s = \sqrt{r^2-z^2} - d\cos\theta, \quad p = r - s## ( or ##p = | r - s | ## since you want the length of p). The p = 0 occurs when ##\theta## reaches ##
{\pi\over 2} + \arcsin ({d\over 2r})##; that's when the bottom end of the blue line is on the circle as well.

Note only the + sign in your solution of the quadratic equation for s applies because s > 0. So ## s = \sqrt{r^2-d^2\sin^2\theta} - d\cos\theta ##

In your word document you want to integrate $$
\int_0^{\pi/2} r + d\cos\theta - \sqrt{d^2\cos^2\theta + r^2 - d^2 } \ d\theta$$ but you evaluate $$
\int_0^{\pi/2} - \sqrt{d^2\cos^2\theta - r^2 + d^2 } \ d\theta$$could that be the problem ?

By the way, ##d^2\cos^2\theta + r^2 - d^2 = r^2 - d^2\sin^2\theta## ; as long as ##d \le r## taking the square root should be OK.
 
  • Like
Likes Adel Makram
  • #12
BvU said:
OK, so I see: ##z = d\sin\theta, \quad s = \sqrt{r^2-z^2} - d\cos\theta, \quad p = r - s## ( or ##p = | r - s | ## since you want the length of p). The p = 0 occurs when ##\theta## reaches ##
{\pi\over 2} + \arcsin ({d\over 2r})##; that's when the bottom end of the blue line is on the circle as well.

Note only the + sign in your solution of the quadratic equation for s applies because s > 0. So ## s = \sqrt{r^2-d^2\sin^2\theta} - d\cos\theta ##

In your word document you want to integrate $$
\int_0^{\pi/2} r + d\cos\theta - \sqrt{d^2\cos^2\theta + r^2 - d^2 } \ d\theta$$ but you evaluate $$
\int_0^{\pi/2} - \sqrt{d^2\cos^2\theta - r^2 + d^2 } \ d\theta$$could that be the problem ?

By the way, ##d^2\cos^2\theta + r^2 - d^2 = r^2 - d^2\sin^2\theta## ; as long as ##d \le r## taking the square root should be OK.
This is nice step that: ##d^2\cos^2\theta + r^2 - d^2 = r^2 - d^2\sin^2\theta## , I overlooked it at all.
Nothing wrong with $$ \int_0^{\pi/2} r + d\cos\theta - \sqrt{d^2\cos^2\theta + r^2 - d^2 } \ d\theta$$ because I know how to evaluate the the first two terms but I stuck at the third one.

Now how to evaluate

$$\int_0^{\pi/2} \sqrt{r^2 - d^2\sin^2\theta } \ d\theta$$
 
Last edited:
  • #13
Adel Makram said:
This is nice step that: ##d^2\cos^2\theta + r^2 - d^2 = r^2 - d^2\sin^2\theta## , I overlooked it at all.
Nothing wrong with $$ \int_0^{\pi/2} r + d\cos\theta - \sqrt{d^2\cos^2\theta + r^2 - d^2 } \ d\theta$$ because I know how to evaluate the the first two terms but I stuck at the third one.

Now how to evaluate

$$\int_0^{\pi/2} \sqrt{r^2 - d^2\sin^2\theta } \ d\theta$$

I don't think that is an elementary integral. Maple gives an answer in terms of Elliptic functions.
 
  • #14
So are we doing OK now Adel ?
 
  • Like
Likes Adel Makram
  • #15
BvU said:
So are we doing OK now Adel ?
But still I don`t know how to evaluate
$$\int_0^{\pi/2} \sqrt{r^2 - d^2\sin^2\theta } \ d\theta$$
WolframAlfa didn`t give me a solution.
 
Last edited:
  • #16
Adel Makram said:
But still I don`t know how to evaluate
$$\int_0^{\pi/2} \sqrt{r^2 - d^2\sin^2\theta } \ d\theta$$
WolframAlfa didn`t give me a solution.
Maple gives this:
upload_2015-8-9_8-41-0.png

where
upload_2015-8-9_8-41-41.png
upload_2015-8-9_8-41-0.png
 
  • #17
I am not familiar with elliptic integrals so I don not know what z and k in this solution are related to my problem.

For example, $$ \int_0^{\pi/2} r + d\cos\theta - \sqrt{d^2\cos^2\theta + r^2 - d^2 } \ d\theta = {\pi/2} r + d - f(d, r)$$. So how to represent f(d,r)? If it is not elementary function so how to approximate it to an elementary one or at least represent it as a series?
 
  • #18
Approximate with elementary functions, represent as series: Is that really going to help you ? When I plot ##p(\theta)## for r = 3 and d = 2, I get something like

upload_2015-8-9_23-41-35.png


so you still want to pay attention to the point where the bottom end of d crosses the circle ( I assume you want |p| ). I have no hope of doing anything analytical with this one, so I would turn to numerics without much hesitation.

--
 
  • Like
Likes Adel Makram
  • #19
So if we taking the area under the curve, p(theta), it should represent the desired integration, right!.

Remember Buffon needle problem, a needle with a length 2d and the distance between the vertical lines is L crosses those lines with a probability = $$ 2d/ \pi L$$, One of smart solution to this problem is shown in wikipedia where it evaluates the integral $$\int_0^{(\pi/2} 2d cos\theta d\theta$$ as a nominator divided on $$\int_0^{\pi/2} L d\theta$$ as a denominator.

So what if I want to calculate the probability of the needle of length 2d crossing the circle circumference with a radius r.

I proposed to consider the length p, as it is done in this post, instead of $$d cos\theta$$ in the classical problem. Intuitively, the probability of crossing the circle is larger than the probability of crossing vertical lines which is consistent with $$p> dcos\theta$$.

Lastly, I am not sure if considering the bottom point of d when it crosses the circle will have a logic ground in calculating the probability. The reason is that when $$\theta > \pi/2$$, the lower half of the needle under the diameter of the circle will be considered instead of the upper half because of the symmetry. So, we always considering the half of the needle that makes $$\theta<\pi/2$$ with the diameter of the circle.
 
Last edited:
  • #20
Adel Makram said:
So if we taking the area under the curve, p(theta), it should represent the desired integration, right!.
Not ##p(\theta)## but the absolute value of ##p(\theta)##. After all, in your original post, you wanted to integrate "the length shown in red" .

Remember Buffon needle problem, a needle with a length 2d and the distance between the vertical lines is L crosses those lines with a probability = $$ 2d/ \pi L$$, One of smart solution to this problem is shown in wikipedia where it evaluates the integral $$\int_0^{(\pi/2} 2d cos\theta d\theta$$ as a nominator divided on $$\int_0^{\pi/2} L d\theta$$ as a denominator.

So what if I want to calculate the probability of the needle of length 2d crossing the circle circumference with a radius r.

I proposed to consider the length p, as it is done in this post, instead of $$d cos\theta$$ in the classical problem. Intuitively, the probability of crossing the circle is larger than the probability of crossing vertical lines which is consistent with $$p> dcos\theta$$.

Lastly, I am not sure if considering the bottom point of d when it crosses the circle will have a logic ground in calculating the probability. The reason is that when $$\theta > \pi/2$$, the lower half of the needle under the diameter of the circle will be considered instead of the upper half because of the symmetry. So, we always considering the half of the needle that makes $$\theta<\pi/2$$ with the diameter of the circle.
You are losing me completely. My perception was that your d is fixed and you wanted p as a function of theta. So your blue line has the top end point on the circle and the bottom end point on the horizontal axis. Nowhere is there a probability coming in.

"So what if I want to calculate the probability of the needle of length 2d crossing the circle circumference with a radius r." Is not a well defined problem. Is the circle in a football field or on a chess board ?


--
 
  • #21
Adel Makram said:
This is nice step that: ##d^2\cos^2\theta + r^2 - d^2 = r^2 - d^2\sin^2\theta## , I overlooked it at all.
Nothing wrong with $$ \int_0^{\pi/2} r + d\cos\theta - \sqrt{d^2\cos^2\theta + r^2 - d^2 } \ d\theta$$ because I know how to evaluate the the first two terms but I stuck at the third one.

Now how to evaluate

$$\int_0^{\pi/2} \sqrt{r^2 - d^2\sin^2\theta } \ d\theta$$
Adel Makram said:
I am not familiar with elliptic integrals so I don not know what z and k in this solution are related to my problem.

For example, $$ \int_0^{\pi/2} r + d\cos\theta - \sqrt{d^2\cos^2\theta + r^2 - d^2 } \ d\theta = {\pi/2} r + d - f(d, r)$$. So how to represent f(d,r)? If it is not elementary function so how to approximate it to an elementary one or at least represent it as a series?
BvU said:
Not ##p(\theta)## but the absolute value of ##p(\theta)##. After all, in your original post, you wanted to integrate "the length shown in red" .

You are losing me completely. My perception was that your d is fixed and you wanted p as a function of theta. So your blue line has the top end point on the circle and the bottom end point on the horizontal axis. Nowhere is there a probability coming in.

"So what if I want to calculate the probability of the needle of length 2d crossing the circle circumference with a radius r." Is not a well defined problem. Is the circle in a football field or on a chess board ?--
d is still fixed and represents half length of the needle.
I followed the same reasoning of the classical Buffon needle. In classical version, the needle crosses the vertical line when the projection of the needle on the horizontal axis is not larger than $$2dcos\theta$$ . In other words, the needle needs to be displaced away from the nearest vertical line by $$2dcos\theta$$ until its upper end touch it.
In the circle version with a very large radius, the problem is then reduced to the classical one omitting very small number of times where the upper tip of the needle crosses the circle circumference. When the circle is getting smaller in radius, the needle needs to be displaced to the left side away from the circumference by a length p in order not to touch the circumference.

N.B: 2d is used in the classical version and d in the circle version but this should not be a source of confusion as long as the horizontal line between the vertical lines is used in the classical and only the radius (half the diameter) is used in the circle version.
 
Last edited:
  • #22

Attachments

  • upload_2015-8-10_13-54-32.png
    upload_2015-8-10_13-54-32.png
    893 bytes · Views: 356

What is integration of part of a radius?

Integration of part of a radius refers to the mathematical process of finding the area under a curve that represents a section of a circle's radius. It involves using calculus to find the exact value of the area, which can result in a complex number.

Why does integration of part of a radius give a complex number?

This is because the radius of a circle is a real number, but when we integrate a section of the radius, we are essentially finding the area under a curve. This area can be a complex number because it involves finding the sum of infinitely small parts, which can result in an imaginary component.

What is the significance of a complex number in integration of part of a radius?

The complex number obtained through integration of part of a radius represents the area under the curve. This area can have both a real and imaginary component, which can provide valuable information about the shape and size of the curve being integrated.

What are some practical applications of integration of part of a radius?

Integration of part of a radius has various applications in fields such as physics, engineering, and economics. For example, it can be used to find the moment of inertia of a rotating object, calculate the work done by a force, or determine the area under a demand curve.

What are some techniques used to integrate part of a radius?

There are various techniques for integrating part of a radius, including substitution, integration by parts, and using trigonometric identities. The specific technique used will depend on the complexity of the curve being integrated and the desired level of precision in the result.

Similar threads

  • Calculus and Beyond Homework Help
Replies
28
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
366
  • Calculus and Beyond Homework Help
Replies
3
Views
953
  • Calculus and Beyond Homework Help
Replies
3
Views
944
  • Calculus and Beyond Homework Help
Replies
3
Views
277
  • Calculus and Beyond Homework Help
Replies
10
Views
2K
  • Calculus and Beyond Homework Help
Replies
14
Views
249
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
124
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
Back
Top