Can this differential equation be solved analytically or numerically?

Click For Summary

Discussion Overview

The discussion revolves around the solvability of a differential equation involving two functions, b and c, both dependent on the variable x. Participants explore both analytical and numerical methods for finding a solution that relates b, c, and x.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant presents the differential equation and seeks methods for solving it, noting the lack of a closed form for b in relation to x.
  • Another participant suggests that if c(x) is known and integrable, the equation for b(x) can be solved as a linear first-order ordinary differential equation using an integrating factor.
  • A different participant mentions that Wolfram|Alpha provides an analytic solution but emphasizes the need for a specific form of c(x) to obtain a clearer formula.
  • This participant also describes a numerical approach using Euler's method, outlining the steps involved in the algorithm for solving the equation numerically.
  • Additionally, they mention the Runge-Kutta method as a more advanced and accurate numerical technique for solving the differential equation.

Areas of Agreement / Disagreement

Participants present various methods for solving the differential equation, but there is no consensus on a single approach. The discussion includes both analytical and numerical perspectives, with differing opinions on the applicability of each method depending on the form of c(x).

Contextual Notes

The discussion does not resolve the specific conditions under which the proposed methods would be applicable, nor does it clarify the assumptions regarding the function c(x).

JulieK
Messages
50
Reaction score
0
I have the following differential equation

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


where b and c are both functions of x. However, although
I have a closed form relation between c and x, I do not have
such a closed form relation between b and x. Is there any analytic
or numeric way to solve this problem. I want a solution linking b,
c and x
 
Physics news on Phys.org
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.
 
JulieK said:
I have the following differential equation

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


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

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.
 
The formal solution is in attachment :
 

Attachments

  • EDOlin.JPG
    EDOlin.JPG
    8.5 KB · Views: 462

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
863
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 52 ·
2
Replies
52
Views
9K
  • · Replies 0 ·
Replies
0
Views
3K