How do you find the equation of the tangent line y=sinxy=sinx at (pi/6, 1/2)(π6,12)?

2 Answers
Aug 31, 2017

y-1/2=sqrt3/2(x-pi/6)y12=32(xπ6)

Explanation:

The slope of the tangent line to a function yy at x=ax=a is found by calculating the value of dy/dxdydx, the derivative of yy, at x=ax=a.

Where

y=sinxy=sinx

the derivative is given by

dy/dx=cosxdydx=cosx

The slope of the tangent line to yy at x=pi/6x=π6 is found by evaluating the derivative of yy at x=pi/6x=π6:

m=dy/dx|_(x=pi/6)=cos(pi/6)=sqrt3/2m=dydxx=π6=cos(π6)=32

The slope of the tangent line is sqrt3/232. Writing the equation of the line that passes through (pi/6,1/2)(π6,12) with slope sqrt3/232 in point-slope form, we get:

y-y_1=m(x-x_1)yy1=m(xx1)

y-1/2=sqrt3/2(x-pi/6)y12=32(xπ6)

Aug 31, 2017

Differentiate y and evaluate dy/dxdydx at x=pi/6x=π6

The equation of the tangent line would then be y=ax+by=ax+b, where aa is the derivative at x=pi/6x=π6 and bb can be solved by setting y=1/2, x=pi/6y=12,x=π6

The equation would be y=sqrt(3)/2x+1/2-(sqrt(3)pi)/12y=32x+123π12

Explanation:

Let the equation of the tangent line be y=ax+by=ax+b

dy/dx=cos xdydx=cosx

a=cos pi/6=sqrt(3)/2a=cosπ6=32

:. y=sqrt(3)/2x+b

1/2=sqrt(3)/2*pi/6+b

b=1/2-(sqrt(3)pi)/12

Hence the equation of the tangent line is y=sqrt(3)/2x+1/2-(sqrt(3)pi)/12

You can verify this answer visually too

graph{(y-sqrt(3)/2x-1/2+(sqrt(3)pi)/12)(y-sin(x))=0 [-1.259, 1.781, -0.477, 1.04]}

The reason the equation of a tangent line is as shown above is because in a linear function, y=ax+b, a represents the gradient / slope of the line and b represents the y-intercept.

By definition, the gradient of a tangent line is equal to the slope of a curve at the point where the tangent line meets the curve.

Hence, a=dy/dx when x=pi/6 and the rest of the equation can be derived through algebra