MATH103 for Engineering: Lecture #11 Summary

This lecture continues Chapter 3 of MATH103 for Engineering, focusing on the applications of limits: differentiation of functions.


Chapter 3: Applications of Limits: Differentiation of Functions

Derivative of Functions: Methods Overview

This section provides an overview of the derivative methods covered or to be covered:

  1. By Definition.
  2. Power function rule.
  3. Square root function rule.
  4. Absolute value function rule.
  5. Product of two functions rule.
  6. Quotient of two functions rule.
  7. Exponential function rule.
  8. Logarithmic function rule.
  9. Trigonometric functions rules and their inverses.
  10. Hyperbolic functions rules and their inverses.

9. Derivative of the Trigonometric Functions

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$$

Derivatives of the Other Trigonometric Functions:

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$.


Exercise: Prove that $\frac{d}{dx}(\sin x)=\cos 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$.


Examples

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)}$


10. Derivative of Hyperbolic Functions


Exercise: Prove that $\frac{d}{dx}(\sinh x)=\cosh x$

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$$


Summary for the Derivatives of Trigonometric & Hyperbolic Functions (in terms of $u(x)$ - Chain Rule)


Practical Examples on the Chain Rule

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]$


Challenging Exercise / Example

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".


Midterm Exam Information

Thank you. I wish you all the best in the Midterm Exam. RABENA MA3KOM.