Your homework contains ∫(2x + 1)e^(3x) dx. The integrand is a product, and integrating each factor separately would be tempting. But multiplying two antiderivatives does not generally produce an antiderivative of the product. Integration by parts provides a way to replace the original integral with another one that is easier to finish. The first decision is which factor to differentiate and which one to integrate.
Choose u = 2x + 1 and dv = e^(3x) dx. Differentiating the linear factor makes it constant, while integrating the exponential preserves its general shape. You will still need to keep the factor one third, the subtraction in the formula, and the differential in the remaining integral. A short table makes those choices visible before you start simplifying.
Build integration by parts from the product rule
For sufficiently smooth functions, the product rule says (uv)′ = u′v + uv′. Integrating that equality and rearranging gives ∫u dv = uv − ∫v du. The formula trades an integral involving u and the derivative of v for one involving v and the derivative of u. The OpenStax integration-by-parts lesson develops this connection with the derivative of a product. Here we will use it to inspect a particular homework choice.
If the formula feels arbitrary, take its derivative. The derivative of uv produces two terms. The derivative of the subtracted integral cancels the term vu′, leaving uv′, the original integrand. That cancellation explains both the order of the factors and the minus sign. It also gives you a way to recover the formula if you forget it during practice.
The notation dv represents a differential, such as e^(3x) dx. It includes the part to be integrated and the variable of integration. The corresponding du is u′(x) dx. You can write the entire method using u(x), v(x), and their derivatives instead, but mixing those styles halfway through a line makes it easier to lose a factor. Keep one notation throughout your calculation. Reviewing the product rule for derivatives helps when you want to check why the two terms arise.

Choose a split that simplifies the next integral
For the opening integral, a useful table has u = 2x + 1, du = 2 dx, dv = e^(3x) dx and v = e^(3x)/3. The derivative of the linear factor has become a constant. The exponential can be integrated directly, because differentiating e^(3x)/3 gives e^(3x). Both sides of the choice therefore make progress.
Substitute the four entries into the formula before doing further algebra. You get (2x + 1)e^(3x)/3 − ∫2e^(3x)/3 dx. Integrating the remaining exponential yields (2x + 1)e^(3x)/3 − 2e^(3x)/9 + C. A factored version is e^(3x)(6x + 1)/9 + C. These two expressions describe the same family of antiderivatives.
The reverse split is possible, but less convenient. Taking u = e^(3x) and dv = (2x + 1) dx gives du = 3e^(3x) dx and v = x² + x. The remaining integral now contains a quadratic polynomial times the same exponential. That choice has increased the polynomial degree. Comparing the two possible remainders is more informative than deciding only from how complicated the factors look at the start.
You may encounter a mnemonic that puts logarithms before algebraic functions when choosing u. Treat it as a candidate ordering. You must still be able to integrate dv and judge whether ∫v du is easier. A valid split can be inefficient. The useful question is what happens to the remaining integral after you apply the formula once.

Check the factor and the subtraction by differentiating
Differentiate F(x) = e^(3x)(6x + 1)/9. The product rule gives F′(x) = e^(3x)[3(6x + 1) + 6]/9. Simplifying the bracket gives e^(3x)(18x + 9)/9 = (2x + 1)e^(3x). The original integrand is recovered. This check tests the coefficients and the sign in one calculation.
Suppose instead you had used v = e^(3x), dropping the division by three. Differentiating that proposed v would give 3e^(3x), so it would already fail the table check. It is worth checking v before inserting it into the longer formula. A small error there affects both uv and the remaining integral, producing several incorrect terms from one mistaken entry.
If you change the subtraction to an addition, the extra derivative term will reinforce another term instead of canceling it. Rather than trying to remember which final coefficient should appear, differentiate the proposed answer and compare the entire expression with the original. Checking at one numerical input can reveal an error, but agreement at one point cannot establish an identity. Algebraic differentiation checks all inputs in the interval where the functions are defined.
For an indefinite integral, write one arbitrary constant at the end. You may choose any convenient antiderivative when finding v. Its additive constant does not change the final family obtained by the method. Using a simple v keeps the bookkeeping shorter and leaves you with one final C to represent all antiderivatives on the interval under consideration.
Before choosing parts, check whether substitution already matches the integrand. For example, in ∫2x e^(x²) dx, the factor multiplying the exponential is the derivative of its exponent. Substitution with a new variable for the square turns the entire expression into a basic exponential integral. In the opening problem the exponent is linear, and its derivative cannot absorb the other linear factor in that way. Seeing a product is a reason to inspect its structure, rather than an instruction to apply the same technique every time.
You can compare methods by looking at the work each one leaves behind. If your new integral has become more complicated or has brought back the original unknown integral without a useful equation, pause and reconsider the split. Keep the discarded table in your practice notes long enough to explain why the alternative was less helpful. That comparison can teach more than simply recording the successful choice.

Inspect one uncertain step with Eqora
Attempt the table and the first formula substitution before opening Eqora. If you get stuck, that attempt gives you a specific line to investigate. Capture a clear photo of the full integral, including the exponent, differential and any limits. Keep the camera square to the page and avoid shadows through the superscript. In this problem, reading e^(3x) as e³ times x would change the calculation completely.
First compare the captured notation with the written question. Then inspect the choice of u and dv and check the corresponding du and v. If your table says v = e^(3x) and the explanation has a division by three, ask “What happens when I differentiate each proposed v?” This focuses the follow-up on a verifiable difference. If the table agrees but the next line differs, ask which factors belong inside the remaining integral and where the subtraction came from.
When two answers look different, expand or factor them before deciding that one is wrong. The unfactored answer in the previous section and e^(3x)(6x + 1)/9 are equivalent. You can also differentiate both. A useful explanation should let you reproduce the cancellation yourself. Eqora is a learning aid, and you remain responsible for checking the task, notation, assumptions and result. Follow your course rules about tool use, especially in assessments.
After the explanation, put the phone aside and solve a changed example. Explain your split in your own words before calculating. This makes the workflow part of practicing a method. For wider context on connecting derivatives and antiderivatives, review calculus concepts and their meanings, then return to the specific line you needed to understand.
Handle repeated parts, logarithms and limits carefully
For ∫x²e^x dx, choose u = x² and dv = e^x dx. The result after one pass is x²e^x − 2∫xe^x dx. A second pass on ∫xe^x dx gives xe^x − e^x. Substitution produces e^x(x² − 2x + 2) + C. Differentiating the polynomial factor lowers its degree each time, so repeated integration by parts has a clear stopping point here.
For ∫ln x dx on x > 0, the hidden second factor is one. Set u = ln x and dv = dx. Then du = dx/x and v = x. The formula gives x ln x − ∫1 dx = x ln x − x + C. Stating the interval matters because the real logarithm requires positive inputs. If the integrand is ln|x|, work on an interval that avoids zero and retain the absolute value in the answer.
For a definite integral, evaluate the product term at both endpoints and keep the same limits on the remaining integral. In the opening example between zero and one, use F(1) − F(0). The value is (7e³ − 1)/9. The arbitrary constant cancels. An integration-by-parts line with limits can be written [uv] from zero to one minus the integral of v du over that same interval. Omitting the lower endpoint changes the result.
A trigonometric example tests the sign from another direction. With u = x and dv = sin x dx, you have du = dx and v = −cos x. Thus ∫x sin x dx = −x cos x + ∫cos x dx = −x cos x + sin x + C. The minus in the formula and the negative sign in v both need to be carried before simplification.

Solve a new integral without assistance
Try ∫(3x − 2)e^(2x) dx. Choose u and dv, complete the table and carry out the substitution before reading further. Predict what form the remaining integral should have. A sensible split makes the linear factor constant after differentiation and leaves an exponential you already know how to integrate.
Choose u = 3x − 2, du = 3 dx, dv = e^(2x) dx and v = e^(2x)/2. The formula gives (3x − 2)e^(2x)/2 − 3e^(2x)/4 + C. Collecting the terms gives e^(2x)(6x − 7)/4 + C. Differentiate to get e^(2x)[2(6x − 7) + 6]/4, which simplifies to (3x − 2)e^(2x).
Compare your work with the result by locating the first different line. A wrong v points to the antiderivative of the exponential. A correct table followed by a wrong sign points to substitution into the formula. An answer with the right terms but a different appearance calls for algebraic comparison. Record that specific issue, then choose another linear factor and exponential coefficient and run the same derivative check on your own answer.
