Solution of two variables parametric (in one) equation
조회 수: 5 (최근 30일)
이전 댓글 표시
Dear colleagues,
I have a complex equation of the form: -xr + ar^5 - br^4 + cr^3 - dr^2 + er + 1.22 = 0, where x and r are two variables and a, b, c d & e are constants. I may ask for your kind suggestion to find the values of x and r.
Best regards, Imran
댓글 수: 6
Mostafa
2016년 10월 27일
Actually I've just noticed that you have one equation in two unkowns, so basically you can have an unlimited number of solutions. Unfortunately I don't have access to matlab right now, so I can't verify the output, but I think that's the issue with that. Maybe the default algorithm to calculate the result contains both real & imaginary parts, so it gives you the answer you mentioned.
답변 (1개)
John D'Errico
2016년 10월 27일
You have ONE equation, in TWO unknowns.
You cannot solve for both unknowns. At best, you can solve for one as a function of the other. So, if you choose to fix the value of r, then paper and pencil are sufficient to solve for x, AS A FUNCTION OF r.
Alternatively, if you choose to fix the value of x, then you have a 5th degree polynomial, with non-trivial coefficients. For almost ALL such sets of coefficients (except for some trivial sets) there are NO analytical solutions. This was proven a long time ago. At best, you can solve for the numerical roots. So the symbolic toolbox will return expressions that involve calls to the function "rootof".
But again, if you want to solve for both x and r at the same time this is simply NOT possible. One equation in two unknowns is insufficient information.
댓글 수: 1
참고 항목
카테고리
Help Center 및 File Exchange에서 Calculus에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!