Solved Exercises on Separable Equations Introduction in Calculus 1

Master separable equations: basic separation, integration techniques, and solution verification through these 5 detailed exercises.

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

Separable Differential Equation: An equation that can be written in the form \(\frac{dy}{dx} = g(x)h(y)\), where the right side can be expressed as a product of a function of \(x\) and a function of \(y\).

Separation method:
  1. Rewrite the equation as \(\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\) if possible
Original Equation
\(\frac{dy}{dx} = 3x^2y\)
Separate Variables
\(\frac{dy}{y} = 3x^2 dx\)
General Solution
\(y = Ce^{x^3}\)
Step 1: Verify the equation is separable

We can write \(\frac{dy}{dx} = 3x^2y\) as \(\frac{dy}{dx} = (3x^2)(y)\), where \(g(x) = 3x^2\) and \(h(y) = y\).

Step 2: Separate the variables

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

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

Step 3: Integrate both sides

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

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

Step 4: Solve for \(y\)

Exponentiate both sides: \(|y| = e^{x^3 + C_1} = e^{C_1} \cdot e^{x^3}\)

Let \(C = e^{C_1}\) (where \(C > 0\)): \(|y| = Ce^{x^3}\)

Since \(C\) can be positive or negative, we write: \(y = Ce^{x^3}\) where \(C\) is an arbitrary constant.

Step 5: Check special case

When \(y = 0\), the original equation gives \(\frac{dy}{dx} = 3x^2 \cdot 0 = 0\), which means \(y = 0\) is also a solution.

This is included in our general 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: Rearrange to get all \(y\) terms on one side, all \(x\) terms on the other

• Integration: Integrate both sides separately

• Logarithmic Property: \(e^{\ln|y|} = |y|\)

• Constant Adjustment: Combine constants into a single arbitrary constant

Tip: Always check if \(y = 0\) is a solution when dividing by \(y\).
Warning: Don't forget to include absolute value in logarithms!
2 Fractional Separation
Exercise 2
Solve the separable differential equation: \(\frac{dy}{dx} = \frac{x}{y^2}\)
Definition:

Separable Form: The equation \(\frac{dy}{dx} = \frac{x}{y^2}\) can be written as \(\frac{dy}{dx} = x \cdot y^{-2}\), showing it's separable with \(g(x) = x\) and \(h(y) = y^{-2}\).

Original Equation
\(\frac{dy}{dx} = \frac{x}{y^2}\)
Separate Variables
\(y^2 dy = x dx\)
General Solution
\(y^3 = x^2 + C\)
Step 1: Verify the equation is separable

We can write \(\frac{dy}{dx} = \frac{x}{y^2}\) as \(\frac{dy}{dx} = x \cdot \frac{1}{y^2} = x \cdot y^{-2}\), where \(g(x) = x\) and \(h(y) = y^{-2}\).

Step 2: Separate the variables

Multiply both sides by \(y^2\) and by \(dx\):

\(y^2 dy = x dx\)

Step 3: Integrate both sides

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

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

Step 4: Simplify the equation

Multiply both sides by 3: \(y^3 = \frac{3x^2}{2} + 3C_1\)

Let \(C = 3C_1\): \(y^3 = \frac{3x^2}{2} + C\)

Step 5: Solve for \(y\) (optional)

\(y = \sqrt[3]{\frac{3x^2}{2} + C}\)

\(y^3 = \frac{3x^2}{2} + C\)
Final answer:

The general solution is \(y^3 = \frac{3x^2}{2} + C\) or equivalently \(y = \sqrt[3]{\frac{3x^2}{2} + C}\).

Applied rules:

• Variable Multiplication: Multiply by the appropriate terms to separate variables

• Power Rule: \(\int y^n dy = \frac{y^{n+1}}{n+1} + C\)

• Constant Combination: Absorb constants into a single arbitrary constant

Tip: When separating, multiply by the denominator of the \(y\) term to move it to the other side.
Warning: Be careful with cube roots - they're defined for all real numbers!
3 Trigonometric Separation
Exercise 3
Solve the separable differential equation: \(\frac{dy}{dx} = \frac{\sin x}{\cos y}\)
Definition:

Trigonometric Separation: The equation \(\frac{dy}{dx} = \frac{\sin x}{\cos y}\) can be written as \(\frac{dy}{dx} = \sin x \cdot \frac{1}{\cos y}\), showing it's separable with \(g(x) = \sin x\) and \(h(y) = \frac{1}{\cos y}\).

Original Equation
\(\frac{dy}{dx} = \frac{\sin x}{\cos y}\)
Separate Variables
\(\cos y \, dy = \sin x \, dx\)
General Solution
\(\sin y = -\cos x + C\)
Step 1: Verify the equation is separable

We can write \(\frac{dy}{dx} = \frac{\sin x}{\cos y}\) as \(\frac{dy}{dx} = \sin x \cdot \frac{1}{\cos y}\), where \(g(x) = \sin x\) and \(h(y) = \frac{1}{\cos y}\).

Step 2: Separate the variables

Multiply both sides by \(\cos y\) and by \(dx\):

\(\cos y \, dy = \sin x \, dx\)

Step 3: Integrate both sides

\(\int \cos y \, dy = \int \sin x \, dx\)

\(\sin y = -\cos x + C_1\)

Step 4: Simplify the equation

Let \(C = C_1\): \(\sin y = -\cos x + C\)

Step 5: Solve for \(y\) (if needed)

\(y = \arcsin(-\cos x + C)\)

Note: This is only valid when \(-1 \leq -\cos x + C \leq 1\).

\(\sin y = -\cos x + C\)
Final answer:

The general solution is \(\sin y = -\cos x + C\) or equivalently \(y = \arcsin(-\cos x + C)\) when defined.

Applied rules:

• Trigonometric Integration: \(\int \cos y \, dy = \sin y + C\), \(\int \sin x \, dx = -\cos x + C\)

• Domain Restriction: \(\arcsin\) is only defined for inputs in \([-1, 1]\)

• Implicit Solution: Often easier to leave in implicit form

Tip: For trigonometric equations, it's often better to leave the solution in implicit form.
Warning: Always consider domain restrictions for inverse trigonometric functions!
Rules and methods, laws,...
\(\frac{dy}{dx} = g(x)h(y)\)
Separable Form
Separation
\(\frac{1}{h(y)}dy = g(x)dx\)
Variable Separation
Integration
\(\int \frac{1}{h(y)}dy = \int g(x)dx\)
Integration Step
Solution
\(H(y) = G(x) + C\)
General Solution
Key definitions:

Separable Differential Equation: An equation that can be written in the form \(\frac{dy}{dx} = g(x)h(y)\) where the variables can be separated.

Separation of Variables: The technique of rearranging the equation so that all \(x\) terms are on one side and all \(y\) terms are on the other.

Implicit Solution: A solution expressed as a relation between \(x\) and \(y\) rather than explicitly as \(y = f(x)\).

Separation methodology:
  1. Verify separability: Check if the equation can be written as \(\frac{dy}{dx} = g(x)h(y)\)
  2. Separate variables: Rearrange to get \(\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, solve the resulting equation for \(y\)
Tip 1: Look for equations where you can factor the right side as \(g(x) \cdot h(y)\).
Tip 2: When dividing by \(y\) terms, always check if \(y = 0\) is a solution.
Tip 3: Sometimes it's better to leave the solution in implicit form.
Common errors: Forgetting to include absolute values in logarithms, missing special solutions like \(y = 0\), incorrectly separating variables, arithmetic mistakes during integration.
Key patterns: \(\frac{dy}{dx} = f(x)g(y)\), \(\frac{dy}{dx} = \frac{f(x)}{g(y)}\), \(\frac{dy}{dx} = f(x) \cdot g(y)\).
Essential rules to memorize:

• Separable Form: \(\frac{dy}{dx} = g(x)h(y)\)

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

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

• Domain Restrictions: Consider when inverse functions are defined

• Special Cases: Always check for \(y = 0\) or other constant solutions

Solution: Exercises 4 to 5
4 Exponential Separation
Exercise 4
Solve the separable differential equation: \(\frac{dy}{dx} = ye^x\)
Definition:

Exponential Separation: The equation \(\frac{dy}{dx} = ye^x\) can be written as \(\frac{dy}{dx} = e^x \cdot y\), showing it's separable with \(g(x) = e^x\) and \(h(y) = y\).

Original Equation
\(\frac{dy}{dx} = ye^x\)
Separate Variables
\(\frac{dy}{y} = e^x dx\)
General Solution
\(y = Ce^{e^x}\)
Step 1: Verify the equation is separable

We can write \(\frac{dy}{dx} = ye^x\) as \(\frac{dy}{dx} = e^x \cdot y\), where \(g(x) = e^x\) and \(h(y) = y\).

Step 2: Separate the variables

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

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

Step 3: Integrate both sides

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

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

Step 4: Solve for \(y\)

Exponentiate both sides: \(|y| = e^{e^x + C_1} = e^{C_1} \cdot e^{e^x}\)

Let \(C = e^{C_1}\) (where \(C > 0\)): \(|y| = Ce^{e^x}\)

Since \(C\) can be positive or negative, we write: \(y = Ce^{e^x}\) where \(C\) is an arbitrary constant.

Step 5: Check special case

When \(y = 0\), the original equation gives \(\frac{dy}{dx} = 0 \cdot e^x = 0\), which means \(y = 0\) is also a solution.

This is included in our general solution when \(C = 0\).

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

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

Applied rules:

• Exponential Integration: \(\int e^x dx = e^x + C\)

• Logarithmic Property: \(e^{\ln|y|} = |y|\)

• Chain Rule for Exponentials: \(e^{e^x}\) is the result of the integration

Tip: For equations with \(e^x\), the solution often involves nested exponentials.
Warning: Be careful with the chain rule when differentiating exponential solutions!
5 Radical Separation
Exercise 5
Solve the separable differential equation: \(\frac{dy}{dx} = \frac{\sqrt{y}}{x}\) where \(x > 0\) and \(y > 0\)
Definition:

Radical Separation: The equation \(\frac{dy}{dx} = \frac{\sqrt{y}}{x}\) can be written as \(\frac{dy}{dx} = \frac{1}{x} \cdot \sqrt{y}\), showing it's separable with \(g(x) = \frac{1}{x}\) and \(h(y) = \sqrt{y}\).

Original Equation
\(\frac{dy}{dx} = \frac{\sqrt{y}}{x}\)
Separate Variables
\(\frac{dy}{\sqrt{y}} = \frac{dx}{x}\)
General Solution
\(y = \left(\ln|x| + C\right)^2\)
Step 1: Verify the equation is separable

We can write \(\frac{dy}{dx} = \frac{\sqrt{y}}{x}\) as \(\frac{dy}{dx} = \frac{1}{x} \cdot \sqrt{y}\), where \(g(x) = \frac{1}{x}\) and \(h(y) = \sqrt{y}\).

Step 2: Separate the variables

Divide both sides by \(\sqrt{y}\) and multiply both sides by \(dx\):

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

Step 3: Integrate both sides

\(\int \frac{1}{\sqrt{y}}dy = \int \frac{1}{x}dx\)

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

\(2y^{1/2} = \ln|x| + C_1\)

Step 4: Solve for \(y\)

\(2\sqrt{y} = \ln|x| + C_1\)

\(\sqrt{y} = \frac{\ln|x| + C_1}{2}\)

Let \(C = \frac{C_1}{2}\): \(\sqrt{y} = \frac{\ln|x| + C_1}{2} = \ln|x| + C\) (after redefining \(C\))

Actually, let's be more precise: \(\sqrt{y} = \frac{\ln|x| + C_1}{2}\)

Squaring both sides: \(y = \left(\frac{\ln|x| + C_1}{2}\right)^2\)

Let \(K = \frac{C_1}{2}\): \(y = (K + \ln|x|)^2\)

Step 5: Consider domain restrictions

Since we need \(\sqrt{y} \geq 0\) and the original equation assumes \(y > 0\), we have:

\(y = \left(\frac{\ln|x| + C_1}{2}\right)^2\) where the expression inside the square can be positive or negative.

More generally: \(y = \left(\ln|x| + C\right)^2\) where \(C\) absorbs the factor of \(\frac{1}{2}\).

\(y = \left(\ln|x| + C\right)^2\)
Final answer:

The general solution is \(y = \left(\ln|x| + C\right)^2\) where \(C\) is an arbitrary constant.

Applied rules:

• Radical Conversion: \(\sqrt{y} = y^{1/2}\)

• Power Rule: \(\int y^{-1/2}dy = 2y^{1/2} + C\)

• Logarithmic Integration: \(\int \frac{1}{x}dx = \ln|x| + C\)

• Domain Considerations: Ensure solutions remain positive as required

Tip: When dealing with square roots, consider the domain restrictions carefully.
Warning: Don't forget that \(\sqrt{y} = y^{1/2}\) requires \(y \geq 0\)!
Detailed Summary: Separable Equations Mastery
\(\frac{dy}{dx} = g(x)h(y)\)
Core Form
Key definitions:

Separable Differential Equation: A differential equation that can be written in the form \(\frac{dy}{dx} = g(x)h(y)\) where the right side is a product of a function of \(x\) and a function of \(y\).

Separation of Variables: The technique of rearranging the equation so that all terms involving \(y\) are on one side and all terms involving \(x\) are on the other side.

Implicit Solution: A solution expressed as a relation \(F(x,y) = C\) rather than explicitly as \(y = f(x)\).

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

Step-by-step methodology:
  1. Identify separability: Verify the equation can be written as \(\frac{dy}{dx} = g(x)h(y)\)
  2. Separate variables: Rearrange to get \(\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, solve the resulting equation for \(y\)
  5. Check special cases: Verify if \(y = 0\) or other constant solutions exist
Tip 1: Look for equations where the right side can be factored into a product of \(x\) and \(y\) terms.
Tip 2: When dividing by \(y\) terms, always check if \(y = 0\) is a solution.
Tip 3: Sometimes it's better to leave the solution in implicit form rather than solving for \(y\).
Tip 4: Remember to include absolute value when integrating \(\frac{1}{y}\) to get \(\ln|y|\).
Common errors: Forgetting absolute values in logarithms, missing special solutions like \(y = 0\), incorrectly separating variables, arithmetic mistakes during integration, ignoring domain restrictions.
Key applications: Population growth, radioactive decay, Newton's law of cooling, mixing problems, chemical reactions.
Complete reference:

• Separable Form: \(\frac{dy}{dx} = g(x)h(y)\)

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

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

• Domain Restrictions: Consider when inverse functions are defined

• Special Cases: Always check for \(y = 0\) or other constant solutions

Examples:
Concrete Applications
Basic Example: \(\frac{dy}{dx} = xy\) → \(y = Ce^{x^2/2}\)
Exponential Example: \(\frac{dy}{dx} = ky\) → \(y = Ce^{kx}\)
Trigonometric Example: \(\frac{dy}{dx} = \tan x \cos y\) → \(\sin y = -\ln|\cos x| + C\)
Radical Example: \(\frac{dy}{dx} = \frac{\sqrt{y}}{x}\) → \(y = (\ln|x| + C)^2\)
Important Note: Not all differential equations are separable - check first before attempting separation!
Memorization Aid: Think "multiply and divide to get all \(x\)'s on one side and all \(y\)'s on the other!"

Questions & Answers

Question: How can I tell if a differential equation is separable? What should I look for?

Answer: A differential equation is separable if it can be written in the form \(\frac{dy}{dx} = g(x)h(y)\), where the right side is a product of a function of \(x\) only and a function of \(y\) only.

Look for these patterns:

  • Equations like \(\frac{dy}{dx} = x^2y\) (product of \(x^2\) and \(y\))
  • Equations like \(\frac{dy}{dx} = \frac{x}{y}\) (quotient of \(x\) and \(y\), equivalent to \(x \cdot y^{-1}\))
  • Equations like \(\frac{dy}{dx} = e^x \sin y\) (product of \(e^x\) and \(\sin y\))

If you can factor the right side as a product of terms that depend only on \(x\) and terms that depend only on \(y\), then the equation is separable.

Note: Equations like \(\frac{dy}{dx} = x + y\) are NOT separable because the terms are added, not multiplied.

Question: Why do I need to check if \(y = 0\) is a solution when I divide by \(y\) during separation?

Answer: This is crucial because when you divide by \(y\), you're implicitly assuming that \(y \neq 0\). However, \(y = 0\) might actually be a solution to the original equation!

For example, in the equation \(\frac{dy}{dx} = 3x^2y\):

  • When we separate variables, we divide by \(y\), assuming \(y \neq 0\)
  • But if we substitute \(y = 0\) into the original equation: \(\frac{dy}{dx} = 3x^2 \cdot 0 = 0\)
  • This means \(\frac{dy}{dx} = 0\), so \(y\) is constant, and since we assumed \(y = 0\), this is consistent
  • Therefore, \(y = 0\) is indeed a solution, which is included in our general solution \(y = Ce^{x^3}\) when \(C = 0\)

Checking for \(y = 0\) prevents us from losing valid solutions during the algebraic manipulation.

Question: When should I leave the solution in implicit form versus solving explicitly for \(y\)?

Answer: The choice depends on the complexity of the resulting expression:

Leave in implicit form when:

  • Solving for \(y\) leads to very complex expressions
  • The solution involves inverse functions that are difficult to work with
  • You're primarily interested in qualitative behavior
  • The implicit form is more elegant or revealing

Solve explicitly when:

  • The solution is relatively simple after algebraic manipulation
  • You need to evaluate \(y\) for specific values of \(x\)
  • The problem specifically asks for an explicit solution

For example, in \(\sin y = -\cos x + C\), it's better to leave it implicit rather than writing \(y = \arcsin(-\cos x + C)\), which has domain restrictions and is more complex to work with.