
Calculus is a branch of mathematics that originated with scientific questions concerning rates of change. The easiest rates of change for most people to understand are those dealing with time. For example, a student watching their savings account dwindle over time as they pay for tuition and other expenses is very concerned with rates of change (dollars per year being spent).
In calculus, we have a special word to describe rates of change: derivative. One of the notations used to express a derivative (rate of change) appears as a fraction. For example, if the variable S represents the amount of money in the student’s savings account and t represents time, the rate of change of dollars over time would be written like this:

The following set of figures puts actual numbers to this hypothetical scenario:
List some of the equations you have seen in your study of electronics containing derivatives, and explain how rate of change relates to the reallife phenomena described by those equations.
Voltage and current for a capacitor:

Voltage and current for an inductor:

Electromagnetic induction:

I leave it to you to describe how the rateofchange over time of one variable relates to the other variables in each of the scenarios described by these equations.
Followup question: why is the derivative quantity in the student’s savings account example expressed as a negative number? What would a positive [dS/dt] represent in real life?
Challenge question: describe actual circuits you could build to demonstrate each of these equations, so that others could see what it means for one variable’s rateofchange over time to affect another variable.
The purpose of this question is to introduce the concept of the derivative to students in ways that are familiar to them. Hopefully the opening scenario of a dwindling savings account is something they can relate to!
A very important aspect of this question is the discussion it will engender between you and your students regarding the relationship between rates of change in the three equations given in the answer. It is very important to your students’ comprehension of this concept to be able to verbally describe how the derivative works in each of these formulae. You may want to have them phrase their responses in realistic terms, as if they were describing how to set up an illustrative experiment for a classroom demonstration.
How does the rate of charge flow (current) into and out of a capacitor relate to the amount of voltage across its terminals? How does the rate of water flow into and out of a vessel relate to the amount of water stored in that vessel?

Rather than simply give you an answer here, I’ll let you figure this out for yourself. Think very carefully about the waterinavessel analogy when answering this question! Fill a glass with water, if necessary, to gain an intuitive understanding of these quantities.
The existence of such an appropriate analogy for capacitor action makes an explanation unnecessary, even if the concept takes a bit of thought to comprehend at first. It is important that students clearly distinguish the quantities of current, voltage, and charge in a capacitor circuit just as they clearly distinguish the quantities of liquid height, flow rate, and liquid volume in a hydraulic system.
∫f(x) dx Calculus alert! 
According to the “Ohm’s Law” formula for a capacitor, capacitor current is proportional to the timederivative of capacitor voltage:

Another way of saying this is to state that the capacitors differentiate voltage with respect to time, and express this timederivative of voltage as a current.
Suppose we had an oscilloscope capable of directly measuring current, or at least a currenttovoltage converter that we could attach to one of the probe inputs to allow direct measurement of current on one channel. With such an instrument setup, we could directly plot capacitor voltage and capacitor current together on the same display:

For each of the following voltage waveforms (channel B), plot the corresponding capacitor current waveform (channel A) as it would appear on the oscilloscope screen:



Note: the amplitude of your current plots is arbitrary. What I’m interested in here is the shape of each current waveform!



Followup question: what electronic device could perform the function of a “currenttovoltage converter” so we could use an oscilloscope to measure capacitor current? Be as specific as you can in your answer.
Here, I ask students to relate the instantaneous rateofchange of the voltage waveform to the instantaneous amplitude of the current waveform. Just a conceptual exercise in derivatives.
∫f(x) dx Calculus alert! 
According to the “Ohm’s Law” formula for a capacitor, capacitor current is proportional to the timederivative of capacitor voltage:

Another way of saying this is to state that the capacitors differentiate voltage with respect to time, and express this timederivative of voltage as a current.
We may build a simple circuit to produce an output voltage proportional to the current through a capacitor, like this:

The resistor is called a shunt because it is designed to produce a voltage proportional to current, for the purpose of a parallel (“shunt”)connected voltmeter or oscilloscope to measure that current. Ideally, the shunt resistor is there only to help us measure current, and not to impede current through the capacitor. In other words, its value in ohms should be very small compared to the reactance of the capacitor (R_{shunt} <
< X_{C).}
Suppose that we connect AC voltage sources with the following waveshapes to the input of this passive differentiator circuit. Sketch the ideal (timederivative) output waveform shape on each oscilloscope screen, as well as the shape of the actual circuit’s output voltage (which will be nonideal, of course):



Note: the amplitude of your plots is arbitrary. What I’m interested in here is the shape of the ideal and actual output voltage waveforms!
Hint: I strongly recommend building this circuit and testing it with triangle, sine, and squarewave input voltage signals to obtain the corresponding actual output voltage waveshapes!



Followup question: given that R_{shunt} <
< X_{C in order that the resistance does not impede the capacitor current to any significant extent, what does this suggest about the necessary timeconstant (τ) of a passive differentiator circuit? In other words, what values of R and C would work best in such a circuit to produce an output waveform that is as close to ideal as possible?}
This question really is best answered by experimentation. I recommend having a signal generator and oscilloscope onhand in the classroom to demonstrate the operation of this passive differentiator circuit. Challenge students with setting up the equipment and operating it!
Generally speaking, how many “time constants” worth of time does it take for the voltage and current to “settle” into their final values in an RC or LR circuit, from the time the switch is closed?

If you said, “five time constants’ worth” (5 τ), you might not be thinking deeply enough! In actuality, the voltage and current in such a circuit never finally reach stable values, because their approach is asymptotic.
However, after 5 time constants’ worth of time, the variables in an RC or LR circuit will have settled to within 0.6% of their final values, which is good enough for most people to call “final.”
The stock answer of “5 time constants” as the amount of time elapsed between the transient event and the “final” settling of voltage and current values is widespread, but largely misunderstood. I’ve encountered more than a few graduates of electronics programs who actually believe there is something special about the number 5, as though everything grinds to a halt at exactly 5 time constants worth of time after the switch closes.
In reality, the rule of thumb of “5 time constants” as a settling time in RC and LR circuits is an approximation only. Somewhere I recall reading an old textbook that specified ten time constants as the time required for all the variables to reach their final values. Another old book declared seven time constants. I think we’re getting impatient as the years roll on!
Suppose a fellow electronics technician approaches you with a design problem. He needs a simple circuit that outputs brief pulses of voltage every time a switch is actuated, so that a computer receives a single pulse signal every time the switch is actuated, rather than a continuous “on” signal for as long as the switch is actuated:

The technician suggests you build a passive differentiator circuit for his application. You have never heard of this circuit before, but you probably know where you can research to find out what it is! He tells you it is perfectly okay if the circuit generates negative voltage pulses when the switch is deactuated: all he cares about is a single positive voltage pulse to the computer each time the switch actuates. Also, the pulse needs to be very short: no longer than 2 milliseconds in duration.
Given this information, draw a schematic diagram for a practical passive differentiator circuit within the dotted lines, complete with component values.

Did you really think I would give you the component values, too? I can’t make it too easy for you!
Challenge question: An alternative design to the differentiator circuit shown above is this:

This circuit would certainly work to create brief pulses of voltage to the computer input, but it would also likely destroy the computer’s input circuitry after a few switch actuations! Explain why.
The behavior of a differentiator circuit may be confusing to students with exposure to calculus, because the output of such a circuit is not strictly related to the rate of change of the input voltage over time. However, if the time constant of the circuit is short in comparison to the period of the input signal, the result is close enough for many applications.
Plot the output waveform of a passive differentiator circuit, assuming the input is a symmetrical square wave and the circuit’s RC time constant is about onefifth of the square wave’s pulse width:



Followup question #1: what would we have to change in this passive differentiator circuit to make the output more closely resemble ideal differentiation?
Followup question #2: explain how it is possible that the differentiator’s output waveform has a greater peak amplitude than the input (square) waveform.
Ask students to contrast the behavior of this passive differentiator circuit against that of a perfect differentiator (with τ = 0). What should the derivative plot of a square wave look like?
∫f(x) dx Calculus alert! 
Potentiometers are very useful devices in the field of robotics, because they allow us to represent the position of a machine part in terms of a voltage. In this particular case, a potentiometer mechanically linked to the joint of a robotic arm represents that arm’s angular position by outputting a corresponding voltage signal:

As the robotic arm rotates up and down, the potentiometer wire moves along the resistive strip inside, producing a voltage directly proportional to the arm’s position. A voltmeter connected between the potentiometer wiper and ground will then indicate arm position. A computer with an analog input port connected to the same points will be able to measure, record, and (if also connected to the arm’s motor drive circuits) control the arm’s position.
If we connect the potentiometer’s output to a differentiator circuit, we will obtain another signal representing something else about the robotic arm’s action. What physical variable does the differentiator output signal represent?

The differentiator circuit’s output signal represents the angular velocity of the robotic arm, according to the following equation:

Where,
v = velocity
x = position
t = time
Followup question: what type of signal will we obtain if we differentiate the position signal twice (i.e. connect the output of the first differentiator circuit to the input of a second differentiator circuit)?
This question asks students to relate the concept of timedifferentiation to physical motion, as well as giving them a very practical example of how a passive differentiator circuit could be used. In reality, one must be very careful to use differentiator circuits for realworld signals because differentiators tend to amplify highfrequency noise. Since realworld signals are often “noisy,” this leads to a lot of noise in the differentiated signals.

One of the fundamental principles of calculus is a process called integration. This principle is important to understand because it is manifested in the behavior of capacitance. Thankfully, there are more familiar physical systems which also manifest the process of integration, making it easier to comprehend.
If we introduce a constant flow of water into a cylindrical tank with water, the water level inside that tank will rise at a constant rate over time:

In calculus terms, we would say that the tank integrates water flow into water height. That is, one quantity (flow) dictates the rateofchange over time of another quantity (height).
Like the water tank, electrical capacitance also exhibits the phenomenon of integration with respect to time. Which electrical quantity (voltage or current) dictates the rateofchange over time of which other quantity (voltage or current) in a capacitance? Or, to rephrase the question, which quantity (voltage or current), when maintained at a constant value, results in which other quantity (current or voltage) steadily ramping either up or down over time?
In a capacitance, voltage is the timeintegral of current. That is, the applied current “through” the capacitor dictates the rateofchange of voltage across the capacitor over time.
Challenge question: can you think of a way we could exploit the similarity of capacitive voltage/current integration to simulate the behavior of a water tank’s filling, or any other physical process described by the same mathematical relationship?
The concept of integration doesn’t have to be overwhelmingly complex. Electrical phenomena such as capacitance and inductance may serve as excellent contexts in which students may explore and comprehend the abstract principles of calculus. The amount of time you choose to devote to a discussion of this question will depend on how mathematically adept your students are.
Hopefully, the challenge question will stir your students’ imaginations, as they realize the usefulness of electrical components as analogues for other types of physical systems.

One of the fundamental principles of calculus is a process called integration. This principle is important to understand because it is manifested in the behavior of inductance. Thankfully, there are more familiar physical systems which also manifest the process of integration, making it easier to comprehend.
If we introduce a constant flow of water into a cylindrical tank with water, the water level inside that tank will rise at a constant rate over time:

In calculus terms, we would say that the tank integrates water flow into water height. That is, one quantity (flow) dictates the rateofchange over time of another quantity (height).
Like the water tank, electrical inductance also exhibits the phenomenon of integration with respect to time. Which electrical quantity (voltage or current) dictates the rateofchange over time of which other quantity (voltage or current) in an inductance? Or, to rephrase the question, which quantity (voltage or current), when maintained at a constant value, results in which other quantity (current or voltage) steadily ramping either up or down over time?
In an inductance, current is the timeintegral of voltage. That is, the applied voltage across the inductor dictates the rateofchange of current through the inductor over time.
Challenge question: can you think of a way we could exploit the similarity of inductive voltage/current integration to simulate the behavior of a water tank’s filling, or any other physical process described by the same mathematical relationship?
The concept of integration doesn’t have to be overwhelmingly complex. Electrical phenomena such as capacitance and inductance may serve as excellent contexts in which students may explore and comprehend the abstract principles of calculus. The amount of time you choose to devote to a discussion of this question will depend on how mathematically adept your students are.
Describe what happens to the capacitor voltage in this circuit over time as it is charged by the constantcurrent source:

Now, determine the ideal values for V and R that will result in similar behavior in a capacitor circuit powered by a voltage source rather than a current source:

Your answers will, of course, be qualitative rather than quantitative. Explain whether or not the time constant for the voltagesourcepowered circuit ought to be large or small, and why.
Both V and R should be extremely large values in order to mimic the behavior of a current source.
In this question, I ask students to identify the behavior of a true integrator circuit, and then contrast it with the behavior of what is more accurately known as a firstorder lag circuit (the RC circuit powered by the voltage source). Of course, the two circuits do not behave the same, but through judicious choices of V and C, one can make the “lag” circuit closely mimic the true integrator circuit over a practical range of capacitor voltage.
It is relatively easy to design and build an electronic circuit to make squarewave voltage signals. More difficult to engineer is a circuit that directly generates trianglewave signals. A common approach in electronic design when triangle waves are needed for an application is to connect a passive integrator circuit to the output of a squarewave oscillator, like this:

Anyone familiar with RC circuits will realize, however, that a passive integrator will not output a true triangle wave, but rather it will output a waveshape with “rounded” leading and trailing edges:

What can be done with the values of R and C to best approximate a true triangle wave? What variable must be compromised to achieve the most linear edges on the integrator output waveform? Explain why this is so.
Maximum values of R and C will best approximate a true triangle wave. The consequences of choosing extremely large values for R and/or C are not difficult to determine  I leave that for you to explain!
This question asks students to recognize conflicting design needs, and to balance one need against another. Very practical skills here, as reallife applications almost always demand some form of practical compromise in the design stage.
If students cannot figure out what must be sacrificed to achieve waveshape linearity, tell them to build such a circuit and see for themselves!
Design a passive integrator circuit using a resistor and inductor rather than a resistor and capacitor:


In addition to completing the inductor circuit schematic, qualitatively state the preferred values of L and R to achieve an output waveform most resembling a true triangle wave. In other words, are we looking for a large or small inductor; a large or small resistor?

For maximum “trianglelike” waveshape, choose a large value for L and a small value for R.
Followup question: explain how the choices of values for L and R follow the same reasoning as the choices for R and C in an RC passive integrator circuit.
Explain to your students that although LR integrator circuits are possible, they are almost never used. RC circuits are much more practical. Ask them to determine why this is!
When you look at the schematic diagram for a passive integrator circuit, it ought to remind you of another type of circuit you’ve seen before: a passive filter circuit:

What specific type of passive filter does a passive integrator circuit resemble? Is the resemblance the same for LR integrators as well, or just RC integrators? What does this resemblance tell you about the frequency response of a passive integrator circuit?
The answer to this question is so easy for you to research, it would be an insult to print it here!
This question is fairly easy, and provides a logical step to prepare students for frequencydomain analysis of passive integrator circuits.
A “cheap” way to electronically produce waveforms resembling sine waves is to use a pair of passive integrator circuits, one to convert square waves into pseudotriangle waves, and the next to convert pseudotriangle waves into pseudosine waves:

From Fourier’s theory, we know that a square wave is nothing more than a series of sinusoidal waveforms: the fundamental frequency plus all odd harmonics at diminishing amplitudes. Looking at the two integrators as passive filter circuits, explain how it is possible to get a pseudosine wave from a square wave input as shown in the above diagram. Also, explain why the final output is not a true sine wave, but only resembles a sine wave.
These two integrators act as a secondorder lowpass filter, attenuating the harmonics in the square wave far more than the fundamental.
Challenge question: does the output waveshape more closely resemble a sine wave when the source frequency is increased or decreased?
Once students have a conceptual grasp on Fourier theory (that nonsinusoidal waveshapes are nothing more than series of superimposed sinusoids, all harmonically related), they possess a powerful tool for understanding new circuits such as this. Of course, it is possible to understand a circuit such as this from the perspective of the time domain, but being able to look at it from the perspective of the frequency domain provides one more layer of insight.
Incidentally, one may experiment with such a circuit using 0.47 μF capacitors, 1 kΩ resistors, and a fundamental frequency of about 3 kHz. Viewing the output waveform amplitudes with an oscilloscope is insightful, especially with regard to signal amplitude!
Complete the following sentences with one of these phrases: “shorter than,” “longer than,” or “equal to”. Then, explain why the time constant of each circuit type must be so.
Passive integrators need to have slow time constants, while passive differentiators need to have fast time constants, in order to reasonably integrate and differentiate.
If students don’t understand why this is, let them work through an example problem, to see what the output waveform(s) would look like for various periods and time constants. Remember to stress what an ideal integrator or differentiator is supposed to do!
∫f(x) dx Calculus alert! 
Both the input and the output of this circuit are square waves, although the output waveform is slightly distorted and also has much less amplitude:

You recognize one of the RC networks as a passive integrator, and the other as a passive differentiator. What does the likeness of the output waveform compared to the input waveform indicate to you about differentiation and integration as functions applied to waveforms?
Differentiation and integration are mathematically inverse functions of one another. With regard to waveshape, either function is reversible by subsequently applying the other function.
Followup question: this circuit will not work as shown if both R values are the same, and both C values are the same as well. Explain why, and also describe what value(s) would have to be different to allow the original squarewaveshape to be recovered at the final output terminals.
That integration and differentiation are inverse functions will probably be obvious already to your more mathematically inclined students. To others, it may be a revelation.
If time permits, you might want to elaborate on the limits of this complementarity. As anyone with calculus background knows, integration introduces an arbitrary constant of integration. So, if the integrator stage follows the differentiator stage, there may be a DC bias added to the output that is not present in the input (or visaversa!).

In a circuit such as this where integration precedes differentiation, ideally there is no DC bias (constant) loss:

However, since these are actually firstorder “lag” and “lead” networks rather than true integration and differentiation stages, respectively, a DC bias applied to the input will not be faithfully reproduced on the output. Whereas a true integrator would take a DC bias input and produce an output with a linearly ramping bias, a passive integrator will assume an output bias equal to the input bias.^{}
Incidentally, the following values work well for a demonstration circuit:Therefore, the subsequent differentiation stage, perfect or not, has no slope to differentiate, and thus there will be no DC bias on the output.

If this is not apparent to you, I suggest performing Superposition analysis on a passive integrator (consider AC, then consider DC separately), and verify that V_{DC(out)} = V_{DC(in)}. A passive differentiator circuit would have to possess an infinite time constant (τ = ∞) in order to generate this ramping output bias
!
∫f(x) dx Calculus alert! 
Determine what the response will be to a constant DC voltage applied at the input of these (ideal) circuits:


Ask your students to frame their answers in a practical context, such as speed and distance for a moving object (where speed is the timederivative of distance and distance is the timeintegral of speed).
∫f(x) dx Calculus alert! 
In calculus, differentiation is the inverse operation of something else called integration. That is to say, differentiation “undoes” integration to arrive back at the original function (or signal). To illustrate this electronically, we may connect a differentiator circuit to the output of an integrator circuit and (ideally) get the exact same signal out that we put in:

Based on what you know about differentiation and differentiator circuits, what must the signal look like in between the integrator and differentiator circuits to produce a final squarewave output? In other words, if we were to connect an oscilloscope in between these two circuits, what sort of signal would it show us?


Followup question: what do the schematic diagrams of passive integrator and differentiator circuits look like? How are they similar to one another and how do they differ?
This question introduces students to the concept of integration, following their prior familiarity with differentiation. Since they should already be familiar with other examples of inverse mathematical functions (arcfunctions in trigonometry, logs and powers, squares and roots, etc.), this should not be too much of a stretch. The fact that we may show them the cancellation of integration with differentiation should be proof enough.
In case you wish to demonstrate this principle “live” in the classroom, I suggest you bring a signal generator and oscilloscope to the class, and build the following circuit on a breadboard:

The output is not a perfect square wave, given the loading effects of the differentiator circuit on the integrator circuit, and also the imperfections of each operation (being passive rather than active integrator and differentiator circuits). However, the waveshapes are clear enough to illustrate the basic concept.
When a circuit designer needs a circuit to provide a time delay, he or she almost always chooses an RC circuit instead of an LR circuit. Explain why this is.
Capacitors are generally cheaper and easier to work with than inductors for making time delay circuits.
The answer given here is purposely minimal. You should ask your students to give responses more thoughtful than this! Ask them why capacitors are cheaper than inductors. Ask them to explain what is meant by “easier to work with,” in technical terms.
An LR differentiator circuit is used to convert a triangle wave into a square wave. One day after years of proper operation, the circuit fails. Instead of outputting a square wave, it outputs a triangle wave, just the same as the waveform measured at the circuit’s input. Determine what the most likely component failure is in the circuit.
The inductor is failed open.
Followup question: this is not the only possible failure, but it is the most likely. Explain what the other failure(s) could be, and also why the one given here is most likely.
There are only two components in this circuit, so determining possible failures should not be a problem at all. To distinguish between the inductor having failed versus the resistor having failed, one needs to know which type of component failures are more likely (and why!).
Calculate the output voltage of this passive differentiator circuit 1 millisecond after the rising edge of each positive square wave pulse (where the square wave transitions from 5 volts to 5 volts):

V_{out} = 2.82 volts @ 1 ms after rising edge
This question is nothing more than an exercise in timeconstant circuit calculations: determining how far the output voltage has decayed from its peak of 10 volts after 1 millisecond. Ask your students to share their techniques for problemsolving with the whole class.
Calculate the output voltage of this passive differentiator circuit 150 microseconds after the rising edge of each “clock” pulse (where the square wave transitions from 0 volts to 5 volts):

V_{out} = 1.172 volts @ 150 μs after rising edge
This question is nothing more than an exercise in timeconstant circuit calculations: determining how far the output voltage has decayed from its peak of 5 volts after 150 μs. Ask your students to share their techniques for problemsolving with the whole class.
A passive differentiator is used to “shorten” the pulse width of a square wave by sending the differentiated signal to a “level detector” circuit, which outputs a “high” signal ( 5 volts) whenever the input exceeds 3.5 volts and a “low” signal (0 volts) whenever the input drops below 3.5 volts:

Each time the differentiator’s output voltage signal spikes up to 5 volts and quickly decays to 0 volts, it causes the level detector circuit to output a narrow voltage pulse, which is what we want.
Calculate how wide this final output pulse will be if the input (square wave) frequency is 2.5 kHz.
t_{pulse} = 11.77 μs
This question requires students to calculate a length of time in an RC circuit, given specific voltage levels and component values. It is a very practical question, as it may be necessary to build or troubleshoot such a circuit some day!
A passive integrator circuit is energized by a square wave signal with a peaktopeak amplitude of 12 volts and a frequency of 65.79 Hz:

Determine the peaktopeak voltage of the output waveform:

Hint: the output waveform will be centered exactly halfway between the two peaks of the input square wave as shown in the oscilloscope image. Do not base your answer on relative sizes of the two waveforms, as I have purposely skewed the calibration of the oscilloscope screen image so the two waveforms are not to scale with each other.
V_{out} (peaktopeak) = 8.025 volts
Followup question: the components comprising this circuit are improperly sized if it is actually expected to function as a reasonably accurate integrator. Suggest better component values for the frequency of signal being integrated.
Challenge question: write a formula that solves for this peaktopeak output voltage (V_{out}) given the peaktopeak input voltage (V_{in}), resistor value R, capacitor value C, and signal frequency f.
This is an interesting problem to set up. Ask your students what approach they used, so they all can see multiple problemsolving techniques. I based my own solution on the RC circuit decay equation e^{−t / τ} with x volts being my starting condition and 6 volts being my final condition (if time t is infinite), then I just solved for x. With my method, x is the peak signal voltage, not the peaktopeak, so I just doubled it to get the final answer.

My own answer for the challenge question is this:

Your mileage may vary . . .
Published under the terms and conditions of the Creative Commons Attribution License
In Partnership with Wolfspeed
by Robert Keim
In Partnership with Newark
In Partnership with Anritsu