Differentiation Problems¶
Finding derivatives from the formula is possible but cumbersome, so we'll look at a few rules that make life a lot easier.
Using the Definition¶
The basic way to find derivatives is to use its definition:
so the derivative of \(f(x) = \frac{1}{x}\) is:
In fact, if we replace \(x^n\) to \(x\) to get \(f(x) = x^n\) we can get more general equation:
Using rules¶
Let's define a function \(f\) as following:
The key to differentiating a function is to understand how it is synthesized from simpler functions. Here are some rules we can use.
Constant multiples of functions¶
You just multiply by the constant after your differentiate.
Sums and differences of functions¶
You just differentiate each piece and then add or subtract.
Products of functions via product rule¶
To solve the problems involving products of functions, you have to mix and match. That is the product rule(version 1):
If we replace \(f(x)\) with \(u\) and \(g(x)\) with \(v\), we got(version 2);
What if you have a product of three terms? We have the product rule for three terms(three variable):
Quotients of functions via the quotient rule¶
Quotients are handled in a way similar to products, except that the rule is a little different. The form of quotients is \(h(x) = \frac{f(x)}{g(x)}\), here is the quotient rule(version 1):
There is also another version(version 2):
Composition of functions via the chain rule¶
The Chain rule is discrebed as(version 1):
And replace \(f\) and \(g\) with \(y\) and \(u\), we can invoke the other version of the chain rule(version 2):
Derivatives of Piecewise-Defined Functions¶
Consider the following piecewise-defined function:
To check that a piecewise-defined function is differentiable at a point where the pieces join together, you need to check:
- pieces agree at the join point(for continuity);
- the derivatives of the pieces agree at the join point.
Otherwise it's not differentiable at the join point.