Introduction
A mixed antiderivative problem asks you to integrate a sum of familiar kinds of functions. The main task is not to find one new rule for the whole expression. It is to recognize the individual terms, select the right rule for each, and combine the results carefully.
This tutorial brings together basic rules for powers, reciprocal functions, logarithms, exponentials, and trigonometric functions. The most reliable check is to differentiate your proposed answer: the derivative should reproduce the original integrand.
Antiderivatives and Indefinite Integrals
A function \(F\) is an antiderivative of \(f\) on an interval if \(F'(x)=f(x)\) at every point of that interval. The notation \(\int f(x)\,dx\) represents the family of antiderivatives of \(f\). On an interval, any two antiderivatives of the same function differ by a constant, so the general answer includes \(+C\).
The interval matters. For example, \(1/x\) is not defined at \(x=0\), so an antiderivative formula for \(1/x\) applies on intervals that do not contain zero. Likewise, \(\ln x\) is defined for positive \(x\).
A Rule for Each Kind of Term
For a real exponent \(n\ne -1\), the power rule for antiderivatives is
The restriction \(n\ne -1\) is essential: when \(n=-1\), the denominator \(n+1\) would be zero. That case is the reciprocal rule:
The absolute value allows the formula to apply on either interval \(x>0\) or \(x<0\), since \(\frac{d}{dx}\ln|x|=1/x\) on both. For a logarithmic integrand on the positive domain, a useful formula is
The remaining basic formulas include exponentials and trigonometric functions. A constant multiplying \(x\) inside the function changes the antiderivative by a corresponding factor in the denominator.
When \(k=1\), these formulas give the usual antiderivatives of \(e^x\), \(\cos x\), and \(\sin x\). The constant-factor versions can be checked by differentiating the proposed answers.
Why the Rules Work Together
The sum rule for derivatives explains why a sum of separate antiderivatives can be combined. If \(F'=f\) and \(G'=g\), then
More generally, for constants \(a_1,\ldots,a_m\), if \(F_i'=f_i\) for each \(i\), then
This proves the linearity rule for antiderivatives: integrate each term separately, keep its constant multiplier, and add the results. One arbitrary \(+C\) is enough for the combined answer.
The power formula also follows directly from differentiation. For \(n\ne -1\), the power rule for derivatives gives
Thus the proposed expression is an antiderivative of \(x^n\). The same checking idea applies to each basic formula: differentiate the proposed answer and confirm that it returns the integrand.
A Practical Method for Mixed Problems
For a sum of basic terms, use the following sequence. First identify the terms and their domains. Then match each term to a formula, paying particular attention to reciprocal terms and to constants multiplying \(x\) inside a function. Finally, differentiate the whole proposed answer.
Use linearity to treat each summand individually.
Distinguish ordinary powers from the reciprocal case, and account for any constant factor inside an exponential or trigonometric function.
Add the antiderivatives, include \(+C\), and differentiate term by term to check the result.
Worked Examples
Worked Example: Powers, a Reciprocal, and a Logarithm
Find \(\int (4x^3-6/x+2\ln x)\,dx\) for \(x>0\).
Separate the three terms and apply the corresponding formulas:
For the power term, \(4\int x^3\,dx=4(x^4/4)=x^4\). Since \(x>0\), \(\ln|x|=\ln x\), so the reciprocal term contributes \(-6\ln x\). The logarithm term contributes \(2(x\ln x-x)\). Therefore,
Check by differentiation:
The derivative matches the integrand, so the answer is verified.
Worked Example: Exponentials and Trigonometric Functions
Find \(\int (3e^{3x}-4\cos(2x)+5\sin x)\,dx\).
Integrate each term. For the first term, the factor \(3\) outside cancels the \(1/3\) from integrating \(e^{3x}\). For the second, the inside factor \(2\) gives a \(1/2\):
Differentiate to check:
Each coefficient returns to its required value, including the factor \(2\) from differentiating \(\sin(2x)\).
Worked Example: Combining All Five Kinds of Terms
Find an antiderivative of \(2x^2-3/x+4\ln x+5e^{2x}+6\cos x-2\sin x\) for \(x>0\).
Match each term in order: the power rule applies to \(2x^2\); the reciprocal rule to \(-3/x\); the logarithm formula to \(4\ln x\); the exponential formula with \(k=2\) to \(5e^{2x}\); and the sine and cosine formulas to the final two terms.
The last term has a positive sign because \(\int\sin x\,dx=-\cos x\), and its coefficient is \(-2\). Now differentiate:
The derivative is exactly the original integrand. The constant \(C\) is omitted from the differentiation line because its derivative is zero.
Common Pitfall: Applying the Power Rule to \(1/x\)
A tempting but invalid calculation is
The power-rule formula requires \(n\ne -1\), and here \(n+1=0\). The expression on the right is undefined, so the power rule does not apply. Use the reciprocal rule instead:
Another frequent error is to omit a factor from the inside of an exponential or trigonometric function. For example, \(\int e^{3x}\,dx\) is not \(e^{3x}+C\), because differentiating \(e^{3x}\) gives \(3e^{3x}\). The correct antiderivative is \(\frac13e^{3x}+C\).
Why Careful Rule Selection Matters
Mixed expressions are useful practice because they require more than recalling isolated formulas. A correct solution depends on recognizing the exceptional reciprocal case, preserving signs, and accounting for constants inside functions. Keeping the terms separate until each rule has been applied makes those choices visible and makes errors easier to locate.
The final differentiation check is especially valuable. It tests the entire result, not merely one remembered formula. If the derivative has the wrong sign or coefficient, compare it term by term with the original integrand and correct the matching antiderivative.
Check Your Understanding
For each question, identify the rule that applies and check any proposed antiderivative by differentiation.
- Find \(\int (5x^4+2/x)\,dx\) on \(x>0\).
- Find \(\int (4e^{4x}-3\cos(3x))\,dx\).
- Why does the power-rule formula not apply to \(x^{-1}\), and what formula replaces it?
- Find an antiderivative of \(\ln x\) for \(x>0\), then verify it.
- In a sum of several basic functions, why may the antiderivatives be added term by term?