y=4+cotx-2cscx: Find the equation for the tangent at x=pi/2y=4+cotx-2cscx, x = pi/2 Thank you very much in advanced :DD
To find the equation of the tangent line, determine the point of tangencey and its slope.
To do so, susbtitute `x=pi/2` to the equation of the curve.
Note that `cot(pi/2)=0` and `csc(pi/2)=1` .
Hence, the point of tangency is `(pi/2,2)` .
The slope of the tangent line is the same as the slope of the curve at the point of tangency.
To determine the slope of the curve take the derivative of y.
Note that `(c)'=0` (where c is a constant) , `(cotu)=-csc^2u*u'` and `cscu=-cscucotu*u'` .
Subsitute `x=pi/2` .
Hence, the slope of the tangent line is -1.
Now that the slope of the line and point of tangency is known, apply the point-slope formula of a line.
where m is the slope and `(x_1, y_1)` is the given point.
Substitute the slope m=-1 and the point `(pi/2,2)` .
Hence, the equation of the tangent line is `y=-x+(4+pi)/2` .