Increasing and Decreasing Intervals Calculator

Type a function of x to find the intervals where it rises and falls.

Use x. Type powers with ^, and functions with brackets: sin(x), e^(2x), ln(x), sqrt(x).

Try

Result

You enteredf(x)=x2f(x) = x^{2}

Increasing on (0,∞); decreasing on (−∞,0)\displaystyle \text{Increasing on } \left(0, \infty\right);\ \text{decreasing on } \left(-\infty, 0\right)
Show the work
  1. First derivative

    Differentiate x2x^{2} with the usual rules (the derivative calculator shows each one).

    f′(x)=2xf'(x) = 2x
  2. Critical points: f'(x) = 0

    Set f′(x)f'(x) equal to 0 and solve.

    f′(x)=2x=0  ⇒  x=0\begin{aligned} f'(x) &= 2x \\ &= 0 \;\Rightarrow\; x \\ &= 0 \end{aligned}
  3. Sign chart of the first derivative

    The points where f′f' is 0 or does not exist cut the line into intervals on which f′f' keeps one sign. Test one point in each.

    Using f′(x)>0⇒f increasing;f′(x)<0⇒f decreasingf'(x) > 0 \Rightarrow f \text{ increasing};\quad f'(x) < 0 \Rightarrow f \text{ decreasing}

    IntervalTest pointf′(test)Sign(−∞,0)−1−2− (decreasing)(0,∞)12+ (increasing)\begin{array}{c|c|c|l} \text{Interval} & \text{Test point} & f'(\text{test}) & \text{Sign} \\ \hline \left(-\infty, 0\right) & -1 & -2 & -\ (\text{decreasing}) \\ \left(0, \infty\right) & 1 & 2 & +\ (\text{increasing}) \end{array}
  4. Result

    Where f′f' is positive ff rises; where it is negative ff falls. Neighbouring intervals of one sign join across a point where ff is defined.

    Increasing on (0,∞); decreasing on (−∞,0)\text{Increasing on } \left(0, \infty\right);\ \text{decreasing on } \left(-\infty, 0\right)
Drag to pan. Scroll or pinch to zoom. Arrow keys pan and + / − zoom when the graph has focus.
(0, 0)
  • y = x^2
  • (0, 0)

Points on the graph

  • y = x^2: zero (0, 0)
  • y = x^2: minimum (0, 0)

Worked examples