Study guide

1.2 Calculus and Differential Equations

NCEES Fundamentals of Engineering FE

Track your progress as you read

Finished sections get a check mark.

1 Chapter 1: Mathematics

1.1 Analytic Geometry, Algebra, and Trigonometry 1.2 Calculus and Differential Equations 1.3 Numerical Methods and Measurement Error

2 Chapter 2: Probability and Statistics

2.1 Probability Distributions, Central Tendency, and Regression 2.2 Hypothesis Testing, ANOVA, and Statistical Quality Control

3 Chapter 3: Engineering Sciences

3.1 Mechanics and Dynamics 3.2 Electrical Circuits and Laws

4 Chapter 4: Materials Science

4.1 Material Properties and Compatibilities 4.2 Corrosion, Polymers, Ceramics, and Composites

5 Chapter 5: Chemistry and Biology

5.1 Stoichiometry, Analytical Chemistry, and Chemical Equilibrium 5.2 Organic Chemistry and Nomenclature 5.3 Biological Systems and Kinetics

6 Chapter 6: Fluid Mechanics and Dynamics

6.1 Fluid Properties, Dimensionless Numbers, and Flow Regimes 6.2 Bernoulli Equation and Mechanical Energy Balances 6.3 Flow Measurement and Fluid Machinery 6.4 Compressible and Non-Newtonian Flows

7 Chapter 7: Thermodynamics

7.1 Thermodynamic Properties, Ideal Gas, and State Equations 7.2 Laws of Thermodynamics and Cyclic Processes 7.3 Vapor-Liquid Equilibrium (VLE) and Phase Equilibrium 7.4 Chemical Equilibrium, Heats of Reaction, and Mixing

8 Chapter 8: Material and Energy Balances

8.1 Steady-State Material Balances 8.2 Unsteady-State Mass Balances 8.3 Steady-State Energy Balances 8.4 Unsteady-State Energy Balances

9 Chapter 9: Heat Transfer

9.1 Conduction, Convection, and Radiation Fundamentals 9.2 Heat Transfer Coefficients, Fouling, and Overall U 9.3 Heat Exchanger Design

10 Chapter 10: Mass Transfer and Separation

10.1 Diffusion Fundamentals 10.2 Gas Absorption, Stripping, and Liquid-Liquid Extraction 10.3 Distillation and McCabe-Thiele Method 10.4 Continuous Contact Methods, Membrane Separations, and Evaporative Operations

11 Chapter 11: Solids Handling

11.1 Particle Properties and Solid Processing 11.2 Solids Transportation and Storage

12 Chapter 12: Chemical Reaction Engineering

12.1 Reaction Kinetics and Performance Metrics 12.2 Ideal Reactor Design 12.3 Multiple Reactions, Catalysis, and Heterogeneous Kinetics

13 Chapter 13: Economics

13.1 Time Value of Money and Project Selection 13.2 Profitability Analysis, Depreciation, and Break-Even

14 Chapter 14: Process Design

14.1 Process Flowsheets and Instrumentation 14.2 Equipment Selection, Sizing, and Cost Estimation 14.3 Process Optimization, Sustainability, and Inherently Safer Design

15 Chapter 15: Process Control

15.1 Process Dynamics and Transfer Functions 15.2 Feedback Control Loops, PID Tuning, and Control Hardware

16 Chapter 16: Safety, Health, and Environment

16.1 Flammability, Toxicity, and Industrial Hygiene 16.2 Hazard Identification and Risk Analysis 16.3 Overpressure Relief, Reactivity Hazards, and Waste Regulations

17 Chapter 17: Ethics and Professional Practice

17.1 Professional Codes of Ethics and Public Welfare 17.2 Intellectual Property, Contracts, and Professional Liability

1.2 Calculus and Differential Equations

Key Takeaways Explain This Topic AI

Differentiation rules including product, quotient, and chain rules, along with L'Hôpital's Rule for indeterminate limits

Optimization techniques using the first and second derivative tests to locate local extrema and inflection points

Integration methods such as substitution and integration by parts for calculating reactor volumes and areas

Solving first-order separable and linear ordinary differential equations (ODEs) using integrating factors

Solving second-order linear homogeneous ODEs with constant coefficients and applying Laplace transforms to process control models

Last updated: July 2026

Calculus and differential equations represent the mathematical language of chemical engineering rate processes. Whether describing the rate of heat transfer through a reactor wall, mass transfer across a boundary layer, or the dynamic response of a feedback control loop, chemical engineers rely on differential and integral calculus to build and solve governing equations.

Differential Calculus and Optimization

Differential calculus examines rates of change. The derivative of a function f ( x ) f(x) f ( x ) represents the slope of the tangent line at any point x x x and is defined as: f ′ ( x ) = lim ⁡ Δ x → 0 f ( x + Δ x ) − f ( x ) Δ x f'(x) = \lim_{\Delta x \to 0} \frac{f(x + \Delta x) - f(x)}{\Delta x} f ′ ( x ) = Δ x → 0 lim ​ Δ x f ( x + Δ x ) − f ( x ) ​

The FE Reference Handbook details standard differentiation rules, including the product, quotient, and chain rules:

Product Rule: d d x [ u ( x ) v ( x ) ] = u ′ v + u v ′ \frac{d}{dx}[u(x)v(x)] = u'v + uv' d x d ​ [ u ( x ) v ( x )] = u ′ v + u v ′

Quotient Rule: d d x [ u ( x ) v ( x ) ] = u ′ v − u v ′ v 2 \frac{d}{dx}\left[\frac{u(x)}{v(x)}\right] = \frac{u'v - uv'}{v^2} d x d ​ [ v ( x ) u ( x ) ​ ] = v 2 u ′ v − u v ′ ​

Chain Rule: d d x [ f ( g ( x ) ) ] = f ′ ( g ( x ) ) ⋅ g ′ ( x ) \frac{d}{dx}[f(g(x))] = f'(g(x)) \cdot g'(x) d x d ​ [ f ( g ( x ))] = f ′ ( g ( x )) ⋅ g ′ ( x )

L'Hôpital's Rule: For evaluating limits that result in indeterminate forms (such as 0 / 0 0/0 0/0 or ∞ / ∞ \infty/\infty ∞/∞ ), L'Hôpital's Rule states that: lim ⁡ x → c f ( x ) g ( x ) = lim ⁡ x → c f ′ ( x ) g ′ ( x ) \lim_{x \to c} \frac{f(x)}{g(x)} = \lim_{x \to c} \frac{f'(x)}{g'(x)} x → c lim ​ g ( x ) f ( x ) ​ = x → c lim ​ g ′ ( x ) f ′ ( x ) ​

provided the limit on the right exists and g ′ ( x ) ≠ 0 g'(x) \neq 0 g ′ ( x )  = 0 .

Optimization: In chemical engineering design, maximizing yields or minimizing costs requires optimization.

Critical Points: Occur where the first derivative is zero ( f ′ ( x ) = 0 f'(x) = 0 f ′ ( x ) = 0 ) or undefined.

First Derivative Test: If f ′ ( x ) f'(x) f ′ ( x ) changes from positive to negative, the point is a local maximum. If f ′ ( x ) f'(x) f ′ ( x ) changes from negative to positive, it is a local minimum.

Second Derivative Test: If f ′ ( x c ) = 0 f'(x_c) = 0 f ′ ( x c ​ ) = 0 :

If f ′ ′ ( x c ) < 0 f''(x_c) < 0 f ′′ ( x c ​ ) < 0 , x c x_c x c ​ is a local maximum.

If f ′ ′ ( x c ) > 0 f''(x_c) > 0 f ′′ ( x c ​ ) > 0 , x c x_c x c ​ is a local minimum.

If f ′ ′ ( x c ) = 0 f''(x_c) = 0 f ′′ ( x c ​ ) = 0 , the test is inconclusive.

Inflection Points: Points where the concavity changes, occurring where f ′ ′ ( x ) = 0 f''(x) = 0 f ′′ ( x ) = 0 and the second derivative changes sign.

In process design, optimization is applied to determine the most cost-effective operating conditions. For example, when sizing a pipe, there is a trade-off between the capital cost of the pipe (which increases with pipe diameter) and the operating cost of pumping (which decreases with diameter due to lower frictional losses). Differentiating the total cost function with respect to diameter and setting it to zero allows engineers to find the optimum economic pipe diameter.

Integral Calculus

Integration represents accumulation and is the inverse process of differentiation. The Fundamental Theorem of Calculus relates the two: ∫ a b f ( x ) d x = F ( b ) − F ( a ) \int_a^b f(x) dx = F(b) - F(a) ∫ a b ​ f ( x ) d x = F ( b ) − F ( a )

where F ′ ( x ) = f ( x ) F'(x) = f(x) F ′ ( x ) = f ( x ) .

Key integration techniques include:

Integration by Substitution: Letting u = g ( x ) u = g(x) u = g ( x ) and d u = g ′ ( x ) d x du = g'(x)dx d u = g ′ ( x ) d x to simplify the integrand.

Integration by Parts: Derived from the product rule of differentiation: ∫ u d v = u v − ∫ v d u \int u dv = uv - \int v du ∫ u d v = uv − ∫ v d u This is highly useful for integrating products of algebraic, exponential, or trigonometric functions.

Applications: Integration is widely applied to calculate the volume of a Plug Flow Reactor (PFR), where reactor volume V V V is defined as V = F A 0 ∫ 0 X d X − r A V = F_{A0} \int_0^X \frac{dX}{-r_A} V = F A 0 ​ ∫ 0 X ​ − r A ​ d X ​ . It is also used to find centroids and moments of inertia. In fluid mechanics, integration is used to calculate the average velocity of a fluid across a cross-section by integrating the local velocity profile.

Ordinary Differential Equations (ODEs)

An ordinary differential equation contains functions of a single independent variable and its derivatives.

First-Order ODEs:

Separable Equations: Can be written in the form g ( x ) d x = h ( y ) d y g(x)dx = h(y)dy g ( x ) d x = h ( y ) d y . Integrate both sides directly: ∫ g ( x ) d x = ∫ h ( y ) d y + C \int g(x) dx = \int h(y) dy + C ∫ g ( x ) d x = ∫ h ( y ) d y + C

Linear First-Order Equations: Written in the standard form: d y d x + P ( x ) y = Q ( x ) \frac{dy}{dx} + P(x)y = Q(x) d x d y ​ + P ( x ) y = Q ( x ) This is solved using an integrating factor, I ( x ) = e ∫ P ( x ) d x I(x) = e^{\int P(x) dx} I ( x ) = e ∫ P ( x ) d x . Multiplying the entire equation by I ( x ) I(x) I ( x ) allows it to be written as d d x [ I ( x ) y ] = I ( x ) Q ( x ) \frac{d}{dx}[I(x)y] = I(x)Q(x) d x d ​ [ I ( x ) y ] = I ( x ) Q ( x ) , which integrates to: y ( x ) = 1 I ( x ) ( ∫ I ( x ) Q ( x ) d x + C ) y(x) = \frac{1}{I(x)} \left( \int I(x)Q(x) dx + C \right) y ( x ) = I ( x ) 1 ​ ( ∫ I ( x ) Q ( x ) d x + C )

First-order ODEs are commonly used to model dynamic processes, such as Newton's Law of Cooling for a heat exchanger tube, or the transient concentration change in a Continuously Stirred Tank Reactor (CSTR) during startup or disturbance.

Second-Order Linear Homogeneous ODEs with Constant Coefficients: These take the form a y ′ ′ + b y ′ + c y = 0 a y'' + b y' + c y = 0 a y ′′ + b y ′ + cy = 0 . The characteristic equation is a r 2 + b r + c = 0 a r^2 + b r + c = 0 a r 2 + b r + c = 0 . The roots r 1 r_1 r 1 ​ and r 2 r_2 r 2 ​ determine the general solution:

Root Type Roots General Solution

Distinct Real r 1 ≠ r 2 r_1 \neq r_2 r 1 ​  = r 2 ​ y ( x ) = C 1 e r 1 x + C 2 e r 2 x y(x) = C_1 e^{r_1 x} + C_2 e^{r_2 x} y ( x ) = C 1 ​ e r 1 ​ x + C 2 ​ e r 2 ​ x

Repeated Real r 1 = r 2 = r r_1 = r_2 = r r 1 ​ = r 2 ​ = r y ( x ) = ( C 1 + C 2 x ) e r x y(x) = (C_1 + C_2 x) e^{r x} y ( x ) = ( C 1 ​ + C 2 ​ x ) e r x

Complex Conjugate r = α ± i β r = \alpha \pm i\beta r = α ± i β y ( x ) = e α x ( C 1 cos ⁡ β x + C 2 sin ⁡ β x ) y(x) = e^{\alpha x} (C_1 \cos\beta x + C_2 \sin\beta x) y ( x ) = e αx ( C 1 ​ cos β x + C 2 ​ sin β x )

These second-order equations represent physical systems with damping. In process control, a second-order system can be underdamped (oscillatory response), critically damped (fastest return to steady state without oscillation), or overdamped (slow response without oscillation).

Partial Differential Equations (PDEs)

Unlike ODEs, partial differential equations involve functions of multiple independent variables (such as space x , y , z x, y, z x , y , z and time t t t ) and their partial derivatives. PDEs govern transport phenomena in chemical engineering:

Heat Equation (Parabolic): ∂ T ∂ t = α ∂ 2 T ∂ x 2 \frac{\partial T}{\partial t} = \alpha \frac{\partial^2 T}{\partial x^2} ∂ t ∂ T ​ = α ∂ x 2 ∂ 2 T ​ (unsteady-state heat conduction).

Diffusion Equation (Parabolic): ∂ C A ∂ t = D A B ∂ 2 C A ∂ x 2 \frac{\partial C_A}{\partial t} = D_{AB} \frac{\partial^2 C_A}{\partial x^2} ∂ t ∂ C A ​ ​ = D A B ​ ∂ x 2 ∂ 2 C A ​ ​ (Fick's second law for transient mass diffusion).

Laplace Equation (Elliptic): ∂ 2 T ∂ x 2 + ∂ 2 T ∂ y 2 = 0 \frac{\partial^2 T}{\partial x^2} + \frac{\partial^2 T}{\partial y^2} = 0 ∂ x 2 ∂ 2 T ​ + ∂ y 2 ∂ 2 T ​ = 0 (steady-state two-dimensional heat conduction).

On the FE exam, you may be asked to classify a second-order PDE of the form A ∂ 2 u ∂ x 2 + B ∂ 2 u ∂ x ∂ y + C ∂ 2 u ∂ y 2 + ⋯ = 0 A \frac{\partial^2 u}{\partial x^2} + B \frac{\partial^2 u}{\partial x \partial y} + C \frac{\partial^2 u}{\partial y^2} + \dots = 0 A ∂ x 2 ∂ 2 u ​ + B ∂ x ∂ y ∂ 2 u ​ + C ∂ y 2 ∂ 2 u ​ + ⋯ = 0 . The classification is determined by the discriminant B 2 − 4 A C B^2 - 4AC B 2 − 4 A C :

If B 2 − 4 A C < 0 B^2 - 4AC < 0 B 2 − 4 A C < 0 , it is elliptic.

If B 2 − 4 A C = 0 B^2 - 4AC = 0 B 2 − 4 A C = 0 , it is parabolic.

If B 2 − 4 A C > 0 B^2 - 4AC > 0 B 2 − 4 A C > 0 , it is hyperbolic.

Solving these equations typically requires specifying boundary conditions, which can be Dirichlet (specified value of the variable), Neumann (specified gradient or flux), or Robin (combination of value and gradient, such as convective cooling at a boundary).

Laplace Transforms

The Laplace transform converts differential equations in the time domain ( t t t ) to algebraic equations in the complex frequency domain ( s s s ), which is essential for process dynamics and control.

The Laplace transform of f ( t ) f(t) f ( t ) is defined as: L { f ( t ) } = F ( s ) = ∫ 0 ∞ e − s t f ( t ) d t \mathcal{L}\{f(t)\} = F(s) = \int_0^\infty e^{-st} f(t) dt L { f ( t )} = F ( s ) = ∫ 0 ∞ ​ e − s t f ( t ) d t

Key properties for derivatives include: L { f ′ ( t ) } = s F ( s ) − f ( 0 ) \mathcal{L}\{f'(t)\} = sF(s) - f(0) L { f ′ ( t )} = s F ( s ) − f ( 0 ) L { f ′ ′ ( t ) } = s 2 F ( s ) − s f ( 0 ) − f ′ ( 0 ) \mathcal{L}\{f''(t)\} = s^2F(s) - sf(0) - f'(0) L { f ′′ ( t )} = s 2 F ( s ) − s f ( 0 ) − f ′ ( 0 )

To solve an ODE using Laplace transforms:

Apply the Laplace transform to all terms of the differential equation, converting it to an algebraic equation in terms of F ( s ) F(s) F ( s ) .

Substitute the initial conditions (e.g., f ( 0 ) f(0) f ( 0 ) , f ′ ( 0 ) f'(0) f ′ ( 0 ) ).

Solve the algebraic equation for F ( s ) F(s) F ( s ) .

Perform partial fraction expansion if necessary to break down F ( s ) F(s) F ( s ) into recognizable terms.

Apply the inverse Laplace transform L − 1 { F ( s ) } \mathcal{L}^{-1}\{F(s)\} L − 1 { F ( s )} to find the time-domain solution f ( t ) f(t) f ( t ) using the transform table in the FE Reference Handbook.

This method is central to process control, where the ratio of the output Laplace transform to the input Laplace transform defines the transfer function of the process. Transfer functions allow engineers to evaluate system stability and design PID controllers.

Worked Example: Transient Tank Draining

A liquid storage tank drains such that the liquid height h ( t ) h(t) h ( t ) satisfies the first-order differential equation: d h d t + 0.2 h = 0 , h ( 0 ) = 5 m \frac{dh}{dt} + 0.2h = 0, \quad h(0) = 5\text{ m} d t d h ​ + 0.2 h = 0 , h ( 0 ) = 5 m

Find the liquid height as a function of time.

Solution: This is a first-order linear homogeneous ODE, which is also separable: d h h = − 0.2 d t \frac{dh}{h} = -0.2 dt h d h ​ = − 0.2 d t

Integrating both sides: ln ⁡ ( h ) = − 0.2 t + C ⟹ h ( t ) = e − 0.2 t + C = C 1 e − 0.2 t \ln(h) = -0.2t + C \implies h(t) = e^{-0.2t + C} = C_1 e^{-0.2t} ln ( h ) = − 0.2 t + C ⟹ h ( t ) = e − 0.2 t + C = C 1 ​ e − 0.2 t

Apply the initial condition h ( 0 ) = 5 h(0) = 5 h ( 0 ) = 5 : h ( 0 ) = C 1 e 0 = C 1 ⟹ C 1 = 5 h(0) = C_1 e^0 = C_1 \implies C_1 = 5 h ( 0 ) = C 1 ​ e 0 = C 1 ​ ⟹ C 1 ​ = 5

Thus, the height of the liquid decays exponentially according to: h ( t ) = 5 e − 0.2 t h(t) = 5e^{-0.2t} h ( t ) = 5 e − 0.2 t