Differentiation: how fast?
A derivative measures the slope at one point. If y is strength in MPa and x is temperature in ° has units MPa per °C. Positive means y rises locally as x rises; negative means it falls.
Understand what is changing, how fast it changes, and how much accumulates.
Calculus connects a process curve to decisions: how sensitive a response is to temperature, how defects accumulate during a shift, and how failure probabilities change with time. This lesson starts with the ideas, builds the rules, then applies them to engineering.
Download formula cheat sheet (PDF)Before you begin: be comfortable with fractions, powers, function notation and basic algebra. All engineering numbers here are teaching examples, not production predictions.
A derivative measures the slope at one point. If y is strength in MPa and x is temperature in ° has units MPa per °C. Positive means y rises locally as x rises; negative means it falls.
An integral adds contributions across an interval. A defect-generation rate in defects per hour multiplied by a small duration in hours gives defects. Add those pieces to find the expected total.
Read the symbols: x or t is the input, is the output, the prime in means derivative, Δ means a finite change, and dx identifies the variable of integration. The bounds a and b identify where accumulation starts and stops. C is an arbitrary constant. Fractions are stacked, powers are superscripts, and integral limits appear above and below the integral sign.
For the teaching curve , the derivative is 2x. Move x from 0 to 3. Notice that the curve height is while its slope is 2x; these are different quantities.
Try and . The height rises from 1 to 4, while the slope rises from 2 to 4. A tangent gives a local approximation, not a replacement for the whole curve.
First simplify the expression. Sums can be handled term by term. Multiplication, division and nested functions then tell you which combination rule to use. Multiple rules often appear in one problem.
| Rule | Formula | Remember |
|---|---|---|
| Definition | Instantaneous slope; the limit must exist. | |
| Constant / power | n is constant; use where the real function is differentiable. | |
| Linearity | a and b are constants. | |
| Product | Differentiate one factor at a time; then add. | |
| Quotient | Bottom derivative of top, minus top derivative of bottom; . | |
| Chain | Outer derivative inner derivative. | |
| Composite power | Do not forget . | |
| Exponential | ; for the usual exponential base. | |
| Logarithm | . For ln(u) itself, . | |
| Other log bases | ; and . | |
| Inverse function | Local differentiable inverse; denominator . is not . | |
| Local approximation | Useful for small input changes; check units and curvature. |
For , let and . Then and .
Taking only 2x cos x would incorrectly multiply the two derivatives.
For , the denominator cannot be zero. Use .
For , the outer function is a fifth power and the inner function is . Keep the inside unchanged while differentiating the outside, then multiply by 6x.
Quality application: if a local fitted response is , then . At 800°C, a 5°C increase predicts about 2 MPa locally; the exact model change is 1.95 MPa. A derivative describes model sensitivity, not proof of causation.
An indefinite integral gives a family of antiderivatives. For example, because and all have derivative 2x. A definite integral gives a number for an interval: .
| Rule | Formula | Remember |
|---|---|---|
| Sine / cosine | Angles must be in radians. | |
| Tangent / cotangent | Only where each function is defined. | |
| Secant / cosecant | For any inner u(x), also multiply by . | |
| Constant / power integral | Power rule requires . | |
| Reciprocal | ; this is the exception. | |
| Linearity | Use one arbitrary constant in the final answer. | |
| Exponentials | . Also . | |
| Basic trig integrals | Differentiate the answer to check the sign. | |
| More trig integrals | ; . | |
| Inverse trig patterns | for . | |
| Substitution | . Change definite bounds too. | |
| Integration by parts | Choose u to simplify when differentiated; LIATE is a heuristic. |
If the problem were , then and the answer would be . Account for missing constant factors.
LIATE suggests choosing u from logarithms, inverse trig, algebraic, trig, then exponentials. It is a useful heuristic, not a guarantee. Choose dv that you can integrate.
There is no general integration quotient rule. For rational functions, algebra or partial fractions may help: . Integrate the pieces to get ln|x| − ln|x + 1| + C. Trigonometric substitution can simplify roots: for , use with a suitable angle interval, then . These are pattern-based methods; numerical integration handles many cases without simple antiderivatives.
Split [a,b] into n intervals of width . A rectangle has height and area . Adding the rectangles estimates the integral. For a continuous curve, the estimates converge as the largest interval width approaches zero. We use a limit; we do not literally calculate an infinite number of rectangles.
Explore . The orange rectangles use the left endpoint, so they underestimate this increasing curve. The teal region is the exact area between your bounds.
Try 4, 20 and 100 rectangles over 0 to 3. The exact area stays 9, while the approximation improves. Equal bounds give zero area. The controls keep .
For continuous f, define . Then : the rate at which accumulated area grows is the height of the original curve. Conversely, if , the definite integral is G(b) − G(a). OpenStax explains both parts.
“Undoing” comes with a condition: gives f + C. To recover the exact original process level, you need a starting value. Integrating velocity gives displacement; distance travelled requires integrating speed, |velocity|.
Suppose the expected defect rate is defects per hour, for hours. Expected defects ]₀⁸ defects. The average rate is defects per hour. If instead you know a defect fraction q(t), multiply by throughput v(t): expected defective units .
In quality, area under a continuous measurement density between specification limits gives the conforming probability. In reliability, the variable is time to failure T. The same slope-and-area ideas connect four quantities:
| Quantity | Meaning | Units |
|---|---|---|
| Probability of failure by t | Dimensionless | |
| Probability of surviving beyond t | Dimensionless | |
| Failure-time density; integrate it for probability | inverse time | |
| Instantaneous failure rate among survivors | inverse time |
For continuous lifetimes, P( is zero; is a density, not a point probability. Hazard is also not a probability. Over a short approximates the conditional probability of failure, given survival to t.
The exponential model assumes constant hazard λ, as described in the NIST handbook. Its survival curve is , with time in hours and λ per hour. Raise λ and watch survival drop faster. The shaded area under the density from 0 to t is .
At and , reliability is 81.87% and failure probability is 18.13%. The mean time to failure is 500 h. At 500 h, reliability is 36.79%, not 50%: a mean is not a median.
Differentiate using the chain rule: . Therefore . Divide by to recover . Integrating f from 0 to t gives . Integrating R from 0 to infinity gives .
For a changing hazard, use (s)ds and , assuming . Do not force a constant-hazard model onto wear-out or early-life failure patterns. MTTF describes a lifetime model; it is not automatically the MTBF of a repaired system.
This example follows the two derivations in the supplied notes. We start with cumulative failure probability, differentiate to get failure density, then integrate that density to recover cumulative probability. Every step is shown.
Step 1 — Write the relationship and substitute the CDF. The density is the derivative of cumulative probability.
Step 2 — Differentiate each term. The derivative of the constant one is zero. Keep the subtraction sign in front of the exponential.
Step 3 — Identify the inner function. The outer function is the exponential. The exponent is the inner function; its derivative is the negative constant hazard.
Step 4 — Substitute and simplify both minus signs. One minus comes from the CDF’s subtraction; the other comes from differentiating the exponent.
Interpretation. The slope of the CDF at a selected time is the height of the density at that time. The density is nonnegative, so the CDF never decreases.
Step 1 — Set up the accumulated probability. Use as the integration variable so that remains the fixed upper endpoint. The lower bound is zero because this model has no negative failure times and no probability mass at zero.
Step 2 — Find an antiderivative by substitution. Replace the exponent with a simpler variable. Solve explicitly for the differential.
Step 3 — Substitute both the exponential and the differential. The constant hazard cancels its reciprocal. The minus sign remains.
Step 4 — Return to the original integration variable.
Step 5 — Evaluate upper endpoint minus lower endpoint. Use the antiderivative at each bound. The same constant cancels.
Alternative: change the bounds during substitution. If you keep the new variable throughout, transform both limits. This gives the same result without substituting back.
CDF slope becomes failure density.
Area under the density becomes failure probability.
The indefinite integral alone gives . To recover a CDF, use the starting condition:
The definite integral already builds in that starting condition. More generally, integrating a derivative from zero to a time gives the original function’s change over that interval:
Use the same settings as the reliability lab: and . First calculate the dimensionless exponent.
Density from differentiation:
Cumulative probability from integration:
The probability of failure by 100 hours is approximately 18.13%. The survival probability is approximately 81.87%. The density value is measured per hour and must not be read as the total probability of failure by 100 hours.
Connect this to the live plots above: set the hazard to 0.002 per hour and time to 100 hours. The shaded density area is 18.13%; the density’s height at that endpoint is approximately 0.001637 per hour. Moving the endpoint changes the area; its instantaneous rate of change equals that height.
Four printable pages cover the calculus rules, integration strategies, the Fundamental Theorem, and quality/reliability applications. Download the PDF for offline reference.
Download cheat sheet · PDF · 4 pages| Rule | Formula | Remember |
|---|---|---|
| Definition | Instantaneous slope; the limit must exist. | |
| Constant / power | n is constant; use where the real function is differentiable. | |
| Linearity | a and b are constants. | |
| Product | Differentiate one factor at a time; then add. | |
| Quotient | Bottom derivative of top, minus top derivative of bottom; . | |
| Chain | Outer derivative inner derivative. | |
| Composite power | Do not forget . | |
| Exponential | ; for the usual exponential base. | |
| Logarithm | . For ln(u) itself, . | |
| Other log bases | ; and . | |
| Inverse function | Local differentiable inverse; denominator . is not . | |
| Local approximation | Useful for small input changes; check units and curvature. |
| Rule | Formula | Remember |
|---|---|---|
| Sine / cosine | Angles must be in radians. | |
| Tangent / cotangent | Only where each function is defined. | |
| Secant / cosecant | For any inner u(x), also multiply by . | |
| Constant / power integral | Power rule requires . | |
| Reciprocal | ; this is the exception. | |
| Linearity | Use one arbitrary constant in the final answer. | |
| Exponentials | . Also . | |
| Basic trig integrals | Differentiate the answer to check the sign. | |
| More trig integrals | ; . | |
| Inverse trig patterns | for . | |
| Substitution | . Change definite bounds too. | |
| Integration by parts | Choose u to simplify when differentiated; LIATE is a heuristic. |
| Rule | Formula | Remember |
|---|---|---|
| Rectangle sum | For continuous f, the sums converge as the largest interval shrinks to zero. | |
| FTC: accumulation | For continuous f. With upper bound , multiply by . | |
| FTC: evaluation | Antiderivative at upper limit minus antiderivative at lower limit. | |
| Recover the original | A starting value fixes C; differentiation loses that information. | |
| Signed / geometric area | For , below-axis contributions are negative in the net integral. | |
| Bounds / split intervals | Same endpoints give zero; split at sign changes for geometric area. | |
| Average value | ; integral units = vertical units horizontal units. | |
| Partial fractions | Integral ; avoid . | |
| Trig substitution | ; choose a valid angle interval and transform dx. Other root forms need other substitutions. | |
| Numerical integration | For sampled data or no simple antiderivative; finer spacing helps for smooth curves. | |
| Method selection | Not every integral has an elementary antiderivative. Check your result by differentiating. |
| Rule | Formula | Remember |
|---|---|---|
| Process sensitivity | Example: slope 0.4 MPa per °° locally; illustrative, not a fitted process model. | |
| Accumulated defects | r(t) is expected defects per hour. Do not integrate a defect fraction without throughput. | |
| Quality probability | Continuous density p; outside-spec probability minus this area. | |
| Lifetime distribution | For continuous nonnegative lifetime T: (s) ds. | |
| Density and survival | Probability in . Density is not point probability. | |
| Hazard rate | . Units: inverse time. Conditional failure probability over small . | |
| Cumulative hazard | Assumes a continuous lifetime with . | |
| Mean time to failure | Nonnegative lifetime; finite mean if the integral converges. Not repairable-system MTBF. | |
| Exponential model | ; ; constant hazard assumption. ; . | |
| Exponential example | ; . Hazard is , not 18.13%. | |
| Remember | Keep C; use radians; include inner derivatives; check denominators and model assumptions. |
| Function | Syntax | Purpose | When to use it |
|---|---|---|---|
| EXPON.DIST | EXPON.DIST(x, lambda, cumulative) | TRUE returns cumulative failure probability; FALSE returns density. | Constant-hazard lifetime examples. |
| EXP | EXP(number) | Evaluate the exponential function. | Calculate survival directly. |
| LN | LN(number) | Natural logarithm of a positive number. | Check logarithmic antiderivatives or cumulative hazard. |
| SUM | SUM(number1, [number2], ...) | Add contributions. | Sum rectangle or trapezoid areas from sampled rates. |
For time 100 hours and hazard 0.002 per hour, enter =EXPON.DIST(100,0.002,TRUE) to obtain 0.181269, the cumulative failure probability. Enter =1-EXPON.DIST(100,0.002,TRUE) or =EXP(-0.002*100) to obtain survival 0.818731. Enter =EXPON.DIST(100,0.002,FALSE) to obtain density 0.00163746 per hour. The FALSE option is not a point probability.
=-LN(0.818730753) returns cumulative hazard approximately 0.2. For a sampled defect rate with times in A2:A10 and rates in B2:B10, enter =(A3-A2)*(B2+B3)*0.5 in C3, fill down to C10, then use =SUM(C3:C10). This trapezoidal estimate has units of expected defects. Spreadsheet formulas use Excel syntax; the mathematical formulas elsewhere use typeset notation.
Choose Calc → Probability Distributions → Exponential. Select Cumulative probability for failure probability by a specified time. Use Scale = 500, Threshold = 0, and Input constant = 100 for this example. Minitab’s scale is the mean lifetime at zero threshold; do not enter the hazard 0.002 as the scale. Use Probability density for the density instead.
For CSSBB/CQE-style practice, identify the requested quantity before calculating: rate, density, cumulative probability, survival, or expected lifetime. Check units and the constant-hazard assumption. Use an antiderivative and endpoint subtraction for a definite integral, and differentiate your answer as a check. These are study tips, not a claim about exam coverage or permitted software.
Sources: Microsoft EXPON.DIST documentation; Minitab distribution parameters.
Adapted from your supplied calculus discussion. Added teaching examples, engineering applications and practice questions are original illustrative material. Conversation prompts and copied interface fragments were removed; the mathematical topics were retained and clarified.
Practice next: take one process response model, calculate its derivative with units, then integrate a rate over an operating interval. Explain the result in one sentence before using the number.
Knowledge check
Choose an answer for each question, then submit. Each answer includes an explanation.