Constant Rule Integration Calculator

Published on: July 17, 2026
Final Answer: Free | Full Steps: Plus

This Constant Rule Integration Calculator integrates a plain number, and shows the working line by line. A constant integrates to that constant multiplied by x, because a straight line with that slope is the function whose derivative is the constant. The constant of integration is then added at the end, since any number would have vanished on differentiating. Following the same pattern every time keeps the x from being left off the answer.

Step-by-step method

  1. Set up the problem.
  2. Write the constant rule for integration.
  3. Multiply the constant by x and add the constant of integration C.

Formula: Constant Rule for Integration

The integral of a number on its own is that number times x.

\(\int k\, dx = kx + C\)

Useful Tips to Remember

The integral of a constant is the constant times \(x\), \(\int k\,dx = kx + C\). Do not forget the \(x\), because the integral of 5 is \(5x\), not 5. Every indefinite integral needs a constant of integration \(+C\). In a definite integral, the result is the area of a rectangle under a flat line.

Required knowledge

  • No prerequisite knowledge is needed.

Where Is the Constant Rule for Integration Used?

The constant rule for integration says that \(\int k\,dx = kx + C\), so integrating a constant rate gives a total that grows in a straight line. It describes anything that builds up at a steady rate, such as distance at constant speed, water filling a tank from a steady tap, or wages earned at a fixed hourly rate. It is also part of integrating any polynomial, where it handles the constant term. On a graph, it gives the area of a rectangle under a flat line, which is the simplest area calculation in calculus.

  • Finding distance travelled at a constant speed
  • Working out how much water fills a tank from a steady flow
  • Calculating total earnings at a fixed hourly rate
  • Integrating the constant terms of polynomials
  • Finding the area under a horizontal line

Constant Rule Integration Practice Problems

Example 1 integrates \(7\), and Example 2 integrates the negative constant \(-3\). Try each one yourself before checking. For two more free worked examples, check out the Constant Rule Integration Notes.

The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. For more practice, the notes page goes further with extra worked examples and fuller explanations of the ideas behind each step. Use them together to check your answers and to understand why each step works.

See Example 1 Hide Example 1

Problem

\(\int 7\, dx\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the constant rule for integration.
  3. Multiply the constant by x and add the constant of integration C.

Formula

Formula: Constant Rule for Integration

The integral of a number on its own is that number times x.

\(\int k\, dx = kx + C\)

Step 1

Step 1 - Identify the constant k.

In this problem: The constant is \(k = 7\).

\(\int 7\, dx\)

Step 2

Step 2 - Write the constant rule for integration.

In this problem: The integral of a constant is the constant times x.

\(\int k\, dx = kx + C\)

Step 3

Step 3 - Multiply the constant by x and add the constant of integration C.

In this problem: The antiderivative is \(7 x\).

\(\int 7\, dx = 7 x + C\)

Final Answer

\(\int 7\, dx = 7 x + C\)
See Example 2 Hide Example 2

Problem

\(\int -3\, dx\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the constant rule for integration.
  3. Multiply the constant by x and add the constant of integration C.

Formula

Formula: Constant Rule for Integration

The integral of a number on its own is that number times x.

\(\int k\, dx = kx + C\)

Step 1

Step 1 - Identify the constant k.

In this problem: The constant is \(k = -3\).

\(\int -3\, dx\)

Step 2

Step 2 - Write the constant rule for integration.

In this problem: The integral of a constant is the constant times x.

\(\int k\, dx = kx + C\)

Step 3

Step 3 - Multiply the constant by x and add the constant of integration C.

In this problem: The antiderivative is \(- 3 x\).

\(\int -3\, dx = - 3 x + C\)

Final Answer

\(\int -3\, dx = - 3 x + C\)

Notes and Practice Mode

Example Problems

Click one to load it into the box and solve it.