Can this differential equation be solved analytically or numerically?

In summary, the conversation discusses a differential equation involving the functions b and c of x. Although there is a closed form relation between c and x, there is not one for b and x. The person is looking for a solution that links all three variables. An analytic solution can be found when c(x) is known and integrable, while a specific c(x) is needed for a nicer formula. For numerical solutions, Euler's method and Runge-Kutta are suggested as options. The formal solution is also provided in an attachment.
  • #1
JulieK
50
0
I have the following differential equation

\begin{equation}
\frac{\partial b}{\partial x}=\frac{b-c}{c^{2}}\end{equation}


where [itex]b[/itex] and [itex]c[/itex] are both functions of [itex]x[/itex]. However, although
I have a closed form relation between [itex]c[/itex] and [itex]x[/itex], I do not have
such a closed form relation between [itex]b[/itex] and [itex]x[/itex]. Is there any analytic
or numeric way to solve this problem. I want a solution linking [itex]b[/itex],
[itex]c[/itex] and [itex]x[/itex]
 
Physics news on Phys.org
  • #2
Well, when c(x) is a known (and integrable) function, then the ode for b(x) is a linear first order ODE and you can solve it by finding the integrating factor.
 
  • #3
JulieK said:
I have the following differential equation

\begin{equation}
\frac{\partial b}{\partial x}=\frac{b-c}{c^{2}}\end{equation}


where [itex]b[/itex] and [itex]c[/itex] are both functions of [itex]x[/itex]. However, although
I have a closed form relation between [itex]c[/itex] and [itex]x[/itex], I do not have
such a closed form relation between [itex]b[/itex] and [itex]x[/itex]. Is there any analytic
or numeric way to solve this problem. I want a solution linking [itex]b[/itex],
[itex]c[/itex] and [itex]x[/itex]

Hi JulieK! :smile:

Wolfram|Alpha gives this analytic solution.
To get a nicer formula, you need a specific c(x).

To solve numerically, the simplest method you can use is Euler's method.
Euler's method uses that:
$$db=\frac{b-c}{c^{2}}dx$$
From a given ##x_0## and ##b_0##, and with a stepsize ##h##, the algorithm is:
$$\left[ \begin{align}x_{n+1} &= x_n + h \\
b_{n+1} &= b_n + h \frac{b_n-c(x_n)}{c(x_n)^{2}} \end{align} \right.$$

A more advanced and accurate method is Runge-Kutta, which is described here.
 
  • #4
The formal solution is in attachment :
 

Attachments

  • EDOlin.JPG
    EDOlin.JPG
    8.5 KB · Views: 427
  • #5
.I can suggest several approaches to solving this differential equation. One option is to use numerical methods such as Euler's method or Runge-Kutta methods to approximate a solution. These methods involve breaking down the equation into small steps and using iterative calculations to approximate the values of b and c at each step. While this may not provide an exact solution, it can give a good approximation and can be useful in situations where a closed form solution is not possible.

Another option is to use analytical methods, such as separation of variables or the method of integrating factors, to try and find an exact solution. These methods can be more complex and may require a deeper understanding of differential equations, but they can provide a precise solution that links b, c, and x.

In some cases, it may also be helpful to use computer software or programming languages to solve the differential equation. This can be particularly useful if the equation is complex or if there are multiple variables involved. With the help of technology, it is possible to find solutions that would be difficult or impossible to obtain by hand.

Overall, the best approach to solving this differential equation will depend on the specific context and the desired level of accuracy. As a scientist, it is important to carefully consider the available methods and choose the most appropriate one for the situation at hand.
 

FAQ: Can this differential equation be solved analytically or numerically?

What is a differential equation?

A differential equation is an equation that relates one or more functions with their derivatives. It is used to model relationships between variables that change continuously over time or space.

Why do we need to solve differential equations?

Differential equations are essential in many scientific fields, including physics, biology, and engineering, as they can help us understand the behavior of complex systems and make predictions about their future states. Solving differential equations allows us to find the exact solutions to these systems and make accurate predictions.

What techniques can be used to solve differential equations?

There are several techniques for solving differential equations, including separation of variables, substitution, and the use of integrating factors. Each technique is suited for different types of differential equations and can be used to find both analytical and numerical solutions.

What does it mean to find a general solution?

A general solution to a differential equation is an equation that contains a constant, called the constant of integration, and can represent an infinite number of solutions. This means that for a given differential equation, there may be multiple solutions that satisfy the equation, and the general solution encompasses all of them.

How can differential equations be applied in real-life situations?

Differential equations have various real-life applications, such as modeling population growth, predicting the spread of diseases, and understanding the behavior of mechanical systems. They are also used in fields like economics and finance to make predictions about future trends and behaviors.

Similar threads

Replies
52
Views
3K
Replies
2
Views
402
Replies
2
Views
2K
Replies
1
Views
2K
Replies
5
Views
845
Replies
7
Views
2K
Replies
2
Views
1K
Back
Top