Skip to main content Accessibility help
×
Hostname: page-component-77c89778f8-gq7q9 Total loading time: 0 Render date: 2024-07-24T21:25:58.338Z Has data issue: false hasContentIssue false

5 - Numerical Differentiation

Published online by Cambridge University Press:  05 June 2012

Jaan Kiusalaas
Affiliation:
Pennsylvania State University
Get access

Summary

Introduction

Numerical differentiation deals with the following problem: We are given the function y = f(x) and wish to obtain one of its derivatives at the point x = xk. The term “given” means that we either have an algorithm for computing the function or possess a set of discrete data points (xi, yi), i = 0, 1, …, n. In either case, we have access to a finite number of (x, y) data pairs from which to compute the derivative. If you suspect by now that numerical differentiation is related to interpolation, you are right — one means of finding the derivative is to approximate the function locally by a polynomial and then differentiate it. An equally effective tool is the Taylor series expansion of f(x) about the point xk, which has the advantage of providing us with information about the error involved in the approximation.

Numerical differentiation is not a particularly accurate process. It suffers from a conflict between roundoff errors (due to limited machine precision) and errors inherent in interpolation. For this reason, a derivative of a function can never be computed with the same precision as the function itself.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2010

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Numerical Differentiation
  • Jaan Kiusalaas, Pennsylvania State University
  • Book: Numerical Methods in Engineering with Python
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9780511812224.007
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Numerical Differentiation
  • Jaan Kiusalaas, Pennsylvania State University
  • Book: Numerical Methods in Engineering with Python
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9780511812224.007
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Numerical Differentiation
  • Jaan Kiusalaas, Pennsylvania State University
  • Book: Numerical Methods in Engineering with Python
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9780511812224.007
Available formats
×