This lecture continues Chapter 3 of MATH103 for Engineering, focusing on the applications of limits: differentiation of functions.
This section provides an overview of the derivative methods covered or to be covered:
The derivative of the sine function is the cosine function: $$\frac{d}{dx}(\sin x)=\cos x.$$
The derivative of the cosine function is the negative of the sine function: $$\frac{d}{dx}(\cos x)=-\sin x$$
Homework: Let $y=\tan x \Rightarrow y=\frac{\sin x}{\cos x}$. Prove that $y^{\prime}=\frac{\cos x[\sin x]^{\prime}-\sin x[\cos x]^{\prime}}{\cos^{2}x} = \frac{\cos^{2}x+\sin^{2}x}{\cos^{2}x} = \frac{1}{\cos^{2}x}=\sec^{2}x$.
Proof: Given $f(x)=\sin x \Rightarrow f(x+h)=\sin(x+h)$ $$f^{\prime}(x)=\lim_{h\rightarrow0}\frac{f(x+h)-f(x)}{h}=\lim_{h\rightarrow0}\frac{\sin(x+h)-\sin x}{h}$$ Using the sum identity for sine: $\sin(A+B) = \sin A \cos B + \cos A \sin B$ $$=\lim_{h\rightarrow0}\frac{\sin x \cos(h)+\cos x \sin(h)-\sin x}{h}$$ We know from Lecture 7 that $\lim_{h\rightarrow0}\frac{\sin(h)}{h}=1$ and $\lim_{h\rightarrow0}\frac{1-\cos(h)}{h}=0$ (which implies $\lim_{h\rightarrow0}\frac{\cos(h)-1}{h}=0$). $$=\lim_{h\rightarrow0}\frac{\sin x(\cos(h)-1)+\cos x \sin(h)}{h}$$ $$=\lim_{h\rightarrow0}\frac{\sin x(\cos(h)-1)}{h}+\lim_{h\rightarrow0}\frac{\cos x \sin(h)}{h}$$ $$=\sin x \cdot \lim_{h\rightarrow0}\frac{\cos(h)-1}{h}+\cos x \cdot \lim_{h\rightarrow0}\frac{\sin(h)}{h}$$ $$=\sin x \cdot 0+\cos x \cdot 1=\cos x$$ So, $\frac{d}{dx}(\sin x)=\cos x$.
Find $y^{\prime}$ if:
1. $y=\sqrt{x}+\tan x$
Solution: $y^{\prime}=\frac{1}{2\sqrt{x}}+\sec^{2}x$
2. $y=x^{2}\sin x$
Solution: $y^{\prime}=x^{2}\cos x+2x\sin x$
3. $y=\frac{\sin x}{1+\cos x}$
Solution:
$$y^{\prime}=\frac{(1+\cos x)(\sin x)^{\prime}-\sin x(1+\cos x)^{\prime}}{(1+\cos x)^{2}}$$
$$=\frac{(1+\cos x)\cos x-\sin x(-\sin x)}{(1+\cos x)^{2}}$$
$$=\frac{\cos x+\cos^{2}x+\sin^{2}x}{(1+\cos x)^{2}}$$
$$=\frac{\cos x+1}{(1+\cos x)^{2}}=\frac{1}{1+\cos x}$$
Notice: When dealing with the derivatives of trigonometric functions, all the used angles must be in radians measure and not in the degree measure.
Example: Find $y^{\prime}$ if: $y=\csc^{3}(\sqrt{1-4x})\cdot\sqrt{x^{2}+\ln(7x)}$
Proof: Given $f(x)=\sinh x \Rightarrow f(x+h)=\sinh(x+h)$ $$f^{\prime}(x)=\lim_{h\rightarrow0}\frac{f(x+h)-f(x)}{h}=\lim_{h\rightarrow0}\frac{\sinh(x+h)-\sinh x}{h}$$ Using the sum identity for hyperbolic sine: $\sinh(A+B) = \sinh A \cosh B + \cosh A \sinh B$ $$=\lim_{h\rightarrow0}\frac{\sinh x \cosh(h)+\cosh x \sinh(h)-\sinh x}{h}$$ $$=\lim_{h\rightarrow0}\frac{\sinh x(\cosh(h)-1)+\cosh x \sinh(h)}{h}$$ Using the limits $\lim_{h\rightarrow0}\frac{\sinh(h)}{h}=1$ and $\lim_{h\rightarrow0}\frac{\cosh(h)-1}{h}=0$: $$=\lim_{h\rightarrow0}\frac{\sinh x(\cosh(h)-1)}{h}+\lim_{h\rightarrow0}\frac{\cosh x \sinh(h)}{h}$$ $$=\sinh x \cdot \lim_{h\rightarrow0}\frac{\cosh(h)-1}{h}+\cosh x \cdot \lim_{h\rightarrow0}\frac{\sinh(h)}{h}$$ $$=\sinh x \cdot 0+\cosh x \cdot 1=\cosh x$$ So, $\frac{d}{dx}(\sinh x)=\cosh x$.
Alternative Proofs: $$\frac{d}{dx}(\sinh x)=\frac{d}{dx}\left[\frac{e^{x}-e^{-x}}{2}\right]=\frac{e^{x}-e^{-x}(-1)}{2}=\frac{e^{x}+e^{-x}}{2}=\cosh x$$ $$\frac{d}{dx}(\tanh x)=\frac{d}{dx}\left[\frac{\sinh x}{\cosh x}\right]=\frac{\cosh x(\sinh x)^{\prime}-\sinh x(\cosh x)^{\prime}}{\cosh^{2}x}=\frac{\cosh^{2}x-\sinh^{2}x}{\cosh^{2}x}=\frac{1}{\cosh^{2}x}=\text{sech}^{2}x$$ $$\frac{d}{dx}(\text{sech} x)=\frac{d}{dx}\left[\frac{1}{\cosh x}\right]=\frac{d}{dx}[\cosh x]^{-1}=-[\cosh x]^{-2}\cdot\sinh x=-\frac{1}{\cosh x}\frac{\sinh x}{\cosh x}=-\text{sech} x \tanh x$$
Find $\frac{dy}{dx}$ if:
1. $y=4 \cos x^{3}$
Solution: $\frac{dy}{dx}=(-4 \sin x^{3}) \cdot [3x^{2}]=-12x^{2}\sin x^{3}$
2. $y=\sqrt{x^{3}+\csc x}$
Solution: $\frac{dy}{dx}=\left(\frac{1}{2\sqrt{x^{3}+\csc x}}\right)\cdot [3x^{2}-\csc x \cot x]$
3. $y=\sin\sqrt{1+\cos 2x}$
Solution:
$$\frac{dy}{dx}=\cos(\sqrt{1+\cos 2x}) \cdot \left[\frac{1}{2\sqrt{1+\cos 2x}}\cdot(-\sin 2x)\cdot(2)\right]$$
$$=-\frac{\cos(\sqrt{1+\cos 2x})\cdot(\sin 2x)}{\sqrt{1+\cos 2x}}$$
4. $y=\tan(4x^{3}+x)$
Solution: $\frac{dy}{dx}=\sec^{2}(4x^{3}+x)\cdot[12x^{2}+1]$
This section mentions a challenging exercise or example, possibly related to the Weierstrass function, which is continuous everywhere but differentiable nowhere. This slide is for reading only as "Knowledge".
Thank you. I wish you all the best in the Midterm Exam. RABENA MA3KOM.