• Practice
  • About 16 min
  • 5 practice questions

Monotonicity: parameters, domains and inequalities

Find where functions with logarithms, exponentials and fractions increase or decrease, find the values of a constant that make a function increasing everywhere, and prove inequalities using monotonicity.

If something looks wrong, please tell us.

The foundation course found where polynomials rise and fall. Exam questions go further: functions with logarithms, exponentials and fractions, where the domain matters; a constant to be chosen so that a function increases everywhere; and inequalities proved by showing that a function only goes up. This lesson works through each type.

Always start with the domain

f′(x) only tells you about points where f is defined. With ln x the domain is x > 0; with a fraction, the points where the denominator is zero are removed and split the number line into separate pieces.

Worked example 1. f(x) = (ln x)/x, x > 0. By the quotient rule f′(x) = (1 − ln x)/x². The denominator is positive, so the sign is that of 1 − ln x: positive for 0 < x < e, negative for x > e. So f is increasing on (0, e] and decreasing on [e, ∞), with greatest value 1/e at x = e. A famous use: since e < π and f decreases beyond e, (ln π)/π < (ln e)/e = 1/e. Multiply by eπ: e·ln π < π, so π^e < e^π.

Trap: a break in the domain

Worked example 2. f(x) = (x + 1)/(x − 1). f′(x) = [(x − 1) − (x + 1)]/(x − 1)² = −2/(x − 1)², which is negative for every x ≠ 1. So f is decreasing on (−∞, 1) and on (1, ∞) separately. It is not decreasing on its whole domain: f(0) = −1 but f(2) = 3, a larger value at a larger x. The jump at x = 1 breaks the pattern, so state the two intervals separately.

Increasing for every x: the discriminant method

Worked example 3. For which k is f(x) = x³ + kx² + 3x + 1 increasing for every real x? f′(x) = 3x² + 2kx + 3. A quadratic with positive leading coefficient is never negative exactly when its discriminant is at most 0: 4k² − 36 ≤ 0, so −3 ≤ k ≤ 3. At k = ±3, f′(x) = 3(x ± 1)² is zero at a single point only, so f is still increasing and the end values are included.

Worked example 4. For which a is f(x) = ax + sin x increasing for every x? f′(x) = a + cos x, and cos x goes down to −1, so we need a − 1 ≥ 0, that is a ≥ 1. At a = 1, f′ = 1 + cos x is zero only at isolated points (x = π, 3π, …), so a = 1 is allowed.

Domain first. ax² + bx + c ≥ 0 for every x exactly when a > 0 and b² − 4ac ≤ 0. To prove f(x) > g(x) for x > a, show that h = f − g has h(a) ≥ 0 and h′(x) > 0 for x > a.

Proving inequalities

Worked example 5. Show that ln(1 + x) < x for every x > 0. Let g(x) = x − ln(1 + x). Then g(0) = 0 and g′(x) = 1 − 1/(1 + x) = x/(1 + x) > 0 for x > 0. So g increases from the value 0, which means g(x) > 0, that is ln(1 + x) < x, for every x > 0. The same pattern proves many standard inequalities, such as sin x < x and eˣ > 1 + x for x > 0.

Key takeaways: find the domain before the sign of f′, and report separate intervals when the domain has a break. 'Increasing for all x' means f′ ≥ 0 everywhere, which for a quadratic f′ is a discriminant condition with the end values included. To prove an inequality, study the difference: it starts at zero and only goes up.

Check your understanding

  1. 1. On which interval is f(x) = x·eˣ increasing?

    1. x > 0
    2. x < −1
    3. All real x
    4. x > −1
    Show answer

    Answer: D. f′(x) = eˣ + x·eˣ = (1 + x)eˣ. Since eˣ > 0, the sign is that of 1 + x: positive for x > −1.

  2. 2. On which interval is f(x) = x²·e^(−x) increasing?

    1. x < 0 or x > 2
    2. 0 < x < 2
    3. x > 2
    4. −2 < x < 0
    Show answer

    Answer: B. f′(x) = 2x·e^(−x) − x²·e^(−x) = x(2 − x)e^(−x). The factor e^(−x) is positive, and x(2 − x) > 0 for 0 < x < 2.

  3. 3. For which values of k is f(x) = x³ − kx² + 12x − 5 increasing for every real x?

    1. k ≥ 6
    2. −3 ≤ k ≤ 3
    3. −12 ≤ k ≤ 12
    4. −6 ≤ k ≤ 6
    Show answer

    Answer: D. f′(x) = 3x² − 2kx + 12 must be ≥ 0 for all x, so its discriminant is at most 0: 4k² − 144 ≤ 0, k² ≤ 36, −6 ≤ k ≤ 6. At k = ±6, f′ = 3(x ∓ 2)² vanishes at one point only, so the end values are included.

  4. 4. On which interval is f(x) = 2 ln x − x² decreasing?

    1. x > 1
    2. −1 < x < 0 or x > 1
    3. −1 < x < 1
    4. 0 < x < 1
    Show answer

    Answer: A. The domain is x > 0. f′(x) = 2/x − 2x = 2(1 − x²)/x, which for x > 0 is negative when x > 1. Ignoring the domain gives the impossible extra piece −1 < x < 0.

  5. 5. Using the fact that (ln x)/x decreases for x > e, which is greater: 3^π or π³?

    1. π³
    2. They are equal
    3. It cannot be decided without a calculator
    4. 3^π
    Show answer

    Answer: D. e < 3 < π and (ln x)/x decreases beyond e, so (ln 3)/3 > (ln π)/π. Multiply by 3π: π·ln 3 > 3·ln π, so 3^π > π³ (about 31.5 against 31.0).

Privacy · Terms · Refunds · Delivery