Tag Archives: trigonometric identities

Differentiating Trigonometric Functions

In the last post we looked at two trig limits:

(1)   \begin{equation*}\lim_{x \to 0}\frac{sin(x)}{x}=1\end{equation*}

(2)   \begin{equation*}\lim_{x \to 0}\frac{1-cos(x)}{x}=0\end{equation*}

We are going to use these two limits to differentiate sine and cosine functions from first principals.

    \begin{equation*}f(x)=sin(x)\end{equation}

    \begin{equation*}f'(x)=\lim\limits_{h \to 0}\frac{sin(x+h)-sin(x)}{h}\end{equation}

Use the trig identity

    \begin{equation*}sin(A+B)=sinAcosB+sinBcosA\end{equation}

    \begin{equation*}f'(x)=\lim\limits_{h \to 0}\frac{sin(x)cos(h)+sin(h)cos(x)-sin(x)}{h}\end{equation}

    \begin{equation*}f'(x)=\lim\limits_{h \to 0}(\frac{sin(x)(cos(h)-1)}{h}+\frac{sin(h)cos(x)}{h})\end{equation}

    \begin{equation*}f'(x)=sin(x)\lim\limits_{h \to 0}(\frac{(cos(h)-1)}{h}+cos(x)\lim\limits_{h \to 0}\frac{sin(h)}{h}\end{equation}

    \begin{equation*}f'(x)=sin(x)\lim\limits_{h \to 0}(\frac{-(-cos(h)+1)}{h}+cos(x)\lim\limits_{h \to 0}\frac{sin(h)}{h}\end{equation}

Evaluate the limits

    \begin{equation*}f'(x)=sin(x)\times 0+cos(x)\times (1)=cos(x)\end{equation}

Hence, \frac{d}{dx}sin(x)=cos(x).

Now we are going to do the same for f(x)=cos(x).

    \begin{equation*}f'(x)=\lim\limits_{h \to 0}\frac{cos(x+h)-cos(x)}{h}\end{equation}

Use the trigonometric identity

    \begin{equation*}cos(A+B)=cosAcosB-sinAsinB\end{equation}

    \begin{equation*}f'(x)=\lim\limits_{h \to 0}\frac{cos(x)cos(h)-sin(x)sin(h)-cos(x)}{h}\end{equation}

    \begin{equation*}f'(x)=\lim\limits_{h \to 0}\frac{cos(x)(cos(h)-1)-sin(x)sin(h)}{h}\end{equation}

    \begin{equation*}f'(x)=cos(x)\lim\limits_{h \to 0}\frac{-(1-cos(h))}{h}-sin(x)\lim\limits_{h \to 0}\frac{sin(h)}{h}\end{equation}

Evaluate the limits

    \begin{equation*}f'(x)=cos(x)\times(0)-sin(x)\times (1)=-sin(x)\end{equation}

Hence \frac{d}{dx} cos(x)=-sin(x)

1 Comment

Filed under Calculus, Differentiation, Identities, Trigonometry, Year 12 Mathematical Methods

Interesting Sum

S=\sum_{n=1}^\infty (tan^{-1}(\frac{2}{n^2})), find S.

I came across this sum in An Imaginary Tale by Nahin and I was fascinated.

Let tan(\alpha)=n+1 and tan(\beta)=n-1.

Remember
tan(\alpha-\beta)=\frac{tan(\alpha)-tan(\beta)}{1+tan(\alpha)tan(\beta)}
Hence,
tan(\alpha-\beta)=\frac{(n+1)-(n-1)}{1+(n+1)(n-1)}
tan(\alpha-\beta)=\frac{2}{1+n^2-1}
tan(\alpha-\beta)=\frac{2}{n^2}
Therefore,
\alpha-\beta=tan^{-1}(\frac{2}{n^2})
and
\alpha=tan^{-1}(n+1) and \beta=tan^{-1}(n-1)

tan^{-1}(n+1)-tan^{-1}(n-1)=tan^{-1}(\frac{2}{n^2})

Which means,

    \begin{equation*}S=\sum_{n=1}^\infty(tan^{-1}(n+1)-tan^{-1}(n-1))\end{equation}

Let’s try a few partial sums

S_4=tan^{-1}(2)-tan^{-1}(0)+tan^{-1}(3)-tan^{-1}(1)+tan^{-1}(4)-tan^{-1}(2)+tan^{-1}(5)-tan^{-1}(3)

S_4=-tan^{-1}(0)+-tan^{-1}(1)+tan^{-1}(4)+tan^{-1}(5)

S_6=tan^{-1}(2)-tan^{-1}(0)+tan^{-1}(3)-tan^{-1}(1)+tan^{-1}(4)-tan^{-1}(2)+tan^{-1}(5)-tan^{-1}(3)+tan^{-1}(6)-tan^{-1}(4)+tan^{-1}(7)-tan^{-1}(5)

S_6=-tan^{-1}(0)+-tan^{-1}(1)+tan^{-1}(6)+tan^{-1}(7)

Hence, S_N=-tan^{-1}(0)+-tan^{-1}(1)+tan^{-1}(N)+tan^{-1}(N+1)

S_N=-\frac{\pi}{4}-0+tan^{-1}(N)+tan^{-1}(N+1)

What happens as N\rightarrow \infty ?

\lim\limits_{N\to \infty}\ S_N=-\frac{\pi}{4}+\frac{\pi}{2}+\frac{\pi}{2}=\frac{3\pi}{4}

Because we know tan(\frac{\pi}{2}) is undefined.

1 Comment

Filed under Identities, Interesting Mathematics, Puzzles, Sequences, Trigonometry