The given curve is y=tanx and at x=4π,y=tan(4π)=1
Also, dxdy=sec2x and (dxdy)x=4π=sec2(4π)=(2)2=2
We know that the equation of the tangent to a curve y=f(x) at a point (x1,y1) is y−y1=(dxdy)x=4π(x−x1)
Hence, the equation of the tangent to y=tanx at P(4π,1) is y−1=2(x−4π)
⇒y−1=2x−2π
⇒y−1+2π=2x
To find the point where this line cuts the x-axis, put y=0, to get
2x=2π−1
⇒x=4π−21
Thus, the point A≡(4π−21,0).
Now, the graph for the given information is

And, the required Area
=∫04π(tanx)dx−ar(ΔPAB)
=[log(secx)]04π−21×(PB×AB)
=[log(sec4π)−log(sec0)]−21×1×(4π−(4π−21))
=∣log(2)−log(1)∣−41
=∣log(2)21−0∣−41
=21log2−41=21(log2−21) sq units.