“You are a just a fucking manipulator.” “I see,” I paused, looked down at her, and then I smiled. “I like to think of myself more as a creative mind and an outcome engineer,” Apocalypse, Anawim, #justtothepoint.
The derivative of a function at a chosen input value, when it exists, is the slope of the tangent line to the graph of the function at that point. It is the instantaneous rate of change —the exact ratio of the instantaneous change in the dependent variable ($y$) to that of the independent variable ($x$).
Definition. A function $f(x)$ is differentiable at a point $a$ of its domain if its domain contains an open interval containing $a$, and the following limit exists: $\boxed{f'(a) = L = \lim_{h \to 0} \frac{f(a+h) - f(a)}{h}}$
Formal Definition: More rigorously, for every positive real number $\epsilon > 0$, there exists a positive real number $\delta > 0$, such that for every $h$ satisfying $0 < |h| < \delta$, the difference between the secant slopes at points sufficiently near a are guaranteed to be ε-close to the derivative: $\left| L - \frac{f(a+h) - f(a)}{h} \right| < \epsilon$
To avoid calculating limits from scratch every time, we use established differentiation rules. Let $f(x)$ and $g(x)$ be differentiable functions, and $n$ be a real number:
Common Transcendental Derivatives:
Antiderivatives are a fundamental concept in calculus, essentially acting as the inverse operation to taking a derivative.
Given a function $f(x)$, an antiderivative (also known as an indefinite integral), $F$, is a function that can be differentiated to obtain the original function. Symbolically, this means $F'(x) = f(x)$.
For example, $F(x) = x^3 - x + 7$ is an antiderivative of $f(x) = 3x^2 - 1$ because $\frac{d}{dx} (x^3 - x + 7) = 3x^2 - 1$
The process of finding antiderivatives is called integration. We express this symbolically using the integral sign: $\boxed{F(x) = \int f(x) \, dx}$
Because the derivative of any constant is zero, there are infinitely many antiderivatives for a given function, all differing only by a constant. For example, $x^3 - x + 7$ and $x^3 - x - 42$ are both antiderivatives of $3x^2 - 1$. Therefore, we always include $+ C$ (the constant of integration) to represent the entire family of possible antiderivatives.
These are the foundational formulas that map directly back to standard derivative rules.
Power Rule: $\int x^n \, dx = \frac{x^{n+1}}{n+1} + C$ (for $n \neq -1$)
Logarithmic Rule: $\int \frac{1}{x} \, dx = \ln\vert{}x\vert{} + C$
Proof for $x < 0$: $\frac{d}{dx} \ln(-x) = \frac{1}{-x}(-1) = \frac{1}{x}$.
Exponential Rules:
$\int e^x \, dx = e^x + C$
$\int e^{ax} \, dx = \frac{1}{a}e^{ax} + C$
Trigonometric Rules:
$\int \sin x \, dx = -\cos x + C, \int \cos x \, dx = \sin x + C$, \int \sec^2 x , dx = \tan x + C$
Inverse Trigonometric Rules:
$\int \frac{1}{\sqrt{1-x^2}} \, dx = \sin^{-1}x + C, \int \frac{1}{1+x^2} \, dx = \tan^{-1}x + C$
Often, an integral looks complex but can be rewritten into basic power rules using algebra before integrating.
$\int (x^2 - 3x) \, dx = \frac{x^3}{3} - \frac{3x^2}{2} + C$
$\int \left(\frac{x - 7}{x}\right) \, dx = \int \left(1 - \frac{7}{x}\right) \, dx = x - 7\ln\vert{}x\vert{} + C$
$\int \frac{x^2 + 4\sqrt[3]{x}}{x} \, dx = \int x \, dx + \int \frac{4x^{1/3}}{x} \, dx = \frac{x^2}{2} + \int 4x^{-2/3} \, dx$
$= \frac{x^2}{2} + 4 \left( \frac{x^{1/3}}{1/3} \right) + C = \frac{x^2}{2} + 12\sqrt[3]{x} + C$
U-substitution undoes the Chain Rule. You look for a function $u$ and its derivative $du$ nested inside the integral.
Let $u = x^4 + 2$, then $du = 4x^3 \, dx \implies \frac{du}{4} = x^3 \, dx$.
Substitute: $\int u^5 \frac{du}{4} = \frac{1}{4} \int u^5 \, du = \frac{u^6}{24} + C$.
Revert: $\int x^3(x^4 + 2)^5 \, dx = \frac{(x^4 + 2)^6}{24} + C$.
Let $u = \ln x$, then $du = \frac{1}{x} \, dx$.
Substitute: $\int \frac{1}{u} \, du = \ln\vert{}u\vert{} + C$.
Revert: $\int \frac{1}{x \ln x} \, dx = \ln\vert{}\ln x\vert{} + C$.
Let $u = 1 + x^2$, then $du = 2x \, dx \implies \frac{du}{2} = x \, dx$.
Substitute: $\int \frac{1}{2u} \, du = \frac{1}{2}\ln\vert{}u\vert{} + C$.
Revert: $\int \frac{x}{1+x^2} \, dx = \frac{1}{2}\ln\vert{}1+x^2\vert{} + C$. Besides, absolute value bars can be dropped since $1+x^2$ is always positive.
Let $u = x^2$, then $du = 2x \, dx \implies \frac{du}{2} = x \, dx$.
Substitute: $\int \frac{1}{2} e^u \, du = \frac{1}{2} e^u + C$.
Revert: $\int x e^{x^2} \, dx = \frac{1}{2}e^{x^2} + C$.
Let $u = \sin x$, then $du = \cos x \, dx$.
Substitute: $\int u \, du = \frac{u^2}{2} + C$.
Revert: $\int \sin x \cos x \, dx = \frac{1}{2}\sin^2 x + C$.
Using trig identities like $\sin^2 x = 1 - \cos^2 x$, this can also be expressed as $-\frac{1}{2}\cos^2 x + C'$. Both are correct, they just differ by a constant.
Integration by parts undoes the Product Rule. It is used when two different types of functions are multiplied together.
The Formula: $\boxed{\int u \, dv = uv - \int v \, du}$
Let $u = x \implies du = dx$ and $dv = \cos x \, dx \implies v = \sin x$.
Apply formula $\boxed{\int u \, dv = uv - \int v \, du}$: $\int x \cos x \, dx = x \sin x - \int \sin x \, dx$.
Final answer: $\int x \cos x \, dx = x \sin x + \cos x + C$.
Because indefinite integrals always include a constant of integration ($C$), two completely correct answers to the same problem might look entirely different until you apply algebra or trigonometric identities.
$\int \sin x \cos x \, dx$
Using $u$-substitution with $u = \sin x$ and $du = \cos x \, dx$, we get: $\int u \, du = \frac{u^2}{2} + C = \frac{1}{2}\sin^2 x + C$
At first glance, this is the final answer.
However, using the Pythagorean identity ($\sin^2 x = 1 - \cos^2 x$), we can rewrite it as $= \frac{1}{2}(1 - \cos^2 x) + C= \frac{1}{2} - \frac{1}{2}\cos^2 x + C$
Because $C$ is just an arbitrary unknown constant, adding $\frac{1}{2}$ to it simply creates a new arbitrary constant. We can absorb the $\frac{1}{2}$ into a new constant, $C'$: $= -\frac{1}{2}\cos^2 x + C'$
Both $\frac{1}{2}\sin^2 x + C$ and $-\frac{1}{2}\cos^2 x + C'$ are mathematically valid antiderivatives of $\sin x \cos x$. They just represent different starting points in the same family of curves.
The example above perfectly illustrates a core theorem of calculus: two antiderivatives of the same function are essentially the same curve shifted up or down on a graph. They are unique up to a constant.
Theorem: Let $F(x)$ and $G(x)$ be two different antiderivatives of the same function $f(x)$. If $F'(x) = G'(x) = f(x)$, then they are unique up to a constant, i.e., $F(x) = G(x) + C$.
Proof: