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.
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\).