Integral constant multiple rule: Pull constants outside an integral

By Vegard Gjerde Based on Masterful Learning 9 min read
integral-constant-multiple-rule calculus integrals math learning-strategies

The integral constant multiple rule lets you rewrite cf(x)dx\int c f(x)\,dx as cf(x)dxc\int f(x)\,dx, pulling a true constant outside the integral without changing the antiderivative family. It applies when cc is constant with respect to the integration variable and the integral exists. In the Unisium Study System, the key fluency is checking whether the factor is really constant before you move it.

Unisium hero image titled Integral constant multiple rule showing the principle equation and a conditions card.
The rule cf(x)dx=cf(x)dx\int c f(x)\,dx = c \int f(x)\,dx under the canonical conditions “c constant” and “integral exists”.

On this page: The Principle | Conditions | Failure Modes | EE Questions | Retrieval Practice | Practice Ground | Solve a Problem | FAQ | How This Fits


The Principle

The move: Pull a factor that is constant with respect to the integration variable outside the integral sign.

The invariant: This preserves the antiderivative family: moving a true constant outside does not change which functions differentiate back to the original integrand.

Pattern: cf(x)dxcf(x)dx\int c f(x)\,dx \quad\longrightarrow\quad c \int f(x)\,dx

Applies ✓Does not apply ✗
5x2dx5x2dx\int 5x^2\,dx \to 5\int x^2\,dxxsinxdx↛xsinxdx\int x\sin x\,dx \not\to x\int \sin x\,dx

The contrast is about applicability. In the first case, 55 is independent of xx, so the rule applies. In the second, the factor xx depends on xx, so it is not the constant cc and the rewrite changes the integrand.


Conditions of Applicability

Condition: c constant; integral exists

The factor you pull out must be constant with respect to the integration variable, and the integral must exist. The main decision boundary in practice is whether the factor is truly constant or only looks easy to detach.

Before applying, check: ask whether the factor depends on the integration variable at all.

If the condition is violated: pulling out an xx-dependent factor changes the integrand instead of rewriting it equivalently, so the resulting antiderivative is wrong.

  • Numbers such as 44, 3-3, 12\tfrac{1}{2}, and π\pi are constants with respect to xx, so they can be pulled outside.
  • Parameters such as aa can be treated as constants only when the integration is with respect to xx and the problem states or implies that aa is independent of xx.
  • If the factor depends on xx, use a different structure such as splitting a linear combination first, substitution, or integration by parts rather than forcing this move.
  • The rule rewrites one antiderivative problem into an equivalent one; it does not authorize detaching a factor just because the product looks simple.

Want the complete framework behind this guide? Read Masterful Learning.


Common Failure Modes

Failure mode: treat any multiplicative factor as though it were the constant cc in cf(x)dx\int c f(x)\,dx → you pull out an xx-dependent term and produce the antiderivative of a different integrand.

Debug: before moving a factor outside, point to the integration variable and ask “does this factor change when that variable changes?”


Elaborative Encoding

Use these questions to build deep understanding. (See Elaborative Encoding for the full method.)

Within the Principle

  • Why does multiplying an integrand by a true constant scale every antiderivative by that same constant?
  • What does the condition “c constant” protect here: algebraic neatness, antiderivative correctness, or both?

For the Principle

  • What is the fastest check you can run to decide whether a factor is constant with respect to the variable of integration?
  • If a factor depends on xx, which neighboring integration decisions become more plausible than the constant multiple rule?

Between Principles

  • How does the integral constant multiple rule interact with the decision to split a linear combination such as 4x23cosx4x^2 - 3\cos x into separate integrals before integrating term by term?

Generate an Example

  • Write one integral where the constant multiple rule is valid and one near-miss where the factor looks easy to pull out but depends on the integration variable.

Retrieval Practice

Answer from memory, then click to reveal and check. (See Retrieval Practice for the full method.)

State the move in one sentence: _____Pull a constant factor outside an integral: replace the integral of c times f(x) with c times the integral of f(x).
Write the canonical equation: _____cf(x)dx=cf(x)dx\int c f(x)\,dx = c \int f(x)\,dx
State the canonical condition: _____c constant; integral exists

Practice Ground

Use these exercises to build move-selection fluency. (See Self-Explanation for how to use worked examples effectively.)

Procedure Walkthrough

Starting from (ax23cosx)dx\int (a x^2 - 3\cos x)\,dx, find an antiderivative. Assume aa is constant with respect to xx.

The selection point is the whole lesson: aa and 3-3 can move because they are constant with respect to xx, but an xx-dependent factor would not be eligible.

StepExpressionOperation
0(ax23cosx)dx\int (a x^2 - 3\cos x)\,dx
1ax2dx3cosxdx\int a x^2\,dx - \int 3\cos x\,dxIntegral sum rule: split the linear combination into two integrals
2ax2dx3cosxdxa\int x^2\,dx - 3\int \cos x\,dxIntegral constant multiple rule on both terms: aa and 3-3 are constant with respect to xx
3a(x33)3sinx+Ca\left(\dfrac{x^3}{3}\right) - 3\sin x + CUse standard antiderivatives on the simplified integrals
4a3x33sinx+C\dfrac{a}{3}x^3 - 3\sin x + CSimplify

Drills

Forward step (Format A)

Apply the rule once, then finish the antiderivative or reject the move if the condition fails.

Integrate:

6x5dx\int 6x^5\,dx

Reveal

Pull out the constant first:

6x5dx=6x5dx=6(x66)+C=x6+C\int 6x^5\,dx = 6\int x^5\,dx = 6\left(\frac{x^6}{6}\right) + C = x^6 + C


Integrate:

3cosxdx\int -3\cos x\,dx

Reveal

3cosxdx=3cosxdx=3sinx+C\int -3\cos x\,dx = -3\int \cos x\,dx = -3\sin x + C


Use the constant multiple rule and the sum rule to integrate:

(2x2+4ex)dx\int (2x^2 + 4e^x)\,dx

Reveal

(2x2+4ex)dx=2x2dx+4exdx=2(x33)+4ex+C=23x3+4ex+C\int (2x^2 + 4e^x)\,dx = 2\int x^2\,dx + 4\int e^x\,dx = 2\left(\frac{x^3}{3}\right) + 4e^x + C = \frac{2}{3}x^3 + 4e^x + C


Assume aa is constant. Integrate:

ax3dx\int a x^{-3}\,dx

Reveal

ax3dx=ax3dx=a(x22)+C=a2x2+C\int a x^{-3}\,dx = a\int x^{-3}\,dx = a\left(\frac{x^{-2}}{-2}\right) + C = -\frac{a}{2x^2} + C


Choose the valid first step. Which integral can begin with the constant multiple rule?

  1. 7x4dx\int 7x^4\,dx
  2. xexdx\int x e^x\,dx
Reveal
  • 1: yes. The rule applies, so the first step is 7x4dx7\int x^4\,dx because 77 is constant with respect to xx.
  • 2: no. The factor xx depends on xx, so it is not the constant cc and the rule does not apply.

This is the core discrimination the rule is meant to train.


Can the constant multiple rule be the first move here? Explain.

(x+2)cosxdx\int (x+2)\cos x\,dx

Reveal

No. The factor (x+2)(x+2) depends on xx, so it is not the constant cc. Pulling it outside would change the integrand rather than rewrite it equivalently.


Action label (Format B)

Name the move used, or explain why the attempted move is not a valid application of the rule.

What rule was used between these two lines?

7x2dx7x2dx\int 7x^2\,dx \quad\longrightarrow\quad 7\int x^2\,dx

Reveal

Integral constant multiple rule. The factor 77 is independent of xx, so it can be pulled outside the integral sign without changing the antiderivative family.


What combination of rules was used in the step below?

(3ex5x2)dx3exdx5x2dx\int (3e^x - 5x^{-2})\,dx \quad\longrightarrow\quad 3\int e^x\,dx - 5\int x^{-2}\,dx

Reveal

First the integral sum rule splits the difference, then the integral constant multiple rule pulls out the constants 33 and 5-5 from the two resulting integrals.


[Eligibility check — negative] Which of the following factors can be pulled outside the integral with respect to xx? Assume aa is constant.

  1. 4x2dx\int 4x^2\,dx
  2. aexdx\int a e^x\,dx
  3. (x+3)cosxdx\int (x+3)\cos x\,dx
  4. πsec2xdx\int \pi\sec^2 x\,dx
Reveal
  • 1: yes, pull out 44
  • 2: yes, pull out aa because it is constant with respect to xx
  • 3: no, because x+3x+3 depends on xx
  • 4: yes, pull out π\pi

The rule is about dependence on the integration variable, not about whether a factor is numeric-looking.


Transition identification (Format C)

Locate where the rule appears, or identify the invalid transition.

Which transition uses the integral constant multiple rule?

TransitionFromTo
0→1(5x2+2sinx)dx\int (5x^2 + 2\sin x)\,dx5x2dx+2sinxdx\int 5x^2\,dx + \int 2\sin x\,dx
1→25x2dx+2sinxdx\int 5x^2\,dx + \int 2\sin x\,dx5x2dx+2sinxdx5\int x^2\,dx + 2\int \sin x\,dx
2→35x2dx+2sinxdx5\int x^2\,dx + 2\int \sin x\,dx5(x33)2cosx+C5\left(\dfrac{x^3}{3}\right) - 2\cos x + C
Reveal

Transition 1→2 uses the integral constant multiple rule. The constants 55 and 22 are pulled outside their respective integrals.

Transition 0→1 uses the integral sum rule. Transition 2→3 uses standard antiderivatives.


[Negative] In the chain below, which transition is invalid, and why?

xexdx(1)xexdx(2)xex+C\int x e^x\,dx \xrightarrow{(1)} x\int e^x\,dx \xrightarrow{(2)} x e^x + C

Reveal

Transition (1) is where the rule does not apply. The factor xx depends on the integration variable, so it is not the constant cc.

This integral needs a different method, typically integration by parts, not the integral constant multiple rule.


Goal micro-chain (Format D)

Reach the target form in the fewest justified moves.

Starting from

(8x33sinx)dx\int (8x^3 - 3\sin x)\,dx

reach an antiderivative with the constant factors already pulled outside.

Reveal

One minimal chain is

(8x33sinx)dx=8x3dx3sinxdx=8x3dx3sinxdx\int (8x^3 - 3\sin x)\,dx = \int 8x^3\,dx - \int 3\sin x\,dx = 8\int x^3\,dx - 3\int \sin x\,dx

If you continue from there,

8x3dx3sinxdx=8(x44)+3cosx+C=2x4+3cosx+C8\int x^3\,dx - 3\int \sin x\,dx = 8\left(\frac{x^4}{4}\right) + 3\cos x + C = 2x^4 + 3\cos x + C


Solve a Problem

Apply what you’ve learned with Problem Solving.

Problem: Find an antiderivative of (9x24ex)dx\int (9x^2 - 4e^x)\,dx.

Full solution
StepExpressionMove
0(9x24ex)dx\int (9x^2 - 4e^x)\,dx
19x2dx4exdx\int 9x^2\,dx - \int 4e^x\,dxIntegral sum rule
29x2dx4exdx9\int x^2\,dx - 4\int e^x\,dxIntegral constant multiple rule
39(x33)4ex+C9\left(\dfrac{x^3}{3}\right) - 4e^x + CStandard antiderivatives
43x34ex+C3x^3 - 4e^x + CSimplify

FAQ

What is the integral constant multiple rule?

It is the rule

cf(x)dx=cf(x)dx\int c f(x)\,dx = c \int f(x)\,dx

which says a factor constant with respect to the integration variable can be moved outside the integral sign.

When can I pull a factor outside an integral?

You can do it when that factor is constant with respect to the variable of integration and the integral itself exists in the current setting.

Why can’t I pull out xx from xsinxdx\int x\sin x\,dx?

Because xx changes with the integration variable. Pulling it outside would replace the original integrand with a different problem, so the move is not an equivalent rewrite.

Does the rule work with parameters like aa or kk?

Yes, as long as those symbols are constant with respect to the integration variable. For example, with respect to xx, you may write aexdx=aexdx\int a e^x\,dx = a\int e^x\,dx when aa does not depend on xx.

Do I use this rule before or after the integral sum rule?

Often both appear together. A common pattern is to split a sum first, then pull constants out of each smaller integral. In simple cases, you may combine those moves mentally, but the applicability checks are still separate.

Is this rule different from the derivative constant multiple rule?

The structure is parallel, but the goal differs. The derivative rule scales a derivative, while the integral rule scales an antiderivative family. In both cases the deciding question is the same: is the factor truly constant with respect to the active variable?


How This Fits in Unisium

In Unisium, the integral constant multiple rule is one of the first move-selection checks in integration: split linear combinations cleanly, pull out only the factors that are truly constant, and leave variable-dependent structure for other tools. It connects directly to the indefinite integral as antiderivative, parallels the derivative constant multiple rule across a neighboring operation, and becomes more reliable when reinforced with retrieval practice and self-explanation.

Explore further:

Ready to practice constant-factor integration? Start practicing with Unisium or explore the full framework in Masterful Learning.

Masterful Learning book cover

Masterful Learning

The study system for physics, math, & programming that works: retrieval, connection, explanation, problem solving, and more.

Read the book (opens in new tab) ISBN 979-8-2652-9642-9

Ready to apply this strategy?

Join Unisium and start implementing these evidence-based learning techniques.

Start Learning with Unisium Read More Guides

Want the complete framework? This guide is from Masterful Learning.

Learn about the book →