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

A5 · Lesson 48 · Area and net change

Total, net and in-between

A battery is charged with a current that sometimes reverses: regenerative braking pushes charge in, acceleration pulls it out. The integral of the current gives the net change in stored charge. The integral of its absolute value gives the total charge that moved, which is what wears the battery. And the area between two curves, like a supply's ripple between its upper and lower envelopes or the gap between a signal and its filtered version, is the integral of their difference.

  • The curves are f(x)=2sin⁡x and g(x)=sin⁡(2x) on [0,π].
  • The readouts show ∫f, ∫g, and the area between them. Why is ∫0πg=0 even though g is far from zero?

Predict

A current is +3 A for 2 s, then −1 A for 4 s. What net charge was delivered, and how much charge moved in total?

Name it

Net change

The integral of a rate is the net change of the quantity:

∫abF′(t)dt=F(b)−F(a)
  • current integrates to net charge: ∫idt=Δq;
  • power integrates to energy: ∫pdt=ΔE;
  • velocity integrates to displacement (not distance).

Total, not net

To count every bit regardless of direction, integrate the absolute value. In practice: find where the integrand changes sign, split the interval there, and add the sizes:

∫02π|sin⁡t|dt=∫0πsin⁡tdt−∫π2πsin⁡tdt=2+2=4

Area between curves

If f≥g on [a,b], the area between them is

∫ab(f(x)−g(x))dx

If they cross, split at the crossings and use |f−g|. To find the crossings, solve f(x)=g(x).

Average value

The average of f over [a,b] is the height of the rectangle with the same area:

f¯=1b−a∫abf(x)dx

Lesson 51 uses this for the DC and RMS values of waveforms.

Worked example

Find the area between y=x and y=x2.

Show the solution
  1. Find the crossings. x=x2 at x=0 and x=1.
  2. See which is on top. Between them, x≥x2.
  3. Integrate. ∫01(x−x2)dx=12−13=16

Answer the area is 16.

Worked example

A capacitor's current is i(t)=2cos⁡(t) mA for 0≤t≤π (time in ms). Find the net charge and the total charge moved.

Show the solution
  1. Net charge. ∫0π2cos⁡tdt=2sin⁡t|0π=0μC (mA × ms = µC). The capacitor ends where it started.
  2. Split where the current changes sign. It changes sign at t=π/2: ∫0π/22cos⁡tdt=2 ∫π/2π2cos⁡tdt=−2
  3. Total charge. Add the sizes of the two pieces: the total is 4 µC.

Answer the net charge is 0, and the total charge moved is 4 µC.

Worked example

Find the area between y=sin⁡x and y=cos⁡x from 0 to π/2.

Show the solution
  1. Find the crossing. They cross at π/4. Before it, cos⁡x is on top; after it, sin⁡x is.
  2. Split the integral. A=∫0π/4(cos⁡x−sin⁡x)dx+∫π/4π/2(sin⁡x−cos⁡x)dx=(2−1)+(2−1)=0.828
  3. Why split. Integrating cos⁡x−sin⁡x straight across would give 0, since the two pieces cancel. Area needs the top curve minus the bottom one on each piece.

Answer the area is 0.828.

Check

A current is +3 A for 2 s, then −2 A for 6 s. What net charge, in coulombs, was delivered?

Write units the way you normally would: 1.5 C, 1500 mC and 0.0015 kC are the same answer.

Check

Same current: +3 A for 2 s, then −2 A for 6 s. How much charge moved in total?

Check

Find the area between y=x and y=x2+1 on [0,1].

Check

What is ∫02π|3sin⁡t|dt?

Check

What is the average value of f(x)=2x+1 over [0,1]?

Check

Compare y=2x and y=x2.

(a)

What is the area between them on [0,2], where the line is on top?

(b)

What is ∫022(2x−x2)dx?

(c)

What is the total area between the curves on [0,22]?

Check

Find the area between y=kx and y=x2.

Step 1

Where do they cross, other than 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°.

Explain why

A battery's charging current reverses direction at times. Why might an engineer want both ∫idt and ∫|i|dt?

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.