📘 CodingMarble Learn

Function Study: Periodicity, Monotonicity, Extrema, Max and Min on an Interval

To study a function we ask four questions. Does the graph repeat (period T with f(x + T) = f(x))? Where does it go up or down (the sign of the slope)? Where does it turn (slope zero, giving local maximum or minimum)? And on a chosen interval [a, b], which value is the largest and smallest (check the two ends and the turning points inside)?

🎬 Step-by-step story

  1. The wave repeats. Look at the two purple points: after a distance T the height is exactly the same. T is the period.
  2. Squeeze the wave: w goes from 1 to 2. The wave repeats twice as fast and the period halves from about 6.28 to 3.14.
  3. New curve x³ − 3x. Green parts go up, the red part goes down. The point changes colour as you slide along.
  4. At the top of the hill and the bottom of the valley the orange tangent line is flat. The slope there is 0. These are the turning points.
  5. Now look only at the blue strip, the interval from −2 to 1.5. The biggest value is 2 at x = −1. The smallest is −2 at an end, x = −2.
  6. Free play. Move a and b. Max and min can sit at a turning point or at an end. Watch them jump.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

What exactly repeats in a periodic function?

The whole picture. Shift it by T to the right and it lands exactly on itself.

Why does the period get smaller when w is bigger?

A bigger w squeezes the wave sideways, so one full wave fits in a shorter distance: T = 2π ÷ w.

Why does the colour change at −1 and 1?

At these points the curve stops going one way and starts the other way, so the slope changes sign.

Why is the tangent flat at a turning point?

Just before the top the graph goes up, just after it goes down. In between, the slope must pass through 0.

Why is the minimum at the end x = −2 and not at a turning point?

The ends are also candidates. Here f(−2) = −2 equals the valley value f(1) = −2, so both are the smallest.

Can the maximum be at a turning point?

Yes. Slide a to −1.5 and b to 1: the maximum 2 is at the turning point x = −1.

Periodicity

A function f is periodic if there is a number T > 0 so that f(x + T) = f(x) for every x. The smallest such T is the period. The graph is one piece repeated again and again.

A function like x² is not periodic: its values keep growing and never repeat.

If f has period T, you only need to study one period and then copy it.

Monotonicity: increasing and decreasing

A function is increasing on an interval if the graph goes up as x grows, and decreasing if it goes down. Together these are called monotonic (one direction only).

The slope tells us. The slope of the curve at a point is written f′(x) (the derivative).

Example: f(x) = x³ − 3x, f′(x) = 3x² − 3 = 3(x − 1)(x + 1). It is positive for x < −1 and x > 1 (increasing) and negative for −1 < x < 1 (decreasing).

Extrema: turning points

A local maximum is the top of a hill: the function goes up, then down. A local minimum is the bottom of a valley: down, then up. Together they are extrema (extremum for one).

At such a point the tangent line is flat, so f′(x) = 0. Find them like this:

  1. Solve f′(x) = 0. These are the candidates (critical points).
  2. Check the sign of f′ just before and just after. Plus then minus: maximum. Minus then plus: minimum. No change: neither (like x³ at 0).

For x³ − 3x: f′ = 0 at x = ±1. At x = −1 the slope goes + to −: local maximum, value 2. At x = 1 it goes − to +: local minimum, value −2.

Max and min on an interval [a, b]

On a closed interval [a, b] a smooth function has a largest and a smallest value. They can sit at a turning point inside, or at an end. So:

  1. Find the turning points (f′ = 0) that lie inside [a, b]. Ignore the ones outside.
  2. Calculate f at those points and at a and b.
  3. The biggest number is the maximum, the smallest is the minimum.

For f = x³ − 3x on [−2, 1.5]: f(−2) = −2, f(−1) = 2, f(1) = −2, f(1.5) = −1.125. Max 2 at x = −1; min −2 at x = −2 and x = 1.

A local max is not always the biggest on the interval: an end can be bigger.

Try it: predict, then check

In the 3D board choose "Max and min on [a, b]". Guess: if a = −1.5 and b = 2, where is the maximum? Slide a and b to check. At home: throw a small ball up (softly!) and watch: it rises, stops for a moment at the top (slope 0) and falls. The top is the turning point. Or clap in a steady rhythm: the time between two claps is the period.

Key formulas and definitions

Worked examples

1. Find the period of y = sin(3x).

T = 2π ÷ w = 2π ÷ 3 = 2π/3.

2. Find the period of y = cos(x/2).

Here w = 1/2, so T = 2π ÷ (1/2) = 4π. The wave is stretched, so it repeats more slowly.

3. Is f(x) = x² periodic?

No. If f(x + T) = f(x) for all x, then at x = 0: T² = 0, so T = 0, but a period must be above 0. So x² is not periodic. The graph is a bowl that never repeats.

4. Where is f(x) = x² − 4x increasing and decreasing?

f′(x) = 2x − 4. It is 0 at x = 2. For x < 2, f′ < 0: decreasing. For x > 2, f′ > 0: increasing. So x = 2 is the minimum, with f(2) = −4.

5. Find the local maximum and minimum of f(x) = x³ − 3x.

f′ = 3x² − 3 = 0 gives x = ±1. At x = −1 the slope goes + to −: local maximum, f(−1) = −1 + 3 = 2. At x = 1 it goes − to +: local minimum, f(1) = 1 − 3 = −2.

6. Find the max and min of f(x) = x³ − 3x on [−2, 1.5].

Turning points ±1 are both inside. f(−2) = −8 + 6 = −2. f(−1) = 2. f(1) = −2. f(1.5) = 3.375 − 4.5 = −1.125. Largest 2 at x = −1, smallest −2 at x = −2 and x = 1.

7. Find the max and min of f(x) = x² − 4x + 1 on [0, 5].

f′ = 2x − 4 = 0 gives x = 2 (inside). f(2) = 4 − 8 + 1 = −3. f(0) = 1. f(5) = 25 − 20 + 1 = 6. Maximum 6 at x = 5 (an end), minimum −3 at x = 2.

8. Find the max and min of f(x) = x + 1/x on [1, 4].

f′ = 1 − 1/x². For x > 1, 1/x² < 1, so f′ > 0: increasing on the whole interval. No turning point inside (x = 1 is an end). Minimum f(1) = 2, maximum f(4) = 4 + 0.25 = 4.25.

Common mistakes

Practice quiz

1. The period of sin x is:
2. The period of sin(2x) is:
3. If f′(x) < 0 on an interval, f is there:
4. At a local maximum the slope is:
5. On [a, b] the maximum can be at:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is the difference between local and global maximum?

A local maximum is the highest in its neighbourhood. The global (absolute) maximum on an interval is the highest value on the whole interval.

Can a function be both increasing and decreasing?

Not on the same interval, but on different parts of its graph, yes, like x³ − 3x.

Do I need derivatives to study a function?

They make it fast, but you can also read the graph or compare values. This lesson shows the slope idea with a 3D tangent line.

Learn first

Learn next

Related lessons

All Maths lessons