Math Refresher

previous next

Here is a quick math refresher on calculus and trig, to help you enjoy the math behind the physics simulations at MyPhysicsLab.

Derivatives

The notation for the first derivative of a function x(t) , with respect to the variable t , can be written as

x'
x'(t)
d⁄dt  x(t)

These are all equivalent. The notation for the second derivative is x'' or x''(t) .

Here are some of the basic rules for calculating derivatives. In the following k and n are real non-zero constants. And h(t), g(t) are functions of t .

First consider powers of t . The general rule is

d⁄dt  t n = n t n − 1      for any n ≠ 0

Here are some examples of derivatives of powers, using the above rule:

d⁄dt  t = 1
d⁄dt  t 2 = 2 t
d⁄dt  (t 3 + t 2 + t + 1) = 3t 2 + 2t + 1
d⁄dt  1⁄t = d⁄dt  t −1 = − t −2 = −1⁄t 2

Here are some basic rules about derivatives:

d⁄dt  k = 0      (k = constant)
d⁄dt  (k h(t)) = k  d⁄dt h(t)      (k = constant)
d⁄dt  (h(t) + g(t)) = d⁄dt h(t) + d⁄dt g(t)
d⁄dt  (h(t) × g(t)) = h×g' + h'×g      The product rule

Here are derivatives of some very important special functions

d⁄dt sin(t) = cos(t)
d⁄dt cos(t) = −sin(t)
d⁄dt e t = e t
d⁄dt ln(t) = 1⁄t      Natural logarithm

The all-important chain rule lets us take the derivative of functions of functions (also called function composition):

d⁄dt h(g(t)) = h'(g(t)) × g'(t)      The chain rule

It is important to get good at using the chain rule. Here are some examples of the chain rule in action:

d⁄dt  sin(h(t)) = cos(h(t)) h'(t)
d⁄dt  sin(t2) = 2 t cos(t2)
d⁄dt  e h(t) = h'(t) e h(t)
d⁄dt  e k t = k e k t      (k = constant)
d⁄dt  e t2 = 2 t e t2
d⁄dt  ln(h(t)) = h'(t) ⁄ h(t)

d⁄dt  ( 1 )  =   − h'(t)
 h(t)  h(t)2

The quotient rule gives us the derivative of a ratio of functions:

d⁄dt  ( h(t) )  =   g h' − h g'      The quotient rule
g(t) g2

Using the chain rule and the product rule we can derive the quotient rule:

d⁄dt  h(t)⁄g(t) = d⁄dt  (h × 1⁄g) = h' × (1⁄g) + h × (−g'⁄g2) = (g h' − h g') ⁄ g2

Trig Identities

First, a note on some confusing notation: an exponent of −1 on a trig function means the inverse of that function (not the reciprocal!). Therefore

tan−1(x) = arctan(x)

while

tan2(x) = (tan(x))2

The best way to get comfortable with trigonometry is to think in terms of the unit circle. Most of these identities then become obvious.

sin(−x) = −sin x
cos(−x) = cos x
tan(−x) = −tan x
sin x = cos(π⁄2 − x)
cos x = sin(π⁄2 − x)
sin(0) = 0
cos(0) = 1
sin(π⁄2) = 1
cos(π⁄2) = 0
sin(π) = 0
cos(π) = −1
sin(3 π⁄2) = −1
cos(3 π⁄2) = 0
sin(x + 2 nπ) = sin x      n an integer
cos(x + 2 nπ) = cos x      n an integer

The famous pythagorean theorem gives us the following identity

cos2x + sin2x = 1

The sum of angles formulas are

cos(x + y) = cos x cos y − sin x sin y
cos(x − y) = cos x cos y + sin x sin y
sin(x + y) = sin x cos y + cos x sin y
sin(x − y) = sin x cos y − cos x sin y

This web page was first published April 2001.

previous next Valid HTML 4.01