How do I find the interval in which a function is increasing ?

3 views (last 30 days)
How do i find the interval in which the given function: x^3 + 2*x^2 + 5*x + 6 is increasing.
Looking for a straightfoward answer that solves the question.
  3 Comments
Steven Lord
Steven Lord on 9 Jan 2024
This sounds like a homework assignment. If it is, show us the code you've written to try to solve the problem and ask a specific question about where you're having difficulty and we may be able to provide some guidance.
If you aren't sure where to start because you're not familiar with how to write MATLAB code, I suggest you start with the free MATLAB Onramp tutorial to quickly learn the essentials of MATLAB.
If you aren't sure where to start because you're not familiar with the mathematics you'll need to solve the problem, I recommend asking your professor and/or teaching assistant for help.

Sign in to comment.

Accepted Answer

Hassaan
Hassaan on 9 Jan 2024
  1. Find the first derivative f′(x).
  2. Solve for critical points where f(x)=0.
  3. Determine the sign of f(x) on intervals defined by the critical points to find where f(x) is increasing.
---------------------------------------------------------------------------------------------------------------------------------------------------
If you find the solution helpful and it resolves your issue, it would be greatly appreciated if you could accept the answer. Also, leaving an upvote and a comment are also wonderful ways to provide feedback.
Professional Interests
  • Technical Services and Consulting
  • Embedded Systems | Firmware Developement | Simulations
  • Electrical and Electronics Engineering

More Answers (1)

Matt J
Matt J on 9 Jan 2024
Edited: Matt J on 9 Jan 2024
You would take the derivative and examine where the derivative is non-negative.
  3 Comments
Matt J
Matt J on 9 Jan 2024
Edited: Matt J on 9 Jan 2024
Absolutely not. It is very apparent that it is a homework question.
However, it might profit you to look at polyder and roots.
Adam
Adam on 9 Jan 2024
This is not a homework question. Im learning for a test and I am simply trying to understand and figure out a way through which i can receive a desired output. The function in question x^3 + 2*x^2 + 5*x + 6 is from a book example of a test. I understand that youre still not going to provide me with a code I just wanted to explain myself.

Sign in to comment.

Categories

Find more on Programming in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!