Why do we take the derivative of g(x) when using the method of

  • Context: Graduate 
  • Thread starter Thread starter Turion
  • Start date Start date
  • Tags Tags
    Derivative Method
Click For Summary

Discussion Overview

The discussion revolves around the method of undetermined coefficients in solving heterogeneous ordinary differential equations (ODEs). Participants explore why derivatives of the function g(x) are considered when determining the form of the particular solution, as well as the implications of the roots of the auxiliary equation on the solution's structure.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • Some participants suggest that taking the derivative of g(x) is necessary to guess the form of the particular solution, as indicated by the textbook, but they seek clarification on the reasoning behind this.
  • It is noted that the particular solution must satisfy the differential equation, and the form of the solution may involve linear combinations of sine and cosine functions depending on the roots of the auxiliary equation.
  • One participant poses a question regarding whether the linear combination of the particular solution should include multiple derivatives of f(x), g(x), and higher derivatives, indicating uncertainty about how many derivatives are necessary.
  • Another participant argues that only f(x) and g(x) are needed if the right-hand side is already a linear combination of sine and cosine, suggesting that the particular solution can be constructed from these terms.
  • There is a discussion about the implications of the roots of the auxiliary equation, particularly concerning the presence of imaginary components and how they affect the form of the particular solution.
  • Participants express uncertainty about when to stop taking derivatives of f(x) and clarify that the method of undetermined coefficients typically involves differentiating the particular solution twice.
  • One participant mentions that the method of variation of parameters is a more general approach for finding particular solutions, although it may lead to complex integrals.

Areas of Agreement / Disagreement

Participants express differing views on the necessity and extent of taking derivatives of f(x) and g(x) in constructing the particular solution. There is no consensus on how many derivatives are required or on the specific forms that should be included in the solution.

Contextual Notes

The discussion highlights the dependence of the particular solution on the roots of the auxiliary equation and the potential for redundancy in solutions when certain roots are present. There are unresolved questions regarding the number of derivatives needed and the specific forms of the functions involved.

Turion
Messages
145
Reaction score
2
Let g(x) be the right side of a heterogeneous ODE. Why do we take the derivative of g(x) when using the method of undetermined coefficients? This is to guess the form of the particular solution.

The textbook says to assume the particular solutions includes both the terms of g(x) and their derivatives but doesn't answer why.
 

Attachments

  • Untitled.png
    Untitled.png
    12.8 KB · Views: 497
Physics news on Phys.org
The particular solution ##y_p## has to satisfy the differential equation. With the right value of A, when the particular solution given is subbed into the DE, the cos term will vanish to leave only sin. Thus the full 'general' form of the particular solution is this linear combination of sin and cos.

The form of this particular solution depends on the roots of the auxiliary equation from the homogeneous DE.
 
CAF123 said:
The particular solution ##y_p## has to satisfy the differential equation. With the right value of A, when the particular solution given is subbed into the DE, the cos term will vanish to leave only sin. Thus the full 'general' form of the particular solution is this linear combination of sin and cos.

The form of this particular solution depends on the roots of the auxiliary equation from the homogeneous DE.

For the sake of understanding, given the following problem:

$$y''-2y'+y=2f(x)\\ f'(x)=g(x)\\ f''(x)=h(x)\\ f'''(x)=i(x)\\ { f }^{ (4) }=j(x)\\ { f }^{ (5) }=k(x)\\ { f }^{ (n) }=k(x)\quad where\quad k>5$$

would the linear combination consist of f(x), g(x), and h(x) or f(x), g(x), h(x), i(x), j(x), and k(x)?
 
If I understand your question correctly, then I'd say f(x) and g(x) are only needed. If the RHS is already a linear combination of sin and cos then since your eqn is a second order linear DE you can solve for the particular solution, ##y_p = y_{p1} + y_{p2}## where ##y_{p1}## solves LHS = 2(Asin(kx) and ##y_{p2}## solves LHS=2(Bcos(kx)).

Here we consider two separate DE's. Consider one of the eqns above. ##y_{pi}## will be Cisin(kx) + Dicos(kx), ie a linear combo. of the original LHS and it's derivative. That is why I suggest f(x) and g(x), where g(x) was f'(x).

This is assuming that the the (possible) imaginary component of roots of the auxiliary eqn is not of the form ±ki, because then this changes the nature of the particular solution.
 
CAF123 said:
If I understand your question correctly, then I'd say f(x) and g(x) are only needed. If the RHS is already a linear combination of sin and cos then since your eqn is a second order linear DE you can solve for the particular solution, ##y_p = y_{p1} + y_{p2}## where ##y_{p1}## solves LHS = 2(Asin(kx) and ##y_{p2}## solves LHS=2(Bcos(kx)).

Here we consider two separate DE's. Consider one of the eqns above. ##y_{pi}## will be Cisin(kx) + Dicos(kx), ie a linear combo. of the original LHS and it's derivative. That is why I suggest f(x) and g(x), where g(x) was f'(x).

This is assuming that the the (possible) imaginary component of roots of the auxiliary eqn is not of the form ±ki, because then this changes the nature of the particular solution.

Where did you get sin and cos from?

I meant f(x) is some imaginary function. Sorry for not being clear. Basically, I am asking how many derivatives of f(x) we have to take before we stop.
 
Turion said:
Where did you get sin and cos from?

I meant f(x) is some imaginary function. Sorry for not being clear. Basically, I am asking how many derivatives of f(x) we have to take before we stop.

We do not immediately go about taking the derivative of f(x). As in the first example, if the roots of the auxiliary eqn are not ±ki, then the particular solution is a linear combination of sin and cos and so this is what you would differentiate (twice). If ±ki are roots, then the particular solution mentioned before has to be altered so as to not produce a redundant equation.

In general, for second order DE's, you have to differentiate the particular solution two times so it can then be subbed into determine the constants if initial conditions are provided. This particular solution depends on the roots of the auxiliary eqn, so it is not simply f(x).

This is the method used for undetermined coefficients. Later, you may see the method of variation of paramaters which is a more general method to find particular solutions for more complex looking f(x), but the resulting integrals may be hard to evaluate.
Does it answer your question?
 

Similar threads

  • · Replies 12 ·
Replies
12
Views
7K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 1 ·
Replies
1
Views
4K