PracticeVideosBlogFlashcards

6.1 Definition of Derivative, Power, Product, Quotient & Chain Rules

Key Takeaways

  • The derivative f′(x)=lim⁡δx→0f(x+δx)−f(x)δxf'(x) = \lim_{\delta x \to 0} \frac{f(x+\delta x) - f(x)}{\delta x} represents the instantaneous rate of change of f(x)f(x) with respect to xx and geometrically defines the slope of the tangent line to y=f(x)y = f(x) at (x,f(x))(x, f(x)).

  • Differentiability strictly implies continuity (f′(c) exists  ⟹  f is continuous at cf'(c) \text{ exists} \implies f \text{ is continuous at } c), but the converse is false: continuous functions fail to be differentiable at sharp corners, cusps, or points of vertical tangency (e.g., f(x)=∣x∣f(x) = |x| at x=0x=0).

  • The power rule ddx(xn)=nxn−1\frac{d}{dx}(x^n) = n x^{n-1} holds for all real exponents n∈Rn \in \mathbb{R}, yielding immediate square root ddx(x)=12x\frac{d}{dx}(\sqrt{x}) = \frac{1}{2\sqrt{x}} and reciprocal ddx(1xn)=−nxn+1\frac{d}{dx}\left(\frac{1}{x^n}\right) = -\frac{n}{x^{n+1}} forms.

  • The Leibniz product rule ddx[uv]=u′v+uv′\frac{d}{dx}[uv] = u'v + uv' and quotient rule ddx[uv]=u′v−uv′v2\frac{d}{dx}\left[\frac{u}{v}\right] = \frac{u'v - uv'}{v^2} require strict adherence to operand order, especially the numerator difference u′v−uv′u'v - uv' in the quotient rule.

  • The chain rule dydx=dydududx\frac{dy}{dx} = \frac{dy}{du}\frac{du}{dx} and its generalized power counterpart ddx[f(x)]n=n[f(x)]n−1f′(x)\frac{d}{dx}[f(x)]^n = n[f(x)]^{n-1} f'(x) combine with linear rational shortcuts ddx(ax+bcx+d)=ad−bc(cx+d)2\frac{d}{dx}\left(\frac{ax+b}{cx+d}\right) = \frac{ad-bc}{(cx+d)^2} to solve ECAT questions in under 20 seconds.

Last updated: October 2026

Definition of Derivative, Power, Product, Quotient & Chain Rules

Differential calculus is the foundational engine of intermediate mathematics (FSc Part II) and represents one of the heaviest-tested topics on the Pakistan Engineering Colleges Admission Test (ECAT) conducted by UET Lahore. With 30 mathematics questions to answer in approximately 30 minutes, candidates must move beyond lengthy multi-step algebraic expansions and master rapid, systematic differentiation. This section establishes the rigorous definition of the derivative from first principles, examines differentiability versus continuity, derives the core operational rules of calculus, and presents high-speed shortcuts tailored for the ECAT examination.


1. The Derivative from First Principles (Ab Initio Method)

Analytical Definition

Let y=f(x)y = f(x) be a real-valued function defined in an open interval containing xx. Let xx receive a small increment δx\delta x (or Δx\Delta x), producing a corresponding increment δy=f(x+δx)−f(x)\delta y = f(x + \delta x) - f(x) in the dependent variable yy.

The average rate of change over the interval [x,x+δx][x, x + \delta x] is given by the difference quotient:

δyδx=f(x+δx)−f(x)δx\frac{\delta y}{\delta x} = \frac{f(x + \delta x) - f(x)}{\delta x}

The derivative of ff with respect to xx, denoted by f′(x)f'(x) or dydx\frac{dy}{dx}, is defined as the limit of this difference quotient as δx\delta x approaches zero, provided this limit exists:

f′(x)=dydx=lim⁡δx→0f(x+δx)−f(x)δxf'(x) = \frac{dy}{dx} = \lim_{\delta x \to 0} \frac{f(x + \delta x) - f(x)}{\delta x}

Alternative standard notations introduced by historical mathematicians include:

  • Leibniz notation: dydx\frac{dy}{dx} or ddx[f(x)]\frac{d}{dx}[f(x)]
  • Lagrange notation: f′(x)f'(x) or y′y'
  • Cauchy notation: Df(x)D f(x) or DxyD_x y
  • Newton notation: y˙\dot{y} (primarily used in mechanics for time derivatives)

The Four-Step Ab Initio Procedure

In textbook exercises, evaluating derivatives from first principles follows four systematic steps:

  1. Increment: Compute y+δy=f(x+δx)y + \delta y = f(x + \delta x).
  2. Difference: Subtract y=f(x)y = f(x) to isolate δy=f(x+δx)−f(x)\delta y = f(x + \delta x) - f(x).
  3. Quotient: Divide both sides by δx\delta x to form δyδx\frac{\delta y}{\delta x}.
  4. Limit: Take lim⁡δx→0δyδx\lim_{\delta x \to 0} \frac{\delta y}{\delta x} to evaluate f′(x)f'(x).

2. Geometric and Physical Interpretations

Geometric Interpretation: Slope of the Tangent Line

Consider the secant line passing through two points P(x,f(x))P(x, f(x)) and Q(x+δx,f(x+δx))Q(x + \delta x, f(x + \delta x)) on the graph of y=f(x)y = f(x). The slope of the secant line PQPQ is:

msec=f(x+δx)−f(x)δxm_{\text{sec}} = \frac{f(x + \delta x) - f(x)}{\delta x}

As δx→0\delta x \to 0, point QQ moves along the curve toward PP. The secant line PQPQ rotates into a limiting position, which is the tangent line to the curve at point PP. Therefore:

mtan=lim⁡δx→0msec=f′(x)m_{\text{tan}} = \lim_{\delta x \to 0} m_{\text{sec}} = f'(x)

The derivative f′(x0)f'(x_0) evaluates the exact numerical gradient (slope m=tan⁡θm = \tan\theta) of the tangent line to the curve at x=x0x = x_0.

Physical Interpretation: Instantaneous Rate of Change

If s(t)s(t) represents the displacement of a particle along a straight line at time tt, the average velocity during the time interval [t,t+Δt][t, t + \Delta t] is ΔsΔt\frac{\Delta s}{\Delta t}. The instantaneous velocity at time tt is the derivative:

v(t)=lim⁡Δt→0ΔsΔt=dsdtv(t) = \lim_{\Delta t \to 0} \frac{\Delta s}{\Delta t} = \frac{ds}{dt}

Similarly, instantaneous acceleration is the derivative of velocity: a(t)=dvdt=d2sdt2a(t) = \frac{dv}{dt} = \frac{d^2s}{dt^2}. In general, if quantity yy depends on xx, dydx\frac{dy}{dx} quantifies the instantaneous rate of change of yy per unit change in xx.


3. Differentiability vs. Continuity

A function f(x)f(x) is differentiable at x=cx = c if the bilateral derivative exists at cc, meaning the left-hand derivative equals the right-hand derivative:

f−′(c)=lim⁡h→0−f(c+h)−f(c)h=lim⁡h→0+f(c+h)−f(c)h=f+′(c)f'_-(c) = \lim_{h \to 0^-} \frac{f(c + h) - f(c)}{h} = \lim_{h \to 0^+} \frac{f(c + h) - f(c)}{h} = f'_+(c)

Fundamental Theorem

Theorem: If a function f(x)f(x) is differentiable at x=cx = c, then it is continuous at x=cx = c.

Proof: For x≠cx \neq c, write the algebraic identity: f(x)−f(c)=f(x)−f(c)x−c⋅(x−c)f(x) - f(c) = \frac{f(x) - f(c)}{x - c} \cdot (x - c) Taking the limit as x→cx \to c: lim⁡x→c[f(x)−f(c)]=lim⁡x→c[f(x)−f(c)x−c]⋅lim⁡x→c(x−c)=f′(c)⋅0=0\lim_{x \to c} [f(x) - f(c)] = \lim_{x \to c} \left[ \frac{f(x) - f(c)}{x - c} \right] \cdot \lim_{x \to c} (x - c) = f'(c) \cdot 0 = 0 lim⁡x→cf(x)=f(c)\lim_{x \to c} f(x) = f(c) Hence, ff is continuous at cc.

The Converse Fails: Continuity Does Not Imply Differentiability

A function can be continuous everywhere while failing to be differentiable at specific points. Non-differentiability occurs under three primary geometric conditions:

  1. Sharp Corner / Node: The left-hand and right-hand tangents have different finite slopes. For example, f(x)=∣x∣f(x) = |x| at x=0x = 0 is continuous, but f−′(0)=−1f'_-(0) = -1 while f+′(0)=+1f'_+(0) = +1. Because −1≠+1-1 \neq +1, f′(0)f'(0) does not exist.
  2. Cusp: Slopes of secant lines approach +∞+\infty on one side and −∞-\infty on the other (e.g., f(x)=x2/3f(x) = x^{2/3} at x=0x = 0).
  3. Vertical Tangent: The slope approaches ±∞\pm\infty continuously (e.g., f(x)=x1/3f(x) = x^{1/3} at x=0x = 0, where f′(x)=13x2/3→∞f'(x) = \frac{1}{3x^{2/3}} \to \infty).

4. Fundamental Algebraic Differentiation Rules

1. The Constant Rule

If cc is a constant real number and f(x)=cf(x) = c, then: ddx(c)=0\frac{d}{dx}(c) = 0

2. The Power Rule

For any real constant n∈Rn \in \mathbb{R}: ddx(xn)=nxn−1\frac{d}{dx}(x^n) = n x^{n-1}

Proof for rational exponent n=pqn = \frac{p}{q}: Let y=xp/q  ⟹  yq=xpy = x^{p/q} \implies y^q = x^p. Differentiating implicitly yields qyq−1dydx=pxp−1q y^{q-1} \frac{dy}{dx} = p x^{p-1}, so dydx=pqxp−1(xp/q)q−1=pqx(p−1)−p(1−1/q)=pqxp/q−1=nxn−1\frac{dy}{dx} = \frac{p}{q} \frac{x^{p-1}}{(x^{p/q})^{q-1}} = \frac{p}{q} x^{(p-1) - p(1 - 1/q)} = \frac{p}{q} x^{p/q - 1} = n x^{n-1}.

Common instances frequently used on the ECAT:

  • ddx(x)=1\frac{d}{dx}(x) = 1
  • ddx(x)=12x\frac{d}{dx}(\sqrt{x}) = \frac{1}{2\sqrt{x}}
  • ddx(1x)=−1x2\frac{d}{dx}\left(\frac{1}{x}\right) = -\frac{1}{x^2}
  • ddx(1x)=−12x3/2\frac{d}{dx}\left(\frac{1}{\sqrt{x}}\right) = -\frac{1}{2x^{3/2}}

3. The Constant Multiple Rule

If cc is a constant and u(x)u(x) is differentiable: ddx[c⋅u(x)]=c⋅dudx\frac{d}{dx}[c \cdot u(x)] = c \cdot \frac{du}{dx}

4. The Sum and Difference Rule

If u(x)u(x) and v(x)v(x) are differentiable functions: ddx[u(x)±v(x)]=dudx±dvdx\frac{d}{dx}[u(x) \pm v(x)] = \frac{du}{dx} \pm \frac{dv}{dx}

5. The Leibniz Product Rule

The derivative of the product of two differentiable functions u(x)u(x) and v(x)v(x) is: ddx[u⋅v]=udvdx+vdudx=uv′+vu′\frac{d}{dx}[u \cdot v] = u \frac{dv}{dx} + v \frac{du}{dx} = u v' + v u'

For a product of three differentiable functions u,v,wu, v, w: ddx[uvw]=u′vw+uv′w+uvw′\frac{d}{dx}[u v w] = u' v w + u v' w + u v w'

6. The Quotient Rule

If u(x)u(x) and v(x)v(x) are differentiable and v(x)≠0v(x) \neq 0: ddx[uv]=vdudx−udvdxv2=u′v−uv′v2\frac{d}{dx}\left[\frac{u}{v}\right] = \frac{v \frac{du}{dx} - u \frac{dv}{dx}}{v^2} = \frac{u' v - u v'}{v^2}

ECAT Trap Alert: A frequent candidate error is reversing the numerator terms to write uv′−u′vu v' - u' v. The quotient rule strictly requires the denominator vv multiplied by the derivative of the numerator u′u' first: Numerator=(Bottom)⋅(Top′)−(Top)⋅(Bottom′)\text{Numerator} = (\text{Bottom}) \cdot (\text{Top}') - (\text{Top}) \cdot (\text{Bottom}'). Reversing this introduces an erroneous minus sign.

7. The Chain Rule for Composite Functions

If y=f(u)y = f(u) is differentiable with respect to uu, and u=g(x)u = g(x) is differentiable with respect to xx, the composite function y=(f∘g)(x)=f(g(x))y = (f \circ g)(x) = f(g(x)) has derivative: dydx=dydu⋅dudx=f′(g(x))⋅g′(x)\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx} = f'(g(x)) \cdot g'(x)

For multi-stage composite functions y=f(u)y = f(u), u=g(v)u = g(v), v=h(x)v = h(x): dydx=dydu⋅dudv⋅dvdx\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dv} \cdot \frac{dv}{dx}

8. Generalized Power Rule

Applying the chain rule to [f(x)]n[f(x)]^n yields: ddx([f(x)]n)=n[f(x)]n−1⋅f′(x)\frac{d}{dx}\left([f(x)]^n\right) = n [f(x)]^{n-1} \cdot f'(x)


5. Derivative Rules Summary Table

Differentiation RuleFormula ddx[… ]\frac{d}{dx}[\dots]Conditions / Domain Restrictions
Constant Ruleddx(c)=0\frac{d}{dx}(c) = 0c∈Rc \in \mathbb{R}
Linear Ruleddx(ax+b)=a\frac{d}{dx}(ax + b) = aa,b∈Ra, b \in \mathbb{R}
Power Ruleddx(xn)=nxn−1\frac{d}{dx}(x^n) = n x^{n-1}n∈Rn \in \mathbb{R}; x>0x > 0 if nn non-integer
Constant Multipleddx[cf(x)]=cf′(x)\frac{d}{dx}[c f(x)] = c f'(x)ff differentiable, cc constant
Sum & Differenceddx[f(x)±g(x)]=f′(x)±g′(x)\frac{d}{dx}[f(x) \pm g(x)] = f'(x) \pm g'(x)f,gf, g differentiable
Product Ruleddx[f(x)g(x)]=f′(x)g(x)+f(x)g′(x)\frac{d}{dx}[f(x) g(x)] = f'(x)g(x) + f(x)g'(x)f,gf, g differentiable
Quotient Ruleddx[f(x)g(x)]=f′(x)g(x)−f(x)g′(x)[g(x)]2\frac{d}{dx}\left[\frac{f(x)}{g(x)}\right] = \frac{f'(x)g(x) - f(x)g'(x)}{[g(x)]^2}g(x)≠0g(x) \neq 0
Chain Ruleddx[f(g(x))]=f′(g(x))⋅g′(x)\frac{d}{dx}[f(g(x))] = f'(g(x)) \cdot g'(x)gg differentiable at xx, ff at g(x)g(x)
Generalized Powerddx[u(x)]n=n[u(x)]n−1u′(x)\frac{d}{dx}[u(x)]^n = n [u(x)]^{n-1} u'(x)u(x)>0u(x) > 0 for non-integer nn
Square Root Ruleddxu(x)=u′(x)2u(x)\frac{d}{dx}\sqrt{u(x)} = \frac{u'(x)}{2\sqrt{u(x)}}u(x)>0u(x) > 0

6. High-Speed ECAT Differentiation Shortcuts

Under the 60-second-per-question constraint of the ECAT, applying standard quotient or chain rule expansions directly is often too slow. The following algebraic shortcuts allow instant evaluations.

Shortcut 1: Derivative of Linear Fractional (Homographic) Functions

Consider the linear rational expression: y=ax+bcx+dy = \frac{ax + b}{cx + d} Using the standard quotient rule: dydx=a(cx+d)−(ax+b)c(cx+d)2=acx+ad−acx−bc(cx+d)2=ad−bc(cx+d)2\frac{dy}{dx} = \frac{a(cx + d) - (ax + b)c}{(cx + d)^2} = \frac{acx + ad - acx - bc}{(cx + d)^2} = \frac{ad - bc}{(cx + d)^2}

ECAT Memory Aid: The numerator is simply the 2×22 \times 2 determinant of the coefficients: ddx(ax+bcx+d)=∣abcd∣(cx+d)2=ad−bc(cx+d)2\frac{d}{dx}\left(\frac{ax + b}{cx + d}\right) = \frac{\begin{vmatrix} a & b \\ c & d \end{vmatrix}}{(cx + d)^2} = \frac{ad - bc}{(cx + d)^2}

Example: Find ddx(4x−73x+5)\frac{d}{dx}\left(\frac{4x - 7}{3x + 5}\right). Numerator=(4)(5)−(−7)(3)=20+21=41  ⟹  dydx=41(3x+5)2\text{Numerator} = (4)(5) - (-7)(3) = 20 + 21 = 41 \implies \frac{dy}{dx} = \frac{41}{(3x + 5)^2} Solved in 4 seconds without writing scratch calculations!

Shortcut 2: Fast Radical Differentiation

For any nested square root y=f(x)y = \sqrt{f(x)}: dydx=f′(x)2f(x)\frac{dy}{dx} = \frac{f'(x)}{2\sqrt{f(x)}} For reciprocal roots y=1f(x)=[f(x)]−1/2y = \frac{1}{\sqrt{f(x)}} = [f(x)]^{-1/2}: dydx=−f′(x)2[f(x)]3/2=−f′(x)2f(x)f(x)\frac{dy}{dx} = -\frac{f'(x)}{2[f(x)]^{3/2}} = -\frac{f'(x)}{2 f(x) \sqrt{f(x)}}

Shortcut 3: Reciprocal Power Shortcut

For functions of the form y=1[f(x)]ky = \frac{1}{[f(x)]^k}: dydx=−k⋅f′(x)[f(x)]k+1\frac{dy}{dx} = -\frac{k \cdot f'(x)}{[f(x)]^{k+1}}

Loading diagram...
Decision Flowchart for Selecting Differentiation Rules
Test Your Knowledge

What is the derivative of the rational function f(x)=3x−52x+7f(x) = \frac{3x - 5}{2x + 7} evaluated at x=1x = 1?

A

1181\frac{11}{81}

B

3181\frac{31}{81}

C

319\frac{31}{9}

D

−3181-\frac{31}{81}

Test Your Knowledge

If f(x)=x2+5x+1f(x) = \sqrt{x^2 + 5x + 1}, what is the exact value of f′(2)f'(2)?

A

915\frac{9}{\sqrt{15}}

B

9415\frac{9}{4\sqrt{15}}

C

9215\frac{9}{2\sqrt{15}}

D

7215\frac{7}{2\sqrt{15}}

Test Your Knowledge

Let h(x)=x3f(x)h(x) = x^3 f(x). If f(2)=4f(2) = 4 and f′(2)=−1f'(2) = -1, what is the numerical value of h′(2)h'(2)?

A

4040

B

4848

C

3232

D

−8-8

Sections you finish are checked off in the contents.