Solution of two variables parametric (in one) equation

조회 수: 5 (최근 30일)
Muhammad Imran
Muhammad Imran 2016년 10월 27일
댓글: Steven Lord 2016년 10월 27일
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
Muhammad Imran
Muhammad Imran 2016년 10월 27일
rho is a variable. In the equation, there are two variables (rho and r), which third vaiable you mean?
Mostafa
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
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.

카테고리

Help CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by