Engineering Mathematics 2: cram pack

Formula sheets, the key method steps for every topic and 16 practice problems, with full solutions at the back.

New problemsBack to the course

In the print window, choose “Save as PDF” to keep a copy on your device.

1Formulas and methods

Differential equations

Exponential growth/decay
dy/dt = ky → y = y0ekt
Half-life
k = ln 2 / t½
Newton's law of cooling
T(t) = Ta + (T0 − Ta)e−kt
Integrating factor
y′ + p(x)y = q(x): μ = e∫p dx, (μy)′ = μq
Mixing tank
dm/dt = r·c − (r/V)·m

Matrices & determinants

2×2 determinant
det = ad − bc
2×2 inverse
A⁻¹ = (1/det)·[d −b; −c a]
Product
(AB)ij = Σk AikBkj
Eigenvalues
det(A − λI) = 0
Cramer’s rule
xi = det(Ai)/det(A)

Vectors: dot & cross product

Magnitude
|a| = √(ax² + ay² + az²)
Unit vector
û = a/|a|
Components from an angle
Fx = F·cos θ, Fy = F·sin θ
Dot product
a·b = axbx + ayby + azbz = |a||b|cos θ
Scalar projection of a onto b
a·b/|b|
Work
W = F·d
Cross product
a × b = (aybz − azby, azbx − axbz, axby − aybx)
Areas
parallelogram |a × b|, triangle ½|a × b|
Moment about O
MO = r × F, r = A − O
Volume of a parallelepiped
V = |a·(b × c)|

Method

  1. Write every vector in components; for a force given by a magnitude and an angle, use F·cos θ and F·sin θ.
  2. For lengths and directions use the magnitude √(x² + y² + z²) and the unit vector a/|a|.
  3. Use the dot product for angles, projections, perpendicularity and work: a·b = |a||b|cos θ.
  4. Use the cross product for perpendicular vectors, areas and moments: write the three components carefully, keeping the order a × b.

Integrals

Power rule
∫xⁿ dx = xⁿ⁺¹/(n + 1) + C
Definite integral
∫ab f dx = F(b) − F(a)
Common integrals
∫eˣ dx = eˣ, ∫1/x dx = ln|x|, ∫sin x dx = −cos x
Area between curves
∫ab (f − g) dx

Method

  1. Rewrite the integrand as a sum of simple terms where possible.
  2. Apply the power rule: ∫xⁿ dx = xⁿ⁺¹/(n + 1), and standard integrals for ex, 1/x, sin and cos.
  3. Use substitution when you see a function and its derivative together.
  4. For a definite integral, evaluate F(b) − F(a).

Multivariable calculus

Partial derivatives
fx = ∂f/∂x (y constant), fxy = fyx
Gradient
∇f = (fx, fy), largest slope |∇f|
Directional derivative
Duf = ∇f·u, u = v/|v|
Tangent plane
z = f(a, b) + fx(x − a) + fy(y − b)
Chain rule
dz/dt = fx·dx/dt + fy·dy/dt
Second-derivative test
D = fxxfyy − fxy²: D > 0, fxx > 0 minimum; D > 0, fxx < 0 maximum; D < 0 saddle
Double integral
∬R f dA = ∫ab∫g(x)h(x) f dy dx
Polar coordinates
x = r cos θ, y = r sin θ, dA = r dr dθ

Method

  1. For a partial derivative, treat the other variable as a constant and use the one-variable rules.
  2. For gradient questions compute ∇f = (fx, fy) at the point; use |∇f| for the steepest slope and ∇f·u with a unit vector u for a directional derivative.
  3. For extrema solve fx = 0 and fy = 0 together, then classify every point with D = fxx·fyy − fxy².
  4. For a double integral sketch the region, choose the order (or polar coordinates for discs) so the inner limits are the bounding curves, and integrate inside first.

Sequences & series

Arithmetic sequence
aₙ = a₁ + (n − 1)d, Sₙ = n(a₁ + aₙ)/2
Geometric sequence
aₙ = a₁rⁿ⁻¹, Sₙ = a₁(1 − rⁿ)/(1 − r)
Infinite geometric series
S = a₁/(1 − r), |r| < 1
p-series
Σ1/kᵖ converges only for p > 1
Ratio test
L = lim |ak+1/ak|: L < 1 converges, L > 1 diverges
Radius of convergence
R = lim |ck/ck+1|
Taylor polynomial
Pₙ(x) = Σ f⁽ᵏ⁾(a)(x − a)ᵏ/k!
Maclaurin series
eˣ = Σxᵏ/k!, sin x = x − x³/3! + …, cos x = 1 − x²/2! + …, ln(1 + x) = x − x²/2 + …
Lagrange error bound
|Rₙ| ≤ M·|x − a|ⁿ⁺¹/(n + 1)!

Method

  1. Identify the type: arithmetic (constant difference), geometric (constant ratio), a standard series, a power series or a Taylor polynomial.
  2. For sums use Sₙ = n(a₁ + aₙ)/2, Sₙ = a₁(1 − rⁿ)/(1 − r), or S = a₁/(1 − r) when |r| < 1, with a₁ the first term of the sum.
  3. For convergence: n-th term test first, then compare with Σ1/kᵖ or a geometric series, and use the ratio or root test for factorials and k-th powers.
  4. For Taylor polynomials list f(a), f′(a), f″(a), …, divide the k-th derivative by k!, and bound the error with M·|x − a|ⁿ⁺¹/(n + 1)!.

Convolution & LTI systems

Discrete convolution
y[n] = Σ x[k]·h[n − k]
Continuous convolution
y(t) = ∫ x(τ)·h(t − τ) dτ
Length and sum
Ly = Lx + Lh − 1, Σy = Σx·Σh
Start, end and area
t1 + t3 … t2 + t4, ∫y = ∫x·∫h
Step into e^(−at)u(t)
y(t) = (A/a)(1 − e−at)
First-order system
y′ + a·y = b·x → h(t) = b·e−atu(t)
First-order recursion
y[n] = a·y[n − 1] + b·x[n] → h[n] = b·aⁿ
Sinusoid through h(t)
|H(jω)|, ∠H(jω); H(jω) = b/(a + jω)
Fourier series amplitudes
square ±A: 4A/(kπ), odd k; triangle ±A: 8A/(π²k²), odd k; pulse train: A·D and (2A/(kπ))|sin kπD|

Method

  1. Sketch both signals and note where each one is nonzero.
  2. Flip h and slide it: for each output time, find the range where both signals overlap.
  3. Multiply and add (discrete) or multiply and integrate (continuous) over that overlap only.
  4. Check the result: the output starts at the sum of the start times, ends at the sum of the end times, and its area or sum is the product of the input areas or sums.

2Practice problems

1.Differential equationsMedium
t (min)T (°C)28Ta​24 °C13 °C

A can of soda at 6 °C is taken out of the fridge into a room at 27 °C. After 28 min its temperature is 24 °C. It follows Newton's law of cooling, dT/dt = −k·(T − Tₐ). How long after the start, t, does it take to reach 13 °C?

T0 = 6 °CTa = 27 °CT(28) = 24 °CT = 13 °C
t = min
2.Differential equationsHard
t (min)m (kg)t = ?160 kg

A tank holds 1000 L of pure water. Brine with 0.2 kg of salt per litre flows in at 10 L/min, and the well-mixed solution flows out at the same rate. After how many minutes t does the tank contain 160 kg of salt?

V = 1000 Lm0 = 0 kgc = 0.2 kg/Lr = 10 L/min
t = min
3.Matrices & determinantsMedium
A =−2−3−4−5−20−250

Find the determinant det A of the 3×3 matrix A shown.

A = [−2 −3 −4; −5 −2 0; −2 5 0]
det A =
4.Matrices & determinantsHard
A =−2−1−4−4b =−15

Solve the system −2x − y = −1 and −4x − 4y = 5. Find x.

−2x − y = −1−4x − 4y = 5
x =
5.Vectors: dot & cross productMedium
xyzab

Find the value of k for which the vectors a = (6, 1, −1) and b = (−1, k, 3) are perpendicular.

a = (6, 1, −1)b = (−1, k, 3)
k =
6.Vectors: dot & cross productHard
xyzab

The unit vector n̂ is perpendicular to both a = (−4, 3, −1) and b = (1, 0, −2) and has a positive z-component. Find its x-component n̂x.

a = (−4, 3, −1)b = (1, 0, −2)n̂z > 0
n̂x =
7.IntegralsMedium
xy13y = x ln x

Evaluate I = ∫₁3 x·ln x dx.

∫₁3 x ln x dx
I =
8.IntegralsHard
xyy = x2​y = 2x

Find the area A of the region enclosed by y = x2 and y = 2x.

y = x2y = 2x
A =
9.Multivariable calculusMedium
xy050246PQ

For f(x, y) = −2x²y² + 3x² + 3y² + 3xy, find the directional derivative Duf at P(3, 3) in the direction towards Q(2, 2).

f(x, y) = −2x²y² + 3x² + 3y² + 3xyP = (3, 3)Q = (2, 2)
Duf =
10.Multivariable calculusHard
xy2

Use polar coordinates to evaluate I = ∬R e−(x² + y²) dA, where R is the quarter of the disc x² + y² ≤ 4 in the first quadrant.

f = e−(x² + y²)0 ≤ r ≤ 20 ≤ θ ≤ π/2
I =
11.Sequences & seriesMedium
k|aₖ₊₁/aₖ|123456789101112

Apply the ratio test to Σk=1∞ (k!)²·3ᵏ/(2k)!. Find L = lim |ak+1/ak|.

ak = (k!)²·3ᵏ/(2k)!
L =
12.Sequences & seriesHard

f(x) = ln(1 + x) is approximated by its Maclaurin polynomial of degree 4 at x = 0.5. Use the Lagrange error bound M·|x|ⁿ⁺¹/(n + 1)! with M = 4! = 24 to find the largest possible error |R₄|.

f(x) = ln(1 + x)n = 4x = 0.5M = 24
|R₄| =
13.Laplace transformsMedium
t (s)f(t)t = 1.2f(1.2) = ?

Find f(t) for F(s) = 15/(s(s + 1)(s + 3)) by partial fractions, and evaluate f(1.2).

F(s) = 15/(s(s + 1)(s + 3))t = 1.2 s
f(1.2) =
14.Laplace transformsHard
t (s)y(t)t = 0.1y(0.1) = ?

A system obeys y″ + 8y′ + 15y = 45·u(t). It starts at rest (y(0) = 0, y′(0) = 0) and the input is a step u(t) = 5 for t ≥ 0. Use the Laplace transform to find the output y(0.1).

y″ + 8y′ + 15y = 45·u(t)u(t) = 5y(0) = 0, y′(0) = 0t = 0.1 s
y(0.1) =
15.Convolution & LTI systemsMedium
x(t)t21h(t)t45

The pulse x(t) = 1 for 0 ≤ t < 2 s (zero elsewhere) is applied to a system with the impulse response h(t) = 5 for 0 ≤ t < 4 s (zero elsewhere). Find the output y(2.5) at t = 2.5 s.

x(t) = 1, 0 ≤ t < 2 sh(t) = 5, 0 ≤ t < 4 st = 2.5 s
y(2.5) =
16.Convolution & LTI systemsHard
δ[n]0.5+h[n]−0.8·z⁻¹+

A system obeys y[n] = −0.8·y[n − 1] + 0.5·x[n] and starts at rest. Find its impulse response sample h[4].

y[n] = −0.8y[n − 1] + 0.5x[n]x[n] = δ[n]
h[4] =

3Solutions

1.Differential equations

Answer: t = 5.834 min

First-order differential equations: dy/dt = k·y has the solution y = y₀·ekt (growth for k > 0, decay for k < 0); a half-life T gives k = ln 2/T. Newton's law of cooling, dT/dt = −k·(T − Tₐ), gives T(t) = Tₐ + (T₀ − Tₐ)·e−kt. A linear equation y′ + p(x)·y = q(x) is solved with the integrating factor μ = e∫p dx: (μy)′ = μq, so μy = ∫μq dx + C.

Cooling constant

k = ln(-21/-3)/28 = 0.0695 min⁻¹

Time to reach the target

t = ln(-21/(−14))/0.0695 = 5.834 min

Answer

t = 5.834 min
2.Differential equations

Answer: t = 160.9 min

First-order differential equations: dy/dt = k·y has the solution y = y₀·ekt (growth for k > 0, decay for k < 0); a half-life T gives k = ln 2/T. Newton's law of cooling, dT/dt = −k·(T − Tₐ), gives T(t) = Tₐ + (T₀ − Tₐ)·e−kt. A linear equation y′ + p(x)·y = q(x) is solved with the integrating factor μ = e∫p dx: (μy)′ = μq, so μy = ∫μq dx + C.

Result

m(t) = 200 + (−200)·e−t/100

Solve for t

e−t/100 = (200 − 160)/(200 − 0) = 0.2
t = 100·ln(5) = 160.9 min

Answer

t = 160.9 min
3.Matrices & determinants

Answer: det A = 116

Matrices: the determinant of a 2×2 matrix is ad − bc. For 3×3, expand along a row: each entry times the determinant of the 2×2 matrix left after removing its row and column, with alternating signs + − +. Eigenvalues λ solve det(A − λI) = 0; for 2×2 that is λ² − (trace)·λ + det = 0.

2×2 minors of the first row

M₁₁ = 0, M₁₂ = 0, M₁₃ = −29

Cofactor expansion

det A = (−2)·0 − (−3)·0 + (−4)·(−29) = 116

Answer

det A = 116
4.Matrices & determinants

Answer: x = 2.25

Matrices: the determinant of a 2×2 matrix is ad − bc. For 3×3, expand along a row: each entry times the determinant of the 2×2 matrix left after removing its row and column, with alternating signs + − +. Eigenvalues λ solve det(A − λI) = 0; for 2×2 that is λ² − (trace)·λ + det = 0.

Determinant of the coefficient matrix

det A = (−2)·(−4) − (−1)·(−4) = 4

Replace the x column

det Aₓ = (−1)·(−4) − (−1)·5 = 9
x = 9/4 = 2.25

Answer

x = 2.25
y = −3.5
5.Vectors: dot & cross product

Answer: k = 9

Dot product: a·b = axbx + ayby + azbz = |a|·|b|·cos θ, a scalar. It gives the angle between two vectors, cos θ = a·b/(|a|·|b|), and it is zero when they are perpendicular. The scalar projection of a onto b is a·b/|b|, and a constant force F moving through a displacement d does work W = F·d.

Dot product equals zero

a·b = 6·(−1) + 1·k + (−1)·3 = 0
−9 + 1·k = 0

Solve for k

k = −(−9)/1 = 9

Answer

k = 9
6.Vectors: dot & cross product

Answer: n̂x = 0.5345

Cross product: a × b = (aybz − azby, azbx − axbz, axby − aybx) is perpendicular to both vectors, and |a × b| = |a|·|b|·sin θ is the area of the parallelogram they span (the triangle has half of it). Order matters: b × a = −(a × b). The moment of a force F applied at point A about point O is MO = r × F, with r = A − O.

Cross product

(a × b)x = aybz − azby = 3·(−2) − (−1)·0 = −6
(a × b)y = azbx − axbz = (−1)·1 − (−4)·(−2) = −9
(a × b)z = axby − aybx = (−4)·0 − 3·1 = −3

Normalise

The z-component of a × b is negative, so use −(a × b).

|a × b| = √((−6)² + (−9)² + (−3)²) = 11.22
n̂ = −(−6, −9, −3)/11.22 = (0.5345, 0.8018, 0.2673)
n̂x = 0.5345

Answer

n̂x = 0.5345
7.Integrals

Answer: I = 2.944

Integration by parts: ∫u·dv = u·v − ∫v·du, from the product rule. Choose u as the factor that gets simpler when you differentiate it (a power of x, or ln x), and dv as the factor you can integrate (eˣ, sin x, cos x, or x when u = ln x). For a definite integral, evaluate u·v at both limits: ∫ₐᵇ u dv = [u·v]ₐᵇ − ∫ₐᵇ v du. A factor x² needs two rounds.

Choose u and dv

u = ln x, du = dx/x; dv = x dx, v = x²/2

Antiderivative

∫x ln x dx = (x²/2)ln x − ∫(x/2) dx = (x²/2)ln x − x²/4

Limits

(4.5·ln 3 − 2.25) − (0 − 0.25) = 2.944

Answer

I = 2.944
8.Integrals

Answer: A = 1.333

Definite integrals: ∫ₐᵇ f(x) dx is the signed area between the graph and the x-axis from a to b. Find an antiderivative F (with F′ = f) and evaluate F(b) − F(a). Power rule: ∫xⁿ dx = xⁿ⁺¹/(n + 1). The area between two curves is ∫(upper − lower) dx.

Intersection points

x2 = 2x → x = 0, x = 2

Integrate upper minus lower

A = [x2 − 0.3333x3]02 = 1.333

Answer

A = 1.333
9.Multivariable calculus

Answer: Duf = 114.6

Gradient: ∇f = (fx, fy) points in the direction of steepest ascent, and |∇f| is the largest rate of change. The directional derivative along a direction v is Duf = ∇f·u with the unit vector u = v/|v|. The tangent plane at (a, b) is z = f(a, b) + fx(a, b)(x − a) + fy(a, b)(y − b); it gives the linear approximation of f near that point. Chain rule: dz/dt = fx·dx/dt + fy·dy/dt.

Gradient at the point

fx = −4xy² + 6x + 3y → fx(3, 3) = −81
fy = −4x²y + 6y + 3x → fy(3, 3) = −81

Unit vector

|v| = √((−1)² + (−1)²) = 1.414
u = (−0.7071, −0.7071)

Dot product

Duf = (−81)·(−0.7071) + (−81)·(−0.7071) = 114.6

Answer

Duf = 114.6
10.Multivariable calculus

Answer: I = 0.771

Critical points and double integrals: a critical point has fx = fy = 0. Second-derivative test with D = fxxfyy − fxy²: D > 0 and fxx > 0 is a local minimum, D > 0 and fxx < 0 a local maximum, D < 0 a saddle point, and D = 0 decides nothing. For a double integral over a general region, let the inner limits be the curves that bound the region; for discs and sectors use polar coordinates, x = r cos θ, y = r sin θ and dA = r dr dθ (do not forget the factor r).

Polar form

I = ∫0π/2 ∫02 e−r²·r dr dθ

Integrate

∫ e−r²·r dr = [−e−r²/2]
I = 0.771

Answer

I = 0.771
11.Sequences & series

Answer: L = 0.75

Convergence: if the terms do not tend to 0 the series diverges (n-th term test). Σ1/kᵖ converges only for p > 1, and Σrᵏ only for |r| < 1. Compare a series with one of these when its terms behave like them for large k. Ratio test: L = lim |ak+1/ak|; root test: L = lim |ak|1/k. L < 1 converges, L > 1 diverges, L = 1 decides nothing. A power series Σck(x − x₀)ᵏ converges for |x − x₀| < R with R = lim |ck/ck+1|; an alternating series with terms decreasing to 0 converges.

Ratio of consecutive terms

|ak+1/ak| = 3·(k + 1)²/((2k + 2)(2k + 1)) → 3/4

Conclusion

L = 0.75 < 1

Answer

L = 0.75

L < 1, so the series converges.

12.Sequences & series

Answer: |R₄| = 0.00625

Taylor polynomials: near x = a a smooth function is approximated by Pₙ(x) = f(a) + f′(a)(x − a) + f″(a)(x − a)²/2! + … + f⁽ⁿ⁾(a)(x − a)ⁿ/n!; for a = 0 this is the Maclaurin polynomial. Standard series: eˣ = Σxᵏ/k!, sin x = x − x³/3! + x⁵/5! − …, cos x = 1 − x²/2! + x⁴/4! − …, ln(1 + x) = x − x²/2 + x³/3 − …, 1/(1 − x) = Σxᵏ. Lagrange error bound: |f(x) − Pₙ(x)| ≤ M·|x − a|ⁿ⁺¹/(n + 1)!, where M is the largest value of |f⁽ⁿ⁺¹⁾| between a and x.

Bound on the derivative

M = 4! = 24

Lagrange bound

|R₄| ≤ 24·0.5⁵/5! = 0.00625

Answer

|R₄| = 0.00625

The true error is smaller: |f(0.5) − P₄(0.5)| = 0.004423.

13.Laplace transforms

Answer: f(1.2) = 2.809

Laplace transform: F(s) = ∫₀∞ f(t)·e−st dt turns derivatives into multiplications by s: ℒ{f′} = sF(s) − f(0), ℒ{f″} = s²F(s) − s·f(0) − f′(0). Standard pairs: 1 ↔ 1/s, e−at ↔ 1/(s + a), t·e−at ↔ 1/(s + a)², sin ωt ↔ ω/(s² + ω²), cos ωt ↔ s/(s² + ω²), and a shift s → s + σ multiplies the time function by e−σt. To invert a rational F(s), split it into partial fractions: the residue of a simple pole p is A = [(s − p)·F(s)] at s = p. Final value theorem: f(∞) = lims→0 s·F(s), valid only when all poles of s·F(s) lie in the left half-plane. Initial value theorem: f(0⁺) = lims→∞ s·F(s).

Partial fractions

F(s) = A/s + B/(s + 1) + C/(s + 3)
A = 15/(1·3) = 5
B = 15/((−1)·2) = −7.5
C = 15/((−3)·(−2)) = 2.5

Inverse transform

f(t) = 5 − 7.5·e−t + 2.5·e−3t

Evaluate

f(1.2) = 5 − 7.5·e−1.2 + 2.5·e−3·1.2 = 2.809

Answer

f(1.2) = 2.809
14.Laplace transforms

Answer: y(0.1) = 0.8663

Laplace transform: F(s) = ∫₀∞ f(t)·e−st dt turns derivatives into multiplications by s: ℒ{f′} = sF(s) − f(0), ℒ{f″} = s²F(s) − s·f(0) − f′(0). Standard pairs: 1 ↔ 1/s, e−at ↔ 1/(s + a), t·e−at ↔ 1/(s + a)², sin ωt ↔ ω/(s² + ω²), cos ωt ↔ s/(s² + ω²), and a shift s → s + σ multiplies the time function by e−σt. To invert a rational F(s), split it into partial fractions: the residue of a simple pole p is A = [(s − p)·F(s)] at s = p. Final value theorem: f(∞) = lims→0 s·F(s), valid only when all poles of s·F(s) lie in the left half-plane. Initial value theorem: f(0⁺) = lims→∞ s·F(s).

Transform the equation

Y(s) = 225/(s(s + 3)(s + 5))

Partial fractions

A = 225/(3·5) = 15
B = 225/((−3)·2) = −37.5
C = 225/((−5)·(−2)) = 22.5

Output

y(t) = 15 − 37.5·e−3t + 22.5·e−5t
y(0.1) = 0.8663

Answer

y(0.1) = 0.8663
15.Convolution & LTI systems

Answer: y(2.5) = 10

Continuous convolution: y(t) = ∫ x(τ)·h(t − τ) dτ. Flip h, slide it to position t and integrate the product of the overlapping parts. For causal signals the integral runs from 0 to t. Useful results: the area of y is the area of x times the area of h; if x lasts from t₁ to t₂ and h from t₃ to t₄, y lasts from t₁ + t₃ to t₂ + t₄. For h(t) = e−atu(t) and a step of height A, y(t) = (A/a)(1 − e−at).

Overlap of the flipped pulse

h(t − τ) is the pulse of h flipped and shifted so that it ends at τ = t.

τ ∈ [0, 2] → length 2 s

Integral

y(2.5) = 1·5·2 = 10

Answer

y(2.5) = 10

y(t) is a trapezoid: it rises from 0, stays at 10 and falls back to 0 at t = 6 s.

16.Convolution & LTI systems

Answer: h[4] = 0.2048

Impulse response and Fourier series: the impulse response h(t) describes an LTI system completely: for y′ + a·y = b·x it is h(t) = b·e−atu(t), and for y[n] = a·y[n − 1] + b·x[n] it is h[n] = b·aⁿu[n]. A sinusoid cos ωt passes through with gain |H(jω)| and phase ∠H(jω), where H is the Fourier transform of h. A periodic signal is a sum of harmonics at k/T: a square wave of ±A has only odd harmonics with amplitudes 4A/(kπ), a triangle wave of peak A has 8A/(π²k²), and a pulse train of height A and duty cycle D has the mean A·D and the harmonics (2A/(kπ))·|sin(kπD)|.

Iterate

h[0] = 0.5
h[1] = −0.4
h[2] = 0.32
h[3] = −0.256
h[4] = 0.2048

Result

h[4] = 0.5·(−0.8)4 = 0.2048

Answer

h[4] = 0.2048

ExamProblems · examproblems.com/courses/engineering-mathematics-2