Dabour Hub EGEgyptian Curriculum 2026/2027
Mathematics cover
MathematicsEgyptian Curriculum 2026/2027 · lessons, notes and exam-style quizzes
Home/ Courses/ Mathematics/ Indefinite Integration of Trigonometric, Exponential and Logarithmic Functions
DABOUR HUB / LESSON 2026-2027

Indefinite Integration of Trigonometric, Exponential and Logarithmic Functions

Course: Mathematics Unit: Chapter 1 — Calculus (Differentiation and Integration) Lesson 4 · 300+ interactive questions 📝

🧭 Lesson points — pick a point and study it with its question bank

  • Treat indefinite integration as the reverse process of differentiation, with its properties and the table of standard integrals.
  • Integrate exponential, logarithmic and trigonometric functions and use them in geometric and physical applications.
  • Use differentials, integration by substitution and integration by parts, and recover a curve from the slope of its tangent.

🌳 Concept tree

Indefinite Integration of Trigonometric, Exponential and Logarithmic Functions
├── Antiderivatives and the indefinite integral
│   ├── Definition of the antiderivative
│   ├── Properties of the indefinite integral
│   └── Standard (tabular) integrals
├── Integrals of exponential functions
├── Integrals of logarithmic functions
│   ├── The function 1/x
│   └── Multiples of the logarithmic function
├── Applications of indefinite integration
│   ├── Geometric applications
│   └── Physical applications
├── Differentials
├── Integration by substitution
└── Integration by parts (LIATE)

01 The antiderivative and the indefinite integral

Definition

  • An antiderivative (inverse derivative) of f(x) on an interval is a function F(x) whose derivative is f(x), that is F′(x) = f(x) for every x in the interval.
  • Adding any constant to an antiderivative gives another antiderivative, so every function has infinitely many antiderivatives.
  • The set of all antiderivatives is called the indefinite integral and is written ∫ f(x) dx: ∫ f(x) dx = F(x) + C.
  • Geometrically the indefinite integral is a family of parallel curves differing only by the constant, so at the same value of x their tangents all have the same slope.
  • C is the constant of integration (arbitrary constant); it is fixed when a point on the curve is known.

Properties

  • Integral of a sum or difference: ∫ [f(x) ± g(x)] dx = ∫ f(x) dx ± ∫ g(x) dx.
  • Constant factor: ∫ k f(x) dx = k ∫ f(x) dx, where k is a fixed real number.
  • Power rule: ∫ xn dx = xn+1/(n + 1) + C, n ≠ −1. The excluded case is exactly the logarithmic one: ∫ dx/x = ln|x| + C.
  • Check any result by differentiating: d/dx of the answer must return the integrand.

Worked examples

  1. ∫ (3x² + 4x + 5) dx = x³ + 2x² + 5x + C.
  2. ∫ (x − 1)(x + 3) dx → expand first: ∫ (x² + 2x − 3) dx = x³/3 + x² − 3x + C.
  3. ∫ (√x + 1/√x) dx = ∫ (x1/2 + x−1/2) dx = (2/3)x3/2 + 2x1/2 + C.
  4. ∫ x(x² − 3)2 dx: substitution is the efficient route (section 07) — u = x² − 3, du = 2x dx → ½∫ u² du = (x² − 3)³/6 + C. Expanding first also works: ∫ (x⁵ − 6x³ + 9x) dx = x⁶/6 − 3x⁴/2 + 9x²/2 + C, which differs from the factored form only by a constant.

02 The table of standard integrals (including trigonometric)

1cos x
Integral
  • sin x + C
Comes from
  • d/dx(sin x) = cos x
2sin x
Integral
  • −cos x + C
Comes from
  • d/dx(−cos x) = sin x
3sec² x
Integral
  • tan x + C
Comes from
  • d/dx(tan x) = sec² x
4cosec² x
Integral
  • −cot x + C
Comes from
  • d/dx(−cot x) = cosec² x
5sec x tan x
Integral
  • sec x + C
Comes from
  • d/dx(sec x) = sec x tan x
6cosec x cot x
Integral
  • −cosec x + C
Comes from
  • d/dx(−cosec x) = cosec x cot x
7tan x
Integral
  • ln|sec x| + C
Comes from
  • write tan x = sin x/cos x, u = cos x
8cot x
Integral
  • ln|cosec x| + C
Comes from
  • write cot x = cos x/sin x, u = sin x
9ex
Integral
  • ex + C
Comes from
  • self-derivative
101/x
Integral
  • ln|x| + C
Comes from
  • d/dx ln|x| = 1/x

Linear arguments

  • Whenever the angle is (ax + b), divide by a: ∫ cos(ax + b) dx = sin(ax + b)/a + C, ∫ sin(ax + b) dx = −cos(ax + b)/a + C.
  • ∫ sec²(2x) dx = tan(2x)/2 + C and ∫ e3x dx = e3x/3 + C — the same rule.
  • Squares of trig functions are reduced with the double-angle identities first: sin²x = (1 − cos 2x)/2, cos²x = (1 + cos 2x)/2.
  • Example: ∫ sin²x dx = ∫ (1 − cos 2x)/2 dx = x/2 − sin 2x/4 + C.

03 Integrals of exponential functions

The two rules

  • Natural base: ∫ eu du = eu + C, so for a linear exponent ∫ eax+b dx = eax+b/a + C.
  • Any positive base a ≠ 1: ∫ au du = au/ln a + C, so ∫ akx dx = akx/(k ln a) + C.
  • Reason: d/dx(ax) = ax ln a, therefore the factor ln a must be divided out when integrating.
  • If the exponent is a function g(x), the chain rule must be undone: ∫ eg(x) g′(x) dx = eg(x) + C.

Worked examples

  1. ∫ e2x − 1 dx = e2x − 1/2 + C.
  2. ∫ 3x dx = 3x/ln 3 + C.
  3. ∫ x ex² dx: let u = x², du = 2x dx → ½∫ eu du = ex²/2 + C.
  4. ∫ (ex + 2x) dx = ex + 2x/ln 2 + C — integrate term by term, different rules for each.

04 Integrals of logarithmic functions (the 1/x rule)

The rule

  • ∫ dx/x = ln|x| + C. The modulus is compulsory: for x < 0, d/dx ln(−x) = (−1)/(−x) = 1/x, so ln|x| is an antiderivative on both sides of zero.
  • Linear argument: ∫ dx/(ax + b) = ln|ax + b|/a + C.
  • Numerator equal to the derivative of the denominator: ∫ f′(x)/f(x) dx = ln|f(x)| + C.
  • Multiples and powers: ∫ k·dx/x = k ln|x| + C = ln|x|k + C, and ∫ dx/x² = −1/x + C (a power, not a logarithm).

Worked examples

  1. ∫ dx/(3x − 5) = ln|3x − 5|/3 + C.
  2. ∫ (2x + 1)/(x² + x + 4) dx: numerator is the derivative of the denominator → ln(x² + x + 4) + C (the quadratic is always positive, so the modulus may be dropped).
  3. ∫ dx/x³ = ∫ x−3 dx = x−2/(−2) + C = −1/(2x²) + C. Do not use the log rule unless the power of x in the denominator is exactly one.
  4. ∫ tan x dx = ∫ sin x/cos x dx = −ln|cos x| + C = ln|sec x| + C.
  5. ∫ ln x dx = x ln x − x + C (by parts, section 08).

05 Applications of the indefinite integral

Geometric: a curve from its slope

  • If a curve y = f(x) passes through a known point and the slope of its tangent at any point is given, integrate the slope to get y = ∫ (slope) dx, then substitute the point to find C.
  • Example: dy/dx = 2x − 3 and the curve passes through (2, 5). y = x² − 3x + C; 5 = 4 − 6 + C → C = 7, so y = x² − 3x + 7.
  • The slope of the tangent is dy/dx; if instead the normal is given, use dy/dx = −1/(normal slope).

Physical: motion along a straight line

  • Acceleration a = dv/dt, so v = ∫ a dt; velocity v = ds/dt, so s = ∫ v dt — each integration needs one initial condition (initial velocity, initial position).
  • Example: a body starts from rest with a = 6t − 4. v = 3t² − 4t, s = t³ − 2t²; at t = 3, v = 15 m/s and s = 9 m.
  • Work done by a variable force: W = ∫ F ds; and the change of momentum is ∫ F dt (see the vector-functions lesson).

Worked example (curve through two conditions)

  1. A curve has second derivative d²y/dx² = 12x − 2 and passes through (0, 1) with tangent slope 4 there. dy/dx = 6x² − 2x + C₁ → C₁ = 4. y = 2x³ − x² + 4x + C₂ → C₂ = 1. y = 2x³ − x² + 4x + 1.

06 Differentials

The differential of a function

  • For y = f(x) the differential is dy = f′(x) dx: the differential of the function equals its derivative multiplied by the differential of the independent variable.
  • dx is the increment of x; dy is the corresponding change along the tangent, not along the curve. For small increments dy ≈ Δy, and the error shrinks as Δx → 0.
  • Second differential: d²y = f″(x) dx² (only when x is the independent variable, so that dx is constant).
  • Rewriting a differential equation in differential form is what makes direct integration legal: dy/dx = g(x)h(y) → dy/h(y) = g(x) dx, then integrate both sides.

Worked examples

  1. y = x³ ln x → dy = (3x² ln x + x²) dx.
  2. y = sin(2x + 1) → dy = 2 cos(2x + 1) dx.
  3. Approximation: a cube of side 5 cm grows by 0.1 cm. V = x³, dV = 3x² dx = 3(25)(0.1) = 7.5 cm³ (the true increase is 7.31 cm³).
  4. dy/dx = x/y with y(0) = 3 → y dy = x dx → y²/2 = x²/2 + C → C = 9/2, so y² = x² + 9.

07 Integration by substitution

The idea

  • It reverses the chain rule: if the integrand contains a function of g(x) together with a multiple of g′(x), put u = g(x) and du = g′(x) dx.
  • Steps: ① choose u (usually the inner function, the denominator, or the expression under a root) ② compute du and solve for dx ③ rewrite the whole integral in u ④ integrate ⑤ return to x.
  • For a definite integral, either convert the limits to u or substitute back before applying the original limits.

Two useful standard results

  • ∫ f′(x)/f(x) dx = ln|f(x)| + C.
  • ∫ [f(x)]n f′(x) dx = [f(x)]n+1/(n + 1) + C, n ≠ −1.

Worked examples

  1. ∫ 2x(x² + 1)⁵ dx: u = x² + 1, du = 2x dx → ∫ u⁵ du = u⁶/6 + C = (x² + 1)⁶/6 + C.
  2. ∫ cos⁴x sin x dx: u = cos x, du = −sin x dx → −∫ u⁴ du = −cos⁵x/5 + C.
  3. ∫ dx/(x ln x): u = ln x, du = dx/x → ∫ du/u = ln|ln x| + C.
  4. ∫ √(2x + 3) dx: u = 2x + 3, du = 2 dx → ½·(2/3)u3/2 = (2x + 3)3/2/3 + C.

08 Integration by parts

The rule

  • ∫ u dv = uv − ∫ v du, taken from the product rule d(uv) = u dv + v du.
  • Choose u by LIATE: Logarithmic, Inverse trig, Algebraic (powers of x), Trigonometric, Exponential — the first type in this list becomes u; everything left, including dx, becomes dv.
  • Use it when the integrand is a product of two unlike factors, e.g. x ex, x sin x, x ln x, or a single logarithm or inverse trig function.

Worked examples

  1. ∫ x ex dx: u = x, dv = exdx → x ex − ∫ ex dx = x ex − ex + C.
  2. ∫ x cos x dx: u = x, dv = cos x dx → x sin x − ∫ sin x dx = x sin x + cos x + C.
  3. ∫ ln x dx: u = ln x, dv = dx → x ln x − ∫ x·(1/x) dx = x ln x − x + C.
  4. ∫ x² ex dx needs parts twice: x²ex − 2x ex + 2ex + C.
  5. Choosing the wrong u (for instance u = ex in (1)) makes the new integral harder — always test whether ∫ v du is simpler than the original.

Choosing the method

1Sum of powers of x
Method
  • Power rule, term by term
Example
  • ∫ (3x² + 4x + 5) dx
2Composite function × derivative of the inner
Method
  • Substitution
Example
  • ∫ 2x(x² + 1)⁵ dx
3Derivative over the function itself
Method
  • Logarithm
Example
  • ∫ (2x + 1)/(x² + x + 4) dx
4Product of two unlike factors
Method
  • Parts (LIATE)
Example
  • ∫ x ln x dx
5sin²x or cos²x
Method
  • Double-angle identity first
Example
  • ∫ sin²x dx

09 Test yourself

  1. ∫ (4x³ − 2x + 7) dx = x⁴ − x² + 7x + C
  2. ∫ sin(3x + 1) dx = −cos(3x + 1)/3 + C
  3. ∫ sec²(4x) dx = tan(4x)/4 + C
  4. ∫ e−x/2 dx = −2e−x/2 + C
  5. ∫ dx/(5 − 2x) = −ln|5 − 2x|/2 + C
  6. ∫ cosec x cot x dx = −cosec x + C
  7. ∫ cot x dx = ln|sin x| + C (compare with ∫ tan x dx = ln|sec x| + C)
  8. ∫ x e2x dx = (x e2x)/2 − e2x/4 + C
  9. A curve with dy/dx = 3x² − 2 through (1, 0): y = x³ − 2x + 1
  10. d y for y = x² sin x: (2x sin x + x² cos x) dx

10 Exam traps and key takeaways

💡 High-yield traps

  • ∫ sin x dx = −cos x + C; the sign is the most-marked error in this lesson. ∫ cos x dx = +sin x.
  • Never write ∫ dx/x as ln x — it is ln|x|, and the modulus is a marked step.
  • ∫ dx/x² is not a logarithm: it is −1/x + C. The log rule only applies when the power of x is exactly one.
  • For ax you must divide by ln a; forgetting it is the classic mistake on 2x and 3x.
  • Divide by the coefficient of x after integrating cos(ax + b) or eax + b; forgetting the factor a or 1/a is worth half the mark.
  • Always append + C to an indefinite integral; a definite integral has no constant at all.
  • Expand the product before integrating (e.g. (x − 1)(x + 3)); substitution is only worth the effort when a matching derivative appears.
  • In parts, if the new integral ∫ v du is harder than the original you chose u wrongly — swap and retry.
  • A differential dy = f′(x) dx is not the same as Δy; use it for approximation only when the increment is small.