Series 4 – Functions: Variations, Rate of Change T and Variance

Very difficult exercises on function variations: computing the rate of change T, determining its sign, deducing monotonicity, and computing variance (increment and statistical).
**Difficulty: Very Difficult**

Ten challenging exercises on the study of advanced functions. For each function, compute the rate of change T on given intervals, determine its sign (positive or negative), deduce the variations of the function, and compute the variance (increment and, where asked, statistical variance).


1. Theory reminders

1.1 Rate of change (taux de variation)

For a function f defined on an interval containing a and b with a<b:

T(a,b) = f(b)−f(a) b−a

1.2 Sign of T and monotonicity

T(a,b)>0 ⇔ f(b)>f(a) T(a,b)<0 ⇔ f(b)<f(a) T(a,b)=0 ⇔ f(b)=f(a)

If T(a,b)>0 for every pair a<b in an interval, then f is strictly increasing on that interval. Similarly for T<0 (decreasing).

1.3 Variance (increment) of the function on an interval

The absolute variance (also called increment or variation) of f between a and b is

Δf = f(b)−f(a) = T(a,b) ⋅ (b−a)

Its sign is the same as the sign of T.

1.4 Statistical variance of a family of T values

Given n rates of change T1,…,Tn computed on n consecutive intervals, their mean and variance are:

T‾ = 1n ∑i=1n Ti Var(T) = 1n ∑i=1n (Ti−T‾) 2

2. Exercises

Exercise 1 – Cubic polynomial

Let f(x)=2x3−3x2−12x+5.

On the intervals [−2,0], [0,1], [1,3]:

  1. Compute T on each interval.
  2. Determine the sign of T on each interval.
  3. Deduce the variations of f.
  4. Compute the absolute variance Δf on each interval.
  5. Give the full variation table.

Exercise 2 – Rational function

Let f(x)=2x+1x−3 on ]−∞,3[∪]3,+∞[.

On [4,6] and [0,2]:

  1. Compute T on each interval.
  2. Determine its sign.
  3. Deduce the variation of f on each branch.
  4. Verify by computing f′(x).
  5. Compute Δf on each interval.

Exercise 3 – Radical function

Let f(x)=x2+4.

On [−1,1], [2,5], [−3,−1]:

  1. Compute T on each interval.
  2. Determine its sign.
  3. Deduce the variations of f.
  4. Prove that f is even.
  5. Compute the variance Δf on each interval.

Exercise 4 – Absolute value of a quadratic

Let f(x)=|x2−4|.

On [0,1], [2,3], [−3,−1]:

  1. Remove the absolute value by cases.
  2. Compute T on each interval and its sign.
  3. Deduce the variations of f on ℝ.
  4. Compute Δf on each interval.

Exercise 5 – Hyperbolic sine

Let f(x)=ex−e−x2.

On [−1,1], [0,1], [−2,−1]:

  1. Compute T on each interval.
  2. Show that f is odd.
  3. Deduce the sign of T on [−1,1].
  4. Prove that f is strictly increasing on ℝ.
  5. Compute Δf on [0,1].

Exercise 6 – Logarithm

Let f(x)=x−ln(x) on ]0,+∞[.

On [0.5,1], [1,2], [2,5]:

  1. Compute T on each interval.
  2. Determine its sign.
  3. Deduce the variations of f.
  4. Find the minimum of f.
  5. Compute Δf on each interval.

Exercise 7 – Trigonometric

Let f(x)=sin(x)+x on [0,π].

On [0,π4] and [π4,π2]:

  1. Compute T on each interval.
  2. Determine its sign.
  3. Prove that f′(x)≥0 on [0,π].
  4. Deduce the variation of f.
  5. Compute Δf on each interval.

Exercise 8 – Statistical variance of T values

Let f(x)=x2. Consider the four consecutive unit intervals:

[0,1], [1,2], [2,3], [3,4]
  1. Compute the four rates of change T1,T2,T3,T4.
  2. Compute their mean T‾.
  3. Compute the statistical variance Var(T).
  4. Compute the standard deviation σ=Var(T).
  5. Interpret: what does this variance tell us about the growth of f?

Exercise 9 – Quartic

Let f(x)=x4−4x2+3.

On [0,1], [1,2], [2,3]:

  1. Compute T on each interval and its sign.
  2. Find f′(x) and its sign.
  3. Give the full variation table on ℝ.
  4. Explain why the sign of T on [1,2] does not prove f is monotone there.
  5. Compute Δf on each interval.

Exercise 10 – Product with exponential

Let f(x)=x2e−x on ℝ.

On [−1,0], [0,1], [1,2], [2,3]:

  1. Compute T on each interval.
  2. Determine its sign.
  3. Compute f′(x) and its sign.
  4. Give the variation table.
  5. Compute Δf on each interval.

3. Full solutions

Solution 1

1. Computing T.

Values: f(−2)=1, f(0)=5, f(1)=−8, f(3)=−4

T(−2,0) = 5−10−(−2) =42=2 T(0,1) = −8−51 =−13 T(1,3) = −4−(−8)3−1 =42=2

2. Sign. T(−2,0)>0, T(0,1)<0, T(1,3)>0.

3. Variations. f increasing on [−2,0], decreasing on [0,1], increasing on [1,3].

4. Variance (increment). Δf=f(b)−f(a):

Δf(−2,0)=4, Δf(0,1)=−13, Δf(1,3)=4

5. Variation table. Derive f′(x)=6x2−6x−12=6(x−2)(x+1). Roots: −1 and 2.

| x | −∞ | | −1 | | 2 | | +∞ | |—|—|—|—|—|—|—| | f′(x) | | + | 0 | − | 0 | + | | f(x) | | ↗ | 12 | ↘ | −15 | ↗ |


Solution 2

1. Computing T.

f(4)=91=9, f(6)=133 T(4,6) = 133−92 = −1432 = −73 f(0)=−13, f(2)=−5 T(0,2) = −5−(−13)2 = −1432 = −73

2. Sign. T<0 on both intervals.

3. Variations. f is decreasing on [4,6] and on [0,2].

4. Derivative.

f′(x) = 2(x−3)−(2x+1) (x−3)2 = −7(x−3)2 <0

So f is strictly decreasing on each interval of its domain. Consistent with T<0.

5. Variance.

Δf(4,6)=−143, Δf(0,2)=−143

Solution 3

1. Values and T.

f(−1)=5, f(1)=5, f(2)=8=22, f(5)=29 T(−1,1) = 5−52 =0 T(2,5) = 29−223 ≈ 0.852 >0 T(−3,−1) = 5−132 ≈ −0.685 <0

2. Sign. T(−1,1)=0; T(2,5)>0; T(−3,−1)<0.

3. Variations. On [0,+∞[ (positive side), f is increasing; on ]−∞,0] (negative side), f is decreasing. Minimum at x=0 with f(0)=2.

4. Even function. f(−x)=(−x)2+4=x2+4=f(x).

5. Variance.

Δf(−1,1)=0, Δf(2,5)=29−22, Δf(−3,−1)=5−13

Solution 4

1. Removing the absolute value.

f(x)= { x2−4if |x|≥2 4−x2if |x|<2

2. T on each interval.

T(0,1) = (4−1)−(4−0)1 =−1 <0 T(2,3) = (9−4)−01 =5 >0 T(−3,−1) = (4−1)−(9−4)2 = 3−52 =−1 <0

3. Variations on ℝ. f is decreasing on ]−∞,−2], increasing on [−2,0], decreasing on [0,2], increasing on [2,+∞[. Local minima at x=±2 with f(±2)=0, local maximum at x=0 with f(0)=4.

4. Variance.

Δf(0,1)=−1, Δf(2,3)=5, Δf(−3,−1)=−2

Solution 5

1. Values and T. Let s=sinh(1)=e−e−12≈1.175.

f(−1)=−s, f(1)=s, f(0)=0 T(−1,1) = s−(−s)2 = s ≈ 1.175 >0 T(0,1) = s−01 = s >0 T(−2,−1) = −s−(−sinh(2))1 = sinh(2)−s ≈ 3.627−1.175 = 2.452 >0

2. Odd function. f(−x)=e−x−ex2=−f(x).

3. Sign on [−1,1]. T>0 (computed above).

4. Strictly increasing. f′(x)=ex+e−x2>0 for all x. So f is strictly increasing on ℝ.

5. Variance on [0,1]. Δf=s≈1.175.


Solution 6

1. Values and T.

f(0.5)=0.5+ln(2)≈1.193, f(1)=1, f(2)≈1.307, f(5)≈3.391 T(0.5,1) = 1−1.1930.5 ≈ −0.386 <0 T(1,2) = 1.307−11 ≈ 0.307 >0 T(2,5) = 3.391−1.3073 ≈ 0.695 >0

2. Sign. T<0 on [0.5,1]; T>0 on [1,2] and [2,5].

3. Variations. f′(x)=1−1x=x−1x. f′<0 on ]0,1[; f′>0 on ]1,+∞[. So f decreases on ]0,1] and increases on [1,+∞[.

4. Minimum. At x=1: f(1)=1.

5. Variance.

Δf(0.5,1)≈−0.193, Δf(1,2)≈0.307, Δf(2,5)≈2.084

Solution 7

1. Computing T.

f(0)=0, f(π4)=22+π4, f(π2)=1+π2 T(0,π4) = 22+π4 π4 = 1+22π ≈ 1.900 >0 T(π4,π2) = 1+π2−22−π4 π4 = 1+4−22π ≈ 1.373 >0

2. Sign. Both T>0.

3. Derivative. f′(x)=cos(x)+1. Since cos(x)≥−1, we have f′(x)≥0 on ℝ, with equality only at x=π+2kπ.

4. Variations. f is strictly increasing on [0,π] (and on ℝ).

5. Variance.

Δf(0,π4)=22+π4, Δf(π4,π2)=1−22+π4

Solution 8

1. Four rates of change.

T1=1−01=1, T2=4−11=3, T3=9−41=5, T4=16−91=7

All Ti>0: f is increasing on each subinterval.

2. Mean.

T‾ = 1+3+5+74 = 164 = 4

3. Variance.

Var(T) = (1−4)2 + (3−4)2 + (5−4)2 + (7−4)2 4 = 9+1+1+94 = 204 = 5

4. Standard deviation.

σ=5≈2.236

5. Interpretation. The four rates of change form the arithmetic sequence 1,3,5,7 (common difference 2). All are positive, so f is increasing on [0,4]. The variance Var(T)=5 measures how unevenly the function grows: the rate accelerates. Indeed T(a,a+1)=2a+1, so T grows linearly with a. For an arithmetic sequence of n terms with common difference d:

Var(T) = d2(n2−1) 12 = 4(15) 12 = 5

which confirms the computation.


Solution 9

1. T on each interval.

f(0)=3, f(1)=0, f(2)=3, f(3)=48 T(0,1)=−3<0, T(1,2)=3>0, T(2,3)=45>0

2. Derivative.

f′(x) = 4x3−8x = 4x(x−2)(x+2)

Sign of f′(x): on ]−∞,−2[ negative; on ]−2,0[ positive; on ]0,2[ negative; on ]2,+∞[ positive.

3. Variation table.

| x | −∞ | | −2 | | 0 | | 2 | | +∞ | |—|—|—|—|—|—|—|—|—| | f′(x) | | − | 0 | + | 0 | − | 0 | + | | f(x) | | ↘ | −1 | ↗ | 3 | ↘ | −1 | ↗ |

4. Why the sign of T on [1,2] does not prove monotonicity. T(1,2)>0 only means f(2)>f(1). But on [1,2] the function actually decreases on [1,2] (from 0 to −1) and then increases on [2,2] (from −1 to 3). The net change is positive, but the function is not monotone on the whole interval.

General rule. A single sign of T(a,b) gives only the overall direction between endpoints, not the pointwise monotonicity. To prove monotonicity, one must show T(a,b)>0 for all a<b in the interval, or equivalently f′(x)≥0 for all x.

5. Variance.

Δf(0,1)=−3, Δf(1,2)=3, Δf(2,3)=45

Solution 10

1. T on each interval.

f(−1)=e≈2.718, f(0)=0, f(1)=e−1≈0.368, f(2)=4e−2≈0.541, f(3)=9e−3≈0.448 T(−1,0)=−e≈−2.718<0 T(0,1)=e−1≈0.368>0 T(1,2) = 4e−2−e−1 = e−2(4−e) ≈ 0.135(4−2.718) ≈ 0.173 >0 T(2,3) = 9e−3−4e−2 = e−3(9−4e) ≈ 0.0498(9−10.873) ≈ −0.093 <0

2. Sign. T<0 on [−1,0] and [2,3]; T>0 on [0,1] and [1,2].

3. Derivative.

f′(x) = 2xe−x−x2e−x = x(2−x)e−x

Sign of f′(x) (since e−x>0):

  • x<0: x<0 and 2−x>0 ⇒ f′<0.
  • 0<x<2: x>0 and 2−x>0 ⇒ f′>0.
  • x>2: x>0 and 2−x<0 ⇒ f′<0.

4. Variation table.

| x | −∞ | | 0 | | 2 | | +∞ | |—|—|—|—|—|—|—| | f′(x) | | − | 0 | + | 0 | − | | f(x) | →0 | ↘ | 0 | ↗ | 4e−2 | ↘ |

Limits: limx→+∞f(x)=0 and limx→−∞f(x)=0. Local minimum at x=0 (f=0), local maximum at x=2 (f=4e−2).

5. Variance.

Δf(−1,0)=−e, Δf(0,1)=e−1, Δf(1,2)=4e−2−e−1, Δf(2,3)=9e−3−4e−2

Summary sheet

Concept Formula (MathML)
Rate of change T=f(b)−f(a)b−a
Sign of T and variation T>0⇔increasing,T<0⇔decreasing
Variance (increment) Δf=f(b)−f(a)
Statistical mean T‾=1n∑i=1nTi
Statistical variance Var(T)=1n∑i=1n(Ti−T‾)2