Study resource

Read at your pace, then save it for later.

Unit IV: Advanced Ordinary Differential Equations and Trajectories

Method of Undetermined Coefficients

The Method of Undetermined Coefficients is a systematic procedure to find a particular solution (yp) to non-homogeneous linear ordinary differential equations with constant coefficients. This method is highly effective when the non-homogeneous term, g(x), belongs to a specific family of functions whose derivatives are finite in variety.

Applicability and Limitations

This method is applicable to differential equations of the form:

an dny/dxn + an-1 dn-1y/dxn-1 + ... + a1 dy/dx + a0y = g(x)

where the coefficients ai are constants, and g(x) consists of:

  • Polynomials in x (e.g., x2 + 2x)
  • Exponential functions (e.g., eαx)
  • Sine or cosine functions (e.g., sin(βx) or cos(βx))
  • Sums or products of the above functions

Limitation: It cannot be applied if g(x) contains division by variables, logarithmic functions, tangent functions, or other non-polynomial transcendentals (e.g., ln(x), tan(x), or 1/x). For those cases, the Method of Variation of Parameters must be utilized.

Trial Particular Solutions Table

The general form of the assumed trial solution depends on the structure of g(x):

Form of g(x) Assumed Trial Solution yp(x)
Constant: C A
Polynomial of degree n: xn Anxn + An-1xn-1 + ... + A1x + A0
Exponential: eαx Aeαx
Trigonometric: sin(βx) or cos(βx) A cos(βx) + B sin(βx)
Product: x eαx (Ax + B)eαx

The Duplication Rule (Modification Rule)

If any term in the assumed trial solution yp is a solution to the corresponding homogeneous differential equation (i.e., appears in the complementary function yc), the trial solution must be multiplied by xs, where s is the smallest positive integer that eliminates all duplication.

Step-by-Step Solution Procedure

  1. Solve the Homogeneous Equation: Find the complementary function, yc.
  2. Analyze g(x): Identify the form of the non-homogeneous term and select the initial trial solution yp.
  3. Apply the Modification Rule: Check for duplication between yc and yp. Multiply yp by xs if duplication occurs.
  4. Differentiate and Substitute: Find the derivatives of yp and substitute them into the original differential equation.
  5. Solve for Coefficients: Equate coefficients of like terms on both sides of the equation to find the values of the undetermined constants.
  6. Form the General Solution: Combine both parts: y = yc + yp.

Detailed Example

Solve: d2y/dx2 - 3 dy/dx + 2y = 2e3x

Step 1: Find the complementary function (yc).

The auxiliary equation is:

m2 - 3m + 2 = 0

Factoring gives: (m - 1)(m - 2) = 0, so m = 1 or m = 2.

Thus, yc = C1ex + C2e2x.

Step 2: Choose the trial solution (yp).

Since g(x) = 2e3x, we assume yp = Ae3x. Since e3x is not a term in yc, no modification is needed.

Step 3: Differentiate and substitute.

y'p = 3Ae3x

y''p = 9Ae3x

Substitute into the differential equation:

9Ae3x - 3(3Ae3x) + 2(Ae3x) = 2e3x

(9A - 9A + 2A)e3x = 2e3x

2Ae3x = 2e3x → 2A = 2 → A = 1.

Step 4: Write the general solution.

y = yc + yp = C1ex + C2e2x + e3x.

Common Mistakes

  • Neglecting Duplication: Forgetting to multiply by x when a trial solution term duplicates a term in yc. This leads to a mathematical contradiction where terms cancel out to 0.
  • Incomplete Sine/Cosine Trial Forms: If g(x) contains only sin(βx), the trial solution must still contain both A cos(βx) and B sin(βx) to account for derivative coupling.

Method of Variation of Parameters

The Method of Variation of Parameters is a general technique to find the particular solution yp of any linear second-order differential equation. Unlike the method of undetermined coefficients, it does not depend on the form of the non-homogeneous term and works with variable coefficients.

The Formula and Underlying Concept

For a standard second-order linear differential equation:

y'' + P(x)y' + Q(x)y = f(x)

Let the complementary function be yc = C1y1(x) + C2y2(x). We vary the parameters (constants C1 and C2) by replacing them with functions u1(x) and u2(x) to assume a particular solution of the form:

yp = u1(x)y1(x) + u2(x)y2(x)

The functions u1(x) and u2(x) are determined using the Wronskian of y1 and y2:

W(y1, y2) = y1y'2 - y'1y2

The formulas for the variable parameters are:

u1(x) = - ∫ [ (y2(x) f(x)) / W(y1, y2) ] dx
u2(x) = ∫ [ (y1(x) f(x)) / W(y1, y2) ] dx

Step-by-Step Solution Procedure

  1. Put the differential equation into standard form: y'' + P(x)y' + Q(x)y = f(x) (ensure the coefficient of y'' is 1).
  2. Solve the corresponding homogeneous equation to find yc = C1y1 + C2y2.
  3. Identify y1 and y2, then compute the Wronskian W(y1, y2).
  4. Substitute y1, y2, f(x), and W into the formulas for u1(x) and u2(x) and integrate.
  5. Construct yp = u1y1 + u2y2 and write the general solution y = yc + yp.

Detailed Example

Solve: y'' + y = sec(x)

Step 1: Solve the homogeneous equation.

y'' + y = 0 → Auxiliary equation: m2 + 1 = 0 → m = ±i.

yc = C1 cos(x) + C2 sin(x).

Here, y1 = cos(x) and y2 = sin(x).

Step 2: Compute the Wronskian.

W(y1, y2) = cos(x)(cos(x)) - (-sin(x))(sin(x)) = cos2(x) + sin2(x) = 1.

Step 3: Compute u1(x) and u2(x).

f(x) = sec(x)

u1(x) = - ∫ [ (sin(x) sec(x)) / 1 ] dx = - ∫ tan(x) dx = ln|cos(x)|

u2(x) = ∫ [ (cos(x) sec(x)) / 1 ] dx = ∫ 1 dx = x

Step 4: Form the particular and general solutions.

yp = cos(x) ln|cos(x)| + x sin(x)

y = C1 cos(x) + C2 sin(x) + cos(x) ln|cos(x)| + x sin(x).

The Cauchy-Euler Equation and Its Solutions

The Cauchy-Euler equation (also known as the equidimensional equation) is a class of linear differential equations with variable coefficients where the power of the independent variable x matches the order of the derivative.

Definition

A second-order Cauchy-Euler equation is defined as:

ax2 d2y/dx2 + bx dy/dx + cy = g(x)

where a, b, and c are constants, and x > 0.

Solution Methodology via Transformation

To solve this equation, we use the substitution x = ez, which implies z = ln(x). Using the chain rule, the derivatives are transformed as:

dy/dx = (1/x) dy/dz
d2y/dx2 = (1/x2) [ d2y/dz2 - dy/dz ]

Substituting these into the differential equation yields an equation with constant coefficients in terms of z:

a d2y/dz2 + (b - a) dy/dz + cy = g(ez)

The Auxiliary Equation and Cases of Roots

By assuming a solution of the form y = xm for the homogeneous part ax2y'' + bxy' + cy = 0, we obtain the auxiliary equation:

am(m - 1) + bm + c = 0 → am2 + (b - a)m + c = 0

The roots of this auxiliary equation determine the complementary function:

Root Type Roots m1, m2 Complementary Solution yc(x)
Real and Distinct m1 ≠ m2 C1xm1 + C2xm2
Real and Repeated m1 = m2 = m (C1 + C2 ln(x))xm
Complex Conjugate m = α ± iβ xα [C1 cos(β ln(x)) + C2 sin(β ln(x))]

Detailed Example

Solve: x2 d2y/dx2 - 2x dy/dx - 4y = 0

Step 1: Set up the auxiliary equation.

Here, a = 1, b = -2, c = -4.

The auxiliary equation is:

m(m - 1) - 2m - 4 = 0 → m2 - 3m - 4 = 0

Step 2: Solve for the roots.

(m - 4)(m + 1) = 0 → m1 = 4, m2 = -1.

Step 3: Construct the general solution.

Since the roots are real and distinct:

y = C1x4 + C2x-1

Common Mistakes

  • Confusing the Auxiliary Forms: Incorrectly using the auxiliary equation form m2 + bm + c = 0 instead of am(m-1) + bm + c = 0. Always remember to subtract 'a' from the linear term's coefficient!

Trajectories: Isogonal and Orthogonal

A trajectory is a curve that cuts every member of a given family of curves at a constant angle. If that angle is a right angle, they are called orthogonal trajectories. If the angle is any other constant, they are called isogonal trajectories.

Orthogonal Trajectories in Cartesian Coordinates

To find the orthogonal trajectories of a family of curves given by F(x, y, c) = 0:

  1. Differentiate the equation of the family with respect to x to get an equation containing dy/dx and the constant c.
  2. Eliminate the constant c to obtain the differential equation of the family: dy/dx = f(x, y).
  3. Since orthogonal curves have perpendicular tangents, their slopes satisfy m1 × m2 = -1. Replace dy/dx with -dx/dy.
  4. Solve the resulting differential equation: -dx/dy = f(x, y).

Orthogonal Trajectories in Polar Coordinates

For a family of curves given by F(r, θ, c) = 0:

  1. Differentiate with respect to θ and eliminate the constant c to get the differential equation of the family in the form: r dθ/dr = f(r, θ).
  2. Replace r dθ/dr with -1 / (r dθ/dr), which is equivalent to replacing dr/dθ with -r2 dθ/dr.
  3. Solve the resulting differential equation to find the orthogonal family.

Detailed Cartesian Example

Find the orthogonal trajectories of the family of parabolas: y = cx2.

Step 1: Differentiate and eliminate c.

dy/dx = 2cx

From the original equation, c = y / x2. Substitute this back:

dy/dx = 2(y / x2)x → dy/dx = 2y/x.

Step 2: Replace dy/dx with -dx/dy.

-dx/dy = 2y/x

Step 3: Solve the new differential equation.

Separate variables: x dx = -2y dy

Integrate both sides:

∫ x dx = -2 ∫ y dy → x2/2 = -y2 + C'

This can be simplified to:

x2 + 2y2 = C

The orthogonal trajectories are a family of concentric ellipses.

Isogonal Trajectories

Isogonal trajectories intersect the family of curves at a constant angle α ≠ π/2. If the differential equation of the given family is dy/dx = f(x, y), the slope of the trajectory dy/dx = m satisfies the tangent angle relation:

tan(α) = | (m - f(x, y)) / (1 + m f(x, y)) |

Solving this relation for m = dy/dx yields the differential equation of the isogonal trajectories.


xxx

Did this help you understand better?

Your feedback improves the quality of this resource for everyone.