Calculus with Julia
Recorded: Oct. 12, 2026, 3:09 a.m.
| Original | Summarized |
Calculus with Julia Calculus with Julia
Preface Preface Mathematical basics 1 From calculator to computer 2 Variables 3 Number systems 4 Inequalities, Logical expressions 5 Points, vectors, and containers 6 Ranges and sets Precalculus Concepts 7 Functions 8 The graph of a function 9 Function transformations 10 The inverse of a function 11 Polynomials 12 Roots of a polynomial 13 The Polynomials package 14 Rational functions 15 Exponential and logarithmic functions 16 Trigonometric functions 17 Overview of Julia commands Limits and continuity 18 Limits 19 Limits, issues, extensions of the concept 20 Continuity 21 Implications of continuity 22 Sequences and series Derivatives 23 Derivatives 24 Computing derivatives in Julia 25 Symbolic derivatives 26 Implications of Differentiability 27 Optimization 28 The first and second derivatives 29 Curve sketching 30 Linearization 31 Newton’s method 32 Other zero-finding algorithms 33 L’Hospital’s rule 34 Implicit differentiation 35 Related rates 36 Taylor polynomials, series, and approximating polynomials Integrals 37 Area under a curve 38 Fundamental Theorem of Calculus 39 Numeric approximations to definite integrals 40 Substitution 41 Integration by parts 42 Partial fractions 43 Area between curves 44 Improper integrals 45 Mean value theorem for integrals 46 Center of mass 47 Arc length 48 Volumes by slicing 49 Surface area 50 Orthogonal polynomials 51 A dozen minima for a parabola ODEs 52 ODEs 53 Euler’s method 54 The problem-algorithm-solve interface 55 The DifferentialEquations suite Differential vector calculus 56 Polar coordinates and curves 57 Vectors and matrices 58 Vector-valued functions, \(f:R \rightarrow R^n\) 59 Scalar functions 60 Applications with scalar functions 61 Functions \(R^n \rightarrow R^m\) 62 Matrix calculus 63 2D and 3D plots in Julia with Plots Integral vector calculus 64 Multi-dimensional integrals 65 Line and surface integrals 66 The gradient, divergence, and curl 67 Green’s theorem, Stokes’ theorem, and the divergence theorem 68 Quick review of vector calculus Alternative packages 69 Symbolics.jl 70 The SciML suite of packages 71 JavaScript based plotting libraries 72 Calculus plots with Makie Appendices 73 Getting started with Julia 74 Julia interfaces 75 The CalculusWithJulia package 76 Usages of Unicode symbols 77 Quick introduction to Calculus with Julia References Table of contents Preface Running Julia Edit this pageReport an issue Calculus with Julia Author John Verzani Published August 31, 2026 Preface Calculus with Julia This is a set of notes for learning calculus using the Julia language. Julia is an open-source programming language with an easy to learn syntax that is well suited for this task. To contribute – say by suggesting additional topics, correcting a mistake, or fixing a typo – click the “Edit this page” link and join the list of contributors. Thanks to all contributors. Running Julia Calculus with Julia version 0.27, produced on August 31, 2026. Angenent, Sigurd. 2012. Wisconsin Calculus. Https://github.com/SigurdAngenent/WisconsinCalculus/tree/master. Hass, Joel R., Christopher E. Heil, and Maurice D. Weir. 2018. Thomas’ Calculus. Pearson. Knill, Oliver. n.d. Some Teaching Notes. https://people.math.harvard.edu/~knill/teach/index.html. Rogawski, Jon, Colin Adams, and Robert Franzosa. 2019. Calculus. Macmillan. Schey, H. M. 1997. Div, Grad, Curl, and All That. W.W. Norton. Strang, Gilbert. n.d. Calculus. Wellesley-Cambridge Press. https://ocw.mit.edu/courses/res-18-001-calculus-online-textbook-spring-2005/.
Mathematical basics
Copyright 2022-26, John Verzani |
This material outlines a comprehensive approach to learning calculus by utilizing the Julia programming language, aiming to integrate graphical, numerical, and algebraic perspectives into the study of calculus. The foundation begins with mathematical basics, covering concepts such as variables, number systems, inequalities, logical expressions, points, vectors, and sets. This transitions into precalculus concepts, where the curriculum explores functions, their graphs, transformations, inverses, polynomials, roots, rational functions, exponential and logarithmic functions, and trigonometric functions. The core of the calculus treatment focuses first on limits and continuity, followed by sequences and series. The derivative section delves into the mechanics of differentiation, including computing derivatives in Julia, symbolic differentiation, implications of differentiability, optimization techniques via the first and second derivatives, curve sketching, and zero-finding algorithms such as Newton’s method and L’Hospital’s rule. This section extends to implicit differentiation, related rates, Taylor polynomials, and series approximations. The integration portion addresses the calculation of area under a curve, the fundamental theorem of calculus, numerical approximations for definite integrals, and techniques such as substitution and integration by parts. The curriculum also covers more advanced integration concepts, including partial fractions, area between curves, improper integrals, the mean value theorem for integrals, and applications like finding the center of mass, arc length, volumes by slicing, surface area, and orthogonal polynomials. The course progresses to advanced topics, including ordinary differential equations (ODEs), which are addressed through numerical methods like Euler’s method and the DifferentialEquations suite. Differential vector calculus is introduced through polar coordinates, vectors and matrices, scalar functions, and matrix calculus. Integral vector calculus involves multi-dimensional integrals, line and surface integrals, and vector calculus theorems such as Green’s theorem, Stokes’ theorem, and the divergence theorem. The resource incorporates specialized tools, including the Symbolics.jl and SciML suites, alongside JavaScript-based plotting libraries and Makie for visualization. The instructional strategy relies on a restricted set of computational concepts made accessible through functional programming notation, using operators that reduce complex calculus computations to function calls. The notes are supported by a software package, CalculusWithJulia, which streamlines common tasks. Ultimately, this work serves as a structured guide, offering a pathway to understand calculus where symbolic treatment is augmented by numerical computation facilitated by Julia. |