1# Differential calculus
2
3## Limits
4
5$$\lim_{x \rightarrow a}f(x)$$
6
7$L^-$ - limit from below
8
9$L^+$ - limit from above
10
11$\lim_{x \to a} f(x)$ - limit of a point
12
13- Limit exists if $L^-=L^+$
14- If limit exists, point does not.
15
16Limits can be solved using normal techniques (if div 0, factorise)
17
18## Limit theorems
19
201. For constant function $f(x)=k$, $\lim_{x \rightarrow a} f(x) = k$
212. $\lim_{x \rightarrow a} (f(x) \pm g(x)) = F \pm G$
223. $\lim_{x \rightarrow a} (f(x) \times g(x)) = F \times G$
234. ${\lim_{x \rightarrow a} {f(x) \over g(x)}} = {F \over G}, G \ne 0$
24
25Corollary: $\lim_{x \rightarrow a} c \times f(x)=cF$ where $c=$ constant
26
27## Solving limits for $x\rightarrow\infty$
28
29Factorise so that all values of $x$ are in denominators.
30
31e.g.
32
33$$\lim_{x \rightarrow \infty}{{2x+3} \over {x-2}}={{2+{3 \over x}} \over {1-{2 \over x}}}={2 \over 1} = 2$$
34
35
36## Continuous functions
37
38A function is continuous if $L^-=L^+=f(x)$ for all values of $x$.
39
40## Gradients of secants and tangents
41
42Secant (chord) - line joining two points on curve
43
44Tangent - line that intersects curve at one point
45
46given $P(x,y) \quad Q(x+\delta x, y + \delta y)$:
47gradient of chord joining $P$ and $Q$ is ${m_{PQ}}={\operatorname{rise} \over \operatorname{run}} = {\delta y \over \delta x}$
48
49As $Q \rightarrow P, \delta x \rightarrow 0$. Chord becomes tangent (two infinitesimal points are equal).
50
51Can also be used with functions, where $h=\delta x$.
52
53## First principles derivative
54
55$$f^\prime(x) = \lim_{\delta x \rightarrow 0}{\delta y \over \delta x}={dy \over dx}$$
56
57$$m_{\operatorname{tangent}}=\lim_{h \rightarrow 0}f^\prime(x)$$
58
59
60
61$$m_{\operatorname{chord PQ}}=f^\prime(x)$$
62
63first principles derivative:
64$${m_{\operatorname{tangent at P}} =\lim_{h \rightarrow 0}}{{f(x+h)-f(x)}\over h}$$
65
66## Gradient at a point
67
68Given point $P(a, b)$ and function $f(x)$, the gradient is $f^\prime(a)$
69
70
71## Derivatives of $x^n$
72
73$${d(ax^n) \over dx}=anx^{n-1}$$
74
75If $x=$ constant, derivative is $0$
76
77If $y=ax^n$, derivative is $a\times nx^{n-1}$
78
79If $f(x)={1 \over x}=x^{-1}, \quad f^\prime(x)=-1x^{-2}={-1 \over x^2}$
80
81If $f(x)=^5\sqrt{x}=x^{1 \over 5}, \quad f^\prime(x)={1 \over 5}x^{-4/5}={1 \over 5 \times ^5\sqrt{x^4}}$
82
83If $f(x)=(x-b)^2, \quad f^\prime(x)=2(x-b)$
84
85$$f^\prime(x)=\lim_{h \rightarrow 0}{{f(x+h)-f(x)} \over h}$$
86
87## Derivatives of $u \pm v$
88
89$${dy \over dx}={du \over dx} \pm {dv \over dx}$$
90where $u$ and $v$ are functions of $x$
91
92## Euler's number as a limit
93
94$$\lim_{h \rightarrow 0} {{e^h-1} \over h}=1$$
95
96## Chain rule
97
98$$(f \circ g)^\prime = (f^\prime \circ g) \cdot g^\prime$$
99
100Leibniz notation:
101
102$${dy \over dx} = {dy \over du} \cdot {du \over dx}$$
103
104Function notation:
105
106$$(f\circ g)^\prime(x)=f^\prime(g(x))g^\prime(x),\quad \mathbb{where}\hspace{0.3em} (f\circ g)(x)=f(g(x))$$
107
108Used with only one expression.
109
110e.g. $y=(x^2+5)^7$ - Cannot reasonably expand
111Let $u-x^2+5$ (inner expression)
112${du \over dx} = 2x$
113$y=u^7$
114${dy \over du} = 7u^6$
115
116
117$7u^6 \times$
118
119## Product rule for $y=uv$
120
121$${dy \over dx} = u{dv \over dx} + v{du \over dx}$$
122
123Surds can be left on denomintaors.
124
125## Quotient rule for $y={u \over v}$
126
127$${dy \over dx} = {{v{du \over dx} - u{dv \over dx}} \over v^2}$$
128
129If $f(x)={u(x) \over v(x)}$, then $f^\prime(x)={{v(x)u^\prime(x)-u(x)v^\prime(x)} \over [v(x)]^2}$
130
131If $y={u(x) \over v(x)}$, then derivative ${dy \over dx} = {{v{du \over dx} - u{dv \over dx}} \over v^2}$
132