Search for a tool
Primitives Functions

Tool to find primitives of functions. Integration of a function is the calculation of all its primitives, the inverse of the derivative.

Results

Primitives Functions -

Tag(s) : Functions, Symbolic Computation

Share
Share
dCode and more

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!


Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!


Feedback and suggestions are welcome so that dCode offers the best 'Primitives Functions' tool for free! Thank you!

Primitives Functions

Primitive Function Calculator




See also: Derivative

Integral Calculator

Answers to Questions (FAQ)

What is a primitive? (Definition)

The primitive (or indefinite integral, or antederivative) of a function $ f $ defined over an interval $ I $ is a function $ F $ (usually noted in uppercase), itself defined and differentiable over $ I $, which derivative is $ f $, ie. $ F'(x) = f(x) $.

Example: The primitive of $ f(x) = x^2+\sin(x) $ is the function $ F(x) = \frac{1}{3}x^3-\cos(x) + C $ (with $ C $ a constant).

How to calculate a primitive/integral?

Computing the antiderivatives of a function involves finding another function which, when derived, gives the original function.

The easiest way to calculate a function primitive is to know the list of common primitives and apply them.

dCode knows all functions and their primitives. Enter the function and its variable to integrate and dCode do the computation of the primitive function.

There is no direct formula for calculating a primitive from a function. It is generally possible to express primitives for the usual functions (or combinations of functions) but there is no uniqueness of the primitive (therefore an infinity of solutions) and some primitives cannot be expressed as a combination of usual functions.

What is the list of common primitives?

The usual primitives to know: (with $ C $ any constant)

FunctionPrimitive
constant $$ \int a \, \rm dx $$$$ ax + C $$
power $$ \int x^n \, \rm dx $$$$ \frac{x^{n+1}}{n+1} + C \qquad n \ne -1 $$
negative power $$ \int \frac{1}{x^n} = \int x^{-n} \, \rm dx $$$$ \frac{x^{-n+1}}{-n+1} + C \qquad n \ne 1 $$
inverse $$ \int \frac{1}{x} \, \rm dx $$$$ \ln \left| x \right| + C \qquad x \ne 0 $$
$$ \int \frac{1}{x-a} \, \rm dx $$$$ \ln | x-a | + C \qquad x \ne a $$
$$ \int \frac{1}{(x-a)^n} \, \rm dx $$$$-\frac{1}{(n-1)(x-a)^{n-1}} + C \qquad n \ne 1 , x \ne a $$
$$ \int \frac{1}{1+x^2} \, \rm dx $$$$ \operatorname{arctan}(x) + C $$
$$ \int \frac{1}{a^2+x^2} \, \rm dx $$$$ \frac{1}{a}\operatorname{arctan}{ \left( \frac{x}{a} \right) } + C \qquad a \ne 0 $$
$$ \int \frac{1}{1-x^2} \, \rm dx $$$$ \frac{1}{2} \ln { \left| \frac{x+1}{x-1} \right| } + C $$
$$ \int \frac{1}{\sqrt{1-x^2}} \, \rm dx $$$$ \operatorname{arcsin} (x) + C $$
$$ \int \frac{-1}{\sqrt{1-x^2}} \, \rm dx $$$$ \operatorname{arccos} (x) + C $$
$$ \int \frac{x}{\sqrt{x^2-1}} \, \rm dx $$$$ \sqrt{x^2-1} + C $$
natural logarithm $$ \int \ln (x)\,\rm dx $$$$ x \ln (x) - x + C $$
logarithm base b $$ \int \log_b (x)\,\rm dx $$$$ x \log_b (x) - x \log_b (e) + C $$
exponential $$ \int e^x\,\rm dx $$$$ e^x + C $$
$$ \int a^x\,\rm dx $$$$ \frac{a^x}{\ln (a)} + C \qquad a > 0 , a \ne 1 $$
sine $$ \int \sin(x)\,\rm dx $$$$ -\cos(x) + C $$
cosine $$ \int \cos(x)\,\rm dx $$$$ \sin(x) + C $$
tangent $$ \int \tan(x)\,\rm dx $$$$ -\ln|\cos(x)| + C $$
hyperbolic sine $$ \int \sinh(x)\,\rm dx $$$$ \cosh(x) + C $$
hyperbolic cosine $$ \int \cosh(x)\,\rm dx $$$$ \sinh(x) + C $$
hyperbolic tangent $$ \int \tanh(x)\,\rm dx $$$$ \ln(\cosh(x)) + C $$

What is the list of primitives for combinations of functions?

Another list to know to calculate primitives of functions combining usual functions and their derivatives

FunctionPrimitive
fraction of functions $$ \frac{u^{\prime}}{u} $$$$ \ln{|u|} $$
exponential of functions $$ \exp(u) \times u^{\prime} $$$$ \exp(u) $$
power of functions $$ u^{a} \times u^{\prime} $$$$ \frac{u^{a+1}}{a+1} $$
sine of functions $$ \sin(u) \times u^{\prime} $$$$ -\cos(u) $$
cosine of functions $$ \cos(u) \times u^{\prime} $$$$ \sin(u) $$
logarithm of functions $$ u^{\prime} \times \ln{|u|} $$$$ u \times \ln{|u|} -u $$

Why calculate a primitive?

Primitives are useful in many areas of mathematics and physics. Used in conjunction with integration, they solve problems related to the determination of areas under curves, the modeling of continuous phenomena, the analysis of growth and change, as well as the resolution of Differential equations.

What does +C mean?

The value $ C $ is any constant. The presence of a constant in a primitive has no influence on the value of its derivative. So there are an infinite number of possible primitives, adding $ + C $ does not change the derivative, most of the time taking $ C = 0 $ simplifies the calculations.

Source code

dCode retains ownership of the "Primitives Functions" source code. Any algorithm for the "Primitives Functions" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Primitives Functions" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Primitives Functions" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.

Cite dCode

The content of the page "Primitives Functions" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source. Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link: https://www.dcode.fr/primitive-integral
In a scientific article or book, the recommended bibliographic citation is: Primitives Functions on dCode.fr [online website], retrieved on 2025-04-16, https://www.dcode.fr/primitive-integral

Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Questions / Comments

Feedback and suggestions are welcome so that dCode offers the best 'Primitives Functions' tool for free! Thank you!


https://www.dcode.fr/primitive-integral
© 2025 dCode — The ultimate collection of tools for games, math, and puzzles.
 
Feedback