This example calculates the derivative of the sine function using the limit definition of the derivative and some trig identities.

Start by applying the limit definition of the derivative to the sine function.

Expand the expression using the sum of two angles identities.

Split the fraction in two.

Split the limit in two.

Factor the expression which is not related to out of the first limit. Factor out which is not related to out of the second limit.

Multiply the second limit by in the form to flip signs.

Then take both limits.

Substitute the values of the limits into the expression.

Simplify the expression and this shows the derivative of sine is cosine.