Variation of Parameters Nonhomogeneous Differential Equation

In summary, the conversation discusses using variation of parameters to solve the differential equation 4y'' + y = cosx. The first step is to find two linearly independent solutions of the homogeneous equation, which are y1 = cos(x/2) and y2 = sin(x/2). Then, a particular solution is needed for the inhomogeneous equation. The most obvious guess for this particular solution is cos(x)/4. Alternatively, the method of variation of parameters can be used to obtain a particular solution by finding two unknown functions, u1 and u2, and solving for them using the given equations.
  • #1
BarackObama
13
0

Homework Statement


4y'' + y = cosx

Solve using variation of parameters


Homework Equations





The Attempt at a Solution


from a) -> yc(x) = c1cos(x/2) + c2sin(x/2)
let y1 = cos(x/2) , y2 = sin(x/2)
y1y2' - y2y1' = 1/2cosx/2 + 1/2sinx/2 = 1/2

u1' = ?

How do I find this?
 
Physics news on Phys.org
  • #2
Can someone help me out with variation of parameters? It's urgent!
 
  • #3
Your problem statement seems incomplete. Are you looking for a general expression for y with enough parameters to fit any initial value problem? Normally, I think of variation of parameters as applying to a particular initial value problem where you vary the parameters to match the initial conditions. Assuming you want some general expression, you have correctly found two linearly independent solutions of the homogenous equation that can be used in any linear combination with a particular solution of the inhomogenous equation. So it seems all you need is particular solution of the inhomogeneous equation. There are messy mechanical procedures you can use, or you can make a guess. In this case, making about the most obvious guess can lead you to a particular solution. Then you just have linear combination of your sin(x/2), cos(x/2) plus the particular solution.

[EDIT] It's been too long, I'm mixing up terminology above. Variation of parameters is one of the general, messy, ways of finding a particular solution. It is overkill for this example, since the most obvious guess as to form, with solving for coefficient, works, as I said above. However, if you must use variation of parameters, then you are looking for two unknown functions, u1 and u2, which you combine with y1=cos(x/2), y2=sin(x/2) to get a particular solution:

u1 y1 + u2 y2

Then you want to obtain u1 and u2 by solving:

u1' y1 + u2' y2 = 0

and

u1' y1' + u2' y2' = cos(x)/4

for u1' and u2'; then you integregrate each to get u1 and u2. Then you have the particular solution.
 
Last edited:

Related to Variation of Parameters Nonhomogeneous Differential Equation

1. What is the Variation of Parameters method for solving nonhomogeneous differential equations?

The Variation of Parameters method is a technique used to solve nonhomogeneous differential equations. It involves finding a particular solution by using a linear combination of the solutions to the corresponding homogeneous equation.

2. How does the Variation of Parameters method differ from other methods of solving nonhomogeneous differential equations?

The Variation of Parameters method differs from other methods, such as the Method of Undetermined Coefficients, in that it can be used for non-constant coefficients and for differential equations with higher order terms.

3. What are the steps involved in using the Variation of Parameters method?

The steps involved in using the Variation of Parameters method are:

  1. Find the solutions to the corresponding homogeneous equation.
  2. Find the Wronskian of the solutions.
  3. Find the particular solution by using a linear combination of the solutions to the homogeneous equation, with the coefficients being functions of the independent variable.
  4. Solve for the coefficients by substituting the particular solution and its derivatives into the original differential equation.

4. Can the Variation of Parameters method be used for any nonhomogeneous differential equation?

Yes, the Variation of Parameters method can be used for any nonhomogeneous differential equation as long as the coefficients are continuous functions and the equation is linear.

5. Are there any limitations to the Variation of Parameters method?

One limitation of the Variation of Parameters method is that it may not always provide a closed-form solution, meaning the solution cannot be written in terms of elementary functions. In these cases, numerical methods may be used to approximate the solution.

Similar threads

  • Calculus and Beyond Homework Help
Replies
7
Views
511
Replies
12
Views
406
  • Calculus and Beyond Homework Help
Replies
9
Views
2K
  • Calculus and Beyond Homework Help
Replies
18
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
217
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
314
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
Back
Top