| Power rule | |
|---|---|
| The exception, n = −1 |
Lesson
The theory — Antiderivatives
An antiderivative of f on an interval is a function F with F′(x) = f(x) at every x of the interval. If F is one, so is F + C for every constant C, and on an interval those are all of them; on a domain in two pieces, such as x ≠ 0 for 1/x, each piece takes its own constant. The indefinite integral ∫f(x) dx names the whole family.
What each symbol means
F_n- the antiderivative of xⁿ through (1, 0): (xⁿ⁺¹ − 1)/(n + 1), which is ∫1x tⁿ dt, and ln x at n = −1
C- the constant of integration. Its derivative is 0, so any value gives an antiderivative
Where the formula comes from
- Why 1/(n + 1) is the constant to remove. Fn(x) = ∫1x tⁿ dt is the area under tⁿ from 1 to x. A small change in n changes every height tⁿ a little, so the area changes a little: Fn cannot jump as n passes −1, and at n = −1 it has to be the area under 1/t from 1 to x, which is ln x. The textbook form is Fn + 1/(n + 1), and that constant is what blows up.
- The limit, computed. Put h = n + 1 and expand xʰ as a series in h. The gap to ln x is about h(ln x)²/2, which at x = 4 is 0.9609h: the number the last column of the table approaches.
- Assumes
- The check is numerical. The page differentiates your F exactly, by the rules you would use, then compares F′ with f at 120 points spread across the interval, none of them a whole number, and accepts a relative difference up to 10⁻⁶; a lost factor or a wrong sign is a difference of order 1. Where f is defined and your F is not, the answer fails. Where f is continuous on the whole interval, the page also integrates f numerically between neighbouring points and compares that with the change in your F, which catches an answer that is right piece by piece but jumps.
Problems solved in full
-
Expand before you integrate 3 steps
Find ∫(x² + 1)² dx.
-
There is no power rule for a bracket. Multiply it out, so that every term is a power of x:
-
Integrate term by term, raising each power by one and dividing by the new power:
-
Check by differentiating:
Answer
x⁵/5 + 2x³/3 + x + C. Raising the bracket instead, to (x² + 1)³/3, is the classic slip. Its derivative is 2x(x² + 1)², and the 2x comes from inside the bracket, which the power rule never accounts for. Open the problem in the tool and type that answer to watch the two curves part.
-
-
Divide before you integrate 3 steps
Find ∫(x³ − 2√x + 5)/x dx for x > 0.
Show solution
-
Divide each term by x and write it as a power:
-
The first two are the power rule:
-
The third is x⁻¹, the one power the rule cannot divide by:
Answer
x³/3 − 4√x + 5 ln x + C. The bars of ln|x| can go because the problem is set on x > 0, which √x needs anyway.
-
-
Three lines of the table 2 steps
Find ∫(2 cos x − 3 sin x + 4/(1 + x²)) dx.
Show solution
-
Each term is in the table:
-
Keep each constant and replace each function by its antiderivative:
Answer
2 sin x + 3 cos x + 4 arctan x + C. The middle term is the one that goes wrong. The antiderivative of sin x is −cos x, so −3 sin x integrates to +3 cos x; the minus comes from differentiating cos x, which gives −sin x.
-
-
A condition fixes the constant 2 steps
Find f if f′(x) = 6x² − 4x + 1 and f(1) = 5.
Show solution
-
Integrate first, keeping C:
-
Then put x = 1 and solve for C:
Answer
f(x) = 2x³ − 2x² + x + 4. The tool checks the condition as well as the derivative. Leave C at 0 and it accepts F′ = f, then reports F(1) = 1, not 5, and tells you to change the constant by 4.
-
-
Two integrations, two constants 2 steps
Find f if f″(x) = 12x − 6, f′(0) = 2 and f(0) = −1.
Show solution
-
Integrate once to get f′, and use the condition on f′ to fix its constant:
-
Integrate again, and use the condition on f:
Answer
f(x) = 2x³ − 3x² + 2x − 1. Each integration brings its own constant, and each condition fixes one of them. The tool opens on the second integration, with f′ as the integrand and f(0) = −1 as the condition.
-
-
ln|x| on the negative side 2 steps
Find f if f′(x) = 2/x for x < 0 and f(−1) = 3.
Show solution
-
For negative x, ln x has no value, but ln(−x) has one, and its derivative is 1/x:
-
So f(x) = 2 ln|x| + C, and the condition fixes C:
Answer
f(x) = 2 ln|x| + 3 for x < 0. The condition says nothing about positive x. 1/x is undefined at 0, so a function equal to 2 ln x + 7 for x > 0 would answer the problem just as well.
-
-
Find ln 4 with a square-root key 4 steps
A calculator has a square-root key and no ln key. Use the limit on this page to find ln 4 to four decimal places. Press n = −0.99 first: the curve through (1, 0) reads 1.3959 at x = 4, still well above ln 4 = 1.3863.
Show solution
-
Ten presses of the square-root key take 4 to 4 to the power 1/1024, so h = n + 1 = 1/1024:
-
The curve through (1, 0) at that h, the page's formula with one subtraction and one multiplication:
-
Its gap to ln 4 is about h(ln 4)²/2, the table's last column times h. That is too big for four decimals:
-
One more square root halves h, and with it the gap. Twice the new reading minus the old one cancels the gap's leading term:
Answer
ln 4 ≈ 1.3863. The combination 2F(h/2) − F(h) removes the error that is proportional to h and leaves one proportional to h², here about 2×10⁻⁷. The page moves n in steps of 0.01, so h = 1/2048 is far past what its slider can show.
-
Learning path
Techniques of integration
References (2)
- The definition the page checks against (“F is an antiderivative of f if F′(x) = f(x) for all x in the domain of f”), the power rule with its exception (Theorem 4.15: for n ≠ −1, ∫xⁿ dx = xⁿ⁺¹/(n + 1) + C), and the derivation of d/dx ln|x| = 1/x from ln(−x) on x < 0: G. Strang and E. Herman, Calculus Volume 1, OpenStax (2016), section 4.10, “Antiderivatives”.
- Grégoire de Saint-Vincent's Opus geometricum (Antwerp, 1647) showed that the area under a rectangular hyperbola over [a, b] equals the area over [c, d] when a/b = c/d, and his pupil Alphonse Antonio de Sarasa made the connection with logarithms: J. J. O'Connor and E. F. Robertson, “Grégoire de Saint-Vincent”, MacTutor History of Mathematics Archive, University of St Andrews (last updated November 2010).