We are given an equilateral triangle ABC with vertices A(sint,−cost), B(cost,sint), and C(a,b), and its orthocentre lies on a circle with centre (1,31).
Since the triangle is equilateral, its orthocentre coincides with its centroid, which is
G=(3sint+cost+a,3−cost+sint+b).
Letting G=(X,Y), we have
X=3sint+cost+a,Y=3sint−cost+b,
so that
3X−a=sint+cost,3Y−b=sint−cost.
Squaring and adding these two equations yields
(3X−a)2+(3Y−b)2=(sint+cost)2+(sint−cost)2,
which simplifies to
sin2t+2sintcost+cos2t+sin2t−2sintcost+cos2t=2.
This shows that the centroid traces the circle
(3X−a)2+(3Y−b)2=2,
or equivalently
(X−3a)2+(Y−3b)2=92.
From the above equation, the centre of this circle is (3a,3b), which must coincide with the given centre (1,31). Therefore,
3a=1⇒a=3,3b=31⇒b=1.
Substituting these values gives
a2−b2=9−1=8.
The correct answer is Option B: 8.