Is there a solution for these three differential equations?

Click For Summary

Discussion Overview

The discussion revolves around the challenge of solving three differential equations involving three unknowns, ##p##, ##q##, and ##r##. Participants explore the nature of these equations, their algebraic structure, and the difficulties encountered in finding solutions using computational tools.

Discussion Character

  • Debate/contested
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant presents three equations involving derivatives with respect to constants, questioning whether a solution exists for the unknowns ##p##, ##q##, and ##r##.
  • Another participant argues that the equations are not differential equations but rather algebraic equations, suggesting the use of numerical methods in software like Maple.
  • A participant mentions that attempts to solve the equations algebraically in Maple were unsuccessful, leading to the exploration of numerical solutions.
  • It is noted that the complexity of the polynomials involved may hinder finding algebraic solutions, particularly when the variable ##k## is set to 5.
  • One participant suggests that changing the values of ##f_1## and ##f_2## leads to a different system of equations that may have solutions, but the reason for this is unclear.
  • Concerns are raised about the possibility of complex solutions not being detected by the numerical algorithms, and the starting point for these algorithms may affect the results.
  • Another participant proposes experimenting with different values for ##f_1## and ##f_2## to identify where solutions can be found.

Areas of Agreement / Disagreement

Participants express differing views on the nature of the equations and the methods for solving them. There is no consensus on whether a solution exists for the original set of equations, and the discussion remains unresolved regarding the effectiveness of different approaches.

Contextual Notes

Participants highlight limitations in the computational methods used, including potential issues with complex solutions and the starting points for numerical searches. The complexity of the polynomial equations is also noted as a factor in the difficulty of finding solutions.

Ad VanderVen
Messages
169
Reaction score
13
TL;DR
I have given three differential equations with three unknowns and I cannot find a numerical solution with the 'fsolve' command in Maple. It seems like there is no solution at all. The question is whether this is the case, and if so, why.
I have three differential equations with three unknowns ##p##, ##q## and ##r##:

$$\displaystyle {\frac {\partial }{\partial p}}\sum _{k=1}^{5}f_{{k}}\ln \left( P \left( X=k \right) \right) =0$$,
$$\displaystyle {\frac {\partial }{\partial q}}\sum _{k=1}^{5}f_{{k}}\ln \left( P \left( X=k \right) \right) =0$$,
$$\displaystyle {\frac {\partial }{\partial r}}\sum _{k=1}^{5}f_{{k}}\ln \left( P \left( X=k \right) \right) =0$$
with
$$\displaystyle P \left( X=k \right) \, = \,{q}^{k-1}r+2\, \left( k-1 \right) {q}^{k-2} \left( 1-p-q-r \right) p+ \left( k-1 \right) {q}^{k-2}{p}^{2}+ \left( k-1 \right) {q}^{k-2} \left( 1-p-q-r \right) r\\
\mbox{}+ \left( k-1 \right) {q}^{k-2}pr+1/2\, \left( k-2 \right) \left( k-1 \right) {q}^{k-3} \left( 1-p-q-r \right) ^{3}+1/2\, \left( k-2 \right) \left( k-1 \right) {q}^{k-3} \left( 1-p-q-r \right) ^{2}p\\
\mbox{}+1/2\, \left( k-2 \right) \left( k-1 \right) {q}^{k-3} \left( 1-p-q-r \right) ^{2}r$$
and
##\displaystyle f_{{1}}\, = \,0##, ##\displaystyle f_{{2}}\, = \,26##, ##\displaystyle f_{{3}}\, = \,111##, ##\displaystyle f_{{4}}\, = \,17## and ##\displaystyle f_{{5}}\, = \,2##.

I can't find a solution for ##p##, ##q## and ##r##. Is there a solution at all?

If I replace ##\displaystyle f_{{1}}\, = \,0##, ##\displaystyle f_{{2}}\, = \,26## with ##\displaystyle f_{{1}}\, = \,1##, ##\displaystyle f_{{2}}\, = \,25## then I get a solution:

##p = 0.08557##, ##q = 0.05161##, ##r = 0.00641##.
 
  • Like
Likes   Reactions: Delta2
Physics news on Phys.org
These are not differential equations because in DEs the unknowns are functions (of time or some other independent variable). Here your unknowns seem to be numbers and the equations are algebraic. We just have to calculate some derivatives to find the final algebraic expression of the algebraic equation. So you should try a command in Maple that numerically solves algebraic equations.
 
Be that as it may, there are three equations here with three unknowns ##p##, ##q## and ##r##. And of course I first used the 'solve' command to solve algebraically the equations in p, q and r. But that didn't work in Maple. So I tried to find a numeric solution with the command 'fsolve'. But that didn't work either and the question remains: why. Besides, you did not answer the question why I do get a solution when I change ##\displaystyle f_{{1}}\, =\,0## and ##\displaystyle f_{{2}}\, =\,26## to ##\displaystyle f_{{1}}\, =\,1## and ##\displaystyle f_{{2}}\, =\,25##.
 
Well the full algebraic expression of the equations (after calculating the derivatives) is polynomial , however we seem to have 3 very complex polynomials with variables p,q,r and its no surprise to me that maple can't find a solution with algebraic expression (i mean a solution containing radicals , powers e.t.c). I think to this relates the fact that ##k## , which seems to be the variable controlling the degree of the polynomials, goes high up to 5, maybe if u set ##k## to be maximum 3 you ll get solutions with the solve command.

So numerical solution seems to me is the only working approach. When you change ##f_1## and ##f_2## you get a different system of polynomials for which there might be solutions. I am afraid i can't answer the question as to why when you do the specific change the system has solutions.
 
Last edited:
Thank you for your honest answer and for taking the time to answer my questions.
 
  • Like
Likes   Reactions: Delta2
Two possible issues: (1) the solution is complex but the program is looking for solutions in the real numbers, (2) the numerical algorithm looking for solutions is starting its search at a particular point and doesn't find distant solutions. Can you control in Maple where the program starts looking for solutions? The one solution you did get does seem to be near zero, which is where I might expect the program to start searching by default.
 
When I replaced ##\displaystyle f_{{1}}\, = \,0## and ##\displaystyle f_{{2}}\, = \,26## with ##\displaystyle f_{{1}}\, = \,1## and ##\displaystyle f_{{2}}\, = \,25## I got the following parameter estimates ##\hat{p} = 0.08557##, ##\hat{q} = 0.05161## and ##\hat{r} = 0.00641##. Using these estimates as starting values for the estimation based on the original ##f_k## values, Maple has also failed to find a solution.
 
I would try things like ##f_1=0.5##, ##f_2=25.5## and see if you can narrow in on where you stop getting a solution, and what the solutions look like as you approach it.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
10K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 12 ·
Replies
12
Views
2K