Calculus I · Antiderivatives and accumulation
Review polynomial, exponential, and trigonometric derivatives, the Mean Value Theorem, and units of rate. By the end, recover a function from its derivative, use one initial value to select a solution, and explain how negative rates affect accumulated change.
Review derivatives of common functions
Recovering a function from a rate
F is an antiderivative of f on an interval if F′(x) = f(x) throughout that interval. If F and G have the same derivative, (F−G)′ = 0. The Mean Value Theorem on any two points in the interval then gives F−G constant. Thus all antiderivatives there are F+C. On disconnected domains each interval can have its own constant. The notation ∫f(x) dx denotes this family.
Rules, domains, and checking
- Reverse the power rule: for n ≠ −1, an antiderivative of xⁿ is x^(n+1)/(n+1), on an interval where these real powers are differentiable. With noninteger powers, x > 0 is a safe working domain. At n = −1, use ln|x| on an interval avoiding zero.
- Integrate sums term by term and keep constant factors. Examples are ∫eˣ dx = eˣ+C, ∫cos x dx = sin x+C, and ∫sin x dx = −cos x+C. Trigonometric inputs use radians.
- Check every answer by differentiating. For example an antiderivative of e^(−2x) is −e^(−2x)/2 because its derivative is e^(−2x). An initial condition fixes the constant and its physical units.
- t = 0 s: q = 1 C; current 2 A
- t = 2 s: q = 3 C; current zero; maximum charge
- t = 4 s: q = 1 C; current −2 A; charge has returned
Worked examples
- Find all antiderivatives of 6x²−4x+3. Reverse each power to obtain 2x³−2x²+3x+C. Differentiating recovers 6x²−4x+3 for every real x.
- A signed charge coordinate satisfies q′(t) = 2−t A and q(0) = 1 C. Here t is numerical time in seconds. Antidifferentiation gives q = 2t−t²/2+C; the initial value gives C = 1 C. At 4 s the net change is q(4)−q(0) = 0 C. Charge first rises by 2 C, then falls by 2 C. Its total variation over this interval is 4 C.
- For v′(t) = 4e^(−2t) V/s and v(0) = 0 V, choose v(t) = −2e^(−2t)+C. Substitution at zero gives C = 2 V. Hence v(t) = 2(1−e^(−2t)) V. Its derivative is positive, so voltage rises toward 2 V.
Common mistakes
Keep the integration constant until an initial value determines it. The power rule excludes 1/x. Distinguish net change q(b)−q(a) from total variation, which adds the magnitudes of changes between turning points. A current multiplied by a time interval has charge units: A·s = C.
Practice
- Find all antiderivatives of 3x²−2 cos x.
- Find F with F′ = 1/x and F(1) = 2 on x > 0.
- For i = 2−t and q(0) = 1, find q(3), net change to 3 s, and total variation.
Worked solutions
- Integrate termwise: x³−2 sin x+C. Its derivative is the given expression.
- F = ln x+C. Since ln 1 = 0, C = 2, giving ln x+2.
- q(3) = 1+6−9/2 = 2.5 C, so net change is 1.5 C. Split at t = 2: the rise is 2 C and fall 0.5 C, giving 2.5 C total variation.
Assessment · Open book · 16 points
Open book: use books, lesson notes, cited readings, calculators, and relevant free software. Explain your own reasoning, assumptions, units, and checks; identify references or software you use. Attempt the questions before opening the answer key. Suggested study time: 40–60 minutes; this is a self-study guide, not a timed restriction.
- Solve y′ = 4x−3 with y(1) = 5 and check by differentiation. (4)
- For q′ = 6−2t A, q(0) = 2 C, find q(4), net change, and total variation on [0,4] s. (6)
Application and reasoning · 6 points
Charge satisfies q′(t)=a−2t A, q(0)=1 C, and q(2)=5 C. Identify a (2). On [0,3] s find net charge change and total absolute accumulation (2). Locate the maximum charge and justify why net and absolute changes differ (2).
Complete answer key and scoring rubric
- y = 2x²−3x+C (1); substitute 1 to get C = 6 (2); differentiate to recover 4x−3 (1).
- q = 2+6t−t² (2). q(4) = 10 C and net change 8 C (2). The turn is at 3 s, where q = 11 C. Total variation is (11−2)+(11−10) = 10 C (2).
Application and reasoning · 6 points
q=1+at−t²; 5=1+2a−4 gives a=4 A (1 each). q(3)=4, net=3 C; the turn at 2 has q=5, giving absolute accumulation (5−1)+(5−4)=5 C (1 each). q′ changes + to − at 2, giving maximum 5 C (1); reverse flow subtracts from net but adds to absolute accumulation (1).
Scoring: existing questions 10 + application problem 6 = 16 points. Award the stated method and reasoning marks, not only final answers.
Download the lab
Install free Python 3 for Windows, macOS, or Linux. Run the commands from the download folder; on Windows try py -3 if python3 is unavailable. The arguments are final time in seconds and number of equal time steps. No packages or account are needed. Compare a left-endpoint current sum with q(T)−q(0) for i(t)=2−t. Predict how the signed error changes as the number of steps doubles.
python3 ee-antiderivatives.py 4 4
python3 ee-antiderivatives.py 4 8
python3 ee-antiderivatives.py 3 100
Free readings and software
- OpenStax Calculus §4.10 · Antiderivatives and initial values
- OpenStax Physics §9.1 · Electrical current
- Python Software Foundation · Python 3
Charge lab · Accumulate sampled current
Compare a sampled current sum with the exact change of its antiderivative.
Free tool built into this page. Use it in your browser without an account or download.
Procedure
Use final time 4 s with 4 and 8 steps, then 3 s with 100 steps. Predict the net changes before running. Compare signed errors. Why does a net change of zero at 4 s not mean no current flowed?
Expected results and answer check
At 4 s the exact change is zero: the rise and fall cancel. The left sums are 2 C with 4 steps and 1 C with 8 steps. At 3 s and 100 steps the sum is 1.545 C, exact change 1.5 C, error 0.045 C. For this linear rate the error is T²/(2n), so doubling n halves it.
The lab samples an exact linear current model and omits sensor noise and hardware limits. It prepares for definite integrals; a finite sum alone does not prove the limiting accumulation rule.