Solved Exercises on Introduction to Differential Equations in Calculus 2

Master differential equations: understanding order, linearity, initial value problems, and solution verification through these 3 detailed exercises.

Solution: Exercises 1 to 3
1 Order and Linearity Classification
Exercise 1
Classify the following differential equations by order and linearity: (a) dy/dx + 3xy = x², (b) d²y/dx² + (dy/dx)³ = 0, (c) d³y/dx³ + 2y = sin(x).
Definitions:

Order: The order of a differential equation is the order of the highest derivative present in the equation.

Linearity: A differential equation is linear if the dependent variable and its derivatives appear to the first power and are not multiplied by each other.

Method for classification:
  1. Identify the highest order derivative
  2. Count the order of that derivative
  3. Check if the equation is linear in y and its derivatives
  4. Verify linearity by ensuring no products of y and its derivatives
Equation (a)
dy/dx + 3xy = x²
Order
1st order
Type
Linear
Analysis of (a): dy/dx + 3xy = x²

Highest derivative: dy/dx (first order)

Order: 1

Linearity: The equation is linear because y and dy/dx appear to the first power and are not multiplied by each other. The coefficient 3x is a function of x only.

Analysis of (b): d²y/dx² + (dy/dx)³ = 0

Highest derivative: d²y/dx² (second order)

Order: 2

Linearity: The equation is nonlinear because (dy/dx)³ contains the first derivative to the third power, violating the linearity condition.

Analysis of (c): d³y/dx³ + 2y = sin(x)

Highest derivative: d³y/dx³ (third order)

Order: 3

Linearity: The equation is linear because y and all its derivatives (up to the third) appear to the first power and are not multiplied by each other.

Step 4: General rules for linearity

A differential equation is linear if it can be written in the form:

aₙ(x)y^(n) + aₙ₋₁(x)y^(n-1) + ... + a₁(x)y' + a₀(x)y = g(x)

Where aᵢ(x) and g(x) are functions of x only.

Nonlinear terms include: y², (y')², yy', y·y'', eʸ, sin(y), etc.

Step 5: Verification examples

Linear: y'' + xy' + y = 0 (coefficients depend only on x)

Nonlinear: y'' + (y')² = 0 (contains (y')²)

Nonlinear: y'' + y·y' = 0 (contains y·y')

(a) 1st order, Linear
(b) 2nd order, Nonlinear
(c) 3rd order, Linear
Final answers:

(a) dy/dx + 3xy = x² is a first-order linear differential equation.

(b) d²y/dx² + (dy/dx)³ = 0 is a second-order nonlinear differential equation.

(c) d³y/dx³ + 2y = sin(x) is a third-order linear differential equation.

Applied rules:

• Order Determination: Count the highest derivative present

• Linearity Test: All terms containing y and its derivatives must be first degree

• Product Rule: No products of y and its derivatives are allowed

2 Solution Verification
Exercise 2
Verify that y = Ce^(2x) is a solution to the differential equation dy/dx = 2y.
Definition:

Verification of Solutions: To verify that a function y = f(x) is a solution to a differential equation, substitute y and its derivatives into the equation and check that both sides are equal.

Proposed Solution
y = Ce^(2x)
Derivative
dy/dx = 2Ce^(2x)
Verification
dy/dx = 2y ✓
Step 1: Find the derivative of the proposed solution

y = Ce^(2x)

dy/dx = d/dx[Ce^(2x)] = C · d/dx[e^(2x)] = C · e^(2x) · 2 = 2Ce^(2x)

Step 2: Substitute into the differential equation

The differential equation is: dy/dx = 2y

Left side: dy/dx = 2Ce^(2x)

Right side: 2y = 2(Ce^(2x)) = 2Ce^(2x)

Step 3: Compare both sides

Left side = Right side: 2Ce^(2x) = 2Ce^(2x) ✓

Therefore, y = Ce^(2x) satisfies the differential equation dy/dx = 2y.

Step 4: General solution concept

The solution y = Ce^(2x) represents the general solution because it contains one arbitrary constant C, matching the order of the differential equation (which is 1).

Specific solutions can be found by assigning values to C.

Step 5: Initial value problem example

If we have an initial condition like y(0) = 3:

3 = Ce^(2·0) = Ce^0 = C·1 = C

So C = 3, and the particular solution is y = 3e^(2x)

y = Ce^(2x) is a solution to dy/dx = 2y
Final answer:

The function y = Ce^(2x) is indeed a solution to the differential equation dy/dx = 2y for any constant C.

Applied rules:

• Exponential Derivative: d/dx[e^(ax)] = ae^(ax)

Constant Multiple Rule: d/dx[cf(x)] = c·f'(x)

• Verification Process: Substitute function and derivatives into original equation

3 Initial Value Problem
Exercise 3
Solve the initial value problem: dy/dx = 3y, y(0) = 5.
Definition:

Initial Value Problem (IVP): A differential equation accompanied by one or more initial conditions specifying the value of the unknown function and possibly its derivatives at a particular point.

Differential Equation
dy/dx = 3y
Initial Condition
y(0) = 5
Solution
y = 5e^(3x)
Step 1: Identify the general solution

The differential equation dy/dx = 3y is a first-order linear equation.

It's also separable: dy/y = 3dx

Integrating both sides: ln|y| = 3x + C

Exponentiating: |y| = e^(3x + C) = e^C · e^(3x)

Let A = ±e^C (where A can be any nonzero constant): y = Ae^(3x)

Allowing A = 0 gives the solution y = 0, which is also valid.

So the general solution is y = Ce^(3x) where C is an arbitrary constant.

Step 2: Apply the initial condition

We have y(0) = 5

Substituting into the general solution: 5 = Ce^(3·0) = Ce^0 = C·1 = C

Therefore, C = 5

Step 3: Write the particular solution

The particular solution satisfying both the differential equation and the initial condition is:

y = 5e^(3x)

Step 4: Verify the solution

Check differential equation: dy/dx = d/dx[5e^(3x)] = 5·3e^(3x) = 15e^(3x)

And 3y = 3(5e^(3x)) = 15e^(3x) ✓

Check initial condition: y(0) = 5e^(3·0) = 5e^0 = 5·1 = 5 ✓

Step 5: Interpretation

This solution represents exponential growth with rate constant 3, starting at y = 5 when x = 0.

Such equations model population growth, compound interest, and radioactive decay (with negative rate constant).

y = 5e^(3x)
Final answer:

The solution to the initial value problem dy/dx = 3y, y(0) = 5 is y = 5e^(3x).

Applied rules:

• Separation of Variables: dy/y = 3dx

• Integration: ∫dy/y = ln|y|, ∫3dx = 3x

• Exponentiation: To solve for y after logarithmic integration

• Initial Condition Application: Solve for the arbitrary constant

Differential Equations Introduction Summary
F\left(x, y, \frac{dy}{dx}, \frac{d^2y}{dx^2}, \ldots, \frac{d^ny}{dx^n}\right) = 0
General Form of an nth-Order ODE
Linear DE
a_n(x)y^{(n)} + \cdots + a_1(x)y' + a_0(x)y = g(x)
All terms linear in y and derivatives
Separable DE
\frac{dy}{dx} = f(x)g(y) \Rightarrow \int \frac{dy}{g(y)} = \int f(x) dx
Variables can be separated
Homogeneous
a_n(x)y^{(n)} + \cdots + a_1(x)y' + a_0(x)y = 0
Zero on right side
Key definitions:

Differential Equation: An equation involving an unknown function and its derivatives. The function is the dependent variable, and the variable with respect to which derivatives are taken is the independent variable.

Ordinary Differential Equation (ODE): A differential equation containing only ordinary derivatives of one or more dependent variables with respect to a single independent variable.

Partial Differential Equation (PDE): A differential equation containing partial derivatives of one or more dependent variables with respect to two or more independent variables.

Complete methodology:
  1. Classification: Determine order and linearity of the equation
  2. Identification: Recognize the type of differential equation (separable, linear, etc.)
  3. Technique Selection: Choose appropriate solution method based on classification
  4. Solution: Apply the chosen technique to find the general solution
  5. Verification: Check that the solution satisfies the original equation
  6. Initial Conditions: Apply initial conditions to find particular solutions
Tip 1: Always check if the equation is linear before applying nonlinear techniques.
Tip 2: Look for separable equations first (they're often the easiest to solve).
Tip 3: Remember to verify solutions by substitution.
Tip 4: Count the number of arbitrary constants in the general solution—it should match the order of the equation.
Common errors: Misclassifying order, forgetting constants of integration, incorrectly applying solution formulas, algebraic mistakes in verification.
Exam preparation: Practice classification problems, memorize solution techniques for standard forms, master verification procedures.
Essential rules to remember:

• Order Definition: Highest derivative present determines the order

• Linearity Definition: y and its derivatives appear only to the first power

• General Solution: Contains arbitrary constants equal to the order of the equation

• Particular Solution: Obtained by applying initial conditions to the general solution

Detailed Educational Summary
Core Concepts:

Differential Equation Fundamentals: A differential equation relates a function to its derivatives, expressing how a quantity changes in relation to itself and other variables.

Mathematical Modeling: Differential equations are the primary tool for modeling dynamic systems in physics, engineering, biology, and economics.

Existence and Uniqueness: Under certain conditions, initial value problems have exactly one solution, which justifies the process of solving for a particular solution.

Step-by-Step Process:
  1. Recognition: Identify the presence of derivatives in the equation
  2. Classification: Determine order and linearity to select solution method
  3. Technique Application: Use appropriate method based on the equation type
  4. Solution Generation: Obtain the general solution with arbitrary constants
  5. Condition Application: Use initial/boundary conditions to find particular solutions
  6. Verification: Confirm the solution satisfies the original equation
Memory Aid: "Order = Highest derivative, Linear = No powers or products of y and its derivatives."
Visualization: Think of solutions as curves that follow the slope field defined by the differential equation.
Strategy: Always classify before attempting to solve—this determines your approach.
Important Notes:

• The general solution of an nth-order differential equation contains n arbitrary constants

• Solutions may not exist for all values of the independent variable

• Some differential equations cannot be solved analytically and require numerical methods

• Physical constraints often limit the domain of solutions in applied problems

Comprehensive Rules, Methods, and Examples
\frac{dy}{dx} + P(x)y = Q(x) \Rightarrow y = e^{-\int P(x) dx}\left[\int Q(x)e^{\int P(x) dx} dx + C\right]
Linear First-Order ODE Solution Formula
Detailed Definitions:

Autonomous Equation: A differential equation where the independent variable does not appear explicitly, such as dy/dx = f(y).

Equilibrium Solution: A constant solution y = c of an autonomous differential equation, where f(c) = 0.

Phase Line: A graphical representation showing equilibrium points and the behavior of solutions in different intervals.

Advanced Methodology:
  1. Reduction of Order: For higher-order equations with known solutions
  2. Variation of Parameters: For non-homogeneous linear equations
  3. Undetermined Coefficients: For specific forms of non-homogeneous terms
  4. Numerical Methods: When analytical solutions are not possible
Example Pattern: For dy/dx = ky, the solution is always y = Ce^(kx).
Testing Strategy: Use known solutions to verify your solution method.
Verification: Always check that your solution satisfies both the equation and initial conditions.
Advanced Tip: For equations with variable coefficients, consider transformations to constant coefficient equations.
Connection: Differential equations connect to many areas of mathematics and science.
Advanced Applications:

• Physics: Newton's second law, wave equations, heat equations

• Biology: population dynamics, epidemic models, biochemical reactions

• Economics: growth models, market equilibrium, optimization problems

• Engineering: circuit analysis, control systems, fluid dynamics

Questions & Answers

Question: What's the difference between a general solution and a particular solution?

Answer: The key differences are:

  • General Solution: Contains arbitrary constants equal to the order of the differential equation. Represents the entire family of solutions.
  • Particular Solution: Obtained by assigning specific values to the arbitrary constants using initial or boundary conditions. Represents one specific member of the solution family.

Example: For the equation dy/dx = 2x, the general solution is y = x² + C, where C is an arbitrary constant. If we have the initial condition y(0) = 3, then 3 = 0² + C, so C = 3. The particular solution is y = x² + 3.

The general solution represents all possible solutions to the differential equation, while the particular solution represents the specific solution that satisfies given constraints.

Question: How can I quickly identify if a differential equation is linear?

Answer: A differential equation is linear if it can be written in the standard form:

aₙ(x)y^(n) + aₙ₋₁(x)y^(n-1) + ... + a₁(x)y' + a₀(x)y = g(x)

Key characteristics of linear equations:

  • The dependent variable y and all its derivatives appear to the first power only
  • There are no products of y and its derivatives (like yy', y·y'', etc.)
  • There are no nonlinear functions of y (like y², sin(y), eʸ, etc.)
  • Coefficients aᵢ(x) can be functions of the independent variable x

Examples of linear equations:

  • dy/dx + xy = x² (first-order linear)
  • y'' + 3y' + 2y = sin(x) (second-order linear)
  • x²y'' + xy' + y = 0 (Cauchy-Euler equation)

Examples of nonlinear equations:

  • dy/dx + y² = x (because of y²)
  • y'' + (y')² = 0 (because of (y')²)
  • yy' + y = x (because of product yy')

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

Answer: Verification involves substituting your solution back into the original differential equation:

  1. Compute derivatives: Calculate all necessary derivatives of your solution
  2. Substitute: Replace y and its derivatives in the original equation
  3. Simplify: Perform algebraic simplifications
  4. Verify equality: Check that both sides of the equation are equal

Example: If y = 2e^(3x) is claimed to be a solution to y' = 3y:

y' = d/dx[2e^(3x)] = 2·3e^(3x) = 6e^(3x)

Right side: 3y = 3(2e^(3x)) = 6e^(3x)

Since left side = right side (6e^(3x) = 6e^(3x)), the solution is verified.

For initial value problems, also verify that the solution satisfies the initial conditions.

Question: Why are differential equations important in real-world applications?

Answer: Differential equations are essential because they model how quantities change:

  • Physics: Newton's laws, electromagnetic fields, quantum mechanics
  • Engineering: Control systems, structural analysis, fluid flow
  • Biology: Population growth, disease spread, chemical reactions
  • Economics: Market dynamics, economic growth models
  • Medicine: Drug concentration over time, tumor growth

Most natural phenomena involve rates of change, making differential equations the natural language for expressing scientific laws. They allow us to predict future behavior based on current conditions and the rules governing the system's evolution.

For example, the equation dP/dt = kP models population growth, where the rate of change of population is proportional to the current population.

Question: What should I do if my verification doesn't work?

Answer: If verification fails, systematically check:

  1. Derivative calculation: Re-compute y', y'', etc.
  2. Algebraic errors: Check for sign errors, distribution mistakes, etc.
  3. Substitution: Ensure you substituted correctly into the original equation
  4. Simplification: Re-simplify both sides carefully

If the solution still doesn't verify, reconsider your solution method:

  • Did you apply the correct technique for the equation type?
  • Did you handle the constants of integration correctly?
  • Did you account for any special cases?

Sometimes a small error in the solution process propagates through the verification. Start the solution process again with extra care, and verify each step as you go.

Remember: A solution that doesn't verify is incorrect, regardless of how logical the steps seemed.