R for College Mathematics and Statistics encourages the use of R in mathematics and statistics courses. Instructors are no longer limited to ``nice'' functions in calculus classes. They can require reports and homework with graphs. They can do simulations and experiments. R can be useful for student projects, for creating graphics for teaching, as well as for scholarly work. This book presents ways R, which is freely available, can enhance the teaching of mathematics and statistics.


R has the potential to help students learn mathematics due to the need for precision, understanding of symbols and functions, and the logical nature of code. Moreover, the text provides students the opportunity for experimenting with concepts in any mathematics course.


  • Does not require previous experience with R
  • Promotes the use of R in typical mathematics and statistics course work
  • Organized by mathematics topics
  • Utilizes an example-based approach
  • Chapters are largely independent of each other

chapter 1|6 pages

Getting Started

chapter 2|22 pages

Functions and Their Graphs

chapter 3|34 pages


chapter 4|22 pages


chapter 5|18 pages

Sequences, Series, and Limits

chapter 6|16 pages

Calculating Derivatives

chapter 7|16 pages

Riemann Sums and Integration

chapter 8|16 pages

Planes, Surfaces, Rotations, and Solids

chapter 9|14 pages

Curve Fitting

chapter 10|23 pages


chapter 11|10 pages

The Central Limit Theorem and Z-test

chapter 12|12 pages

The T-Test

chapter 13|8 pages

Testing Proportions

chapter 14|12 pages

Linear Regression

chapter 15|8 pages

Nonparametric Statistical Tests

chapter 16|14 pages

Miscellaneous Statistical Tests

chapter 17|10 pages


chapter 18|18 pages

Differential Equations

chapter 19|28 pages

Some Discrete Mathematics