Testwiki:Reference desk/Archives/Mathematics/2024 November 23

From testwiki
Jump to navigation Jump to search

Template:Error:not substituted

{| width = "100%"

|- ! colspan="3" align="center" | Mathematics desk |- ! width="20%" align="left" | < November 22 ! width="25%" align="center"|<< Oct | November | Dec >> ! width="20%" align="right" |Current desk > |}

Welcome to the Wikipedia Mathematics Reference Desk Archives
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


November 23

radial distance between a circle and another enclosing circle

On an x-y plane, draw a circle, radius r1 centered on the origin, 0,0. Draw a second circle centered on some offset value -x, y = 0, radius r2 which greater than r1+x so that the second circle completely encloses the first and does not touch it. Draw a line at angle a beginning at the origin and crossing both circles. How do I calculate the distance along this line between the two circles? ```` Dionne Court (talk) 06:07, 23 November 2024 (UTC)

Given:
  • inner circle: centre at (0,0), radius r1, equation x2+y2=r12;
  • outer circle: centre at (u,0), radius r2>r1+u, equation (xu)2+y2=r22.
  • line through origin at angle α, parametric equation (x,y)=(λcosα,λsinα).
The line crosses the inner circle at (x,y)=(±r1cosα,±r1sinα), both obviously at distance r1 from the origin.
To find its crossings with the outer circle, we substitute the rhs of the line's equation for (x,y) into the equation of the outer circle, giving (λcosαu)2+(λsinα)2=r22. We need to solve this for the unknown λ. This is a quadratic equation; call its roots λ1 and λ2. The corresponding points are at distances |λ1| and |λ2| from the origin.
The crossing distances are then |λ1|r1 and |λ2|r1.
If you use |(|λ1|r1)| and |(|λ1|r1)|, this will work for any second circle, also of it intersects the origin-centred circle or is wholly inside, provided the quadratic equation has real-valued roots.  --Lambiam 08:46, 23 November 2024 (UTC)