What is the equation of the line tangent to # f(x)=(x-cosx)/(x-secx) # at # x=pi/3#?

1 Answer
Jun 8, 2017

#6(pi-6)^2y-3(2pi-3)(pi-6)=(15sqrt3pi-27-36sqrt3)(3x-pi)#

Explanation:

The slope of the tangent is the same as the slope of curve at that point, which is given by the value of derivative of the function at that point.

Hence, slope of tangent to curve #f(x)=(x-cosx)/(x-secx)# at #x=pi/3# is given by #f'(pi/3)#. And as the tangent passes through #(x,f(x))# i.e. #(pi/3,f(pi/3))#, the equation of tangent is

#y-f(pi/3)=f'(pi/3)(x-pi/3)#

Now #f(pi/3)=(pi/3-cos(pi/3))/(pi/3-sec(pi/3))=(pi/3-1/2)/(pi/3-2)=(2pi-3)/(2pi-12)#

and using quotient rule #f'(x)=((x-secx)(1+sinx)-(x-cosx)(1-secxtanx))/(x-secx)^2#

= #(x+xsinx-secx-tanx-x+xsecxtanx+cosx-tanx)/(x-secx)^2#

= #(xsinx-secx-2tanx+xsecxtanx+cosx)/(x-secx)^2#

and #f'(pi/3)=(pi/3xxsqrt3/2-2-2sqrt3+pi/3xx2xxsqrt3+1/2)/(pi/3-2)^2#

= #(3sqrt3pi-36-36sqrt3+12sqrt3pi+9)/(2(pi-6)^2)#

= #(15sqrt3pi-27-36sqrt3)/(2(pi-6)^2)#

and equation of tangent is

#y-(2pi-3)/(2pi-12)=(15sqrt3pi-27-36sqrt3)/(2(pi-6)^2)(x-pi/3)#

or #(2pi-12)y-(2pi-3)=(15sqrt3pi-27-36sqrt3)/(pi-6)(x-pi/3)#

or #6(pi-6)^2y-3(2pi-3)(pi-6)=(15sqrt3pi-27-36sqrt3)(3x-pi)#

graph{(6(pi-6)^2y-3(2pi-3)(pi-6)-(15sqrt3pi-27-36sqrt3)(3x-pi))(y-(x-cosx)/(x-secx))=0 [-5, 5, -2.5, 2.5]}