# High School Calculus/Techniques of Differentiation

## Techniques of Differentiation

The definition of a derivative, ${\displaystyle f'(x)=\lim _{{\Delta }x\rightarrow 0}{\frac {f(x+{\Delta }x)-f(x)}{{\Delta }x}}}$ is not the only method of finding a derivative. This section provides three different techniques to help find derivatives. These techniques are often quicker than the definition of a derivative, depending on the given equation. The last part of the section presents how to calculate higher order derivatives.

### The Power Rule

The first technique allows you to find a derivative of a summation of multiple terms.

This is known as The Power Rule.

Power Rule only applies in certain conditions.

#### Theorem

If n is a rational number, then the function ${\displaystyle f(x)=x^{n}}$ is differentiable and

${\displaystyle {\frac {d}{dx}}[x^{n}]=nx^{n-1}.}$

For f to be differentiable at x=0, n must be a number such that ${\displaystyle x^{n-1}}$ is defined on an interval containing 0.

#### Proof

${\displaystyle {\frac {d}{dx}}[x^{n}]=\lim _{{\Delta }x\rightarrow 0}{\frac {(x+{\Delta }x)^{n}-x^{n}}{{\Delta }x}}}$

${\displaystyle =\lim _{{\Delta }x\rightarrow 0}{\frac {x^{n}+nx^{n-1}({\Delta }x)+{\frac {n(n-1)x^{n-2}}{2}}({\Delta }x)^{2}+.....+({\Delta }x)^{n}-x^{n}}{{\Delta }x}}}$

${\displaystyle =\lim _{{\Delta }x\rightarrow 0}\left[nx^{n-1}+{\frac {n(n-1)x^{n-2}}{2}}({\Delta }x)+.....+({\Delta }x)^{n-1}\right]}$

${\displaystyle =nx^{n-1}+0+.....+0}$

${\displaystyle =nx^{n-1}{\square }.}$

#### Example

The following is an example of the Power Rule:

${\displaystyle f(x)=3x^{2}+2x+1}$

Normally you would work through the definition of a derivative,

${\displaystyle f'(x)=\lim _{{\Delta }x\rightarrow 0}{\frac {f(x+{\Delta }x)-f(x)}{{\Delta }x}}}$

but instead you can apply the power rule to find your derivative.

First, take a look at the first term of the equation, ${\displaystyle 3x^{2}.}$

To find ${\displaystyle f'(x)}$ first drop the power on the variable of this term down to the front of the equation, ${\displaystyle (2)*(3x^{2}).}$

Next, subtract one from the power that was dropped down in front of the equation, ${\displaystyle (2)*(3x^{1}).}$

Or, ${\displaystyle (2)(3)x=6x.}$ So now we have the first part of the derivative, ${\displaystyle 6x.}$

Now, perform this operation to the second and the third terms of the equation.

For the second part, ${\displaystyle 2x^{1}}$

${\displaystyle (1)*(2x^{1})}$

${\displaystyle (1)(2)(x^{0})=2.}$

This shows that the second part is ${\displaystyle 2.}$

Now for the third part we notice that there is no variable, ${\displaystyle x.}$

There are two ways to look at this last part, either: one, there is no variable so the part disappears, or two, since there is no variable, we multiply the whole piece by 0, since that would be the power of the variable.

Either way, there is no longer a third piece.

Now, if we put the two parts together, we have our answer

${\displaystyle f'(x)=6x+2.}$

Here is another example of this method in action

${\displaystyle f(x)=3x^{3}-4x^{2}+3x-4}$

${\displaystyle f'(x)=(3)(3x^{3-1})-(2)(4x^{2-1})+3x^{1-1}}$

${\displaystyle f'(x)=9x^{2}-8x+3.}$

Here are some practice problems.

${\displaystyle f(x)=x^{2}-7x+13}$

${\displaystyle h(x)=2x^{3}+2x-3}$

${\displaystyle g(x)=4x^{4}-7x^{3}+2x^{2}+5x-4}$

### The Product Rule

The next technique is called The Product Rule.

As previously stated, not all derivatives can be found through the power rule.

While it is a nice way to find many derivatives, other methods exist depending on the equation you are currently solving.

The Power Rule can be seen as the sum of two separate functions, and their respective derivative is the sum of the individual derivatives.

The product rule introduces how to solve the product of two functions.

#### Theorem

The product of two differentiable functions ${\displaystyle f(x)}$ and ${\displaystyle g(x)}$ is itself differentiable.

The derivative of ${\displaystyle f(x)g(x)}$ is ${\displaystyle f(x)*g'(x)+g(x)*f'(x).}$

#### Proof

${\displaystyle {\frac {d}{dx}}[f(x)g(x)]=\lim _{{\Delta }x\rightarrow 0}{\frac {f(x+{\Delta }x)*g(x+{\Delta }x)-f(x)g(x)}{{\Delta }x}}}$

${\displaystyle =\lim _{{\Delta }x\rightarrow 0}{\frac {f(x+{\Delta }x)*g(x+{\Delta }x)-f(x+{\Delta }x)g(x)+f(x+{\Delta }x)g(x)-f(x)g(x)}{{\Delta }x}}}$

${\displaystyle =\lim _{{\Delta }x\rightarrow 0}\left[f(x+{\Delta }x)*{\frac {g(x+{\Delta }x)-g(x)}{{\Delta }x}}+g(x)*{\frac {f(x+{\Delta }x)-f(x)}{{\Delta }x}}\right]}$

${\displaystyle =\lim _{{\Delta }x\rightarrow 0}\left[f(x+{\Delta }x)*{\frac {g(x+{\Delta }x)-g(x)}{{\Delta }x}}\right]+\lim _{{\Delta }x\rightarrow 0}\left[g(x)*{\frac {f(x+{\Delta }x)-f(x)}{{\Delta }x}}\right]}$

${\displaystyle =\lim _{{\Delta }x\rightarrow 0}f(x+{\Delta }x)*\lim _{{\Delta }x\rightarrow 0}{\frac {g(x+{\Delta }x)-g(x)}{{\Delta }x}}+\lim _{{\Delta }x\rightarrow 0}g(x)*\lim _{{\Delta }x\rightarrow 0}{\frac {f(x+{\Delta }x)-f(x)}{{\Delta }x}}}$

${\displaystyle =f(x)g'(x)+g(x)f'(x){\square }.}$

#### Example

For example, take the equation ${\displaystyle h(x)=(x^{2}+1)(x^{2}-2x-1).}$

To start, think of the derivative of each part. Let ${\displaystyle f(x)=x^{2}+1}$ and let ${\displaystyle g(x)=x^{2}-2x-1.}$

${\displaystyle f'(x)=2x}$ and ${\displaystyle g'(x)=2x-2.}$

Now apply each part to the previous theorem.

${\displaystyle h'(x)=f(x)*g'(x)+g(x)*f'(x)}$

${\displaystyle h'(x)=(x^{2}+1)*(2x-2)+(x^{2}-2x-1)*(2x).}$

Now all we need to do is simplify.

${\displaystyle h'(x)=(2x^{3}+2x-2x^{2}-2)+(2x^{3}-4x^{2}-2x)}$

${\displaystyle h'(x)=(2x^{3}-2x^{2}+2x-2)+(2x^{3}-4x^{2}-2x)}$

${\displaystyle h'(x)=4x^{3}-6x^{2}-2.}$

Now, if product rule doesn't seem to appeal to you, when possible, you can just simplify the original equation.

If you multiple the parts by each other and then find the derivative, you are simply doing the Power Rule.

Sometimes this may be easier, but in some cases you may be unable to multiply the parts together.

Here is an example of changing a product rule.

${\displaystyle h(x)=(x^{2}+1)(x^{2}-2x-1)}$

${\displaystyle h(x)=x^{4}+x^{2}-2x^{3}-2x-x^{2}-1}$

${\displaystyle h(x)=x^{4}-2x^{3}-2x-1.}$

Then using the power rule,

${\displaystyle h'(x)=4x^{3}-6x^{2}-2.}$

As you can see, both methods yield the same answer.

Also, product rule can be expanded beyond two pieces.

This would look like:

${\displaystyle {\frac {d}{dx}}[f(x)g(x)h(x)]=f'(x)g(x)h(x)+f(x)g'(x)h(x)+f(x)g(x)h'(x).}$

For further work, here are some practice problems.

${\displaystyle h(x)=(x^{2}-2)(3x+1)}$

${\displaystyle w(x)=(3x+2)(2x^{2}+4x)}$

${\displaystyle p(y)=(y^{2}-3y)(5y-4)(2y^{2}+1)}$

### The Quotient Rule

The next technique is called The Quotient Rule .

Before we learned what to do with the product of two functions, quotient rule teaches us what to do with a function divided by another function.

#### Theorem

The quotient of two differentiable functions, ${\displaystyle {\frac {f(x)}{g(x)}}}$ is itself differentiable for all${\displaystyle g(x)\neq 0.}$

This derivative is given by the bottom function multiplied by the derivative of the top function, minus the top function multiplied by the derivative of the bottom function, all divided by the bottom function squared.

Or, ${\displaystyle {\frac {d}{dx}}\left[{\frac {f(x)}{g(x)}}\right]={\frac {g(x)f'(x)-f(x)g'(x)}{[g(x)]^{2}}}.}$

#### Proof

${\displaystyle {\frac {d}{dx}}\left[{\frac {f(x)}{g(x)}}\right]=\lim _{{\Delta }x\rightarrow 0}{\frac {{\frac {f(x+{\Delta }x)}{g(x+{\Delta }x)}}-{\frac {f(x)}{g(x)}}}{{\Delta }x}}}$

${\displaystyle =\lim _{{\Delta }x\rightarrow 0}{\frac {g(x)f(x+{\Delta }x)-f(x)g(x+{\Delta }x)}{{\Delta }xg(x)g(x+{\Delta }x)}}}$

${\displaystyle =\lim _{{\Delta }x\rightarrow 0}{\frac {g(x)f(x+{\Delta }x)-f(x)g(x)+f(x)g(x)-f(x)g(x+{\Delta }x)}{{\Delta }xg(x)g(x+{\Delta }x)}}}$

${\displaystyle ={\frac {\lim _{{\Delta }x\rightarrow 0}{\frac {g(x)[f(x+{\Delta }x)-f(x)]}{{\Delta }x}}-\lim _{{\Delta }x\rightarrow 0}{\frac {f(x)[g(x+{\Delta }x)-g(x)]}{{\Delta }x}}}{\lim _{{\Delta }x\rightarrow 0}[g(x)g(x+{\Delta }x)]}}}$

${\displaystyle ={\frac {g(x)[\lim _{{\Delta }x\rightarrow 0}{\frac {f(x+{\Delta }x)-f(x)}{{\Delta }x}}]-f(x)[\lim _{{\Delta }x\rightarrow 0}{\frac {g(x+{\Delta }x)-g(x)}{{\Delta }x}}]}{\lim _{{\Delta }x\rightarrow 0}[g(x)g(x+{\Delta }x)]}}}$

${\displaystyle ={\frac {g(x)f'(x)-f(x)g'(x)}{[g(x)]^{2}}}{\square }.}$

#### Example

For an example, let

${\displaystyle h(x)={\frac {3x-2}{x^{2}+1}}}$

and let

${\displaystyle f(x)=3x-2}$

${\displaystyle g(x)=x^{2}+1.}$

Start by finding the derivatives of each individual piece,

${\displaystyle f'(x)=3}$

${\displaystyle g'(x)=2x.}$

Now all we need do is plug each piece into the equation, so we have

${\displaystyle h'(x)={\frac {(x^{2}+1)(3)-(3x-2)(2x)}{(x^{2}+1)^{2}}}}$

${\displaystyle ={\frac {3x^{2}+3-(6x^{2}-4x)}{x^{4}+2x^{2}+1}}}$

${\displaystyle ={\frac {-3x^{2}+4x+3}{x^{4}+2x^{2}+1}}.}$

In many cases, the derivative will not be able to be simplified further due to the division.

Sometimes, you may be able to perform some sort of division to turn a quotient rule into a product rule.

If not, you may be able to set the bottom function to the power of (-1) and then perform a product rule.

The only problem with this is that, in order to deal with the negative power, the Chain Rule must be used, which is covered in another section.

Even so, if quotient rule doesn't appeal to you, there are ways to change it.

Here are some practice problems for quotient rule:

${\displaystyle h(x)={\frac {x^{2}+2}{x}}}$

${\displaystyle z(x)={\frac {3x-1}{x^{2}+2x+1}}}$

${\displaystyle r(x)={\frac {2x^{2}-2x+3}{3}}}$

### Higher Order Derivatives

The last thing to mention is Higher Order Derivatives .

It is possible to find a second, even third and fourth, derivative of a function.

It is just finding the derivative of a derivative.

You denote higher order derivatives with two or more prime symbols, for example,

${\displaystyle f''(x)}$ or even, ${\displaystyle g'''(x).}$

Since the number of prime symbols can get out of hand quickly, many mathematicians stop at three, in favor of using small numbers,

${\displaystyle f^{4}(x)}$ or any number higher, ${\displaystyle f^{n}(x).}$

An example of a higher order derivative is:

${\displaystyle f(x)=x^{4}+x^{3}+2x^{2}-3x+1}$

${\displaystyle f'(x)=4x^{3}+3x^{2}+4x-3}$

${\displaystyle f''(x)=12x^{2}+6x+4}$

${\displaystyle f'''(x)=24x+6}$

${\displaystyle f^{4}(x)=24.}$

Some practice problems are:

${\displaystyle f(x)=3x^{3}+2x^{2}-3}$

${\displaystyle g(x)=(3x^{2}-1)(6x+2)}$

${\displaystyle r(x)={\frac {2x+1}{3x}}}$