## Calculus Integrals

Version 1.1.0 (23.6 MB) by
Interactive examples using MATLAB to visualize and practice integral calculus and a calculus flashcards app.
Updated 16 Feb 2024

# Calculus - Integrals

or

Curriculum Module

Created with R2021b. Compatible with R2021b and later releases.

# Information

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

## Background

You can use these live scripts as demonstrations in lectures, class activities, or interactive assignments outside of class. Calculus - Integrals covers Riemann sum approximations to definite integrals, indefinite integrals as antiderivatives, and the fundamental theorem of calculus. It also covers the indefinite integrals of powers, exponentials, natural logarithms, sines, and cosines as well as substitution and integration by parts. Applications include area and power. In addition to the full scripts, visualizations, and practice scripts there is a Calculus Flashcards app included as well.

The instructions inside the live scripts will guide you through the exercises and activities. 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

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. It also assumes knowledge of basic area formulas, including the area of a trapezoid. With the exception of Riemann.mlx and RiemannViz.mlx, the scripts are written to follow Calculus-Derivatives and expect basic understanding of derivatives and derivative rules. There is little expectation of familiarity with MATLAB, but you could use MATLAB Onramp as another resource to acquire familiarity with MATLAB.

## Getting Started

### On Desktop:

Download or clone this repository. Open MATLAB, navigate to the folder containing these scripts and double-click on Integrals.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® is used throughout. Tools from the Symbolic Math Toolbox™ are used frequently as well.

# Scripts

Full Script
Visualizations
Learning Goals
In this script, students will...
Practice
Antiderivatives.mlx

Visualizing Antiderivatives

- see a graphical presentation of the concept of general antiderivatives.
- develop computational fluency with the antiderivatives of powers, sines, cosines, and exponentials.
Calculate Antiderivatives
<math-renderer class="js-inline-math" style="display: inline" data-static-url="https://github.githubassets.com/static" data-run-id="6fa279eb3da88c670d2261ac77d54ee5">$\displaystyle {\int \sin (3z);dz=-\frac{\cos (3z)}{3}+C}$</math-renderer>
FundamentalTheorem.mlx

Visualizing the FTC

- explain the fundamental theorem of calculus.
- see why the Fundamental Theorem of Calculus makes sense graphically.
- develop computational fluency for definite integrals involving linear and rational combinations of powers, sines, cosines, exponentials and natural logarithms.
Apply the Fundamental Theorem of Calculus
<math-renderer class="js-inline-math" style="display: inline" data-static-url="https://github.githubassets.com/static" data-run-id="6fa279eb3da88c670d2261ac77d54ee5">$\displaystyle {\int_1^3 \frac{1}{w^2 };dw=-\frac{1}{3}+1=\frac{2}{3}}$</math-renderer>
Riemann.mlx

Visualizing Riemann Sums

- explain and apply the different approximations computed by a left-endpoint, right-endpoint, midpoint, maximum, or minimum method of selecting a height value in a Riemann sum.
- explain and apply the trapezoidal approximation.
- explain why increasing the number of intervals in an approximation will decrease the error.
- discuss the implications for applying calculus in applications with values that are discrete or continuous.
Substitution.mlx

Visualizing Substitution

- explain what the method of substitution is and how it works.
- develop fluency with computing integrals of combinations of powers, sines, cosines, exponentials and logarithms that are solvable
by substitution by hand.
- see a graphical understanding of the method of substitution.
Apply the method of substitution
<math-renderer class="js-inline-math" style="display: inline" data-static-url="https://github.githubassets.com/static" data-run-id="6fa279eb3da88c670d2261ac77d54ee5">$\displaystyle {\int \frac{\cos \left(\ln (t)+1\right)}{t};dt=\sin \left(\ln (t)+1\right)+C}$</math-renderer>
ByParts.mlx

Visualizing Integration by Parts

- explain what the method of integration by parts is and how it works.
- develop fluency with computing integrals involving powers, sines, cosines, exponentials and logarithms that are solvable by integration by
parts by hand.
- see a graphical understanding of the integration by parts formula.
Apply the method of integration by parts
<math-renderer class="js-inline-math" style="display: inline" data-static-url="https://github.githubassets.com/static" data-run-id="6fa279eb3da88c670d2261ac77d54ee5">$\displaystyle {\int y^2 e^y ;dy=y^2 e^y -2ye^y +2e^y +C}$</math-renderer>
<math-renderer class="js-inline-math" style="display: inline" data-static-url="https://github.githubassets.com/static" data-run-id="6fa279eb3da88c670d2261ac77d54ee5">$\displaystyle =(y^2 -2y+2)e^y +C$</math-renderer>

# Calculus Flashcards App

1. Choose the type of practice.
2. Solve problems.

# Setup To Use the Calculus Flashcards App

MATLAB Desktop

1. Ensure that you have MATLAB R2021a or newer installed.
3. Right-click the app in MATLAB and select run or type run("CalculusFlashcards.mlapp") in the Command Window.

MATLAB Online

# Related Courseware Modules

Courseware Module
Sample Content
Available on:
Calculus: Derivatives

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 Integrals (https://github.com/MathWorks-Teaching-Resources/Calculus-Integrals/releases/tag/v1.1.0), GitHub. Retrieved .

##### MATLAB Release Compatibility
Created with R2021b
Compatible with R2021b 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.1.0

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

1.0.7.0

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

1.0.6

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

1.0.5

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

1.0.4

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

1.0.3

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

1.0.2

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

1.0.1.0

See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Calculus-Integrals/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.