mindstair

Home / Courses / Calculus I (Differential & intro Integral) / Unit 7

Calculus I (Differential & intro Integral) Unit 7: Intro differential equations

A differential equation relates a function to its own derivative. This unit covers solving the simplest kind and reading them as pictures.

Covers: Separable equations, slope fields, exponential growth & decay

Study guide

A differential equation relates a function to its derivatives, like dy/dx = 2xy. A solution is a function that makes the equation true; to verify one, substitute it and its derivatives into the equation. The general solution includes a constant C, and an initial condition such as y(0) = 3 picks out the particular solution.

A slope field draws short segments showing dy/dx at many points. You can sketch solution curves by following the segments, and you can match a slope field to its equation by checking simple cases: where are slopes zero, positive or negative, and do they depend only on x, only on y, or both?

Separable equations can be written dy/dx = g(x)h(y). Separate the variables so all y's are on one side with dy and all x's on the other with dx: (1/h(y)) dy = g(x) dx. Integrate both sides, add the constant C right away, use the initial condition to find C, and then solve for y if possible.

The most important example is exponential growth and decay: dy/dt = ky, which says the rate of change is proportional to the amount. Its solution is y = y₀e^(kt). If k > 0 the quantity grows; if k < 0 it decays. This models populations, compound interest, radioactive decay, and cooling (applied to the temperature difference).

To find d²y/dx² from a differential equation, differentiate the formula for dy/dx with respect to x (using implicit differentiation on y-terms), replace each dy/dx with its formula, then evaluate. The sign of the result gives the solution's concavity, and so tells whether a tangent-line estimate is too high or too low. To estimate a solution near a known point (x₀, y₀), plug the point into the differential equation to get the slope m, then use y ≈ y₀ + m(x − x₀).

Newton's law of cooling or warming, dT/dt = k(T − A), has the solution T = A + (T₀ − A)e^(kt), with k < 0. The temperature approaches the surrounding temperature A over time. Integrating (1/y) dy gives ln|y|. Use the sign of the initial value to remove the absolute value, and check that the final formula is defined on an interval containing the initial x-value.

Constant solutions (equilibria) occur at y-values where dy/dx = 0 for every x. In a slope field they show up as horizontal rows of segments that other solution curves never cross.

Key ideas

Formulas and rules

dy/dt = ky ⇒ y = y₀·eᵏᵗ

Common mistakes

Words to know

Separable differential equation
dy/dx = g(x)h(y): separate, integrate both sides, then use the initial condition.
Solution to dy/dt = ky
y = y₀·eᵏᵗ
Slope field
Short segments showing dy/dx at many points.
Verifying a DE solution
Substitute the function and its derivatives and check both sides match.
Constant of integration (C)
Add it right after integrating, before solving for y.
Differential equation
An equation relating a function and its derivatives.
General solution
A family of solutions with a constant C.
Particular solution
The solution fitting a given initial condition.
Initial condition
A known value like y(0) = 3 used to find C.
Exponential growth/decay model
dy/dt = ky → y = y₀e^(kt).
Equilibrium solution
A constant solution where dy/dx = 0.

Sample practice questions

29 more questions like these, from level 1 to 5, are in the practice set.

Question 1 (level 1)

Which function solves y′ = 3y?

  1. y = e^(3x)
  2. y = x³
  3. y = 3x
  4. y = eˣ + 3
Show the answer and steps

Answer: A) y = e^(3x)

  1. Test y = e^(3x): y′ = 3e^(3x).
  2. That equals 3y, so it works.
Question 2 (level 2)

Solve dy/dx = 2x with y(0) = 5.

  1. y = x²
  2. y = 2x + 5
  3. y = x² + 5
  4. y = x² − 5
Show the answer and steps

Answer: C) y = x² + 5

  1. Integrate: y = x² + C.
  2. y(0) = 5 gives C = 5.
  3. y = x² + 5.
Question 3 (level 3)

In the slope field for dy/dx = x, slopes are zero along…

  1. Nowhere
  2. The y-axis (x = 0)
  3. The x-axis (y = 0)
  4. The line y = x
Show the answer and steps

Answer: B) The y-axis (x = 0)

  1. Slope = dy/dx = x.
  2. It's zero where x = 0.
  3. Along the y-axis.