study the variations of x^2-4x

1) Let's compute the derivative of f(x) = x2 -4x
ⓘ The derivative of a sum is the sum of the derivatives: ddx(x2 -4x) = ddx(x2) + ddx(-4x)
ddx(x2) + ddx(-4x)
ⓘ Differentiating xn gives nxn -1: ddx(x2) = 2x■The derivative of a constant multiple keeps that factor: that of ku is k·u': ddx(-4x) = -4
Derivative:   2x -4
2) Let's study the variations of f(x): first find where its derivative f'(x) = 2x -4 is zero
Let's solve in ℝ: 2x -4 = 0
ⓘ We add 4 to both sides
2x = 4
ⓘ Divide both sides by 2
x = 42
ⓘ We simplify the fraction by dividing the numerator and the denominator by 2, their greatest common divisor: 42 = 2
Solution found: x = 2
f'(x) is zero at x = 2
Built from usual functions, f'(x) is continuous where it is defined: on each interval where it is never zero, it keeps the sign of its value at any point
f'(0) = -4 < 0: f is decreasing on (-∞, 2)
f'(3) = 2 > 0: f is increasing on (2, +∞)
Let's calculate the values of f at the bounds of the table, or its limits at the infinite or excluded bounds
As x tends to -∞, f(x) tends to +∞
f(2) = 22 -4·2 = -4
As x tends to +∞, f(x) tends to +∞
Let's draw up the variation table:
x-∞2+∞
f'(x)-0+
f(x)+∞↘-4↗+∞
▶So f is decreasing on (-∞, 2] and increasing on [2, +∞)

The 100% free maths solver with steps

100% free

  • Access to every feature and every step
  • Unlimited queries
  • No signup required

Simple

  • Queries in natural language
  • Detailed explanations for every step
  • A simple interface for desktop and mobile

Reliable and lean

  • Fast calculations
  • Reproducible results
  • No AI, low energy use

For everyone

  • Calculation, differentiation, integration, solving, factoring, graphing...
  • Pupils, students, individuals, teachers…
  • Through high school and beyond