]>

Constant of integration

Maple omits the constant of integration and this can lead to errors if you are not careful. Perhaps the most familiar problem where this arises is an object falling under the force of gravity. You know that this is governed by Newton’s Law

F = m a

But the acceleration is just the second derivative of position, so you can express this as

F = m z

You also know the force of gravity is the gravitational constant times the mass so we get

m g = m z

You can now integrate both sides of this equation with respect to time

g d t = z ( t ) d t
g t + C 1 = z ( t ) , and z ( t ) = v ( t ) the velocity

Now you can integrate each side again to find the position vs. time.

( g t + C 1 ) d t = z ( t ) d t g t 2 2 + C 1 t + C 2 = z ( t )

Using Maple to solve this problem requires you to add in the constants of integration.