Derivatives of Products

Example:
f(q) = cos(q) sin((2/p)*q)

The first thing to notice when finding the derivative of this function is that it is the product of several terms, as shown in color below:

f(q) = ( cos(q)) ( sin((2/p)*q))

The Derivative Rule for Products:

The derivative of a product is the derivative of the first term times the second (and third, etc.) term(s), plus the first (and third, etc.) term(s) times the derivative of the second, etc.
If
  z = (f(x) g(x))
then the derivative of z is
  z ' = (f(x) g(x))'
    = f '(x) g(x) + f(x) g '(x)

So our example,

f(q) = ( cos(q)) ( sin((2/p)*q))
we can think of as
f(q) = g(q) h(q)    
So the derivative is
f '(q) = ( g(q) h(q) )'    
  = g '(q) h(q) + g(q) h '(q)
  = ( cos(q) )' ( sin((2/p)*q) ) + ( cos(q) ) ( sin((2/p)*q) )'
and we just need to know each of the derivatives on the right-hand side of the equation. In this case these are
( cos(q) )' = (-1)*sin(q) (by the derivative rules for basic functions)
( sin((2/p)*q) )' = (2/p)*cos((2/p)*q) (by the chain rule)
so the finished derivative is
f '(q) = ( (-1)*sin(q) ) ( sin((2/p)*q) ) + ( cos(q) ) ( (2/p)*cos((2/p)*q) )
  = (-1)*sin(q) sin((2/p)*q) + (2/p)*cos(q) cos((2/p)*q)
[]


additional explanation for the product rule
see another product rule example
practice gateway test
previous page
Page Generated: Tue Feb 3 00:25:22 2026
Comments to Gavin LaRose
glarose@umich.edu
©2001 Gavin LaRose, University of Michigan Math Dept.