Calculus I

Limits, derivatives, optimization, integrals and the Fundamental Theorem, with four computer labs on real-world rates of change. Free, self-paced, and tied to real planet-saving work.

NASA Blue MarbleNASA/JPL-Caltech (PIA22431)NASA/Kim Shiflett (KSC-20210927-PH-KLS04_0013, Sept. 27, 2021)NASA (ISS066-E-080762, Nov. 8, 2021)

Courses › MATH 110

Download the PDF study guide

About this course

This is a free self-study course outline written by Saving Planets. It is not a university course, it carries no academic credit, and no school is involved.

Its scope follows first-semester college calculus (single-variable differential calculus and an introduction to integrals), modeled on the topics and depth of open materials such as OpenStax Calculus Volume 1 and MIT OpenCourseWare 18.01SC Single Variable Calculus, which we link to throughout. Those organizations do not endorse this page.

What we add: every unit connects calculus to real climate, energy and spaceflight problems, every number on the page is re-computed by a checking script before it goes live, and four computer labs let you do calculus on data the way scientists and engineers do.

Work through it in order. Each unit has goals, key ideas, equations, step-by-step examples, practice with full answers, common mistakes, flashcards and a quiz. Your progress is saved only in this browser.

How this course helps save the planet

Calculus is the mathematics of change. Climate scientists use derivatives to turn a record of carbon dioxide or sea ice into a rate of change, engineers use optimization to get the most energy from wind and the most mission from every kilogram of rocket fuel, and integrals add up power into energy.

Each unit ends with a short, sourced section showing how its ideas help both people and nature.

Back to top

Before you start

Prerequisites

  • Algebra: factoring, rational expressions, solving equations and inequalities.
  • Functions and graphs: domain, range, composition, inverse functions.
  • Trigonometry: radians, the unit circle, sine, cosine, tangent and basic identities.
  • Exponential and logarithmic functions, including e and ln.

How to study

  • Read the unit, then close it and try the worked examples yourself before checking each step.
  • Do every practice problem on paper before opening the answer.
  • Sketch a graph whenever you can. Most calculus mistakes show up as a picture that makes no sense.
  • Check derivatives by estimating the slope numerically, and integrals by estimating the area.
  • Use a graphing tool such as Desmos to test your intuition, never to replace the work.
  • Retake the quizzes a few days later. Spaced practice beats one long session.

Lab equipment (for the wet labs)

  • A computer or tablet with a spreadsheet (Google Sheets, Excel or LibreOffice).
  • A free graphing calculator such as Desmos.
  • Optional: Python with NumPy, for those who want to code the labs.

Back to top

Suggested 15-week schedule

About 6 to 9 hours a week: reading, practice problems and, in lab weeks, the lab.

WeekUnitTopicsReading
1Functions & LimitsFunctions review; the idea of a limit; limits from graphs and tablesOpenStax 1.1–1.5, 2.1–2.2
2Functions & LimitsLimit laws; algebraic techniques; special trigonometric limitsOpenStax 2.3
3Functions & LimitsLimits at infinity; asymptotes; the precise definitionOpenStax 2.5, 4.6
4Continuity & the DerivativeContinuity, the IVT, the derivative; Lab AOpenStax 2.4, 3.1–3.2
5Differentiation RulesPower, product and quotient rules; higher derivativesOpenStax 3.3–3.4
6Differentiation RulesTrigonometric derivatives; the chain ruleOpenStax 3.5–3.6
7Differentiation RulesImplicit differentiation; exponential and log derivatives; midterm practiceOpenStax 3.7–3.9
8Applications I: Related Rates, Approximation & Newton’s MethodRelated rates; linear approximation and differentialsOpenStax 4.1–4.2
9Applications I: Related Rates, Approximation & Newton’s MethodL’Hôpital’s rule; Newton’s method; Lab BOpenStax 4.8–4.9
10Applications II: Extrema, Graph Shape & OptimizationExtrema, the Mean Value Theorem, graph shapeOpenStax 4.3–4.5
11Applications II: Extrema, Graph Shape & OptimizationApplied optimization; Lab COpenStax 4.7
12Integrals & the Fundamental Theorem of CalculusRiemann sums and the definite integralOpenStax 5.1–5.2
13Integrals & the Fundamental Theorem of CalculusThe Fundamental Theorem; Lab DOpenStax 5.3–5.4
14Integrals & the Fundamental Theorem of CalculusSubstitution; average value; areas between curvesOpenStax 5.5, 6.1
15ReviewReview and final practice setAll units

Back to top

Your progress

Tick units and labs as you finish them, and take the quizzes. Progress and quiz scores are saved only in this browser, never sent to us.

Turn on JavaScript to track progress.

Back to top

Unit 1 · Weeks 1–3

Functions & Limits

A limit describes what a function approaches. It is the idea underneath every derivative and integral.

Learning objectives

By the end of this unit you can:

  • Estimate limits from graphs and tables, including one-sided limits.
  • Evaluate limits with the limit laws, factoring and rationalizing.
  • Find limits at infinity and identify horizontal and vertical asymptotes.
  • State the precise (ε–δ) definition of a limit.

Key concepts

  • lim f(x) as x → a = L means f(x) can be made as close to L as we like by taking x close enough to a, but not equal to a.
  • A limit exists only if the left- and right-hand limits agree.
  • For a 0/0 form, simplify first: factor, cancel, or multiply by a conjugate.
  • Two special limits: sin x / x → 1 and (1 − cos x)/x → 0 as x → 0 (x in radians).
  • At infinity, compare the highest powers in a rational function.

Key equations

lim⁡x→af(x)=L\lim_{x\to a}f(x)=L
Limit notation
lim⁡x→0sin⁡xx=1\lim_{x\to0}\frac{\sin x}{x}=1
A fundamental trigonometric limit
∀ε>0 ∃δ>0: 0<∣x−a∣<δ⇒∣f(x)−L∣<ε\forall\varepsilon>0\ \exists\delta>0:\ 0<|x-a|<\delta\Rightarrow|f(x)-L|<\varepsilon
Precise definition of a limit

Worked examples, step by step

Example 1.1 Find lim (x² − 4)/(x − 2) as x → 2.

Show the steps
  1. Direct substitution gives 0/0, so simplify.
  2. (x² − 4)/(x − 2) = (x − 2)(x + 2)/(x − 2) = x + 2 for x ≠ 2.
  3. Now substitute: 2 + 2 = 4.

Answer: 4.

Example 1.2 Find lim (√(x + 4) − 2)/x as x → 0.

Show the steps
  1. 0/0 again. Multiply top and bottom by the conjugate √(x + 4) + 2.
  2. Top becomes (x + 4) − 4 = x, so the expression is 1/(√(x + 4) + 2).
  3. Substitute x = 0: 1/(2 + 2) = 1/4.

Answer: 1/4.

Example 1.3 Find lim (3x² + 1)/(2x² − 5) as x → ∞.

Show the steps
  1. Divide top and bottom by x²: (3 + 1/x²)/(2 − 5/x²).
  2. As x → ∞, 1/x² → 0.

Answer: 3/2, so y = 3/2 is a horizontal asymptote.

Practice problems

Work each on paper first, then check.

  1. lim (x² − 9)/(x − 3) as x → 3

    Show answer

    Factor: x + 3 → 6.

  2. lim (5x + 2)/(x − 1) as x → ∞

    Show answer

    Divide by x: 5.

  3. lim (1 − cos x)/x as x → 0

    Show answer

    0 (a standard limit).

  4. lim 1/x as x → 0⁺ and as x → 0⁻

    Show answer

    +∞ from the right, −∞ from the left, so the two-sided limit does not exist.

  5. lim sin(3x)/x as x → 0

    Show answer

    Write it as 3 · sin(3x)/(3x) → 3 × 1 = 3.

Common misconceptions

  • Myth: A limit is just the value of the function at that point.

    Actually: The limit ignores f(a). f can be undefined at a and still have a limit there, as in Example 1.1.

  • Myth: 0/0 means the limit is 0 (or does not exist).

    Actually: 0/0 is an indeterminate form: the limit could be anything. You have to simplify.

  • Myth: If the graph gets close to a line, it can never cross it.

    Actually: A graph can cross a horizontal asymptote; the asymptote describes behavior far away.

Flashcards

  • Limit

    The value f(x) approaches as x approaches a.

  • One-sided limit

    Limit from the left (x → a⁻) or right (x → a⁺).

  • Indeterminate form

    0/0 or ∞/∞: simplify before deciding.

  • Horizontal asymptote

    y = L when f(x) → L as x → ±∞.

  • Vertical asymptote

    x = a when f(x) → ±∞ as x → a.

  • ε–δ definition

    For every ε > 0 there is δ > 0 that keeps f(x) within ε of L.

Self-check quiz

1. lim (x² − 1)/(x − 1) as x → 1 is…

Show answer

2. Factor to x + 1 → 2.

2. A two-sided limit exists when…

Show answer

the left and right limits are equal. Both one-sided limits must exist and agree.

3. lim sin x / x as x → 0 (radians) equals…

Show answer

1. A fundamental limit; it is why calculus uses radians.

4. lim (4x³ − x)/(2x³ + 7) as x → ∞ is…

Show answer

2. Leading coefficients: 4/2 = 2.

How this helps save the planet

Every climate record is a list of measurements at separate times. The idea of a limit, shrinking the time step toward zero, is what lets scientists talk about the rate of change at an instant rather than just over a year or a decade.

NOAA has measured carbon dioxide at Mauna Loa Observatory since 1958. Its data pages publish both the concentration and its yearly growth rate, a direct use of the average rate of change that limits make precise.

On Saving Planets: OCO-2: measuring CO₂ from orbit

Sources: NOAA GML: trends in atmospheric CO₂ · NOAA GML: CO₂ growth rates

Free learning resources

Back to top

Unit 2 · Week 4

Continuity & the Derivative

Continuity means no breaks. The derivative is the limit of average rates of change: the slope of the tangent line.

Learning objectives

By the end of this unit you can:

  • Test a function for continuity and use the Intermediate Value Theorem.
  • Compute a derivative from the limit definition.
  • Interpret a derivative as a slope, a velocity and a rate of change, with units.
  • Write the equation of a tangent line.

Key concepts

  • f is continuous at a if f(a) is defined, the limit exists, and they are equal.
  • Intermediate Value Theorem: a continuous function on [a, b] takes every value between f(a) and f(b).
  • The derivative f′(a) is the limit of the difference quotient [f(a + h) − f(a)]/h as h → 0.
  • Units of f′ are units of f per unit of x: meters per second, ppm per year.
  • A function is not differentiable at a corner, a cusp, a vertical tangent or a break.

Key equations

f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x)=\lim_{h\to0}\frac{f(x+h)-f(x)}{h}
Limit definition of the derivative
y−f(a)=f′(a)(x−a)y-f(a)=f'(a)(x-a)
Tangent line at x = a

Worked examples, step by step

Example 2.1 Use the definition to find the derivative of f(x) = x².

Show the steps
  1. [(x + h)² − x²]/h = (2xh + h²)/h = 2x + h.
  2. As h → 0 this tends to 2x.

Answer: f′(x) = 2x.

Example 2.2 Find the tangent line to y = x³ at x = 1.

Show the steps
  1. y′ = 3x², so the slope at x = 1 is 3.
  2. Point: (1, 1).
  3. y − 1 = 3(x − 1), so y = 3x − 2.

Answer: y = 3x − 2.

Example 2.3 For what a is f(x) = x + 1 (x < 1), ax² (x ≥ 1) continuous everywhere?

Show the steps
  1. Left limit at 1: 1 + 1 = 2.
  2. Right value and limit: a × 1² = a.
  3. Continuity needs a = 2.

Answer: a = 2.

Practice problems

Work each on paper first, then check.

  1. Use the definition to differentiate f(x) = 1/x.

    Show answer

    [1/(x + h) − 1/x]/h = −1/(x(x + h)) → −1/x².

  2. A dropped stone falls s(t) = 4.9t² meters. Find its average velocity from t = 1 to t = 3 s and its instantaneous velocity at t = 2 s.

    Show answer

    Average: (44.1 − 4.9)/2 = 19.6 m/s. Instantaneous: s′(t) = 9.8t, so 19.6 m/s at t = 2.

  3. Show that x³ + x − 1 = 0 has a root between 0 and 1.

    Show answer

    f(0) = −1 < 0 and f(1) = 1 > 0, and f is continuous, so by the IVT it crosses 0 in between.

  4. Is f(x) = |x| differentiable at 0?

    Show answer

    No. The slope is −1 from the left and +1 from the right, so the limit of the difference quotient does not exist (a corner).

Common misconceptions

  • Myth: Continuous means differentiable.

    Actually: |x| is continuous at 0 but has no derivative there. Differentiable does imply continuous, though.

  • Myth: The derivative is the change in y.

    Actually: It is the rate of change: change in y per unit change in x, in the limit.

  • Myth: The tangent line touches the curve at only one point.

    Actually: It can cross the curve elsewhere, and even at the point of tangency (as for y = x³ at 0).

Flashcards

  • Continuity at a

    lim f(x) as x → a equals f(a).

  • Intermediate Value Theorem

    Continuous on [a, b] ⇒ every value between f(a) and f(b) is taken.

  • Difference quotient

    [f(x + h) − f(x)]/h, an average rate of change.

  • Derivative

    Limit of the difference quotient; instantaneous rate of change.

  • Tangent line

    y = f(a) + f′(a)(x − a).

  • Differentiable ⇒ continuous

    But not the other way round.

Self-check quiz

1. If s(t) is position in meters and t is in seconds, s′(t) has units of…

Show answer

m/s. Units of f divided by units of x.

2. The derivative of x² at x = 3 is…

Show answer

6. f′(x) = 2x.

3. Which function is continuous but not differentiable at 0?

Show answer

|x|. It has a corner at 0.

4. The IVT requires the function to be…

Show answer

continuous on [a, b]. Continuity on the closed interval is the key hypothesis.

How this helps save the planet

The derivative turns a position record into a speed. Satellite navigation does this constantly: GRACE-FO, for example, measures how the distance between its two satellites changes, and those changes reveal shifts in water and ice on Earth.

Rates with units are how climate change is reported in practice: parts per million of CO₂ per year, millimeters of sea level per year. Reading a derivative with its units is a core science-literacy skill.

On Saving Planets: GRACE-FO · Physics I + Lab

Sources: NASA JPL: GRACE-FO · OpenStax Calculus 1, 3.1 Defining the Derivative

Free learning resources

Back to top

Unit 3 · Weeks 5–7

Differentiation Rules

Power, product, quotient and chain rules, plus derivatives of trigonometric, exponential and logarithmic functions, and implicit differentiation.

Learning objectives

By the end of this unit you can:

  • Differentiate polynomials, products, quotients and compositions quickly and correctly.
  • Differentiate sin, cos, tan, eˣ and ln x.
  • Use implicit differentiation to find dy/dx.
  • Find higher derivatives and interpret the second derivative as acceleration.

Key concepts

  • Power rule: d/dx xⁿ = nxⁿ⁻¹ for any real n.
  • Product rule: (fg)′ = f′g + fg′. Quotient rule: (f/g)′ = (f′g − fg′)/g².
  • Chain rule: the derivative of f(g(x)) is f′(g(x)) · g′(x), outside derivative times inside derivative.
  • eˣ is its own derivative; ln x has derivative 1/x. That is why e appears in every growth and decay model.
  • Implicit differentiation: differentiate both sides with respect to x, treating y as a function of x.

Key equations

ddxxn=nxn−1\frac{d}{dx}x^n=nx^{n-1}
Power rule
(fg)′=f′g+fg′,(fg)′=f′g−fg′g2(fg)'=f'g+fg',\quad \left(\frac fg\right)'=\frac{f'g-fg'}{g^2}
Product and quotient rules
ddxf(g(x))=f′(g(x)) g′(x)\frac{d}{dx}f(g(x))=f'(g(x))\,g'(x)
Chain rule
ddxex=ex,ddxln⁡x=1x\frac{d}{dx}e^x=e^x,\quad \frac{d}{dx}\ln x=\frac1x
Exponential and logarithm
ddxsin⁡x=cos⁡x,ddxcos⁡x=−sin⁡x\frac{d}{dx}\sin x=\cos x,\quad \frac{d}{dx}\cos x=-\sin x
Trigonometric derivatives

Worked examples, step by step

Example 3.1 Differentiate y = x² sin x.

Show the steps
  1. Product rule with f = x², g = sin x.
  2. y′ = 2x sin x + x² cos x.

Answer: y′ = 2x sin x + x² cos x.

Example 3.2 Differentiate y = (3x² + 1)⁵.

Show the steps
  1. Outside: u⁵ → 5u⁴. Inside: u = 3x² + 1 → 6x.
  2. y′ = 5(3x² + 1)⁴ · 6x.

Answer: y′ = 30x(3x² + 1)⁴.

Example 3.3 Find the slope of the circle x² + y² = 25 at (3, 4).

Show the steps
  1. Differentiate: 2x + 2y y′ = 0.
  2. y′ = −x/y = −3/4.

Answer: −3/4.

Practice problems

Work each on paper first, then check.

  1. d/dx (3x⁴ − 5x² + 7)

    Show answer

    12x³ − 10x.

  2. d/dx ln(x² + 1)

    Show answer

    2x/(x² + 1) (chain rule).

  3. d/dx (x/(x + 1))

    Show answer

    [(x + 1) − x]/(x + 1)² = 1/(x + 1)².

  4. A quantity grows as Q(t) = 1000e^(0.02t). How fast is it growing at t = 0, and what is its relative growth rate?

    Show answer

    Q′(t) = 20e^(0.02t), so 20 units per unit time at t = 0. Q′/Q = 0.02, a constant 2% per unit time.

  5. If s(t) = t³ − 6t², find the velocity and acceleration at t = 1.

    Show answer

    v = 3t² − 12t = −9; a = 6t − 12 = −6.

Common misconceptions

  • Myth: The derivative of a product is the product of the derivatives.

    Actually: Use the product rule: (fg)′ = f′g + fg′.

  • Myth: d/dx sin(3x) = cos(3x).

    Actually: Chain rule: 3 cos(3x).

  • Myth: d/dx eˣ = x eˣ⁻¹.

    Actually: The power rule does not apply to variable exponents. d/dx eˣ = eˣ.

Flashcards

  • Power rule

    d/dx xⁿ = nxⁿ⁻¹.

  • Product rule

    (fg)′ = f′g + fg′.

  • Quotient rule

    (f/g)′ = (f′g − fg′)/g².

  • Chain rule

    [f(g(x))]′ = f′(g(x)) g′(x).

  • d/dx eˣ

    eˣ.

  • d/dx ln x

    1/x.

Self-check quiz

1. d/dx (x⁵) =

Show answer

5x⁴. Power rule.

2. d/dx sin(x²) =

Show answer

2x cos(x²). Chain rule: cos(x²) · 2x.

3. d/dx ln(5x) =

Show answer

1/x. 5/(5x) = 1/x.

4. If position is s(t), acceleration is…

Show answer

s″(t). Acceleration is the derivative of velocity.

How this helps save the planet

Growth and decay models built on eˣ describe population growth, radioactive decay used to date ice cores, and compound growth in emissions. The chain rule gives their rates of change in one step.

A relative growth rate (Q′/Q) is how scientists compare changes in quantities of very different sizes, for example how fast a forest area or a greenhouse gas is changing as a percentage per year.

On Saving Planets: Deforestation hub · Earth observation

Sources: OpenStax Calculus 1, 3.9 Derivatives of Exponential and Logarithmic Functions · NASA: carbon dioxide vital sign

Free learning resources

Back to top

Unit 4 · Weeks 8–9

Applications I: Related Rates, Approximation & Newton’s Method

Use derivatives to link changing quantities, approximate hard values, evaluate tricky limits and solve equations numerically.

Learning objectives

By the end of this unit you can:

  • Solve related-rates problems.
  • Use linear approximation and differentials to estimate values and errors.
  • Apply L’Hôpital’s rule to 0/0 and ∞/∞ forms.
  • Solve equations with Newton’s method.

Key concepts

  • Related rates: write an equation linking the quantities, differentiate with respect to time, then substitute values.
  • Near x = a, f(x) ≈ f(a) + f′(a)(x − a): the tangent line is the best straight-line estimate.
  • L’Hôpital’s rule: for 0/0 or ∞/∞, lim f/g = lim f′/g′ if the right side exists.
  • Newton’s method: xₙ₊₁ = xₙ − f(xₙ)/f′(xₙ). It usually converges very fast from a good starting guess.

Key equations

L(x)=f(a)+f′(a)(x−a)L(x)=f(a)+f'(a)(x-a)
Linear approximation
lim⁡f(x)g(x)=lim⁡f′(x)g′(x)\lim\frac{f(x)}{g(x)}=\lim\frac{f'(x)}{g'(x)}
L’Hôpital’s rule (0/0 or ∞/∞)
xn+1=xn−f(xn)f′(xn)x_{n+1}=x_n-\frac{f(x_n)}{f'(x_n)}
Newton’s method

Worked examples, step by step

Example 4.1 A spherical weather balloon’s radius grows at 2 cm/s. How fast is its volume growing when r = 10 cm?

Show the steps
  1. V = (4/3)πr³, so dV/dt = 4πr² dr/dt.
  2. dV/dt = 4π × 10² × 2 = 800π ≈ 2,513 cm³/s.

Answer: About 2,510 cm³/s.

Example 4.2 Estimate √4.1 with a linear approximation.

Show the steps
  1. f(x) = √x, a = 4: f(4) = 2, f′(4) = 1/(2√4) = 1/4.
  2. L(4.1) = 2 + (1/4)(0.1) = 2.025.

Answer: 2.025 (the true value is 2.02485…).

Example 4.3 Use Newton’s method to solve x² = 2 starting from x₀ = 1.

Show the steps
  1. f(x) = x² − 2, f′(x) = 2x, so xₙ₊₁ = xₙ − (xₙ² − 2)/(2xₙ).
  2. x₁ = 1.5, x₂ = 1.416667, x₃ = 1.414216.

Answer: x₃ = 1.414216, already correct to 6 significant figures (√2 = 1.4142136…).

Practice problems

Work each on paper first, then check.

  1. A 5 m ladder slides down a wall; its foot moves away at 0.5 m/s. How fast is the top falling when the foot is 3 m from the wall?

    Show answer

    x² + y² = 25, so x x′ + y y′ = 0. With x = 3, y = 4: y′ = −(3/4)(0.5) = −0.375 m/s, falling at 0.375 m/s.

  2. lim (eˣ − 1)/x as x → 0

    Show answer

    L’Hôpital: eˣ/1 → 1.

  3. Newton’s method for x³ − 2x − 5 = 0 from x₀ = 2. Find x₁ and x₂.

    Show answer

    f(2) = −1, f′(2) = 10, so x₁ = 2.1. f(2.1) = 0.061, f′(2.1) = 11.23, so x₂ = 2.0946.

  4. Use differentials to estimate the change in the area of a 10 cm radius disk if the radius grows by 0.1 cm.

    Show answer

    dA = 2πr dr = 2π × 10 × 0.1 = 2π ≈ 6.28 cm².

Common misconceptions

  • Myth: L’Hôpital means differentiating the quotient f/g.

    Actually: Differentiate the top and bottom separately, and only for 0/0 or ∞/∞ forms.

  • Myth: In related rates, plug in the numbers first, then differentiate.

    Actually: Differentiate first; substituting too early turns variables into constants with zero derivative.

  • Myth: Newton’s method always finds a root.

    Actually: A bad starting point, or f′ near zero, can send it off or make it cycle.

Flashcards

  • Related rates

    Differentiate an equation linking quantities with respect to t.

  • Linear approximation

    f(x) ≈ f(a) + f′(a)(x − a).

  • Differential

    dy = f′(x) dx.

  • L’Hôpital’s rule

    For 0/0 or ∞/∞: lim f/g = lim f′/g′.

  • Newton’s method

    xₙ₊₁ = xₙ − f(xₙ)/f′(xₙ).

  • Quadratic convergence

    Newton’s method roughly doubles the correct digits each step near a simple root.

Self-check quiz

1. Linear approximation uses the…

Show answer

tangent line. L(x) is the tangent line at a.

2. L’Hôpital’s rule applies to…

Show answer

0/0 and ∞/∞ forms. Only indeterminate quotients.

3. One step of Newton’s method on f(x) = x² − 9 from x₀ = 4 gives…

Show answer

3.125. 4 − 7/8 = 3.125.

4. If V = s³ and ds/dt = 1, then dV/dt at s = 2 is…

Show answer

12. 3s² ds/dt = 12.

How this helps save the planet

Predicting where a satellite will be means solving Kepler’s equation, M = E − e sin E, for E. It has no algebraic solution, so it is commonly solved numerically, often with Newton’s method, as in Lab B. Accurate orbit prediction keeps Earth-observing satellites safely apart and their images correctly placed on the map.

Weather balloons, like the one in Example 4.1, carry instruments that measure the atmosphere for weather forecasts; related rates link how fast they rise and expand.

On Saving Planets: Orbits guide · Orbital period calculator

Sources: OpenStax Calculus 1, 4.9 Newton’s Method · OpenStax University Physics 1, 13.5 Kepler’s Laws

Free learning resources

Back to top

Unit 5 · Weeks 10–11

Applications II: Extrema, Graph Shape & Optimization

Find maxima and minima, read a graph’s shape from f′ and f″, and solve real design problems by optimization.

Learning objectives

By the end of this unit you can:

  • Find critical points and absolute extrema on a closed interval.
  • State and use the Mean Value Theorem.
  • Use the first and second derivative tests and find inflection points.
  • Set up and solve applied optimization problems.

Key concepts

  • Critical points are where f′ = 0 or f′ does not exist. Extrema of a smooth function happen there or at endpoints.
  • Mean Value Theorem: on a smooth interval, the instantaneous rate equals the average rate somewhere.
  • f′ > 0 means increasing; f″ > 0 means concave up. An inflection point is where concavity changes.
  • Optimization recipe: draw it, write the quantity to optimize as a function of one variable using the constraint, differentiate, find critical points, check endpoints.

Key equations

f′(c)=f(b)−f(a)b−af'(c)=\frac{f(b)-f(a)}{b-a}
Mean Value Theorem
f′(c)=0, f′′(c)<0⇒local maxf'(c)=0,\ f''(c)<0\Rightarrow\text{local max}
Second derivative test
Cp(a)=4a(1−a)2C_p(a)=4a(1-a)^2
Wind-turbine power coefficient vs. axial induction a (actuator-disk model)

Worked examples, step by step

Example 5.1 Find the local extrema of f(x) = x³ − 3x.

Show the steps
  1. f′(x) = 3x² − 3 = 0 at x = ±1.
  2. f″(x) = 6x: f″(−1) = −6 < 0 (max), f″(1) = 6 > 0 (min).
  3. f(−1) = 2, f(1) = −2.

Answer: Local max 2 at x = −1; local min −2 at x = 1.

Example 5.2 A closed cylindrical can must hold 500 cm³. What radius uses the least metal?

Show the steps
  1. Constraint: πr²h = 500, so h = 500/(πr²).
  2. Area A = 2πr² + 2πrh = 2πr² + 1000/r.
  3. A′ = 4πr − 1000/r² = 0 gives r³ = 500/(2π), r = 4.30 cm.
  4. Then h = 8.60 cm = 2r, and A = 349 cm².

Answer: r = 4.30 cm, h = 8.60 cm (height equals diameter).

Example 5.3 In the simplest model of a wind turbine, the fraction of wind power captured is Cp = 4a(1 − a)², where a is how much the rotor slows the wind. Find the maximum.

Show the steps
  1. Cp′ = 4(1 − a)² − 8a(1 − a) = 4(1 − a)(1 − 3a).
  2. Critical points a = 1 and a = 1/3; a = 1 gives Cp = 0.
  3. Cp(1/3) = 4 × (1/3) × (2/3)² = 16/27 = 0.593.

Answer: 59.3%: the Betz limit, the theoretical maximum for any wind turbine.

Practice problems

Work each on paper first, then check.

  1. A farmer has 100 m of fence for three sides of a rectangle along a river. What is the largest area?

    Show answer

    A = x(100 − 2x); A′ = 100 − 4x = 0 at x = 25. Area = 25 × 50 = 1,250 m².

  2. Find the absolute max and min of f(x) = x² − 4x on [0, 5].

    Show answer

    Critical point x = 2: f = −4. Endpoints: f(0) = 0, f(5) = 5. Max 5, min −4.

  3. Verify the MVT for f(x) = x² on [1, 3].

    Show answer

    Average rate (9 − 1)/2 = 4; f′(c) = 2c = 4 at c = 2, inside [1, 3].

  4. Where is f(x) = x³ − 6x² concave up?

    Show answer

    f″ = 6x − 12 > 0 when x > 2; inflection point at x = 2.

Common misconceptions

  • Myth: f′(c) = 0 always means a max or min.

    Actually: x³ has f′(0) = 0 but no extremum there.

  • Myth: The absolute max is always at a critical point.

    Actually: On a closed interval it can be at an endpoint. Always check them.

  • Myth: Concave up means increasing.

    Actually: Concavity is about f″; a function can be concave up and decreasing, like e⁻ˣ.

Flashcards

  • Critical point

    f′ = 0 or undefined.

  • Extreme Value Theorem

    Continuous on [a, b] ⇒ absolute max and min exist.

  • Mean Value Theorem

    f′(c) = [f(b) − f(a)]/(b − a) for some c.

  • First derivative test

    Sign change of f′ from + to − is a max; − to + is a min.

  • Concavity

    f″ > 0 up, f″ < 0 down.

  • Betz limit

    Max Cp = 16/27 ≈ 59.3%.

Self-check quiz

1. If f′(c) = 0 and f″(c) > 0, then at c f has a…

Show answer

local min. Concave up at a flat point: a valley.

2. The Betz limit for wind turbines is about…

Show answer

59%. 16/27 ≈ 0.593, from maximizing 4a(1 − a)².

3. The MVT guarantees a point where…

Show answer

f′ equals the average rate of change. Instantaneous rate = average rate.

4. An inflection point is where…

Show answer

concavity changes. f″ changes sign.

How this helps save the planet

Optimization is engineering. The Betz limit in Example 5.3 comes from one derivative set to zero, and it tells wind engineers the most any turbine could ever extract from the wind.

Mission designers optimize too: a Hohmann transfer is usually the most fuel-efficient two-burn route between two circular orbits, and less propellant means smaller, cheaper launches for climate and weather satellites.

Using the least material for a job, like the can in Example 5.2, cuts the energy and resources that go into making it.

On Saving Planets: Hohmann transfer calculator · Physics I, Unit 4: wind power

Sources: U.S. DOE: How do wind turbines work? · OpenStax Calculus 1, 4.7 Applied Optimization Problems

Free learning resources

Back to top

Unit 6 · Weeks 12–14

Integrals & the Fundamental Theorem of Calculus

Integrals add up tiny pieces: area, distance, energy. The Fundamental Theorem links them to derivatives.

Learning objectives

By the end of this unit you can:

  • Approximate areas with Riemann sums and the trapezoid rule.
  • Define the definite integral and use its properties.
  • Use both parts of the Fundamental Theorem of Calculus.
  • Find antiderivatives, including by substitution, and compute net change, average value and areas between curves.

Key concepts

  • A Riemann sum adds f(xᵢ)Δx over small slices; the definite integral is its limit as the slices shrink.
  • FTC part 1: d/dx ∫ₐˣ f(t) dt = f(x). Integration and differentiation undo each other.
  • FTC part 2: ∫ₐᵇ f(x) dx = F(b) − F(a) for any antiderivative F.
  • Net change theorem: integrating a rate gives the total change. Integrating power gives energy; integrating velocity gives displacement.
  • Substitution is the chain rule in reverse.

Key equations

∫abf(x) dx=lim⁡n→∞∑i=1nf(xi∗)Δx\int_a^bf(x)\,dx=\lim_{n\to\infty}\sum_{i=1}^nf(x_i^*)\Delta x
Definite integral
ddx∫axf(t) dt=f(x)\frac{d}{dx}\int_a^xf(t)\,dt=f(x)
FTC part 1
∫abf(x) dx=F(b)−F(a)\int_a^bf(x)\,dx=F(b)-F(a)
FTC part 2
∫xn dx=xn+1n+1+C (n≠−1),∫1x dx=ln⁡∣x∣+C\int x^n\,dx=\frac{x^{n+1}}{n+1}+C\ (n\ne-1),\quad \int\frac1x\,dx=\ln|x|+C
Basic antiderivatives
favg=1b−a∫abf(x) dxf_{avg}=\frac1{b-a}\int_a^bf(x)\,dx
Average value

Worked examples, step by step

Example 6.1 Find ∫₀² x² dx.

Show the steps
  1. Antiderivative x³/3.
  2. 8/3 − 0 = 8/3.

Answer: 8/3 ≈ 2.667.

Example 6.2 Find ∫₀¹ 2x(x² + 1)³ dx.

Show the steps
  1. Let u = x² + 1, du = 2x dx; u goes from 1 to 2.
  2. ∫₁² u³ du = [u⁴/4]₁² = (16 − 1)/4.

Answer: 15/4 = 3.75.

Example 6.3 A solar array’s output on a clear day is modeled as P(t) = 5 sin(πt/12) kW for 0 ≤ t ≤ 12 hours after sunrise. How much energy does it make?

Show the steps
  1. Energy = ∫₀¹² 5 sin(πt/12) dt.
  2. Antiderivative: −(60/π) cos(πt/12).
  3. −(60/π)(cos π − cos 0) = 120/π.

Answer: 120/π ≈ 38.2 kWh (a simplified model, not a real array).

Practice problems

Work each on paper first, then check.

  1. ∫₀^π sin x dx

    Show answer

    [−cos x]₀^π = 1 + 1 = 2.

  2. d/dx ∫₀ˣ cos(t²) dt

    Show answer

    cos(x²), by FTC part 1.

  3. A rocket’s upward velocity is v(t) = 9.8t m/s for 3 s. How far does it rise?

    Show answer

    ∫₀³ 9.8t dt = 4.9 × 9 = 44.1 m.

  4. Find the area between y = x and y = x² on [0, 1].

    Show answer

    ∫₀¹ (x − x²) dx = 1/2 − 1/3 = 1/6.

  5. Find the average value of f(x) = x² on [0, 3].

    Show answer

    (1/3) ∫₀³ x² dx = (1/3)(9) = 3.

Common misconceptions

  • Myth: An integral is always an area, so it is always positive.

    Actually: It is a signed area: parts below the axis count as negative. ∫₀^{2π} sin x dx = 0.

  • Myth: Forgetting + C does not matter.

    Actually: For indefinite integrals the constant is part of the answer; it matters whenever an initial condition is given.

  • Myth: In substitution, keep the old limits.

    Actually: Change the limits to u-values, or substitute back before evaluating.

Flashcards

  • Riemann sum

    Σ f(xᵢ*) Δx; an area estimate.

  • Definite integral

    Limit of Riemann sums; signed area.

  • FTC part 1

    d/dx ∫ₐˣ f = f(x).

  • FTC part 2

    ∫ₐᵇ f = F(b) − F(a).

  • Net change

    Integral of a rate = total change.

  • Substitution

    u = g(x), du = g′(x) dx: the chain rule in reverse.

Self-check quiz

1. ∫₁³ 2x dx =

Show answer

8. [x²]₁³ = 9 − 1 = 8.

2. Integrating a power curve (kW) over time (h) gives…

Show answer

kWh of energy. Net change theorem: the integral of a rate is a total.

3. d/dx ∫₂ˣ t³ dt =

Show answer

x³. FTC part 1.

4. ∫ 1/x dx =

Show answer

ln|x| + C. The n = −1 exception to the power rule.

How this helps save the planet

Energy is the integral of power over time. Grid planners add up hour-by-hour solar and wind output this way to know how much clean energy they will get and how much storage they need.

Satellite instruments measure rates, such as the flow of sunlight or of water, and integrals turn those rates into totals: how much energy Earth absorbs, or how much water a river basin gains or loses over a season.

The numerical integration in Lab D is exactly how real data, which comes as separate measurements, gets integrated.

On Saving Planets: GRACE-FO · Calculators

Sources: OpenStax Calculus 1, 5.3 The Fundamental Theorem of Calculus · U.S. DOE: How do wind turbines work?

Free learning resources

Back to top

Computer labs

Calculus has no wet lab, so this course has four short computer labs instead. Each one applies a unit to real-world style data with a spreadsheet: finite differences, Newton’s method, optimization and numerical integration.

These are the same numerical methods engineers and climate scientists use every day. The sample data in each lab is for practice; each lab links to the real data source.

Safety reference: NOAA Global Monitoring Laboratory: trends in CO₂

Lab A: Rates of change from data

Week 4

Goal: Estimate a rate of change and its acceleration from a table of measurements, the way climate scientists treat a CO₂ record.

f′(ti)≈f(ti+1)−f(ti−1)ti+1−ti−1,f′′(ti)≈f(ti+1)−2f(ti)+f(ti−1)h2f'(t_i)\approx\frac{f(t_{i+1})-f(t_{i-1})}{t_{i+1}-t_{i-1}},\quad f''(t_i)\approx\frac{f(t_{i+1})-2f(t_i)+f(t_{i-1})}{h^2}
Central differences for the first and second derivative

Procedure

  1. Enter the sample table in a spreadsheet.
  2. Compute forward differences (rate over each year) and central differences.
  3. Compute the second difference: is the rate itself rising?
  4. Download real annual means from NOAA and repeat; compare with NOAA’s published growth rates.

Data table

Year tC (ppm)
0400.0
1402.4
2404.9
3407.5
4410.2

Sample values for practice, not real measurements. Use NOAA’s data for the real thing.

Sample calculation

  1. Central difference at t = 2: (407.5 − 402.4)/2 = 2.55 ppm per year.
  2. Second difference at t = 2: 407.5 − 2(404.9) + 402.4 = 0.1 ppm per year².
  3. A positive second difference means the growth rate is itself increasing (in this sample).

Safety

  • Keep a copy of the raw data untouched; do calculations in new columns.

Home or virtual alternative

  • Everything here is done on a computer or even by hand.

NOAA GML: CO₂ growth rates

Planet link: Rates of change are how CO₂ trends are reported and compared. NOAA GML: trends in atmospheric CO₂

Lab B: Newton’s method and Kepler’s equation

Week 9

Goal: Solve Kepler’s equation M = E − e sin E for a satellite’s eccentric anomaly E, the key step in predicting where it is.

En+1=En−En−esin⁡En−M1−ecos⁡EnE_{n+1}=E_n-\frac{E_n-e\sin E_n-M}{1-e\cos E_n}
Newton’s method for Kepler’s equation

Procedure

  1. Set M = 1.0 rad and e = 0.1 in a spreadsheet; start with E₀ = M.
  2. Fill down the Newton formula for four rows.
  3. Watch how many digits stop changing each step.
  4. Try e = 0.9 and E₀ = M: how many steps does it need now?

Data table

Step nEₙ (rad)
01.000000
11.088953
21.088598
31.088598

Computed values (M = 1.0 rad, e = 0.1).

Sample calculation

  1. f(E) = E − 0.1 sin E − 1; f′(E) = 1 − 0.1 cos E.
  2. From E₀ = 1: E₁ = 1.088953, E₂ = 1.088598, after which the first 7 digits stop changing.
  3. Check: 1.088598 − 0.1 sin(1.088598) = 1.000000.

Safety

  • None beyond normal computer use.

Home or virtual alternative

  • A spreadsheet or Desmos is enough.

OpenStax Calculus 1, 4.9 Newton’s Method

Planet link: Orbit prediction keeps Earth-observing satellites safe and their data correctly placed.

Lab C: Optimizing a wind turbine

Week 11

Goal: Confirm the Betz limit numerically and by calculus.

Cp(a)=4a(1−a)2,Cp′(a)=4(1−a)(1−3a)C_p(a)=4a(1-a)^2,\quad C_p'(a)=4(1-a)(1-3a)
Power coefficient and its derivative

Procedure

  1. Tabulate Cp for a = 0 to 0.5 in steps of 0.05 and graph it.
  2. Find the highest value in the table.
  3. Solve Cp′(a) = 0 by hand and compare.

Data table

aCp
0.200.512
0.300.588
1/30.593
0.400.576

Computed values from the model.

Sample calculation

  1. Cp(0.3) = 4 × 0.3 × 0.7² = 0.588.
  2. Cp(1/3) = 16/27 = 0.593, the maximum.
  3. Real turbines capture less because of drag, wake rotation and tip losses.

Safety

  • None beyond normal computer use.

Home or virtual alternative

  • A spreadsheet or Desmos is enough.

U.S. DOE: How do wind turbines work?

Planet link: Knowing the ceiling tells engineers how much improvement is still possible.

Lab D: Numerical integration of solar power

Week 13

Goal: Integrate a power curve with the midpoint and trapezoid rules and compare with the exact answer.

Tn=Δt2[f0+2f1+⋯+2fn−1+fn]T_n=\frac{\Delta t}2\left[f_0+2f_1+\dots+2f_{n-1}+f_n\right]
Trapezoid rule

Procedure

  1. Model P(t) = 5 sin(πt/12) kW on 0 ≤ t ≤ 12 h.
  2. With n = 6 slices (Δt = 2 h), compute the midpoint and trapezoid sums.
  3. Compare with the exact 120/π kWh. Double n and watch the errors shrink.

Data table

Method (n = 6)Energy (kWh)
Midpoint38.64
Trapezoid37.32
Exact (FTC)38.20

Model values, not data from a real array.

Sample calculation

  1. Trapezoid: 2 × [0 + 2(2.5 + 4.330 + 5 + 4.330 + 2.5)]/2 = 37.32 kWh.
  2. Midpoint: 2 × Σ P at t = 1, 3, …, 11 = 38.64 kWh.
  3. Errors: midpoint +0.44, trapezoid −0.88. The midpoint error is about half the trapezoid error, with opposite sign, as theory predicts.

Safety

  • None beyond normal computer use.

Home or virtual alternative

  • A spreadsheet or Desmos is enough.

OpenStax Calculus 1, 5.1 Approximating Areas

Planet link: This is how real, hourly energy data is added up to plan clean power and storage.

Back to top

Exam prep practice sets

Time yourself: about 10 minutes per problem. Then compare with the full solutions.

Midterm practice set (Units 1–3)

  1. Find lim (x − 4)/(√x − 2) as x → 4.

    Show full solution
    1. Multiply by √x + 2: (x − 4)(√x + 2)/(x − 4) = √x + 2.
    2. Substitute x = 4: 2 + 2.

    Answer: 4.

  2. Differentiate y = x³eˣ and evaluate at x = 1.

    Show full solution
    1. Product rule: y′ = 3x²eˣ + x³eˣ = (3x² + x³)eˣ.
    2. At x = 1: 4e.

    Answer: 4e ≈ 10.87.

  3. Find the tangent line to y = ln x at x = 1.

    Show full solution
    1. y(1) = 0, y′ = 1/x = 1.
    2. y − 0 = 1(x − 1).

    Answer: y = x − 1.

  4. Differentiate y = sin(3x²).

    Show full solution
    1. Chain rule: cos(3x²) · 6x.

    Answer: y′ = 6x cos(3x²).

Final practice set (all units)

  1. Water flows into a cylindrical tank of radius 2 m at 0.5 m³/min. How fast does the level rise?

    Show full solution
    1. V = πr²h = 4πh, so dV/dt = 4π dh/dt.
    2. dh/dt = 0.5/(4π).

    Answer: About 0.0398 m/min (4.0 cm per minute).

  2. Find ∫₁ᵉ (1/x) dx.

    Show full solution
    1. [ln x]₁ᵉ = 1 − 0.

    Answer: 1.

  3. Find ∫₀⁴ √x dx.

    Show full solution
    1. Antiderivative (2/3)x^(3/2).
    2. (2/3)(8) = 16/3.

    Answer: 16/3 ≈ 5.33.

  4. A rectangle has perimeter 40 m. What dimensions maximize its area?

    Show full solution
    1. A = x(20 − x); A′ = 20 − 2x = 0 at x = 10.

    Answer: A 10 m × 10 m square, area 100 m².

  5. Use L’Hôpital to find lim x²/eˣ as x → ∞.

    Show full solution
    1. ∞/∞: → 2x/eˣ, still ∞/∞.
    2. → 2/eˣ → 0.

    Answer: 0: exponentials outgrow any power.

Back to top

Formula sheet

f′(x)=lim⁡h→0[f(x+h)−f(x)]/hf'(x)=\lim_{h\to0}[f(x+h)-f(x)]/h
(xn)′=nxn−1(x^n)'=nx^{n-1}
(fg)′=f′g+fg′(fg)'=f'g+fg'
(f/g)′=(f′g−fg′)/g2(f/g)'=(f'g-fg')/g^2
[f(g(x))]′=f′(g(x))g′(x)[f(g(x))]'=f'(g(x))g'(x)
(ex)′=ex, (ln⁡x)′=1/x(e^x)'=e^x,\ (\ln x)'=1/x
(sin⁡x)′=cos⁡x, (cos⁡x)′=−sin⁡x, (tan⁡x)′=sec⁡2x(\sin x)'=\cos x,\ (\cos x)'=-\sin x,\ (\tan x)'=\sec^2x
L(x)=f(a)+f′(a)(x−a)L(x)=f(a)+f'(a)(x-a)
xn+1=xn−f(xn)/f′(xn)x_{n+1}=x_n-f(x_n)/f'(x_n)
f′(c)=[f(b)−f(a)]/(b−a)f'(c)=[f(b)-f(a)]/(b-a)
∫xn dx=xn+1/(n+1)+C\int x^n\,dx=x^{n+1}/(n+1)+C
∫ex dx=ex+C, ∫dx/x=ln⁡∣x∣+C\int e^x\,dx=e^x+C,\ \int dx/x=\ln|x|+C
∫sin⁡x dx=−cos⁡x+C, ∫cos⁡x dx=sin⁡x+C\int\sin x\,dx=-\cos x+C,\ \int\cos x\,dx=\sin x+C
∫abf dx=F(b)−F(a)\int_a^bf\,dx=F(b)-F(a)
ddx∫axf(t) dt=f(x)\frac{d}{dx}\int_a^xf(t)\,dt=f(x)
favg=1b−a∫abf dxf_{avg}=\frac1{b-a}\int_a^bf\,dx

Constants

ConstantValue
e2.718281828…
π3.141592654…
ln 20.693147…
1 radian57.2958°

Source: NIST: Fundamental physical constants

Back to top

Graphing and data tools

Use these free tools and data sources alongside the course.

Back to top

Glossary

Antiderivative
A function F with F′ = f.
Asymptote
A line a graph approaches far out or near a blow-up.
Chain rule
Derivative of a composition: outside′ × inside′.
Concavity
Direction a graph bends; sign of f″.
Continuity
No breaks: the limit equals the function value.
Critical point
Where f′ is zero or undefined.
Definite integral
Signed area under a curve between two limits.
Derivative
Instantaneous rate of change; slope of the tangent line.
Differential
dy = f′(x) dx.
Fundamental Theorem of Calculus
Links derivatives and integrals; ∫ₐᵇ f = F(b) − F(a).
Indeterminate form
0/0 or ∞/∞; needs more work.
Inflection point
Where concavity changes.
Limit
The value a function approaches.
Linear approximation
Tangent-line estimate.
Mean Value Theorem
Instantaneous rate equals average rate somewhere.
Newton’s method
Iterative root finder using tangent lines.
Optimization
Finding the best value of a quantity under constraints.
Riemann sum
Sum of rectangle areas approximating an integral.
Substitution
Integration technique reversing the chain rule.
Trapezoid rule
Numerical integration with trapezoids.

Back to top

Self-assessment rubric

No grade or credit is given. Use this to judge honestly where you are in each unit.

LevelWhat it looks like
4 · MasterySolves unseen problems, justifies each step with a rule or theorem, and checks answers with a graph or estimate.
3 · ProficientSolves the practice problems correctly with occasional algebra slips.
2 · DevelopingFollows worked examples but struggles to choose a method, or misapplies the chain rule.
1 · BeginningMemorizes formulas without knowing when they apply; needs to revisit the unit.

Suggested weighting if you want a score

PartWeight
Practice problems30%
Computer labs15%
Midterm practice set25%
Final practice set30%

Aim for level 3 or better in every unit before moving to the next course.

Back to top

Help / Donate