Find the arc length of the graph of the function f(x)=ln sec x from x=0 to x=π4.
Solution The graph of f(x)=ln sec x is shown in Figure 49.
The derivative of f is f′(x)=secxtanxsecx=tanx. Since f′(x)=tanx is continuous on the open interval (−π2,π2), which contains 0 and π4, we use the arc length formula (1). The arc length s from 0 to π4 is s=∫π/40√ 1+[f′(x)]2 dx=∫π/40√1+tan2xdx=∫π/40√sec2xdx=∫π/40secxdx=[ln|secx+tanx|]π/40=ln|secπ4+tanπ4|−ln|sec0+tan0|=ln|√2+1|