Math Solver Free

Calculus · Solved Question

What is the integral of 2x?

Math Solver Free Team

Answer

∫ 2x dx = x² + C

Reverse power rule: raise the power, divide by it.

Try it in the Integral Calculator →

Integrate functions step by step, indefinite and definite.

The integral of 2x is x² + C. Integration is differentiation run in reverse, so the method is: find a function whose derivative is 2x.

Step-by-step solution

  1. Apply the reverse power rule: to integrate xⁿ, raise the power by 1 and divide by the new power. For 2x (which is 2x¹): 2 × x² / 2.
  2. Simplify: 2 × x² / 2 = x².
  3. Add the constant of integration: x² + C.
  4. Check by differentiating: d/dx[x² + C] = 2x + 0 = 2x ✓ — you recover the original function exactly.

Why the + C matters

Every function x² + (any constant) — x² + 5, x² − 3, x² — has the same derivative, 2x, because constants vanish when differentiated. So the integral cannot be a single function; it is a whole family, and + C is how we write "any constant". Leaving it off is marked wrong in exams for exactly this reason.

The common mistake

Two of them: forgetting + C, and dividing by the old power instead of the new one. The check step — differentiate your answer — catches both in seconds and is worth doing on every indefinite integral.

Frequently asked questions

What is the integral of 2x?

x² + C. Raise the power of x from 1 to 2 and divide by the new power: 2x²/2 = x², then add the constant of integration C.

Why does the integral of 2x have a + C?

Because every function x² + constant has derivative 2x — constants disappear when differentiating. The + C represents that whole family of answers.

How do you check an integral answer?

Differentiate it. The derivative of x² + C is 2x, which matches the function you integrated, so the answer is correct.

Keep practicing

About the Math Solver Team

The Math Solver Team builds and maintains the calculators and step-by-step solvers on this site. Every tool is checked against worked textbook examples before it is published, and the method behind each solver is written out in full — in the worked examples on the page and in our guides — so you can see exactly how an answer is reached, not just the answer itself.

How we build and test our tools·More about the team