Solved Exercises on Separable Differential Equations

Master separable differential equations: identification, solving methods, and applications through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Basic separable equation
Exercise 1
Solve the differential equation:
\(\frac{dy}{dx} = 3x^2y\)
Definition:

Separable differential equation: An equation of the form \(\frac{dy}{dx} = g(x)h(y)\) where the variables can be separated so that all x terms appear on one side and all y terms on the other.

Solution method:
  1. Write the equation in the form \(\frac{dy}{dx} = g(x)h(y)\)
  2. Separate variables: \(\frac{1}{h(y)} dy = g(x) dx\)
  3. Integrate both sides
  4. Solve for y in terms of x (if possible)
Original equation
\(\frac{dy}{dx} = 3x^2y\)
Separation
\(\frac{1}{y} dy = 3x^2 dx\)
Integration
\(\ln|y| = x^3 + C\)
Step 1: Verify the equation is separable

\(\frac{dy}{dx} = 3x^2y\)

This can be written as \(\frac{dy}{dx} = g(x)h(y)\) where \(g(x) = 3x^2\) and \(h(y) = y\)

Yes, the equation is separable.

Step 2: Separate variables

Divide both sides by \(y\) (assuming \(y \neq 0\)):

\(\frac{1}{y} \frac{dy}{dx} = 3x^2\)

\(\frac{1}{y} dy = 3x^2 dx\)

Step 3: Integrate both sides

\(\int \frac{1}{y} dy = \int 3x^2 dx\)

\(\ln|y| = \frac{3x^3}{3} + C_1\)

\(\ln|y| = x^3 + C_1\)

Step 4: Solve for y

\(|y| = e^{x^3 + C_1}\)

\(|y| = e^{C_1} \cdot e^{x^3}\)

Let \(C = e^{C_1}\) (where \(C > 0\))

\(y = \pm Ce^{x^3}\)

Since \(C\) can be any non-zero real number, we can write: \(y = Ce^{x^3}\)

Note: \(y = 0\) is also a solution (trivial solution)

Step 5: General solution

The general solution is: \(y = Ce^{x^3}\) where \(C\) is an arbitrary constant

(This includes the trivial solution when \(C = 0\))

\(y = Ce^{x^3}\)
Final answer:

The general solution is \(y = Ce^{x^3}\) where \(C\) is an arbitrary constant.

Applied rules:

• Separation of variables: Move all y terms to one side, all x terms to the other

• Integration: \(\int \frac{1}{y} dy = \ln|y| + C\)

• Exponential property: \(e^{a+b} = e^a \cdot e^b\)

Tip: Always include absolute value when integrating \(\frac{1}{y}\), then absorb the sign into the constant.
Caution: Check for trivial solutions (like y = 0) that might be lost during division.
2 Initial value problem
Exercise 2
Solve the initial value problem:
\(\frac{dy}{dx} = \frac{x}{y}\), with \(y(0) = 2\)
Definition:

Initial value problem (IVP): A differential equation with specified initial conditions that allows determining the particular solution.

Original IVP
\(\frac{dy}{dx} = \frac{x}{y}\), \(y(0) = 2\)
General solution
\(y^2 = x^2 + C\)
Particular solution
\(y^2 = x^2 + 4\)
Step 1: Verify the equation is separable

\(\frac{dy}{dx} = \frac{x}{y}\)

This can be written as \(\frac{dy}{dx} = g(x)h(y)\) where \(g(x) = x\) and \(h(y) = \frac{1}{y}\)

Yes, the equation is separable.

Step 2: Separate variables

Multiply both sides by \(y\):

\(y \frac{dy}{dx} = x\)

\(y dy = x dx\)

Step 3: Integrate both sides

\(\int y dy = \int x dx\)

\(\frac{y^2}{2} = \frac{x^2}{2} + C_1\)

\(y^2 = x^2 + 2C_1\)

Let \(C = 2C_1\):

\(y^2 = x^2 + C\)

Step 4: Apply initial condition

Using \(y(0) = 2\):

\(2^2 = 0^2 + C\)

\(4 = C\)

Step 5: Write the particular solution

\(y^2 = x^2 + 4\)

Since \(y(0) = 2 > 0\), we take the positive root:

\(y = \sqrt{x^2 + 4}\)

Step 6: Verification

Check: \(\frac{dy}{dx} = \frac{x}{\sqrt{x^2 + 4}} = \frac{x}{y}\) ✓

Check: \(y(0) = \sqrt{0 + 4} = 2\) ✓

\(y = \sqrt{x^2 + 4}\)
Final answer:

The particular solution is \(y = \sqrt{x^2 + 4}\).

Applied rules:

• Separation of variables: \(y dy = x dx\)

• Integration: \(\int x dx = \frac{x^2}{2} + C\)

• Initial condition: Use given condition to find the specific value of the constant

Tip: Always verify your particular solution by substituting back into the original equation and checking the initial condition.
Domain: Note that \(y = \sqrt{x^2 + 4}\) is always positive, matching the initial condition.
3 Identifying separable equations
Exercise 3
Determine which of the following equations are separable:
a) \(\frac{dy}{dx} = x + y\)
b) \(\frac{dy}{dx} = x^2y^3\)
c) \(\frac{dy}{dx} = \frac{x+y}{xy}\)
d) \(\frac{dy}{dx} = \sin(xy)\)
Definition:

Separable form: A differential equation is separable if it can be written as \(\frac{dy}{dx} = g(x)h(y)\) where all x terms are in \(g(x)\) and all y terms are in \(h(y)\).

Equation a
Not separable
Equation b
Separable: \(g(x)=x^2\), \(h(y)=y^3\)
Equation c
Separable: \(g(x)=\frac{1}{x}+\frac{1}{y}\), \(h(y)=1\)
Equation d
Not separable
Step 1: Analyze equation (a)

\(\frac{dy}{dx} = x + y\)

This cannot be written as \(g(x)h(y)\) because the terms \(x\) and \(y\) are added together

No way to separate them into a product of functions of x and y separately

Therefore, this equation is NOT separable

Step 2: Analyze equation (b)

\(\frac{dy}{dx} = x^2y^3\)

This can be written as \(\frac{dy}{dx} = g(x)h(y)\) where:

\(g(x) = x^2\) and \(h(y) = y^3\)

Separation: \(\frac{1}{y^3} dy = x^2 dx\)

Therefore, this equation IS separable

Step 3: Analyze equation (c)

\(\frac{dy}{dx} = \frac{x+y}{xy}\)

Algebraic manipulation: \(\frac{dy}{dx} = \frac{x}{xy} + \frac{y}{xy} = \frac{1}{y} + \frac{1}{x}\)

This cannot be written as a product \(g(x)h(y)\) because it's a sum of terms

Therefore, this equation is NOT separable

Step 4: Analyze equation (d)

\(\frac{dy}{dx} = \sin(xy)\)

The argument of sine is the product \(xy\), not a sum or difference

Cannot separate \(x\) and \(y\) in \(\sin(xy)\) into a product of separate functions

Therefore, this equation is NOT separable

Step 5: Summary

Only equation (b) is separable

For separable equations, we can write \(\frac{dy}{dx} = g(x)h(y)\) and then rearrange to \(\frac{1}{h(y)}dy = g(x)dx\)

a) No, b) Yes, c) No, d) No
Final answer:

Only equation (b) \(\frac{dy}{dx} = x^2y^3\) is separable. Equations (a), (c), and (d) are not separable.

Applied rules:

• Separability test: Can equation be written as \(\frac{dy}{dx} = g(x)h(y)\)?

• Product form: Look for equations that are products of x and y functions

• Sum/difference restriction: Addition/subtraction of x and y prevents separability

Tip: Products of functions of x and y separately are separable, sums/differences are not.
Caution: Trigonometric functions of products like sin(xy) are not separable.
Separable Differential Equations: Complete Guide
\(\frac{dy}{dx} = g(x)h(y)\)
General Form of Separable Equation
Separation
\(\frac{1}{h(y)} dy = g(x) dx\)
After variable separation
Integration
\(\int \frac{1}{h(y)} dy = \int g(x) dx\)
Integrated form
General Solution
\(H(y) = G(x) + C\)
After integration
Key definitions:

Separable differential equation: A first-order differential equation that can be written in the form \(\frac{dy}{dx} = g(x)h(y)\) where all x terms are in one function and all y terms are in another.

Implicit solution: A solution of the form \(F(x,y) = C\) where y is not explicitly solved for in terms of x.

Explicit solution: A solution where y is expressed explicitly as a function of x: \(y = f(x)\).

Initial value problem: A differential equation with specified initial conditions to determine the particular solution.

Solution methodology:
  1. Verify separability: Check if equation can be written as \(\frac{dy}{dx} = g(x)h(y)\)
  2. Separate variables: Rearrange to \(\frac{1}{h(y)} dy = g(x) dx\)
  3. Integrate both sides: \(\int \frac{1}{h(y)} dy = \int g(x) dx\)
  4. Solve for y: If possible, express y explicitly in terms of x
  5. Apply initial conditions: If given, find the particular solution
  6. Verify solution: Check by substitution into the original equation
Tip 1: Always check for division by zero when separating variables (like y = 0).
Tip 2: Include absolute values when integrating \(\frac{1}{y}\) and absorb signs into constants.
Tip 3: Verify solutions by substituting back into the original equation.
Tip 4: Some separable equations yield implicit solutions that cannot be solved explicitly.
Common errors: Forgetting to separate variables properly, misapplying integration rules, ignoring special solutions.
Applications: Population growth, radioactive decay, Newton's law of cooling, mixing problems, and many physical systems.
Essential formulas:

• Separation form: \(\frac{dy}{dx} = g(x)h(y) \Rightarrow \frac{1}{h(y)} dy = g(x) dx\)

• Integration: \(\int \frac{1}{h(y)} dy = \int g(x) dx\)

• General solution: \(H(y) = G(x) + C\) where H and G are antiderivatives

• Initial value: Use \(y(x_0) = y_0\) to find the specific constant C

Solution: Exercises 4 to 5
4 Exponential growth model
Exercise 4
A bacterial culture grows at a rate proportional to its size. If the initial population is 500 and it triples in 4 hours, find the population at any time t and how long it takes to reach 5000 bacteria.
Definition:

Exponential growth model: A model where the rate of change of a quantity is proportional to the quantity itself, described by \(\frac{dP}{dt} = kP\).

Model equation
\(\frac{dP}{dt} = kP\)
General solution
\(P(t) = P_0 e^{kt}\)
Particular solution
\(P(t) = 500e^{\frac{\ln(3)}{4}t}\)
Step 1: Set up the differential equation

"Rate of growth is proportional to population size" means:

\(\frac{dP}{dt} = kP\)

where \(P\) is the population, \(t\) is time, and \(k\) is the positive proportionality constant.

Step 2: Solve the differential equation

This is a separable equation:

\(\frac{dP}{P} = k dt\)

\(\int \frac{dP}{P} = \int k dt\)

\(\ln|P| = kt + C\)

\(|P| = e^{kt+C} = e^C e^{kt}\)

\(P(t) = P_0 e^{kt}\)

where \(P_0 = \pm e^C\) is determined by initial conditions.

Step 3: Apply initial condition

Given: \(P(0) = 500\)

\(500 = P_0 e^{k \cdot 0} = P_0 \cdot 1\)

So \(P_0 = 500\)

Step 4: Find the growth constant k

Given: Population triples in 4 hours, so \(P(4) = 3 \times 500 = 1500\)

\(1500 = 500e^{4k}\)

\(3 = e^{4k}\)

\(\ln(3) = 4k\)

\(k = \frac{\ln(3)}{4}\)

Step 5: Write the population function

\(P(t) = 500e^{\frac{\ln(3)}{4}t}\)

This can also be written as: \(P(t) = 500 \cdot 3^{t/4}\)

Step 6: Find when P(t) = 5000

Set \(P(t) = 5000\):

\(5000 = 500e^{\frac{\ln(3)}{4}t}\)

\(10 = e^{\frac{\ln(3)}{4}t}\)

\(\ln(10) = \frac{\ln(3)}{4}t\)

\(t = \frac{4\ln(10)}{\ln(3)}\)

\(t \approx \frac{4 \times 2.303}{1.099} \approx 8.4\) hours

\(P(t) = 500e^{\frac{\ln(3)}{4}t}\), reaches 5000 at ~8.4 hours
Final answer:

The population at any time t is \(P(t) = 500e^{\frac{\ln(3)}{4}t}\), and it reaches 5000 bacteria after approximately 8.4 hours.

Applied rules:

• Exponential growth model: \(\frac{dP}{dt} = kP \Rightarrow P(t) = P_0e^{kt}\)

• Initial value problem: Use given conditions to determine constants

• Logarithmic properties: \(\ln(e^x) = x\) and \(e^{\ln(x)} = x\)

Tip: Many real-world phenomena follow exponential models: population growth, radioactive decay, compound interest.
Limitation: Pure exponential growth models are idealized and don't account for resource limitations.
5 Newton's law of cooling
Exercise 5
A pizza at 200°F is taken out of the oven and placed in a room at 70°F. After 15 minutes, the temperature is 150°F. Find the temperature at any time t and when it will reach 100°F.
Definition:

Newton's law of cooling: The rate of temperature change of an object is proportional to the difference between its temperature and the ambient temperature.

Model equation
\(\frac{dT}{dt} = -k(T-T_a)\)
General solution
\(T(t) = T_a + (T_0-T_a)e^{-kt}\)
Particular solution
\(T(t) = 70 + 130e^{-\frac{\ln(13/8)}{15}t}\)
Step 1: Set up the differential equation

Newton's law of cooling states:

\(\frac{dT}{dt} = -k(T-T_a)\)

where \(T\) is the object's temperature, \(T_a = 70°F\) is ambient temperature, and \(k > 0\) is a constant.

Initial conditions: \(T(0) = 200°F\), \(T(15) = 150°F\)

Step 2: Solve the differential equation

This is a separable equation:

\(\frac{dT}{T-T_a} = -k dt\)

\(\int \frac{dT}{T-T_a} = \int -k dt\)

\(\ln|T-T_a| = -kt + C\)

\(|T-T_a| = e^{-kt+C} = e^C e^{-kt}\)

\(T-T_a = Ae^{-kt}\) where \(A = \pm e^C\)

\(T(t) = T_a + Ae^{-kt}\)

Step 3: Apply the initial condition

At \(t = 0\), \(T(0) = 200°F\):

\(200 = 70 + Ae^{-k \cdot 0}\)

\(200 = 70 + A\)

\(A = 130\)

So \(T(t) = 70 + 130e^{-kt}\)

Step 4: Find the cooling constant k

At \(t = 15\), \(T(15) = 150°F\):

\(150 = 70 + 130e^{-15k}\)

\(80 = 130e^{-15k}\)

\(\frac{80}{130} = e^{-15k}\)

\(\frac{8}{13} = e^{-15k}\)

\(\ln\left(\frac{8}{13}\right) = -15k\)

\(k = -\frac{1}{15}\ln\left(\frac{8}{13}\right) = \frac{1}{15}\ln\left(\frac{13}{8}\right)\)

Step 5: Find when T(t) = 100°F

Set \(T(t) = 100\):

\(100 = 70 + 130e^{-\frac{\ln(13/8)}{15}t}\)

\(30 = 130e^{-\frac{\ln(13/8)}{15}t}\)

\(\frac{30}{130} = e^{-\frac{\ln(13/8)}{15}t}\)

\(\frac{3}{13} = e^{-\frac{\ln(13/8)}{15}t}\)

\(\ln\left(\frac{3}{13}\right) = -\frac{\ln(13/8)}{15}t\)

\(t = \frac{15\ln(3/13)}{-\ln(13/8)} = \frac{15\ln(13/3)}{\ln(13/8)}\)

\(t \approx \frac{15 \times 1.466}{0.485} \approx 45.3\) minutes

\(T(t) = 70 + 130e^{-\frac{\ln(13/8)}{15}t}\), reaches 100°F at ~45.3 minutes
Final answer:

The temperature at any time t is \(T(t) = 70 + 130e^{-\frac{\ln(13/8)}{15}t}\), and it reaches 100°F after approximately 45.3 minutes.

Applied rules:

• Newton's law of cooling: \(\frac{dT}{dt} = -k(T-T_a)\)

• Exponential decay: Solution is exponential approach to equilibrium

• Logarithmic manipulation: Used to solve for time and constants

Tip: The temperature approaches ambient temperature exponentially but never quite reaches it.
Real-world: Newton's law is an approximation that works well when temperature differences are moderate.
Comprehensive Summary: Separable Differential Equations
\(\frac{dy}{dx} = g(x)h(y)\)
General Form of Separable Equation
Key definitions:

Separable differential equation: A first-order differential equation that can be written in the form \(\frac{dy}{dx} = g(x)h(y)\) where all x terms are in one function and all y terms are in another function. This allows the variables to be separated on opposite sides of the equation.

Separation of variables: The process of rearranging a separable equation to the form \(\frac{1}{h(y)} dy = g(x) dx\) so that each variable appears on a different side of the equation.

Implicit solution: A solution expressed as \(F(x,y) = C\) where y is not explicitly solved for in terms of x.

Explicit solution: A solution where y is expressed explicitly as a function of x: \(y = f(x)\).

Initial value problem (IVP): A differential equation with specified initial conditions of the form \(y(x_0) = y_0\) to determine the particular solution.

General solution: The family of all solutions containing an arbitrary constant.

Particular solution: A specific solution obtained by assigning a particular value to the arbitrary constant using initial conditions.

Complete solution methodology:
  1. Verification: Confirm the equation is separable by writing it as \(\frac{dy}{dx} = g(x)h(y)\)
  2. Separation: Rearrange to \(\frac{1}{h(y)} dy = g(x) dx\), being careful about division by zero
  3. Integration: Integrate both sides: \(\int \frac{1}{h(y)} dy = \int g(x) dx\)
  4. Simplification: Combine constants and simplify the resulting expression
  5. Explicit form: If possible, solve for y explicitly in terms of x
  6. Initial conditions: If given, substitute to find the particular solution
  7. Verification: Check the solution by substituting back into the original equation
  8. Domain consideration: Determine the domain where the solution is valid
Tip 1: Always check for division by zero when separating variables (especially y = 0 cases).
Tip 2: Include absolute values when integrating \(\frac{1}{y}\) and absorb the sign into the constant.
Tip 3: Verify solutions by substituting back into the original equation.
Tip 4: Some separable equations yield implicit solutions that cannot be solved explicitly for y.
Tip 5: Consider the domain of validity for your solution, especially when dealing with logarithms or square roots.
Common errors: Forgetting to separate variables properly, misapplying integration rules, ignoring special solutions, algebraic mistakes in constant manipulation.
Real-world applications: Population growth and decay, radioactive decay, Newton's law of cooling, compound interest, mixing problems, chemical reactions, and many physical systems governed by proportional relationships.
Essential formulas and principles:

• Separation form: \(\frac{dy}{dx} = g(x)h(y) \Rightarrow \frac{1}{h(y)} dy = g(x) dx\)

• Integration: \(\int \frac{1}{h(y)} dy = \int g(x) dx\)

• General solution: \(H(y) = G(x) + C\) where H and G are antiderivatives of \(\frac{1}{h(y)}\) and \(g(x)\) respectively

• Initial value: Use \(y(x_0) = y_0\) to find the specific constant C and obtain the particular solution

• Exponential growth/decay: \(\frac{dP}{dt} = kP \Rightarrow P(t) = P_0e^{kt}\)

• Newton's law of cooling: \(\frac{dT}{dt} = -k(T-T_a) \Rightarrow T(t) = T_a + (T_0-T_a)e^{-kt}\)

Advanced Applications: Systems of Separable Equations
Example: Coupled Growth Models
In some cases, we have coupled equations like:
\(\frac{dx}{dt} = ax\) and \(\frac{dy}{dt} = bx\) where x and y represent related quantities.
Even though they're coupled, each can be solved separately if one doesn't depend on the other.

Analysis: While these equations are individually separable, they form a system:

  • Solve \(\frac{dx}{dt} = ax\) first: \(x(t) = x_0e^{at}\)
  • Then substitute into \(\frac{dy}{dt} = bx\): \(\frac{dy}{dt} = bx_0e^{at}\)
  • Integrate to find y(t) in terms of x(t)
  • This shows how separable equations can be building blocks for more complex systems

Questions & Answers

Question: How can I tell if a differential equation is separable? Are there any quick tests?

Answer: Yes, there are clear tests for separability:

Primary test: Try to write the equation as \(\frac{dy}{dx} = g(x)h(y)\) where all x terms are in \(g(x)\) and all y terms are in \(h(y)\).

Quick checks:

  • Products of functions of x and y separately: \(\frac{dy}{dx} = x^2y^3\) ✓
  • Sums or differences: \(\frac{dy}{dx} = x + y\) ✗
  • Functions of products: \(\frac{dy}{dx} = \sin(xy)\) ✗
  • Quotients that can be separated: \(\frac{dy}{dx} = \frac{x^2}{y^3}\) ✓
  • Functions of sums: \(\frac{dy}{dx} = e^{x+y}\) (which is \(e^x \cdot e^y\)) ✓

Algebraic manipulation: Sometimes you need to algebraically rearrange the equation to see if it's separable:

For example, \(\frac{dy}{dx} = \frac{x^2 + 1}{y + 2}\) can be written as \((y + 2) \frac{dy}{dx} = x^2 + 1\), which is separable.

The key is that x and y terms must be in a multiplicative relationship, not additive!

Question: What should I do when I divide by a variable during separation? Could I lose solutions?

Answer: This is a critical concern! When dividing by a variable, you might lose solutions:

Example: Solving \(\frac{dy}{dx} = 3x^2y\)

Problem step: Dividing by \(y\) assumes \(y \neq 0\)

Lost solution: Check if \(y = 0\) is a solution to the original equation:

\(\frac{d}{dx}(0) = 3x^2 \cdot 0 \Rightarrow 0 = 0\) ✓

Safe procedure:

  1. Check if \(y = 0\) (or whatever you're dividing by) is a solution
  2. Proceed with separation assuming the divided term is non-zero
  3. Include the special solution in your final answer

Complete answer: For \(\frac{dy}{dx} = 3x^2y\), the general solution is \(y = Ce^{x^3}\) which includes \(y = 0\) when \(C = 0\), but it's important to verify this.

Always check for special solutions that might be lost during algebraic manipulations!

Question: Sometimes after integrating, I can't solve explicitly for y. What should I do?

Answer: This is very common! When you can't solve for y explicitly, you have an implicit solution:

Example: After separation and integration, you might get: \(\frac{y^3}{3} = \frac{x^2}{2} + C\)

Implicit solution: Leave it as \(\frac{y^3}{3} - \frac{x^2}{2} = C\)

Acceptable outcomes:

  • Explicit solution: \(y = f(x)\) (preferred when possible)
  • Implicit solution: \(F(x,y) = C\) (perfectly valid)
  • Parametric solution: \(x = f(t), y = g(t)\) (for complex cases)

Working with implicit solutions:

  • You can still apply initial conditions
  • Use implicit differentiation to verify the solution
  • Graph the implicit relation to visualize the solution
  • Numerical methods can be used for specific values

An implicit solution is a complete and valid answer to the differential equation!

Question: How can I verify that my solution to a separable differential equation is correct?

Answer: Verification is crucial and straightforward:

For explicit solutions:

  1. Take the derivative of your solution: compute \(\frac{dy}{dx}\)
  2. Substitute your solution \(y(x)\) into the right side of the original equation
  3. Verify that both sides are equal
  4. If initial conditions were given, verify they're satisfied

For implicit solutions:

  1. Use implicit differentiation on your implicit solution
  2. Solve for \(\frac{dy}{dx}\)
  3. Verify this matches the original differential equation

Example verification: For \(\frac{dy}{dx} = 3x^2y\) with solution \(y = Ce^{x^3}\):

\(\frac{dy}{dx} = C \cdot 3x^2 \cdot e^{x^3} = 3x^2 \cdot Ce^{x^3} = 3x^2y\) ✓

This verification step catches most errors and confirms the correctness of your solution.

Question: Are there differential equations that look separable but aren't actually separable?

Answer: Yes, there are deceptive forms! Here are common traps:

Deceptive form 1: \(\frac{dy}{dx} = x + y\)

Looks like it could be separated, but addition prevents factorization into \(g(x)h(y)\).

Deceptive form 2: \(\frac{dy}{dx} = \frac{x + y}{xy}\)

This equals \(\frac{1}{y} + \frac{1}{x}\), which is a sum, not a product.

Deceptive form 3: \(\frac{dy}{dx} = \sin(xy)\)

The argument \(xy\) cannot be separated into a product of functions of \(x\) and \(y\) alone.

Deceptive form 4: \(\frac{dy}{dx} = e^{x+y} = e^x e^y\)

Actually IS separable! So be careful with algebraic manipulation.

Key principle: Terms must be in multiplicative form, not additive or nested functional form.

Always verify that you can write the equation as \(\frac{dy}{dx} = g(x)h(y)\) with distinct functions of each variable.