Table of Contents
Continuity
1. Definition of Continuity of a Function
1.1 Cauchy’s Definition of Continuity
- A real valued function \(f(x)\) is said to be continuous at \(x=a\), if for any arbitrary positive number \(\varepsilon\), however small but different from zero, there exists a positive number \(\delta\), such that\[ \begin{aligned} &|x-a|<\delta\\ \Rightarrow\quad&|f(x)-f(a)|<\varepsilon\\ \Rightarrow\quad&-\varepsilon<f(x)-f(a)<\varepsilon\\ \Rightarrow\quad&f(a)-\varepsilon<f(x)<f(a)+\varepsilon \end{aligned} \]
1.2 Limit Definition of Continuity
- A function \(f(x)\) is said to be continuous at an interior point \(x=a\) of its domain iff \(\lim_{x\to a}f(x)=f(a)\). i.e., a function \(f(x)\) is continuous at \(x=a\) if and only if it satisfies the following three conditions:
(i) \(f(a)\) exists. (‘ \(a\) ‘ lies in the domain of \(f\) )
(ii) \(\lim_{x\to a}f(x)\) exist i.e, \(\lim_{x\to a^+}f(x)=\lim_{x\to a^-}f(x)\) or R.H.L. = L.H.L.
(iii) \(\lim_{x\to a}f(x)=f(a)\) (limit equals the value of function).
1.3 Continuity from Left and Right
- Function \(f(x)\) is said to be
(1) Left continuous at \(x=a\) if \(\lim_{x\to a^-}f(x)=f(a)\)
(2) Right continuous at \(x=a\) if \(\lim_{x\to a^+}f(x)=f(a)\).
Thus, a function \(f(x)\) is continuous at a point \(x=a\) if it is left continuous as well as right continuous at \(x=a\).
2. Continuity of a Function in an Interval
- A function \(f(x)\) is said to be continuous in an open interval \((a,b)\) iff it is continuous at every point in that interval.Important point:This definition implies the non-breakable behaviour of the function \(f(x)\) in the interval \((a,b)\).
- A function \(f(x)\) is said to be continuous in a closed interval \([a,b]\) iff,
(i) \(f\) is continuous in \((a,b)\)
(ii) \(f\) is continuous from the right at ‘ \(a\) ‘ i.e., \(\lim_{x\to a^+}f(x)=f(a)\)
(iii) \(f\) is continuous from the left at ‘ \(b\) ‘ i.e. \(\lim_{x\to b^-}f(x)=f(b)\)
A list of continuous functions:
| Function \(f(x)\) | Interval in which \(f(x)\) is continuous |
|---|---|
| (i) Constant \(K\) | \((-\infty,\infty)\) |
| (ii) \(x^n\), ( \(n\) is a positive integer) | \((-\infty,\infty)\) |
| (iii) \(x^{-n}\) (\(n\) is a positive integer) | \((-\infty,\infty)-\{0\}\) |
| (iv) \(\lvert x\rvert\) or \(\lvert x-a\rvert\) | \((-\infty,\infty)\) |
| (v) \(p(x)=a_0x^n+a_1x^{n-1}+a_2x^{n-2}+\cdots+a_n\) | \((-\infty,\infty)\) |
| (vi) \(\frac{p(x)}{q(x)}\), where \(p(x)\) and \(q(x)\) are polynomial in \(x\) | \((-\infty,\infty)-\{x;q(x)=0\}\) |
| (vii) \(\sin x,\cos x,e^x\) | \((-\infty,\infty)\) |
| (viii) \(\tan x,\sec x\) | \((-\infty,\infty)-\{(2n+1)\frac{\pi}{2}:n\in I\}\) |
| (ix) \(\cot x,\operatorname{cosec}x\) | \((-\infty,\infty)-\{n\pi:n\in I\}\) |
| (x) \(\log_e x\) | \((0,\infty)\) |
3. Algebra of Continuous Functions
- A function \(f(x)\) is continuous in its domain if it is continuous at each point in it. If \(f(x)\) is not continuous at a particular point \(a\), in its domain, then \(f(x)\) is discontinuous at \(x=a\).
- If \(f(x)\) and \(g(x)\) are continuous functions at \(x=a\) then,
(a) \(f(x)\pm g(x)\) are also continuous at \(x=a\).
(b) \(f(x)+g(x)\) is also continuous at \(x=a\).
(c) \(\frac{f(x)}{g(x)}\) is also continuous at \(x=a\), if \(g(x)\ne0\)
(d) \(k\cdot f(x)\) is also continuous, where \(k\) is a constant.
(e) \(\frac{1}{f(x)}\) is also continuous at \(x=a\), if \(f(a)\ne0\).
(f) \(\lvert f(x)\rvert\) is also continuous at \(x=a\).
(g) The composition \(g(f(x))\) is also continuous at \(x=a\), provided \(g\) is continuous at \(f(a)\).
Important Points:If exactly one function from these two functions \(f(x)\) and \(g(x)\) is discontinuous at \(x=a\), then - \(f(x)\pm g(x)\) are always discontinuous at \(x=a\).
- \(f(x)\cdot g(x)\) is not necessarily continuous at \(x=a\). It may be continuous or discontinuous.
4. Discontinuity of a Function
- Discontinuity is just the opposite to continuity, i.e., for a small change in the input to the function there will be a unexpected change in the output of the function or if the graph of the function is drawn by lifting up the pen then there is discontinuity in the function.
- Let a function be \(f(x)\). The function \(f(x)\) is said to be discontinuous if following cases arises:
(i) When \(\lim_{x\to a}f(x)\) does not exist, e.g., when \(\lim_{x\to a^-}f(x)\ne\lim_{x\to a^+}f(x)\)
(ii) When \(\lim_{x\to a}f(x)\), exists but is not equal to \(f(a)\), i.e., \(\lim_{x\to a^-}f(x)=\lim_{x\to a^+}f(x)\ne f(a)\)
Some discontinuous functions
| Functions | Points of discontinuity |
|---|---|
| \([x],\{x\}\) | Every Integer |
| \(\tan x,\sec x\) | \(x=\pm\frac{\pi}{2},\pm\frac{3\pi}{2},\ldots\) |
| \(\cot x,\operatorname{cosec}x\) | \(x=0,\pm\pi,\pm2\pi,\ldots\) |
| \(\sin\frac1x,\cos\frac1x,\frac1x,e^{1/x}\) | \(x=0\) |
Derivative
1. Introduction
- If a body is changing its position at various time intervals, then it is possible to find the rate at which the position of the body is changing. There are various parameters that we can determine the rate at which it is changing.
- Differentiation is one of the methods to compute the rate of change of one variable with respect to another independent variable.
- For example, the rate of change of displacement of a particle with respect to time is called its velocity and the rate of change of velocity is called its acceleration.
2. Definition of Derivative
Let, \(f\) be a real valued function, the function defined by \(\lim_{h\to0}\frac{f(x+h)-f(x)}{h}\), wherever the limit exists is defined to be the derivative of \(f\) at \(x\) and is denoted by \(f'(x)\).
This definition of derivative is also called the first principle of derivative.
Hence,
\[ f'(x)=\lim_{h\to0}\frac{f(x+h)-f(x)}{h} \]
Sometimes \(f'(x)\) is denoted by \(\frac{d}{dx}[f(x)]\) or \(\frac{dy}{dx}\), where \(y=f(x)\).
3. Geometrical Meaning of Derivative
Consider \(y=f(x)\), differentiable at \(x=a\), which is represented by a curve as given in figure
Choose two points \(P\) and \(Q\) on the curve, whose co-ordinates are \(P(a,f(a))\), \(Q(a+h,f(a+h))\), where \(h\) is a small change.
The difference between the two values of \(f(a+h)-f(a)\) is called function increment.
Points \(P\) and \(Q\) are joined by straight horizontal and vertical lines as shown in the figure.
Also, a horizontal line from a point \(P\) is drawn so that it touches the vertical line from \(Q\) to the \(x\)-axis at a point \(R\) .
In right angled triangle \(\triangle PQR\),
\[ \begin{aligned} \tan\theta&=\frac{QR}{PR}=\frac{f(a+h)-f(a)}{(a+h)-(a)}\\ &=\frac{f(a+h)-f(a)}{h} \end{aligned} \]
Fix point \(P\) and move point \(Q\) towards \(P\), then \(h\) will approach zero. The secant will approach the tangent at point \(P\) to the curve \(y=f(x)\).
\[ \lim_{h\to0}\tan\theta=\lim_{h\to0}\frac{f(a+h)-f(a)}{h} \]
If the value of \(h\) approaches to 0 , the slope of the line \(PQ\) approaches the tangent line at the point \(P\).
\[ f'(a)=\lim_{h\to0}\frac{f(a+h)-f(a)}{h} \]
Differentiability
1. Introduction
- As a continuous function is a function which has unbroken curves, i.e., there is no voids or jumps in the graphs, but the question arises that what is meant by the differentiability of any function.
- Differentiability of any function means that function has a defined derivative, it basically means the slope of the tangent lines at any point in the domain of the function from the left is approaching the same value as the slope of the tangent at the same point from the right.
- Mathematically it can be explained as let any function be \(f(x)\) which is real valued function defined over the interval \((a,b)\) and let \(c\in(a,b)\), then \(f(x)\) is said to be differentiable at \(x=c\), if and only if \(\lim_{x\to c}\frac{f(x)-f(c)}{x-c}\) exists finitely, i.e.,\[ \lim_{x\to c^-}\frac{f(x)-f(c)}{x-c}=\lim_{x\to c^+}\frac{f(x)-f(c)}{x-c} \]Important point:If a function is differentiable then it automatically said to be continuous but vice-versa is not true.
2. Differentiability in an Interval
- A function \(y=f(x)\) defined in an open interval \((a,b)\) is said to be differentiable in an open interval ( \(a,b\) ), if it is differentiable at each point of \((a,b)\).
- A function \(y=f(x)\) defined in a closed interval \([a,b]\) is said to be differentiable in closed interval [ \(a,b\) ], if it is differentiable at each point of an open interval \((a,b)\) and \(\lim_{x\to a^+}\frac{f(x)-f(a)}{x-a}\) and \(\lim_{x\to b^-}\frac{f(x)-f(b)}{(x-b)}\) both exist.
- If the function is discontinuous at any of the end points, then certainly it is not differentiable at those points.
Important points:
Polynomial, rational, trigonometric, exponential, logarithmic, inverse trigonometric functions are differentiable at interior points of their respective domains.
3. Relation Between Continuity and Differentiability
- If the function \(f(x)\) is differentiable at every point of its domain, then it must be continuous in that domain.Proof : Let \(f(x)\) be a function which is differentiable at its domain\[ \begin{aligned} \lim_{x\to a}[f(x)-f(a)]&=\lim_{x\to a}\left[\frac{f(x)-f(a)}{x-a}\right](x-a)\\ \lim_{x\to a}f(x)-f(a)&=f'(a)\times\lim_{x\to a}(x-a)\\ &=f'(a)\times0\\ &=0\\ \lim_{x\to a}f(x)&=f(a) \end{aligned} \]∴ The function \(f(x)\) is continuous at its domain.
- The converse of the above statement is not true i.e., if the function is continuous at \(x=a\), then the function may or may not be differentiable at \(x=a\).For example, the function \(f(x)=|x|\) is continuous but not differentiable at \(x=0\).
- If the function \(f(x)\) is discontinuous at \(x=a\), then the function is also non-differentiable at \(x=a\).