Is there a certain formula for derivatives?

1 Answer

Yes, but not just one formula. There are many.

The derivative (of a differentiable function), #y=f(x)#, at the point #x=a# is defined by the following limit

# f'(a) = lim_(x rarr a )(f(x)-f(a))/(x-a) #

With a slight change of notation we can write:

# dy/dx = f'(x) = lim_(h rarr 0 ) (f(x+h)-f(x))/h #

In some older texts the notation may involve #deltax# or #Deltax#, instead of #h# giving an identical result:

# f'(x) = lim_(deltax rarr 0 ) (f(x+deltax)-f(x))/(deltax) = lim_(Deltaxrarr 0 ) (f(x+Deltax)-f(x))/(Deltax)#

It represents both the rate of change of the function, and the gradient of the tangent line at any particular point. If the limit does not exists then the function is not differentiable.

In practice we do not derive the derivative from first principles using the limit definition, but instead we use various rules that can be proved to be true;

Power Rule: #d/dx(x^n) = nx^(n - 1)#

Example: Find #dy/dx# for #y = 2x^7#.

We have #n = 7#, so the derivative is #dy/dx = 14x^(7-1) = 14x^6#

Chain Rule: #d/dx(f(g(x)) = f'(g(x)) * g'(x)#, in other words the derivative of the composition #f(g(x))# is the inner function times the outer function.

Example: Find #dy/dx# for #y = (x +2)^7#

We let #u = x + 2# and #y = u^7#. Then, by the power rule, #dy/(du) = 7u^6# and #(du)/dx = 1#.

#dy/dx = dy/(du) * (du)/dx#

#dy/dx = 1 * 7u^6#

#dy/dx = 7(x + 2)^6#

Product Rule: #d/dx(f(x) xx g(x)) = f'(x)g(x) + f(x)g'(x)#

Example: Find #dy/dx# for #y = (x + 2)(x^2 - 1)#

We let #f(x) =x + 2# and #g(x) = x^2 - 1#. Then #f'(x) = 1# and #g'(x) = 2x#.

#dy/dx = 1(x^2 - 1) + 2x(x + 2)#

#dy/dx = x^2 - 1 + 2x^2 + 4x#

#dy/dx = 3x^2 + 4x-1#

Quotient rule: #d/dx((f(x))/(g(x)))=(g(x)f'(x)-f(x)g'(x))/(g(x))^2#

Example: Find #dy/dx# for #y=x/(x + 1)#

We let #f(x)=x# and #g(x)=x + 1#. Then #f'(x)=1# and #g'(x)=1#
#dy/dx=(1(x + 1) - 1(x))/(x + 1)^2#

#dy/dx =1/(x + 1)^2#

Here are a few other useful derivative formulas I think you should know.

#d/dx(lnx) = 1/x#

#d/dx(sinx) = cosx#

#d/dx(cosx) = -sinx#

Once you get good at the basic differentiation rules, you may be asked to solve problems that combine the differentiation rules in interesting ways.

Example: Find #dy/dx# for #y = ln(secx)#

First of all, note that #secx = 1/cosx#. The function becomes

#y = ln(1/cosx)#

There are a few ways of differentiating this.

a) you could use the quotient rule to differentiate #1/cosx# and then the chain rule to differentiate #y#.

b) you could rewrite #1/cosx# as #(cosx)^-1# and then differentiate using the chain rule twice.

c) you could use the laws of logarithms to simplify and then differentiate. I'll use this method.

By the rule #ln(a/b) = lna - lnb#, we have:

#y = ln(1/cosx) = ln1 - lncosx = 0 - ln(cosx) = -ln(cosx)#

By the chain rule, we have

#dy/dx = -1/cosx * -sinx = sinx/cosx = tanx#

Hopefully you now get a good idea what differentiation is about!