Math Solver Free

Antiderivative Calculator

Find F(x) from f(x) — the rule for every term, and the constant C included.

Antiderivative F(x)
x^3 + x^2 + C

Every antiderivative includes the constant of integration C: F(x) + C is the full family.

Rule applied per term

Term: 3*x^2 → x^3

Power rule: the antiderivative of x^2 is x^3/3

Term: +2*x → x^2

Power rule: the antiderivative of x^1 is x^2/2

What Is an Antiderivative?

An antiderivative of a function f(x) is any function F(x) with F′(x) = f(x) — it answers the question "what was differentiated to get this?" This antiderivative calculator finds F(x) for the standard forms of a first calculus course: powers, reciprocals, exponentials, trigonometric functions, logarithms and the chain forms built from them. Every term of your input is matched to a named rule, the rule is printed next to the term, and the constant of integration C is added at the end — because an antiderivative is never a single function but a whole family, F(x) + C, whose members differ only by a constant.

The Antiderivative Rules You Actually Need

  • Power rule: the antiderivative of x^n is x^(n+1)/(n+1), for any n except −1. It also covers square roots (x^(1/2) → (2/3)x^(3/2)) and negative powers.
  • The log exception: the antiderivative of 1/x is ln|x| — the one place the power pattern breaks.
  • Exponentials: e^x is its own antiderivative; e^(ax + b) divides by a; a^x divides by ln(a).
  • Trig: sin becomes −cos, cos becomes sin, sec^2 becomes tan, tan becomes −ln|cos| — each divided by the inner derivative when the argument is ax + b.
  • Chain forms: (ax + b)^n and 1/(ax + b) follow the power and log rules with one extra division by a.
  • Sums and multiples: antiderivatives are taken term by term, and constants factor out — which is why the calculator can show a rule per term.

How to Use This Calculator

  1. Type your function using x as the variable and * for multiplication — the field starts with 3*x^2 + 2*x.
  2. Read F(x) in the dark panel, which updates as you type and always ends in + C.
  3. Check the rule list under the result: each term of your input is shown with the rule that produced its antiderivative, so you can follow the working line by line.
  4. If a term is rejected, the message names it and lists the covered forms — forms that need substitution are one click away in the u-substitution calculator.

Worked Example 1: The Antiderivative of 3x^2 + 2x

Work term by term. The constant 3 factors out, and the power rule turns x^2 into x^3/3, giving 3 · (x^3/3) = x^3. The second term: 2 factors out, x becomes x^2/2, giving 2 · (x^2/2) = x^2. Adding the constant of integration: F(x) = x^3 + x^2 + C. Verify by differentiating: 3x^2 + 2x — the original function, as required. That check, differentiating your answer, is the fastest way to catch antiderivative errors by hand.

Worked Example 2: A Mixed Function, x^3 − sin(2x) + 1/x

Three different rules in one problem. The power rule: x^3 → x^4/4. The trig chain rule: sin(2x) → −cos(2x)/2, and the leading minus sign makes the term +(cos(2x))/2 in the sum. The log exception: 1/x → ln|x|. Together: F(x) = x^4/4 + (cos(2x))/2 + ln|x| + C. Notice how each piece is independent — sums are always handled one term at a time, which is precisely the structure the calculator's rule list shows you.

Antiderivative or Integral — Which Tool Do You Need?

If your problem is written with an integral sign and no limits, ∫f(x) dx, it is asking for exactly what this page computes — our integral calculator covers the same ground with the emphasis on integral notation. If the integral has limits, ∫ from a to b, you need a number: find the antiderivative here, then evaluate it at the bounds — or go straight to the definite integral calculator. And if a term hides a chain pattern like x·e^(x^2), that is a job for the u-substitution calculator, which shows the substitution itself step by step.

Three Mistakes to Watch For

First, dropping the + C — on exams it costs marks, and in applications it loses the initial condition. Second, applying the power rule to 1/x and writing x^0/0; the answer is ln|x|, always. Third, forgetting the chain division: the antiderivative of sin(2x) is −cos(2x)/2, not −cos(2x), because the inner function 2x contributes its derivative. When in doubt, differentiate your answer — the derivative calculator will confirm it in seconds.

Frequently Asked Questions

What is an antiderivative?

An antiderivative of f(x) is a function F(x) whose derivative is f(x): F'(x) = f(x). Because the derivative of a constant is zero, antiderivatives come as a family F(x) + C differing only by the constant C. For example, x^3/3, x^3/3 + 5 and x^3/3 - 2 are all antiderivatives of x^2. Finding antiderivatives is the reverse of differentiation, and it is the first half of evaluating almost every integral.

What is the antiderivative of x^2?

The antiderivative of x^2 is x^3/3 + C. The power rule for antiderivatives says: raise the exponent by 1 (2 becomes 3), then divide by the new exponent (3). Check by differentiating: the derivative of x^3/3 is 3x^2/3 = x^2, exactly what you started with. The same rule with the sign of the exponent flipped handles negative powers too: the antiderivative of x^-2 is -x^-1 + C.

What is the difference between an antiderivative and an integral?

An antiderivative is a function — the reverse of a derivative. An indefinite integral is the notation for the family of all antiderivatives: ∫f(x) dx = F(x) + C. A definite integral is something else again: a number, the signed area under the curve between two bounds, computed as F(b) - F(a) once you have an antiderivative. So this calculator produces the same object an indefinite integral asks for; use the definite integral calculator when you have bounds.

Why does every antiderivative have + C?

Because differentiation destroys constants: the derivative of x^3/3 + 7 is x^2, and so is the derivative of x^3/3 - 100. When you reverse the process you cannot know which constant was there, so you write + C to represent all of them at once. The constant is not decoration — in applied problems it is pinned down by an initial condition, such as the starting position of a moving object.

What is the antiderivative of 1/x?

The antiderivative of 1/x is ln|x| + C. The power rule would suggest x^0/0, which is undefined — 1/x is the famous exception where the pattern breaks and a logarithm appears instead. The absolute value matters: ln|x| differentiates to 1/x on both the positive and negative sides. The same log form appears for 1/(ax + b), whose antiderivative is ln|ax + b|/a.

Is this antiderivative calculator free?

Yes — every tool on Math Solver Free is free with no sign-up, and all calculations run in your browser. Type a function built from the standard forms and the calculator shows the antiderivative with the rule used for each term. Forms that need substitution show up in the u-substitution calculator, and forms needing parts or partial fractions are flagged honestly rather than guessed.

Related Tools & Guides

About the MathSolverFree Team

The MathSolverFree 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