How to calculate integrals and antiderivatives in 2026
Integration is one of the two fundamental operations in calculus, alongside differentiation. While differentiation finds the rate of change of a function, integration performs the reverse operation, finding the original function from its derivative. This relationship is formalised in the Fundamental Theorem of Calculus, which is central to A-level mathematics and university-level courses across the United Kingdom in 2026.
The process of finding an integral is sometimes called antidifferentiation, because the result (called the antiderivative) is a function whose derivative equals the original function. For example, since the derivative of x squared is 2x, the integral of 2x is x squared (plus a constant). This constant of integration, denoted C, appears because the derivative of any constant is zero, so infinitely many functions share the same derivative.
There are several standard integration rules that form the toolkit for solving most basic integrals. The power rule states that the integral of x to the power n is x to the power (n+1) divided by (n+1), plus C. This works for all values of n except n equals negative one. When n equals negative one, the integral of 1 over x is the natural logarithm of the absolute value of x, plus C. This special case arises because the power rule would require division by zero.
For trigonometric functions, the key integrals to remember are: the integral of sine x equals negative cosine x plus C, and the integral of cosine x equals sine x plus C. These results follow directly from the fact that the derivative of sine is cosine and the derivative of cosine is negative sine. For functions of the form a times sine of bx, the chain rule in reverse gives an extra factor of 1 over b, so the integral becomes negative a over b times cosine of bx plus C.
Exponential functions have particularly elegant integrals. The integral of e to the power x is simply e to the power x plus C, making the exponential function unique in being its own antiderivative. For the general form a times e to the power bx, the integral is a over b times e to the power bx plus C. This property makes exponential functions central to modelling growth and decay in physics, biology, economics and engineering.
The natural logarithm integral requires a technique called integration by parts. The integral of ln x is x times ln x minus x plus C. This result is not immediately obvious and demonstrates why integration is generally more challenging than differentiation. While every elementary function has a derivative that can be expressed in terms of elementary functions, the same is not true for integrals, and some apparently simple functions require advanced techniques or cannot be integrated in closed form at all.
This calculator handles the most common function types encountered in the UK mathematics curriculum, providing both the antiderivative formula and numerical values for definite integrals. It serves as a valuable tool for checking homework, revising for examinations and building intuition about the relationship between functions and their integrals.
Definite vs indefinite integrals and the Fundamental Theorem of Calculus
Understanding the distinction between definite and indefinite integrals is crucial for mastering calculus. These two types of integral are closely related through the Fundamental Theorem of Calculus, but they serve different purposes and produce different types of results. Students studying mathematics at A-level or university in the UK in 2026 need to be confident with both.
An indefinite integral represents a family of functions. When we write the integral of f(x) dx equals F(x) plus C, we mean that F(x) is any function whose derivative is f(x), and C can be any real number. The indefinite integral does not have limits of integration and always includes the constant C. For example, the indefinite integral of 2x dx is x squared plus C, which represents all parabolas that pass through different y-intercepts but share the same shape.
A definite integral has upper and lower limits of integration and produces a single numerical value. When we write the integral of f(x) from a to b, we are calculating the net signed area between the curve y equals f(x) and the x-axis over the interval from x equals a to x equals b. Areas above the x-axis count as positive and areas below count as negative. The result is a number, not a function.
The Fundamental Theorem of Calculus provides the bridge between these two concepts. Its second part states that if F(x) is an antiderivative of f(x), then the definite integral of f(x) from a to b equals F(b) minus F(a). This means we can evaluate definite integrals by finding any antiderivative and substituting the bounds. The constant of integration cancels out because F(b) plus C minus F(a) minus C simplifies to F(b) minus F(a).
The first part of the Fundamental Theorem is equally important. It states that if we define a function G(x) as the definite integral of f(t) from a to x, then G is differentiable and its derivative equals f(x). In other words, differentiation undoes integration. This deep connection between the two fundamental operations of calculus was discovered independently by Isaac Newton and Gottfried Wilhelm Leibniz in the late seventeenth century and remains one of the most profound results in all of mathematics.
The geometric interpretation of the definite integral as area under a curve has numerous practical applications. In physics, the integral of a velocity function gives displacement. In probability, the integral of a probability density function over an interval gives the probability of an event occurring in that range. In economics, the integral of a marginal cost function gives total cost, and the area between supply and demand curves gives consumer or producer surplus.
When evaluating definite integrals numerically, there are several important considerations. If the function is not defined at one of the bounds (for example, the integral of 1 over x from 0 to 1), the integral is called improper and requires special treatment using limits. Similarly, if the function has discontinuities within the interval of integration, the integral may need to be split into separate parts. This calculator handles standard cases where the function is continuous over the specified interval.
The average value of a function over an interval is another useful concept related to definite integrals. The average value of f(x) over the interval from a to b is defined as 1 over (b minus a) times the definite integral of f(x) from a to b. This gives the height of the rectangle with the same base width (b minus a) and the same area as the region under the curve.
Common integration techniques taught in UK A-level mathematics
The UK A-level mathematics curriculum covers a range of integration techniques that build upon the basic rules. While this calculator focuses on standard integrals that can be solved using direct formulas, understanding the broader toolkit is essential for tackling more complex problems in 2026 examinations and beyond.
The power rule is the most fundamental integration technique and the starting point for all students. It states that the integral of x to the power n equals x to the power (n+1) divided by (n+1) plus C, provided n is not equal to negative one. This rule extends naturally to polynomial functions by integrating term by term. For example, the integral of 3x squared plus 2x minus 5 is x cubed plus x squared minus 5x plus C. The linearity of integration means you can factor out constants and split sums into separate integrals.
Substitution (also called u-substitution or the reverse chain rule) is typically the first advanced technique taught. It is used when the integrand contains a composite function and its inner function's derivative. For example, the integral of 2x times e to the power x squared can be solved by substituting u equals x squared, giving du equals 2x dx. The integral becomes e to the power u du, which equals e to the power u plus C, or e to the power x squared plus C. Recognising when substitution is appropriate requires practice and pattern recognition.
Integration by parts is based on the product rule for differentiation and is used when the integrand is a product of two functions. The formula states that the integral of u dv equals uv minus the integral of v du. Choosing which factor to call u and which to call dv is often guided by the LIATE rule: Logarithmic, Inverse trigonometric, Algebraic, Trigonometric, Exponential. The integral of x times e to the power x, for example, is solved by setting u equals x and dv equals e to the power x dx. Some integrals require applying integration by parts more than once or using a cyclic approach.
Partial fractions is a technique used to integrate rational functions (fractions where both numerator and denominator are polynomials). The method involves decomposing the fraction into simpler fractions that can be integrated individually. For example, 1 over (x squared minus 1) can be written as 1 over (2(x minus 1)) minus 1 over (2(x plus 1)) using partial fraction decomposition. Each term is then integrated using the logarithm rule.
Trigonometric identities play an important role in integration. Powers of trigonometric functions often require the use of double-angle or half-angle formulae to simplify the integrand before integration. For example, the integral of cosine squared x is solved by using the identity cosine squared x equals (1 plus cosine 2x) over 2. Similarly, the integral of sine squared x uses the identity sine squared x equals (1 minus cosine 2x) over 2.
The UK A-level Further Mathematics syllabus extends these techniques to include integration of hyperbolic functions, reduction formulae, improper integrals and numerical integration methods such as the trapezium rule and Simpson's rule. These advanced topics provide the foundation for university-level mathematics and its applications in science and engineering.
Numerical integration methods are particularly important when an integral cannot be evaluated analytically. The trapezium rule approximates the area under a curve by dividing it into trapezoids. Simpson's rule uses parabolic arcs for a more accurate approximation. Both methods are commonly examined at A-level and provide valuable insight into how computers evaluate integrals in practice.
Real-world applications of integration in science and engineering
Integration is not merely an abstract mathematical exercise. It is a powerful tool that underpins virtually every branch of science, engineering, economics and technology. Understanding how integrals are applied in practice helps motivate the study of calculus and reveals why it remains a cornerstone of the UK mathematics curriculum in 2026.
In physics, integration is used constantly. The relationship between position, velocity and acceleration provides the most intuitive example. If you know the velocity of an object as a function of time, integrating that function gives you the displacement. If you know the acceleration, integrating gives velocity. Newton's second law (F equals ma) combined with integration allows physicists to predict the motion of everything from falling objects to orbiting planets. The work done by a variable force is calculated as the integral of force with respect to distance, and the total energy stored in a spring is found by integrating the force-displacement relationship.
Electrical engineering relies heavily on integration. The charge stored in a capacitor is the integral of current with respect to time. The energy stored in an inductor is proportional to the integral of the square of the current. Fourier transforms, which decompose signals into their frequency components, are defined using definite integrals and are fundamental to telecommunications, audio processing and image compression.
In medicine and biology, integration appears in pharmacokinetics (the study of how drugs move through the body), where the area under the concentration-time curve (AUC) determines the total drug exposure. Population growth models, epidemiological models (including those used during the COVID-19 pandemic) and models of neural activity all use differential equations whose solutions require integration.
Civil and structural engineering uses integration to calculate the centre of mass and moment of inertia of complex shapes, which are essential for designing bridges, buildings and other structures. The pressure on a dam wall is calculated by integrating the water pressure over the surface area. The volume of irregular three-dimensional objects is found using multiple integration, a technique that extends single-variable integration to two and three dimensions.
Economics and finance use integration extensively. The present value of a continuous income stream is calculated by integrating the income function multiplied by a discounting factor. Consumer surplus and producer surplus, which measure the welfare benefits of market transactions, are defined as areas between curves and calculated using definite integrals. The Black-Scholes options pricing model, which revolutionised financial markets, is built upon stochastic calculus, an extension of integration to random processes.
Computer graphics and game development use integration for rendering realistic images. Ray tracing algorithms integrate the light intensity arriving at each pixel from various directions. Physical simulations in games use numerical integration to update the positions and velocities of objects in real time. The smoothness of animations and the accuracy of collision detection both depend on integration techniques.
Climate science and environmental modelling use integration to calculate quantities such as total carbon emissions over a period, the energy balance of the Earth's atmosphere and the cumulative effects of sea-level rise. These calculations inform policy decisions on climate change and energy transition, making integration directly relevant to some of the most pressing issues of our time.
The versatility of integration across so many disciplines explains why calculus remains a compulsory part of A-level mathematics in the UK and a prerequisite for university courses in science, engineering, economics and medicine. Mastering the fundamental techniques covered by this calculator provides the foundation for all these applications and more.