
Common Solution Techniques
A number of commonly used solutions techniques arise in spatial kinematics
problems. A few of these are summarized for convenience below.
1) Square and Add; This technique eliminates an unknown angle from two
equations by isolating the unknown angle, square and adding the two
equations, and evoking the relation; c2 + s2 = 1. Note that one equation is
reduced as well.
2) Inverse sine (or cosine); Note that the inverse of a sinusoidal function
results in two solutions between 0 and 2.
3) Atan2; If two equations are available that describe an angle as a sin and
cosine function, than the atan2 algorithm can be used. For example;
c =r1
s =r2
then
=atan2(r2,r1)
(note that the order depends on the creators of the atan2 algorithm)
4) “tan half angle identity”; If a single equation contains an unknown angle
in both sine and cosine functions, for example:
a s + b c = c
one solution approach is to use the tan half angle identity as;
c=(1-tt2)/ (1+t2), s=2t/ (1+t2), t=tan(/2)
Substitute for sine and cosine to get a quadratic equation in t. Solve for t (get
two roots) and then solve for the unknown angle .
2t*a + b(1-tt2)=c(1+t2)
(c+b)t2-t2at+(c-tb)=0
solve for t, solve for
=2*atan(t)
5) “Another approach”; If a single equation contains an unknown angle in
both sine and cosine functions,
a s + b c = c
another approach is to replace the coefficients of s and c with;
a = -trs, b = rc
then the original equation can be reduced to:
cos(+)=c/r
resulting in two solutions for .
6) “Two equations for ”; If two equation contains an unknown angle in both
sine and cosine functions and have the form;
a c -t b s = x
a s + b c = y
then the solution can be derived from the same replacement for coefficients
above:
1