Solve differential equation with variation of parameters

In summary, the method of variation of parameters involves finding a solution to a second order differential equation by assuming a solution of the form y(x)= u(x)ex+ v(x)e-x and using a system of linear equations to determine the values of u and v.
  • #1
plucker_08
54
0
solve using method of variation of parameters

y''-y = 2/(1+e^x)

y'' ==> second order
 
Physics news on Phys.org
  • #2
And your question is?

It should be easy to see that ex and e-x are two independent solutions to y"- y= 0.

The "variation of parameters" is to look for a solution of the form
y(x)= u(x)ex+ v(x)e-x
In fact, there are an infinite number of u(x), v(x) that would work.

Differentiating, y'= u'(x)ex+ u(x)ex+ v'(x)e-x- v(x)e-x.

ASSUME that u'(x)ex+ v'(x)e-x= 0.
(Since there are an infinite number of u(x), v(x) that would work above, this is just "narrowing the search".)

With that assumption y'= u(x)ex- v(x)e-x.

Differentiating again, y"= u'(x)ex+ u(x)ex- v'(x)e-x+ ve-x.

Plug that into the original equation and, because ex and e-x satisfy the original homogeneous equation, the "u(x)" and "v(x)" terms cancel leaving just u'ex- v'e-x= 2/(1+ex). Treat that, along with
u'ex+ v'e-x= 0 (above) as two linear equations for u', v'.
Integrate those solutions to find u and v and plug into y(x)= u(x)ex+ v'(x)e-x.
 
  • #3
differential equation
y ==> dependent variable
x ==> independent variable

The method of variation of parameters is a technique used to solve second order differential equations, such as the one given in this problem. It involves finding a particular solution by varying the parameters of the general solution. In this case, the general solution of the differential equation is y = c1e^x + c2e^-x, where c1 and c2 are arbitrary constants.

To use the method of variation of parameters, we first need to find the complementary solution, which is the general solution without the term involving the dependent variable. In this case, the complementary solution is y_c = c1e^x + c2e^-x.

Next, we need to find the particular solution, which involves finding two functions u1(x) and u2(x) that will be multiplied by c1 and c2 respectively, to create the particular solution. These functions can be found by solving a system of equations involving the derivatives of u1 and u2.

In this case, we have u1' = 0 and u2' = 2e^x/(1+e^x). Solving these equations, we get u1 = 1 and u2 = 2x.

Therefore, the particular solution is y_p = c1 + 2xc2.

The general solution of the differential equation is then y = y_c + y_p = c1e^x + c2e^-x + c1 + 2xc2.

To find the specific solution, we need to use initial conditions or boundary conditions. For example, if y(0) = 1 and y'(0) = 0, we can solve for c1 and c2 and get the specific solution y = e^x + 2xe^-x.

In summary, the method of variation of parameters is a powerful tool for solving second order differential equations with non-constant coefficients. It involves finding a complementary solution and a particular solution, and then combining them to get the general solution. It is a useful technique for scientists and engineers in various fields, as it allows for the solution of complex equations that arise in many real-world applications.
 

1. What is the variation of parameters method for solving differential equations?

The variation of parameters method is a technique used to solve non-homogeneous linear differential equations. It involves finding a particular solution by varying the parameters of a general solution to the associated homogeneous equation.

2. When should I use the variation of parameters method?

You should use the variation of parameters method when the non-homogeneous term in the differential equation is a linear combination of functions that are not already solutions to the homogeneous equation. It is also useful when the coefficients in the differential equation are constants.

3. What are the steps for using the variation of parameters method to solve a differential equation?

The steps for using the variation of parameters method are as follows:

1. Find the general solution to the associated homogeneous equation.

2. Find the Wronskian of the homogeneous solutions.

3. Use the Wronskian and the non-homogeneous term to find the particular solution.

4. Add the general solution and the particular solution to get the complete solution to the differential equation.

4. Can the variation of parameters method be used for all types of differential equations?

No, the variation of parameters method can only be used for linear differential equations with constant coefficients. It cannot be used for non-linear equations or equations with variable coefficients.

5. Are there any limitations to the variation of parameters method?

One limitation of the variation of parameters method is that it can be time-consuming and tedious, especially for higher order differential equations. It also requires knowledge of the general solution to the associated homogeneous equation, which may not always be easy to find.

Similar threads

  • Calculus and Beyond Homework Help
Replies
7
Views
499
  • Introductory Physics Homework Help
Replies
8
Views
1K
  • Introductory Physics Homework Help
Replies
17
Views
376
  • Introductory Physics Homework Help
Replies
12
Views
408
  • Science and Math Textbooks
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
189
  • Introductory Physics Homework Help
Replies
19
Views
1K
Replies
4
Views
784
  • Introductory Physics Homework Help
Replies
3
Views
202
Replies
22
Views
454
Back
Top