Solved Exercises on Verifying Solutions to Differential Equations in Calculus 2

Master solution verification: understanding how to check function validity, satisfy initial conditions, and validate differential equation solutions through these 3 detailed exercises.

Solution: Exercises 1 to 3
1 Basic Verification
Exercise 1
Verify that y = 2e^(3x) is a solution to the differential equation dy/dx = 3y.
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.

Method for verification:
  1. Compute the required derivatives of the proposed solution
  2. Substitute y and its derivatives into the differential equation
  3. Simplify both sides independently
  4. Check that the left side equals the right side
  5. Verify initial conditions if provided
Proposed Solution
y = 2e^(3x)
Derivative
dy/dx = 6e^(3x)
Verification
6e^(3x) = 3(2e^(3x)) ✓
Step 1: Find the derivative of the proposed solution

y = 2e^(3x)

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

Step 2: Substitute into the differential equation

The differential equation is: dy/dx = 3y

Left side: dy/dx = 6e^(3x)

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

Step 3: Compare both sides

Left side = 6e^(3x)

Right side = 6e^(3x)

Since both sides are equal, y = 2e^(3x) is indeed a solution to dy/dx = 3y.

Step 4: Verification with initial condition (if applicable)

If we had an initial condition like y(0) = 2:

y(0) = 2e^(3·0) = 2e^0 = 2(1) = 2 ✓

Step 5: General verification principle

For any exponential function y = Ce^(kx), the derivative is dy/dx = kCe^(kx) = k(Ce^(kx)) = ky

So y = Ce^(kx) is always a solution to dy/dx = ky.

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

The function y = 2e^(3x) is verified as a solution to the differential equation dy/dx = 3y.

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

2 Initial Value Problem Verification
Exercise 2
Verify that y = 4e^(-2x) + 3 is a solution to the initial value problem: dy/dx = -2(y - 3), y(0) = 7.
Definition:

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

Differential Equation
dy/dx = -2(y - 3)
Initial Condition
y(0) = 7
Proposed Solution
y = 4e^(-2x) + 3
Step 1: Find the derivative of the proposed solution

y = 4e^(-2x) + 3

dy/dx = d/dx[4e^(-2x) + 3] = 4 · d/dx[e^(-2x)] + d/dx[3]

= 4 · e^(-2x) · (-2) + 0 = -8e^(-2x)

Step 2: Substitute into the differential equation

Left side: dy/dx = -8e^(-2x)

Right side: -2(y - 3) = -2[(4e^(-2x) + 3) - 3] = -2[4e^(-2x)] = -8e^(-2x)

Step 3: Verify the differential equation

Left side = -8e^(-2x)

Right side = -8e^(-2x)

Since both sides are equal, the differential equation is satisfied.

Step 4: Verify the initial condition

y(0) = 4e^(-2·0) + 3 = 4e^0 + 3 = 4(1) + 3 = 7 ✓

Step 5: Alternative verification

We can rewrite the differential equation as: dy/dx + 2y = 6

This is a first-order linear ODE. The general solution would be y = Ce^(-2x) + 3

Applying y(0) = 7: 7 = C + 3, so C = 4

Therefore y = 4e^(-2x) + 3, confirming our verification.

y = 4e^(-2x) + 3 satisfies both the differential equation and initial condition
Final answer:

The function y = 4e^(-2x) + 3 is verified as the solution to the initial value problem dy/dx = -2(y - 3), y(0) = 7.

Applied rules:

• Chain Rule: d/dx[e^(f(x))] = e^(f(x)) · f'(x)

• Initial Condition Verification: Substitute initial values into solution

• Algebraic Simplification: Distribute and combine like terms

3 Second-Order Verification
Exercise 3
Verify that y = 3cos(2x) + 5sin(2x) is a solution to the differential equation y'' + 4y = 0.
Definition:

Second-Order Differential Equation: An equation involving the second derivative of the unknown function. Verification requires computing both first and second derivatives.

Function
y = 3cos(2x) + 5sin(2x)
First Derivative
y' = -6sin(2x) + 10cos(2x)
Second Derivative
y'' = -12cos(2x) - 20sin(2x)
Step 1: Find the first derivative

y = 3cos(2x) + 5sin(2x)

y' = 3 · d/dx[cos(2x)] + 5 · d/dx[sin(2x)]

= 3 · (-sin(2x)) · 2 + 5 · cos(2x) · 2

= -6sin(2x) + 10cos(2x)

Step 2: Find the second derivative

y' = -6sin(2x) + 10cos(2x)

y'' = -6 · d/dx[sin(2x)] + 10 · d/dx[cos(2x)]

= -6 · cos(2x) · 2 + 10 · (-sin(2x)) · 2

= -12cos(2x) - 20sin(2x)

Step 3: Substitute into the differential equation

The differential equation is: y'' + 4y = 0

Left side: y'' + 4y = (-12cos(2x) - 20sin(2x)) + 4(3cos(2x) + 5sin(2x))

= -12cos(2x) - 20sin(2x) + 12cos(2x) + 20sin(2x)

= (-12cos(2x) + 12cos(2x)) + (-20sin(2x) + 20sin(2x))

= 0 + 0 = 0

Step 4: Verify the result

Since y'' + 4y = 0, the differential equation is satisfied.

This confirms that y = 3cos(2x) + 5sin(2x) is a solution to y'' + 4y = 0.

Step 5: General solution connection

The equation y'' + 4y = 0 is a homogeneous linear second-order ODE with constant coefficients.

The characteristic equation is: r² + 4 = 0, so r² = -4, giving r = ±2i

The general solution is: y = C₁cos(2x) + C₂sin(2x)

Our solution with C₁ = 3 and C₂ = 5 is a specific case of the general solution.

y = 3cos(2x) + 5sin(2x) is a solution to y'' + 4y = 0
Final answer:

The function y = 3cos(2x) + 5sin(2x) is verified as a solution to the differential equation y'' + 4y = 0.

Applied rules:

• Trigonometric Derivatives: d/dx[cos(ax)] = -asin(ax), d/dx[sin(ax)] = acos(ax)

• Chain Rule: For composite functions

• Linear Combination: Derivatives distribute over addition

Verification of Differential Equation Solutions Summary
\text{If } y = f(x) \text{, then } \frac{dy}{dx} = f'(x) \text{ and } \frac{d^2y}{dx^2} = f''(x)
Derivative Relationships
First-Order Verification
y' + p(x)y = q(x) \Rightarrow \text{Substitute } y \text{ and } y'
Check if equation holds
Second-Order Verification
y'' + p(x)y' + q(x)y = r(x) \Rightarrow \text{Substitute } y, y', \text{ and } y''
Check if equation holds
Initial Conditions
y(x_0) = y_0 \Rightarrow \text{Evaluate solution at } x_0
Verify it equals } y_0
Key definitions:

Solution to a Differential Equation: A function that, when substituted along with its derivatives, makes the equation true for all values in the domain.

Verification: The process of confirming that a proposed function satisfies the given differential equation by substitution and simplification.

Order of Differential Equation: The highest derivative appearing in the equation.

Complete methodology:
  1. Identify required derivatives: Determine which derivatives of y are needed
  2. Compute derivatives: Find y', y'', etc. of the proposed solution
  3. Substitute: Replace y and its derivatives in the original equation
  4. Simplify: Algebraically simplify both sides independently
  5. Compare: Verify that both sides are equal
  6. Check initial conditions: If present, verify they are satisfied
Tip 1: Always compute derivatives carefully, especially for complex functions.
Tip 2: Substitute before simplifying to maintain accuracy.
Tip 3: For initial value problems, verify both the equation and conditions.
Tip 4: If verification fails, check your derivative calculations first.
Common errors: Incorrect derivatives, algebraic mistakes, failing to verify initial conditions, not substituting correctly.
Exam preparation: Practice with various function types, memorize derivative rules, master algebraic simplification.
Essential rules to remember:

• Substitution Method: Replace y and derivatives with the proposed solution

• Algebraic Verification: Both sides must be equal after substitution

• Initial Condition Check: Evaluate solution at given point

• Order Matching: Compute derivatives up to the equation's order

Detailed Educational Summary
Core Concepts:

Verification Process: The systematic approach to confirming that a function is indeed a solution to a differential equation by substitution and algebraic manipulation.

Function-Operator Relationship: Differential equations define a relationship between a function and its derivatives, which the solution must satisfy.

Domain Considerations: Solutions must be valid on the specified domain where the equation is defined.

Step-by-Step Process:
  1. Read the equation carefully: Identify the order and form of the differential equation
  2. Prepare the solution: Write down the proposed solution clearly
  3. Calculate derivatives: Compute all necessary derivatives of the proposed solution
  4. Substitute systematically: Replace y and its derivatives in the original equation
  5. Simplify both sides: Perform algebraic manipulations to verify equality
  6. Check initial conditions: If present, substitute the initial values
Memory Aid: "Derive, substitute, simplify, compare" - the verification mantra.
Visualization: Think of verification as plugging the solution into the equation like a key into a lock.
Strategy: Always verify your derivatives before proceeding with substitution.
Important Notes:

• A function is only a solution if it satisfies the equation for all x in the domain

• Verification is more reliable than solving from scratch when a solution is given

• Initial conditions must be checked separately for initial value problems

• Verification helps identify errors in solution derivation

Comprehensive Rules, Methods, and Examples
\frac{d}{dx}[f(g(x))] = f'(g(x)) \cdot g'(x) \Rightarrow \text{Apply to composite solutions}
Chain Rule Application
Detailed Definitions:

Trivial Solution: The zero function y = 0, which satisfies homogeneous equations.

Particular Solution: A specific solution that satisfies both the differential equation and initial conditions.

General Solution: A family of solutions containing arbitrary constants equal to the order of the equation.

Advanced Methodology:
  1. Pattern Recognition: Identify function types (exponential, trigonometric, polynomial)
  2. Derivative Calculation: Apply appropriate differentiation rules systematically
  3. Algebraic Manipulation: Use identities and factoring to simplify expressions
  4. Verification Confirmation: Double-check calculations and substitutions
Example Pattern: For y = e^(kx), y' = ke^(kx) and y'' = k²e^(kx).
Testing Strategy: Use known solutions to verify your verification method.
Verification: Always check that your derivatives are correct by differentiating again.
Advanced Tip: For complex solutions, verify components separately before combining.
Connection: Verification connects differential equations to fundamental calculus concepts.
Advanced Applications:

• Physics: Verifying solutions to equations of motion and wave equations

• Engineering: Checking solutions to circuit and control equations

• Biology: Validating population and growth models

• Economics: Confirming solutions to optimization and growth equations

Questions & Answers

Question: How do I know if my verification is complete?

Answer: Your verification is complete when:

  • All derivatives have been calculated correctly
  • The function and its derivatives have been substituted into the original equation
  • Both sides of the equation have been simplified algebraically
  • The left side equals the right side (or both equal zero for homogeneous equations)
  • If initial conditions are given, they have been verified by substitution

For example, if verifying y = 3e^(2x) for y' = 2y with y(0) = 3:

  • ✓ Calculate y' = 6e^(2x)
  • ✓ Substitute: 6e^(2x) = 2(3e^(2x))
  • ✓ Simplify: 6e^(2x) = 6e^(2x)
  • ✓ Check initial condition: y(0) = 3e^0 = 3 ✓

If all steps are completed successfully, the verification is complete.

Question: What if I make a mistake in calculating derivatives during verification?

Answer: Derivative errors are common and can be caught systematically:

  1. Double-check each derivative: Recalculate using the same method
  2. Use alternative methods: For complex functions, break them into parts
  3. Verify with known results: For standard functions, recall basic derivatives
  4. Test with specific values: Plug in a simple x-value to check numerical consistency

For example, if you calculated d/dx[e^(3x)] as 3e^(3x) (correct) but wrote 3e^x, substituting back would give an incorrect verification. Always recheck derivatives when verification fails.

Common derivative errors include forgetting the chain rule for composite functions, misapplying the product/quotient rules, or making sign errors with trigonometric functions.

Question: Do I always need to verify initial conditions when checking a solution?

Answer: It depends on the problem:

  • General differential equation: Only verify the equation itself
  • Initial Value Problem (IVP): Must verify both the equation AND initial conditions
  • Boundary Value Problem: Verify equation and boundary conditions

For an IVP like y' = 2y, y(0) = 5, you must verify:

  1. That y' = 2y is satisfied by your solution
  2. That y(0) = 5 for your solution

If you only verify the differential equation, you're only confirming it's a solution to the equation, not the specific IVP. The initial condition is what makes the solution unique among all possible solutions to the differential equation.

Question: Can a function be a solution to a differential equation on some intervals but not others?

Answer: Yes, this can happen in several scenarios:

  • Domain restrictions: The function may be undefined where the differential equation requires it
  • Discontinuities: The function or its derivatives may be discontinuous at certain points
  • Division by zero: The differential equation may involve terms that become undefined

For example, consider y = 1/x for the equation xy' + y = 0:

y' = -1/x², so xy' + y = x(-1/x²) + 1/x = -1/x + 1/x = 0

This works for all x ≠ 0, but the equation is undefined at x = 0 where y = 1/x is also undefined.

The solution is valid on (-∞, 0) and (0, ∞) but not at x = 0. The domain of the solution must exclude points where either the function or the differential equation is undefined.

Question: How can I visualize the verification process?

Answer: Here are effective visualization strategies:

  1. Plot the solution curve: Graph y = f(x) to see the function's behavior
  2. Compare slopes: At various points, verify that the curve's slope matches what the differential equation predicts
  3. Direction field overlay: Plot the solution over the direction field of the differential equation
  4. Derivative plots: Graph y' and compare with the expression from the differential equation

For example, if verifying y = e^x for y' = y, plot both y = e^x and y' = e^x. The graphs should be identical, confirming that the derivative of the function equals the function itself.

The solution curve should follow the direction field vectors at every point, indicating that the curve's slope at each point matches the differential equation's prediction.

This geometric perspective complements the algebraic verification process.