How do you determine the intervals where the graph of the given function is concave up and concave down #f(x)= sinx-cosx# for #0<=x<=2pi#?
2 Answers
Whenever a problem asks for concave up or down intervals, we have to use the second derivative test. Concavity involves the curvature of a graph; at a given interval, taking the first derivative gives us a increasing or decreasing function linearly, while the second derivative allows us to see how a function curves up or down exponentially (like the parabola
Recall that for
First derivative -
Second derivative -
After solving for the second derivative, we then have to find the inflection points. At these points, there is no curvature as the function's concavity changes from concave up to down or vice versa. Thus, we can say that
Solving for
Now, we can test some values around the inflection points to see where
For
For
For
Thus,
Unlike the brackets, the parentheses () indicate greater than (
graph{sin(x)-cos(x) [-1.57079632679, 6.28318530718, -3, 3]}
Our answer is correct. A number line is very helpful for marking the inflection points and where the function is positive or negative; see my setup to a similar calculus problem (the last part of my second answer):