Course contentsShow
← Mathematics
Lesson 2312 of 3,12148. Ordinary Differential EquationsFree lesson

Handling Absolute Values and Domains

Learn when to introduce absolute values during integration and determine solution domains.

Handling Absolute Values and Domains

What you'll learn: How to correctly handle absolute value expressions that appear during integration of separable ODEs and identify the valid domain of your solution.

Why Absolute Values Appear

When solving separable differential equations, you often integrate expressions like ∫(1/y) dy or ∫(1/x) dx. The antiderivative is ln|y| or ln|x|—note the absolute value bars! This isn't optional notation; it matters because the natural logarithm is only defined for positive arguments, but your variable might be negative.

The Integration Reality

When you write:

∫(dy/y) = ln|y| + C

The absolute value acknowledges that y could be positive or negative in different regions. After exponentiating both sides (a common next step), you get:

|y| = e^(expression)

Since e^(anything) is always positive, you then write y = ±e^(expression). The ±sign absorbs into your constant, often written as y = Ae^(expression) where A can be any nonzero constant.

Determining the Domain

Your solution is only valid where:

  1. The original equation is defined (no division by zero, no negative square roots, etc.)
  2. Continuity holds within an interval containing your initial condition

For example, if your solution is y = 1/(x - 2), it's undefined at x = 2. An initial condition at x = 0 means your domain is (-∞, 2), not all real numbers—you can't "jump over" the discontinuity.

Key Takeaway: Always include absolute values when integrating reciprocals, then determine your solution's domain by checking where the original equation and solution remain defined and continuous around your initial condition.