extrema x^4-2x^2
1) Find the strict local extrema of x4 -2x2 on ℝ: the derivative must be zero and change sign
⇥1.1) Let's perform the differentiation: ddx(x4 -2x2)
⇥ⓘ The derivative of a sum is the sum of the derivatives: ddx(x4 -2x2) = ddx(x4) + ddx(-2x2)
⇥ ddx(x4) + ddx(-2x2)
⇥ⓘ The derivative of x^n is n*x^(n-1): ddx(x4) = 4x3, ddx(x2) = 2x■A constant factor stays in front of the derivative, (k*u)' = k*u': ddx(-2x2) = -2·ddx(x2)
⇥ 4x3 -2·2x
⇥ⓘ Multiplications are done before additions and subtractions: 2·2 = 4
⇥ 4x3 -4x
⇥The first derivative is 4x3 -4x
⇥1.2) Let's solve in ℝ: 4x3 -4x = 0
⇥You can write the expression: 4x3 -4x in factored form: x·(4x2 -4)
⇥A product is zero if and only if one of its factors is zero: we solve each factor equal to 0
⇥⇥Let's solve in ℝ: x = 0
⇥⇥Solution found: x = 0
⇥⇥Let's solve in ℝ: 4x2 -4 = 0
⇥⇥ⓘ Both sides are divided by 4
⇥⇥ x2 = 1
⇥⇥The two numbers whose square is 1 are -1 and 1
⇥⇥Solutions obtained: x = { -1, 1 }
⇥1.3) Let's perform the differentiation: ddx(4x3 -4x)
⇥ⓘ The derivative of a sum is the sum of the derivatives: ddx(4x3 -4x) = ddx(4x3) + ddx(-4x)
⇥ ddx(4x3) + ddx(-4x)
⇥ⓘ A constant factor stays in front of the derivative, (k*u)' = k*u': ddx(4x3) = 4·ddx(x3), ddx(-4x) = -4■The derivative of x^n is n*x^(n-1): ddx(x3) = 3x2
⇥ 4·3x2 -4
⇥ⓘ Multiplications are done before additions and subtractions: 4·3 = 12
⇥ 12x2 -4
⇥The second derivative is 12x2 -4
2) At x = -1, calculate f''(-1) = 12·(-1)2 -4 = 8
At x = -1, the second derivative is positive: this is a strict local minimum
⇥ (-1)4 -2·(-1)2
⇥ⓘ Powers are computed before multiplications, additions and subtractions. An integer power is a repeated product: (-1)4 = (-1)·(-1)·(-1)·(-1) = 1, (-1)2 = (-1)·(-1) = 1■Multiplying by 1 changes nothing: 2·1 = 2
⇥ 1 -2
⇥ⓘ Start from 1 and move back 2 on the number line, going below zero: 1 -2 = -1
⇥ -1
The y-coordinate is f(-1) = -1
3) At x = 0, calculate f''(0) = 12·02 -4 = -4
At x = 0, the second derivative is negative: this is a strict local maximum
⇥ 04 -2·02
⇥ⓘ A product with a zero factor is zero: -2·0 = 0■Adding 0 changes nothing: 0 + 0 = 0
⇥ 0
The y-coordinate is f(0) = 0
4) At x = 1, calculate f''(1) = 12·12 -4 = 8
At x = 1, the second derivative is positive: this is a strict local minimum
⇥ 14 -2·12
⇥ 1 -2
⇥ⓘ Start from 1 and move back 2 on the number line, going below zero: 1 -2 = -1
⇥ -1
The y-coordinate is f(1) = -1
▶Strict local extrema:   { (-1, -1), (0, 0), (1, -1) }