How do I find the extrema of the function x^3+6 x^2-13 x-42?

조회 수: 2 (최근 30일)
Pedro
Pedro 2012년 9월 10일
In the optimizing section there is function that calculates minima but not all the extrema. And how to I do for the multiple variable functions, like, (-x-2)^2+(-y-3)^2?
  댓글 수: 3
Pedro
Pedro 2012년 9월 10일
I guess I messed up there, I actually want to know the method for both types of functions.
Rick Rosson
Rick Rosson 2012년 9월 10일
Please post two separate questions.

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2012년 9월 10일
For polynomials, the extrema are always one of the infinities.
Take the highest order term. If it is an even power, then both extrema have the same sign, which will be the same as the sign of that highest-order term. If the highest order term is an odd power, then the extrema have opposite signs, with the limit towards +infinity having the same sign as the highest-order term, and the limit towards -infinity having the opposite sign as the highest-order term.
If you want to find all the minima and all the maxima, and you have a routine to find minima, then use it once to find the minima, and then feed in the negative of the expression and find the minima of that and invert their signs to get the maxima.
  댓글 수: 6
Pedro
Pedro 2012년 9월 10일
No, I'm actually new at Matlab, you mean symbolic math toolbox, right?
Walter Roberson
Walter Roberson 2012년 9월 10일
Yes, the symbolic math toolbox.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by