Calculus IUnit 412 min read

First‑Order Differential Equations – Types, Solution Methods & Applications

Unit 4 of Calculus I introduces first‑order differential equations, covering definitions, classification, solution techniques (separable, linear, exact, Bernoulli, homogeneous), worked examples, and real‑world uses in Nepalese apps and industries.

Key points

  • Recognize the five standard forms of first‑order ODEs and choose the appropriate solving technique.
  • Master the integrating‑factor method for linear equations and the substitution for Bernoulli equations.
  • Verify exactness and construct an integrating factor when needed.
  • Translate real phenomena (population growth, loan interest, queue dynamics) into first‑order ODEs and solve them.
  • Use slope fields and phase lines to interpret qualitative behavior of solutions.

1. What is a First‑Order Differential Equation?

A first‑order ordinary differential equation (ODE) relates an unknown function to its first derivative :

If the equation can be written explicitly as

it is called explicit; otherwise it is implicit. The solution is a family of curves that satisfy the relation for all in an interval.


2. Classification of First‑Order ODEs

Type Standard Form Typical Substitution / Technique Example
Separable Separate variables:
Linear Integrating factor
Exact with Find potential function such that
Bernoulli ( ) Substitute → linear in
Homogeneous (in ) Set →

3. Solution Techniques

3.1 Separable Equations

  1. Write as .
  2. Integrate both sides.
  3. Solve for (if possible) and apply the initial condition.

Worked Example 1 – Bacterial Growth

The growth rate of a bacterial culture is proportional to its current size:

Separate: .

Integrate: .

Exponentiate: . Use → .

Final solution:

12345678910-10000-8000-6000-4000-2000200040006000800010000xyk=0.3k=0.6
Exponential bacterial growth for different rate constants k

3.2 Linear Equations

Given :

  1. Compute integrating factor .
  2. Multiply the whole equation by .
  3. Left side becomes .
  4. Integrate and solve for .

Worked Example 2 – Loan Interest (eSewa)

A micro‑loan of NPR 10,000 accrues interest at a continuous rate of 12 % per year, while the borrower repays at a constant rate of NPR 1500 per month (≈ NPR 18000 yr). Let be the outstanding amount (years).

Here .

Integrating factor: .

Multiply: .

Integrate:

Apply :

Solution:

The loan is fully repaid when :

12345678910-10000-8000-6000-4000-2000200040006000800010000xyBalance(0.54, 0)
Outstanding loan balance vs. time (NPR)

3.3 Exact Equations

An equation is exact if .

Procedure:

  1. Verify exactness.
  2. Find such that .
  3. Integrate w.r.t. and add a “function of ”.
  4. Differentiate w.r.t. and match with to determine the missing function.
  5. Implicit solution: .

Worked Example 3 – Daraz Order Queue

Consider the differential relation for the number of pending orders and the rate of new orders :

Rewrite as → .

Check exactness:

Since they are equal, the equation is exact.

Potential function:

Differentiate w.r.t. :

Implicit solution:

If initially , then . Solving for gives the queue size at any time.

24681012141618202.533.544.55yQ(t)
Order queue size over time

3.4 Bernoulli Equations

Form: .

Steps:

  1. Divide by (if ).
  2. Set → .
  3. Obtain a linear ODE in .
  4. Solve for and revert to .

Worked Example 4 – Logistic‑type Growth (NTC network users)

Let be the number of NTC subscribers (in thousands). The growth follows

Rewrite as . This is Bernoulli with .

Divide by :

Set → .

Thus → .

Linear ODE: integrating factor .

Integrate:

Recall :

If initially (i.e., 200 k subscribers), then

Hence

The model predicts a saturation level of  k subscribers, matching NTC’s market ceiling.

2468101214161820200040006000800010000xyU(t)
NTC subscriber growth (logistic model)

3.5 Homogeneous Equations

If , substitute → and .

The resulting equation in and is separable.

Worked Example 5 – Traffic Flow in Kathmandu

Let be the average traffic density (vehicles/km) on a main road, and assume the rate of change obeys

This is homogeneous because is a function of the ratio . Set → , .

Plug in:

Separate: .

Integrate: .

Thus and .

If at  hour the density is 30 veh/km and , then

Hence . The model shows a sub‑linear increase in density over time, useful for planning signal timings.

510152050100150200250300350400xyR(t)
Kathmandu traffic density vs. time

4. Qualitative Tools

4.1 Slope Fields

A slope field visualises the direction field of . Each small line segment at has slope . Solution curves are curves that are tangent to these segments.

-2-1.5-1-0.50.511.52-2-1.5-1-0.50.511.52xyy = x
Example slope field for dy/dx = x

4.2 Phase Lines

For autonomous equations , a phase line shows equilibrium points and stability.

-101y=0
Phase line for dy/dt = -y

5. Comparison of Methods

Method When to use Strength Weakness
Separation Direct, minimal algebra Not applicable to most ODEs
Integrating factor Linear Systematic, works for any linear ODE Requires integration of
Exactness with Gives implicit solution without solving for Exactness rare; may need integrating factor
Bernoulli Non‑linear with power term Reduces to linear Only for specific exponent
Homogeneous Simple substitution Limited to ratio‑dependent forms

6. Applications in Engineering & Everyday Life

  • RC circuits: Voltage across a capacitor satisfies (linear ODE).
  • Population dynamics: Logistic growth is a Bernoulli equation.
  • Chemical reactor design: Rate laws often lead to separable ODEs.
  • Queueing systems (e.g., Daraz, Pathao): Arrival‑service balance yields linear ODEs for expected queue length.
  • Bank loan amortization: Continuous compounding leads to linear ODEs as shown in Example 2.

7. In the real world

  • eSewa – The platform’s transaction‑fee model uses a linear ODE similar to Example 2: the fee accrues continuously while the merchant’s balance is reduced by a constant withdrawal rate.
  • NTC – Subscriber growth follows the logistic‑type Bernoulli equation (Example 4), explaining why the market saturates near 400 k users.
  • Daraz order queue – The daily influx of orders and constant processing rate produce an exact ODE (Example 3), allowing the operations team to predict pending orders at any hour.

These concrete cases show that the abstract techniques taught here directly support decision‑making in Nepal’s leading tech companies.


8. Worked Example Tied to a Real Situation

Problem: A bank offers a personal loan of NPR 500,000 at a continuous interest rate of 10 % per year. The borrower agrees to repay at a constant continuous rate of NPR 80,000 per year. Determine (a) the outstanding balance after 3 years, and (b) the time when the loan is fully repaid.

Solution follows the linear ODE in Example 2 with , , and repayment rate .

Integrating factor .

Integrate:

Apply : .

Thus

(a) At :

(b) Set :

So the loan is cleared after roughly 4 years 10 months.

123456-10000-8000-6000-4000-2000200040006000800010000xyBalance(4.84, 0)
Loan balance over time (bank example)

9. Common Mistakes to Avoid

Mistake Why it’s wrong Correct approach
Forgetting to multiply by the integrating factor in linear ODEs The left side will not become an exact derivative Always compute and multiply the whole equation
Assuming exactness without checking Leads to incorrect potential function Verify exactness first; if false, look for an integrating factor
Mixing up the substitution for Bernoulli (using instead of ) Produces the wrong linear ODE Remember
Ignoring the domain when taking logarithms (e.g., ) May lose sign information Keep absolute values or restrict to intervals where retains sign
Treating a homogeneous ODE as separable The separation step fails Use substitution instead

10. Exam tip

  • Identify the form first: The first line of any ODE in the exam will hint at its class (look for products of functions of and , linear‑looking terms, or a ratio ).
  • Write a quick decision tree (the mermaid diagram above) on scrap paper; it saves time deciding which method to apply.
  • Always check exactness before searching for an integrating factor; the check is a single partial‑derivative computation.
  • When using an integrating factor, compute carefully; a missed constant does not affect but a sign error does.
  • For Bernoulli, rewrite the equation so the right‑hand side is exactly ; then perform the substitution without algebraic slip.
  • Show work: Even if you finish early, write each step (separation, integration, back‑substitution). Marks are awarded for the process, not just the final answer.

Good luck!

Based on the PU BE Computer (PU) syllabus for Calculus I, unit 4.

Discussion

Loading…