# IB Mathematics SL/Calculus

## Introduction

Calculus is considered by many as being one the harder chapters of the IB SL Maths curriculum.

### General Equations

Average Rate of Change (AROC) between x=a and x=b in f(X)

Average Rate of Change = ${\displaystyle {\frac {f(a)-f(b)}{a-b}}}$

Instantaneous Rate of Change (IROC) at x=a is the slope of the line tangent at x=a:

Instantaneous rate of Change =${\displaystyle \lim _{x\to a}{\frac {f(x)-f(a)}{x-a}}}$

Definition of the derivative f'(x) of a function f(x) (First principles of calculus):

${\displaystyle f'(x)=\lim _{h\to 0}{\frac {f(x+h)-f(x)}{h}}}$

### Basic Differentiation

The following formulas are shortcuts for finding the derivative

Derivative of a power function

${\displaystyle f(x)=ax^{n}\,\!}$ , ${\displaystyle f'(x)=anx^{n-1}\,\!}$

Derivative of exponential function

${\displaystyle f(x)=e^{x}\,\!}$ , ${\displaystyle f'(x)=e^{x}\,\!}$

Derivative of logarithmic function

${\displaystyle f(x)=\ln x\,\!}$ , ${\displaystyle f'(x)={\frac {1}{x}}\,\!}$

Derivative of trigonometric functions

${\displaystyle f(x)=\sin x\,\!}$ , ${\displaystyle f'(x)=\cos x\,\!}$

${\displaystyle f(x)=\cos x\,\!}$ , ${\displaystyle f'(x)=-\sin x\,\!}$

${\displaystyle f(x)=\tan x\,\!}$ , ${\displaystyle f'(x)={\frac {1}{\cos ^{2}x}}=\sec ^{2}x\,\!}$

Derivatives of sum of two functions

${\displaystyle f(x)=g(x)+h(x)\,\!}$ , ${\displaystyle f'(x)=g'(x)+h'(x)\,\!}$

Chain Rule

${\displaystyle f(x)=g(h(x))\,\!}$ , ${\displaystyle f'(x)=g'(h(x))\cdot h'(x)\,\!}$

Product Rule

${\displaystyle f(x)=uv\,\!}$ , ${\displaystyle f'(x)=uv'+vu'\,\!}$

Quotient Rule

${\displaystyle f(x)={\frac {u}{v}}\,\!}$ , ${\displaystyle f'(x)={\frac {vu'-uv'}{v^{2}}}\,\!}$

### Applications to the derivative

The derivative is the slope at one point in a function. The slope is the rate of change. Ergo, with the derivative you can determine the rate of change at a given point. Given a displacement graph, where time is represented by x and position is represented by y, the derivative of any point on any function graphed will say the rate of change at that position; this is known as the velocity. The derivative of a velocity graph shows the acceleration.

### Introduction to Integrals

Integrals find the area under the curve and are also known as the anti-derivative. This means that if the integral of the derivative is found, the original equation will be given but with an arbitrary constant c. A documented method of integration is the use of u-substitution.

### Basic Integration

Integration (from the Latin integer, meaning whole or entire) generally means combining parts so that they work together or form a whole. In information technology, there are several common usages:

1) Integration during product development is a process in which separately produced components or subsystems are combined and problems in their interactions are addressed.

2) Integration is an activity by companies that specialize in bringing different manufacturers' products together into a smoothly working system.

3) In marketing usage, products or components said to be integrated appear to meet one or more of the following conditions:

A) They share a common purpose or set of objectives. (This is the loosest form of integration.)

B) They all observe the same standard or set of standard protocol or they share a mediating capability, such the Object Request Broker (ORB) in the Common Object Request Broker Architecture (CORBA).

C) They were all designed together at the same time with a unifying purpose and/or architecture. (They may be sold as piece-parts but they were designed with the same larger objectives and/or architecture.)

D) They share some of the same programming code.

E) They share some special knowledge of code (such as a lower-level program interface) that may or may not be publicly available. (If not publicly available, companies have been known to sue to make it available in order to make competition fair.)

### Rules of Integration

Integration of logarithmic functions

Integration of Exponential functions

Integration of Trigonometric functions

### Applications to integration

#### Area under a curve

Integration is primarily used to find the area under a curve.

##### Example
Let ${\displaystyle f(x)=2x^{2}+3}$
Find the area under the curve from ${\displaystyle x=3}$ to ${\displaystyle x=7}$.

Solution:

${\displaystyle f(x)=2x^{2}+3}$
${\displaystyle A=\int _{3}^{7}f(x)dx}$
${\displaystyle A=\int _{3}^{7}(2x^{2}+3)dx}$
${\displaystyle A=\left[{\frac {2(7)^{3}}{3}}\right]-\left[{\frac {2(3)^{3}}{3}}\right]}$
${\displaystyle A=\left[{\frac {686}{3}}\right]-\left[{\frac {54}{3}}\right]}$
${\displaystyle A={\frac {632}{3}}}$

#### Total Distance traveled

Distance traveled on a velocity over time function can be found by evaluating the definite integral from the initial time to the final time.
##### Example:
Let ${\displaystyle v(t)=t^{2}}$ units per second be the velocity over time function for motion of a particle.
Find the distance traveled by the particle from ${\displaystyle t=2}$ seconds to ${\displaystyle t=5}$ seconds.
Solution:
${\displaystyle v(t)=t^{2}}$ units
${\displaystyle t_{initial}=2}$ seconds
${\displaystyle t_{final}=5}$ seconds
${\displaystyle d=\int _{2}^{5}v(t)dt}$ units
${\displaystyle d=\int _{2}^{5}t^{2}dt}$ units
${\displaystyle d=\left[{\frac {(5)^{3}}{3}}\right]-\left[{\frac {(2)^{3}}{3}}\right]}$ units
${\displaystyle d={\frac {125}{3}}-{\frac {8}{3}}}$ units
${\displaystyle d=39}$ units
The particle traveled 39 units from 2 seconds to 5 seconds.

#### Solids of revolution

Picture a function, ${\displaystyle f(x)}$. Now rotate it about an axis to make a solid. Integration can be used to find the volume of this solid.

The formula used is:

${\displaystyle V=\pi \int _{a}^{b}f(x)dx}$ where a is the left limit and b is the right limit.
##### Example

Let ${\displaystyle f(x)={\frac {1}{x}}}$. Find the volume of its solid of revolution from x = 2 to x = 4.

Solution

${\displaystyle f(x)={\frac {1}{x}}}$

${\displaystyle a=2}$

${\displaystyle b=4}$

${\displaystyle V=\pi \int _{a}^{b}f(x)dx}$ cubic units

${\displaystyle V=\pi \int _{2}^{4}{\frac {1}{x}}dx}$ cubic units

${\displaystyle V=\pi \left(\left[\ln 4\right]-\left[\ln 2\right]\right)}$ cubic units

${\displaystyle V=\pi \left(\ln 4-\ln 2\right)}$ cubic units

${\displaystyle V=\pi \left(0.69314718056\right)}$ cubic units

${\displaystyle V=2.1775860903}$ cubic units

${\displaystyle V=2.178}$ cubic units (The IB instructs candidates to round calculated answers to three decimal points)