Testwiki:Reference desk/Archives/Mathematics/2021 May 20

From testwiki
Jump to navigation Jump to search

Template:Error:not substituted

{| width = "100%"

|- ! colspan="3" align="center" | Mathematics desk |- ! width="20%" align="left" | < May 19 ! width="25%" align="center"|<< Apr | May | Jun >> ! 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.


May 20

biased circle

Given three points z1,z2,z3 and three constants h1,h2,h3, find z0 such that

|z1z0|h1=|z2z0|h2=|z3z0|h3

Each equation defines a circle (add: or line), and I could find the intersection of the three circles; but there may be a more direct way (add: perhaps involving a Möbius transformation?). —Tamfang (talk) 03:18, 20 May 2021 (UTC)

While Möbius transformations preserve circlehood, they do not preserve centres.  --Lambiam 22:50, 20 May 2021 (UTC)
Let (xi,yi)=zi. Each circle equation is a quadratic equation in the (x,y) coordinates, but by taking their pairwise differences, you get three linear equations. These can be solved like any system of linear equations. After the smoke cleared up, I ended up with this:
Define
di=hi2(xi2+yi2),
a=(xixj)2,
b=(xixj)2(yiyj)2,
c=(yiyj)2,
s=(xixj)2(didj)2,
t=(yiyj)2(didj)2,
where the summations are over pairs of indices 1i<j3. Then
z0=(btcs2(acb2),bsat2(acb2)).
 --Lambiam 07:10, 20 May 2021 (UTC)
I haven't gone through this in detail, but I think there's something off about it. For one thing, you're finding the intersection of two circles so there should be 2 points in common. As a concrete example, take z1=(0,0), z2=(1,0), z3=(0,1), h1=1, h2=2, h3=√2. Then one solution is z0=(-1,0) with |z1-z0|/h1 = |z2-z0|/h2 = |z3-z0|/h3 = 1. Another solution is z0=(.2,.4) with |z1-z0|/h1 = |z2-z0|/h2 = |z3-z0|/h3 = √.2 --RDBury (talk) 12:20, 20 May 2021 (UTC)
You're right; I have solved a different and more specific problem:
|z1z0|h1=|z2z0|h2=|z3z0|h3=1
under the assumption that this system has a solution. The first of your two solutions for the counterexample satisfies the extra condition and is the one found by the formulas I gave. The second will be found after dividing each hi by 5.  --Lambiam 12:49, 20 May 2021 (UTC)
That would explain it. I tried rewriting the system as |zi-z0| = k hi where k is some fixed but unknown value. With your method you can find z0 if you know k, but I don't see an easy way of finding k in the general case. I suppose you could use the Cayley–Menger determinant to get quadratic equation in k2, but I don't know if that's an improvement over the OP's method. --RDBury (talk) 14:19, 20 May 2021 (UTC)
Another, more geometric approach: By this system, the points z1,z2,z3 for a triangle with side lengths λh1,λh2,λh3 for an unknown λ. Hence (essentially by the side-side-side congruence theorem), the solution space is four-dimensional and is given by rotating, translating, and scaling an ur-triangle (which can be found in many ways, e.g. assuming z1 to be at the origin and z2 to be on the positive x-axis, then finding z3 using stuff like Heron's formula). Duckmather (talk) 04:34, 21 May 2021 (UTC)

not quite that

Going over my algebra again, I think that what I want is instead

|znz0|=eksn

where k is also unknown; which looks not nearly so easy. Oh well, I'll probably have to do it iteratively. —Tamfang (talk) 16:48, 20 May 2021 (UTC)

Based on those equations alone, I think I know how to parametrize the solution space: it's zn=z0+eksn+iθn, where the free parameters are z0,k,θn. Duckmather (talk) 04:43, 21 May 2021 (UTC)
It's easy to solve with s all equal; from there, maybe Newton's method will get somewhere. —Tamfang (talk) 22:14, 21 May 2021 (UTC)

Er, make that |znz0|=eksnk. —Tamfang (talk) 21:58, 21 May 2021 (UTC)

Too bad there's no obvious way to extract k as a function of z₀. —Tamfang (talk) 22:40, 21 May 2021 (UTC)
But see Lambert W function – it depends on what one considers obvious. The quite specific form of the rhs suggests that you have an equally quite specific application in mind.  --Lambiam 22:59, 21 May 2021 (UTC)

relative distance between {n/2} gram inner and outer points?

For a {n/2} gram, is there an easy formula for the ratio of the distances between a) the distance from the center to the inner points and b) the distance from the center to the outer points. It is clear that the ratio goes to 1 as n goes to infinity, but I don't know if there is a (relatively) clean formula.Naraht (talk) 12:29, 20 May 2021 (UTC)

By the law of sines, a/b=sin(π/22π/n)/sin(π/2+π/n)=cos(2π/n)/cos(π/n)=2cos(π/n)1/cos(π/n). --116.86.4.41 (talk) 14:36, 20 May 2021 (UTC)
The triangle
What is a {n/2} gram? Which centre is being discussed - things like triangles have more than one. -- SGBailey (talk) 10:10, 22 May 2021 (UTC)
See Template:Section link. --116.86.4.41 (talk) 11:21, 22 May 2021 (UTC)
Thanx. I have a shower with the jets in the shape of an N / 2 gram and was wondering how many points to the gram were needed for the inner points to be at least 90% of the way out to the outer points. This gives me way to calculate!Naraht (talk) 12:07, 24 May 2021 (UTC)