Solution:
Key idea: We find the point of contact by putting x=4π into the curve; we find the slope from dxdy at that x; then we use the point–slope form y−y1=m(x−x1), and we also need the rule dxd(cotx)=−cosec2x.
Step 1 — Find the point of contact.
At x=4π the value of cotx is 1, so we substitute it into the curve.
y=12−2(1)+2
y=1
So the point is (4π,1).
Step 2 — Differentiate the curve.
We use the chain rule on cot2x and the rule for cotx.
dxdy=2cotx(−cosec2x)−2(−cosec2x)
dxdy=2cosec2x(1−cotx)
Step 3 — Find the slope at x=4π.
We use cosec24π=2 and cot4π=1.
dxdy=2×2×(1−1)
dxdy=0
So the tangent is horizontal at this point.
Step 4 — Write the tangent.
A tangent with slope 0 through (4π,1) is the horizontal line through that point.
y−1=0(x−4π)
y=1
We can also see why: y=(cotx−1)2+1≥1, and the curve touches its lowest value 1 at x=4π.
Therefore, the tangent to the curve at the point (4π,1) is y=1.