Solved Exercises on Indefinite Integrals of Common Functions in Integral Calculus

Master integration of common functions: polynomials, trigonometric, exponential, and logarithmic functions through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Trigonometric functions
Exercise 1
Find \(\int (3\sin x + 4\cos x - 2\tan x) dx\) using basic integration formulas.
Definition:

Basic trigonometric integrals: \(\int \sin x dx = -\cos x + C\), \(\int \cos x dx = \sin x + C\), \(\int \tan x dx = -\ln|\cos x| + C\)

Integration method:
  1. Apply linearity: \(\int (af(x) + bg(x))dx = a\int f(x)dx + b\int g(x)dx\)
  2. Apply known formulas for each basic trigonometric function
  3. Combine results and add the constant of integration
Original function
\(f(x) = 3\sin x + 4\cos x - 2\tan x\)
Integrated
\(-3\cos x + 4\sin x + 2\ln|\cos x|\)
Result
\(-3\cos x + 4\sin x + 2\ln|\cos x| + C\)
Step 1: Apply linearity

\(\int (3\sin x + 4\cos x - 2\tan x) dx = 3\int \sin x dx + 4\int \cos x dx - 2\int \tan x dx\)

Step 2: Apply basic trigonometric integral formulas

\(3\int \sin x dx = 3(-\cos x) = -3\cos x\)

\(4\int \cos x dx = 4(\sin x) = 4\sin x\)

\(-2\int \tan x dx = -2(-\ln|\cos x|) = 2\ln|\cos x|\)

Step 3: Combine results and add constant

\(\int (3\sin x + 4\cos x - 2\tan x) dx = -3\cos x + 4\sin x + 2\ln|\cos x| + C\)

Step 4: Verification

Take the derivative: \(\frac{d}{dx}(-3\cos x + 4\sin x + 2\ln|\cos x| + C) = 3\sin x + 4\cos x + 2 \cdot \frac{-\sin x}{\cos x} = 3\sin x + 4\cos x - 2\tan x\) ✓

\(\int (3\sin x + 4\cos x - 2\tan x) dx = -3\cos x + 4\sin x + 2\ln|\cos x| + C\)
Final answer:

\(\int (3\sin x + 4\cos x - 2\tan x) dx = -3\cos x + 4\sin x + 2\ln|\cos x| + C\)

Applied rules:

• Trigonometric integrals: \(\int \sin x dx = -\cos x\), \(\int \cos x dx = \sin x\), \(\int \tan x dx = -\ln|\cos x|\)

• Linearity: \(\int (af(x) + bg(x))dx = a\int f(x)dx + b\int g(x)dx\)

• Constant multiples: Pull constants out of integrals

2 Exponential functions
Exercise 2
Find \(\int (2e^x + 3e^{2x} - 4e^{-x}) dx\) using exponential integration formulas.
Definition:

Exponential integrals: \(\int e^{ax} dx = \frac{1}{a}e^{ax} + C\) for constant \(a ≠ 0\)

Original function
\(f(x) = 2e^x + 3e^{2x} - 4e^{-x}\)
Integrated
\(2e^x + \frac{3}{2}e^{2x} + 4e^{-x}\)
Result
\(2e^x + \frac{3}{2}e^{2x} + 4e^{-x} + C\)
Step 1: Apply linearity

\(\int (2e^x + 3e^{2x} - 4e^{-x}) dx = 2\int e^x dx + 3\int e^{2x} dx - 4\int e^{-x} dx\)

Step 2: Apply exponential integral formulas

\(2\int e^x dx = 2e^x\) (since the coefficient of \(x\) is 1)

\(3\int e^{2x} dx = 3 \cdot \frac{1}{2}e^{2x} = \frac{3}{2}e^{2x}\) (divide by the coefficient of \(x\))

\(-4\int e^{-x} dx = -4 \cdot \frac{1}{-1}e^{-x} = 4e^{-x}\) (divide by the coefficient of \(x\))

Step 3: Combine results and add constant

\(\int (2e^x + 3e^{2x} - 4e^{-x}) dx = 2e^x + \frac{3}{2}e^{2x} + 4e^{-x} + C\)

Step 4: Verification

Take the derivative: \(\frac{d}{dx}(2e^x + \frac{3}{2}e^{2x} + 4e^{-x} + C) = 2e^x + \frac{3}{2} \cdot 2e^{2x} + 4(-e^{-x}) = 2e^x + 3e^{2x} - 4e^{-x}\) ✓

\(\int (2e^x + 3e^{2x} - 4e^{-x}) dx = 2e^x + \frac{3}{2}e^{2x} + 4e^{-x} + C\)
Final answer:

\(\int (2e^x + 3e^{2x} - 4e^{-x}) dx = 2e^x + \frac{3}{2}e^{2x} + 4e^{-x} + C\)

Applied rules:

• Exponential integral: \(\int e^{ax} dx = \frac{1}{a}e^{ax}\)

• Linearity: \(\int (af(x) + bg(x))dx = a\int f(x)dx + b\int g(x)dx\)

• Chain rule in reverse: Divide by the coefficient of the variable in the exponent

3 Logarithmic and rational functions
Exercise 3
Find \(\int \left(\frac{5}{x} + \frac{3}{2x+1} - \frac{2}{\sqrt{x}}\right) dx\) using basic integration formulas.
Definition:

Basic rational integrals: \(\int \frac{1}{x} dx = \ln|x| + C\), \(\int \frac{1}{ax+b} dx = \frac{1}{a}\ln|ax+b| + C\), \(\int x^{-1/2} dx = 2x^{1/2} + C\)

Original function
\(f(x) = \frac{5}{x} + \frac{3}{2x+1} - \frac{2}{\sqrt{x}}\)
Integrated
\(5\ln|x| + \frac{3}{2}\ln|2x+1| - 4\sqrt{x}\)
Result
\(5\ln|x| + \frac{3}{2}\ln|2x+1| - 4\sqrt{x} + C\)
Step 1: Apply linearity

\(\int \left(\frac{5}{x} + \frac{3}{2x+1} - \frac{2}{\sqrt{x}}\right) dx = 5\int \frac{1}{x} dx + 3\int \frac{1}{2x+1} dx - 2\int x^{-1/2} dx\)

Step 2: Apply basic integral formulas

\(5\int \frac{1}{x} dx = 5\ln|x|\)

\(3\int \frac{1}{2x+1} dx = 3 \cdot \frac{1}{2}\ln|2x+1| = \frac{3}{2}\ln|2x+1|\) (divide by coefficient of \(x\))

\(-2\int x^{-1/2} dx = -2 \cdot \frac{x^{1/2}}{1/2} = -2 \cdot 2x^{1/2} = -4\sqrt{x}\)

Step 3: Combine results and add constant

\(\int \left(\frac{5}{x} + \frac{3}{2x+1} - \frac{2}{\sqrt{x}}\right) dx = 5\ln|x| + \frac{3}{2}\ln|2x+1| - 4\sqrt{x} + C\)

Step 4: Verification

Take the derivative: \(\frac{d}{dx}(5\ln|x| + \frac{3}{2}\ln|2x+1| - 4\sqrt{x} + C) = \frac{5}{x} + \frac{3}{2} \cdot \frac{2}{2x+1} - 4 \cdot \frac{1}{2\sqrt{x}} = \frac{5}{x} + \frac{3}{2x+1} - \frac{2}{\sqrt{x}}\) ✓

\(\int \left(\frac{5}{x} + \frac{3}{2x+1} - \frac{2}{\sqrt{x}}\right) dx = 5\ln|x| + \frac{3}{2}\ln|2x+1| - 4\sqrt{x} + C\)
Final answer:

\(\int \left(\frac{5}{x} + \frac{3}{2x+1} - \frac{2}{\sqrt{x}}\right) dx = 5\ln|x| + \frac{3}{2}\ln|2x+1| - 4\sqrt{x} + C\)

Applied rules:

• Logarithmic integral: \(\int \frac{1}{x} dx = \ln|x|\)

• Rational integral: \(\int \frac{1}{ax+b} dx = \frac{1}{a}\ln|ax+b|\)

• Power rule: \(\int x^n dx = \frac{x^{n+1}}{n+1}\) (for \(n ≠ -1\))

Key Concepts: Common Function Integrals
\(\int f(x) dx\)
Indefinite Integral Notation
Power Rule
\(\int x^n dx = \frac{x^{n+1}}{n+1} + C\)
For \(n ≠ -1\)
Trigonometric
\(\int \sin x dx = -\cos x + C\)
\(\int \cos x dx = \sin x + C\)
Exponential
\(\int e^{ax} dx = \frac{1}{a}e^{ax} + C\)
For \(a ≠ 0\)
Logarithmic
\(\int \frac{1}{x} dx = \ln|x| + C\)
Special case
Inverse Trig
\(\int \frac{1}{\sqrt{1-x^2}} dx = \arcsin x + C\)
Advanced case
Hyperbolic
\(\int \sinh x dx = \cosh x + C\)
Hyperbolic case
Key definitions:

Indefinite Integral: The family of all antiderivatives of a function, represented as \(\int f(x)dx = F(x) + C\)

Antiderivative: A function \(F\) such that \(F'(x) = f(x)\) for all \(x\) in the domain of \(f\)

Constant of Integration: The arbitrary constant \(C\) representing all possible antiderivatives

Integration method for common functions:
  1. Identify the function type: Determine if it's polynomial, trigonometric, exponential, etc.
  2. Apply linearity: Separate sums and pull out constants
  3. Apply appropriate formula: Use the corresponding integration formula for each function type
  4. Combine results: Add all terms and include the constant of integration
Tip 1: Memorize the basic integrals - they form the foundation for more complex integration.
Tip 2: For \(\int \frac{1}{ax+b} dx\), divide by the coefficient of \(x\): \(\frac{1}{a}\ln|ax+b|\).
Tip 3: Always verify by differentiating your result.
Tip 4: Remember that \(\int \tan x dx = -\ln|\cos x| + C = \ln|\sec x| + C\).
Common applications: Solving differential equations, finding position from velocity, calculating areas and volumes, modeling growth and decay.
Visualization: Integration undoes differentiation, connecting rates of change with accumulated quantities.
Essential formulas to know:

• Power Rule: \(\int x^n dx = \frac{x^{n+1}}{n+1} + C\) (for \(n ≠ -1\))

• Exponential: \(\int e^{ax} dx = \frac{1}{a}e^{ax} + C\)

• Trigonometric: \(\int \sin x dx = -\cos x + C\), \(\int \cos x dx = \sin x + C\)

• Logarithmic: \(\int \frac{1}{x} dx = \ln|x| + C\)

• Rational: \(\int \frac{1}{ax+b} dx = \frac{1}{a}\ln|ax+b| + C\)

Visual Analysis: Common Function Families
Exercise 6: Integration Patterns
Explore common function integration patterns:
\(\int x^2 dx = \frac{x^3}{3}\)
\(\int \sin x dx = -\cos x\)
\(\int e^x dx = e^x\)
\(\int \frac{1}{x} dx = \ln|x|\)

Analysis: Demonstrating the integration of various function families.

  • \(\int x^2 dx = \frac{x^3}{3} + C\) (power function)
  • \(\int \sin x dx = -\cos x + C\) (trigonometric function)
  • \(\int e^x dx = e^x + C\) (exponential function)
  • \(\int \frac{1}{x} dx = \ln|x| + C\) (logarithmic function)
Solution: Exercises 4 to 5
4 Mixed function types
Exercise 4
Find \(\int \left(3x^2 + \frac{2}{x^2} + 4e^{3x} - \sin(2x)\right) dx\) using multiple integration formulas.
Definition:

Mixed function integration: Apply different integration formulas to each term based on its function type

Original function
\(f(x) = 3x^2 + 2x^{-2} + 4e^{3x} - \sin(2x)\)
Integrated
\(x^3 - 2x^{-1} + \frac{4}{3}e^{3x} + \frac{1}{2}\cos(2x)\)
Result
\(x^3 - \frac{2}{x} + \frac{4}{3}e^{3x} + \frac{1}{2}\cos(2x) + C\)
Step 1: Apply linearity

\(\int \left(3x^2 + \frac{2}{x^2} + 4e^{3x} - \sin(2x)\right) dx = 3\int x^2 dx + 2\int x^{-2} dx + 4\int e^{3x} dx - \int \sin(2x) dx\)

Step 2: Apply appropriate formulas to each term

\(3\int x^2 dx = 3 \cdot \frac{x^3}{3} = x^3\)

\(2\int x^{-2} dx = 2 \cdot \frac{x^{-1}}{-1} = -2x^{-1} = -\frac{2}{x}\)

\(4\int e^{3x} dx = 4 \cdot \frac{1}{3}e^{3x} = \frac{4}{3}e^{3x}\)

\(-\int \sin(2x) dx = -\left(-\frac{1}{2}\cos(2x)\right) = \frac{1}{2}\cos(2x)\)

Step 3: Combine results and add constant

\(\int \left(3x^2 + \frac{2}{x^2} + 4e^{3x} - \sin(2x)\right) dx = x^3 - \frac{2}{x} + \frac{4}{3}e^{3x} + \frac{1}{2}\cos(2x) + C\)

Step 4: Verification

Take the derivative: \(\frac{d}{dx}(x^3 - \frac{2}{x} + \frac{4}{3}e^{3x} + \frac{1}{2}\cos(2x) + C) = 3x^2 + 2x^{-2} + 4e^{3x} - \sin(2x)\) ✓

\(\int \left(3x^2 + \frac{2}{x^2} + 4e^{3x} - \sin(2x)\right) dx = x^3 - \frac{2}{x} + \frac{4}{3}e^{3x} + \frac{1}{2}\cos(2x) + C\)
Final answer:

\(\int \left(3x^2 + \frac{2}{x^2} + 4e^{3x} - \sin(2x)\right) dx = x^3 - \frac{2}{x} + \frac{4}{3}e^{3x} + \frac{1}{2}\cos(2x) + C\)

Applied rules:

• Power rule: \(\int x^n dx = \frac{x^{n+1}}{n+1}\)

• Exponential rule: \(\int e^{ax} dx = \frac{1}{a}e^{ax}\)

• Trigonometric rule: \(\int \sin(ax) dx = -\frac{1}{a}\cos(ax)\)

5 Advanced mixed functions
Exercise 5
Find \(\int \left(\frac{2x+1}{x^2+x+1} + \frac{3}{\sqrt{4-x^2}} - \frac{1}{x\ln x}\right) dx\) using advanced integration techniques.
Definition:

Advanced integration patterns: Recognize when the numerator is the derivative of the denominator, or when integrands match standard forms

Original function
\(\frac{2x+1}{x^2+x+1} + \frac{3}{\sqrt{4-x^2}} - \frac{1}{x\ln x}\)
Integrated
\(\ln|x^2+x+1| + 3\arcsin\left(\frac{x}{2}\right) - \ln|\ln x|\)
Result
\(\ln|x^2+x+1| + 3\arcsin\left(\frac{x}{2}\right) - \ln|\ln x| + C\)
Step 1: Analyze each term separately

Term 1: \(\frac{2x+1}{x^2+x+1}\) - Notice that the numerator is the derivative of the denominator: \(\frac{d}{dx}(x^2+x+1) = 2x+1\)

Term 2: \(\frac{3}{\sqrt{4-x^2}}\) - Recognize the form \(\frac{1}{\sqrt{a^2-x^2}}\) where \(a = 2\)

Term 3: \(\frac{1}{x\ln x}\) - Recognize the form \(\frac{f'(x)}{f(x)}\) where \(f(x) = \ln x\)

Step 2: Apply appropriate formulas

\(\int \frac{2x+1}{x^2+x+1} dx = \ln|x^2+x+1| + C_1\) (when numerator is derivative of denominator)

\(\int \frac{3}{\sqrt{4-x^2}} dx = 3\arcsin\left(\frac{x}{2}\right) + C_2\) (standard inverse trigonometric form)

\(\int \frac{1}{x\ln x} dx = \ln|\ln x| + C_3\) (when integrand is \(\frac{f'(x)}{f(x)}\))

Step 3: Combine results and add constant

\(\int \left(\frac{2x+1}{x^2+x+1} + \frac{3}{\sqrt{4-x^2}} - \frac{1}{x\ln x}\right) dx = \ln|x^2+x+1| + 3\arcsin\left(\frac{x}{2}\right) - \ln|\ln x| + C\)

Step 4: Verification

Take the derivative: \(\frac{d}{dx}[\ln|x^2+x+1| + 3\arcsin\left(\frac{x}{2}\right) - \ln|\ln x| + C] = \frac{2x+1}{x^2+x+1} + \frac{3}{\sqrt{4-x^2}} - \frac{1}{x\ln x}\) ✓

\(\int \left(\frac{2x+1}{x^2+x+1} + \frac{3}{\sqrt{4-x^2}} - \frac{1}{x\ln x}\right) dx = \ln|x^2+x+1| + 3\arcsin\left(\frac{x}{2}\right) - \ln|\ln x| + C\)
Final answer:

\(\int \left(\frac{2x+1}{x^2+x+1} + \frac{3}{\sqrt{4-x^2}} - \frac{1}{x\ln x}\right) dx = \ln|x^2+x+1| + 3\arcsin\left(\frac{x}{2}\right) - \ln|\ln x| + C\)

Applied rules:

• Logarithmic pattern: \(\int \frac{f'(x)}{f(x)} dx = \ln|f(x)|\)

• Inverse trigonometric: \(\int \frac{1}{\sqrt{a^2-x^2}} dx = \arcsin\left(\frac{x}{a}\right)\)

• Pattern recognition: Identify when numerator is derivative of denominator

Comprehensive Summary: Common Function Integrals
\(\int f(x) dx\)
Indefinite Integration
Key definitions:

Indefinite Integral: The collection of all antiderivatives of a function, denoted as \(\int f(x)dx = F(x) + C\)

Antiderivative: A function \(F\) such that \(F'(x) = f(x)\) for all \(x\) in the domain of \(f\)

Constant of Integration: The arbitrary constant \(C\) that accounts for all possible antiderivatives

Complete integration methodology:
  1. Identify function type: Determine if polynomial, trigonometric, exponential, rational, etc.
  2. Apply linearity: Separate sums and pull out constants
  3. Select appropriate formula: Match the function to the corresponding integration formula
  4. Apply formula: Use the specific integration rule for that function type
  5. Combine results: Add all terms and include the constant of integration
  6. Verify: Differentiate the result to check against the original function
Tip 1: Memorize the basic integrals as they form the building blocks for more complex integration.
Tip 2: For \(\int \frac{1}{ax+b} dx\), always divide by the coefficient of \(x\): \(\frac{1}{a}\ln|ax+b|\).
Tip 3: When you see \(\frac{f'(x)}{f(x)}\), the integral is \(\ln|f(x)|\).
Tip 4: Always check your work by differentiating the result.
Common applications: Solving differential equations, finding position from velocity, calculating areas and volumes, modeling growth and decay processes.
Visualization: Integration undoes differentiation, connecting instantaneous rates with accumulated quantities.
Essential formulas to know by heart:

• Power Rule: \(\int x^n dx = \frac{x^{n+1}}{n+1} + C\) (for \(n ≠ -1\))

• Exponential: \(\int e^{ax} dx = \frac{1}{a}e^{ax} + C\), \(\int a^x dx = \frac{a^x}{\ln a} + C\)

• Trigonometric: \(\int \sin x dx = -\cos x + C\), \(\int \cos x dx = \sin x + C\), \(\int \tan x dx = -\ln|\cos x| + C\)

• Logarithmic: \(\int \frac{1}{x} dx = \ln|x| + C\), \(\int \frac{1}{ax+b} dx = \frac{1}{a}\ln|ax+b| + C\)

• Inverse Trig: \(\int \frac{1}{\sqrt{1-x^2}} dx = \arcsin x + C\), \(\int \frac{1}{1+x^2} dx = \arctan x + C\)

• Hyperbolic: \(\int \sinh x dx = \cosh x + C\), \(\int \cosh x dx = \sinh x + C\)

Advanced Integration Techniques
Exercise 7: Pattern Recognition
Evaluate using advanced techniques:
\(\int \frac{\cos x}{\sin x} dx\)
\(\int \frac{1}{x\sqrt{x^2-1}} dx\)
\(\int xe^{x^2} dx\)

Analysis: Recognizing advanced integration patterns and techniques.

  • \(\int \frac{\cos x}{\sin x} dx = \int \cot x dx = \ln|\sin x| + C\) (pattern: \(\frac{f'(x)}{f(x)}\))
  • \(\int \frac{1}{x\sqrt{x^2-1}} dx = \operatorname{arcsec}|x| + C\) (inverse secant pattern)
  • \(\int xe^{x^2} dx = \frac{1}{2}e^{x^2} + C\) (substitution: \(u = x^2\))

Questions & Answers

Question: I'm confused about why \(\int \tan x dx = -\ln|\cos x| + C\). Can you explain the derivation?

Answer: Here's the derivation:

\(\int \tan x dx = \int \frac{\sin x}{\cos x} dx\)

Notice that the numerator \(\sin x\) is the derivative of the denominator \(\cos x\) up to a sign: \(\frac{d}{dx}(\cos x) = -\sin x\)

So we have: \(\int \frac{\sin x}{\cos x} dx = \int \frac{-(-\sin x)}{\cos x} dx = -\int \frac{-\sin x}{\cos x} dx\)

Using the pattern \(\int \frac{f'(x)}{f(x)} dx = \ln|f(x)|\):

\(\int \frac{\sin x}{\cos x} dx = -\ln|\cos x| + C\)

Alternative form: Since \(-\ln|\cos x| = \ln|\cos x|^{-1} = \ln|\sec x|\), we can write: \(\int \tan x dx = \ln|\sec x| + C\)

Question: When I have \(\int \frac{1}{ax+b} dx\), why do I divide by the coefficient of \(x\)?

Answer: This comes from the chain rule in reverse:

If we differentiate \(\ln|ax+b|\), we get: \(\frac{d}{dx}[\ln|ax+b|] = \frac{1}{ax+b} \cdot a = \frac{a}{ax+b}\)

So: \(\frac{d}{dx}\left[\frac{1}{a}\ln|ax+b|\right] = \frac{1}{a} \cdot \frac{a}{ax+b} = \frac{1}{ax+b}\)

Therefore: \(\int \frac{1}{ax+b} dx = \frac{1}{a}\ln|ax+b| + C\)

The division by \(a\) compensates for the factor of \(a\) that appears when we differentiate due to the chain rule.

Example: \(\int \frac{1}{2x+3} dx = \frac{1}{2}\ln|2x+3| + C\)

Question: How do I remember which trigonometric integrals are positive and which are negative?

Answer: Think of the derivatives in reverse:

Remember that integration is the reverse of differentiation:

  • \(\frac{d}{dx}[\sin x] = \cos x \Rightarrow \int \cos x dx = \sin x + C\)
  • \(\frac{d}{dx}[\cos x] = -\sin x \Rightarrow \int \sin x dx = -\cos x + C\)
  • \(\frac{d}{dx}[\tan x] = \sec^2 x \Rightarrow \int \sec^2 x dx = \tan x + C\)

The sign changes when the derivative had a negative sign.

Memory aid: "Sine goes to cosine, cosine goes to minus sine" - the sign flips when integrating cosine to get sine.

For tangent: \(\int \tan x dx = -\ln|\cos x| + C = \ln|\sec x| + C\)

Question: How are these basic integrals used in business applications?

Answer: Basic integrals are fundamental in business applications:

Marginal analysis: If marginal cost is \(MC(x) = ax + b\), then total cost is \(\int (ax + b)dx = \frac{ax^2}{2} + bx + C\).

Exponential growth: Continuous compound interest uses \(\int Ae^{rt}dt = \frac{A}{r}e^{rt} + C\).

Logarithmic models: Learning curves and production functions often involve \(\int \frac{k}{x}dx = k\ln|x| + C\).

Probability: Continuous probability distributions use various function integrals.

Consumer surplus: Calculating areas under demand curves using polynomial approximations.

These basic integrals form the foundation for more complex business and economic modeling.

Question: How do these integrals apply to physics problems?

Answer: These integrals are essential in physics:

Motion: Position from velocity: \(\int v(t)dt = s(t) + C\). Acceleration to velocity: \(\int a(t)dt = v(t) + C\).

Harmonic motion: Uses trigonometric integrals: \(\int \sin(\omega t)dt = -\frac{1}{\omega}\cos(\omega t) + C\).

Exponential decay: Radioactive decay: \(\int N_0e^{-\lambda t}dt = -\frac{N_0}{\lambda}e^{-\lambda t} + C\).

Work: Variable force: \(W = \int F(x)dx\), often involving polynomial or rational functions.

Electricity: Capacitor charging: \(\int e^{-t/RC}dt = -RCe^{-t/RC} + C\).

The basic integrals provide the tools to solve fundamental physics problems involving rates and accumulation.