Solved Exercises on Solving Basic Separable Differential Equations in Calculus 1

Master solving basic separable differential equations: variable separation, integration techniques, initial value problems, and solution verification through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Basic Variable Separation
Exercise 1
Solve the separable differential equation: \(\frac{dy}{dx} = \frac{x}{y}\) with initial condition \(y(0) = 2\).
Definition:

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 on different sides of the equation.

Separation method:
  1. Rearrange the equation to separate variables: \(\frac{1}{h(y)}dy = g(x)dx\)
  2. Integrate both sides: \(\int \frac{1}{h(y)}dy = \int g(x)dx\)
  3. Solve for \(y\) if possible
  4. Apply initial conditions to find the particular solution
Original Equation
\(\frac{dy}{dx} = \frac{x}{y}\)
Separate Variables
\(y \, dy = x \, dx\)
General Solution
\(y^2 = x^2 + C\)
Step 1: Verify the equation is separable

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

Step 2: Separate the variables

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

\(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\)

Step 4: Simplify the equation

Multiply both sides by 2: \(y^2 = x^2 + 2C_1\)

Let \(C = 2C_1\): \(y^2 = x^2 + C\)

Step 5: Apply the initial condition

Using \(y(0) = 2\): \((2)^2 = (0)^2 + C\)

\(4 = 0 + C\), so \(C = 4\)

Step 6: Solve for \(y\)

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

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

Since \(y(0) = 2 > 0\), we take the positive root: \(y = \sqrt{x^2 + 4}\)

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

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

Applied rules:

• Variable Separation: Rearrange to get all \(y\) terms on one side, all \(x\) terms on the other

• Integration: Integrate both sides separately

• Initial Conditions: Use to find the specific value of the constant

• Sign Selection: Choose the appropriate sign based on initial condition

Tip: Always check that the initial condition satisfies your final solution.
Warning: Don't forget to consider both positive and negative roots when taking square roots!
2 Exponential Separation
Exercise 2
Solve the separable differential equation: \(\frac{dy}{dx} = 3ye^{2x}\) with initial condition \(y(0) = 1\).
Definition:

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

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

We can write \(\frac{dy}{dx} = 3ye^{2x}\) as \(\frac{dy}{dx} = (3e^{2x})(y)\), where \(g(x) = 3e^{2x}\) 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 = 3e^{2x} dx\)

Step 3: Integrate both sides

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

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

Step 4: Solve for \(y\)

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

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

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

Step 5: Apply the initial condition

Using \(y(0) = 1\): \(1 = C e^{\frac{3e^{0}}{2}} = C e^{\frac{3}{2}}\)

Therefore: \(C = e^{-\frac{3}{2}}\)

Step 6: Write the particular solution

\(y = e^{-\frac{3}{2}} \cdot e^{\frac{3e^{2x}}{2}} = e^{\frac{3e^{2x}}{2} - \frac{3}{2}} = e^{\frac{3}{2}(e^{2x} - 1)}\)

\(y = e^{\frac{3}{2}(e^{2x} - 1)}\)
Final answer:

The particular solution is \(y = e^{\frac{3}{2}(e^{2x} - 1)}\).

Applied rules:

• Exponential Integration: \(\int e^{ax} dx = \frac{1}{a}e^{ax} + C\)

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

• Constant Combination: Combine exponential constants into a single constant

• Initial Condition: Use to determine the specific constant value

Tip: For equations with \(e^{ax}\), the solution often involves nested exponentials.
Warning: Remember that \(\int e^{2x} dx = \frac{1}{2}e^{2x} + C\), not just \(e^{2x} + C\)!
3 Trigonometric Separation
Exercise 3
Solve the separable differential equation: \(\frac{dy}{dx} = \frac{\cos x}{\sin y}\) with initial condition \(y(0) = \frac{\pi}{2}\).
Definition:

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

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

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

Step 2: Separate the variables

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

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

Step 3: Integrate both sides

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

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

Step 4: Simplify the equation

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

Step 5: Apply the initial condition

Using \(y(0) = \frac{\pi}{2}\): \(-\cos \frac{\pi}{2} = \sin 0 + C\)

\(-0 = 0 + C\), so \(C = 0\)

Step 6: Solve for \(y\)

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

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

\(y = \arccos(-\sin x)\)

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

The particular solution is \(\cos y = -\sin x\) or equivalently \(y = \arccos(-\sin x)\).

Applied rules:

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

• Inverse Trigonometric: Use \(\arccos\) to solve for \(y\) when possible

• Domain Consideration: Ensure solutions are valid within domain restrictions

• Initial Condition: Use to find the specific constant value

Tip: For trigonometric equations, sometimes leaving the solution in implicit form is easier.
Warning: Remember that \(\arccos\) has a restricted range: \([0, \pi]\)!
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.

Initial Value Problem: A differential equation with specified initial conditions that determine a unique solution.

Particular Solution: A specific solution that satisfies the initial conditions.

Solution 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\)
  5. Apply initial conditions: Use to find the particular solution
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, not applying initial conditions properly.
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

• Initial Conditions: Use to find the particular solution

Solution: Exercises 4 to 5
4 Radical Separation
Exercise 4
Solve the separable differential equation: \(\frac{dy}{dx} = \frac{\sqrt{y}}{x^2}\) with initial condition \(y(1) = 4\).
Definition:

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

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

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

Step 2: Separate the variables

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

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

Step 3: Integrate both sides

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

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

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

\(2\sqrt{y} = -\frac{1}{x} + C_1\)

Step 4: Solve for \(y\)

\(\sqrt{y} = \frac{1}{2}\left(-\frac{1}{x} + C_1\right) = -\frac{1}{2x} + \frac{C_1}{2}\)

Let \(C = \frac{C_1}{2}\): \(\sqrt{y} = -\frac{1}{2x} + C\)

\(y = \left(C - \frac{1}{2x}\right)^2\)

Step 5: Apply the initial condition

Using \(y(1) = 4\): \(4 = \left(C - \frac{1}{2(1)}\right)^2 = \left(C - \frac{1}{2}\right)^2\)

\(2 = C - \frac{1}{2}\) or \(-2 = C - \frac{1}{2}\)

So \(C = \frac{5}{2}\) or \(C = -\frac{3}{2}\)

Since \(y(1) = 4 > 0\) and we need \(\sqrt{y}\) to be real, let's check: \(\sqrt{4} = 2\), so \(2 = -\frac{1}{2} + C\), thus \(C = \frac{5}{2}\)

Step 6: Write the particular solution

\(y = \left(\frac{5}{2} - \frac{1}{2x}\right)^2 = \left(\frac{5x - 1}{2x}\right)^2\)

\(y = \left(\frac{5x - 1}{2x}\right)^2\)
Final answer:

The particular solution is \(y = \left(\frac{5x - 1}{2x}\right)^2\).

Applied rules:

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

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

• Initial Condition: Use to determine the specific constant value

• Sign Verification: Ensure the solution matches the initial condition

Tip: When dealing with square roots, be careful with signs and domains.
Warning: Don't forget that \(\sqrt{y}\) requires \(y \geq 0\)!
5 Rational Separation
Exercise 5
Solve the separable differential equation: \(\frac{dy}{dx} = \frac{y^2}{x+1}\) with initial condition \(y(0) = 1\).
Definition:

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

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

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

Step 2: Separate the variables

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

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

Step 3: Integrate both sides

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

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

\(-\frac{1}{y} = \ln|x+1| + C_1\)

Step 4: Solve for \(y\)

\(\frac{1}{y} = -\ln|x+1| - C_1\)

\(\frac{1}{y} = -\ln|x+1| + C\) (where \(C = -C_1\))

\(y = \frac{1}{C - \ln|x+1|}\)

Step 5: Apply the initial condition

Using \(y(0) = 1\): \(1 = \frac{1}{C - \ln|0+1|} = \frac{1}{C - \ln 1} = \frac{1}{C - 0} = \frac{1}{C}\)

Therefore: \(C = 1\)

Step 6: Write the particular solution

\(y = \frac{1}{1 - \ln|x+1|}\)

\(y = \frac{1}{1 - \ln|x+1|}\)
Final answer:

The particular solution is \(y = \frac{1}{1 - \ln|x+1|}\).

Applied rules:

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

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

• Rational Manipulation: Solve for \(y\) by taking reciprocals

• Absolute Value: Always include absolute value in logarithmic integrals

Tip: For rational functions, look for opportunities to separate variables.
Warning: Always include absolute value in \(\ln|x+1|\) and note the domain restrictions!
Detailed Summary: Solving Basic Separable Differential 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.

Initial Value Problem: A differential equation combined with one or more initial conditions that specify the value of the unknown function at a particular point.

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

Particular Solution: The specific solution that satisfies the initial conditions.

Complete solution 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. Apply initial conditions: Use to find the particular solution
  6. Verify solution: Check that the solution satisfies the original equation
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, not applying initial conditions properly, ignoring domain restrictions.
Key applications: Population growth, radioactive decay, Newton's law of cooling, mixing problems, chemical reactions, compound interest.
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

• Initial Conditions: Use to find the particular solution

• Verification: Always check that your solution satisfies the original equation

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\)
Rational Example: \(\frac{dy}{dx} = \frac{y}{x}\) → \(y = Cx\)
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.