CodesJava

Easy learning with example program codes

Method of separation of variables differential equations

The solution of differential equations by the method of separation of variables solutions of homogeneous differential equations of the first order and first degree

Method of separation of variables is one of the most widely used techniques to solve ODE. It is based on the assumption that the solution of the equation is separable. This means that the final solution can be represented as a product of several functions.Each of these functions is only dependent upon a single independent variable.

Consider the first-order equation:

If F (x, y) can be expressed as a function g (x) h(y), where, g(x) is a function of x while h(y) is a function of y, then we can assume that the differential equation of f(x, y) is said to be of variable separable type. The differential equation then has the form:

Assume h ≠ 0, Then we can also write DE by separating the variables:

Now we can integrate both the sides of the equation to find the solution:

In this case, H(y) and G(x) are the anti derivatives of y and x respectively and C is the arbitrary constant.

Example: Solve the equation below giving the answer in the form y = f(x)

We first take out x as a common factor on the r.h.s., so

We can now separate the variables by dividing by (1 +y)

Example: Find the equation of a curve passing through the point (–1, 3), given that the slope of the tangent to the curve at any point (x, y) is

The equation for the slope of a tangent is:

We now separate the x and y variables:

This equation can be integrated on both sides:

Substituting x = –1, y = 3 in equation above, we get C = 8.

Substituting the value of C in the equation, we get the equation of the required curve as:

Example: In a bank, the principal increases continuously at a rate of 5% per year. In how many years Rs 10000 double itself?

Solution: Let P be the principal at a certain time t. From the previous knowledge of simple interest, recall that:

Now we can separate the x and y variables on either side and integrate the equations:

Hence, we obtain:

Let , then we can write:

Substituting the values of P = 10000 at t = 0, we obtain C:

Therefore, the solution is:

To find the time to double the principle we substitute the value of P = 20000 in the equation above:

 

Please follow and like us:
error
Posted in A2   









Copyright © 2019 CodesJava DMCA.com Protection Status