# Calculus Derivatives

Version 1.3.0 (10.2 MB) by
Interactive module that introduces fundamentals of derivatives including the product and chain rule as presented in Calculus I courses
Updated 22 Dec 2023

# Calculus: Derivatives

or

Curriculum Module

Created with R2021a. Compatible with R2021a and later releases.

# Information

This curriculum module contains interactive MATLAB® live scripts that teach fundamental concepts and basic terminology related to derivative calculus. There is a focus on numerical approximation and graphical representation as tools for understanding the concepts of calculus.

## Background

You can use these live scripts as demonstrations in lectures, class activities, or interactive assignments outside of class. The derivatives module is divided into five scripts and a practice app. The first covers the limit definition of the derivative and includes several motivating examples for the study of derivatives. The second covers derivatives of powers and the linearity of derivatives working from the limit definition of the derivative, including an application to parabolic motion. The third covers derivatives of exponentials, natural logarithms, sines and cosines as well as discussing higher order derivatives. Applications include population growth and oscillatory behavior. The fourth script presents visualizations of the product and chain rule for derivatives as well as randomly generated practice problems. Applications include related rates and the quotient rule for derivatives. The fifth script presents approximation of differentiable functions by polynomials, including tangent lines, and leading up to Taylor polynomials. The Calculus Flashcards app allows users to select the types of derivative (or integral) rules they wish to practice, generate randomized problems, and track their progress within a session.

The instructions inside the live scripts will guide you through the exercises and activities. All interactive exercises offer feedback while reflection questions are more open-ended and do not include solutions in this module. Get started with each live script by running it one section at a time. To stop running the script or a section midway (for example, when an animation is in progress), use the Stop button in the RUN section of the Live Editor tab in the MATLAB Toolstrip.

Solutions are available upon instructor request. Contact the MathWorks teaching resources team if you would like to request solutions, provide feedback, or if you have a question.

## Prerequisites

Mathematically, this module assumes a knowledge of functions that is standard in precalculus course materials regarding powers, exponentials, absolute values, logarithms, sines, cosines, rational functions, and asymptotes. In addition, this module assumes basic fluency with limits in discussing the limit definition of the derivative.

Minimal MATLAB fluency is required to use this module; primarily it is standard calculator-type mathematics such as using \texttt{*} for multiplication and / for division. For commands that go beyond interacting with a calculator, the necessary knowledge is included in the module. If you want to improve your MATLAB knowledge, MATLAB Onramp is a free two-hour introductory tutorial that teaches the essentials of MATLAB.

## Getting Started

### On Desktop:

Download or clone this repository. Open MATLAB, navigate to the folder containing these scripts and double-click on Derivatives.prj. It will add the appropriate files to your MATLAB path and open an app that asks you where you would like to start.

Ensure you have all the required products (listed below) installed. If you need to include a product, add it using the Add-On Explorer. To install an add-on, go to the Home tab and select Add-Ons > Get Add-Ons.

## Products

MATLAB® and the Symbolic Math Toobox™ are used throughout. Tools from the Curve Fitting Toolbox™ are used in TranscendentalsRules.mlx.

# Scripts

## The Definition of the Derivative

Definition.mlx In this script, students will...
- explain the limit definition of the derivative and its relationship to secant lines.
- identify the sign of the derivative at a point as positive, negative, or zero based on the graph of a function.
- identify points where the derivative of a continuous function does not exist and explain why with reference to the definition of the derivative.
- recognize <math-renderer class="js-inline-math" style="display: inline" data-static-url="https://github.githubassets.com/static" data-run-id="a5e35a2e828daae26cab414cf8e6abd3">$f^{\prime } (x)$</math-renderer> , <math-renderer class="js-inline-math" style="display: inline" data-static-url="https://github.githubassets.com/static" data-run-id="a5e35a2e828daae26cab414cf8e6abd3">$\frac{\textrm{d}f}{\textrm{d}x}$</math-renderer> , and <math-renderer class="js-inline-math" style="display: inline" data-static-url="https://github.githubassets.com/static" data-run-id="a5e35a2e828daae26cab414cf8e6abd3">$\frac{\textrm{d}}{\textrm{d}x}\left\lbrack f(x)\right\rbrack$</math-renderer> as equivalent notation for the derivative of <math-renderer class="js-inline-math" style="display: inline" data-static-url="https://github.githubassets.com/static" data-run-id="a5e35a2e828daae26cab414cf8e6abd3">$f$</math-renderer> with respect to <math-renderer class="js-inline-math" style="display: inline" data-static-url="https://github.githubassets.com/static" data-run-id="a5e35a2e828daae26cab414cf8e6abd3">$x$</math-renderer> .

## Derivatives of Polynomials

PowerRules.mlx In this script, students will...
- explain why the limit definition of the derivative results in the power rule for derivatives.
- compute the derivatives of linear combinations of powers by hand.
- apply derivatives to solve practical questions.

## Derivatives of Transcendental Functions

TranscendentalsRules.mlx In this script, students will...
- determine the functional relationship of the derivatives of sines, cosines, exponentials, and natural logarithms.
- explain the pattern in the derivatives of <math-renderer class="js-inline-math" style="display: inline" data-static-url="https://github.githubassets.com/static" data-run-id="a5e35a2e828daae26cab414cf8e6abd3">$\sin (ax)$</math-renderer> , <math-renderer class="js-inline-math" style="display: inline" data-static-url="https://github.githubassets.com/static" data-run-id="a5e35a2e828daae26cab414cf8e6abd3">$\cos (ax)$</math-renderer> , and <math-renderer class="js-inline-math" style="display: inline" data-static-url="https://github.githubassets.com/static" data-run-id="a5e35a2e828daae26cab414cf8e6abd3">$\exp (ax)$</math-renderer> for constant values of <math-renderer class="js-inline-math" style="display: inline" data-static-url="https://github.githubassets.com/static" data-run-id="a5e35a2e828daae26cab414cf8e6abd3">$a$</math-renderer> and that the derivative of <math-renderer class="js-inline-math" style="display: inline" data-static-url="https://github.githubassets.com/static" data-run-id="a5e35a2e828daae26cab414cf8e6abd3">$\ln (ax)$</math-renderer> does not fit the simple pattern.
- apply the correct units to derivatives of any order.
- explore simple first- and second-order differential equations that describe a physical system and use them to create mathematical models of the system.

## Chain Rule and Product Rule

CombinationRules.mlx In this script, students will...
- explain why the chain rule is <math-renderer class="js-inline-math" style="display: inline" data-static-url="https://github.githubassets.com/static" data-run-id="a5e35a2e828daae26cab414cf8e6abd3">$\frac{\textrm{d}}{\textrm{d}x}\left\lbrack f(g(x))\right\rbrack =f^{\prime } (g(x)) \cdot g^{\prime } (x)$</math-renderer> .
- apply the chain rule to calculate derivatives.
- explain why the product rule is <math-renderer class="js-inline-math" style="display: inline" data-static-url="https://github.githubassets.com/static" data-run-id="a5e35a2e828daae26cab414cf8e6abd3">$\frac{\textrm{d}}{\textrm{d}x}\left\lbrack f(x)\cdot g(x)\right\rbrack =f(x)\cdot \frac{\textrm{d}g}{\textrm{d}x}+\frac{\textrm{d}f}{\textrm{d}x}\cdot g(x)$</math-renderer> .
- apply the product rule to calculate derivatives.
- practice fluently recognizing and applying the rules for computing derivatives.

## Taylor Polynomials

TaylorPolynomials.mlx In this script, students will...
- compute tangent lines.
- compute higher order polynomial approximations.

# App: Calculus Flashcards

Practice recognizing and solving standard computational problems in calculus.

# Related Courseware Modules

Courseware Module Sample Content Available on:
Calculus: Integrals

GitHub
Fourier Analysis

GitHub

Numerical Methods with Applications

GitHub

Or feel free to explore our other modular courseware content.

# Contribute

Looking for more? Find an issue? Have a suggestion? Please contact the MathWorks teaching resources team. If you want to contribute directly to this project, you can find information about how to do so in the CONTRIBUTING.md page on GitHub.

### Cite As

Emma Smith Zbarsky (2024). Calculus Derivatives (https://github.com/MathWorks-Teaching-Resources/Calculus-Derivatives/releases/tag/v1.3.0), GitHub. Retrieved .

##### MATLAB Release Compatibility
Created with R2021a
Compatible with R2021a and later releases
##### Platform Compatibility
Windows macOS Linux
##### Communities
More Files in the  Distance Learning Community

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

#### Utilities/OldVersions

Version Published Release Notes
1.3.0

See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Calculus-Derivatives/releases/tag/v1.3.0

1.2.2.0

See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Calculus-Derivatives/releases/tag/v1.2.2

1.2.1.0

See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Calculus-Derivatives/releases/tag/v1.2.1

1.2.0

See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Calculus-Derivatives/releases/tag/v1.2.0

1.1.2

See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Calculus-Derivatives/releases/tag/v1.1.2

1.1.1

See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Calculus-Derivatives/releases/tag/v1.1.1

1.1.0

See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Calculus-Derivatives/releases/tag/v1.1.0

1.0.2

See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Calculus-Derivatives/releases/tag/v1.0.2

1.0.1

See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Calculus-Derivatives/releases/tag/v1.0.1

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.