Skip to main content
📚 College Credit Guide ✓ UPI Study 🕐 8 min read

U-substitution vs. Integration by parts: How to Choose

This article shows how to choose between u-substitution and integration by parts, with seven worked examples, a decision test, and practice problems.

VK
UPI Study Team Member
📅 November 06, 2026
📖 8 min read
VK
About the Author
Vikaas has spent over a decade in education and academic program development. He works with students and institutions on credit recognition, curriculum standards, and building pathways that actually lead somewhere. His approach is practical — focused on what works in the real world, not just on paper.
🦉

U-substitution and integration by parts solve different kinds of integrals, and the fastest way to choose is to ask what the integrand is doing. If one function sits inside another, u-substitution usually fits. If two functions multiply, integration by parts often fits. That sounds simple, but the trap shows up fast in Calculus 2. A problem like \(\int 2x\sqrt{x^2+1}\,dx\) wants substitution because the inside function \(x^2+1\) has derivative \(2x\) sitting right there. A problem like \(\int x e^x\,dx\) usually wants parts because the product does not collapse under substitution. Transfer students and adult learners hit this topic hard because the method choice matters more than the algebra. Pick wrong, and you waste 5 minutes. Pick right, and the steps feel clean. Pick badly on a final exam, and the whole problem can spiral. The real skill is not memorizing two formulas. It is learning the pattern, checking the derivative, and knowing when neither method gives you a clean finish. That is where the rest of this guide goes.

Hand writing mathematical equations on a chalkboard in a classroom setting — UPI Study

Who This Is Actually For

This topic matters most for Calculus 2 students who face mixed-style exams, especially in 15-week semesters where a single section can cover both substitution and parts in the same week. A student at City College of San Francisco, a transfer learner at Arizona State University, or an adult learner returning after 8 years will all meet the same choice problem: do you reverse the chain rule or the product rule?

The catch: The method choice matters more than the algebra on many 8-point exam questions. If you can spot the structure in 10 seconds, you save time for harder topics like trig substitution, partial fractions, and sequences.

This guide fits anyone who already knows basic derivatives, the power rule, and the rule for \(\frac{d}{dx}(e^x)\), because both methods depend on derivative recognition. A student who can compute \(\frac{d}{dx}(x^3)=3x^2\) or \(\frac{d}{dx}(\ln x)=\frac{1}{x}\) can handle the setup here. The limitation is real, though: if you still miss basic derivatives, these integrals will feel like guesswork instead of logic.

The best way to use this is as a decision tool, not a memory dump. That means you should ask, “Does one part look like the derivative of another part?” and “Does the product get simpler if I split it?” Those two questions beat random guessing on a 50-minute test.

A lot of students also carry old habits from high school: if the integral has an \(x\), they try substitution; if it has two functions, they try parts. That shortcut fails often. \(\int x e^{-x^2} dx\) needs substitution, not parts, and that single example trips up plenty of students in a 3-credit Calculus 2 course.

What U-substitution Actually Means

U-substitution reverses the chain rule. If \(F'(u)=f(u)\), then \(\int f(g(x))g'(x)\,dx=\int f(u)\,du\) after you set \(u=g(x)\) and replace \(du=g'(x)dx\). That is the whole move, and it works because calculus sees the inside function and its derivative together.

A clean example is \(\int 2x\sqrt{x^2+1}\,dx\). Set \(u=x^2+1\), so \(du=2x\,dx\). The integral becomes \(\int \sqrt{u}\,du\), which is \(\int u^{1/2}\,du\). You get \(\frac{2}{3}u^{3/2}+C\), then back-substitute \(u=x^2+1\) to get \(\frac{2}{3}(x^2+1)^{3/2}+C\).

What this means: You do not choose substitution because the problem “looks hard.” You choose it because one piece is hiding inside another and its derivative shows up nearby, usually with a constant factor like 2, 3, or 4.

The main limitation shows up when the derivative of the inside function does not appear in the integral. Then substitution stalls. \(\int x^2 e^x\,dx\) does not become nicer after a simple \(u\)-swap, because no inside function and derivative pair line up the way they do in \(x^2+1\) or \(-x^2\).

A good habit is to scan for powers, radicals, exponentials, and trig functions with an inside expression. If you see \((x^2+1)^5\), \(e^{3x}\), or \(\sin(4x-1)\), substitution often sits right there. If you see \(x\sin x\) or \(x^2e^x\), parts may win instead.

Calculus 2 UPI Study Dedicated Resource

The Complete Resource for Integration Methods

UPI Study has a full resource page built specifically for integration methods — covering which courses count and how to get started at $250 per course with no deadlines. Your college decides how credits transfer.

Browse Calculus 2 Course →

How It Works in Practice

Integration by parts reverses the product rule. The formula is \(\int u\,dv = uv - \int v\,du\), and it works best when differentiating one factor makes it simpler while integrating the other factor stays manageable. That is why \(\int x e^x\,dx\) is a classic parts problem, while \(\int 2x\sqrt{x^2+1}\,dx\) is not.

Start with \(\int xe^x\,dx\). Let \(u=x\) and \(dv=e^x dx\), so \(du=dx\) and \(v=e^x\). Then \(\int xe^x\,dx = xe^x-\int e^x\,dx = xe^x-e^x+C\). Differentiate your answer: \(\frac{d}{dx}(xe^x-e^x)=e^x+xe^x-e^x=xe^x\). That check matters because a tiny sign slip can hide inside the last step.

For \(\int \ln x\,dx\), write it as \(\int 1\cdot \ln x\,dx\). Choose \(u=\ln x\), \(dv=dx\), so \(du=\frac{1}{x}dx\) and \(v=x\). Then \(\int \ln x\,dx=x\ln x-\int 1\,dx=x\ln x-x+C\). Check it: \(\frac{d}{dx}(x\ln x-x)=\ln x+1-1=\ln x\).

Reality check: A lot of students want one method to win every time, but Calc 2 does not work that way. A problem like \(\int x^3e^{x^2}\,dx\) starts with substitution, then may still need algebra after the first step.

The pattern for \(\int x^3e^{x^2}\,dx\): set \(u=x^2\), so \(du=2x\,dx\) and \(x^3dx=x^2\cdot xdx= u\cdot \frac{1}{2}du\). The integral becomes \(\frac{1}{2}\int ue^u\,du\), which now needs parts. Let \(a=u\), \(db=e^u du\). Then \(\frac{1}{2}\left(ue^u-\int e^u du\right)=\frac{1}{2}(ue^u-e^u)+C=\frac{1}{2}e^{x^2}(x^2-1)+C\). Differentiate it once, and the original integrand returns.

A definite integral changes the workflow, not the logic. For \(\int_0^1 2x\sqrt{x^2+1}\,dx\), use \(u=x^2+1\). The limits change from \(x=0\) to \(u=1\), and from \(x=1\) to \(u=2\). So \(\int_0^1 2x\sqrt{x^2+1}\,dx=\int_1^2 \sqrt{u}\,du=\left[\frac{2}{3}u^{3/2}\right]_1^2=\frac{2}{3}(2^{3/2}-1)\). That value is exact, not a decimal guess.

What to Check Before You Commit

Before you pick a method, run a fast 3-step test. Look for an inside function, look for a product, and check whether the derivative of one part already appears. That takes less than 20 seconds on most Calc 2 problems and saves a lot of dead ends.

Calculus 2 course discussions often spend 2 or 3 class sessions on this exact choice problem, because it sits in the middle of the unit on calculus 2 integration techniques. The course page at Calculus 2 course gives the 54-lesson structure, 4 credits, and the $250 price note, with price confirmation still needed before you enroll.

  1. Pick substitution first if you can name the inside function in one sentence.
  2. Pick parts first if the integral is a product and one factor becomes simpler after differentiation.
  3. Stop and re-check if your setup creates a worse integral than the one you started with.

Where UPI Study Fits

A student who needs 4 credits for a degree plan and wants a fully self-paced option can use a college-credit online course structure to keep moving without deadlines. UPI Study offers 90+ college-level courses, and each course carries a credit recommendation from NCCRS or ACE, with most courses recommended by NCCRS only.

That matters because ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities. No one should treat that as a promise. The college decides, and the student should check before paying for any course.

Bottom line: If you need a flexible Calculus 2 path, the fit depends on your school’s rules, not on a sales page. A course can still help if your goal is learning the material first and sorting out credit later.

See the Calculus 2 course details if you want the current structure, self-paced format, and the listed 54 lessons. UPI Study also lists a $99/month unlimited plan, which can matter if you plan to stack more than one course in the same term.

Keep the credit question separate from the learning question. UPI Study gives you a place to study calculus at your own pace, but your college decides how credits transfer.

Frequently Asked Questions about Integration Methods

Final Thoughts on Integration Methods

The clean way to handle u-substitution vs integration by parts is to read the structure first and the algebra second. If you see an inside function and its derivative, use substitution. If you see a product and one factor gets simpler when you differentiate it, use parts. That sounds almost too neat, so here is the honest part: some problems ask for both. \(\int x^3e^{x^2}\,dx\) proves that point. You start with substitution, then parts handles what remains. Calc 2 likes that sort of twist. LIATE helps with parts, but it does not make the choice for you. It ranks choices like logarithmic, inverse trig, algebraic, trig, and exponential, and it works best as a tie-breaker, not a law. The limits show up fast on mixed problems and on definite integrals where the bounds change after substitution. If you keep one habit, make it this: after you finish any integral, differentiate your answer. That one check catches missing constants, bad signs, and bad algebra faster than staring at the page for 5 minutes. A short recheck beats blind confidence every time. Next, practice the decision step on 6 problems without looking at the solution first, then redo the ones you miss two days later. That second pass matters more than the first.

The way this actually clicks

Skip step 3 and the whole thing is wasted.

Ready to Earn College Credit?

Credit recommended by NCCRS · Self-paced · Your college decides how credits transfer · $250/course or $99/month (US)

More on Calculus 2