Why Factoring Out Before Integrating Can Wreck Your Integral in Calculus

You can pull a number out of an integral, but never a piece that still contains the variable you are integrating. Outside the integral sign that variable is stranded, beyond the reach of the bounds, so an integral that should be a number comes out as an expression in . Multiply out first, or substitute, then integrate.
Suppose one WeBWorK problem is left on Sunday night: . The out front looks like clutter, so you slide it outside, integrate what is left, get an answer with an in it, and submit.
A Number May Leave the Integral Sign; a Variable May Not
The rule being borrowed here is the constant multiple rule. If is integrable on and keeps the same value at every point of the interval, then
Test it with : , which direct integration confirms. The same condition governs the indefinite case, , where there are no bounds to catch you.
Everything hangs on one word. "Constant" does not mean "the factor out front." It means a quantity that does not change as sweeps the interval. As runs from to , the number stays ; the quantity does not, and nor does , or , or anything else with an in it. The test is not what the factor looks like; it is whether it holds still.
Factoring Out Gives Two Different Answers, So It Cannot Be a Rule
Here is the move carried to the end:
Stop there. The bounds are numbers, so the integral is a number. The inside never takes a value of its own: it runs from to and is used up. The now parked out front is a free variable the bounds never reach, so an surviving to the final line proves the integration never happened.
Now do the same thing to the other factor:
One integral, two shortcuts, two different answers. and agree only at ; at one says , the other . A legitimate step cannot depend on which factor you grabbed. This is not a rule with an exception; it is not a rule.
The Correct Path Ends in a Single Number
Multiply the product out, then integrate term by term:
Check it against the picture: between and the height never exceeds , so the area is under , and , about , fits. The discarded cannot face that check.
Why the Rule You Know Best Is the One That Trips You
The move feels right because it is right nearly everywhere else: pulling a common factor to the front is a reflex built over years of algebra. My own read, as judgment and nothing firmer — the rule was learned; its condition was not.
That shape of failure has been studied, though not in calculus. More than a thousand children in grades two through eight sat a written arithmetic test and reached for proportion where it plainly did not apply[1]. Those errors grew more common as their skill with proportional reasoning grew, peaking around grade five, and a considerable number were still slipping in grade eight[1]. These are children doing word problems, so it is a suggestive parallel, not proof about calculus[1].
Closer to home, undergraduates who had already passed a full year of calculus were asked five questions about integration, and as a group did not show a satisfactory grasp of what it means[2]. The ones who understood the idea were also the ones who carried out the steps well, which is as much as that study can say[2]. A year of correct answers is no guarantee that a picture of the operation came with it.
Experienced calculus students working on pure mathematics and physics problems drew on several mental images of the integral, and adding up many small pieces looked especially useful in multivariable and physics settings[3]. That image also makes the error easy to see — my argument, not the study's. If the integral totals many thin strips, each with its own , moving an out in front of the whole sum leaves nothing to say which strip it came from.
Substitution Is the Move You Actually Wanted
Sometimes the variable out front is the hinge the problem turns on. Take
The depends on , so it cannot leave. Let , so ; as goes from to , so does , and the integral becomes
The factor you wanted to discard is what made the substitution work. Sometimes it is the only reason a problem can be finished: has no antiderivative you can write with the usual functions, so in that lone is everything.
Explaining the Broken Line Back to Yourself
Showing the broken derivation, and marking where it dies, was deliberate.
In two experiments with students learning probability problems, a wrong solution shown beside a correct one helped learners who already had a good grounding when they moved on to new problems, while those with little background did better from correct solutions alone[4]. A review pooling 40 studies across subjects agreed in part: examples with a mistake in them can help, but how much depends on whether the mistake is explained or highlighted, and how students work with it[5].
So, the exercise. Before you compute , say out loud, in a full sentence, why the cannot come out front. Then find the substitution that uses it, carry the bounds across, and check you land on . A review of students learning mathematics found a small lift from prompting them to explain material to themselves, measured straight afterwards; its authors recommend asking learners to explain why a common mistake is wrong[6]. The sentence, not the answer, is what I want you carrying to the next problem.
What the Research Behind This Post Does Not Settle
The mathematics above needs no study behind it; it is proved on the page. The research is here for two narrower questions — why this slip happens, and what helps — and on both it leaves gaps. Nothing cited is about this error: no study tested the constant multiple rule, or what happens when a variable is pulled outside an integral sign[1][2][3]. The closest work measures how well calculus students grasp integration in general[2] and which mental images they use[3]; neither asked whether naming a rule's condition out loud prevents the mistake[2][3]. And the over-reaching finding comes from children doing arithmetic word problems, so it says nothing about how often this slip happens in first-year calculus[1].
The work on learning from wrong examples disagrees with itself: the two experiments found it helped only learners who already had a grounding in the topic[4], while the larger review called the evidence on prior background mixed and asked for more research[5]. So I cannot promise the broken derivation helps someone meeting integrals for the first time[4][5]; if that is you, work the correct path until it is steady, then come back for the wreckage. The explain-it-back exercise has its own hedge: that lift showed up in immediate testing, and the evidence that it lasts, or survives an ordinary classroom, is much weaker[6].
The Check That Takes Three Seconds
Before moving anything across an integral sign, ask whether it changes as the variable runs between the bounds. If it does, it stays. And if the variable is still in your answer, you have not integrated yet.
Summary
- Only a true constant may leave. Anything containing the variable stays inside the integral.
- Two shortcuts, two answers. Pulling out gives ; pulling out gives .
- The real answer is one number. Multiply out first and the integral comes to .
- The research here is thin. Nothing cited tested this exact error in calculus.
References
- Van Dooren, W., De Bock, D., Hessels, A., Janssens, D., & Verschaffel, L. (2005). Not Everything Is Proportional: Effects of Age and Problem Type on Propensities for Overgeneralization. Cognition and Instruction, 23(1), 57–86. https://doi.org/10.1207/s1532690xci2301_3
- Mahir, N. (2009). Conceptual and procedural performance of undergraduate students in integration. International Journal of Mathematical Education in Science and Technology, 40(2), 201–211. https://doi.org/10.1080/00207390802213591
- Jones, S. R. (2013). Understanding the integral: Students’ symbolic forms. The Journal of Mathematical Behavior, 32(2), 122–141. https://doi.org/10.1016/j.jmathb.2012.12.004
- Große, C. S., & Renkl, A. (2007). Finding and fixing errors in worked examples: Can this foster learning outcomes?. Learning and Instruction, 17(6), 612–634. https://doi.org/10.1016/j.learninstruc.2007.09.008
- Dieterich, S., Rumann, S., & Rodemer, M. (2025). Conditions for Effective Learning from Erroneous Examples: A Systematic Review. Educational Psychology Review, 37(4). https://doi.org/10.1007/s10648-025-10071-x
- Rittle-Johnson, B., Loehr, A. M., & Durkin, K. (2017). Promoting self-explanation to improve mathematics learning: A meta-analysis and instructional design principles. ZDM, 49(4), 599–611. https://doi.org/10.1007/s11858-017-0834-z
