[Math] Arc Length from chord and tangent angle

circlestrigonometry

This is for a rubberband-powered car competition.

enter image description here

In the diagram above, I will be given the length from points A to B, as well as angle a. The car will need to go from A to B, positioned at a to follow the curved path from A to B. I know that this describes a unique circle, but I can't figure out how to calculate it. Everything I've found requires the radius of the circle or the sagitta, both of which I will not know.

What I need to determine is the length of the arc (so I can know how much tension to put on the rubber bands) and the angle at which to set the car tires to follow this path.

Regardless, I think trial and error with the car itself will give me the best chance of success with the competition. However, I'm at a point where the math problem itself is driving me nuts, regardless of how helpful it will be with the physical car.

Best Answer

Denote $AB$ the straight line distance between points $A$ and $B$, $r$ the unknown radius of our circle, and $C$ the circle centre.

We thus have an isosceles triangle $ABC$, whose two sides are of length $r$ and the third side is length $AB$.

Let us draw two tangents to our circle - one at point $A$ and the other at point $B$. The tangent at point $B$ will be perpendicular to side $BC$, while the tangent at $A$ will be perpendicular to side $AC$. Thus the two angles $\angle ABC $ and $\angle BAC$ will be $(\frac{\pi}{2}-a)$

Using trigonometry, we obtain $AB=2r\sin a$ so that

$\large r=\frac{AB}{2\sin a}$

Now the angle $\angle BCA$ of our triangle is $2a$ (in radians), so that our arc length $x$ is

$\large x=2\pi r\frac{2a}{2\pi}=2ra=AB\frac{a}{\sin a}$

To find the angles at which the front and back wheels need to be set, let us assume that the wheels are spaced apart by distance $z$ (which is almost the length of our car). The wheels need to be set at tangents to the circle at the points at which they intersect the circle.

We set the back wheels to angle $a$ relative to line $AB$, assuming they are at point $A$. Now we need to find the angle at which to set the front wheels.

Let point $D$ be where the front wheels are - for simplicity we assume they lie on the arc.

We have another isosceles triangle $ACD$, with same angles $\angle CAD$ and $\angle CDA$.

Using trigonometry, we have

$\angle CAD$ = $\angle CDA = \arccos \frac{z}{2r}=\arccos \frac{z\sin a}{AB}$.

Then the angle $\angle DCA = \pi - 2\arccos \frac{z\sin a}{AB}$

If we draw a line from point $D$ that is parallel to $AC$, called $DE$ (where $E$ is left of $D$), the angle $\angle EDC = \angle DCA$, so that the angle the front wheels make relative to $DE$ is

$\large \frac{\pi}{2}-\angle EDC=2\arccos \frac{z\sin a}{AB}-\frac{\pi}{2}$

However it would be better to find the angle of the front wheel relative to a line parallel to $AB$. To do this, we identify a point $F$ to the left of $D$ so that line $FD$ is parallel to $AB$.

As $FD$ is parallel to $AB$ by construction, $\angle CDF+\angle CDA+\angle BAD=\pi$.

Now we have

$\angle BAD=\angle CAD - \angle CAB = \arccos \frac{z\sin a}{AB}-(\frac{\pi}{2}-a)=\arccos \frac{z\sin a}{AB}-\frac{\pi}{2}+a$

Thus

$\angle CDF = \pi - \angle CAD - \angle BAD= \pi-2\arccos \frac{z\sin a}{AB}+\frac{\pi}{2}-a$

This leads to the angle the front wheel makes to $DF$ (which is parallel to $AB$) being

$\large \frac{\pi}{2}-\angle CDF=a+2\arccos\frac{z\sin a}{AB}-\pi$

This result is quite interesting, because as $z$ tends to zero (the car shrinks),

$2\arccos\frac{z\sin a}{AB}\rightarrow \pi$

So that the angle the front wheels make will approach (in value) the angle the rear wheels make i.e. $a$.

If $z$ is non-zero but small, $2\arccos\frac{z\sin a}{AB}<\pi$, so that the front wheel angle will be slightly less than $a$, which is what our intuition would suggest.