A536 of 56
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

A5 · Lesson 36 · Antiderivatives

Running a derivative backwards

You know the voltage across an inductor, and the inductor's law tells you the rate of change of its current: di/dt=v/L. To get the current itself, you have to run the derivative backwards. That's finding an antiderivative. And since adding any constant leaves a derivative unchanged, the answer isn't fixed until you know one value, usually the current at t=0. Charge from current, velocity from acceleration, angle from angular speed: all the same problem.

  • The curves are antiderivatives of f(x)=2x: the family x2+C.
  • Change C. Do the slopes at any x change?
  • Pick the curve that passes through the marked point (1,3).

Predict

The current in a 2 H inductor is 1 A at t=0, and a constant 6 V is applied. What is the current at t=2 s?

Name it

Antiderivatives

F is an antiderivative of f if F′=f. Since constants differentiate to zero, all antiderivatives of f are F+C (lesson 28 proved there are no others). The family is written

∫f(x)dx=F(x)+C

the indefinite integral.

A table to know

Read each line of the derivative table backwards:

f(x)∫fdx
xn (n≠−1)xn+1n+1+C
1xln⁡|x|+C
ekx1kekx+C
sin⁡kx−1kcos⁡kx+C
cos⁡kx1ksin⁡kx+C

and integrals of sums and constant multiples work term by term. Check any antiderivative by differentiating it.

Initial value problems

Given dydt=f(t) and y(0)=y0: integrate to get y=F(t)+C, then choose C so that y(0)=y0. In circuits:

q(t)=q(0)+∫0tidtiL(t)=iL(0)+1L∫0tvLdtvC(t)=vC(0)+1C∫0tiCdt

The initial values are the continuous quantities from lesson 6: a capacitor's voltage and an inductor's current, which carry over from before a switch.

Constant inputs give ramps

A constant voltage across an inductor makes its current ramp linearly; a constant current into a capacitor makes its voltage ramp. Integrating a constant gives a straight line, which is how integrator circuits and ramp generators work.

Worked example

Find y if y′=3x2−4x+1 and y(1)=5.

Show the solution
  1. Antidifferentiate. y=x3−2x2+x+C
  2. Use y(1)=5. 1−2+1+C=5 so C=5, and y=x3−2x2+x+5.
  3. Check. y′=3x2−4x+1 ✓ and y(1)=5 ✓.

Answer y=x3−2x2+x+5.

Worked example

A 10 µF capacitor starts at 2 V. A current i=5cos⁡(100t) mA flows into it. Find its voltage.

Show the solution
  1. Rate of change of the voltage. dvdt=iC=0.00510−5cos⁡(100t)=500cos⁡(100t)V/s
  2. Integrate. v=5sin⁡(100t)+C
  3. Use the starting voltage. At t=0, v=2, so C=2: v(t)=2+5sin⁡(100t)volts
  4. What it means. The capacitor's voltage swings ±5 V around its starting 2 V, lagging the current by a quarter cycle, as A3 said it should.

Answer v(t)=2+5sin⁡(100t) volts.

Worked example

A 2 mH inductor has v=5sin⁡(1000t) V across it, and its current starts at zero. Find the current.

Show the solution
  1. Integrate the voltage. i=1L∫vdt=50.002∫sin⁡(1000t)dt=−50.002×1000cos⁡(1000t)+C=−2.5cos⁡(1000t)+C
  2. Use the starting current. i(0)=0 gives C=2.5, so i=2.5(1−cos⁡1000t)A
  3. What it means. The current swings between 0 and 5 A, never negative: the starting condition sets a DC offset.

Answer i=2.5(1−cos⁡1000t) A, swinging between 0 and 5 A.

Check

Find the antiderivative of 2x2+4x+7 that is zero at x=0.

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Check

A constant 3 V is applied across a 0.5 H inductor carrying 1 A at t=0. What is its current at t = 2 s?

Write units the way you normally would: 1.5 A, 1500 mA and 0.0015 kA are the same answer.

Check

A 10 µF capacitor starts at 3 V, and i=1cos⁡(1000t) mA flows into it. What is the largest voltage it reaches?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

Check

Find C so that y=13e3x+C has y(0)=23.

Check

Find the antiderivative of sin⁡(4x) with constant zero.

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Check

y′=2x2−1 with y(0)=5.

(a)

What is y(1)?

(b)

What is y(2)?

(c)

Separately, what is ∫01sin⁡(2t)dt?

Check

An inductor has v=Vsin⁡ωt across it and i(0)=0. Find i(t) from i=1L∫vdt.

Step 1

Write an antiderivative of VLsin⁡ωt (with no constant).

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

Why does every indefinite integral carry a "+ C", and what fixes C in a circuit problem?

Practice

Keep practicing

9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.