Greek letters being usual to denote angles, we will take as the usual letter for any variable angle the letter \(\theta\) (“theta”).

Let us consider the function \[y= \sin \theta.\]

What we have to investigate is the value of \(\dfrac{d(\sin \theta)}{d \theta}\); or, in other words, if the angle \(\theta\) varies, we have to find the relation between the increment of the sine and the increment of the angle, both increments being indefinitely small in themselves. Examine Fig. 43, wherein, if the radius of the circle is unity, the height of \(y\) is the sine, and \(\theta\) is the angle. Now, if \(\theta\) is supposed to increase by the addition to it of the small angle \(d \theta\)—an element of angle—the height of \(y\), the sine, will be increased by a small element \(dy\). The new height \(y + dy\) will be the sine of the new angle \(\theta + d \theta\), or, stating it as an equation, \[y+dy = \sin(\theta + d \theta);\] and subtracting from this the first equation gives \[dy = \sin(\theta + d \theta)- \sin \theta.\]

 

The quantity on the right-hand side is the difference between two sines, and books on trigonometry tell us how to work this out. For they tell us that if \(M\) and \(N\) are two different angles, \[\sin M – \sin N = 2 \cos\frac{M+N}{2}\cdot \sin\frac{M-N}{2}.\]

If, then, we put \(M= \theta + d \theta\) for one angle, and \(N= \theta\) for the other, we may write

\[\begin{aligned} dy &= 2 \cos\frac{\theta + d\theta + \theta}{2} \cdot \sin\frac{\theta + d\theta – \theta}{2},\\ dy &= 2\cos(\theta + \tfrac{1}{2}d\theta) \cdot \sin\tfrac{1}{2} d\theta. \end{aligned}\]

But if we regard \(d \theta\) as indefinitely small, then in the limit we may neglect \(\frac{1}{2} d \theta\) by comparison with \(\theta\), and may also take \(\sin\frac{1}{2} d \theta\) as being the same as \(\frac{1}{2} d \theta\). The equation then becomes:

\[\begin{aligned} dy &= 2 \cos \theta \times \tfrac{1}{2} d \theta; \\ dy &= \cos \theta \cdot d \theta, \\ \dfrac{dy}{d \theta} &= \cos \theta. \end{aligned}\]

The accompanying curves, Figs. 44 and 45, show, plotted to scale, the values of \(y=\sin \theta\), and \(\dfrac{dy}{d\theta}=\cos\theta\), for the corresponding values of \(\theta\).

 

 


Take next the cosine.

Let \(y=\cos \theta\).

Now \(\cos \theta=\sin\left(\dfrac{\pi}{2}-\theta\right)\).

Therefore \[\begin{aligned} &\begin{aligned} dy = d\left(\sin\left(\frac{\pi}{2} – \theta\right)\right) &= \cos\left(\frac{\pi}{2} – \theta\right) \times d(-\theta), \\ &= \cos\left(\frac{\pi}{2} – \theta\right) \times (-d\theta), \end{aligned} \\ &\frac{dy}{d\theta} = -\cos\left(\frac{\pi}{2} – \theta\right).\end{aligned}\]

And it follows that \[\begin{aligned} &\frac{dy}{d\theta} = -\sin \theta.\end{aligned}\]

Lastly, take the tangent.

Let \[ \begin{aligned} y &= \tan \theta, \\ dy &= \tan(\theta + d\theta) – \tan\theta. \\ \end{aligned}\]

Expanding, as shown in books on trigonometry,

\[ \begin{aligned} \tan(\theta + d\theta) &= \frac{\tan\theta + \tan d\theta} {1 – \tan\theta \cdot\tan d\theta}; \\ dy &= \frac{\tan\theta + \tan d\theta} {1-\tan\theta\cdot\tan d\theta} – \tan\theta \\ &= \frac{(1 + \tan^2\theta)\tan d\theta} {1-\tan\theta\cdot\tan d\theta}.\end{aligned}\]

Now remember that if \(d\theta\) is indefinitely diminished, the value of \(\tan d\theta\) becomes identical with \(d\theta\), and \(\tan\theta \cdot d\theta\) is negligibly small compared with \(1\), so that the expression reduces to

\[ \begin{aligned} dy &= \frac{(1+\tan^2 \theta)\, d\theta}{1}, \\ \frac{dy}{d\theta} &= 1 + \tan^2\theta, \\ \frac{dy}{d\theta} &= \sec^2 \theta. \end{aligned}\]

Collecting these results, we have: \[\begin{array}{|*{2}{>{\quad}c<{\quad}|}} \hline y & \dfrac{dy}{d\theta} \\ \hline \sin\theta & \cos\theta \\ \cos\theta & -\sin\theta \\ \tan\theta & \sec^2 \theta\\ \hline \end{array}\]

Sometimes, in mechanical and physical questions, as, for example, in simple harmonic motion and in wave-motions, we have to deal with angles that increase in proportion to the time. Thus, if \(T\) be the time of one complete period, or movement round the circle, then, since the angle all round the circle is \(2\pi\) radians, or \(360^\circ\), the amount of angle moved through in time \(t\), will be

\[ \begin{aligned} \theta &= 2\pi\frac{t}{T},\quad \text{in radians,} \\ \theta &= 360\frac{t}{T},\quad \text{in degrees.}\end{aligned}\]

If the frequency, or number of periods per second, be denoted by \(n\), then \(n = \dfrac{1}{T}\), and we may then write: \[\theta=2\pi nt.\] Then we shall have \[y = \sin 2\pi nt.\]

If, now, we wish to know how the sine varies with respect to time, we must differentiate with respect, not to \(\theta\), but to \(t\). For this we must resort to the artifice explained in Chapter 9, and put \[\frac{dy}{dt} = \frac{dy}{d\theta} \cdot \frac{d\theta}{dt}.\]

Now \(\dfrac{d\theta}{dt}\) will obviously be \(2\pi n\); so that \[\begin{aligned} \frac{dy}{dt} &= \cos \theta \times 2\pi n \\ &= 2\pi n \cdot \cos 2\pi nt. \end{aligned}\] Similarly, it follows that \[\begin{aligned} \frac{d(\cos 2\pi nt)}{dt} &= -2\pi n \cdot \sin 2\pi nt.\end{aligned}\]

Second Differential Coefficient of Sine or Cosine

We have seen that when \(\sin \theta\) is differentiated with respect to \(\theta\) it becomes \(\cos \theta\); and that when \(\cos \theta\) is differentiated with respect to \(\theta\) it becomes \(-\sin \theta\); or, in symbols, \[\frac{d^2({\sin \theta})}{d\theta^2} = -\sin \theta.\]

So we have this curious result that we have found a function such that if we differentiate it twice over, we get the same thing from which we started, but with the sign changed from \(+\) to \(-\).

The same thing is true for the cosine; for differentiating \(\cos\theta\) gives us \(-\sin\theta\), and differentiating \(-\sin\theta\) gives us \(-\cos\theta\); or thus: \[\frac{d^2(\cos\theta)}{d\theta^2} = -\cos\theta.\]

Sines and cosines are the only functions of which the second differential coefficient is equal (and of opposite sign to) the original function.


Examples

With what we have so far learned we can now differentiate expressions of a more complex nature.

Example 1
\(y=\arcsin x\).

If \(y\) is the arc whose sine is \(x\), then \(x = \sin y\). \[\frac{dx}{dy}=\cos y.\]

Passing now from the inverse function to the original one, we get

\[ \begin{aligned} \frac{dy}{dx} &= \frac{1}{\;\dfrac{dx}{dy}\;} = \frac{1}{\cos y}. \\ \cos y &= \sqrt{1-\sin^2 y}=\sqrt{1-x^2}; \\ \frac{dy}{dx} &= \frac{1}{\sqrt{1-x^2}}, \end{aligned}\]

a rather unexpected result.

Example 2
\(y=\cos^3 \theta\).

This is the same thing as \(y=(\cos \theta)^3\).

 Let \(\cos\theta=v\);then \(y=v^3\);\(\dfrac{dy}{dv}=3v^2\). \[\begin{aligned} \frac{dv}{d\theta} &= -\sin\theta.\\ \frac{dy}{d\theta} &= \frac{dy}{dv} \times \frac{dv}{d\theta} = -3 \cos^2 \theta \sin\theta.\end{aligned}\]

Example 3
\(y=\sin(x+a)\).

Let \(x+a=v\);then \(y=\sin v\). \[\frac{dy}{dv}=\cos v;\qquad \frac{dv}{dx}=1 \quad\text{and}\quad \frac{dy}{dx}=\cos(x+a).\]

Example 4
\(y=\ln \sin \theta\).

Let \(\sin\theta=v\);\(y=\ln v\). \[\begin{aligned} \frac{dy}{dv} &= \frac{1}{v};\quad \frac{dv}{d\theta}=\cos\theta;\\ \frac{dy}{d\theta} &= \frac{1}{\sin\theta} \times \cos\theta = \cot\theta.\end{aligned}\]

Example 5
\(y=\cot\theta=\dfrac{\cos\theta}{\sin\theta}\).

\[\begin{aligned} \frac{dy}{d\theta} &= \frac{-\sin^2\theta – \cos^2 \theta}{\sin^2 \theta}\\ &= -(1+\cot^2 \theta) = -\csc^2 \theta.\end{aligned}\]

Example 6
\(y=\tan 3\theta\).

Let \(3\theta=v\);\(y=\tan v\);\(\dfrac{dy}{dv}=\sec^2 v\). \[\frac{dv}{d\theta}=3;\quad \frac{dy}{d\theta}=3 \sec^2 3\theta.\]

Example 7
\(y = \sqrt{1+3\tan^2\theta}\)

\(y=(1+3 \tan^2 \theta)^{\frac{1}{2}}\).

Let \(3\tan^2\theta=v\).

\[\begin{aligned} y &= (1+v)^{\frac{1}{2}};\quad \frac{dy}{dv} = \frac{1}{2\sqrt{1+v}} \\ \frac{dv}{d\theta} &= 6\tan\theta \sec^2 \theta \\ \text{(for, if $\tan \theta = u$,} v &= 3u^2;\quad \frac{dv}{du} = 6u;\quad \frac{du}{d\theta} = \sec^2 \theta; \\ \frac{dv}{d\theta} &= 6(\tan \theta \sec^2 \theta) \\ \frac{dy}{d\theta} &= \frac{6\tan\theta \sec^2\theta}{2\sqrt{1 + 3\tan^2\theta}}. \end{aligned}\]

Example 8
\(y=\sin x \cos x\).

\[\begin{aligned} \frac{dy}{dx} &= \sin x(-\sin x) + \cos x \times \cos x \\ &= \cos^2 x – \sin^2 x.\end{aligned}\]


Exercises XIV

(1) Differentiate the following: \[\begin{aligned} \text{(i)}\quad y &= A \sin\left(\theta – \frac{\pi}{2}\right).\\ \text{(ii)}\quad y &= \sin^2 \theta;\quad \text{and } y = \sin 2\theta.\\ \text{(iii)}\quad y &= \sin^3 \theta;\quad \text{and } y = \sin 3\theta.\end{aligned}\]

(2) Find the value of \(\theta\) for which \(\sin\theta \times \cos\theta\) is a maximum.

(3) Differentiate \(y=\dfrac{1}{2\pi} \cos 2\pi nt\).

(4) If \(y = \sin a^x\), find \(\dfrac{dy}{dx}\).

(5) Differentiate \(y=\ln \cos x\).

(6) Differentiate \(y=18.2 \sin(x+26^\circ)\).

(7) Plot the curve \(y=100 \sin(\theta-15^\circ)\); and show that the slope of the curve at \(\theta = 75^\circ\) is half the maximum slope.

(8) If \(y=\sin \theta\cdot\sin 2\theta\), find \(\dfrac{dy}{d\theta}\).

(9) If \(y=a\cdot\tan^m(\theta^n)\), find the differential coefficient of \(y\) with respect to \(\theta\).

(10) Differentiate \(y=e^x \sin^2 x\).

(11) Differentiate the three equations of Exercises XIII., No. 4, and compare their differential coefficients, as to whether they are equal, or nearly equal, for very small values of \(x\), or for very large values of \(x\), or for values of \(x\) in the neighbourhood of \(x=30\).

(12) Differentiate the following: \[\begin{aligned} \text{(i)}\quad y &= \sec x. & \text{(ii)}\quad y &= \arccos x. \\ \text{(iii)}\quad y &= \arctan x. & \text{(iv)}\quad y &= \text{arcsec } x. \\ \text{(v)}\quad y &= \tan x \times \sqrt{3 \sec x}. &&\end{aligned}\]

(13) Differentiate \(y=\sin(2\theta +3)^{2.3}\).

(14) Differentiate \(y=\theta^3+3 \sin(\theta+3)-3^{\sin \theta} – 3^\theta\).

(15) Find the maximum or minimum of \(y=\theta \cos \theta\).

Answers to Exercises

(1) (i) \(\dfrac{dy}{d\theta} = A \cos \left( \theta – \dfrac{\pi}{2} \right)\);

(ii) \(\dfrac{dy}{d\theta} = 2\sin\theta \cos\theta = \sin2\theta\) and \(\dfrac{dy}{d\theta} = 2\cos2\theta\);

(iii) \(\dfrac{dy}{d\theta} = 3\sin^2 \theta \cos\theta\) and \(\dfrac{dy}{d\theta} = 3\cos3\theta\).

(2) \(\theta = 45^\circ\) or \(\dfrac{\pi}{4}\) radians.

(3) \(\dfrac{dy}{dt} = -n \sin 2\pi nt\).

(4) \(a^x \ln a \cos a^x\).

(5) \(\dfrac{\cos x}{\sin x} = \cotan x\)

(6) \(18.2 \cos \left(x + 26^\circ \right)\).

(7) The slope is \(\dfrac{dy}{d\theta} = 100\cos\left(\theta – 15^\circ \right)\), which is a maximum when \((\theta -15^\circ) = 0\), or \(\theta = 15^\circ\); the value of the slope being then \({}= 100\). When \(\theta = 75^\circ\) the slope is \(100\cos(75^\circ – 15^\circ) = 100\cos 60^\circ = 100 \times \frac{1}{2} = 50\).

(8) \(\begin{aligned}[t] \cos\theta \sin2\theta + 2\cos2\theta \sin\theta &= 2\sin\theta\left(\cos^2 \theta + \cos2\theta\right) \\ &= 2\sin\theta\left(3\cos^2 \theta – 1\right). \end{aligned}\)

(9) \(amn\theta^{n-1} \tan^{m-1}\left(\theta^n\right)\sec^2 \theta^n\).

(10) \(e^x \left(\sin^2 x + \sin2x\right)\);\(e^x \left(\sin^2 x + 2\sin2x + 2\cos2x\right)\).

(11) \(\left(i\right) \dfrac{dy}{dx} = \dfrac{ab}{\left(x + b\right)^2}\); (ii) \(\dfrac{a}{b} e^{-\frac{x}{b}}\); (iii) \(\dfrac{1}{90}^\circ \times \dfrac{ab}{\left(b^2 + x^2\right)}\).

(12) (i) \(\dfrac{dy}{dx} = \sec x \tan x\);

(ii) \(\dfrac{dy}{dx} = – \dfrac{1}{\sqrt{ 1 – x^2}}\);

(iii) \(\dfrac{dy}{dx} = \dfrac{1}{ 1 + x^2}\);

(iv) \(\dfrac{dy}{dx} = \dfrac{1}{x \sqrt{ x^2 – 1}}\);

(v) \(\dfrac{dy}{dx} = \dfrac{\sqrt{ 3\sec x} \left(3\sec^2 x – 1\right)}{2}\).

(13) \(\dfrac{dy}{d\theta} = 4.6\left(2\theta + 3\right)^{1.3} \cos\left(2\theta + 3\right)^{2.3}\).

(14) \(\dfrac{dy}{d\theta} = 3\theta^2 + 3\cos \left( \theta + 3 \right) – \ln 3 \left( \cos\theta \times 3^{\sin\theta} + 3\theta \right)\).

(15) \(\theta = \cot\theta; \theta = \pm0.86\); is max. for \(+\theta\), min. for \(-\theta\).