Home · Lessons · Mathematics

Mathematics

Calculus

This lesson covers the concept of limits in calculus, including their definition, importance, worked examples, and common mistakes to avoid.

In this lesson
  1. Basic Definitions
  2. Formulas
  3. Examples
  4. SVG Diagrams
  5. Comparison
  6. Tips
  7. Exercises

Basic Definitions

Calculus

Calculus studies rates of change and accumulation.

Limits:The limit of the function\(f(x)\)when x approaches\(x\)from\(a\) is equal to \(L\)the values of\(f(x)\)from\(L\)as\(x\)from\(a\) from both sides, and it is written in the form \(\lim_{x \to a} f(x) = L\).

Reason: The limit is used to describe the behavior of a function near a particular point without needing to evaluate it directly there, and it forms the foundation for the definitions of continuity and derivative.

Example 1: Compute \(\lim_{x \to 2} (3x - 1)\).

Solution: Step by step:

  1. Substitute \(x = 2\) into the expression \(3x - 1\) because it is a linear function and continuous everywhere.
  2. We obtain \(3 \times 2 - 1 = 6 - 1 = 5\).
  3. Therefore, \(\lim_{x \to 2} (3x - 1) = 5\).

Example 2: Compute \(\lim_{x \to 0} \frac{\sin x}{x}\).

Solution: Step by step:

  1. This is a known limit that cannot be evaluated by direct substitution because it gives \(\frac{0}{0}\), which is indeterminate.
  2. Using the geometric argument or L'Hôpital's Rule (if permitted), we know that \(\lim_{x \to 0} \frac{\sin x}{x} = 1\).
  3. Therefore, \(\lim_{x \to 0} \frac{\sin x}{x} = 1\).

Common Mistakes List:

Test Tips:When computing limits, start with direct substitution; if you obtain an indeterminate form such as \(\frac{0}{0}\) or \(\frac{\infty}{\infty}\), try factoring, rationalizing, or using known limits.

Contact:The function \(f\) is continuous at the point \(a\) if the following three conditions are satisfied: first, \(f(a)\) is defined; second, the limit \(\lim_{x \to a} f(x)\) exists; third, the limit equals the function value at that point, i.e., \(\lim_{x \to a} f(x) = f(a)\).

Reason:Continuity ensures the absence of jumps, holes, or breaks in the graph of the function, and it is necessary for applying theorems such as the Intermediate Value Theorem and the Extreme Value Theorem.

Example 1:Prove that the function \(f(x) = x^2\) is continuous at \(x = 3\).

Solution: Step by step:

  1. Compute \(f(3) = 3^2 = 9\). Thus, the function is defined at \(x = 3\).
  2. Compute \(\lim_{x \to 3} x^2\). By direct substitution: \(3^2 = 9\). Hence, the limit exists and equals 9.
  3. Since \(\lim_{x \to 3} f(x) = 9 = f(3)\), all three conditions are satisfied, so \(f\) is continuous at \(x = 3\).

Example 2:Check the continuity of the function \(f(x) = \frac{1}{x}\) at \(x = 0\).

Solution: Step by step:

  1. Compute \(f(0)\): undefined because division by zero is undefined.
  2. Therefore, the first condition is not satisfied, so there is no need to check the rest.
  3. Hence \(f\) is discontinuous at \(x = 0\) due to the function being undefined there.

List of common mistakes:

Exam tips:To confirm continuity at a point, always check first whether the function value exists, then whether the limit exists, and finally whether they are equal; if any condition fails, the function is discontinuous at that point.

Derivative: The derivative of the function \(f\) at the point \(x\) is defined as the limit \(\lim_{h \to 0} \frac{f(x+h) - f(x)}{h}\), if this limit exists, and is denoted by \(f'(x)\) or \(\frac{df}{dx}\).

Reason: The derivative measures the instantaneous rate of change of the function at a point, represents the slope of the tangent line to the graph of the function at that point, and is fundamental in optimizing functions and computing velocities and accelerations.

Example 1: Compute the derivative of \(f(x) = x^2\) using the definition.

Solution: Step by step:

  1. Write the definition of the derivative: \(f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}\).
  2. Substitute \(f(x+h) = (x+h)^2\) and \(f(x) = x^2\):
  3. We obtain \(f'(x) = \lim_{h \to 0} \frac{(x+h)^2 - x^2}{h}\).
  4. Expand the numerator: \((x+h)^2 = x^2 + 2xh + h^2\), so the numerator becomes \(x^2 + 2xh + h^2 - x^2 = 2xh + h^2\).
  5. Hence \(f'(x) = \lim_{h \to 0} \frac{2xh + h^2}{h}\).
  6. Factor \(h\) in the numerator: \(\frac{h(2x + h)}{h} = 2x + h\) (for \(h \neq 0\)).
  7. Now take the limit: \(\lim_{h \to 0} (2x + h) = 2x + 0 = 2x\).
  8. Therefore \(f'(x) = 2x\).

Example 2: Compute the derivative of \(f(x) = 5\) (the constant function) using the definition.

Solution: Step by step:

  1. Write the definition: \(f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}\).
  2. Since \(f(x) = 5\) for all \(x\), we have \(f(x+h) = 5\) and \(f(x) = 5\).
  3. Thus the numerator: \(5 - 5 = 0\).
  4. We obtain \(f'(x) = \lim_{h \to 0} \frac{0}{h} = \lim_{h \to 0} 0 = 0\).
  5. Hence the derivative of the constant function is zero everywhere: \(f'(x) = 0\).

Common Mistakes List:

Test Tips: When using the definition of the derivative, write the full expression accurately, then simplify and compute the terms before taking the limit; remember that canceled terms (such as \(h\)) must be non-zero during simplification, but the limit is taken as \(h\) approaches zero.

Integration: The antiderivative of a function \(f(x)\) is a function \(F(x)\) such that \(F'(x) = f(x)\), and the indefinite integral is written as \(\int f(x) \, dx = F(x) + C\), where \(C\) is an arbitrary constant of integration.

Reason: The antiderivative is the reverse process of differentiation, used to compute areas under curves and solve differential equations, and the constant \(C\) represents the family of functions that share the same derivative.

Example 1: Compute \(\int 3x^2 \, dx\).

Solution: Step by step:

  1. We are looking for a function \(F(x)\) whose derivative equals \(3x^2\).
  2. We know that the derivative of \(x^3\) is \(3x^2\) because \(\frac{d}{dx} x^3 = 3x^2\).
  3. Thus, one function that satisfies the condition is \(F(x) = x^3\).
  4. Therefore, \(\int 3x^2 \, dx = x^3 + C\).

Example 2: Compute \(\int 7 \, dx\).

Solution: Step by step:

  1. We are looking for a function \(F(x)\) whose derivative equals \(7\).
  2. We know that the derivative of \(7x\) is \(7\) because \(\frac{d}{dx} (7x) = 7\).
  3. Thus, \(F(x) = 7x\).
  4. Therefore, \(\int 7 \, dx = 7x + C\).

List of common mistakes:

Test tips:When performing reverse integration, increase the exponent by 1 and divide by the new exponent, then add the constant of integration \(C\); remember that the antiderivative of the constant function \(k\) is \(kx + C\).


Formulas

In this section we review the basic rules of differentiation and integration, which are fundamental tools for solving differential and integral problems. Mastery of these rules and understanding of their justifications are essential for accurate application in the exam.

Differentiation Rules

Rule Formula
Power \(\frac{d}{dx}\left(x^{n}\right)=n\cdot x^{n-1}\)
Product \((f\cdot g)'=f'\cdot g+f\cdot g'\)
Quotient \(\left(\frac{f}{g}\right)'=\frac{f'\cdot g-f\cdot g'}{g^{2}}\)
Chain \((f\circ g)'=f'\bigl(g(x)\bigr)\cdot g'(x)\)

Justification of the power rule: It arises from the definition of the derivative as the limit of the ratio \(\frac{(x+h)^{n}-x^{n}}{h}\) as \(h\to0\). Using the binomial theorem, the first term that remains after division by \(h\) is \(n\cdot x^{n-1}\).

Justification of the product rule: We write \(\frac{f(x+h)g(x+h)-f(x)g(x)}{h}\) and add and subtract \(f(x)g(x+h)\) to obtain two terms that approach \(f'(x)g(x)\) and \(f(x)g'(x)\).

Explanation of the quotient rule: It is derived from the product rule after writing \(\frac{f}{g}=f\cdot g^{-1}\) and applying the power rule to \(g^{-1}\) such that \(\frac{d}{dx}(g^{-1})=-g^{-2}\cdot g'\).

Explanation of the chain rule: If \(y=f(u)\) and \(u=g(x)\), then \(\frac{dy}{dx}=\frac{dy}{du}\cdot\frac{du}{dx}\). Substituting \(u=g(x)\) yields the formula.

Worked examples step by step (differentiation)

  1. Compute the derivative of \(y=x^{4}\cdot\sin x\).

    Solution:

    • Step 1: Define \(f(x)=x^{4}\) and \(g(x)=\sin x\).
    • Step 2: Compute \(f'(x)=4x^{3}\) (by the power rule) and \(g'(x)=\cos x\).
    • Step 3: Apply the product rule: \(y'=f'\cdot g+f\cdot g'\).
    • Step 4: Substitute: \(y'=4x^{3}\cdot\sin x+x^{4}\cdot\cos x\).
    • Step 5: Factor out the common factor if desired: \(y'=x^{3}(4\sin x+x\cos x)\).
  2. Compute the derivative of \(y=\frac{\ln x}{x^{2}}\).

    Solution:

    • Step 1: Define \(f(x)=\ln x\) and \(g(x)=x^{2}\).
    • Step 2: Compute \(f'(x)=\frac{1}{x}\) and \(g'(x)=2x\).
    • Step 3: Apply the quotient rule: \(y'=\frac{f'\cdot g-f\cdot g'}{g^{2}}\).
    • Step 4: Substitute: \(y'=\frac{\frac{1}{x}\cdot x^{2}-\ln x\cdot 2x}{(x^{2})^{2}}\).
    • Step 5: Simplify the numerator: \(\frac{1}{x}\cdot x^{2}=x\), so the numerator \(=x-2x\ln x\).
    • Step 6: The denominator \(=x^{4}\).
    • Step 7: We obtain \(y'=\frac{x-2x\ln x}{x^{4}}=\frac{1-2\ln x}{x^{3}}\) after reducing \(x\).

List of 'Common Mistakes' with correction for each error (differentiation)

Test Tips (Differentiation)

Integration Rules

Rule Formula
Power \(\int x^{n}\,dx=\frac{x^{n+1}}{n+1}+C\) (for \(n\neq-1\))
Reciprocal \(\int \frac{1}{x}\,dx=\ln|x|+C\)
Exponential \(\int e^{x}\,dx=e^{x}+C\)
Sine \(\int \sin x\,dx=-\cos x+C\)

Justification of the power rule for integration: We seek a function \(F(x)\) such that \(F'(x)=x^{n}\). We assume \(F(x)=k\cdot x^{n+1}\), then differentiate: \(F'(x)=k\cdot (n+1)x^{n}\). To obtain \(x^{n}\), we set \(k\cdot (n+1)=1\), i.e., \(k=\frac{1}{n+1}\).

Justification of the integral of the reciprocal: The function whose derivative is \(\frac{1}{x}\) is \(\ln|x|\), because \(\frac{d}{dx}\ln|x|=\frac{1}{x}\) for every \(x\neq0\).

Justification of the integral of the exponential: The function \(e^{x}\) is the only one that equals its own derivative, so \(\int e^{x}dx=e^{x}+C\).

Justification of the integral of sine: Since \(\frac{d}{dx}(-\cos x)=\sin x\), the antiderivative gives \(-\cos x+C\).

Step-by-step solved examples (integration)

  1. Compute \(\int (3x^{2}-4x+5)\,dx\).

    Solution:

    • Step 1: Use the linearity of integration: \(\int (3x^{2}-4x+5)dx=3\int x^{2}dx-4\int xdx+5\int 1dx\).
    • Step 2: Apply the power rule to each term:
      • \(\int x^{2}dx=\frac{x^{3}}{3}+C_{1}\),
      • \(\int xdx=\frac{x^{2}}{2}+C_{2}\),
      • \(\int 1dx=x+C_{3}\).
    • Step 3: Multiply by the coefficients:
      • \(3\cdot\frac{x^{3}}{3}=x^{3}\),
      • \(-4\cdot\frac{x^{2}}{2}=-2x^{2}\),
      • \(5\cdot x=5x\).
    • Step 4: Combine the terms and add a single constant of integration \(C\):
    • \(\int (3x^{2}-4x+5)dx=x^{3}-2x^{2}+5x+C\).
  2. Compute \(\int \frac{2x}{x^{2}+1}\,dx\).

    Solution:

    • Step 1: Notice that the numerator of the integral \(2x\) is the derivative of the denominator \(x^{2}+1\) (since \(\frac{d}{dx}(x^{2}+1)=2x\)).
    • Step 2: Use the substitution \(u=x^{2}+1\), then \(du=2x\,dx\).
    • Step 3: The integral becomes \(\int \frac{du}{u}\).
    • Step 4: Integrating \(\frac{1}{u}\) gives \(\ln|u|+C\).
    • Step 5: Substitute back \(u=x^{2}+1\) (which is always positive), yielding \(\ln(x^{2}+1)+C\).

List of 'Common Mistakes' with correction for each error (integration)

Test Tips (Integration)


Examples

Example 1

For the function \(f(x)=3x^{4}-2x^{3}+5x-7\), the first derivative is \(f'(x)=12x^{3}-6x^{2}+5\).


Example 2

For the function \(h(x)=(2x^{2}+1)^{5}\), the first derivative is \(h'(x)=20x(2x^{2}+1)^{4}\).


Example 3

The indefinite integral \(\int (6x^{2}-4x+3)\,dx = 2x^{3}-2x^{2}+3x+C\).


Example 4

The definite integral \(\int_{0}^{2}(x^{2}+1)\,dx = \frac{14}{3}\).


Example 5

The limit \(\lim_{x\to 2}\frac{x^{2}-4}{x-2}=4\).


Explanation and Details

In this section, we explain the rules of differentiation, integration, and limits with justification for each step, provide step-by-step solved examples, mention common mistakes and how to avoid them, and offer test-taking tips.

Chain Rule for Composite Functions

If \(y=f(g(x))\) then the derivative \(\frac{dy}{dx}=f'(g(x))\cdot g'(x)\). This means we differentiate the outer function first, then multiply by the derivative of the inner function.

Solved Example 1: Find the derivative of \(h(x)=(2x^{2}+1)^{5}\).

  1. We identify the outer function \(f(u)=u^{5}\) and the inner function \(g(x)=2x^{2}+1\).
  2. Differentiate the outer: \(f'(u)=5u^{4}\).
  3. Differentiate the inner: \(g'(x)=4x\).
  4. Apply the chain rule: \(h'(x)=5(2x^{2}+1)^{4}\cdot 4x=20x(2x^{2}+1)^{4}\).

Solved Example 2: Find the derivative of \(k(x)=\sqrt{3x-1}\).

  1. We write \(k(x)=(3x-1)^{1/2}\), outer \(f(u)=u^{1/2}\), inner \(g(x)=3x-1\).
  2. Differentiate the outer: \(f'(u)=\frac{1}{2}u^{-1/2}\).
  3. We differentiate the inside: \(g'(x)=3\).
  4. We apply the chain rule: \(k'(x)=\frac{1}{2}(3x-1)^{-1/2}\cdot 3=\frac{3}{2\sqrt{3x-1}}\).

Sum and difference rule for differentiation

If \(f(x)=g(x)\pm h(x)\), then \(f'(x)=g'(x)\pm h'(x)\). This means we differentiate each term separately and then add or subtract the results.

Solved Example 1: Compute the derivative of \(f(x)=3x^{4}-2x^{3}+5x-7\).

  1. Differentiate each term: \(\frac{d}{dx}(3x^{4})=12x^{3}\), \(\frac{d}{dx}(-2x^{3})=-6x^{2}\), \(\frac{d}{dx}(5x)=5\), \(\frac{d}{dx}(-7)=0\).
  2. We sum the results: \(f'(x)=12x^{3}-6x^{2}+5\).

Solved Example 2: Compute the derivative of \(m(x)=x^{5}+4x^{2}-9\).

  1. Differentiate: \(\frac{d}{dx}(x^{5})=5x^{4}\), \(\frac{d}{dx}(4x^{2})=8x\), \(\frac{d}{dx}(-9)=0\).
  2. We add: \(m'(x)=5x^{4}+8x\).

Rule for indefinite integration of polynomial functions

For any constant \(n\neq -1\), \(\int x^{n}\,dx=\frac{x^{n+1}}{n+1}+C\). We apply this to each term in the polynomial function and then add the constant of integration \(C\).

Solved Example 1: Compute \(\int (6x^{2}-4x+3)\,dx\).

  1. We split the integral: \(\int 6x^{2}\,dx-\int 4x\,dx+\int 3\,dx\).
  2. We compute each integral: \(\int 6x^{2}\,dx=6\cdot\frac{x^{3}}{3}=2x^{3}\), \(\int 4x\,dx=4\cdot\frac{x^{2}}{2}=2x^{2}\), \(\int 3\,dx=3x\).
  3. We combine with the subtraction sign: \(2x^{3}-2x^{2}+3x+C\).

Solved Example 2: Compute \(\int (2x^{3}+5x-1)\,dx\).

  1. We split: \(\int 2x^{3}\,dx+\int 5x\,dx-\int 1\,dx\).
  2. We compute: \(\int 2x^{3}\,dx=2\cdot\frac{x^{4}}{4}=\frac{x^{4}}{2}\), \(\int 5x\,dx=5\cdot\frac{x^{2}}{2}=\frac{5x^{2}}{2}\), \(\int 1\,dx=x\).
  3. We combine: \(\frac{x^{4}}{2}+\frac{5x^{2}}{2}-x+C\).

Rule for definite integration of polynomial functions

To compute \(\int_{a}^{b}f(x)\,dx\), we first find the indefinite integral \(F(x)\), then compute \(F(b)-F(a)\). This relies on the Fundamental Theorem of Calculus.

Solved Example 1: Compute \(\int_{0}^{2}(x^{2}+1)\,dx\).

  1. We find the indefinite integral: \(\int (x^{2}+1)\,dx=\frac{x^{3}}{3}+x\).
  2. Evaluate at the upper limit: \(F(2)=\frac{2^{3}}{3}+2=\frac{8}{3}+2=\frac{8}{3}+\frac{6}{3}=\frac{14}{3}\).
  3. Evaluate at the lower limit: \(F(0)=\frac{0^{3}}{3}+0=0\).
  4. Subtract: \(\int_{0}^{2}(x^{2}+1)\,dx=F(2)-F(0)=\frac{14}{3}-0=\frac{14}{3}\).

Solved Example 2: Compute \(\int_{1}^{3}(2x-1)\,dx\).

  1. We find the indefinite integral: \(\int (2x-1)\,dx=x^{2}-x\).
  2. Evaluate at \(x=3\): \(F(3)=3^{2}-3=9-3=6\).
  3. We compute at \(x=1\): \(F(1)=1^{2}-1=1-1=0\).
  4. Subtracting: \(\int_{1}^{3}(2x-1)\,dx=6-0=6\).

Limit rule for rational functions when undefined

If direct substitution in \(\lim_{x\to a}\frac{f(x)}{g(x)}\) yields the form \(\frac{0}{0}\), we factor the numerator and denominator and cancel the common factor, then substitute again.

Worked Example 1:Compute \(\lim_{x\to 2}\frac{x^{2}-4}{x-2}\).

  1. Direct substitution gives: \(\frac{2^{2}-4}{2-2}=\frac{0}{0}\), an indeterminate form.
  2. Factor the numerator: \(x^{2}-4=(x-2)(x+2)\).
  3. Write the limit: \(\lim_{x\to 2}\frac{(x-2)(x+2)}{x-2}\).
  4. Cancel the common factor \((x-2)\) (since \(x\neq 2\) in the limit process): \(\lim_{x\to 2}(x+2)\).
  5. Now substitute: \(2+2=4\).

Worked Example 2:Compute \(\lim_{x\to 3}\frac{x^{2}-9}{x-3}\).

  1. Substitute directly: \(\frac{3^{2}-9}{3-3}=\frac{0}{0}\).
  2. Factor the numerator: \(x^{2}-9=(x-3)(x+3)\).
  3. Write: \(\lim_{x\to 3}\frac{(x-3)(x+3)}{x-3}\).
  4. Cancel \((x-3)\): \(\lim_{x\to 3}(x+3)\).
  5. Substitute: \(3+3=6\).

Common Mistakes and Corrections

Test Tips

SVG Diagrams

In this section we study two concepts and discuss the relationship between the tangent to a curve and the derivative, as well as the relationship between the definite integral and the area under the curve, with explanations of the basic rules, the underlying reasons, step-by-step solved examples, a list of common mistakes with corrections, and test-taking tips.

The relationship between the tangent and the derivative

The tangent to the curve of the function \(f(x)\) at the point \(x = a\) is the line that touches the curve at that point and has a slope equal to the value of the first derivative of the function at that point, namely \(f'(a)\). This follows from the definition of the derivative as the limit of the ratio of change: \(f'(a) = \lim_{h \to 0} \frac{f(a+h) - f(a)}{h}\), which represents the slope of the secant between two nearby points on the curve, and as the two points approach each other, the secant becomes the tangent.

Example 1: Finding the equation of the tangent to the function \(f(x) = x^2\) at \(x = 2\).

  1. We compute the derivative: \(f'(x) = 2x\).
  2. We evaluate the derivative at \(x = 2\): \(f'(2) = 2 \times 2 = 4\).
  3. We evaluate the function at \(x = 2\): \(f(2) = 2^2 = 4\).
  4. We use the point-slope form: \(y - f(2) = f'(2)(x - 2)\), that is \(y - 4 = 4(x - 2)\).
  5. Simplifying: \(y - 4 = 4x - 8\) → \(y = 4x - 4\).
  6. Solution: The equation of the tangent is \(y = 4x - 4\).

Example 2: Finding the equation of the tangent to the function \(f(x) = \sin x\) at \(x = \frac{\pi}{2}\).

  1. We compute the derivative: \(f'(x) = \cos x\).
  2. We compute the value of the derivative at \(x = \frac{\pi}{2}\): \(f'(\frac{\pi}{2}) = \cos(\frac{\pi}{2}) = 0\).
  3. We compute the value of the function at \(x = \frac{\pi}{2}\): \(f(\frac{\pi}{2}) = \sin(\frac{\pi}{2}) = 1\).
  4. We use the point-slope equation: \(y - 1 = 0 \cdot (x - \frac{\pi}{2})\), that is \(y - 1 = 0\).
  5. Simplifying: \(y = 1\).
  6. Solution: The equation of the tangent is \(y = 1\) (a horizontal line).

The relationship between the definite integral and the area under the curve

The definite integral \(\int_a^b f(x) \, dx\) represents the signed area between the curve \(y = f(x)\) and the \(x\)-axis from \(x = a\) to \(x = b\). If \(f(x) \geq 0\) on \([a, b]\), then the integral gives the actual area under the curve. This follows from the definition of the integral as the limit of a sum of areas of approximating rectangles (a Riemann sum), where the interval \([a, b]\) is divided into \(n\) equal subintervals, and the area of each strip is approximated by a rectangle of height \(f(x_i^*)\) and width \(\Delta x = \frac{b-a}{n}\), and in the limit \(n \to \infty\) the sum becomes equal to the exact area.

Example 1: Compute the area under the curve \(f(x) = x\) from \(x = 0\) to \(x = 3\).

  1. We write the definite integral: \(\int_0^3 x \, dx\).
  2. We find the indefinite integral: \(\int x \, dx = \frac{x^2}{2} + C\).
  3. We apply the integration limits: \(\left[ \frac{x^2}{2} \right]_0^3 = \frac{3^2}{2} - \frac{0^2}{2} = \frac{9}{2} - 0 = \frac{9}{2}\).
  4. Solution: The area is \(\frac{9}{2}\) square units.

Example 2: Calculate the area under the curve \(f(x) = 2x + 1\) from \(x = 1\) to \(x = 4\).

  1. We write the definite integral: \(\int_1^4 (2x + 1) \, dx\).
  2. We find the indefinite integral: \(\int (2x + 1) \, dx = x^2 + x + C\).
  3. We apply the integration limits: \(\left[ x^2 + x \right]_1^4 = (4^2 + 4) - (1^2 + 1) = (16 + 4) - (1 + 1) = 20 - 2 = 18\).
  4. Solution: The area is \(18\) square units.

Common Errors and Corrections

Test Tips

Comparison

Differentiation vs Integration

PropertyDifferentiationIntegration
MeaningRate of changeAccumulation
Force\(\frac{d}{dx}(x^n)=n\cdot x^{n-1}\)\(\int x^n\,dx=\frac{x^{n+1}}{n+1}+C\)

Definite integral vs Indefinite integral

PropertyDefiniteIndefinite
Limits\(a,b\)No
ResultNumberFunction+\(C\)

The difference between differentiation and integration is fundamental in mathematical analysis: differentiation gives us the instantaneous rate of change of a function at a point, while integration gives us the total accumulation of a quantity over an interval. This relationship is largely inverse according to the Fundamental Theorem of Calculus, which states that the definite integral of a function can be computed using any of its antiderivatives, and the difference in the values of the antiderivative at the limits of integration gives the value of the definite integral.

The power rule for differentiation \(x^n\) is derived from the limit definition of the derivative: \(\lim_{h\to0}\frac{(x+h)^n-x^n}{h}=n x^{n-1}\). This limit is computed using the binomial theorem to expand \((x+h)^n\), then simplifying the expression and taking the limit as \(h\) approaches zero. The power rule for integration is the reverse of differentiation: we increase the exponent by one and then divide by the new exponent, adding the constant of integration \(C\) to account for all functions that share the same derivative, since the derivative of a constant is zero.

In the definite integral \(\int_a^b f(x)\,dx\), we obtain a number representing the area under the curve between \(x=a\) and \(x=b\), whereas in the indefinite integral \(\int f(x)\,dx\), we obtain a family of functions differing by a constant \(C\). The area under the curve is computed as the limit of a sum of areas of rectangles approximating the region under the curve, and when taking the limit as the number of rectangles approaches infinity, we obtain the exact value of the area, which equals the difference between the values of the primitive function of the function at the upper and lower limits.

Worked Examples Step by Step

  1. Compute \(\frac{d}{dx}(x^5)\).
    Solution: Using the power rule for differentiation: \(\frac{d}{dx}(x^5)=5\cdot x^{5-1}=5x^4\).
  2. Compute \(\int x^3\,dx\).
    Solution: Using the power rule for integration: \(\int x^3\,dx=\frac{x^{3+1}}{3+1}+C=\frac{x^4}{4}+C\).
  3. Compute \(\int_0^2 x^2\,dx\).
    Solution: First, we find the indefinite integral: \(\int x^2\,dx=\frac{x^{2+1}}{2+1}+C=\frac{x^3}{3}+C\). Then we apply the limits of the definite integral: \(\left[\frac{x^3}{3}\right]_0^2=\frac{2^3}{3}-\frac{0^3}{3}=\frac{8}{3}-0=\frac{8}{3}\).
  4. Compute \(\frac{d}{dx}\left(3x^4-2x^2+7\right)\).
    Solution: We apply the power rule for differentiation to each term separately: \(\frac{d}{dx}(3x^4)=3\cdot4x^{4-1}=12x^3\), \(\frac{d}{dx}(-2x^2)=-2\cdot2x^{2-1}=-4x\), \(\frac{d}{dx}(7)=0\). Thus \(\frac{d}{dx}\left(3x^4-2x^2+7\right)=12x^3-4x\).

Common Mistakes

Test Tips

Tips

In this section, we review the most important differentiation and integration rules that must be mastered for the CSCA exam, explaining the reasoning behind each rule, providing step-by-step solved examples, highlighting common mistakes and how to avoid them, and offering practical test-taking tips.

Basic Differentiation Rules

Differentiation is the process of finding the rate of change of a function at a specific point, and it relies on the limit definition: \(f'(x) = \lim_{h \to 0} \frac{f(x+h)-f(x)}{h}\). From this definition, we derive the basic rules that simplify the process, and they must be memorized because they are used frequently in integration and applications.

Basic integration rules

Integration is the reverse process of differentiation, and we seek the original function \(F(x)\) such that \(F'(x) = f(x)\). Since the derivative of a constant is zero, the indefinite integral adds an arbitrary constant \(C\) to cover all possible solutions.

Fundamental Theorem of Calculus

The fundamental theorem of calculus connects the definite integral with differentiation, allowing the area under a curve to be computed using the antiderivative. If \(F\)an antiderivative of\(f\)on\([a,b]\) (that is\(F'(x) = f(x)\)) then \(\int_a^b f(x) \, dx = F(b) - F(a)\)The reason: The definite integral is defined as the limit of Riemann sums, and the proof of the theorem shows that this limit equals the difference in the values of the antiderivative at the endpoints. It is important to subtract \(F(a)\)from\(F(b)\)and not the other way around, because the definite integral gives a negative value if \(a > b\), and the direction convention from \(a\)to\(b\)This order is required.

Step-by-step worked examples

  1. Compute the derivative of \(f(x) = (3x^2 + 2x)^4\).

    Solution:

    1. We identify the outer and inner functions: let \(u = 3x^2 + 2x\) (inner), so \(f = u^4\) (outer).
    2. We compute the outer derivative with respect to \(u\): \(\frac{df}{du} = 4u^3\).
    3. We compute the inner derivative with respect to \(x\): \(\frac{du}{dx} = 6x + 2\).
    4. We apply the chain rule: \(f'(x) = \frac{df}{du} \cdot \frac{du}{dx} = 4u^3 \cdot (6x + 2)\).
    5. Substitute \(u = 3x^2 + 2x\): \(f'(x) = 4(3x^2 + 2x)^3 \cdot (6x + 2)\).
    6. The expression can be simplified by factoring out the common factor 2: \(f'(x) = 8(3x^2 + 2x)^3 \cdot (3x + 1)\).
  2. Compute the indefinite integral \(\int \frac{2x}{x^2 + 1} \, dx\).

    Solution:

    1. We notice that the numerator \(2x\) is the derivative of the denominator \(x^2 + 1\), so we use substitution.
    2. Let \(u = x^2 + 1\), then \(du = 2x \, dx\).
    3. Substitute into the integral: \(\int \frac{2x}{x^2 + 1} \, dx = \int \frac{1}{u} \, du\).
    4. Compute the integral: \(\int \frac{1}{u} \, du = \ln|u| + C\).
    5. Substitute back \(u = x^2 + 1\): \(\int \frac{2x}{x^2 + 1} \, dx = \ln|x^2 + 1| + C\).
    6. Since \(x^2 + 1 > 0\) for all \(x\) real, we can remove the absolute value: \(\ln(x^2 + 1) + C\).
  3. Compute the derivative of \(f(x) = x^3 \sin(x^2)\).

    Solution:

    1. We identify the function as a product: \(u(x) = x^3\) and \(v(x) = \sin(x^2)\), so we apply the product rule: \(f'(x) = u'(x)v(x) + u(x)v'(x)\).
    2. We compute \(u'(x) = 3x^2\).
    3. To compute \(v'(x)\), we use the chain rule: \(v(x) = \sin(w)\) where \(w = x^2\), so \(v'(x) = \cos(w) \cdot w' = \cos(x^2) \cdot 2x\).
    4. Substituting into the product rule: \(f'(x) = (3x^2) \cdot \sin(x^2) + x^3 \cdot (2x \cos(x^2))\).
    5. Simplifying the second term: \(x^3 \cdot 2x \cos(x^2) = 2x^4 \cos(x^2)\).
    6. We obtain the final result: \(f'(x) = 3x^2 \sin(x^2) + 2x^4 \cos(x^2)\).
  4. Compute the indefinite integral \(\int (4x^3 - 2x + 5) \, dx\).

    Solution:

    1. We use the linearity of integration: \(\int (4x^3 - 2x + 5) \, dx = \int 4x^3 \, dx - \int 2x \, dx + \int 5 \, dx\).
    2. We compute each term separately using the power rule:
    3. \(\int 4x^3 \, dx = 4 \cdot \frac{x^{4}}{4} = x^4\).
    4. \(\int 2x \, dx = 2 \cdot \frac{x^{2}}{2} = x^2\).
    5. \(\int 5 \, dx = 5x\).
    6. We sum the results and add the constant of integration: \(x^4 - x^2 + 5x + C\).

Common Errors and Corrections

Error Correction
Forgetting the chain rule when differentiating composite functions Always multiply the derivative of the outer function by the derivative of the inner function: if \(f(x) = g(h(x))\), then \(f'(x) = g'(h(x)) \cdot h'(x)\).
Forgetting to add the constant of integration \(C\) in indefinite integration Always write \(+ C\) after computing an indefinite integral, because the derivative of a constant is zero, so there are infinitely many antiderivatives.
Error in subtraction order in the Fundamental Theorem: writing \(F(a) - F(b)\) instead of \(F(b) - F(a)\) The definite integral \(\int_a^b f(x) \, dx = F(b) - F(a)\), where \(a\) is the lower limit and \(b\) is the upper limit. Reversing the order gives the opposite sign.
Use ⟦294⟧⟦295⟧ x⟦296⟧ instead of ⟦297⟧⟦298⟧|x|⟦299⟧ in the integral ⟦300⟧⟦301⟧{1}{x}⟦302⟧\(\ln x\)Instead of\(\ln|x|\)In the integral\(\frac{1}{x}\) The correct integral is \(\int \frac{1}{x} \, dx = \ln|x| + C\) to ensure definition on both negative and positive intervals, because \(\ln x\) is undefined for \(x \leq 0\).
Applying the power rule to \(\int x^{-1} \, dx\) as \(\frac{x^{0}}{0} + C\) The power \(n = -1\) is exceptional; the correct integral is \(\int x^{-1} \, dx = \ln|x| + C\), not applying the power formula which leads to division by zero.
Error in applying the product rule: forgetting one term or writing subtraction instead of addition The product rule is \(f'(x) = g'(x)h(x) + g(x)h'(x)\), not subtraction nor omission of any term. Both terms must be computed and added.
Error in substitution: forgetting to change the differential or incorrectly substituting \(dx\) When substituting \(u = g(x)\), compute \(du = g'(x) dx\) and substitute both \(g(x)\) with \(u\) and \(g'(x) dx\) with \(du\) simultaneously.

Test tips


Exercises

Exercise 1

The function \( f(x) = x^5 - 3x^2 + 7x - 2 \) is a fifth-degree polynomial function. To compute its derivative \( f'(x) \), we apply the differentiation rule to each term separately, keeping in mind that the derivative of a constant is zero, and the derivative of \( x^n \) is \( n x^{n-1} \).

Solution: Step by step

  1. Differentiate the term \( x^5 \): \( \frac{d}{dx}(x^5) = 5x^4 \)
  2. Differentiate the term \( -3x^2 \): \( \frac{d}{dx}(-3x^2) = -3 \cdot 2x = -6x \)
  3. Differentiate the term \( 7x \): \( \frac{d}{dx}(7x) = 7 \)
  4. Differentiate the constant term \( -2 \): \( \frac{d}{dx}(-2) = 0 \)
  5. Summing the results: \( f'(x) = 5x^4 - 6x + 7 \)

Explanation: Each term is differentiated independently due to the linearity of the derivative, meaning the derivative of a sum equals the sum of the derivatives.

Common mistakes:

Test Tips: Make sure to apply the power rule accurately to each term, and do not forget that constants disappear upon differentiation. Check the signs of positive and negative after each step.


Exercise 2

The function \( f(x) = \sin(3x^2 + 1) \) is a composite function: a sine function applied to the inner function \( u = 3x^2 + 1 \). To compute its derivative, we use the chain rule: \( \frac{d}{dx}[\sin(u)] = \cos(u) \cdot \frac{du}{dx} \).

Solution: Step by Step

  1. Let \( u = 3x^2 + 1 \), so \( f(x) = \sin(⟧u) \)
  2. Compute the derivative of the outer function with respect to \( u \): \( \frac{d}{du}[\sin(u)] = \cos(u) \)
  3. Compute the derivative of the inner function with respect to \( x \): \( \frac{du}{dx} = \frac{d}{dx}(3x^2 + 1) = 6x \)
  4. Apply the chain rule: \( f'(x) = \cos(u) \cdot \frac{du}{dx} = \cos(3x^2 + 1) \cdot 6x \)
  5. Write the result in simplified form: \( f'(x) = 6x \cos(3x^2 + 1) \)

Explanation: The chain rule is essential when the function is composite, meaning the variable \( x \) appears inside another function. Here, \( 3x^2 + 1 \) is the inner function, and its sine is the outer function.

Common Mistakes:

Exam Tips:When seeing a function like \( \sin(\text{something}) \) or \( \cos(\text{something}) \) or \( e^{\text{something}} \), always ask: What is the "something"? Then differentiate the "something" and multiply it by the derivative of the outer function. Do not forget that the derivative of \( \sin(u) \) is \( \cos(u) \cdot u' \), not \( \cos(u') \).


Exercise 3

The indefinite integral \( \int (4x^3 - 2x + 5) \, dx \) requires applying the reverse power rule to each term separately, remembering that \( \int x^n \, dx = \frac{x^{n+1}}{n+1} + C \) for \( n \neq -1 \), and that the constant of integration \( C \) is added at the end.

Solution: Step by step

  1. We split the integral into separate terms by linearity of integration: \( \int (4x^3 - 2x + 5) \, dx = \int 4x^3 \, dx - \int 2x \, dx + \int 5 \, dx \)
  2. We compute \( \int 4x^3 \, dx = 4 \cdot \frac{x^{4}}{4} = x^4 \)
  3. We compute \( \int 2x \, dx = 2 \cdot \frac{x^{2}}{2} = x^2 \)
  4. We compute \( \int 5 \, dx = 5x \)
  5. We sum the results and add the constant of integration: \( x^4 - x^2 + 5x + C \)

Explanation: Integration is the reverse process of differentiation, and its linearity allows us to treat each term independently. The constant \( C \) is necessary because the derivative of any constant is zero, so all functions differing only by a constant have the same derivative.

Common mistakes:

Test tips:After integration, you can verify your answer by differentiating the result: if you obtain the original function, then your integration is correct. Do not forget that \( \int k \, dx = kx + C \) for any constant \( k \).


Exercise 4

The definite integral \( \int_1^3 (2x + 1) \, dx \) is computed by finding the antiderivative of the function \( 2x + 1 \), then applying it to the limits of integration using the Fundamental Theorem of Calculus: \( \int_a^b f(x) \, dx = F(b) - F(a) \), where \( F(x) \) is any antiderivative of \( f(x) \).

Solution: Step by step

  1. We find the antiderivative of \( 2x + 1 \): \( \int (2x + 1) \, dx = x^2 + x + C \), so we take \( F(x) = x^2 + x \) (ignoring \( C \) as it will cancel out).
  2. We compute \( F(3) = 3^2 + 3 = 9 + 3 = 12 \)
  3. We compute \( F(1) = 1^2 + 1 = 1 + 1 = 2 \)
  4. Subtracting: \( \int_1^3 (2x + 1) \, dx = F(3) - F(1) = 12 - 2 = 10 \)

Explanation: The Fundamental Theorem of Calculus connects integration and differentiation, allowing the area under a curve to be computed by evaluating the antiderivative at the bounds. The constant \( C \) cancels out in the subtraction, so we do not need to compute it explicitly.

Common mistakes:

Test tips: Compute the antiderivative accurately first, then substitute the limits carefully, and always subtract \( F(\text{upper}) - F(\text{lower}) \). You can verify that the result should be positive if the function is positive on the interval [1,3], which is the case here since \( 2x+1 > 0 \) for all \( x \geq 1 \).


Exercise 5

The function \( f(x) = x^3 \ln x \) is the product of two functions: \( u(x) = x^3 \) and \( v(x) = \ln x \). To find its derivative, we use the product rule: \( (uv)' = u'v + uv' \).

Solution: Step by step

  1. We set \( u = x^3 \), \( v = \ln x \)
  2. We compute the derivative of \( u \): \( u' = \frac{d}{dx}(x^3) = 3x^2 \)
  3. We compute the derivative of \( v \): \( v' = \frac{d}{dx}(\ln x) = \frac{1}{x} \)
  4. We apply the product rule: \( f'(x) = u'v + uv' = (3x^2)(\ln x) + (x^3)\left(\frac{1}{x}\right) \)
  5. We simplify the second term: \( x^3 \cdot \frac{1}{x} = x^{3-1} = x^2 \)
  6. We collect the terms: \( f'(x) = 3x^2 \ln x + x^2 \)
  7. We factor out the common factor \( x^2 \): \( f'(x) = x^2 (3 \ln x + 1) \)

Explanation: The product rule is necessary when the function is a product of two functions that cannot be easily simplified before differentiation. Here, we cannot combine \( x^3 \) and \( \ln x \) into a single term, so we apply the rule directly.

Common mistakes:

Test tips:When you see a function in the form \( x^n \ln x \), you should expect to use the product rule, and the derivative of \( \ln x \) is \( \frac{1}{x} \). After differentiating, look for a common factor to simplify the result, as we did here by factoring out \( x^2 \). Verify that the result matches the given form: \( x^2(3\ln x + 1) \).

Practise this lesson

Free · three languages · works offline

CSCA Academy — Independent CSCA exam preparation. الدروس · CSCA