c tangent
lim
Chapter 5  ·  Class XII Mathematics

Where Calculus Gets Its Rigour

Continuity and Differentiability

No Breaks, No Corners — The Chapter That Makes Every Derivative Legal

Chapter Snapshot

13Concepts
16Formulae
8–10%Exam Weight
4–5Avg Q's
HighDifficulty

Why This Chapter Matters for Entrance Exams

CBSEJEE MainJEE Advanced

This is the single highest-weightage differentiation chapter in JEE. Logarithmic differentiation, parametric derivatives, and Rolle's/Mean Value Theorem are annual fixtures in both JEE Main and Advanced, and CBSE Boards typically award 8–10 marks across two to three questions.

Key Concept Highlights

Continuity at a Point
Continuity on an Interval
Algebra of Continuous Functions
Differentiability
Relationship Between Continuity and Differentiability
Chain Rule
Derivatives of Implicit Functions
Derivatives of Inverse Trigonometric Functions
Exponential and Logarithmic Function Derivatives
Logarithmic Differentiation
Derivatives in Parametric Form
Second Order Derivatives
Rolle's Theorem and Mean Value Theorem

Important Formula Capsules

$f\ \text{continuous at } a \iff \lim_{x\to a} f(x) = f(a)$
$\text{Differentiable} \Rightarrow \text{Continuous (converse false)}$
$\dfrac{d}{dx}\sin^{-1}x = \dfrac{1}{\sqrt{1-x^2}}$
$\dfrac{d}{dx}\tan^{-1}x = \dfrac{1}{1+x^2}$
$\dfrac{d}{dx}e^x = e^x,\quad \dfrac{d}{dx}\ln x = \dfrac{1}{x}$
$\dfrac{d}{dx}a^x = a^x \ln a$
$\text{Parametric: } \dfrac{dy}{dx} = \dfrac{dy/dt}{dx/dt}$
$\text{Rolle's Thm: } f(a)=f(b) \Rightarrow \exists\, c\in(a,b),\ f'(c)=0$
$\text{MVT: } f'(c) = \dfrac{f(b)-f(a)}{b-a}$

What You Will Learn

Navigate to Chapter Resources

🏆 Exam Strategy & Preparation Tips

Logarithmic differentiation is guaranteed in every CBSE paper — practise 20+ variations (variable base AND variable exponent). Memorise all inverse-trig and exponential derivative formulas cold; do not derive them under exam pressure. This is a 2-week chapter — do not rush it.

Chapter 5 · CBSE · Class XII

Continuity of a Function at a Point

Continuity and Differentiability NCERT Class 12 Class 12 Mathematics Mathematics Notes CBSE Class 12 NCERT Notes Continuity Continuity of Functions Continuous Functions Points of Discontinuity Algebra of Continuous Functions Differentiability Derivative of a Function Differentiable Functions Continuity and Differentiability Theorems Chain Rule Derivatives of Composite Functions Implicit Differentiation Parametric Differentiation Inverse Trigonometric Derivatives Exponential Functions Logarithmic Functions Logarithmic Differentiation Standard Derivatives Derivative Formulas Solved Examples Formulae and Derivations CBSE Board Exam JEE Main JEE Advanced CUET Board Exam Competitive Exams
🗺️ Overview
Continuity is one of the fundamental concepts of Class 12 Mathematics Chapter 4: Continuity and Differentiability. It describes whether the graph of a function passes through a point without a break, jump, hole, or infinite interruption. The concept of continuity is essential for understanding differentiability, derivatives, Rolle’s Theorem, Lagrange’s Mean Value Theorem and several applications of derivatives.

For CBSE Board examinations, continuity is important for definition-based questions, verification of continuity of piecewise functions, finding unknown constants, and case-study questions. In JEE and other competitive examinations, continuity is frequently tested together with limits, piecewise functions, greatest integer functions, modulus functions, rational functions and differentiability.
📘 Definition
💡 Concept of Continuity
🗒️ Three Conditions for Continuity
At \(x=c\), verify continuity systematically using the following three conditions:
  1. \[\boxed{f(c)\text{ exists}}\]
  2. \[\boxed{\lim_{x\rightarrow c}f(x)\text{ exists}}\]
  3. \[\boxed{\lim_{x\rightarrow c}f(x)=f(c)}\]
Equivalently, calculate the one-sided limits:
\[\boxed{\lim_{x\rightarrow c^-}f(x)}\]
\[\boxed{\lim_{x\rightarrow c^+}f(x)}\]
Then check
\[\boxed{\lim_{x\rightarrow c^-}f(x)=\lim_{x\rightarrow c^+}f(x)=f(c)}\]
If even one of these equalities fails, \(f\) is not continuous at \(x=c\).
🗂️ Left-Hand and Right-Hand Continuity
For functions defined on intervals or domains having an endpoint, one-sided continuity is particularly useful.
Left-hand continuity
A function \(f\) is said to be left continuous at \(x=c\) if
\[\boxed{\lim_{x\rightarrow c^-}f(x)=f(c)}\]
Here \(x\) approaches \(c\) only through values less than \(c\).
Right-hand continuity
A function \(f\) is said to be right continuous at \(x=c\) if
\[\boxed{\lim_{x\rightarrow c^+}f(x)=f(c)}\]
Here \(x\) approaches \(c\) only through values greater than \(c\).
Continuity at an interior point
If \(c\) is an interior point of the domain, then continuity requires both left and right continuity:
\[\boxed{\lim_{x\rightarrow c^-}f(x)=\lim_{x\rightarrow c^+}f(x)=f(c)}\]
Continuity at an endpoint
If the domain is, for example, \([a,b]\), then at \(x=a\) only the right-hand limit is relevant, while at \(x=b\) only the left-hand limit is relevant.
\[\boxed{\text{At }x=a:\quad \lim_{x\rightarrow a^+}f(x)=f(a)}\]
\[\boxed{\text{At }x=b:\quad \lim_{x\rightarrow b^-}f(x)=f(b)}\]
📌 Important Note
⚖️ Continuity Versus Limit
Limit Continuity
Studies the behaviour of \(f(x)\) as \(x\) approaches \(c\). Connects the limiting value with the actual value \(f(c)\).
\(f(c)\) need not exist. \(f(c)\) must exist.
\(\lim\limits_{x\rightarrow c}f(x)\) may exist even when \(f\) is not defined at \(c\). \(\lim\limits_{x\rightarrow c}f(x)\) must exist and equal \(f(c)\).
🎨 SVG Diagram
Geometrical Interpretation

Geometrically, continuity means that the graph of the function has no break at the point under consideration. If \(f\) is continuous at \(x=c\), the point \((c,f(c))\) agrees with the limiting position of the graph as \(x\) approaches \(c\).

This intuitive interpretation is useful, but for mathematical verification in examinations, always use the limit-based definition rather than relying only on the appearance of a graph.

Continuous at x = c x y c f(c)
The graph passes through the point corresponding to \(x=c\) without a break, and the limiting value agrees with \(f(c)\).
🗺️ Roadmap for Checking Continuity
  1. Identify the point \(x=c\) at which continuity is to be tested.

  2. Calculate \(f(c)\).

  3. Find the left-hand limit \(\displaystyle \lim_{x\rightarrow c^-}f(x)\).

  4. Find the right-hand limit \(\displaystyle \lim_{x\rightarrow c^+}f(x)\).

  5. Compare the two one-sided limits.

  6. If they are unequal, the function is discontinuous.

  7. If they are equal, compare their common value with \(f(c)\).

  8. If all three values are equal, the function is continuous at \(x=c\).

🔢 Standard Formula for Continuity
✏️ Example
1
Question
Check whether \(f(x)=x^2+3x+2\) is continuous at \(x=1\).
Every polynomial function is continuous for every real value of \(x\). Nevertheless, verifying the definition reinforces the continuity test.
  1. First calculate the function value:
    \[f(1)=1^2+3(1)+2=6\]
  2. Since \(f(x)\) is a polynomial,
    \[\lim_{x\rightarrow1}f(x)=\lim_{x\rightarrow1}(x^2+3x+2)=1+3+2=6\]
  3. Thus,
    \[\lim_{x\rightarrow1}f(x)=f(1)=6\]
  4. Hence,
    \[\boxed{f(x)=x^2+3x+2\text{ is continuous at }x=1}\]
2
Question
Determine whether
\[f(x)=\begin{cases}\dfrac{x^2-4}{x-2}, & x\neq2,\\5, & x=2\end{cases}\]
is continuous at \(x=2\).
  1. For \(x\neq2\),
    \[\frac{x^2-4}{x-2}=\frac{(x-2)(x+2)}{x-2}=x+2\]
  2. Therefore,
    \[\lim_{x\rightarrow2^-}f(x)=\lim_{x\rightarrow2^-}(x+2)=4\]
  3. and
    \[\lim_{x\rightarrow2^+}f(x)=\lim_{x\rightarrow2^+}(x+2)=4\]
  4. Hence,
    \[\lim_{x\rightarrow2}f(x)=4\]
  5. But
    \[f(2)=5\]
  6. Therefore,
    \[\lim_{x\rightarrow2}f(x)\neq f(2)\]
  7. Hence,
    \[\boxed{f\text{ is discontinuous at }x=2}\]
3
Question
Find the value of \(k\) for which
\[f(x)=\begin{cases}kx+1, & x<2,\\5, & x\geq2\end{cases}\]
is continuous at \(x=2\).
  1. For continuity at \(x=2\),
    \[\lim_{x\rightarrow2^-}f(x)=\lim_{x\rightarrow2^+}f(x)=f(2)\]
  2. Left-hand limit:
    \[\lim_{x\rightarrow2^-}f(x)=2k+1\]
  3. Right-hand limit:
    \[\lim_{x\rightarrow2^+}f(x)=5\]
  4. Also,
    \[f(2)=5\]
  5. Therefore,
    \[\begin{aligned} 2k+1&=5\\ 2k&=4\\ k&=2 \end{aligned} \]
  6. Final Answer
    Thus, the required value of \(k\) is \(2\)
📌 Functions Commonly Continuous on Their Domains
📎 Continuity of a Polynomial Function
If
\[f(x)=a_nx^n+a_{n-1}x^{n-1}+\cdots+a_1x+a_0\]
where the coefficients are real numbers, then \(f\) is continuous for every \(x\in\mathbb{R}\).
\[\boxed{\text{Every polynomial function is continuous on }\mathbb{R}}\]
🗒️ Continuity Of A Rational Function
If
\[f(x)=\frac{p(x)}{q(x)}\]
where \(p(x)\) and \(q(x)\) are polynomials, then \(f\) is continuous wherever
\[q(x)\neq0\]
Hence,
\[\boxed{\frac{p(x)}{q(x)}\text{ is continuous at every point where }q(x)\neq0}\]
Important
A rational expression may have a removable discontinuity at a point where cancellation is possible, but the original function remains undefined there unless its value has been explicitly assigned.
📌 Operations Preserving Continuity
📌 Continuity of Composite Functions
📐 Derivation
Derivation of the Continuity Condition
Suppose \(f\) is continuous at \(x=c\). As \(x\) approaches \(c\), continuity requires the function values to approach the actual value at \(c\):
\[x\rightarrow c \quad\Rightarrow\quad f(x)\rightarrow f(c)\]
By the definition of a limit, this means
\[\lim_{x\rightarrow c}f(x)=f(c)\]
For the two-sided limit to exist, the left-hand and right-hand limits must be equal:
\[\lim_{x\rightarrow c^-}f(x)=\lim_{x\rightarrow c^+}f(x)\]
Combining this with the continuity condition gives
\[\boxed{\lim_{x\rightarrow c^-}f(x)=\lim_{x\rightarrow c^+}f(x)=f(c)}\]
This is the standard working criterion used in examination problems.
🗂️ Types of Discontinuity
If any condition of continuity fails at \(x=c\), the function is discontinuous there. Important types include:
Removable discontinuity
The limit exists and is finite, but either \(f(c)\) is undefined or \(f(c)\) is different from the limiting value.
\[\lim_{x\rightarrow c}f(x)=L,\qquad f(c)\neq L\]
or \(f(c)\) does not exist.
Jump discontinuity
The left-hand and right-hand limits exist and are finite but unequal:
\[\boxed{\lim_{x\rightarrow c^-}f(x)\neq\lim_{x\rightarrow c^+}f(x)}\]
Infinite discontinuity
The function becomes unbounded as \(x\) approaches the point. For example, a function containing a term such as
\[\frac{1}{x-c}\]
has an infinite-type discontinuity at \(x=c\).
⚡ Exam Tip
❌ Common Mistakes
  • Mistake 1: Checking only \(\lim_{x\rightarrow c^-}f(x)=\lim_{x\rightarrow c^+}f(x)\). This proves existence of the two-sided limit, not continuity.
  • Mistake 2: Forgetting to calculate \(f(c)\).
  • Mistake 3: Substituting \(x=c\) directly into an expression containing \(0/0\) and declaring the function discontinuous without evaluating the limit.
  • Mistake 4: Cancelling a factor and forgetting that the original function may still be undefined at the cancelled point.
  • Mistake 5: Using the wrong branch of a piecewise function to calculate \(f(c)\).
  • Mistake 6: Assuming that every function that looks smooth in a rough graph is mathematically continuous.
📋 CBSE Case Study / HOTS
Question: A function is defined by
\[ f(x)= \begin{cases} x^2+kx+1, & x<1,\\ 4, & x=1,\\ 2x+k, & x>1 \end{cases} \]

The function is required to be continuous at \(x=1\). Determine \(k\).

Solution:

For continuity at \(x=1\),

\[ \lim_{x\rightarrow1^-}f(x) = \lim_{x\rightarrow1^+}f(x) = f(1) \]

From the first branch,

\[ \lim_{x\rightarrow1^-}f(x) = 1+k+1 = k+2 \]

From the second branch,

\[ \lim_{x\rightarrow1^+}f(x) = 2+k \]

Also,

\[ f(1)=4 \]

Hence,

\[ k+2=4 \]

which gives

\[ \boxed{k=2} \]

The right-hand condition gives the same result:

\[ 2+k=4 \Rightarrow k=2 \]

Therefore, the function is continuous at \(x=1\) when

\[ \boxed{k=2} \]
🌟 Competitive Examination Insight

In competitive examinations, continuity questions often disguise the basic condition inside a more complicated expression. The fastest approach is to identify the critical point and reduce the question to the fundamental equality

\[boxed{\text{LHL}=\text{RHL}=f(c)}\]

For a piecewise function, do not attempt unnecessary algebra over the entire domain. Only the point where the definition changes generally requires special checking.

⚡ Quick Revision

For continuity at \(x=c\):

\[ \boxed{ f(c)\text{ exists} } \]
\[ \boxed{ \lim_{x\rightarrow c^-}f(x) = \lim_{x\rightarrow c^+}f(x) } \]
\[ \boxed{ \lim_{x\rightarrow c}f(x)=f(c) } \]

Therefore, the single most important examination criterion is

\[ \boxed{ \text{LHL}=\text{RHL}=f(c) } \]
🔑 Key Takeaway

Example 1

❓ Question
Check the continuity of the function \(f(x)=2x+3\) at \(x=1\).
💡 Concept
🧩 Solution
Given: Here,
\[f(x)=2x+3\]
and the point under consideration is \(x=1\).
  1. Find the value of the function at \(x=1\).
    \[f(1)=2(1)+3=5\]
  2. Find the limit as \(x\rightarrow1\).
    \[\begin{aligned}\lim_{x\rightarrow1}f(x)&=\lim_{x\rightarrow1}(2x+3)\\&=2(1)+3\\&=5\end{aligned}\]
  3. Therefore,
    \[\lim_{x\rightarrow1}f(x)=f(1)=5\]
  4. Hence, the continuity condition is satisfied.
    \[\boxed{\therefore f(x)=2x+3\text{ is continuous at }x=1.}\]
🌟 Significance
The function \(f(x)=2x+3\) is a linear polynomial function. Every polynomial function is continuous for all real values of \(x\). Hence, although the above verification is useful for understanding the definition, in a time-bound examination one may directly state that \(f(x)=2x+3\) is continuous on \(\mathbb{R}\).
🔑 Key Takeaway

Example 2

❓ Question
Examine whether the function $f(x)=x^2$ is continuous at \(x=0\).
💡 Concept
🧩 Solution
  1. Find the limit of the function as \(x\rightarrow0\).
    \[\begin{aligned}\lim_{x\rightarrow0}f(x)&=\lim_{x\rightarrow0}x^2\\&=0^2\\&=0\end{aligned}\]
  2. Find the actual value of the function at \(x=0\).
    \[f(0)=0^2=0\]
  3. Compare the limit with the function value.
    \lim_{x\rightarrow0}f(x)=0=f(0)
  4. Hence, the condition for continuity is satisfied.
    \[\boxed{\therefore f(x)=x^2\text{ is continuous at }x=0.}\]
👁️ Important Observation
⚡ Exam Tip

Example 3

❓ Question
Discuss the continuity of the function \(f(x)=|x|\) at \(x=0\).
💡 Concept
🧩 Solution
  1. Using the definition of the modulus function,
    \[f(x)=\begin{cases}-x, & x<0,\\x, & x\geq0\end{cases}\]
  2. Find the Left-Hand Limit When \(x\rightarrow0^-\), we have \(x<0\). Therefore, the appropriate branch is \(f(x)=-x\).
    \[\begin{aligned}\lim_{x\rightarrow0^-}f(x)&=\lim_{x\rightarrow0^-}(-x)\\&=-0\\&=0\end{aligned}\]
  3. Hence,
    \[\boxed{\lim_{x\rightarrow0^-}f(x)=0}\]
  4. Find the Right-Hand Limit When \(x\rightarrow0^+\), we have \(x>0\). Therefore, the appropriate branch is \(f(x)=x\).
    \[\begin{aligned}\lim_{x\rightarrow0^+}f(x)&=\lim_{x\rightarrow0^+}x\\&=0\end{aligned}\]
  5. Hence,
    \[\boxed{\lim_{x\rightarrow0^+}f(x)=0}\]
  6. Find the Function Value
    f(0)=|0|=0
  7. Thus,
    \boxed{f(0)=0
  8. Apply the Continuity Criterion We have
    \[\lim_{x\rightarrow0^-}f(x)=\lim_{x\rightarrow0^+}f(x)=f(0)=0\]
  9. Therefore, the left-hand limit, right-hand limit and actual value of the function are equal. Hence, the function satisfies the condition for continuity at \(x=0\).
    \boxed{\therefore f(x)=|x|\text{ is continuous at }x=0.}
🎨 SVG Diagram
Geometrical Insight
y = |x| x y 0 y = −x y = x
👁️ Observation
🌟 Significance

This example is particularly important because it illustrates a distinction between continuity and differentiability.

Although \(f(x)=|x|\) is continuous at \(x=0\), it is not differentiable at \(x=0\). The left-hand derivative and right-hand derivative are different:

\[f'_-(0)=-1\]

whereas

\[f'_+(0)=1.\]

Since

\[f'_-(0)\neq f'_+(0),\]

the function is not differentiable at \(x=0\).

Thus, this example gives the fundamental result:

\[\boxed{\text{Differentiability}\Rightarrow\text{Continuity}}\]

but

\[\boxed{\text{Continuity}\nRightarrow\text{Differentiability}}\]

This distinction is frequently tested in CBSE Board, JEE Main and other competitive entrance examinations.

⚡ Exam Tip
🔑 Key Takeaway

Example 4

❓ Question
how that the function \(f\) defined by
\[f(x)=\begin{cases}x^3+3, & x\neq0,\\1, & x=0\end{cases}\]
is not continuous at \(x=0\).
💡 Concept
🧩 Solution
Given: \(f(x)=\begin{cases}x^3+3, & x\neq0,\\1, & x=0\end{cases}\)
Part (a)
  1. Find the Left-Hand Limit For \(x\neq0\), the function is given by \(x^3+3\). Therefore,
    \[\begin{aligned}\lim_{x\rightarrow0^-}f(x)&=\lim_{x\rightarrow0^-}(x^3+3)\\&=0^3+3\\&=3\end{aligned}\]
  2. Hence,
    \[\boxed{\lim_{x\rightarrow0^-}f(x)=3}\]
  3. Find the Right-Hand Limit
    \[\begin{aligned}\lim_{x\rightarrow0^+}f(x)&=\lim_{x\rightarrow0^+}(x^3+3)\\&=0^3+3\\&=3\end{aligned}\]
  4. Hence,
    \[\boxed{\lim_{x\rightarrow0^+}f(x)=3}\]
  5. Since the two one-sided limits are equal, the two-sided limit exists:
    \[\boxed{\lim_{x\rightarrow0}f(x)=3}\]
  6. Find the Actual Value \(f(0)\) From the second part of the definition,
    \[\boxed{f(0)=1}\]
  7. Apply the Continuity Criterion We have
    \[\lim_{x\rightarrow0^-}f(x)=\lim_{x\rightarrow0^+}f(x)=3\]
  8. but
    \[f(0)=1\]
  9. Therefore,
    \[\lim_{x\rightarrow0}f(x)\neq f(0)\]
  10. Hence, the function fails the necessary condition for continuity at \(x=0\).
    \[\boxed{\therefore f(x)\text{ is not continuous at }x=0.}\]
📌 Nature of the Discontinuity
🎨 SVG Diagram
Graphical Interpretation
Removable Discontinuity x y 0 (0, 3) (0, 1) y = x³ + 3
👁️ Important Observation
⚡ Exam Tip
🌟 Significance
Competitive Exam Insight

This example is a standard model for questions in which the value of a function at one point has been deliberately changed. Such questions may ask you to:

  • determine whether the function is continuous;
  • identify the type of discontinuity;
  • find the value that should replace \(f(0)\) to make the function continuous;
  • determine an unknown parameter so that the function becomes continuous.

For the present function, the value required to make it continuous is

\[ \boxed{f(0)=3}. \]
⚡ Quick Revision
Quantity Value
Left-hand limit \(3\)
Right-hand limit \(3\)
Two-sided limit \(3\)
Function value \(1\)
Continuity condition Not satisfied
Type of discontinuity Removable

Hence,

\[\boxed{\lim_{x\rightarrow0^-}f(x)=\lim_{x\rightarrow0^+}f(x)\neq f(0)}\]

and therefore \(f\) is not continuous at \(x=0\).

Eample 5

❓ Question
Check the points where the constant function \(f(x)=k\) is continuous, where \(k\) is a constant real number.
💡 Concept
🧩 Solution
Given: f(x)=k,\qquad k\in\mathbb{R}.
  1. The function is defined for every real number. Let \(c\) be any arbitrary real number. Find the limit at \(x=c\).
    \[\begin{aligned}\lim_{x\rightarrow c}f(x)&=\lim_{x\rightarrow c}k\\&=k\end{aligned}\]
  2. Find the actual value of the function at \(x=c\).
    \[f(c)=k\]
  3. Compare the limit with the function value.
    \[\lim_{x\rightarrow c}f(x)=k=f(c)\]
  4. Hence, the condition for continuity is satisfied for every real number \(c\).
    \[\boxed{\therefore f(x)=k\text{ is continuous at every }x\in\mathbb{R}.}\]
🎨 SVG Diagram
Graphical Interpretation

The graph of a constant function \(f(x)=k\) is the horizontal straight line \(y=k\). There is no break, jump or hole anywhere on the graph. Hence, the function is continuous throughout its domain.

Continuous for Every x (y = k) x y 0 k y = k
👁️ Important Observation
🌟 Significance

This result is useful when continuity is combined with other concepts. If a problem contains a constant function, there is no need to calculate separate limits at individual points. The continuity follows immediately from the standard result:

\[\boxed{\text{Every constant function is continuous on its domain.}}\]

Also note that a constant function is not only continuous but differentiable at every real number, with derivative

\[\boxed{f'(x)=0.}\]

This provides an elementary example of the important implication

\[\boxed{\text{Differentiability}\Rightarrow\text{Continuity}.}\]
⚡ Exam Tip
⚡ Quick Revision
\[f(x)=k\]
\[\lim_{x\rightarrow c}f(x)=k\]
\[f(c)=k\]
\[\boxed{\lim_{x\rightarrow c}f(x)=f(c)}\]

Therefore,

\[\boxed{f(x)=k\text{ is continuous for all }x\in\mathbb{R}.}\]

Continuity of a Function on Its Domain

📘 Definition
🗂️ Types / Category
Continuity on a Closed Interval \([a,b]\)
Suppose \(f\) is defined on the closed interval \([a,b]\). For \(f\) to be continuous on \([a,b]\), it must be continuous at every point of the interval, including the two endpoints \(a\) and \(b\).

For every interior point \(c\in(a,b)\), the usual two-sided continuity condition applies:
\[\boxed{\lim_{x\rightarrow c}f(x)=f(c)}\]
Equivalently,
\[\boxed{\lim_{x\rightarrow c^-}f(x)=\lim_{x\rightarrow c^+}f(x)=f(c)}\]
However, the situation is different at the endpoints because the domain does not extend beyond the interval.
Continuity at the Left Endpoint \(x=a\)
At \(x=a\), there are no points of the domain to the left of \(a\). Therefore, the ordinary two-sided limit \(\lim_{x\rightarrow a}f(x)\) is not the appropriate condition for continuity relative to the domain.

Only values of \(x\) belonging to the interval \([a,b]\) can approach \(a\), and these values approach \(a\) from the right. Hence, \(f\) is continuous at \(a\) if
\[\boxed{\lim_{x\rightarrow a^+}f(x)=f(a)}\]
This is called right-hand continuity at \(a\).
Continuity at the Right Endpoint \(x=b\)
Similarly, there are no points of the domain to the right of \(b\). Therefore, \(b\) can be approached from within the domain only from the left.

Hence, \(f\) is continuous at \(b\) if
\[\boxed{\lim_{x\rightarrow b^-}f(x)=f(b)}\]
This is called left-hand continuity at \(b\).
Complete Criterion for Continuity on \([a,b]\)
A function \(f\) defined on \([a,b]\) is continuous on the entire closed interval if and only if:
\[\boxed{\lim_{x\rightarrow a^+}f(x)=f(a)}\]
and
\[\boxed{\lim_{x\rightarrow c}f(x)=f(c),\qquad c\in(a,b)}\]
and
\[\boxed{\lim_{x\rightarrow b^-}f(x)=f(b)}\]
Therefore, a compact way of remembering the condition is:
\[ \boxed{ \begin{aligned} &\text{At }a:\quad \text{RHL}=f(a),\\ &\text{At }c\in(a,b):\quad \text{LHL}=\text{RHL}=f(c),\\ &\text{At }b:\quad \text{LHL}=f(b). \end{aligned} } \]
🤔 Did You Know?
Why Are Two-Sided Limits Not Used at the Endpoints?
Consider a function whose domain is exactly \([a,b]\). For a two-sided limit at \(a\), we would need values of \(f(x)\) for \(x
Similarly, a two-sided limit at \(b\) would require values of \(f(x)\) for \(x>b\), which are also outside the domain.

Thus, when discussing continuity of a function on its domain, the correct endpoint conditions are one-sided:
\[\boxed{\lim_{x\rightarrow a^+}f(x)=f(a)}\]
\[\boxed{\lim_{x\rightarrow b^-}f(x)=f(b)}\]
This is an important distinction when solving questions involving closed or half-open intervals.
📌 Continuity on an Open Interval
📌 Continuity on a Half-Open Interval
🌟 Important Note About the Domain
✏️ Example
Continuity on a Closed Interval
Consider
\[f(x)=x^2,\qquad x\in[0,2]\]
The function is continuous at every interior point \(c\in(0,2)\) because
\[\lim_{x\rightarrow c}x^2=c^2=f(c)\]
At the left endpoint \(x=0\),
\[\lim_{x\rightarrow0^+}x^2=0=f(0)\]
At the right endpoint \(x=2\),
\[\lim_{x\rightarrow2^-}x^2=4=f(2)\]
Therefore,
\[\boxed{f(x)=x^2\text{ is continuous on }[0,2]}\]
Special Case: A Singleton Domain
An interesting consequence of the definition is that a function whose domain contains only one point is automatically continuous.

Suppose
\[D_f=\{c\}\]
and
\[f(c)=k\]
Since \(c\) is the only point in the domain, there are no other domain points from which \(x\) can approach \(c\). Consequently, the function has no possibility of exhibiting a break, jump or hole within its domain.

Hence, a function defined on a singleton domain is continuous at its only point.
\[\boxed{D_f=\{c\}\quad\Longrightarrow\quad f\text{ is continuous on }D_f}\]
💡 Conceptual Insight
❌ Common Mistakes

A frequent error is to write

\[\lim_{x\rightarrow a}f(x)=f(a)\]
at the left endpoint of a function defined only on \([a,b]\), or
\[\lim_{x\rightarrow b}f(x)=f(b)\]
at the right endpoint. For continuity on the domain \([a,b]\), the correct endpoint conditions are

\[\boxed{\lim_{x\rightarrow a^+}f(x)=f(a)}\]
and
\[\boxed{\lim_{x\rightarrow b^-}f(x)=f(b).}\]
🗒️ CBSE and Competitive Exam Insight
Questions involving continuity on intervals frequently test whether the student understands the difference between interior-point continuity and endpoint continuity. For a function defined on \([a,b]\), remember the examination roadmap:
  1. Check right-hand continuity at \(a\).
  2. Check ordinary two-sided continuity at every \(c\in(a,b)\).
  3. Check left-hand continuity at \(b\).
This distinction is particularly useful in questions involving piecewise functions, parameters, closed intervals and applications of continuity.
⚡ Quick Revision
For \(f\) defined on \([a,b]\):
\[ \boxed{ \begin{aligned} x=a &: \quad \lim_{x\rightarrow a^+}f(x)=f(a),\\[4pt] a < x < b &: \quad \lim_{x\rightarrow x_0}f(x)=f(x_0),\\[4pt] x=b &: \quad \lim_{x\rightarrow b^-}f(x)=f(b). \end{aligned} } \]
Hence,
\[\boxed{f\text{ is continuous on }[a,b]}\]
if it is continuous at every interior point and satisfies the appropriate one-sided continuity condition at both endpoints.
🔑 Key Takeaway

Example 6

❓ Question
Is the function
\[f(x)=|x|\]
a continuous function?
💡 Concept
🧩 Solution
  1. The domain of \(f(x)=|x|\) is \(\mathbb{R}\).
    \[\boxed{\operatorname{Domain}(f)=\mathbb{R}}\]
  2. We consider three cases:
    1. \(c<0\)
    2. \(c=0\)
    3. \(c>0\)
  3. Case 1: \(c<0\) Let \(c\) be any negative real number. Since \(c<0\), there exists a neighbourhood of \(c\) lying entirely in the negative real numbers. Therefore, near \(c\),
    \[f(x)=-x\]
  4. The value of the function at \(x=c\) is
    \[f(c)=-c\]
  5. Now,
    \[\begin{aligned}\lim_{x\rightarrow c}f(x)&=\lim_{x\rightarrow c}(-x)\\&=-c\end{aligned}\]
  6. Therefore,
    \[\lim_{x\rightarrow c}f(x)=-c=f(c)\]
  7. Hence, \(f\) is continuous at every negative real number \(c\).
    \[\boxed{f\text{ is continuous at every }c<0.}\]
  8. Case 2: \(c=0\) At \(x=0\), the formula defining the modulus function changes. Therefore, this point requires separate consideration.<br<br> From the definition of the modulus function,
    \[f(x)=\begin{cases}-x, & x<0,\\x, & x\geq0\end{cases}\]
  9. The left-hand limit is
    \[\lim_{x\rightarrow0^-}f(x)=\lim_{x\rightarrow0^-}(-x)=0\]
  10. The right-hand limit is
    \[\lim_{x\rightarrow0^+}f(x)=\lim_{x\rightarrow0^+}x=0\]
  11. Also,
    \[f(0)=|0|=0\]
  12. Hence,
    \[\boxed{\lim_{x\rightarrow0^-}f(x)=\lim_{x\rightarrow0^+}f(x)=f(0)=0}\]
  13. Therefore, \(f\) is continuous at \(x=0\).
  14. Case 3: \(c>0\) Let \(c\) be any positive real number. Since \(c>0\), there exists a neighbourhood of \(c\) lying entirely in the positive real numbers. Therefore, near \(c\),
    \[f(x)=x\]
  15. The value of the function at \(x=c\) is
    \[f(c)=c.\]
  16. Hence,
    \[\begin{aligned}\lim_{x\rightarrow c}f(x)&=\lim_{x\rightarrow c}x\\&=c\\&=f(c)\end{aligned}\]
  17. Therefore, \(f\) is continuous at every positive real number.
    \[\boxed{f\text{ is continuous at every }c>0.}\]
  18. Conclusion We have shown that:
    \[ \boxed{ \begin{aligned} c<0 &: \quad f\text{ is continuous at }c,\\ c=0 &: \quad f\text{ is continuous at }c,\\ c>0 &: \quad f\text{ is continuous at }c. \end{aligned} } \]
  19. Thus, \(f(x)=|x|\) is continuous at every real number.
    \boxed{\therefore f(x)=|x|\text{ is continuous on }\mathbb{R}.}
🎨 SVG Diagram
Graphical Interpretation

The graph of \(y=|x|\) consists of two straight-line portions, \(y=-x\) for \(x<0\) and \(y=x\) for \(x\geq0\). The two portions meet at \((0,0)\), with no gap or jump.

y = |x| x y 0 y = −x y = x
👁️ Important Observation
🔗 Important Connection with Differentiability
The function \(f(x)=|x|\) provides a particularly important example in the study of continuity and differentiability.

Although \(f(x)=|x|\) is continuous for every real number, it is not differentiable at \(x=0\).
For \(x<0\), f'(x)=-1 whereas for \(x>0\),
\[f'(x)=1\]
Consequently, at \(x=0\),
\[f'_-(0)=-1\]
and
\[f'_+(0)=1\]
Since
\[f'_-(0)\neq f'_+(0)\]
\(f'(0)\) does not exist.

Thus, this example demonstrates the fundamental relationship:
\[\boxed{\text{Differentiability implies continuity}}\]
but
\[\boxed{\text{Continuity does not necessarily imply differentiability}}\]
🌟 Competitive Examination Insight

In JEE and other entrance examinations, a question may ask whether a function involving \(|x|\) is continuous or differentiable. Do not confuse the two properties.

For \(f(x)=|x|\):

\[\boxed{\text{Continuous on }\mathbb{R}}\]

but

\[\boxed{\text{Not differentiable at }x=0.}\]

The point \(x=0\) is therefore a classic example of a function being continuous but not differentiable.

⚡ Exam Tip
⚡ Quick Revision
\[|x|=\begin{cases}-x,&x<0,\\x,&x\geq0.\end{cases}\]

For \(c<0\):

\[\lim_{x\rightarrow c}f(x)=-c=f(c).\]

For \(c=0\):

\[\lim_{x\rightarrow0^-}f(x)=\lim_{x\rightarrow0^+}f(x)=f(0)=0.\]

For \(c>0\):

\[\lim_{x\rightarrow c}f(x)=c=f(c).\]

Therefore,

\[\boxed{f(x)=|x|\text{ is continuous for every }x\in\mathbb{R}.}\]
🔑 Key Takeaway

Example 7

❓ Question
Discuss the continuity of the function
\[f(x)=x^3+x^2-1\]
🗒️ Concpet
A function \(f\) is continuous at \(x=c\) if
\[\boxed{\lim_{x\rightarrow c}f(x)=f(c)}\]
Since the given function is a polynomial, we can use the standard result:
\[\boxed{\text{Every polynomial function is continuous on }\mathbb{R}.}\]
However, we can also verify the result directly from the definition of continuity.
🧩 Solution
Given:
\[f(x)=x^3+x^2-1\]
  1. The function is defined for every real number \(c\), because polynomial expressions are defined for all real values of \(x\). Therefore,
    \[\boxed{\operatorname{Domain}(f)=\mathbb{R}}\]
  2. Let \(c\) be any real number. Then the value of the function at \(x=c\) is
    \[f(c)=c^3+c^2-1\]
  3. Now, consider the limit as \(x\rightarrow c\):
    \[ \begin{aligned} \lim_{x\rightarrow c}f(x) &=\lim_{x\rightarrow c}(x^3+x^2-1)\\ &=\lim_{x\rightarrow c}x^3 +\lim_{x\rightarrow c}x^2 -\lim_{x\rightarrow c}1\\ &=c^3+c^2-1. \end{aligned} \]
  4. Thus,
    \[\lim_{x\rightarrow c}f(x)=c^3+c^2-1=f(c)\]
  5. Since \(c\) was an arbitrary real number, the continuity condition is satisfied at every real number.
    \[\boxed{\therefore f(x)=x^3+x^2-1\text{ is continuous for every }x\in\mathbb{R}.}\]
🤔 Did You Know?
Why Is the Polynomial Continuous?
The continuity follows from the elementary limit laws:
\[ \lim_{x\rightarrow c}x^n=c^n, \qquad n\in\mathbb{N} \]
Therefore,
\[\lim_{x\rightarrow c}x^3=c^3\]
and
\[\lim_{x\rightarrow c}x^2=c^2.\]
Using the sum and difference laws of limits gives
\[\lim_{x\rightarrow c}(x^3+x^2-1)=c^3+c^2-1\]
This is exactly the value of the function at \(x=c\)
🎨 SVG Diagram
Geometrical Interpretation

The graph of a polynomial is a continuous curve over the entire real line. There are no excluded points, denominator restrictions, holes or breaks in the graph of

\[y=x^3+x^2-1\]

Thus, the graph can be traced continuously from left to right without lifting the pencil.

Continuous on ℝ x y 0 y = x³ + x² − 1
👁️ Important Observation
🌟 Competitive Examination Insight
For competitive examinations, recognizing standard continuous functions can save considerable time. If the function is a polynomial such as
\[ 2x^5-7x^3+x-9, \]
then there is no need to calculate LHL and RHL at individual points. It is continuous everywhere on \(\mathbb{R}\). Thus, the following standard result should be memorised:
\[ \boxed{\text{Polynomial}\Rightarrow\text{continuous on }\mathbb{R}} \]
Similarly, if
\[ f(x)=\frac{p(x)}{q(x)}, \]
where \(p\) and \(q\) are polynomials, then \(f\) is continuous at every point where \(q(x)\neq0\).
⚡ Exam Tip
❌ Common Mistakes

Students sometimes calculate the limit at only one particular value of \(x\) and conclude that the function is continuous everywhere. To prove continuity on \(\mathbb{R}\) directly from the definition, \(c\) must be treated as an arbitrary real number.

Here, taking \(c\in\mathbb{R}\) arbitrarily gives

\[ \lim_{x\rightarrow c}f(x)=f(c), \]

which establishes continuity at every point.

⚡ Quick Revision
\[ f(x)=x^3+x^2-1 \]
\[ f(c)=c^3+c^2-1 \]
\[ \begin{aligned} \lim_{x\rightarrow c}f(x) &=\lim_{x\rightarrow c}(x^3+x^2-1)\\ &=c^3+c^2-1\\ &=f(c) \end{aligned} \]

Therefore,

\[ \boxed{ f(x)=x^3+x^2-1 \text{ is continuous at every }c\in\mathbb{R}. } \]
🔑 Key Takeaway

Example 8

❓ Question
Discuss the continuity of the function \(f\) defined by
\[f(x)=\frac{1}{x},\qquad x\neq0\]
💡 Concept
🧩 Solution
Given:
\[f(x)=\frac{1}{x},\quad x\neq0.\]
  1. Find the Limit Let \(c\) be any non-zero real number. Thus, \(c\in\mathbb{R}\setminus\{0\}\).
    Using the standard limit law for a reciprocal function,
    \[ \begin{aligned} \lim_{x\rightarrow c}f(x) &=\lim_{x\rightarrow c}\frac{1}{x}\\ &=\frac{1}{c}, \end{aligned} \]
  2. because \(c\neq0\)<br><br>Thus,
    \[\boxed{\lim_{x\rightarrow c}f(x)=\frac{1}{c}}.\]
  3. Find the Function Value Since \(c\neq0\), \(c\) belongs to the domain of \(f\). Therefore,
    \[f(c)=\frac{1}{c}\]
  4. Hence,
    \[\boxed{f(c)=\frac{1}{c}} \]
  5. Apply the Continuity Criterion We obtain
    \[\lim_{x\rightarrow c}f(x)=\frac{1}{c}=f(c)\]
  6. Therefore, \(f\) is continuous at \(x=c\)
    Since \(c\) was an arbitrary non-zero real number, the function is continuous at every point of its domain.
    \[ \boxed{ f(x)=\frac{1}{x} \text{ is continuous on } \mathbb{R}\setminus\{0\} } \]
  7. What Happens at \(x=0\)? The point \(x=0\) requires special attention. The function is not defined there because division by zero is not defined:
    \[f(0)=\frac{1}{0}\]
    📝 does not exist.
  8. Moreover, as \(x\) approaches \(0\) from the two sides, the function becomes unbounded:
    \[\lim_{x\rightarrow0^-}\frac{1}{x}=-\infty\]
    and
    \[\lim_{x\rightarrow0^+}\frac{1}{x}=+\infty.\]
    📝 Thus, the two-sided finite limit does not exist at \(x=0\), and \(f(0)\) is also undefined.
  9. Therefore, \(x=0\) is not a point of the domain and the function is not continuous there.
    \[\boxed{x=0\text{ is excluded from the domain of }f}\]
🎨 SVG Diagram
Graphical Interpretation
y = 1/x (Continuous on x ≠ 0) x y 0 x = 0 (Asymptote) y = 1/x
👁️ Important Observation
📌 General Result for Rational Functions
🌟 Competitive Examination Insight
For continuity questions involving rational functions, the fastest approach is to identify the zeros of the denominator. These are the only possible points where continuity can fail.

For example, consider
\[f(x)=\frac{x^2+1}{x^2-9}\]
The denominator is zero when
\[\begin{aligned}x^2-9&=0\\x&=\pm3\end{aligned}\]
Hence, \(f\) is continuous on
\[\boxed{\mathbb{R}\setminus\{-3,3\}}\]
This principle is frequently useful in JEE Main, JEE Advanced and other competitive entrance examinations.
⚡ Exam Tip
❌ Common Mistakes
  • Mistake 1: Writing \(f(0)=1/0\). This value is undefined.
  • Mistake 2: Claiming that \(1/x\) is continuous everywhere on \(\mathbb{R}\).
  • Mistake 3: Forgetting to state the domain.
  • Mistake 4: Treating \(x=0\) as an ordinary point of continuity even though it is not in the domain.
⚡ Quick Revision
\[ f(x)=\frac{1}{x} \]
\[ \operatorname{Domain}(f)=\mathbb{R}\setminus\{0\} \]

For any \(c\neq0\),

\[ \lim_{x\rightarrow c}\frac{1}{x} = \frac{1}{c} = f(c). \]

Therefore,

\[ \boxed{ f(x)=\frac{1}{x} \text{ is continuous at every }c\neq0. } \]

Hence,

\[ \boxed{ f(x)=\frac{1}{x} \text{ is continuous on }\mathbb{R}\setminus\{0\}. } \]
🔑 Key Takeaway

Example 9

❓ Question
Discuss the continuity of the function \(f\) defined by
\[ f(x)= \begin{cases} x+2, & x\leq1,\\ x-2, & x>1. \end{cases} \]
💡 Concept
🧩 Solution
  1. We consider three cases.
    1. \(c<1\)
    2. \(c>1\)
    3. \(c=1\)
  2. Case 1: \(c<1\) Let \(c\) be any real number such that \(c<1\).
    Since \(c<1\), the first branch of the function applies in a neighbourhood of \(c\):
    \[f(x)=x+2\]
  3. Therefore,
    \[f(c)=c+2\]
  4. Now,
    \[\begin{aligned}\lim_{x\rightarrow c}f(x)&=\lim_{x\rightarrow c}(x+2)\\&=c+2\end{aligned}\]
  5. Hence,
    \[\lim_{x\rightarrow c}f(x)=c+2=f(c)\]
  6. Therefore, \(f\) is continuous at every \(c<1\)
    \[\boxed{f\text{ is continuous on }(-\infty,1)}\]
  7. Case 2: \(c>1\) Let \(c\) be any real number such that \(c>1\).
    In a neighbourhood of \(c\), the second branch applies:
    \[f(x)=x-2\]
  8. Thus,
    \[f(c)=c-2\]
  9. Also,
    \[\begin{aligned}\lim_{x\rightarrow c}f(x)&=\lim_{x\rightarrow c}(x-2)\\&=c-2\end{aligned}\]
  10. Therefore,
    \[\lim_{x\rightarrow c}f(x)=c-2=f(c)\]
  11. Hence, \(f\) is continuous at every \(c>1\).
    \[\boxed{f\text{ is continuous on }(1,\infty)}\]
  12. Case 3: \(c=1\) Since the definition of \(f\) changes at \(x=1\), we must calculate the left-hand limit, right-hand limit and the actual function value separately.
    Left-Hand Limit at \(x=1\). For \(x\leq1\),
    \[f(x)=x+2\]
  13. Therefore,
    \[\begin{aligned}\lim_{x\rightarrow1^-}f(x)&=\lim_{x\rightarrow1^-}(x+2)\\&=1+2\\&=3\end{aligned}\]
  14. Thus,
    \[\boxed{\lim_{x\rightarrow1^-}f(x)=3}\]
  15. Right-Hand Limit at \(x=1\). For \(x>1\),
    \[f(x)=x-2\]
  16. Hence,
    \[\begin{aligned}\lim_{x\rightarrow1^+}f(x)&=\lim_{x\rightarrow1^+}(x-2)\\&=1-2\\&=-1\end{aligned}\]
  17. Thus,
    \[\boxed{\lim_{x\rightarrow1^+}f(x)=-1}\]
  18. Find \(f(1)\).
    Since the first branch contains \(x=1\), we use
    \[f(x)=x+2,\qquad x\leq1\]
  19. Therefore,
    \[f(1)=1+2=3\]
  20. Hence,
    \[\boxed{f(1)=3}\]
  21. Apply the Continuity Criterion At \(x=1\), we have
    \[\lim_{x\rightarrow1^-}f(x)=3\]
    and
    \[\lim_{x\rightarrow1^+}f(x)=-1\]
  22. Since
    \[3\neq-1\]
    📝 the left-hand and right-hand limits are unequal. Therefore, the two-sided limit does not exist:
    \[\boxed{\lim_{x\rightarrow1}f(x)\text{ does not exist}}\]
  23. Consequently, the function cannot be continuous at \(x=1\)
    \[\boxed{f\text{ is discontinuous at }x=1.}\]
Final Conclusion

The function is continuous for all real numbers except \(x=1\).

\[\boxed{f(x)\text{ is continuous on }(-\infty,1)\cup(1,\infty)}\]

and

\[\boxed{f(x)\text{ is discontinuous at }x=1.}\]
🎨 SVG Diagram
Graphical Interpretation

For \(x\leq1\), the graph is the straight line \(y=x+2\), ending at the included point \((1,3)\). For \(x>1\), the graph is the straight line \(y=x-2\), approaching the excluded point \((1,-1)\).

The two branches do not meet at \(x=1\), producing a jump discontinuity.

Jump Discontinuity at x = 1 x y 0 1 (1, 3) (1, −1) y = x + 2 y = x − 2
👁️ Observation
Important Observation About the Boundary \(x=1\)
🗺️ Continuity Roadmap for Piecewise Functions
  1. Determine the domain.

  2. Identify all points where the defining formula changes.

  3. At points away from the boundaries, use the relevant branch and verify continuity if required.

  4. At each boundary point, calculate the LHL and RHL separately.

  5. Calculate the actual value \(f(c)\).

  6. Apply the condition

    \[ \boxed{\text{LHL}=\text{RHL}=f(c)}. \]

🌟 Competitive Examination Insight
This type of function is particularly important for parameter-based continuity problems. Suppose the function were written as
\[f(x)=\begin{cases}x+2,&x\leq1,\\x+k,&x>1\end{cases}\]
For continuity at \(x=1\), we would require
\[\lim_{x\rightarrow1^-}f(x)=\lim_{x\rightarrow1^+}f(x)=f(1)\]
Thus,
\[3=1+k\]
giving
\[\boxed{k=2}\]
This is the standard technique used in many CBSE, JEE Main and other entrance-examination questions involving an unknown parameter.
⚡ Exam Tip
❌ Common Mistakes
  • Calculating \(f(1)\) from \(x-2\). This is incorrect because the condition for the second branch is \(x>1\).
  • Checking only \(f(1)=3\) and the left-hand limit. The right-hand limit must also be checked.
  • Saying that the function is discontinuous everywhere because it is piecewise defined. Each individual branch is continuous on its own interval.
  • Forgetting that unequal LHL and RHL immediately imply that the two-sided limit does not exist.
  • Calling this a removable discontinuity. Since the LHL and RHL are unequal, the discontinuity is a jump discontinuity.
⚡ Quick Revision
Point/Interval Function Used Continuity
\(x<1\) \(x+2\) Continuous
\(x=1\) \(f(1)=3\) Discontinuous
\(x>1\) \(x-2\) Continuous

Example 10

❓ Question
Discuss the continuity of the function defined by
\[f(x)=\begin{cases}x+2, & x<0,\\-x+2, & x>0\end{cases}\]
💡 Concept
🧩 Solution
  1. We consider two cases according to the two intervals in the definition

    Case 1: \(c<0\)
    Let \(c\) be any real number such that \(c<0\).
    In a neighbourhood of \(c\), the function is given by
    \[f(x)=x+2\]
  2. Therefore,
    \[f(c)=c+2\]
  3. Now,
    \[\begin{aligned}\lim_{x\rightarrow c}f(x)&=\lim_{x\rightarrow c}(x+2)\\&=c+2\\&=f(c)\end{aligned}\]
  4. Hence, \(f\) is continuous at every negative real number.
    \[\boxed{f\text{ is continuous on }(-\infty,0)}\]
  5. Case 2: \(c>0\) Let \(c\) be any real number such that \(c>0\).
    In a neighbourhood of \(c\), the function is given by
    \[f(x)=-x+2\]
  6. Therefore,
    \[f(c)=-c+2\]
  7. Now,
    \[\begin{aligned}\lim_{x\rightarrow c}f(x)&=\lim_{x\rightarrow c}(-x+2)\\&=-c+2\\&=f(c)\end{aligned}\]
  8. Hence, \(f\) is continuous at every positive real number.
    \[\boxed{f\text{ is continuous on }(0,\infty)}\]
  9. What Happens at \(x=0\)? The function is not defined at \(x=0\), because neither condition \(x<0\) nor \(x>0\) includes \(0\).
    \[\boxed{f(0)\text{ does not exist}}\]
  10. Therefore, strictly speaking, we do <strong>not</strong> test continuity at \(x=0\) usin
    \[\lim_{x\rightarrow0}f(x)=f(0)\]
  11. because \(f(0)\) is not defined.
    Nevertheless, examining the limiting behaviour at \(x=0\) reveals an important property of the function.
  12. Left-Hand Limit at \(x=0\) For \(x<0\),
    \[f(x)=x+2\]
  13. Therefore,
    \[\begin{aligned}\lim_{x\rightarrow0^-}f(x)&=\lim_{x\rightarrow0^-}(x+2)\\&=2.\end{aligned}\]
  14. Hence,
    \[\boxed{\lim_{x\rightarrow0^-}f(x)=2}\]
  15. Right-Hand Limit at \(x=0\) For \(x>0\),
    \[f(x)=-x+2\]
  16. Therefore,
    \[\begin{aligned}\lim_{x\rightarrow0^+}f(x)&=\lim_{x\rightarrow0^+}(-x+2)\\&=2\end{aligned}\]
  17. Hence,
    \[\boxed{\lim_{x\rightarrow0^+}f(x)=2}\]
  18. Since the two one-sided limits are equal, the two-sided limit exists:
    \[\boxed{\lim_{x\rightarrow0}f(x)=2}\]
🎨 SVG Diagram
Graphical Interpretation
Removable Discontinuity (Hole at x = 0) x y 0 2 (0, 2) y = x + 2 y = −x + 2
👁️ Important Observation
🗒️ Continuity Vs. Limit At An Excluded Point

This example is particularly useful for distinguishing a limit from continuity. The limit

\[ \lim_{x\rightarrow0}f(x) \]
exists and equals \(2\), but the function is not defined at \(0\). Therefore, we cannot conclude that \(f\) is continuous at \(0\), because continuity requires the function to be defined at the point.
\[ \boxed{ \text{Existence of }\lim_{x\rightarrow c}f(x) \text{ alone does not imply continuity at }c. } \]
For continuity at \(c\), all three requirements must be satisfied:
\[ \boxed{ \begin{aligned} &f(c)\text{ exists},\\ &\lim_{x\rightarrow c}f(x)\text{ exists},\\ &\lim_{x\rightarrow c}f(x)=f(c). \end{aligned} } \]
🌟 Competitive Examination Insight
This is a common pattern in entrance examinations: a function may be defined on \(\mathbb{R}\setminus\{c\}\), while the limit at \(c\) exists. A question may then ask for the value that should be assigned at \(c\) to make the function continuous. The required value is simply the limiting value:
\[ \boxed{ f(c)=\lim_{x\rightarrow c}f(x). } \]
For this example,
\[ \boxed{ f(0)=\lim_{x\rightarrow0}f(x)=2. } \]
⚡ Exam Tip
❌ Common Mistakes
  • Writing \(f(0)=2\) for the original function. The original function does not define \(f(0)\).
  • Calling the original function discontinuous at \(0\) without mentioning that \(0\notin\operatorname{Domain}(f)\).
  • Assuming that the existence of the limit automatically means continuity.
  • Forgetting to calculate both one-sided limits at the point where the formula changes.
  • Calling the discontinuity a jump discontinuity. Here the LHL and RHL are equal, so the missing point is removable.
🗒️ Quck Revision
Point/Interval Relevant Expression Result
\(c<0\) \(x+2\) Continuous
\(c=0\) Function undefined Not in the domain
\(c>0\) \(-x+2\) Continuous
\(\lim_{x\rightarrow0^-}f(x)\) \(x+2\) \(2\)
\(\lim_{x\rightarrow0^+}f(x)\) \(-x+2\) \(2\)
\(\lim_{x\rightarrow0}f(x)\) Both sides equal \(2\)

Example 11

❓ Question
Discuss the continuity of the function \(f\) defined by
\[f(x)=\begin{cases}x, & x\geq0,\\x^2, & x<0\end{cases}\]
💡 Concept
🧩 Solution
  1. We examine three cases:
    1. \(c>0\)
    2. \(c<0\)
    3. \(c=0\)
    Case 1: \(c>0\)
    Let \(c\) be any positive real number. Since \(c>0\), the first branch applies in a neighbourhood of \(c\):
    f(x)=x
  2. Therefore,
    \[f(c)=c\]
  3. Now,
    \[\begin{aligned}\lim_{x\rightarrow c}f(x)&=\lim_{x\rightarrow c}x\\&=c\\&=f(c)\end{aligned}\]
  4. Hence, \(f\) is continuous at every positive real number.
    \[\boxed{f\text{ is continuous on }(0,\infty)}\]
  5. Case 2: \(c<0\) Let \(c\) be any negative real number. Since \(c<0\), the second branch applies in a neighbourhood of \(c\):
    \[f(x)=x^2\]
  6. Therefore,
    \[f(c)=c^2\]
  7. Now,
    \[\begin{aligned}\lim_{x\rightarrow c}f(x)&=\lim_{x\rightarrow c}x^2\\&=c^2\\&=f(c)\end{aligned}\]
  8. Hence, \(f\) is continuous at every negative real number.
    \[\boxed{f\text{ is continuous on }(-\infty,0).}\]
  9. Case 3: \(c=0\) Since the defining formula changes at \(x=0\), we must calculate the left-hand limit, right-hand limit and the actual value \(f(0)\) separately.
    Left-Hand Limit. For \(x < 0\),
    \[f(x)=x^2\]
  10. Therefore,
    \[\begin{aligned}\lim_{x\rightarrow0^-}f(x)&=\lim_{x\rightarrow0^-}x^2\\&=0^2\\&=0\end{aligned}\]
  11. Hence,
    \[\boxed{\lim_{x\rightarrow0^-}f(x)=0}\]
  12. Right-Hand Limit For \(x\geq0\)
    \[f(x)=x\]
  13. Therefore,
    \[\begin{aligned}\lim_{x\rightarrow0^+}f(x)&=\lim_{x\rightarrow0^+}x\\&=0\end{aligned}\]
  14. Hence,
    \[\boxed{\lim_{x\rightarrow0^+}f(x)=0}\]
  15. Since the two one-sided limits are equal, the two-sided limit exists:
    \[\boxed{\lim_{x\rightarrow0}f(x)=0}\]
  16. Find \(f(0)\) The first branch contains \(x=0\), because its condition is \(x\geq0\). Therefore,
    \[f(0)=0\]
  17. Thus,
    \[\boxed{f(0)=0}\]
  18. Apply the Continuity Criterion We have
    \[\lim_{x\rightarrow0^-}f(x)=\lim_{x\rightarrow0^+}f(x)=f(0)=0\]
  19. Therefore, \(f\) is continuous at \(x=0\)
    \[\boxed{f\text{ is continuous at }x=0}\]
🎨 SVG Diagram
Graphical Interpretation
Continuous at x = 0 x y 0 y = x² y = x
👁️ Observation
Important Observation About \(x=0\)
🌟 Competitive Examination Insight

This example illustrates a very common pattern in CBSE and entrance examinations: two different continuous functions are joined at a point. The resulting piecewise function is continuous if the two branches meet at the same limiting value and the function is assigned that value at the joining point.

For a general function

\[ f(x)= \begin{cases} f_1(x),&x

continuity at \(x=c\) requires

\[ \boxed{ \lim_{x\rightarrow c^-}f_1(x) = \lim_{x\rightarrow c^+}f_2(x) = f_2(c). } \]

If a parameter is present, this equality usually produces the required equation for determining that parameter.

⚡ Exam Tip
❌ Common Mistakes
  • Using \(x^2\) to calculate \(f(0)\). The branch \(x<0\) excludes \(0\).
  • Checking only the two one-sided limits and forgetting the actual value \(f(0)\).
  • Assuming a change in formula necessarily produces discontinuity.
  • Saying that continuity at \(0\) automatically implies differentiability at \(0\).
  • Writing \(x>0\) when the given condition is \(x\geq0\). The equality sign determines which branch defines \(f(0)\).

Example 12

❓ Question
Find all the points of discontinuity of the greatest integer function defined by
\[f(x)=[x],\]
where \([x]\) denotes the greatest integer less than or equal to \(x\).
📘 Definition
Greatest Integer Function
💡 Concept
📌 Continuity Criterion
🧩 Solution
  1. We shall examine the greatest integer function at an arbitrary integer \(n\). Consider an Arbitrary Integer \(n\)
    Let \(n\in\mathbb Z\).
  2. Immediately to the left of \(n\), the values of \(x\) satisfy
    \[n-1 < x < n\]
  3. Therefore,
    \[[x]=n-1\]
  4. Hence,
    \[\boxed{\lim_{x\rightarrow n^-}[x]=n-1}\]
  5. Find the Right-Hand Limit Immediately to the right of \(n\), we have
    \[n < x < n+1\]
  6. Therefore,
    \[[x]=n\]
  7. Hence,
    \[\boxed{\lim_{x\rightarrow n^+}[x]=n}\]
  8. Find the Function Value Since \(n\) itself is an integer,
    \[[n]=n\]
  9. Therefore,
    \[\boxed{f(n)=n}\]
  10. Compare LHL and RHL At \(x=n\),
    \[\lim_{x\rightarrow n^-}f(x)=n-1\]
  11. whereas
    \[\lim_{x\rightarrow n^+}f(x)=n\]
  12. Since
    \[n-1\neq n,\]
  13. we obtain
    \[\boxed{\lim_{x\rightarrow n^-}f(x)\neq\lim_{x\rightarrow n^+}f(x)}\]
  14. Therefore,
    the two-sided limit does not exist at \(x=n\), and the function is discontinuous at \(x=n\).
  15. Conclusion Since \(n\) was an arbitrary integer, the greatest integer function is discontinuous at <strong>every integer</strong>.
    \[\boxed{\text{Points of discontinuity of }[x]=\mathbb Z}\]
  16. In other words, the points of discontinuity are
    \[\boxed{\ldots,-3,-2,-1,0,1,2,3,\ldots}\]
  17. Continuity at Non-Integer Points Now consider a non-integer point \(c\), where
    \[n < c < n+1\]
  18. for some integer \(n\).
    There is a small interval around \(c\) that remains entirely within \((n,n+1)\). Throughout this interval,
    \[[x]=n\]
  19. Therefore,
    \[\lim_{x\rightarrow c}[x]=n=[c]\]
  20. Hence, the function is continuous at every non-integer point.
    \[\boxed{[x]\text{ is continuous at every }x\notin\mathbb Z}\]
🎨 SVG Diagram
Graphical Interpretation
Greatest Integer Function (Floor) x y −2 −1 0 1 2 3 −2 −1 1 2 y = ⌊x⌋ Jump discontinuities at every integer x
⚡ Exam Tip
❌ Common Mistakes
  • Assuming \([x]\) is discontinuous at every real number because its graph is made of steps. It is continuous inside every step.
  • Writing \(\lim_{x\rightarrow n^-}[x]=n\). The correct value is \(n-1\).
  • Confusing the greatest integer function with the nearest-integer function.
  • Forgetting that negative numbers require special care. For example, \([-1.2]=-2\).
  • Counting non-integers when a question asks for the discontinuities of \([x]\).

Algebra of Continuous Functions

🧮 Theorem 1: Algebra of Continuous Functions
🧮 Theorem
Statement
Suppose \(f\) and \(g\) are two real-valued functions that are continuous at a real number \(c\). Then:
  1. \(f+g\) is continuous at \(x=c\).
  2. \(f-g\) is continuous at \(x=c\).
  3. \(fg\) is continuous at \(x=c\).
  4. \(\dfrac{f}{g}\) is continuous at \(x=c\), provided \(g(c)\neq0\).
💡 Concept Behind the Theorem
🧮 Theorem
Theorem 1: Algebra of Continuous Functions
🧮 Theorem 1: Algebra of Continuous Functions
Statement
Suppose \(f\) and \(g\) are two real-valued functions that are continuous at a real number \(c\). Then:
  1. \(f+g\) is continuous at \(x=c\).
  2. \(f-g\) is continuous at \(x=c\).
  3. \(fg\) is continuous at \(x=c\).
  4. \(\dfrac{f}{g}\) is continuous at \(x=c\), provided \(g(c)\neq0\).
Part (i): \(f+g\;\) is Continuous at \(x=c\)
  1. Since \(f\) and \(g\) are continuous at \(x=c\),
  2. \[\lim_{x\rightarrow c}f(x)=f(c)\]
    and
    \[\lim_{x\rightarrow c}g(x)=g(c)\]
  3. Using the sum law of limits,
  4. \[ \begin{aligned}\lim_{x\rightarrow c}[f(x)+g(x)]&=\lim_{x\rightarrow c}f(x)+\lim_{x\rightarrow c}g(x)\\&=f(c)+g(c)\\&=(f+g)(c)\end{aligned} \]
  5. Therefore,
  6. \[ \boxed{\lim_{x\rightarrow c}(f+g)(x)=(f+g)(c)} \]
Hence, \(f+g\) is continuous at \(x=c\).
Part (ii): \(f-g\;\) is Continuous at \(x=c\)
  1. Again,
  2. \[\lim_{x\rightarrow c}f(x)=f(c)\]
    and
    \[\lim_{x\rightarrow c}g(x)=g(c)\]
  3. Using the difference law of limits,
  4. \[ \begin{aligned}\lim_{x\rightarrow c}[f(x)-g(x)]&=\lim_{x\rightarrow c}f(x)-\lim_{x\rightarrow c}g(x)\\&=f(c)-g(c)\\&=(f-g)(c)\end{aligned} \]
  5. Thus,
  6. \[ \boxed{\lim_{x\rightarrow c}(f-g)(x)=(f-g)(c)} \]
Therefore, \(f-g\) is continuous at \(x=c\).
Part (iii): \(f\times g\;\) is Continuous at \(x=c\)
  1. Since \(f\) and \(g\) are continuous at \(c\), their limits exist and satisfy
  2. \[\lim_{x\rightarrow c}f(x)=f(c),\qquad \lim_{x\rightarrow c}g(x)=g(c).\]
  3. Using the product law of limits,
  4. \[ \begin{aligned} \lim_{x\rightarrow c}[f(x)g(x)] &=\left(\lim_{x\rightarrow c}f(x)\right) \left(\lim_{x\rightarrow c}g(x)\right)\\ &=f(c)g(c)\\ &=(fg)(c) \end{aligned} \]
  5. Hence,
  6. \[ \boxed{\lim_{x\rightarrow c}(fg)(x)=(fg)(c)} \]
Therefore, \(fg\) is continuous at \(x=c\).
Part (iv): \(\dfrac{f}{g}\) is Continuous at \(x=c\)
  1. For the quotient, we must additionally require
  2. \[ \boxed{g(c)\neq0.} \]
  3. Since \(g\) is continuous at \(c\) and \(g(c)\neq0\), we have
  4. \[ \lim_{x\rightarrow c}g(x)=g(c)\neq0 \]
  5. Therefore, the quotient law of limits can be applied:
  6. \[ \begin{aligned} \lim_{x\rightarrow c}\frac{f(x)}{g(x)} &= \frac{\displaystyle\lim_{x\rightarrow c}f(x)} {\displaystyle\lim_{x\rightarrow c}g(x)}\\ &=\frac{f(c)}{g(c)}\\ &=\left(\frac{f}{g}\right)(c) \end{aligned} \]
  7. Thus,
  8. \[ \boxed{\lim_{x\rightarrow c}\left(\frac{f}{g}\right)(x)=\left(\frac{f}{g}\right)(c)} \]
Hence, \(\dfrac{f}{g}\) is continuous at \(x=c\), provided \(g(c)\neq0\).
📝 Summary
📌 Important Note on the Quotient
🌟 Extended Algebra of Continuous Functions
⚡ Exam Tip

Example 13

❓ Question
Prove that every rational function is continuous at every point of its domain.
📘 Definition
Rational Function
💡 Concept
🔬 Proof
🔬
  1. Let
    \[f(x)=\frac{p(x)}{q(x)}\]
    be any rational function, where \(p(x)\) and \(q(x)\) are polynomials.
  2. Let \(c\) be any point in the domain of \(f\). Since \(c\) belongs to the domain,
    \[\boxed{q(c)\neq0.}\]
  3. Every polynomial function is continuous at every real number. Therefore, \(p\) and \(q\) are continuous at \(x=c\). Hence,

    \[\lim_{x\rightarrow c}p(x)=p(c)\]
    and
    \[\lim_{x\rightarrow c}q(x)=q(c)\]
  4. Since \(q(c)\neq0\), we may apply the quotient law of limits:
    \[ \begin{aligned} \lim_{x\rightarrow c}f(x) &=\lim_{x\rightarrow c}\frac{p(x)}{q(x)}\\ &= \frac{\displaystyle\lim_{x\rightarrow c}p(x)} {\displaystyle\lim_{x\rightarrow c}q(x)}\\ &=\frac{p(c)}{q(c)}\\ &=f(c) \end{aligned} \]
  5. Thus,
    \[\boxed{\lim_{x\rightarrow c}f(x)=f(c)}\]
    Therefore, \(f\) is continuous at \(x=c\).
  6. Since \(c\) was an arbitrary point in the domain of \(f\), we conclude that
    \[\boxed{\text{Every rational function is continuous at every point of its domain.}}\]
❌ Common Mistakes

Do not write:

\[ \text{“Every rational function is continuous on }\mathbb R\text{.”} \]

The correct statement is:

\[ \boxed{ \text{Every rational function is continuous at every point of its domain.} } \]

The distinction is important because the denominator may vanish at one or more real numbers.

Example 14

❓ Question
Discuss the continuity of the sine function
\[f(x)=\sin x \]
🗒️ Cocept
A function \(f\) is continuous at \(x=c\) if
\[\boxed{\lim_{x\rightarrow c}f(x)=f(c)}\]
Equivalently, using the substitution \(x=c+h\), where \(h\rightarrow0\), the condition becomes
\[\boxed{\lim_{h\rightarrow0}f(c+h)=f(c)}\]
We use this form to prove the continuity of the sine function.
Important Standard Limits Used
The proof depends on the fundamental trigonometric limits
\[\boxed{\lim_{h\rightarrow0}\sin h=0}\]
and
\[\boxed{\lim_{h\rightarrow0}\cos h=1}\]
These standard limits are fundamental results used repeatedly in continuity, differentiation and calculus.
🔬 Proof
🔬 Proof
  1. Let \(c\) be any real number. Consider
    \[f(x)=\sin x\]
  2. We have
    \[f(c)=\sin c\]
  3. To check continuity at \(x=c\), calculate
    \[\lim_{x\rightarrow c}f(x)\]
  4. Put
    \[x=c+h\]
  5. As \(x\rightarrow c\), we have \(h\rightarrow0\). Therefore,
    \[ \begin{aligned} \lim_{x\rightarrow c}f(x) &=\lim_{h\rightarrow0}f(c+h)\\ &=\lim_{h\rightarrow0}\sin(c+h) \end{aligned} \]
  6. Using the sine addition formula,
    \[\sin(c+h)=\sin c\cos h+\cos c\sin h\]
  7. Hence,
    \[ \begin{aligned} \lim_{h\rightarrow0}\sin(c+h) &= \lim_{h\rightarrow0} \left(\sin c\cos h+\cos c\sin h\right)\\ &= \sin c\lim_{h\rightarrow0}\cos h + \cos c\lim_{h\rightarrow0}\sin h\\ &=\sin c(1)+\cos c(0)\\ &=\sin c \end{aligned} \]
  8. But
    \[f(c)=\sin c\]
  9. Therefore,
    \[ \boxed{ \lim_{x\rightarrow c}f(x)=f(c). } \]
    Hence, \(f(x)=\sin x\) is continuous at \(x=c\).
  10. Since \(c\) was an arbitrary real number, the sine function is continuous for every real number.
    \[\boxed{\sin x\text{ is continuous on }\mathbb R}\]
🎨 SVG Diagram
Graphical Interpretation
y = sin(x) is continuous for all x ∈ ℝ x y 0 c sin(c)
⚡ Exam Tip
❌ Common Mistakes
  • Writing \(\lim_{h\rightarrow0}\sin h=1\). The correct result is \(0\).
  • Writing \(\lim_{h\rightarrow0}\cos h=0\). The correct result is \(1\).
  • Forgetting to use the sine addition formula:
    \[ \sin(c+h)=\sin c\cos h+\cos c\sin h. \]
  • Checking only \(f(c)\) and not comparing it with the limiting value.
  • Claiming that every trigonometric function is continuous on all of \(\mathbb R\). Functions such as \(\tan x\), \(\sec x\), \(\cot x\) and \(\cosec x\) have points where they are undefined.

Theorem 2: Continuity of Composite Functions

🧮 Theorem
🧮 Theorem
Statement
Suppose \(f\) and \(g\) are real-valued functions such that the composite function \(f\circ g\) is defined at \(c\). If \(g\) is continuous at \(c\) and \(f\) is continuous at \(g(c)\), then
\[\boxed{f\circ g\text{ is continuous at }c.}\]
In other words, if
\[g(x)\rightarrow g(c)\quad\text{as }x\rightarrow c\]
and \(f\) is continuous at the point \(g(c)\), then
\[f(g(x))\rightarrow f(g(c))\]
Proof
  1. Since \(g\) is continuous at \(c\),
  2. \[\boxed{\lim_{x\rightarrow c}g(x)=g(c)}\]
  3. Since \(f\) is continuous at \(g(c)\),
  4. \[\boxed{\lim_{y\rightarrow g(c)}f(y)=f(g(c)).}\]
  5. As \(x\rightarrow c\), continuity of \(g\) gives
  6. \[g(x)\rightarrow g(c)\]
  7. Therefore, applying the continuity of \(f\) at \(g(c)\),
  8. \[ \begin{aligned} \lim_{x\rightarrow c}(f\circ g)(x) &=\lim_{x\rightarrow c}f(g(x))\\ &=f\left(\lim_{x\rightarrow c}g(x)\right)\\ &=f(g(c))\\ &=(f\circ g)(c) \end{aligned} \]
  9. Hence,
  10. \[\boxed{\lim_{x\rightarrow c}(f\circ g)(x)=(f\circ g)(c)}\]
  11. Therefore, \(f\circ g\) is continuous at \(x=c\).
\[\boxed{\therefore\ f\circ g\text{ is continuous at }c}\]
💡 Concept: Continuity of a Composite Function

Example 15

❓ Question
Show that the function
\[f(x)=\left|1+x+|x|\right|\]
is continuous for every real number \(x\).
🗺️ Roadmap

The function contains an absolute value of an expression that itself contains an absolute value. Instead of splitting into cases immediately, we can recognise it as a composition of continuous functions.

Define

\[ g(x)=1+x+|x| \]

and

\[ h(x)=|x|. \]

Then

\[ h(g(x)) = |g(x)| = \left|1+x+|x|\right|. \]

Thus,

\[ \boxed{ f=h\circ g. } \]
🧩 Solution
  1. Show that \(g(x)\) is Continuous We have
    \[g(x)=1+x+|x|\]
    📝 The function \(1\) is a constant function and is continuous on \(\mathbb R\).

    The function \(x\) is a polynomial function and is continuous on \(\mathbb R\).
  2. The absolute value function
    \[|x|\]
    📝 is continuous on \(\mathbb R\)
  3. By the algebra of continuous functions, the sum of continuous functions is continuous. Therefore,
    \[\boxed{g(x)=1+x+|x|\text{ is continuous on }\mathbb R}\]
  4. Show that \(h(x)=|x|\) is Continuous We know that the absolute value function is continuous for every real number:
    \[\boxed{h(x)=|x|\text{ is continuous on }\mathbb R}\]
    📝 In particular, \(h\) is continuous at every value \(g(c)\), where \(c\in\mathbb R\).
  5. Express \(f\) as a Composite Function
    \[ \begin{aligned} (h\circ g)(x) &=h(g(x))\\ &=\left|1+x+|x|\right|\\ &=f(x). \end{aligned} \]
  6. Hence,
    \[\boxed{f=h\circ g}\]
  7. We have established that:
    • \(g(x)=1+x+|x|\) is continuous on \(\mathbb R\).
    • \(h(x)=|x|\) is continuous on \(\mathbb R\).
    • \(f=h\circ g\).
  8. Therefore, by the theorem on continuity of composite functions,
    \[\boxed{f(x)=\left|1+x+|x|\right|}\]
    📝 is continuous at every real number.
⚡ Exam Tip
❌ Common Mistakes
  • Saying that \(f\circ g\) is continuous merely because \(f\) is continuous. Continuity of the inner function \(g\) at \(c\) is also required.
  • Checking \(f\) at \(c\) instead of at \(g(c)\). The correct point for the outer function is \(g(c)\).
  • Confusing \(f\circ g\) with \(g\circ f\).
  • Ignoring domain restrictions of the outer function.
  • Splitting a complicated composite function into cases unnecessarily when known continuity theorems already establish the result.
🌟 Competitive Examination Insight

Many continuity questions are deliberately written in complicated-looking forms such as

\[ \sin(x^2+|x|), \]
\[ \left|x^3+\sin x\right|, \]
\[ \sqrt{1+x^2}, \]

or

\[ \left|\sin(x^2+1)\right|. \]

The efficient strategy is to identify these as compositions and combinations of standard continuous functions rather than evaluating limits from first principles.

For example,

\[ F(x)=\left|\sin(x^2+1)\right| \]

can be viewed as the composition

\[ x \rightarrow x^2+1 \rightarrow \sin(x^2+1) \rightarrow |\sin(x^2+1)|. \]

Since polynomial, sine and absolute value functions are continuous on their domains, \(F\) is continuous on \(\mathbb R\).

Differentiability

📘 Definition
💡 Derivative as a Rate of Change
📘 First Principle of Differentiation
📐 Derivation of the Derivative of \(x^n\) from First Principles
Let
\[f(x)=x^n\]
where \(n\) is a positive integer.

Using the definition of derivative,
\[\begin{aligned}f'(x)&=\lim_{h\rightarrow0}\frac{(x+h)^n-x^n}{h}\end{aligned}\]
Using the binomial theorem,
\[(x+h)^n=x^n+nx^{n-1}h+\frac{n(n-1)}{2!}x^{n-2}h^2+\cdots+h^n\]
Therefore,
\[\begin{aligned}f'(x)&=\lim_{h\rightarrow0}\frac{nx^{n-1}h+\frac{n(n-1)}{2!}x^{n-2}h^2+\cdots+h^n}{h}\\ &=\lim_{h\rightarrow0}\left[nx^{n-1}+\frac{n(n-1)}{2!}x^{n-2}h+\cdots+h^{n-1}\right]\end{aligned}\]
As \(h\rightarrow0\), all terms containing \(h\) vanish. Hence,
\[\boxed{f'(x)=nx^{n-1}}\]
Thus, the power rule is
\[\boxed{\frac{d}{dx}(x^n)=nx^{n-1}}\]
📜 Basic Rules of Differentiation
Let \(u=u(x)\) and \(v=v(x)\) be differentiable functions.
1. Sum and Difference Rule
\[\boxed{\frac{d}{dx}(u\pm v)=u'\pm v'}\]
Therefore, the derivative of a sum or difference is obtained by differentiating each term separately.
2. Product Rule
\[\boxed{\frac{d}{dx}(uv)=u'v+uv'}\]
Equivalently
\[\boxed{(uv)'=u'v+uv'}\]
3. Quotient Rule
If \(v(x)\neq0\), then
\[\boxed{\frac{d}{dx}\left(\frac{u}{v}\right)=\frac{vu'-uv'}{v^2}}\]
A useful memory aid is:
\[ \boxed{ \text{Quotient derivative} = \frac{\text{denominator}\times\text{derivative of numerator} -\text{numerator}\times\text{derivative of denominator}} {(\text{denominator})^2}. } \]
4. Constant Rule
If \(k\) is a constant, then
\[\boxed{\frac{d}{dx}(k)=0}\]
5. Constant Multiple Rule
\[\boxed{\frac{d}{dx}[ku]=ku'.}\]
🗒️ Standard Derivatives
Function Derivative Condition/Domain
\(x^n\) \(nx^{n-1}\) For positive integer \(n\); more generally wherever defined
\(\sin x\) \(\cos x\) \(x\in\mathbb R\)
\(\cos x\) \(-\sin x\) \(x\in\mathbb R\)
\(\tan x\) \(\sec^2x\) \(\cos x\neq0\)
\(\cot x\) \(-\operatorname{cosec}^2x\) \(\sin x\neq0\)
\(\sec x\) \(\sec x\tan x\) \(\cos x\neq0\)
\(\operatorname{cosec} x\) \(-\operatorname{cosec} x\cot x\) \(\sin x\neq0\)
\(e^x\) \(e^x\) \(x\in\mathbb R\)
\(a^x\) \(a^x\ln a\) \(a>0,\ a\neq1\)
\(\log x\) \(\frac{1}{x}\) \(x>0\)
📐 Derivation
Derivation of \((\sin x)'=\cos x\)
From first principles,
\[ \begin{aligned} \frac{d}{dx}(\sin x) &= \lim_{h\rightarrow0} \frac{\sin(x+h)-\sin x}{h} \end{aligned} \]
Using the sine addition formula,
\[\sin(x+h)=\sin x\cos h+\cos x\sin h\]
Therefore,
\[ \begin{aligned} \frac{d}{dx}(\sin x) &= \lim_{h\rightarrow0} \frac{\sin x\cos h+\cos x\sin h-\sin x}{h}\\ &= \lim_{h\rightarrow0} \left[ \sin x\frac{\cos h-1}{h} + \cos x\frac{\sin h}{h} \right] \end{aligned} \]
Using the standard limits
\[\lim_{h\rightarrow0}\frac{\sin h}{h}=1\]
and
\[\lim_{h\rightarrow0}\frac{\cos h-1}{h}=0,\]
we obtain
\[ \begin{aligned} \frac{d}{dx}(\sin x) &=\sin x(0)+\cos x(1)\\ &=\cos x. \end{aligned} \]
Hence,
\[\boxed{\frac{d}{dx}(\sin x)=\cos x}\]
📐 Derivation
Derivation of \((\cos x)'=-\sin x\)
Using first principles,
\[ \begin{aligned} \frac{d}{dx}(\cos x) &= \lim_{h\rightarrow0} \frac{\cos(x+h)-\cos x}{h}. \end{aligned} \]
Using
\[\cos(x+h)=\cos x\cos h-\sin x\sin h\]
we get
\[ \begin{aligned} \frac{d}{dx}(\cos x) &= \lim_{h\rightarrow0} \left[ \cos x\frac{\cos h-1}{h} - \sin x\frac{\sin h}{h} \right]\\ &=\cos x(0)-\sin x(1)\\ &=-\sin x. \end{aligned} \]
Therefore,
\[\boxed{\frac{d}{dx}(\cos x)=-\sin x}\]
✏️ Example
1
Question
Differentiating a Polynomial
\[f(x)=3x^4-5x^3+7x-9\]
Using the sum, difference, constant and power rules,
\[ \begin{aligned} f'(x) &=3(4x^3)-5(3x^2)+7-0\\ &=12x^3-15x^2+7 \end{aligned} \]
Hence,
\[\boxed{f'(x)=12x^3-15x^2+7}\]
2
Question
Find the derivative of
\[y=x^2\sin x\]
Let
\[u=x^2,\quad v=\sin x\]
Then
\[u'=2x,\quad v'=\cos x\]
Using the product rule,
\[ \begin{aligned} y' &=u'v+uv'\\ &=2x\sin x+x^2\cos x. \end{aligned} \]
Therefore,
\[\boxed{\frac{dy}{dx}=2x\sin x+x^2\cos x}\]
3
Question
Find the derivative of
\[y=\frac{x^2+1}{x}\]
Let
\[u=x^2+1,\qquad v=x\]
Then
\[u'=2x,\quad v'=1\]
Hence,
\[ \begin{aligned} y' &=\frac{vu'-uv'}{v^2}\\ &=\frac{x(2x)-(x^2+1)(1)}{x^2}\\ &=\frac{x^2-1}{x^2}. \end{aligned} \]
Thus,
\[\boxed{y'=1-\frac{1}{x^2},\quad x\neq0}\]
4
Question
Find the derivative of \((x)=x^2\;\) using the definition of derivative.
By first principles,
\[ \begin{aligned} f'(x) &= \lim_{h\rightarrow0} \frac{f(x+h)-f(x)}{h}\\ &= \lim_{h\rightarrow0} \frac{(x+h)^2-x^2}{h}\\ &= \lim_{h\rightarrow0} \frac{x^2+2xh+h^2-x^2}{h}\\ &= \lim_{h\rightarrow0}(2x+h)\\ &=2x \end{aligned} \]
Therefore,
\[\boxed{f'(x)=2x}\]
📎 Differentiability and Continuity
An important theorem in Class 12 calculus is:
\[\boxed{\text{Differentiability at a point implies continuity at that point.}}\]
Thus, if \(f\) is differentiable at \(x=c\), then \(f\) must be continuous at \(x=c\).

However, the converse is not always true:
\[\boxed{\text{Continuity does not necessarily imply differentiability.}}\]
The standard example is
\[f(x)=|x|\]
The function \(|x|\) is continuous at \(x=0\), but it is not differentiable there because its left-hand and right-hand derivatives are unequal.
Left-Hand and Right-Hand Derivatives
For a function to be differentiable at \(x=c\), its left-hand derivative and right-hand derivative must both exist and be equal.

The left-hand derivative is
\[\boxed{f'_-(c)=\lim_{h\rightarrow0^-}\frac{f(c+h)-f(c)}{h}}\]
and the right-hand derivative is
\[\boxed{f'_+(c)=\lim_{h\rightarrow0^+}\frac{f(c+h)-f(c)}{h}}\]
Therefore,
\[\boxed{f\text{ is differentiable at }c\iff f'_-(c)=f'_+(c)}\]
provided both one-sided derivatives exist as finite values.
🌟 Geometrical Significance
The derivative \(f'(c)\) is the slope of the tangent to the curve \(y=f(x)\) at \((c,f(c))\):
\[\boxed{\text{Slope of tangent}=f'(c)}\]
The equation of the tangent at \(x=c\) is therefore
\[\boxed{y-f(c)=f'(c)(x-c)}\]
This formula is extensively used in applications of derivatives, including tangent and normal problems.
📌 Derivative and Secant Slope
⚡ Exam Tip
❌ Common Mistakes
  • Writing \(f'(x)=\lim_{h\rightarrow0}f(x+h)-f(x)/h\) without proper brackets. The correct expression is
    \[ f'(x)=\lim_{h\rightarrow0}\frac{f(x+h)-f(x)}{h}. \]
  • Forgetting that the derivative exists only when the required limit exists as a finite value.
  • Using the product rule incorrectly as \((uv)'=u'v'\).
  • Forgetting the square on the denominator in the quotient rule.
  • Assuming that a continuous function must be differentiable.
  • Ignoring points where a trigonometric function is undefined.
  • Using degree measure instead of radian measure in standard trigonometric derivative formulas. The standard calculus formulas are based on radians.
🌟 Competitive Examination Significance

Differentiability is a foundational concept for questions involving derivatives, tangents and normals, increasing and decreasing functions, maxima and minima, approximation, rate of change and many applications of calculus.

In entrance examinations, the first-principle definition is particularly useful when a question asks for the derivative at a specific point, tests differentiability of a piecewise function, or requires comparison of left-hand and right-hand derivatives.

⚡ Quick Revision

Definition:

\[ \boxed{ f'(c)=\lim_{h\rightarrow0} \frac{f(c+h)-f(c)}{h} } \]

Equivalent form:

\[ \boxed{ f'(c)=\lim_{x\rightarrow c} \frac{f(x)-f(c)}{x-c} } \]

Sum/Difference:

\[ \boxed{ (u\pm v)'=u'\pm v' } \]

Product:

\[ \boxed{ (uv)'=u'v+uv' } \]

Quotient:

\[ \boxed{ \left(\frac{u}{v}\right)' = \frac{vu'-uv'}{v^2}, \qquad v\neq0 } \]

Power:

\[ \boxed{ (x^n)'=nx^{n-1} } \]

Trigonometric derivatives:

\[ \boxed{ (\sin x)'=\cos x } \]
\[ \boxed{ (\cos x)'=-\sin x } \]
\[ \boxed{ (\tan x)'=\sec^2x } \]
\[ \boxed{ (\cot x)'=-\operatorname{cosec}^2x } \]
\[ \boxed{ (\sec x)'=\sec x\tan x } \]
\[ \boxed{ (\operatorname{cosec} x)'=-\operatorname{cosec} x\cot x } \]

Fundamental relationship:

\[ \boxed{ \text{Differentiability at }c \Rightarrow \text{Continuity at }c. } \]

But

\[ \boxed{ \text{Continuity at }c \not\Rightarrow \text{Differentiability at }c. } \]

These results form the essential foundation for the subsequent study of differentiation and its applications in Class 12 Mathematics.

Theorem 3: Differentiability Implies Continuity

🧮 Theorem
🧮
Statement
If a real-valued function \(f\) is differentiable at a point \(x=c\), then \(f\) is continuous at \(x=c\).

\[ \boxed{ f\text{ differentiable at }c \Rightarrow f\text{ continuous at }c } \]
Proof
  1. Suppose \(f\) is differentiable at \(x=c\).
  2. By the definition of derivative,
  3. \[ \boxed{ f'(c) = \lim_{x\rightarrow c} \frac{f(x)-f(c)}{x-c} } \]
    exists as a finite real number.
  4. We have, for \(x\neq c\),
  5. \[f(x)-f(c)=\frac{f(x)-f(c)}{x-c}(x-c)\]
  6. Taking the limit as \(x\rightarrow c\),
  7. \[ \begin{aligned} \lim_{x\rightarrow c}[f(x)-f(c)] &= \lim_{x\rightarrow c} \left[ \frac{f(x)-f(c)}{x-c}(x-c) \right]\\ &= \left[ \lim_{x\rightarrow c} \frac{f(x)-f(c)}{x-c} \right] \left[ \lim_{x\rightarrow c}(x-c) \right]. \end{aligned} \]
  8. Since \(f\) is differentiable at \(c\),
  9. \[\lim_{x\rightarrow c}\frac{f(x)-f(c)}{x-c}=f'(c)\]
  10. Also,
  11. \[\lim_{x\rightarrow c}(x-c)=0\]
  12. Therefore,
  13. \[\begin{aligned}\lim_{x\rightarrow c}[f(x)-f(c)]&=f'(c)\cdot0\\&=0\end{aligned}\]
  14. Hence,
  15. \[\lim_{x\rightarrow c}[f(x)-f(c)]=0\]
  16. Therefore,
  17. \[\begin{aligned}\lim_{x\rightarrow c}f(x)-f(c)&=0\\\lim_{x\rightarrow c}f(x)&=f(c)\end{aligned}\]
  18. But this is precisely the condition for continuity of \(f\) at \(x=c\)
  19. \[\boxed{\therefore f\text{ is continuous at }x=c}\]
🤔 Did You Know?
Why the Condition "Differentiable" Is Important
For \(f'(c)\) to exist, the limit
\[ \lim_{x\rightarrow c} \frac{f(x)-f(c)}{x-c} \]
must exist as a finite number.

Therefore, near \(x=c\), the difference \(f(x)-f(c)\) behaves like
\[f'(c)(x-c)\]
Since \(x-c\rightarrow0\), it follows that
\[f(x)-f(c)\rightarrow0\]
This is the analytical reason why differentiability guarantees continuity.
🌟 Important Result for Examinations
🔍 Geometrical Interpretation
Continuity means that the graph has no break at the point under consideration. Differentiability requires a stronger condition: the graph must also have a well-defined tangent with a finite slope at that point.

For \(y=|x|\), the graph is continuous at the origin, but it has a sharp corner there. The tangent from the left has slope \(-1\), while the tangent from the right has slope \(1\).
\[ \boxed{ \text{Different one-sided slopes} \Rightarrow \text{No unique derivative}. } \]
⚖️ Continuity Versus Differentiability
Continuity Differentiability
Requires \(\lim_{x\rightarrow c}f(x)=f(c)\). Requires \(\lim_{x\rightarrow c}\frac{f(x)-f(c)}{x-c}\) to exist finitely.
Ensures no break at the point. Ensures a well-defined finite slope at the point.
Weaker condition. Stronger condition.
A continuous function may fail to be differentiable. A differentiable function must be continuous.
✏️ Example
A Discontinuous Function Cannot Be Differentiable
Consider
\[ f(x)= \begin{cases} x+1,&x<0,\\ x+2,&x\geq0 \end{cases} \]
At \(x=0\),
\[\lim_{x\rightarrow0^-}f(x)=1\]
while
\[\lim_{x\rightarrow0^+}f(x)=2\]
Since the one-sided limits are unequal, \(f\) is discontinuous at \(0\).

By Theorem 3, a differentiable function must be continuous. Therefore, without calculating the derivative, we can conclude that
\[ \boxed{ f\text{ is not differentiable at }x=0. } \]
✏️ Example
Continuity Does Not Guarantee Differentiability
Consider
\[f(x)=|x|\]
It is continuous at \(0\), but
\[f'_-(0)=-1,\qquad f'_+(0)=1\]
Therefore,
\[ \boxed{ f\text{ is not differentiable at }0. } \]
This example proves that the converse of Theorem 3 is not true.
📋 CBSE Case Study / HOTS

Let \(f\) be a real-valued function differentiable at \(x=2\), and suppose

\[ f(2)=5,\qquad f'(2)=3. \]

Determine

\[ \lim_{x\rightarrow2}f(x). \]

Since \(f\) is differentiable at \(2\), Theorem 3 tells us that \(f\) is continuous at \(2\).

Therefore,

\[ \lim_{x\rightarrow2}f(x)=f(2)=5. \]

Hence,

\[ \boxed{ \lim_{x\rightarrow2}f(x)=5. } \]

Notice that the value \(f'(2)=3\) is not actually required to evaluate the limit. The differentiability information is useful because it guarantees continuity.

HOTS Insight

If a question states that \(f\) is differentiable at \(c\), immediately record:

\[ \boxed{ \lim_{x\rightarrow c}f(x)=f(c). } \]

This can save considerable calculation in limit and continuity problems.

❌ Common Mistakes
  • Writing
    \[ \lim_{x\rightarrow c} \frac{f(x)-f(c)}{c} \]
    instead of the correct denominator \(x-c\).
  • Forgetting that the derivative must exist as a finite number.
  • Claiming that continuity implies differentiability. This is false.
  • Checking only the value of \(f(c)\) when testing differentiability.
  • Forgetting that a function such as \(|x|\) can be continuous at a point but fail to have a derivative there.
  • Using \(f'(x)\) where the proof requires the specific value \(f'(c)\).
⚡ Exam Tip
⚡ Quick Revision

Theorem:

\[ \boxed{ f\text{ differentiable at }c \Rightarrow f\text{ continuous at }c. } \]

Derivative definition:

\[ \boxed{ f'(c)= \lim_{x\rightarrow c} \frac{f(x)-f(c)}{x-c} } \]

Key identity:

\[ \boxed{ f(x)-f(c) = \frac{f(x)-f(c)}{x-c}(x-c) } \]

Limit:

\[ \boxed{ \lim_{x\rightarrow c}[f(x)-f(c)] = f'(c)\cdot0=0 } \]

Therefore,

\[ \boxed{ \lim_{x\rightarrow c}f(x)=f(c). } \]

Hence \(f\) is continuous at \(c\).

One-Line Memory Rule
\[ \boxed{ \text{Differentiability is stronger than continuity.} } \]

Remember:

\[ \boxed{ \text{Differentiable}\Rightarrow\text{Continuous} \quad\text{but}\quad \text{Continuous}\not\Rightarrow\text{Differentiable}. } \]

Corollary 1: Every Differentiable Function Is Continuous

🧮 Theorem
Important Converse
The converse of this corollary is not true in general. A continuous function need not be differentiable.
The standard example is
\[f(x)=|x|\]
This function is continuous at \(x=0\), but
\[f'_-(0)=-1,\qquad f'_+(0)=1\]
so \(f'(0)\) does not exist.
\[\boxed{\text{Continuous}\not\Rightarrow\text{Differentiable}}\]
Thus, the correct logical relationship is
\[\boxed{\text{Differentiable}\Rightarrow\text{Continuous}\quad\text{but not conversely}}\]
🧮 Theorem
Statement
From Theorem 3, we immediately obtain the following important corollary:
\[\boxed{\text{Every function differentiable at a point is continuous at that point.}}\]
Therefore, if a function is differentiable at every point of an interval, it is continuous throughout that interval.
\[\boxed{f\text{ differentiable on an interval}\Rightarrowf\text{ continuous on that interval}}\]
Important Converse
The converse of this corollary is not true in general. A continuous function need not be differentiable.
The standard example is
\[f(x)=|x|\]
This function is continuous at \(x=0\), but
\[f'_-(0)=-1,\qquad f'_+(0)=1\]
so \(f'(0)\) does not exist.
\[\boxed{\text{Continuous}\not\Rightarrow\text{Differentiable}}\]
Thus, the correct logical relationship is
\[\boxed{\text{Differentiable}\Rightarrow\text{Continuous}\quad\text{but not conversely}}\]
🔢 Derivatives of Composite Functions
📜 Chain Rule
📜 Rules
If \(y=f(u)\) is differentiable with respect to \(u\), and \(u=g(x)\) is differentiable with respect to \(x\), then \(y=f(g(x))\) is differentiable with respect to \(x\), and
\[\boxed{\frac{dy}{dx}=\frac{dy}{du}\cdot\frac{du}{dx}}\]
This is called the chain rule of differentiation. In prime notation,
\[\boxed{\frac{d}{dx}[f(g(x))]=f'(g(x))\,g'(x)}\]
The chain rule is one of the most important differentiation rules in Class 12 Mathematics because it allows us to differentiate functions nested inside other functions.
🔍 Interpretation of the Chain Rule
If \(y\) depends on \(u\), and \(u\) depends on \(x\), then the rate of change of \(y\) with respect to \(x\) is obtained by multiplying the two rates of change:
\[\boxed{\frac{dy}{dx}=\frac{dy}{du}\frac{du}{dx}}\]
For example, if
\[y=u^3,\qquad u=2x+1,\]
then
\[\frac{dy}{du}=3u^2\]
and
\[\frac{du}{dx}=2\]
Hence,
\[\frac{dy}{dx}=3u^2\cdot2\]
Substituting \(u=2x+1\),
\[\boxed{\frac{dy}{dx}=6(2x+1)^2}\]
✏️ Example
1
Question
Find the derivative of
\[f(x)=(2x+1)^3\]
Part (a)
Solution Using the Chain Rule
  1. Identify the inner and outer functions:
    \[u=2x+1\]
    and
    \[f(u)=u^3\]
  2. Differentiate the outer function with respect to \(u\):
    \[\frac{df}{du}=3u^2\]
  3. Differentiate the inner function with respect to \(x\):
    \[\frac{du}{dx}=2\]
  4. By the chain rule,
    \[\begin{aligned}\frac{df}{dx}&=\frac{df}{du}\frac{du}{dx}\\ &=3u^2(2)\\&=6u^2\end{aligned}\]
  5. Substituting \(u=2x+1\),
    \[\boxed{f'(x)=6(2x+1)^2}\]
  6. Direct Chain-Rule Form The same calculation can be written more compactly as
    \[ \begin{aligned} f'(x) &=\frac{d}{dx}(2x+1)^3\\ &=3(2x+1)^2\frac{d}{dx}(2x+1)\\ &=3(2x+1)^2(2)\ &=6(2x+1)^2. \end{aligned} \]
  7. Hence,
    \[\boxed{\frac{d}{dx}(2x+1)^3=6(2x+1)^2}\]
  8. The same function can also be differentiated by first expanding it.
    \[f(x)=(2x+1)^3\]
  9. Taking \(a=2x\) and \(b=1\),
    \[ \begin{aligned} (2x+1)^3 &=(2x)^3+3(2x)^2(1)+3(2x)(1)^2+1^3\\ &=8x^3+12x^2+6x+1. \end{aligned} \]
    Using the binomial theorem,
    \[(a+b)^3=a^3+3a^2b+3ab^2+b^3\]
  10. Therefore,
    \[f(x)=8x^3+12x^2+6x+1\]
  11. Differentiating term by term,
    \[\begin{aligned}f'(x)&=24x^2+24x+6\end{aligned}\]
  12. Factorising,
    \[\begin{aligned}f'(x)&=6(4x^2+4x+1)\\ &=6(2x+1)^2\end{aligned}\]
  13. Thus,
    \[\boxed{f'(x)=6(2x+1)^2}\]
  14. Comparison of the Two Methods
    Method Calculation Advantage
    Chain Rule \(3(2x+1)^2(2)\) Short, efficient and generally applicable
    Expansion Expand first, then differentiate term by term Useful for simple polynomial expressions and verification
    📝 For complicated composite functions, expansion may become lengthy or impossible. Therefore, the chain rule is the preferred method.
📐 >Derivation of the Chain Rule
Let
\[y=f(u)\]
and
\[u=g(x)\]
Suppose \(f\) is differentiable at \(u\) and \(g\) is differentiable at \(x\).

By the definition of derivative,
\[\frac{dy}{du}=\lim_{\Delta u\rightarrow0}\frac{\Delta y}{\Delta u}\]
and
\[\frac{du}{dx}=\lim_{\Delta x\rightarrow0}\frac{\Delta u}{\Delta x}\]
Since \(u=g(x)\) is differentiable, \(\Delta u\rightarrow0\) as \(\Delta x\rightarrow0\). Therefore,
\[\begin{aligned}\frac{dy}{dx}&=\lim_{\Delta x\rightarrow0}\frac{\Delta y}{\Delta x}\\ &=\lim_{\Delta x\rightarrow0}\left(\frac{\Delta y}{\Delta u}\cdot\frac{\Delta u}{\Delta x}\right)\\ &=\left(\lim_{\Delta u\rightarrow0}\frac{\Delta y}{\Delta u}\right)\left(\lim_{\Delta x\rightarrow0}\frac{\Delta u}{\Delta x}\right)\\ &=\frac{dy}{du}\frac{du}{dx}\end{aligned}\]
Hence,
\[\boxed{\frac{dy}{dx}=\frac{dy}{du}\frac{du}{dx}}\]
This is the chain rule.
General Pattern for Chain Rule
If
\[y=[g(x)]^n\]
then regard \(g(x)\) as the inner function:
\[u=g(x)\]
Thus,
\[y=u^n\]
Hence,
\[\frac{dy}{du}=nu^{n-1}\]
and
\[\frac{du}{dx}=g'(x)\]
Therefore,
\[\boxed{\frac{d}{dx}[g(x)]^n=n[g(x)]^{n-1}g'(x).}\]
Power-Function Chain Rule Formula
\[\boxed{\frac{d}{dx}[u(x)]^n=nu^{n-1}\frac{du}{dx}}\]
This formula is extremely useful for rapid differentiation.
✏️ Example
2
Question
Find \(\frac{dy}{dx}\;\) if \(y=(3x-2)^5\)
  1. Let \(u=3x-2\;\), Then
    \[y=u^5,\qquad \frac{dy}{du}=5u^4,\qquad \frac{du}{dx}=3\]
  2. Therefore,
    \[\begin{aligned}\frac{dy}{dx}&=5u^4(3)\\&=15(3x-2)^4\end{aligned}\]
    \[\boxed{\frac{dy}{dx}=15(3x-2)^4}\]
3
Question
Differentiate $y=\sin(x^2)$
  1. Let \(u=x^2\;\), Then
    \[y=\sin u\]
  2. Therefore,
    \frac{dy}{du}=\cos u and
    \[\frac{du}{dx}=2x\]
  3. Hence,
    \[\begin{aligned}\frac{dy}{dx}&=\cos u(2x)\\ &=2x\cos(x^2)\end{aligned}\]
    \[\boxed{\frac{dy}{dx}=2x\cos(x^2)}\]
4
Question
Differentiate $y=\sqrt{1+x^2}$
  1. Write
    \[y=(1+x^2)^{1/2}\]
  2. Let \(u=1+x^2\;\), Then
    \[y=u^{1/2}\]
  3. Therefore,
    \frac{dy}{du}=\frac{1}{2}u^{-1/2} and
    \[\frac{du}{dx}=2x\]
  4. Hence,
    \[\begin{aligned}\frac{dy}{dx}&=\frac{1}{2}u^{-1/2}(2x)\\ &=xu^{-1/2}\\&=\frac{x}{\sqrt{1+x^2}}\end{aligned}\]
    \[\boxed{\frac{dy}{dx}=\frac{x}{\sqrt{1+x^2}}}\]
5
Question
Differentiate $y=\cos(5x+1)$
  1. Let \(u=5x+1\;\) then
    \[\frac{dy}{du}=-\sin u\]
    and
    \[\frac{du}{dx}=5\]
  2. Therefore,
    \[\frac{dy}{dx}=-\sin(5x+1) \cdot 5 = -5\sin(5x+1)\]
🛠️ Multiple Applications of the Chain Rule
The chain rule can be applied repeatedly when several functions are nested.

For example, consider
\[y=\sin[(x^2+1)^3]\]
Introduce intermediate variables:
\[u=x^2+1\]
\[v=u^3\]
\[y=\sin v\]
Then
\[\frac{dy}{dv}=\cos v,\]
\[\frac{dv}{du}=3u^2,\]
\[\frac{du}{dx}=2x.\]
Therefore,
\[\begin{aligned}\frac{dy}{dx}&=\frac{dy}{dv}\frac{dv}{du}\frac{du}{dx}\\ &=\cos v\cdot3u^2\cdot2x\\ &=6xu^2\cos v\end{aligned}\]
Substituting \(u=x^2+1\) and \(v=(x^2+1)^3\),
\[\boxed{\frac{dy}{dx}=6x(x^2+1)^2\cos[(x^2+1)^3]}\]
🗺️ Chain Rule Roadmap
When differentiating a complicated nested function, identify the layers from the inside out. For
\[y=\sin[(2x+1)^3]\]
the structure is
\[x\rightarrow2x+1\rightarrow(2x+1)^3\rightarrow\sin[(2x+1)^3]\]
Differentiate each layer and multiply:
\[\frac{dy}{dx}=\cos[(2x+1)^3]\cdot3(2x+1)^2\cdot2\]
Thus,
\[\boxed{\frac{dy}{dx}=6(2x+1)^2\cos[(2x+1)^3]}\]
⚡ Exam Tip
❌ Common Mistakes
  • Forgetting to multiply by the derivative of the inner function.
  • Writing
    \[ \frac{d}{dx}(2x+1)^3=3(2x+1)^2 \]
    instead of the correct
    \[ 6(2x+1)^2. \]
  • Differentiating only the outermost function in a nested expression.
  • Confusing
    \[ f(g(x)) \]
    with
    \[ f(x)g(x). \]
  • Expanding a complicated composite function unnecessarily.
  • Forgetting the negative sign in
    \[ (\cos x)'=-\sin x. \]
📋 CBSE Case Study / HOTS

Let

\[ f(x)=\sin[(x^2+1)^2]. \]

Answer the following:

(a) Identify the successive functions involved.

(b) Find \(f'(x)\).

(c) Find \(f'(0)\).

Solution

The successive layers are

\[ u=x^2+1, \]
\[ v=u^2, \]
\[ f=\sin v. \]

Therefore,

\[ \frac{du}{dx}=2x, \]
\[ \frac{dv}{du}=2u, \]

and

\[ \frac{df}{dv}=\cos v. \]

By the chain rule,

\[ \begin{aligned} f'(x) &= \frac{df}{dv} \frac{dv}{du} \frac{du}{dx}\\ &= \cos v\cdot2u\cdot2x\\ &= 4xu\cos v. \end{aligned} \]

Substituting the values of \(u\) and \(v\),

\[ \boxed{ f'(x)=4x(x^2+1)\cos[(x^2+1)^2]. } \]

At \(x=0\),

\[ f'(0) = 4(0)(1)\cos1 = 0. \]

Hence,

\[ \boxed{ f'(0)=0. } \]
⚡ Quick Revision

Corollary:

\[ \boxed{ \text{Differentiable}\Rightarrow\text{Continuous}. } \]

Composite function:

\[ \boxed{ (f\circ g)(x)=f(g(x)). } \]

Chain rule:

\[ \boxed{ \frac{dy}{dx} = \frac{dy}{du}\frac{du}{dx}. } \]

Function form:

\[ \boxed{ \frac{d}{dx}[f(g(x))] = f'(g(x))g'(x). } \]

Power of a function:

\[ \boxed{ \frac{d}{dx}[u(x)]^n = nu^{n-1}u'. } \]

Trigonometric composite functions:

\[ \boxed{ \frac{d}{dx}\sin(u)=\cos(u)\,u' } \]
\[ \boxed{ \frac{d}{dx}\cos(u)=-\sin(u)\,u' } \]
\[ \boxed{ \frac{d}{dx}\tan(u)=\sec^2(u)\,u' } \]
🔑 Key Takeaway

Example 16

❓ Question
Find the derivative of the function
\[f(x)=\sin(x^2)\]
💡 Concept
🧩 Solution
Part (a)
  1. Let
    \[t=x^2\]
  2. Then
    \[f(x)=\sin t\]
  3. Differentiating with respect to \(t\),
    \[\frac{df}{dt}=\cos t\]
  4. Also,
    \[\frac{dt}{dx}=2x\]
  5. By the Chain Rule,
    \[\begin{aligned}f'(x)&=\frac{df}{dt}\frac{dt}{dx}\\&=\cos t\cdot2x\\&=2x\cos t\end{aligned}\]
  6. Substituting \(t=x^2\),
    \[\boxed{f'(x)=2x\cos(x^2)}\]
  7. Direct Method Using the Chain Rule directly,
    \[ \begin{aligned} f'(x) &=\frac{d}{dx}\left[\sin(x^2)\right]\\ &=\cos(x^2)\frac{d}{dx}(x^2)\\ &=2x\cos(x^2). \end{aligned} \]
  8. Hence,
    \[\boxed{\frac{d}{dx}\sin(x^2)=2x\cos(x^2)}\]
  9. Why the Factor \(2x\) Is Necessary A common error is to write
    \[\frac{d}{dx}\sin(x^2)=\cos(x^2)\]
    📝 This is incomplete because \(x^2\) is itself a function of \(x\).
  10. The derivative of the inner function must also be multiplied:
    \[\boxed{\frac{d}{dx}\sin(u)=\cos(u)\frac{du}{dx}}\]
  11. Putting \(u=x^2\),
    \[\frac{du}{dx}=2x\]
  12. Therefore,
    \[\boxed{\frac{d}{dx}\sin(x^2)=2x\cos(x^2)}\]
🌟 Competitive Examination Insight

Whenever a trigonometric function contains an expression other than simply \(x\), treat that expression as the inner function.

For example,

\[ \frac{d}{dx}\sin(3x+1) = 3\cos(3x+1), \]
\[ \frac{d}{dx}\sin(x^3) = 3x^2\cos(x^3), \]
\[ \frac{d}{dx}\sin(\sqrt{x}) = \frac{\cos(\sqrt{x})}{2\sqrt{x}}, \]
and
\[ \frac{d}{dx}\sin[(x^2+1)^3] = 6x(x^2+1)^2\cos[(x^2+1)^3]. \]

Example 17

❓ Question
Find \(\frac{dy}{dx}\;\) if \(x-y=\pi\)
💡 Concept
🧩 Solution
Given:
\[x-y=\pi\]
Method 1: Explicit Differentiation
  1. Rearranging,
    \[y=x-\pi\]
  2. Differentiating both sides with respect to \(x\),
    \[ \begin{aligned} \frac{dy}{dx} &=\frac{d}{dx}(x-\pi)\\ &=\frac{d}{dx}(x)-\frac{d}{dx}(\pi) \end{aligned} \]
  3. Since \(\pi\) is a constant,
    \[\frac{d}{dx}(\pi)=0\]
  4. Therefore,
    \[\boxed{\frac{dy}{dx}=1}\]
Method 2: Direct Implicit Differentiation
  1. Starting directly from
    \[x-y=\pi \]
  2. differentiate both sides with respect to \(x\):
    \[\frac{d}{dx}(x)-\frac{d}{dx}(y)=\frac{d}{dx}(\pi)\]
  3. Hence,
    \[1-\frac{dy}{dx}=0\]
  4. Therefore,
    \[\boxed{\frac{dy}{dx}=1}\]
🤔 Did You Know?
Why Is \(\frac{d}{dx}(y)=\frac{dy}{dx}\)?
In implicit differentiation, \(y\) is considered a function of \(x\), that is, \(y=y(x)\). Therefore, by definition,
\[\boxed{\frac{d}{dx}(y)=\frac{dy}{dx}}\]
For a more complicated expression involving \(y\), the Chain Rule is required. For example,
\[\frac{d}{dx}(y^2)=2y\frac{dy}{dx}\]
Thus, the simple equation in this example provides an elementary introduction to implicit differentiation.
⚡ Exam Tip
❌ Common Mistakes

Do not write

\[ \frac{d}{dx}(y)=1. \]

The correct result is

\[ \boxed{ \frac{d}{dx}(y)=\frac{dy}{dx}. } \]

Also remember that \(\pi\) is a constant, so

\[ \boxed{ \frac{d}{dx}(\pi)=0. } \]

Example 18

❓ Question
Find \(\frac{dy}{dx}\) if $y+\sin y=\cos x$
💡 Concept
🧩 Solution
Given:
\[y+\sin y=\cos x\]
Part (a)
  1. Differentiating both sides with respect to \(x\),
    \[\frac{d}{dx}(y+\sin y)=\frac{d}{dx}(\cos x)\]
  2. Therefore,
    \[\frac{dy}{dx}+\cos y\frac{dy}{dx}=-\sin x\]
  3. Taking \(\frac{dy}{dx}\) common,
    \[\frac{dy}{dx}(1+\cos y)=-\sin x\]
  4. Hence,
    \[\boxed{\frac{dy}{dx}=-\frac{\sin x}{1+\cos y}}\]
    📝 provided \(1+\cos y\neq0\).
  5. Alternative Form
    Using the half-angle identity
    \[1+\cos y=2\cos^2\frac{y}{2}\]
  6. the derivative may also be written as
    \[\boxed{\frac{dy}{dx}=-\frac{\sin x}{2\cos^2(y/2)}}\]
    📝 The first form is generally preferable because it follows directly from differentiation.
❌ Common Mistakes

A frequent error is to write

\[ \frac{d}{dx}(\sin y)=\cos y. \]

This is incorrect because \(y\) is not the independent variable. Since \(y\) depends on \(x\), the Chain Rule requires

\[ \boxed{ \frac{d}{dx}(\sin y) = \cos y\frac{dy}{dx}. } \]

Similarly,

\[ \frac{d}{dx}(\cos y) = -\sin y\frac{dy}{dx}. \]

Verification by Differentiating the Explicit Relation

The equation

\[ y+\sin y=\cos x \]

generally cannot be conveniently solved for \(y\) using elementary functions. Therefore, implicit differentiation is much more efficient than attempting to isolate \(y\).

This illustrates an important advantage of implicit differentiation: the dependent variable need not be explicitly expressed in terms of the independent variable.

⚡ Exam Tip
🌟 Competitive Examination Insight

The important pattern in this question is

\[ y+\sin y=\cos x. \]

After differentiation, all terms involving \(\frac{dy}{dx}\) must be collected:

\[ \frac{dy}{dx} + \cos y\frac{dy}{dx} = -\sin x. \]

Hence,

\[ \boxed{ \frac{dy}{dx} = -\frac{\sin x}{1+\cos y}. } \]

For entrance examinations, this factorisation step is often the quickest route to the answer.

Derivatives of Inverse Trigonometric Functions

📖 Introduction
🗒️ Standard Derivatives

The three most frequently used inverse trigonometric derivatives in Class 12 Mathematics are

\[ \boxed{ \frac{d}{dx}(\sin^{-1}x) = \frac{1}{\sqrt{1-x^2}} } \]

for \(-1

\[ \boxed{ \frac{d}{dx}(\cos^{-1}x) = -\frac{1}{\sqrt{1-x^2}} } \]

for \(-1

\[ \boxed{ \frac{d}{dx}(\tan^{-1}x) = \frac{1}{1+x^2} } \]

for all real \(x\).

Complete List of Important Derivatives
Function Derivative Domain of \(x\)
\(\sin^{-1}x\) \(\displaystyle \frac{1}{\sqrt{1-x^2}}\) \(-1
\(\cos^{-1}x\) \(\displaystyle -\frac{1}{\sqrt{1-x^2}}\) \(-1
\(\tan^{-1}x\) \(\displaystyle \frac{1}{1+x^2}\) \(x\in\mathbb R\)
\(\cot^{-1}x\) \(\displaystyle -\frac{1}{1+x^2}\) \(x\in\mathbb R\)
\(\sec^{-1}x\) \(\displaystyle \frac{1}{|x|\sqrt{x^2-1}}\) \(|x|>1\)
\(\csc^{-1}x\) \(\displaystyle -\frac{1}{|x|\sqrt{x^2-1}}\) \(|x|>1\)
✏️ Example
1
Example
Derivation of \(\frac{d}{dx}(\sin^{-1}x)\)
  1. Let
    \[y=\sin^{-1}x\]
  2. By the definition of an inverse function,
    \[\sin y=x\]
  3. Differentiating both sides with respect to \(x\),
    \[\cos y\frac{dy}{dx}=1\]
  4. Therefore,
    \[\frac{dy}{dx}=\frac{1}{\cos y}.\]
  5. Since
    \[\sin y=x\]
  6. using
    \[\sin^2y+\cos^2y=1\]
  7. we obtain
    \[\cos^2y=1-x^2\]
  8. For the principal value range of \(\sin^{-1}x\),
    \[-\frac{\pi}{2}\leq y\leq\frac{\pi}{2},\]
  9. and hence \(\cos y\geq0\). Therefore,
    \[\cos y=\sqrt{1-x^2}\]
  10. Consequently,
    \[\boxed{\frac{dy}{dx}=\frac{1}{\sqrt{1-x^2}}}.\]
  11. Thus,
    \[\boxed{\frac{d}{dx}(\sin^{-1}x)=\frac{1}{\sqrt{1-x^2}}}\]
✏️ Example
2
Example
Derivation of \(\frac{d}{dx}(\cos^{-1}x)\)
  1. Let
    \[y=\cos^{-1}x\]
  2. Then
    \[\cos y=x\]
  3. Differentiating both sides with respect to \(x\),
    \[-\sin y\frac{dy}{dx}=1\]
  4. Therefore,
    \[\frac{dy}{dx}=-\frac{1}{\sin y}\]
  5. Using $\cos y=x\;$ and $\sin^2y+\cos^2y=1\;$ we get
    \[\sin^2y=1-x^2\]
  6. For the principal range of \(\cos^{-1}x\),
    \[0\leq y\leq\pi\]
  7. so \(\sin y\geq0\). Hence,
    \[\sin y=\sqrt{1-x^2}\]
  8. Therefore,
    \[\boxed{\frac{dy}{dx}=-\frac{1}{\sqrt{1-x^2}}}\]
  9. Thus,
    \[\boxed{\frac{d}{dx}(\cos^{-1}x)=-\frac{1}{\sqrt{1-x^2}}}\]
✏️ Example
3
Example
Derivation of \(\frac{d}{dx}(\tan^{-1}x)\)
  1. Let
    \[y=\tan^{-1}x\]
  2. Here,
    \[u=x^2+1\]
    and
    \[u'=2x\]
  3. Therefore,
    \[\begin{aligned}\frac{dy}{dx}&=\frac{2x}{1+(x^2+1)^2}\end{aligned}\]
  4. Thus,
    \[\boxed{\frac{dy}{dx}=\frac{2x}{1+(x^2+1)^2}}\]
✏️ Example
4
Example
Find the derivative of \(y=\sin^{-1}\left(\frac{x}{a}\right)\) where \(a\neq0\).
  1. Using the Chain Rule,
    \[\begin{aligned}\frac{dy}{dx}&=\frac{1/a}{\sqrt{1-\frac{x^2}{a^2}}}\\ &=\frac{1}{a}\cdot\frac{|a|}{\sqrt{a^2-x^2}}\end{aligned}\]
  2. Hence, if \(a>0\),
    \[\boxed{\frac{dy}{dx}=\frac{1}{\sqrt{a^2-x^2}}}\]
    📝 The absolute-value issue is important when the constant \(a\) is not explicitly stated to be positive.
🗒️ Important Relationship Between \(\sin^{-1}x\) and \(\cos^{-1}x\)
For \(x\in[-1,1]\)
\[\boxed{\sin^{-1}x+\cos^{-1}x=\frac{\pi}{2}}\]
Differentiating both sides,
\[\frac{1}{\sqrt{1-x^2}}+\frac{d}{dx}(\cos^{-1}x)=0\]
Therefore,
\[\boxed{\frac{d}{dx}(\cos^{-1}x)=-\frac{d}{dx}(\sin^{-1}x)}\]
This provides a quick way to remember the negative sign in the derivative of \(\cos^{-1}x\).
🌟 Significance in Board Examinations

Derivatives of inverse trigonometric functions are frequently used in Class 12 differentiation. They are especially important for:

  • direct derivative questions;
  • Chain Rule problems;
  • implicit differentiation;
  • logarithmic differentiation;
  • second and higher-order derivatives;
  • tangent and normal problems;
  • increasing and decreasing functions;
  • maxima and minima; and
  • application-based and case-study questions.
Significance for JEE and Other Entrance Examinations

For competitive examinations, inverse trigonometric derivatives frequently appear inside nested functions and expressions requiring algebraic simplification. A problem may test not merely the derivative formula but also domain restrictions, identities, Chain Rule, or substitution.

A particularly useful recognition pattern is

\[ y=\sin^{-1}[g(x)] \]

which immediately gives

\[ \boxed{ y'=\frac{g'(x)}{\sqrt{1-[g(x)]^2}}. } \]

Similarly,

\[ \boxed{ \frac{d}{dx}\cos^{-1}[g(x)] = -\frac{g'(x)} {\sqrt{1-[g(x)]^2}} } \]

and

\[ \boxed{ \frac{d}{dx}\tan^{-1}[g(x)] = \frac{g'(x)} {1+[g(x)]^2}. } \]
❌ Common Mistakes
  • Confusing \(\sin^{-1}x\) with \(\frac{1}{\sin x}\).
  • Forgetting the negative sign in
    \[ \frac{d}{dx}(\cos^{-1}x) = -\frac{1}{\sqrt{1-x^2}}. \]
  • Forgetting the derivative of the inner function while applying the Chain Rule.
  • Writing
    \[ \frac{d}{dx}[\sin^{-1}(u)] = \frac{1}{\sqrt{1-u^2}} \]
    instead of
    \[ \frac{u'}{\sqrt{1-u^2}}. \]
  • Ignoring the domain restrictions of inverse trigonometric functions.
  • Incorrectly replacing \(\sqrt{x^2}\) by \(x\). In general,
    \[ \boxed{\sqrt{x^2}=|x|}. \]
⚡ Quick Revision

The essential idea is:

\[ \boxed{ \text{Derivative of inverse trigonometric function} + \text{Chain Rule} } \]

For example,

\[ y=\sin^{-1}(x^3) \]

gives

\[ \boxed{ \frac{dy}{dx} = \frac{3x^2}{\sqrt{1-x^6}}. } \]

Thus, whenever the argument of an inverse trigonometric function is not simply \(x\), first identify the inner function and then multiply by its derivative.

Exponential and Logarithmic Functions

📘 Definition
📌 Salient Features of \(y=b^x\), \(b>1\)
👁️ Important Observation
📌 Note
✏️ Example
Since
\[2^3=8\]
we have
\[\boxed{\log_2 8=3}\]
Similarly,
\[10^4=10000\]
gives
\[\boxed{\log_{10}10000=4}\]
Also,
\[5^4=625\]
gives
\[\boxed{\log_5 625=4}\]
Since
\[25^2=625\]
we also hav
\[\boxed{\log_{25}625=2}\]
🗒️ Domain And Range Of The Logarithmic Function
For
\[ f(x)=\log_b x, \qquad b>0,\ b\neq1, \]
the domain is
\[\boxed{(0,\infty)}\]
and the range is
\[\boxed{\mathbb R}\]
The argument of a real logarithm must always be positive:
\[\boxed{x>0}\]
Consequently, expressions such as \(\log(-2)\) and \(\log 0\) are not defined as real numbers.
🗒️ Salient Features Of \(y=\log Bx\), \(b>1\)
  1. Domain:

    \[ \boxed{(0,\infty)} \]
  2. Range:

    \[ \boxed{\mathbb R} \]
  3. X-intercept: Putting \(x=1\),

    \[ y=\log_b1=0. \]

    Therefore, the graph always passes through

    \[ \boxed{(1,0)}. \]
  4. Increasing nature: If \(b>1\), then \(\log_bx\) is strictly increasing on \((0,\infty)\).

  5. Vertical asymptote: The \(y\)-axis, \(x=0\), is a vertical asymptote.

  6. End behaviour:

    \[ \lim_{x\to0^+}\log_bx=-\infty \]

    and

    \[ \lim_{x\to\infty}\log_bx=\infty. \]
🗒️ Common Logarithm And Natural Logarithm
Two logarithmic bases are especially important.

Common Logarithm

The logarithm to base \(10\) is called the common logarithm and is generally written as
\[\boxed{\log x=\log_{10}x}\]

Natural Logarithm

The logarithm to base \(e\) is called the natural logarithm and is written as
\[\boxed{\ln x=\log_ex}\]
Natural logarithms are particularly important in calculus.
🗒️ Relationship Between Exponential And Logarithmic Functions
The functions
\[y=b^x\]
and
\[y=\log_bx\]
are inverse functions. Thus
\[\boxed{y=b^x\iff x=\log_by}\]
Consequently,
\[\boxed{b^{\log_bx}=x}\]
for \(x>0\), and
\[\boxed{\log_b(b^x)=x}\]
for every real \(x\).
🗒️ Graphs Of Inverse Functions
The graphs of
\[y=e^x\]
and
\[y=\ln x\]
are reflections of each other in the line
\[\boxed{y=x}\]
This is a general property of inverse functions: the graph of a function and its inverse are reflections of each other about \(y=x\).
🗒️ Laws of Logarithms
For positive \(x\) and \(y\), and valid base \(b\), the important logarithmic laws are:
Product Rule
\[\boxed{\log_b(xy)=\log_bx+\log_by}\]
Quotient Rule
\[\boxed{\log_b\left(\frac{x}{y}\right)=\log_bx-\log_by}\]
Power Rule
\[\boxed{\log_b(x^n)=n\log_bx}\]
for appropriate real \(n\) whenever the expression is defined.
Logarithm of 1
\[\boxed{\log_b1=0}\]
because
\[b^0=1\]
\[\boxed{\log_bb=1}\]
because
\[b^1=b\]
📐 Derivation
Derivation of the Product Rule
Let
\[\log_b p=\alpha,\quad \log_b q=\beta.\]
Then
\[p=b^\alpha,\qquad q=b^\beta\]
Therefore
\[pq=b^\alpha b^\beta=b^{\alpha+\beta}\]
Taking logarithm to base \(b\),
\[\log_b(pq)=\alpha+\beta\]
Hence
\[\boxed{\log_b(pq)=\log_bp+\log_bq}\]
📐 Derivation
Derivation of the Power Rule
Using the product rule repeatedly, for a positive integer \(n\),
\[\begin{aligned}\log_b(p^n)&=\log_b(\underbrace{p\cdot p\cdot\ldots\cdot p}_{n\text{ factors}})\\ &=\log_bp+\log_bp+\cdots+\log_bp\\&=n\log_bp.\end{aligned}\]
Thus,
\[\boxed{\log_b(p^n)=n\log_bp.}\]
🗒️ Change Of Base Formula
Let \(a>0\), \(a\neq1\), \(b>0\), \(b\neq1\), and \(p>0\). The change of base formula is
\[\boxed{\log_ap=\frac{\log_bp}{\log_ba}}\]
In particular, choosing \(b=e\)
\[\boxed{\log_ap=\frac{\ln p}{\ln a}}\]
🗒️ Derivation Of Change Of Base Formula
Let
\[\log_ap=\alpha\]
Then
\[a^\alpha=p\]
Taking logarithm to base \(b\) on both sides,
\[\log_b(a^\alpha)=\log_bp\]
Using the power rule,
\[\alpha\log_ba=\log_bp\]
Therefore,
\[\boxed{\alpha=\frac{\log_bp}{\log_ba}.}\]
Since \(\alpha=\log_ap\),
\[\boxed{\log_ap=\frac{\log_bp}{\log_ba}}\]
🗒️ Derivatives Of Exponential Functions
Derivative of \(e^x\)
The fundamental exponential derivative is
\[\boxed{\frac{d}{dx}(e^x)=e^x.}\]
This means that \(e^x\) is equal to its own derivative.
Derivative of \(a^x\)
For a positive constant \(a\neq1\),
\[\boxed{\frac{d}{dx}(a^x)=a^x\ln a}\]
When \(a=e\), since \(\ln e=1\), this reduces to
\[\frac{d}{dx}(e^x)=e^x\]
Derivation of \(\frac{d}{dx}(a^x)\)
Write
\[a^x=e^{x\ln a}\]
Using the Chain Rule,
\[ \begin{aligned} \frac{d}{dx}(a^x) &= \frac{d}{dx}\left(e^{x\ln a}\right)\\ &=e^{x\ln a}\ln a\\&=a^x\ln a.\end{aligned}\]
Hence
\[\boxed{\frac{d}{dx}(a^x)=a^x\ln a}\]
🗒️ Derivative Of The Natural Logarithm
The fundamental logarithmic derivative is
\[\boxed{\frac{d}{dx}(\ln x)=\frac{1}{x},\qquad x>0.}\]
Derivation Using the Inverse Relationship
Let
\[y=\ln x\]
Then
\[x=e^y\]
Differentiating with respect to \(x\),
\[1=e^y\frac{dy}{dx}\]
Since \(e^y=x\),
\[1=x\frac{dy}{dx}\]
Therefore,
\[\boxed{\frac{dy}{dx}=\frac1x}\]
📌 Note
Derivative of \(\log_a x\)
📎 Side Note
Chain Rule for Exponential and Logarithmic Functions
If \(u=u(x)\), then
\[\boxed{\frac{d}{dx}(e^u)=e^u\frac{du}{dx}}\]
and
\[\boxed{\frac{d}{dx}(a^u)=a^u\ln a\frac{du}{dx}}\]
Similarly,
\[\boxed{\frac{d}{dx}(\ln u)=\frac{1}{u}\frac{du}{dx}}\]
and
\[\boxed{\frac{d}{dx}(\log_au)=\frac{u'}{u\ln a}}\]
✏️ Example
Exponential Function with an Inner Function
1
Question
Differentiate
\[y=e^{x^2+3x}\]
  1. Let
    \[u=x^2+3x\]
  2. Then
    \[\frac{du}{dx}=2x+3\]
  3. By the Chain Rule,
    \[\boxed{\frac{dy}{dx}=e^{x^2+3x}(2x+3)}\]
✏️ Example
2
Question
Differentiate
\[y=\ln(x^2+1)\]
  1. Using
    \[\frac{d}{dx}(\ln u)=\frac{u'}u\]
  2. we obtain
    \[\begin{aligned}\frac{dy}{dx}&=\frac{2x}{x^2+1}\end{aligned}\]
  3. Hence,
    \[\boxed{\frac{dy}{dx}=\frac{2x}{x^2+1}}\]
✏️ Example
3
Question
Find the derivative of $y=3^{x^2}$
Part (a)
  1. Using
    \[\frac{d}{dx}(a^u)=a^u\ln a\cdot u'\]
  2. we get
    \[\boxed{\frac{dy}{dx}=3^{x^2}\ln3\cdot2x=2x\,3^{x^2}\ln3}\]
🗒️ Logarithmic Differentiation
Logarithmic differentiation is a powerful technique used when a variable occurs in both the base and exponent, or when a function contains complicated products, quotients, or powers.

For example, consider
\[y=x^x,\qquad x>0\]
Taking natural logarithm on both sides,
\[\ln y=x\ln x\]
Differentiating with respect to \(x\),
\[\frac1y\frac{dy}{dx}=\ln x+1\]
Therefore,
\[\frac{dy}{dx}=y(\ln x+1)\]
Since \(y=x^x\),
\[\boxed{\frac{dy}{dx}=x^x(1+\ln x)}\]
This technique is particularly important for JEE and other competitive entrance examinations.
🌟 Important Identities
🗒️ Exponential Growth And Decay
Exponential functions are used to model quantities that grow or decay at a rate proportional to their current value.

A general exponential model is
\[\boxed{N(t)=N_0e^{kt}}\]
Here \(N_0\) is the initial value and \(k\) is a constant. If
\[k>0\]
the model represents exponential growth.

If
\[k<0,\]
the model represents exponential decay.

Differentiating
\[\boxed{N'(t)=kN(t)}\]
Thus, the rate of change is proportional to the quantity itself.
🌟 Significance for CBSE Board Examinations

Exponential and logarithmic functions form an important part of Class 12 differentiation. Their formulas frequently occur in direct questions as well as multi-step problems.

Students should be comfortable with:

  • domain and range of exponential and logarithmic functions;
  • properties of \(e^x\) and \(\ln x\);
  • laws of logarithms;
  • change of base formula;
  • derivatives of \(e^x\), \(a^x\), \(\ln x\), and \(\log_ax\);
  • Chain Rule involving exponential and logarithmic functions;
  • implicit differentiation involving \(e^y\) or \(\ln y\); and
  • logarithmic differentiation.
Significance for JEE and Competitive Entrance Examinations

Competitive problems often combine logarithmic identities with differentiation. The difficulty is frequently in recognising the appropriate transformation rather than simply recalling a derivative formula.

Important patterns include

\[ y=e^{f(x)} \quad\Rightarrow\quad y'=e^{f(x)}f'(x), \]
\[ y=a^{f(x)} \quad\Rightarrow\quad y'=a^{f(x)}\ln a\;f'(x), \]
\[ y=\ln[f(x)] \quad\Rightarrow\quad y'=\frac{f'(x)}{f(x)}, \]
\[ y=\log_a[f(x)] \quad\Rightarrow\quad y'=\frac{f'(x)}{f(x)\ln a}. \]
⚡ Exam Tip
❌ Common Mistakes
  • Writing
    \[ \frac{d}{dx}(a^x)=a^x \]
    for an arbitrary base \(a\). The correct result is
    \[ \boxed{\frac{d}{dx}(a^x)=a^x\ln a}. \]
  • Forgetting the Chain Rule:
    \[ \frac{d}{dx}\ln(x^2+1) \neq\frac{1}{x^2+1}. \]
    The correct derivative is
    \[ \boxed{\frac{2x}{x^2+1}}. \]
  • Assuming \(\log(x+y)=\log x+\log y\). This is false. The product rule applies to multiplication:
    \[ \boxed{\log(xy)=\log x+\log y}. \]
  • Assuming \(\log(x-y)=\log x-\log y\). This is also false.
  • Ignoring the restriction \(x>0\) for \(\ln x\) in real calculus.
  • Confusing inverse logarithmic and exponential relationships.
⚡ Formula Sheet for Quick Revision

Exponential functions:

\[ \boxed{ \frac{d}{dx}(e^x)=e^x } \]
\[ \boxed{ \frac{d}{dx}(a^x)=a^x\ln a } \]
\[ \boxed{ \frac{d}{dx}(e^u)=e^u u' } \]
\[ \boxed{ \frac{d}{dx}(a^u)=a^u\ln a\;u' } \]

Logarithmic functions:

\[ \boxed{ \frac{d}{dx}(\ln x)=\frac1x } \]
\[ \boxed{ \frac{d}{dx}(\log_ax)=\frac{1}{x\ln a} } \]
\[ \boxed{ \frac{d}{dx}(\ln u)=\frac{u'}u } \]
\[ \boxed{ \frac{d}{dx}(\log_au)=\frac{u'}{u\ln a} } \]

Logarithmic identities:

\[ \boxed{ \log_b(xy)=\log_bx+\log_by } \]
\[ \boxed{ \log_b\left(\frac{x}{y}\right) = \log_bx-\log_by } \]
\[ \boxed{ \log_b(x^n)=n\log_bx } \]
\[ \boxed{ \log_ap=\frac{\log_bp}{\log_ba} } \]

Example 19

❓ Question
Differentiate the Following Functions
  1. \(y=e^{-x}\)
  2. \(y=\sin(\log x)\)
  3. \(y=\cos^{-1}(e^x)\)
  4. \(y=e^{\cos x}\)
💡 Concept
🧩 Solution
Part (i)
(i) Differentiate \(y=e^{-x}\)
  1. Let
    \[u=-x\]
  2. Then
    \[y=e^u\]
  3. Using
    \frac{d}{dx}(e^u)=e^u\frac{du}{dx}
  4. we get
    \[ \begin{aligned} \frac{dy}{dx} &=e^{-x}\frac{d}{dx}(-x)\\ &=e^{-x}(-1). \end{aligned} \]
  5. Therefore,
    \[\boxed{\frac{dy}{dx}=-e^{-x}}\]
    📝 Concept: The derivative of \(e^{u}\) is \(e^u u'\). The negative sign appears because the derivative of the exponent \(-x\) is \(-1\).
Part (ii)
(ii) Differentiate \(y=\sin(\log x)\)
  1. Let
    \[u=\log x\]
  2. Then
    \[y=\sin u\]
  3. Using the Chain Rule,
    \[\frac{dy}{dx}=\cos u\frac{du}{dx}.\]
  4. For the natural logarithm,
    \[\frac{d}{dx}(\log x)=\frac1x\]
  5. when \(\log x\) denotes \(\ln x\). Hence,
    \[\begin{aligned}\frac{dy}{dx}&=\cos(\log x)\cdot\frac1x\\ &=\frac{\cos(\log x)}{x}\end{aligned}\]
  6. Therefore,
    \[\boxed{\frac{dy}{dx}=\frac{\cos(\log x)}{x}}\]
  7. Domain
    \[\boxed{x>0}\]
    📝 Important note: If \(\log x\) means logarithm to an arbitrary base \(a\), then
    \[\frac{d}{dx}(\log_a x)=\frac{1}{x\ln a},\]
  8. and consequently
    \[\boxed{\frac{dy}{dx}=\frac{\cos(\log_a x)}{x\ln a}}\]
Part (iii)
(iii) Differentiate \(y=\cos^{-1}(e^x)\)
  1. Let
    \[u=e^x\]
  2. Then
    \[y=\cos^{-1}u\]
  3. Using
    \[\frac{d}{du}(\cos^{-1}u)=-\frac{1}{\sqrt{1-u^2}}\]
    and
    \[\frac{du}{dx}=e^x\]
  4. the Chain Rule gives
    \[\begin{aligned}\frac{dy}{dx}&=-\frac{1}{\sqrt{1-(e^x)^2}}\cdot e^x\\ &=-\frac{e^x}{\sqrt{1-e^{2x}}}\end{aligned}\]
  5. Hence,
    \[\boxed{\frac{dy}{dx}=-\frac{e^x}{\sqrt{1-e^{2x}}}}\]
  6. Domain Restriction For \(\cos^{-1}(e^x)\) to be real-valued, its argument must satisfy
    \[-1\leq e^x\leq1\]
  7. Since
    \[e^x>0\]
  8. we require
    \[e^x\leq1\]
  9. This gives
    \[\boxed{x\leq0}\]
  10. The derivative is finite for
    \[\boxed{x<0}\]
    📝 while at \(x=0\), the denominator becomes zero and the derivative is not finite.
Part (iv)
(iv) Differentiate \(y=e^{\cos x}\)
  1. Let
    \[u=\cos x\]
  2. Then
    \[y=e^u\]
  3. Using the Chain Rule,
    \[\frac{dy}{dx}=e^u\frac{du}{dx}.\]
  4. Since
    \[\frac{du}{dx}=\frac{d}{dx}(\cos x)=-\sin x,\]
  5. we obtain
    \[\begin{aligned}\frac{dy}{dx}&=e^{\cos x}(-\sin x)\\ &=-e^{\cos x}\sin x\end{aligned}\]
  6. Therefore,
    \[\boxed{\frac{dy}{dx}=-e^{\cos x}\sin x}\]
⚡ Exam Tip
❌ Common Mistakes
  • Do not write \(\dfrac{d}{dx}(e^{\cos x})=e^{\cos x}\). The factor \(-\sin x\) must also be included.
  • Do not forget that \(\dfrac{d}{dx}(-x)=-1\).
  • For \(\ln u\), use \(\dfrac{u'}u\), not merely \(\dfrac1u\).
  • For \(\cos^{-1}u\), the derivative is negative:
    \[ -\frac{u'}{\sqrt{1-u^2}}. \]
  • When an inverse trigonometric function contains another function as its argument, always apply the Chain Rule.

Logarithmic Differentiation

🗺️ Overview

Logarithmic differentiation is a useful technique for differentiating functions in which the variable occurs both in the base and the exponent, or functions involving complicated products, quotients and powers.

It is particularly useful for functions of the form

\[ y=[u(x)]^{v(x)}, \]

where both the base \(u(x)\) and the exponent \(v(x)\) are functions of \(x\).

📘 Definition
📐 Derivation of the Formula
Let
\[y=[u(x)]^{v(x)}\]
Take natural logarithm on both sides:
\[\ln y=\ln\left([u(x)]^{v(x)}\right)\]
Using the logarithmic identity \(\ln(a^b)=b\ln a\),
\[\ln y=v(x)\ln[u(x)]\]
Differentiate both sides with respect to \(x\):
\[\frac{1}{y}\frac{dy}{dx}=\frac{d}{dx}\left[v(x)\ln(u(x))\right]\]
Applying the Product Rule,
\[\frac{1}{y}\frac{dy}{dx}=v'(x)\ln(u(x))+v(x)\frac{d}{dx}[\ln(u(x))]\]
By the Chain Rule,
\[\frac{d}{dx}[\ln(u(x))]=\frac{u'(x)}{u(x)}\]
Therefore,
\[\frac{1}{y}\frac{dy}{dx}=v'(x)\ln(u(x))+\frac{v(x)u'(x)}{u(x)}\]
Multiplying by \(y\),
\[\boxed{\frac{dy}{dx}=y\left[\frac{v(x)u'(x)}{u(x)}+v'(x)\ln(u(x))\right]}\]
🤔 Why Logarithmic Differentiation Is Useful
Ordinary differentiation can become lengthy when a function contains several products, quotients or variable powers. Taking logarithms converts:
  • Products into sums.
  • Quotients into differences.
  • Powers into products.
For example,
\[y=\frac{x^5(x+1)^3}{(x^2+1)^4}\]
can be transformed into
\[\ln y=5\ln x+3\ln(x+1)-4\ln(x^2+1),\]
which is usually much easier to differentiate.
🧰 Basic Procedure for Logarithmic Differentiation
  1. Write the given function as \(y=f(x)\).
  2. Take natural logarithm on both sides.
  3. Use logarithmic identities to simplify the expression.
  4. Differentiate implicitly with respect to \(x\).
  5. Solve for \(\dfrac{dy}{dx}\).
  6. Replace \(y\) by its original expression, if required.
✏️ Example
1
Question
Differentiate
\[y=x^x,\quad x>0\]
💡 Concept
🧩 Solution
🗒️ Soution

Warning: Array to string conversion in /home/u159659565/domains/academia-aeternum.com/public_html/includes/render_note_article.php on line 7092
Array
✏️ Example
2
Example
Differentiate
\[y=(2x+1)^{x}\]
  1. Taking logarithm
    \[\ln y=x\ln(2x+1)\]
  2. Differentiating,
    \[\frac{1}{y}\frac{dy}{dx}=\ln(2x+1)+x\frac{2}{2x+1}\]
  3. Therefore,
    \[\frac{dy}{dx}=y\left[\ln(2x+1)+\frac{2x}{2x+1}\right]\]
  4. Substituting \(y=(2x+1)^x\),
    \[\boxed{\frac{dy}{dx}=(2x+1)^x\left[\ln(2x+1)+\frac{2x}{2x+1}\right]}\]
3
Example
Differentiate y=x^3(x+1)^4
  1. Taking logarithm
    \ln y=3\ln x+4\ln(x+1)
  2. Differentiating,
    \[\frac{1}{y}\frac{dy}{dx}=\frac{3}{x}+\frac{4}{x+1}\]
  3. Hence,
    \[\frac{dy}{dx}=x^3(x+1)^4\left(\frac{3}{x}+\frac{4}{x+1}\right).\]
    ,
  4. Thus,
    \[\boxed{\frac{dy}{dx}=x^3(x+1)^4\left(\frac{3}{x}+\frac{4}{x+1}\right)}.\]
4
Example
Differentiate y=\frac{x^2(x+1)^3}{(x^2+1)^2}
  1. Taking logarithm
    \[\ln y=2\ln x+3\ln(x+1)-2\ln(x^2+1)\]
  2. Differentiating,
    \[\frac{1}{y}\frac{dy}{dx}=\frac{2}{x}+\frac{3}{x+1}-\frac{4x}{x^2+1}\]
  3. Therefore,
    \[\boxed{\frac{dy}{dx}=\frac{x^2(x+1)^3}{(x^2+1)^2}\left[\frac{2}{x}+\frac{3}{x+1}-\frac{4x}{x^2+1}\right]}\]
⭐ Important Special Cases
Case 1: \(y=[u(x)]^n\), where \(n\) is a constant
The general logarithmic differentiation formula gives
\[v(x)=n,\qquad v'(x)=0\]
Therefore,
\[\frac{dy}{dx}=u^n\left[\frac{nu'}{u}\right]\]
Hence,
\[\boxed{\frac{dy}{dx}=nu^{n-1}u'}\]
This is precisely the familiar General Power Rule.
Case 2: \(y=[u(x)]^{v(x)}\)
\[\boxed{\frac{dy}{dx}=[u(x)]^{v(x)}\left[v(x)\frac{u'(x)}{u(x)}+v'(x)\ln(u(x))\right]}\]
Case 3: \(y=a^{u(x)}\), where \(a>0\) and \(a\neq1\)
Since
\[y=a^{u(x)}\]
the derivative is
\[\boxed{\frac{dy}{dx}=a^{u(x)}\ln(a)\,u'(x)}\]
For \(a=e\), since \(\ln e=1\), this reduces to
\[\boxed{\frac{d}{dx}e^{u(x)}=e^{u(x)}u'(x)}\]
📌 Logarithmic Differentiation and the Product Rule
📎 Logarithmic Differentiation and the Quotient Rule
For
\[y=\frac{u}{v}\]
taking logarithm gives
\[\ln y=\ln u-\ln v\]
Differentiating,
\[\frac{y'}{y}=\frac{u'}{u}-\frac{v'}{v}\]
Since \(y=\dfrac{u}{v}\)
\[y'=\frac{u}{v}\left(\frac{u'}{u}-\frac{v'}{v}\right)\]
Therefore,
\[\boxed{y'=\frac{u'v-uv'}{v^2}}\]
Thus logarithmic differentiation provides another route to the Quotient Rule.
✏️ Example
5
Question
Differentiate
\[y=(\sin x)^x\]
  1. Taking logarithm,
    \[\ln y=x\ln(\sin x)\]
  2. Differentiating,
    \[\frac{1}{y}\frac{dy}{dx}=\ln(\sin x)+x\frac{\cos x}{\sin x}\]
  3. Since
    \[\frac{\cos x}{\sin x}=\cot x,\]
  4. we get
    \[\frac{1}{y}\frac{dy}{dx}=\ln(\sin x)+x\cot x.\]
  5. Therefore,
    \[\boxed{\frac{dy}{dx}=(\sin x)^x\left[\ln(\sin x)+x\cot x\right]}\]
🔢 Exam-Oriented Formula Sheet
⚡ Exam Tip
❌ Common Mistakes
  • Applying the ordinary power rule directly to \(x^x\). The exponent is not constant, so \(d(x^n)/dx=nx^{n-1}\) cannot be used with \(n=x\).
  • Writing
    \[ \frac{d}{dx}\ln(u)=\frac1u \]
    instead of
    \[ \frac{d}{dx}\ln(u)=\frac{u'}u. \]
  • Forgetting the Product Rule in
    \[ v(x)\ln(u(x)). \]
  • Forgetting to multiply by \(y\) after obtaining
    \[ \frac{y'}y. \]
  • Confusing \(\ln(u^v)\) with \(v\ln u\) without considering the domain. For real-valued logarithmic differentiation, the logarithm must be applied where the expression is defined and positive.
📋 CBSE HOTS / Case-Based Practice

Case: A student is asked to differentiate

\[ y=x^x,\qquad x>0. \]

The student argues that since \(y=x^x\), the power rule gives

\[ y'=xx^{x-1}=x^x. \]

Question 1: Identify the error in the student's reasoning.

Answer: The power rule \(\dfrac{d}{dx}(x^n)=nx^{n-1}\) requires \(n\) to be a constant. Here the exponent \(x\) is itself a variable. Therefore, the ordinary power rule cannot be applied directly.

Question 2: Find the correct derivative.

\[ \ln y=x\ln x \]
\[ \frac{y'}y=\ln x+1 \]
\[ \boxed{ y'=x^x(\ln x+1) }. \]

Question 3: Find the logarithmic derivative of \(y=x^x\).

\[ \boxed{ \frac{y'}y=\ln x+1 }. \]
🔑 Key Takeaway

Example 20

❓ Question
Differentiate
\[y=\sqrt{\frac{(x-3)(x^2+4)}{3x^2+4x+5}}.\]
💡 Concept
🗺️ Roadmap
\[ y \longrightarrow \ln y \longrightarrow \text{expand logarithms} \longrightarrow \text{differentiate} \longrightarrow \text{solve for }\frac{dy}{dx}. \]
🧩 Solution
  1. Let
    \[y=\sqrt{\frac{(x-3)(x^2+4)}{3x^2+4x+5}}\]
  2. Taking natural logarithm on both sides,
    \[\ln y=\ln\left[\left(\frac{(x-3)(x^2+4)}{3x^2+4x+5}\right)^{1/2}\right]\]
  3. Using the logarithmic identity
    \[\ln(a^n)=n\ln a\]
  4. we obtain
    \[\ln y=\frac12\ln\left[\frac{(x-3)(x^2+4)}{3x^2+4x+5}\right]\]
  5. Using
    \[\ln\left(\frac{A}{B}\right)=\ln A-\ln B\]
    and
    \[\ln(AB)=\ln A+\ln B\]
  6. we get
    \[\boxed{\ln y=\frac12\left[\ln(x-3)+\ln(x^2+4)-\ln(3x^2+4x+5)\right]}\]
  7. Now differentiate both sides with respect to \(x\).
    \[\frac{1}{y}\frac{dy}{dx}=\frac12\left[\frac{1}{x-3}+\frac{2x}{x^2+4}-\frac{6x+4}{3x^2+4x+5}\right].\]
  8. Therefore,
    \[\boxed{\frac{dy}{dx}=\frac{y}{2}\left[\frac{1}{x-3}+\frac{2x}{x^2+4}-\frac{6x+4}{3x^2+4x+5}\right]}\]
  9. Substituting the value of \(y\),
    \[\boxed{\frac{dy}{dx}=\frac12\sqrt{\frac{(x-3)(x^2+4)}{3x^2+4x+5}}\left[\frac{1}{x-3}+\frac{2x}{x^2+4}-\frac{6x+4}{3x^2+4x+5}\right]}\]
Answer
\[\boxed{\frac{dy}{dx}=\frac12\sqrt{\frac{(x-3)(x^2+4)}{3x^2+4x+5}}\left[\frac{1}{x-3}+\frac{2x}{x^2+4}-\frac{6x+4}{3x^2+4x+5}\right]}\]
⚡ Exam Tip
❌ Common Mistakes
  • Forgetting the factor \(\frac12\) arising from the square root.
  • Writing \(\ln(AB)=\ln A\,\ln B\). The correct identity is
    \[ \ln(AB)=\ln A+\ln B. \]
  • Writing
    \[ \ln\left(\frac AB\right)=\frac{\ln A}{\ln B}. \]
    The correct identity is
    \[ \ln\left(\frac AB\right)=\ln A-\ln B. \]
  • Forgetting the Chain Rule while differentiating \(\ln(x^2+4)\) or \(\ln(3x^2+4x+5)\).
  • Forgetting that
    \[ \frac{d}{dx}\ln[u(x)]=\frac{u'(x)}{u(x)}. \]

Example 21

❓ Question
Differentiate
\[y=x^{\sin x}\]
💡 Concept
🧩 Solution
  1. Let
    \[y=x^{\sin x}\]
  2. For real-valued logarithmic differentiation, we take \(x>0\). Taking natural logarithm on both sides,
    \[\ln y=\ln\left(x^{\sin x}\right)\]
  3. Using
    \[\ln(a^b)=b\ln a,\]
  4. we obtain
    \[\ln y=\sin x\ln x\]
  5. Differentiate both sides with respect to \(x\). The left side requires implicit differentiation, while the right side requires the Product Rule:
    \[\frac{1}{y}\frac{dy}{dx}=\frac{d}{dx}(\sin x\ln x)\]
    \[\frac{1}{y}\frac{dy}{dx}=\cos x\ln x+\sin x\frac{1}{x}\]
  6. Therefore,
    \[\frac{dy}{dx}=y\left(\cos x\ln x+\frac{\sin x}{x}\right)\]
  7. Since \(y=x^{\sin x}\),
    \[\boxed{\frac{dy}{dx}=x^{\sin x}\left(\cos x\ln x+\frac{\sin x}{x}\right)}\]
Final Answer
\[\boxed{\frac{d}{dx}\left(x^{\sin x}\right)=x^{\sin x}\left(\cos x\ln x+\frac{\sin x}{x}\right),\qquad x>0}\]
⚡ Exam Tip
❌ Common Mistakes
  • Incorrect:
    \[ \frac{d}{dx}(x^{\sin x})=\sin x\,x^{\sin x-1}. \]
    This incorrectly treats \(\sin x\) as a constant.
  • Incorrect:
    \[ \frac{d}{dx}(\sin x\ln x)=\cos x\ln x. \]
    The second Product Rule term has been omitted.
  • Correct:
    \[ \frac{d}{dx}(\sin x\ln x) = \cos x\ln x+\frac{\sin x}{x}. \]
  • Do not confuse \(\log x\) with \(x\log x\). The derivative of \(\log x\), when \(\log\) denotes the natural logarithm, is \(1/x\).

Example 22

❓ Question
Find \(\dfrac{dy}{dx}\), if
\[x=\cos^{-1}\theta,\quad y=\sin^{-1}\theta\]
💡 Concept
🗺️ Roadmap
  1. Differentiate \(x\) with respect to \(\theta\).

  2. Differentiate \(y\) with respect to \(\theta\).

  3. Use

    \[\frac{dy}{dx}=\frac{dy/d\theta}{dx/d\theta}.\]

  4. Simplify the resulting trigonometric expression.

🧩 Solution
Given: \(x=\cos^{-1}\theta\;\) and \(y=\sin^{-1}\theta\)
  1. Differentiating with respect to \(\theta\),
    \[ \frac{dx}{d\theta} = -\frac{1}{\sqrt{1-\theta^2}} \]
  2. Also Differentiating with respect to \(\theta\),
    y=\sin^{-1}\theta
  3. Therefore,
    \[ \frac{dy}{d\theta} = \frac{1}{\sqrt{1-\theta^2}} \]
  4. Using the parametric differentiation formula,
    \[ \frac{dy}{dx} = \frac{\dfrac{dy}{d\theta}} {\dfrac{dx}{d\theta}} \]
  5. Hence,
    \[\frac{dy}{dx}=\frac{\dfrac{1}{\sqrt{1-\theta^2}}}{-\dfrac{1}{\sqrt{1-\theta^2}}}\]
  6. Thus,
    \[\boxed{\frac{dy}{dx}=-1}\]
Final Answer
\[\boxed{\frac{dy}{dx}=-1}\]
⚡ Exam Tip
❌ Common Mistakes
  • Writing
    \[ \frac{d}{dx}(\cos^{-1}x)=-\sin^{-1}x. \]
    This is incorrect.
  • Writing
    \[ \frac{d}{dx}(\sin^{-1}x)=\cos^{-1}x. \]
    This is also incorrect.
  • Forgetting that \(\sin^{-1}x\) means the inverse sine function, not \(\dfrac{1}{\sin x}\).
  • Using \(\dfrac{dy}{d\theta}/\dfrac{dx}{d\theta}\) without checking that \(\dfrac{dx}{d\theta}\neq0\).

Example 23

❓ Question
Find \(\dfrac{dy}{dx}\), if
\[x=at^2,\quad y=2at,\]
where \(a\) is a constant.
💡 Concept
🗺️ Roadmap
  1. Differentiate \(x\) with respect to \(t\).

  2. Differentiate \(y\) with respect to \(t\).

  3. Divide \(\dfrac{dy}{dt}\) by \(\dfrac{dx}{dt}\).

  4. Simplify.

🧩 Solution
Given: \(x=at^2\) and \(y=2at\)
Part (a)
  1. Differentiating \(x=at^2\) with respect to \(t\),
    \[\frac{dx}{dt}=2at\]
  2. Differentiating \(y=2at\) with respect to \(t\),
    \[\frac{dy}{dt}=2a\]
  3. Using the parametric differentiation formula,
    \[\frac{dy}{dx}=\frac{\dfrac{dy}{dt}}{\dfrac{dx}{dt}}\]
  4. Substituting the values,
    \[\frac{dy}{dx}=\frac{2a}{2at}\]
  5. For \(a\neq0\) and \(t\neq0\),
    \[\boxed{\frac{dy}{dx}=\frac{1}{t}}.\]
Final Answer
\[ \boxed{\frac{dy}{dx}=\frac{1}{t}} \]
⚡ Exam Tip
❌ Common Mistakes
  • Using
    \[ \frac{dy}{dx}=\frac{dx/dt}{dy/dt}. \]
    The numerator must be \(dy/dt\).
  • Forgetting that \(a\) is a constant.
  • Failing to check the condition
    \[ \frac{dx}{dt}\neq0. \]
  • At \(t=0\), substituting directly into \(\dfrac{1}{t}\) and concluding that the derivative does not exist without examining the tangent geometrically.
· Updated
Class XII · Mathematics · Chapter 5

Continuity and Differentiability

From unbroken curves to the rules that let us differentiate almost anything — composite, implicit, inverse trigonometric, exponential, logarithmic and parametric functions, and the mean value theorems that tie it all together.

Nine core ideas build the entire chapter — from checking whether a curve can be drawn without lifting your pen, to differentiating functions hidden inside one another.

Pick a problem type on the left, then step through the worked solution one reasoning step at a time — exactly as you would write it in an exam.

The complete formula sheet for this chapter, grouped the way you'll actually reach for it while solving.

Exam-tested habits that save time and prevent silly slips in continuity and differentiability problems.

The errors examiners see most often — recognise them here so you never lose marks to them.

Fresh, concept-building questions — organised by topic, none lifted from the textbook — each with a complete step-by-step solution. Click a question to reveal it.

Five hands-on labs for building intuition — not just solving, but seeing.

📚
ACADEMIA AETERNUM तमसो मा ज्योतिर्गमय · Est. 2025
Sharing this chapter
Class 12 Continuity & Differentiability Notes
Class 12 Continuity & Differentiability Notes — Complete Notes & Solutions · academia-aeternum.com
Class 12 Mathematics Chapter 5 Continuity and Differentiability is a fundamental chapter that builds the foundation for advanced calculus. This chapter explains the concepts of continuity and differentiability of functions and establishes the important relationship between them. Students will learn how to test continuity at a point, identify points of discontinuity, apply the algebra of continuous functions, and understand why every differentiable function is continuous. The chapter also covers…
🎓 Class 12 📐 Mathematics 📖 NCERT ✅ Free Access 🏆 CBSE · JEE
Share on
academia-aeternum.com/class-12/mathematics/continuity-and-differentiability/notes/ Copy link
💡
Exam tip: Sharing chapter notes with your study group creates a reinforcement loop. Teaching a concept is the fastest path to mastering it.

Recent posts

    Continuity and Differentiability — Learning Resources

    Frequently Asked Questions

    A function f(x) is continuous at x = c if f(c) is defined and lim(x?c) f(x) = f(c). Equivalently, the left-hand limit, right-hand limit and function value must be equal.

    The necessary condition is lim(x?c-) f(x) = lim(x?c+) f(x) = f(c). If any one of these conditions fails, the function is discontinuous at c.

    Continuity means the function has no break at a point, while differentiability means the derivative exists at that point. Every differentiable function is continuous, but every continuous function need not be differentiable.

    Yes. If a function is differentiable at x = c, then it is necessarily continuous at x = c. This is an important theorem in Class 12 Mathematics.

    First check continuity on each individual interval, then examine every point where the definition changes. At a boundary point c, verify that the left-hand limit, right-hand limit and f(c) are equal.

    If x = f(t) and y = g(t), then the derivative is dy/dx = (dy/dt)/(dx/dt), provided dx/dt is not zero.

    Logarithmic differentiation is a method used to differentiate complicated products, quotients or functions in which the variable occurs in both the base and exponent. Taking logarithms first simplifies the differentiation.

    If y = f(g(x)), then the chain rule gives dy/dx = f'(g(x))g'(x). It is used to differentiate composite functions.

    The standard derivatives include d/dx(sin?¹x) = 1/v(1-x²), d/dx(cos?¹x) = -1/v(1-x²), and d/dx(tan?¹x) = 1/(1+x²).

    The chapter develops essential calculus skills used in CBSE Board, JEE Main, JEE Advanced and other entrance examinations, particularly for continuity tests, derivatives, composite functions, implicit differentiation, logarithmic differentiation and parametric differentiation.

    Get in Touch

    Let's Connect

    Questions, feedback, or suggestions?
    We'd love to hear from you.