Skip to content

First-Order Linear Nonhomogeneous Differential Equations

Mathematics · FE Reference Handbook section

Mathematics
2 formulas
10 exam-style examples
~49 min
All Mathematics lectures

Core formulas for this FE topic

Definitions, applicability, units, assumptions and worked examples for each relation.

Worked exam-style examples

The four ways this section is written on the real exam — thoughts first, then equations, then substitution.

Example 1
Slope–intercept line — solve for y-value — First-Order Linear Nonhomogeneous Differential Equations

A mathematics problem uses Slope–intercept line. Given slope (m) = 4.6000; x-value (x) = 5.5000; intercept (b) = 1.0000, determine the y-value (y).

Given

  • slope(m)=4.6000slope (m) = 4.6000
  • x−value(x)=5.5000x-value (x) = 5.5000
  • intercept(b)=1.0000intercept (b) = 1.0000

Find

y-value (y)

Start with the thinking

  • The governing relation printed in this handbook section is Slope–intercept line.
  • Everything except y is given, so isolate y symbolically first — never rearrange after the numbers are in.
  • Tabulate each given with its unit and confirm the units are consistent with the relation before substituting.
  • Mathematics items reward recognising the unknown before touching a calculator.

Step-by-step solution

  1. Step 1 — State the governing relation:

    y=mx+by = m x + b
  2. Step 2 — Rearrange the relation so that y stands alone on the left-hand side.

  3. Step 3

    Listthegivens:slope(m)=4.6000,x−value(x)=5.5000,intercept(b)=1.0000List the givens: slope (m) = 4.6000, x-value (x) = 5.5000, intercept (b) = 1.0000
  4. Step 4 — Substitute the given values into the rearranged relation.

  5. Step 5 — Evaluate:

    y=26.3000y = 26.3000
  6. Step 6 — Check: returning y = 26.3000 to

    y=mx+by = m x + b

    reproduces the given quantities, and both sides carry the same units.

Answer:
y=26.3000y = 26.3000

Why the other options are there

  • 52.6000 — kept a factor of two that cancels in the correct rearrangement.
  • 13.1500 — dropped that same factor in the other direction.
  • 28.9300 — rounded an intermediate value before the final step.

Reference: FE Reference Handbook — Mathematics → First-Order Linear Nonhomogeneous Differential Equations

Example 2
Exponential decay — solve for value at t — First-Order Linear Nonhomogeneous Differential Equations (2)

A mathematics problem uses Exponential decay. Given initial value (y0) = 45.0000; decay constant (k) = 1.7500 1/s; time (t) = 0.8500 s, determine the value at t (y).

Given

  • initialvalue(y0)=45.0000initial value (y_{0}) = 45.0000
  • decayconstant(k)=1.75001/sdecay constant (k) = 1.7500 1/s
  • time(t)=0.8500stime (t) = 0.8500 s

Find

value at t (y)

Start with the thinking

  • The governing relation printed in this handbook section is Exponential decay.
  • Everything except y is given, so isolate y symbolically first — never rearrange after the numbers are in.
  • Tabulate each given with its unit and confirm the units are consistent with the relation before substituting.
  • Mathematics items reward recognising the unknown before touching a calculator.

Step-by-step solution

  1. Step 1 — State the governing relation:

    y=y0e−kty = y_0 e^{-k t}
  2. Step 2 — Rearrange the relation so that y stands alone on the left-hand side.

  3. Step 3 — List the givens: initial value (y0) = 45.0000, decay constant (k) = 1.7500 1/s, time (t) = 0.8500 s.

  4. Step 4 — Substitute the given values into the rearranged relation.

  5. Step 5 — Evaluate:

    y=10.1672y = 10.1672
  6. Step 6 — Check: returning y = 10.1672 to

    y=y0e−kty = y_0 e^{-k t}

    reproduces the given quantities, and both sides carry the same units.

Answer:
y=10.1672y = 10.1672

Why the other options are there

  • 20.3343 — kept a factor of two that cancels in the correct rearrangement.
  • 5.0836 — dropped that same factor in the other direction.
  • 11.1839 — rounded an intermediate value before the final step.

Reference: FE Reference Handbook — Mathematics → First-Order Linear Nonhomogeneous Differential Equations

Example 3
First-order linear ODE solution — solve for value at time t — First-Order Linear Nonhomogeneous Differential Equations (3)

temperature decay of a mass concrete pour Given initial value (y_0) = 2.2000 mg/L; rate constant (k) = 0.7000 1/h; elapsed time (t) = 3.2000 h, determine the value at time t (y) in mg/L.

Given

  • initialvalue(y0)=2.2000mg/Linitial value (y_0) = 2.2000 mg/L
  • rateconstant(k)=0.70001/hrate constant (k) = 0.7000 1/h
  • elapsedtime(t)=3.2000helapsed time (t) = 3.2000 h

Find

value at time t (y), in mg/L

Start with the thinking

  • The governing relation printed in this handbook section is First-order linear ODE solution.
  • Everything except y is given, so isolate y symbolically first — never rearrange after the numbers are in.
  • Tabulate each given with its unit and confirm the units are consistent with the relation before substituting.
  • The ODE y' + k y = 0 has the exponential solution shown.

Step-by-step solution

  1. Step 1 — State the governing relation:

    y(t)=y0e−kty(t) = y_0 e^{-k t}
  2. Step 2 — Rearrange symbolically for y:

    y=y=y0e−kty = y = y_0 e^{-k t}
  3. Step 3 — List the givens: initial value (y_0) = 2.2000 mg/L, rate constant (k) = 0.7000 1/h, elapsed time (t) = 3.2000 h.

  4. Step 4 — Substitute the given values:

    y=y=y0e−0.70003.2000y = y = y_0 e^{-0.7000 3.2000}
  5. Step 5 — Evaluate:

    y=0.2342 mg/Ly = 0.2342\ \text{mg/L}
  6. Step 6 — Check: returning y = 0.2342 mg/L to

    y(t)=y0e−kty(t) = y_0 e^{-k t}

    reproduces the given quantities, and both sides carry the same units.

Answer:
y=0.2342 mg/Ly = 0.2342\ \text{mg/L}

Why the other options are there

  • 0.4684 — kept a factor of two that cancels in the correct rearrangement.
  • 0.1171 — dropped that same factor in the other direction.
  • 0.2576 — rounded an intermediate value before the final step.

Reference: FE Handbook — Differential Equations (First Order)

Example 4
Undamped natural frequency (2nd-order ODE) — solve for natural frequency — First-Order Linear Nonhomogeneous Differential Equations (4)

m y'' + k y = 0 gives simple harmonic motion at \omega_n. Given stiffness (k) = 21,625 N/m; mass (m) = 295.8 kg, determine the natural frequency (\omega_n) in rad/s.

Given

  • stiffness(k)=21,625N/mstiffness (k) = 21,625 N/m
  • mass(m)=295.8kgmass (m) = 295.8 kg

Find

natural frequency (\omega_n), in rad/s

Start with the thinking

  • The governing relation printed in this handbook section is Undamped natural frequency (2nd-order ODE).
  • Everything except \omega_n is given, so isolate \omega_n symbolically first — never rearrange after the numbers are in.
  • Tabulate each given with its unit and confirm the units are consistent with the relation before substituting.
  • m y'' + k y = 0 gives simple harmonic motion at \omega_n.

Step-by-step solution

  1. Step 1 — State the governing relation:

    ωn=km\omega_n = \sqrt{\dfrac{k}{m}}
  2. Step 2 — Rearrange symbolically for \omega_n:

    ωn=ωn=km\omega_{n} = \omega_n = \sqrt{\dfrac{k}{m}}
  3. Step 3

    Listthegivens:stiffness(k)=21,625N/m,mass(m)=295.8kgList the givens: stiffness (k) = 21,625 N/m, mass (m) = 295.8 kg
  4. Step 4 — Substitute the given values:

    ωn=ωn=21625295.8\omega_{n} = \omega_n = \sqrt{\dfrac{21625}{295.8}}
  5. Step 5 — Evaluate:

    ωn=8.5503 rad/s\omega_{n} = 8.5503\ \text{rad/s}
  6. Step 6 — Check: returning \omega_n = 8.5503 rad/s to

    ωn=km\omega_n = \sqrt{\dfrac{k}{m}}

    reproduces the given quantities, and both sides carry the same units.

Answer:
ωn=8.5503 rad/s\omega_{n} = 8.5503\ \text{rad/s}

Why the other options are there

  • 17.1005 — kept a factor of two that cancels in the correct rearrangement.
  • 4.2751 — dropped that same factor in the other direction.
  • 9.4053 — rounded an intermediate value before the final step.

Reference: FE Handbook — Differential Equations (Second Order)

Example 5
First-order linear differential equation solution — solve for solution value — First-Order Linear Nonhomogeneous Differential Equations (5)

A student verifies the solution of a linear differential equation at a given time. Given initial condition (y0) = 31.0000; rate constant (k) = 0.1000 1/s; time (t) = 0.9000 s, determine the solution value (y).

Given

  • initialcondition(y0)=31.0000initial condition (y_{0}) = 31.0000
  • rateconstant(k)=0.10001/srate constant (k) = 0.1000 1/s
  • time(t)=0.9000stime (t) = 0.9000 s

Find

solution value (y)

Start with the thinking

  • The governing relation printed in this handbook section is First-order linear differential equation solution.
  • Everything except y is given, so isolate y symbolically first — never rearrange after the numbers are in.
  • Tabulate each given with its unit and confirm the units are consistent with the relation before substituting.
  • This first-order differential equation dy/dt = -k y has the exponential decay solution shown.
xyDifferential equation solution y(t)

Figure 5 — schematic for First-order linear differential equation solution — solve for solution value — First-Order Linear Nonhomogeneous Differential Equations (5)

Step-by-step solution

  1. Step 1 — State the governing relation:

    y=y0e−kty = y_0 e^{-k t}
  2. Step 2 — Rearrange symbolically for y:

    y=y0e−kty = y_0 e^{-kt}
  3. Step 3 — List the givens: initial condition (y0) = 31.0000, rate constant (k) = 0.1000 1/s, time (t) = 0.9000 s.

  4. Step 4 — Substitute the given values:

    y=y0e−k0.9000y = y_0 e^{-k0.9000}
  5. Step 5 — Evaluate:

    y=28.3319y = 28.3319
  6. Step 6 — Check: returning y = 28.3319 to

    y=y0e−kty = y_0 e^{-k t}

    reproduces the given quantities, and both sides carry the same units.

Answer:
y=28.3319y = 28.3319

Why the other options are there

  • 56.6637 — kept a factor of two that cancels in the correct rearrangement.
  • 14.1659 — dropped that same factor in the other direction.
  • 31.1651 — rounded an intermediate value before the final step.

Reference: FE Handbook — Differential Equations

Example 6
Slope–intercept line — solve for slope — First-Order Linear Nonhomogeneous Differential Equations (6)

A mathematics problem uses Slope–intercept line. Given x-value (x) = 5.5000; intercept (b) = 0.5000; y-value (y) = -6.8000, determine the slope (m).

Given

  • x−value(x)=5.5000x-value (x) = 5.5000
  • intercept(b)=0.5000intercept (b) = 0.5000
  • y−value(y)=−6.8000y-value (y) = -6.8000

Find

slope (m)

Start with the thinking

  • The governing relation printed in this handbook section is Slope–intercept line.
  • Everything except m is given, so isolate m symbolically first — never rearrange after the numbers are in.
  • Tabulate each given with its unit and confirm the units are consistent with the relation before substituting.
  • Mathematics items reward recognising the unknown before touching a calculator.

Step-by-step solution

  1. Step 1 — State the governing relation:

    y=mx+by = m x + b
  2. Step 2 — Rearrange the relation so that m stands alone on the left-hand side.

  3. Step 3

    Listthegivens:x−value(x)=5.5000,intercept(b)=0.5000,y−value(y)=−6.8000List the givens: x-value (x) = 5.5000, intercept (b) = 0.5000, y-value (y) = -6.8000
  4. Step 4 — Substitute the given values into the rearranged relation.

  5. Step 5 — Evaluate:

    m=−1.3273m = -1.3273
  6. Step 6 — Check: returning m = -1.3273 to

    y=mx+by = m x + b

    reproduces the given quantities, and both sides carry the same units.

Answer:
m=−1.3273m = -1.3273

Why the other options are there

  • -2.6545 — kept a factor of two that cancels in the correct rearrangement.
  • -0.6636 — dropped that same factor in the other direction.
  • -1.4600 — rounded an intermediate value before the final step.

Reference: FE Reference Handbook — Mathematics → First-Order Linear Nonhomogeneous Differential Equations

Example 7
Exponential decay — solve for initial value — First-Order Linear Nonhomogeneous Differential Equations (7)

A mathematics problem uses Exponential decay. Given decay constant (k) = 0.5000 1/s; time (t) = 0.4500 s; value at t (y) = 49.6900, determine the initial value (y0).

Given

  • decayconstant(k)=0.50001/sdecay constant (k) = 0.5000 1/s
  • time(t)=0.4500stime (t) = 0.4500 s
  • valueatt(y)=49.6900value at t (y) = 49.6900

Find

initial value (y0)

Start with the thinking

  • The governing relation printed in this handbook section is Exponential decay.
  • Everything except y0 is given, so isolate y0 symbolically first — never rearrange after the numbers are in.
  • Tabulate each given with its unit and confirm the units are consistent with the relation before substituting.
  • Mathematics items reward recognising the unknown before touching a calculator.

Step-by-step solution

  1. Step 1 — State the governing relation:

    y=y0e−kty = y_0 e^{-k t}
  2. Step 2 — Rearrange the relation so that y0 stands alone on the left-hand side.

  3. Step 3

    Listthegivens:decayconstant(k)=0.50001/s,time(t)=0.4500s,valueatt(y)=49.6900List the givens: decay constant (k) = 0.5000 1/s, time (t) = 0.4500 s, value at t (y) = 49.6900
  4. Step 4 — Substitute the given values into the rearranged relation.

  5. Step 5 — Evaluate:

    y0=62.2279y_{0} = 62.2279
  6. Step 6 — Check: returning y0 = 62.2279 to

    y=y0e−kty = y_0 e^{-k t}

    reproduces the given quantities, and both sides carry the same units.

Answer:
y0=62.2279y_{0} = 62.2279

Why the other options are there

  • 124.5 — kept a factor of two that cancels in the correct rearrangement.
  • 31.1140 — dropped that same factor in the other direction.
  • 68.4507 — rounded an intermediate value before the final step.

Reference: FE Reference Handbook — Mathematics → First-Order Linear Nonhomogeneous Differential Equations

Example 8
First-order linear ODE solution — solve for initial value — First-Order Linear Nonhomogeneous Differential Equations (8)

chlorine residual decay in a storage tank Given value at time t (y) = 4.8000 mg/L; rate constant (k) = 0.8000 1/h; elapsed time (t) = 1.6000 h, determine the initial value (y_0) in mg/L.

Given

  • valueattimet(y)=4.8000mg/Lvalue at time t (y) = 4.8000 mg/L
  • rateconstant(k)=0.80001/hrate constant (k) = 0.8000 1/h
  • elapsedtime(t)=1.6000helapsed time (t) = 1.6000 h

Find

initial value (y_0), in mg/L

Start with the thinking

  • The governing relation printed in this handbook section is First-order linear ODE solution.
  • Everything except y_0 is given, so isolate y_0 symbolically first — never rearrange after the numbers are in.
  • Tabulate each given with its unit and confirm the units are consistent with the relation before substituting.
  • The ODE y' + k y = 0 has the exponential solution shown.

Step-by-step solution

  1. Step 1 — State the governing relation:

    y(t)=y0e−kty(t) = y_0 e^{-k t}
  2. Step 2 — Rearrange symbolically for y_0:

    y0=y0=yekty_{0} = y_0 = y e^{k t}
  3. Step 3 — List the givens: value at time t (y) = 4.8000 mg/L, rate constant (k) = 0.8000 1/h, elapsed time (t) = 1.6000 h.

  4. Step 4 — Substitute the given values:

    y0=y0=4.8000e0.80001.6000y_{0} = y_0 = 4.8000 e^{0.8000 1.6000}
  5. Step 5 — Evaluate:

    y0=17.2639 mg/Ly_{0} = 17.2639\ \text{mg/L}
  6. Step 6 — Check: returning y_0 = 17.2639 mg/L to

    y(t)=y0e−kty(t) = y_0 e^{-k t}

    reproduces the given quantities, and both sides carry the same units.

Answer:
y0=17.2639 mg/Ly_{0} = 17.2639\ \text{mg/L}

Why the other options are there

  • 34.5277 — kept a factor of two that cancels in the correct rearrangement.
  • 8.6319 — dropped that same factor in the other direction.
  • 18.9903 — rounded an intermediate value before the final step.

Reference: FE Handbook — Differential Equations (First Order)

Example 9
Undamped natural frequency (2nd-order ODE) — solve for stiffness — First-Order Linear Nonhomogeneous Differential Equations (9)

m y'' + k y = 0 gives simple harmonic motion at \omega_n. Given natural frequency (\omega_n) = 49.0000 rad/s; mass (m) = 261.5 kg, determine the stiffness (k) in N/m.

Given

  • naturalfrequency(ωn)=49.0000rad/snatural frequency (\omega_n) = 49.0000 rad/s
  • mass(m)=261.5kgmass (m) = 261.5 kg

Find

stiffness (k), in N/m

Start with the thinking

  • The governing relation printed in this handbook section is Undamped natural frequency (2nd-order ODE).
  • Everything except k is given, so isolate k symbolically first — never rearrange after the numbers are in.
  • Tabulate each given with its unit and confirm the units are consistent with the relation before substituting.
  • m y'' + k y = 0 gives simple harmonic motion at \omega_n.

Step-by-step solution

  1. Step 1 — State the governing relation:

    ωn=km\omega_n = \sqrt{\dfrac{k}{m}}
  2. Step 2 — Rearrange symbolically for k:

    k=k=m ωn2k = k = m\,\omega_n^2
  3. Step 3

    Listthegivens:naturalfrequency(ωn)=49.0000rad/s,mass(m)=261.5kgList the givens: natural frequency (\omega_n) = 49.0000 rad/s, mass (m) = 261.5 kg
  4. Step 4 — Substitute the given values:

    k=k=261.5 ωn2k = k = 261.5\,\omega_n^2
  5. Step 5 — Evaluate:

    k=627862 N/mk = 627862\ \text{N/m}
  6. Step 6 — Check: returning k = 627,862 N/m to

    ωn=km\omega_n = \sqrt{\dfrac{k}{m}}

    reproduces the given quantities, and both sides carry the same units.

Answer:
k=627862 N/mk = 627862\ \text{N/m}

Why the other options are there

  • 1,255,723 — kept a factor of two that cancels in the correct rearrangement.
  • 313,931 — dropped that same factor in the other direction.
  • 690,648 — rounded an intermediate value before the final step.

Reference: FE Handbook — Differential Equations (Second Order)

Example 10
First-order linear differential equation solution — solve for initial condition — First-Order Linear Nonhomogeneous Differential Equations (10)

The differential equation for radioactive decay is solved for the initial quantity. Given rate constant (k) = 1.4000 1/s; time (t) = 3.3500 s; solution value (y) = 13.8100, determine the initial condition (y0).

Given

  • rateconstant(k)=1.40001/srate constant (k) = 1.4000 1/s
  • time(t)=3.3500stime (t) = 3.3500 s
  • solutionvalue(y)=13.8100solution value (y) = 13.8100

Find

initial condition (y0)

Start with the thinking

  • The governing relation printed in this handbook section is First-order linear differential equation solution.
  • Everything except y0 is given, so isolate y0 symbolically first — never rearrange after the numbers are in.
  • Tabulate each given with its unit and confirm the units are consistent with the relation before substituting.
  • This first-order differential equation dy/dt = -k y has the exponential decay solution shown.
xyDifferential equation solution y(t)

Figure 10 — schematic for First-order linear differential equation solution — solve for initial condition — First-Order Linear Nonhomogeneous Differential Equations (10)

Step-by-step solution

  1. Step 1 — State the governing relation:

    y=y0e−kty = y_0 e^{-k t}
  2. Step 2 — Rearrange symbolically for y0:

    y0=ye−kty_{0} = \dfrac{y}{e^{-kt}}
  3. Step 3 — List the givens: rate constant (k) = 1.4000 1/s, time (t) = 3.3500 s, solution value (y) = 13.8100.

  4. Step 4 — Substitute the given values:

    y0=13.8100e−k3.3500y_{0} = \dfrac{13.8100}{e^{-k3.3500}}
  5. Step 5 — Evaluate:

    y0=1503y_{0} = 1503
  6. Step 6 — Check: returning y0 = 1,503 to

    y=y0e−kty = y_0 e^{-k t}

    reproduces the given quantities, and both sides carry the same units.

Answer:
y0=1503y_{0} = 1503

Why the other options are there

  • 3,007 — kept a factor of two that cancels in the correct rearrangement.
  • 751.6 — dropped that same factor in the other direction.
  • 1,654 — rounded an intermediate value before the final step.

Reference: FE Handbook — Differential Equations

© 2026 Dr. Steve Efe. Civil Engineering Capstone Studio. All rights reserved.