Calculateur d'intégrales

Trouvez des primitives et calculez des intégrales définies, avec les règles d'intégration et l'aire numérique détaillées à chaque étape.

Que souhaitez-vous calculer ?

Utilisez x comme variable. Écrivez les puissances avec ^, les fonctions sous la forme sin(x) ou ln(x), et e^x pour l'exponentielle.

Insérer
Essayez l'un de ces exemples

Votre résultat s'affichera ici

Saisissez une fonction ci-dessus ou touchez un exemple pour voir la primitive et les règles utilisées.

Noter Calculateur d'intégrales

Dans quelle mesure cet outil vous a-t-il été utile ? Votre note aide d'autres personnes à le trouver.

Comment fonctionne Calculateur d'intégrales

This calculator does not look your function up in a table. It reads the text you type, splits it into numbers, the variable x, operators, and named functions, and builds a small tree that mirrors the structure of the expression. Brackets, implicit multiplication such as 2x, and a leading minus in front of a power all get resolved at this stage, so -x^2 is read as minus x squared rather than the square of minus x.

The solver then walks that tree and tries the standard rules in order. Sums split into separate integrals. Constants move outside. Anything that reduces to powers of x goes through the power rule, with 1/x handled separately because raising minus one by one would divide by zero. When the inside of a function is a straight line, such as cos(3x + 1), it divides by the slope. When one factor is a constant multiple of the derivative of another part, it applies substitution. Products of a polynomial and an exponential, sine, cosine, or logarithm go through integration by parts, repeating until the polynomial runs down to a constant.

For a definite integral it evaluates the antiderivative at both limits and subtracts. It also runs adaptive Simpson integration, which subdivides the interval more finely wherever the curve bends, so functions with no closed form still return an accurate number.

Every answer is then differentiated again and compared against your function as a check. Nothing is uploaded — all of it runs in your browser.

Comment utiliser Calculateur d'intégrales

1

Pick the type

Choose Antiderivative for the general result with + C, or Definite integral when you need the area between two limits.

2

Type the function

Use x as the variable, ^ for powers, and named functions such as sin(x), ln(x), sqrt(x), or e^x.

3

Read the result and the rules

The answer appears with the rule behind every step, plus a graph that shades the area a definite integral measures.

Exemple d'utilisation

Integrating a product with integration by parts:

Entrée
Function: x*e^x Type: Antiderivative
Sortie
x·e^x - e^x + C Rule 1 Integration by parts with u = x and dv = e^x dx Rule 2 The exponential is its own integral Check Differentiating the result returns x·e^x

Questions fréquentes

What is the difference between an indefinite and a definite integral?
An indefinite integral gives a function, the antiderivative, and it ends with + C because shifting a function up or down does not change its slope. A definite integral gives a single number: the signed area between the curve and the x-axis across the limits you set.
How do I type the function?
Use x as the variable. Write x squared as x^2, a square root as sqrt(x), the natural log as ln(x), and the exponential as e^x or exp(x). Trigonometric functions need brackets, so write sin(x) rather than sin x. Multiplication can be written as 2x or 2*x.
Why does the answer always end with + C?
Every constant differentiates to zero, so x^2 + 1 and x^2 + 7 have the same derivative. When you reverse the process you cannot recover which constant was there, so the answer covers all of them at once with + C.
What does the shaded area on the graph mean?
It is the region the definite integral measures. Anything above the x-axis counts as positive and anything below counts as negative, so a curve that spends equal time above and below can integrate to zero even though the region on screen looks large.
Why did I get a number but no antiderivative?
Some functions, such as e^(-x^2) and sin(x)/x, have no antiderivative that can be written with standard functions. That is a property of the function, not a limitation of the tool. Numeric integration still gives an accurate value across any interval you choose.
How accurate is the numeric result?
The calculator uses adaptive Simpson integration, which splits the interval further wherever the curve bends sharply. For smooth functions the answer usually matches to around ten significant figures.
Can I use pi or e in the limits?
Yes. The limit boxes accept plain numbers as well as constants and small expressions, so pi, 2*pi, -pi/2, and e all work.
What happens if the lower limit is bigger than the upper limit?
The result comes out negative. Swapping the limits of a definite integral flips its sign, which is a standard property rather than an error, and the calculator points it out below the answer.
Does it handle integration by parts and substitution?
Yes. Products such as x·e^x and x^2·sin(x) go through integration by parts, and expressions where one factor is the derivative of another part, such as x·sqrt(x^2 + 1), go through substitution. The rules panel names the method used.
Why does the result show ln|x| instead of ln(x)?
The antiderivative of 1/x is ln|x| because the absolute value keeps the answer valid for negative x as well. Dropping the bars would restrict the result to positive values only.
How do I know the answer is right?
The calculator differentiates its own result and compares it with the function you entered at several points. When they match, a confirmation note appears under the answer. You can also check by hand: differentiating the antiderivative should return the original function.
Is anything I type uploaded?
No. The parser, the integration rules, and the numeric routine all run in your browser, so the functions you enter never leave your device.

Outils associés

Commentaires

Les commentaires sont fournis par Disqus. Les charger vous connecte à Disqus, qui dépose des cookies et traite des données selon sa propre politique de confidentialité.

Calculateur d'intégrales est maintenu par CodeItBro. Notre objectif est de proposer les meilleurs outils gratuits pour développeurs sur le web. Si vous avez des remarques ou des suggestions, rendez-vous sur notre page de contact.

Cité par

CodeItBro - Free dev tools + practical guides to help you ship faster | Product HuntCodeItBro - Free Online Developer Tools badgeCodeItBro badge