Skip to main content

Calculus - Differentiation and Integration

Subject: Additional Mathematics
Topic: 10
Cambridge Code: 4037 / 0606


Introduction to Differentiation

Differentiation - Process of finding the rate of change of a function

Derivative - Rate of change of a function at a point

Notation

dydx=f(x)=dfdx\frac{dy}{dx} = f'(x) = \frac{df}{dx}

All denote the derivative of yy with respect to xx

Geometric Interpretation

The derivative is the slope of the tangent line to the curve at a point

Definition

f(x)=limh0f(x+h)f(x)hf'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}


Rules of Differentiation

Rule 1: Power Rule

ddx(xn)=nxn1\frac{d}{dx}(x^n) = nx^{n-1}

Examples:

  • ddx(x3)=3x2\frac{d}{dx}(x^3) = 3x^2
  • ddx(x2)=2x3\frac{d}{dx}(x^{-2}) = -2x^{-3}
  • ddx(x12)=12x12\frac{d}{dx}(x^{\frac{1}{2}}) = \frac{1}{2}x^{-\frac{1}{2}}

Rule 2: Constant Multiple Rule

ddx(kf(x))=kdfdx\frac{d}{dx}(kf(x)) = k \frac{df}{dx}

Example: ddx(5x2)=52x=10x\frac{d}{dx}(5x^2) = 5 \cdot 2x = 10x

Rule 3: Sum Rule

ddx(f(x)+g(x))=dfdx+dgdx\frac{d}{dx}(f(x) + g(x)) = \frac{df}{dx} + \frac{dg}{dx}

Example: ddx(x3+2x25x+1)=3x2+4x5\frac{d}{dx}(x^3 + 2x^2 - 5x + 1) = 3x^2 + 4x - 5

Rule 4: Product Rule

ddx(uv)=udvdx+vdudx\frac{d}{dx}(u \cdot v) = u\frac{dv}{dx} + v\frac{du}{dx}

Example: Differentiate f(x)=x2(3x+1)f(x) = x^2(3x+1)

Let u=x2u = x^2, v=3x+1v = 3x+1

  • dudx=2x\frac{du}{dx} = 2x, dvdx=3\frac{dv}{dx} = 3
  • dfdx=x2(3)+(3x+1)(2x)=3x2+6x2+2x=9x2+2x\frac{df}{dx} = x^2(3) + (3x+1)(2x) = 3x^2 + 6x^2 + 2x = 9x^2 + 2x

Rule 5: Quotient Rule

ddx(uv)=vdudxudvdxv2\frac{d}{dx}\left(\frac{u}{v}\right) = \frac{v\frac{du}{dx} - u\frac{dv}{dx}}{v^2}

Example: Differentiate f(x)=x2x+1f(x) = \frac{x^2}{x+1}

Let u=x2u = x^2, v=x+1v = x+1

  • dudx=2x\frac{du}{dx} = 2x, dvdx=1\frac{dv}{dx} = 1
  • dfdx=(x+1)(2x)x2(1)(x+1)2=2x2+2xx2(x+1)2=x2+2x(x+1)2\frac{df}{dx} = \frac{(x+1)(2x) - x^2(1)}{(x+1)^2} = \frac{2x^2 + 2x - x^2}{(x+1)^2} = \frac{x^2 + 2x}{(x+1)^2}

Rule 6: Chain Rule

dydx=dydududx\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}

Example: Differentiate f(x)=(2x+1)3f(x) = (2x+1)^3

Let u=2x+1u = 2x+1, then f=u3f = u^3

  • dudx=2\frac{du}{dx} = 2, dfdu=3u2\frac{df}{du} = 3u^2
  • dfdx=3u22=6(2x+1)2\frac{df}{dx} = 3u^2 \cdot 2 = 6(2x+1)^2

Special Derivatives

ddx(ex)=ex\frac{d}{dx}(e^x) = e^x

ddx(lnx)=1x\frac{d}{dx}(\ln x) = \frac{1}{x}

ddx(sinx)=cosx\frac{d}{dx}(\sin x) = \cos x

ddx(cosx)=sinx\frac{d}{dx}(\cos x) = -\sin x

ddx(tanx)=sec2x\frac{d}{dx}(\tan x) = \sec^2 x


Applications of Differentiation

Finding Stationary Points

At stationary point: dydx=0\frac{dy}{dx} = 0

Types:

  • Maximum: f(x)<0f''(x) < 0
  • Minimum: f(x)>0f''(x) > 0
  • Inflection: f(x)=0f''(x) = 0 (and changes sign)

Example: Find Maximum of f(x)=x2+4xf(x) = -x^2 + 4x

f(x)=2x+4=0x=2f'(x) = -2x + 4 = 0 \Rightarrow x = 2

f(x)=2<0Maximumf''(x) = -2 < 0 \Rightarrow \text{Maximum}

f(2)=4+8=4f(2) = -4 + 8 = 4

Maximum point: (2,4)(2, 4)

Rates of Change

Derivative represents instantaneous rate of change

Example: Distance s=2t2+3ts = 2t^2 + 3t meters Velocity: v=dsdt=4t+3v = \frac{ds}{dt} = 4t + 3 m/s


Introduction to Integration

Integration - Reverse process of differentiation; finding the original function from its derivative

Indefinite Integral: f(x)dx=F(x)+C\int f(x) dx = F(x) + C

where F(x)=f(x)F'(x) = f(x) and CC is the constant of integration


Rules of Integration

Rule 1: Power Rule

xndx=xn+1n+1+C,n1\int x^n dx = \frac{x^{n+1}}{n+1} + C, \quad n \neq -1

Examples:

  • x3dx=x44+C\int x^3 dx = \frac{x^4}{4} + C
  • x2dx=x11+C=1x+C\int x^{-2} dx = \frac{x^{-1}}{-1} + C = -\frac{1}{x} + C

Rule 2: Constant Multiple Rule

kf(x)dx=kf(x)dx\int kf(x) dx = k \int f(x) dx

Example: 5x2dx=5x2dx=5x33+C=5x33+C\int 5x^2 dx = 5 \int x^2 dx = 5 \cdot \frac{x^3}{3} + C = \frac{5x^3}{3} + C

Rule 3: Sum Rule

(f(x)+g(x))dx=f(x)dx+g(x)dx\int (f(x) + g(x)) dx = \int f(x) dx + \int g(x) dx

Special Integrals

exdx=ex+C\int e^x dx = e^x + C

1xdx=lnx+C\int \frac{1}{x} dx = \ln |x| + C

sinxdx=cosx+C\int \sin x dx = -\cos x + C

cosxdx=sinx+C\int \cos x dx = \sin x + C


Definite Integration

Definite Integral: Integral with limits of integration

abf(x)dx=[F(x)]ab=F(b)F(a)\int_a^b f(x) dx = [F(x)]_a^b = F(b) - F(a)

Example

13x2dx=[x33]13=27313=913=263\int_1^3 x^2 dx = \left[\frac{x^3}{3}\right]_1^3 = \frac{27}{3} - \frac{1}{3} = 9 - \frac{1}{3} = \frac{26}{3}

Area Under Curve

Definite integral represents the area between curve and x-axis

Area=abf(x)dx\text{Area} = \int_a^b f(x) dx


Key Points to Remember

  1. Power rule most common differentiation rule
  2. Chain rule for composite functions
  3. Product/quotient rules for products/fractions
  4. Integration is reverse of differentiation
  5. Always add constant CC to indefinite integrals
  6. Definite integral evaluates area

Worked Examples

Example 1: Differentiation

Differentiate f(x)=3x22x1+5xf(x) = 3x^2 - 2x^{-1} + 5\sqrt{x}

Rewrite: f(x)=3x22x1+5x12f(x) = 3x^2 - 2x^{-1} + 5x^{\frac{1}{2}}

f(x)=6x+2x2+52x12=6x+2x2+52xf'(x) = 6x + 2x^{-2} + \frac{5}{2}x^{-\frac{1}{2}} = 6x + \frac{2}{x^2} + \frac{5}{2\sqrt{x}}

Example 2: Finding Maximum

Find maximum of f(x)=x33x2+2f(x) = x^3 - 3x^2 + 2

f(x)=3x26x=3x(x2)=0f'(x) = 3x^2 - 6x = 3x(x-2) = 0 x=0 or x=2x = 0 \text{ or } x = 2

f(x)=6x6f''(x) = 6x - 6

  • At x=0x = 0: f(0)=6<0f''(0) = -6 < 0 (Maximum)
  • At x=2x = 2: f(2)=6>0f''(2) = 6 > 0 (Minimum)

Maximum: (0,2)(0, 2)

Example 3: Integration

(4x32x+5)dx=x4x2+5x+C\int (4x^3 - 2x + 5) dx = x^4 - x^2 + 5x + C

Example 4: Definite Integration

02(2x+1)dx=[x2+x]02=(4+2)(0)=6\int_0^2 (2x+1) dx = [x^2 + x]_0^2 = (4+2) - (0) = 6


Practice Questions

  1. Differentiate:

    • f(x)=x43x2+2f(x) = x^4 - 3x^2 + 2
    • g(x)=(2x+3)2g(x) = (2x+3)^2
    • h(x)=xx2+1h(x) = \frac{x}{x^2+1}
  2. Find stationary points and determine their nature

  3. Integrate:

    • (x3+2x1)dx\int (x^3 + 2x - 1) dx
    • (2sinx+ex)dx\int (2\sin x + e^x) dx
  4. Evaluate 01(3x2+2x)dx\int_0^1 (3x^2 + 2x) dx


Revision Tips

  • Power rule is fundamental: ddx(xn)=nxn1\frac{d}{dx}(x^n) = nx^{n-1}
  • Chain rule for brackets/composite functions
  • Integration is reverse of differentiation
  • Don't forget constant +C+C in indefinite integrals
  • Definite integral gives area under curve