Basic differentiation

Finding the gradient of a straight line is easy: \frac{\Delta y}{\Delta x}.  Finding the gradient of a curve isn’t as easy.  Drawing a tangent and finding its gradient is one solution, but there’s a better way than that- differentiation.

Differentiating, \frac{dy}{dx}, a function, f(x), results in a derivative function, f'(x):

\displaystyle y = f(x) \rightarrow \frac{dy}{dx} = f'(x) = \lim_{\delta x \rightarrow 0} \frac{f(x + \delta x) - f(x)}{\delta x}

To differentiate an entire function, you must differentiate each term individually- and to do this, you follow a simple rule:

\displaystyle y = kx^{n} \rightarrow \frac{dy}{dx} = knx^{n-1}

Example

\displaystyle f(x) = 4x^{5} + 9x^{2} - 6x + x - \sqrt{2x} + \frac{3}{12x^{6}} - 15

You can’t differentiate \frac{3}{12x} and \sqrt{2x} directly, so it’s easier to deal with fractions and other algebraic expressions first and convert them into kx^{n} form:

\displaystyle f(x) = 4x^{5} + 9x^{2} - 6x + x - 2x^{\frac{1}{2}} + 36x^{-6} - 15

Now we can differentiate:

\displaystyle f(x) \rightarrow \frac{dy}{dx} = f'(x) = 20x^{4} + 18x - 6 + 1 - x^{- \frac{1}{2}} - 216x^{-7}

And simplify:

\displaystyle f(x) \rightarrow \frac{dy}{dx} = f'(x) = 20x^{4} + 18x - 5 - x^{- \frac{1}{2}} - 216x^{-7}

And that’s it.

Explanation

But just in case, here’s a brief run-down for each expression at a time…

  • 4x^{5} \rightarrow \frac{dy}{dx} = 20x^{4} because 4 \times 5 = 20.

This is just a straight-forward differentiation here- nothing really to say about it.

  • 9x^{2} \rightarrow \frac{dy}{dx} = 18x because 18x^{1} is just 18x.

Differentiating a quadratic expression leaves x to the power of 1, so there’s no point in writing the index down.

  • -6x \rightarrow \frac{dy}{dx} = -6 because x^{0} = 1;
  • x \rightarrow \frac{dy}{dx} = 1 for the same reason.

When you differentiate x to the power of 1, you create x to the power of 0.  Anything to the power of 0 always equals 1:

\displaystyle y = kx \rightarrow \frac{dy}{dx} = k

  • \sqrt{2x} = 2x^{\frac{1}{2}} \rightarrow \frac{dy}{dx} = x^{- \frac{1}{2}}.

The square root of x can be re-written as x to the power of a half.  Minus 1 from 0.5 and you get -0.5.

  • \frac{3}{12x^{6}} = 36x^{-6} \rightarrow \frac{dy}{dx} = -216^{-7} because 36 \times -6 = -216.

Re-write fractions as negative indices, and then it’s exactly the same as the first expression, only it’s negative this time (both constant and index).

  • -15 \rightarrow \frac{dy}{dx} = 0 because -15x^{1} \rightarrow \frac{dy}{dx} = 0.

When you have only a constant on its own, actually x is to the power of 0- it’s just not shown.  Since you multiply the index by the constant, you’re left with 0:

\displaystyle y = k \rightarrow \frac{dy}{dx} = 0

This entry was posted in Maths. Bookmark the permalink.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>