 then it has velocity
  then it has velocity   and an acceleration of
  and an acceleration of 
  .  In components, we can calculate
 .  In components, we can calculate
  
 
Now, using the chain rule, we see that
  
 
Also, we see that   which shows that
  which shows that
  
 
An alternate way to see this calculation uses that fact that   .  Now, we can calculate
 .  Now, we can calculate
  
 
 is
  is
  
 
This last step is due to the fundamental theorem of calculus for one variable
integration (ie.   .)  We see immediately that 
this expression is really the kinetic energy at Q minus the kinetic energy 
at P.
 .)  We see immediately that 
this expression is really the kinetic energy at Q minus the kinetic energy 
at P.
 is
  is
  
 
which is easily seen to be the potential energy at P minus the potential energy at Q.
  
 
which is the expression for the Law of Conservation of Energy.