What is a Function?
A function is a relationship between two sets of numbers where each input (x-value) has exactly one output (y-value).
We write it as y=f(x)$$y = f(x)$$, where x$$x$$ is the input and f(x)$$f(x)$$ is the output.
Example: f(x)=2x+3$$f(x) = 2x + 3$$
If x=1$$x = 1$$, then f(1)=2(1)+3=5$$f(1) = 2(1) + 3 = 5$$. So when the input is 1, the output is 5.
Types of Functions
Linear Functions: Have the form f(x)=mx+b$$f(x) = mx + b$$, where m$$m$$ is the slope and b$$b$$ is the y-intercept.
Example: f(x)=3x+2$$f(x) = 3x + 2$$
Quadratic Functions: Have the form f(x)=ax2+bx+c$$f(x) = ax^2 + bx + c$$, where a$$a$$, b$$b$$, and c$$c$$ are constants.
Example: f(x)=x2−4x+1$$f(x) = x^2 - 4x + 1$$
Polynomial Functions: Include linear and quadratic functions but can have higher powers of x$$x$$.
Example: f(x)=x3+2x2−x+5$$f(x) = x^3 + 2x^2 - x + 5$$
Graphing Functions
To graph a function, we plot points (x,f(x))$$(x, f(x))$$ on a coordinate plane.
For a linear function, you only need two points to draw the entire line.
For other functions, plot enough points to see the shape of the curve.
Example: Graph f(x)=x+1$$f(x) = x + 1$$
When x=0$$x = 0$$, f(0)=1$$f(0) = 1$$. Plot the point (0,1)$$(0, 1)$$.
When x=1$$x = 1$$, f(1)=2$$f(1) = 2$$. Plot the point (1,2)$$(1, 2)$$.
Draw a line through these points.
What is a Limit?
A limit describes the value that a function approaches as the input gets closer and closer to some value.
Notation: limx→af(x)=L$$\lim_{x \to a} f(x) = L$$ means as x$$x$$ gets close to a$$a$$, f(x)$$f(x)$$ gets close to L$$L$$.
Example: limx→2(x+3)=5$$\lim_{x \to 2} (x + 3) = 5$$
As x$$x$$ gets closer to 2, x+3$$x + 3$$ gets closer to 5.
Evaluating Limits
Direct Substitution: If the function is continuous at the point, just plug in the value.
Example: limx→1(x2+2x+1)=(1)2+2(1)+1=4$$\lim_{x \to 1} (x^2 + 2x + 1) = (1)^2 + 2(1) + 1 = 4$$
Factoring: If direct substitution gives an indeterminate form like 00$$\frac{0}{0}$$, try factoring.
Example: limx→2x−2x2−4$$\lim_{x \to 2} \frac{x^2 - 4}{x - 2}$$
=limx→2x−2(x−2)(x+2)$$= \lim_{x \to 2} \frac{(x - 2)(x + 2)}{x - 2}$$
=limx→2(x+2)=4$$= \lim_{x \to 2} (x + 2) = 4$$
One-Sided Limits
The limit from the left: limx→a−f(x)$$\lim_{x \to a^-} f(x)$$
The limit from the right: limx→a+f(x)$$\lim_{x \to a^+} f(x)$$
For a limit to exist, both one-sided limits must exist and be equal.
What is a Derivative?
The derivative of a function gives the slope of the tangent line at any point on the function.
It measures the instantaneous rate of change of a function.
Notation: If y=f(x)$$y = f(x)$$, the derivative is written as f′(x)$$f'(x)$$ or dxdy$$\frac{dy}{dx}$$.
The Definition of the Derivative
f′(x)=limh→0hf(x+h)−f(x)$$f'(x) = \lim_{h \to 0} \frac{f(x + h) - f(x)}{h}$$
This formula calculates the slope of the tangent line.
Basic Differentiation Rules
Power Rule: If f(x)=xn$$f(x) = x^n$$, then f′(x)=nxn−1$$f'(x) = nx^{n-1}$$.
Example: If f(x)=x3$$f(x) = x^3$$, then f′(x)=3x2$$f'(x) = 3x^2$$.
Constant Multiple Rule: If f(x)=cf(x)$$f(x) = cf(x)$$, then f′(x)=cf′(x)$$f'(x) = cf'(x)$$, where c$$c$$ is a constant.
Example: If f(x)=5x2$$f(x) = 5x^2$$, then f′(x)=5(2x)=10x$$f'(x) = 5(2x) = 10x$$.
Sum/Difference Rule: If f(x)=u(x)±v(x)$$f(x) = u(x) \pm v(x)$$, then f′(x)=u′(x)±v′(x)$$f'(x) = u'(x) \pm v'(x)$$.
Example: If f(x)=x3+2x$$f(x) = x^3 + 2x$$, then f′(x)=3x2+2$$f'(x) = 3x^2 + 2$$.
Finding Slope of Tangent Lines
To find the slope of the tangent line at a point x=a$$x = a$$, calculate f′(a)$$f'(a)$$.
Example: Find the slope of the tangent line to f(x)=x2$$f(x) = x^2$$ at x=3$$x = 3$$.
f′(x)=2x$$f'(x) = 2x$$, so f′(3)=2(3)=6$$f'(3) = 2(3) = 6$$.
Increasing and Decreasing Functions
If f′(x)>0$$f'(x) > 0$$ on an interval, then f(x)$$f(x)$$ is increasing on that interval.
If f′(x)<0$$f'(x) < 0$$ on an interval, then f(x)$$f(x)$$ is decreasing on that interval.
If f′(x)=0$$f'(x) = 0$$ at a point, then that point may be a local maximum or minimum.
Maximum and Minimum Values
To find local maxima and minima, find where f′(x)=0$$f'(x) = 0$$ or where f′(x)$$f'(x)$$ is undefined.
Test these points to determine if they are maxima, minima, or neither.
Example: Find the local maxima and minima of f(x)=x3−6x2+5$$f(x) = x^3 - 6x^2 + 5$$.
f′(x)=3x2−12x=3x(x−4)$$f'(x) = 3x^2 - 12x = 3x(x - 4)$$
f′(x)=0$$f'(x) = 0$$ when x=0$$x = 0$$ and x=4$$x = 4$$.
What is an Integral?
An integral is the reverse process of differentiation.
It finds the area under a curve.
Notation: ∫f(x)dx=F(x)+C$$\int f(x) dx = F(x) + C$$, where F(x)$$F(x)$$ is the antiderivative of f(x)$$f(x)$$ and C$$C$$ is the constant of integration.
Basic Integration Rules
Power Rule: ∫xndx=n+1xn+1+C$$\int x^n dx = \frac{x^{n+1}}{n+1} + C$$, where n=−1$$n \neq -1$$.
Example: ∫x2dx=3x3+C$$\int x^2 dx = \frac{x^3}{3} + C$$.
Constant Multiple Rule: ∫cf(x)dx=c∫f(x)dx$$\int cf(x) dx = c \int f(x) dx$$, where c$$c$$ is a constant.
Example: ∫5x3dx=5∫x3dx=5(4x4)+C=45x4+C$$\int 5x^3 dx = 5 \int x^3 dx = 5(\frac{x^4}{4}) + C = \frac{5x^4}{4} + C$$.
Sum/Difference Rule: ∫[u(x)±v(x)]dx=∫u(x)dx±∫v(x)dx$$\int [u(x) \pm v(x)] dx = \int u(x) dx \pm \int v(x) dx$$.
Example: ∫(x2+x)dx=∫x2dx+∫xdx=3x3+2x2+C$$\int (x^2 + x) dx = \int x^2 dx + \int x dx = \frac{x^3}{3} + \frac{x^2}{2} + C$$.
Definite Integrals
Definite integrals have limits of integration:
$$\int_{a}^{b} f(x) dx = F(b) -
Calculus
What is a Function?
A function is a relationship between two sets of numbers where each input (x-value) has exactly one output (y-value).
We write it as y=f(x), where x is the input and f(x) is the output.
Example: f(x)=2x+3
If x=1, then f(1)=2(1)+3=5. So when the input is 1, the output is 5.
Types of Functions
Linear Functions: Have the form f(x)=mx+b, where m is the slope and b is the y-intercept.
Example: f(x)=3x+2
Quadratic Functions: Have the form f(x)=ax2+bx+c, where a, b, and c are constants.
Example: f(x)=x2−4x+1
Polynomial Functions: Include linear and quadratic functions but can have higher powers of x.
Example: f(x)=x3+2x2−x+5
Graphing Functions
To graph a function, we plot points (x,f(x)) on a coordinate plane.
For a linear function, you only need two points to draw the entire line.
For other functions, plot enough points to see the shape of the curve.
Example: Graph f(x)=x+1
When x=0, f(0)=1. Plot the point (0,1).
When x=1, f(1)=2. Plot the point (1,2).
Draw a line through these points.
What is a Limit?
A limit describes the value that a function approaches as the input gets closer and closer to some value.
Notation: limx→af(x)=L means as x gets close to a, f(x) gets close to L.
Example: limx→2(x+3)=5
As x gets closer to 2, x+3 gets closer to 5.
Evaluating Limits
Direct Substitution: If the function is continuous at the point, just plug in the value.
Example: limx→1(x2+2x+1)=(1)2+2(1)+1=4
Factoring: If direct substitution gives an indeterminate form like 00, try factoring.
Example: limx→2x−2x2−4
=x→2limx−2(x−2)(x+2)
=x→2lim(x+2)=4
One-Sided Limits
The limit from the left: limx→a−f(x)
The limit from the right: limx→a+f(x)
For a limit to exist, both one-sided limits must exist and be equal.
What is a Derivative?
The derivative of a function gives the slope of the tangent line at any point on the function.
It measures the instantaneous rate of change of a function.
Notation: If y=f(x), the derivative is written as f′(x) or dxdy.
The Definition of the Derivative
f′(x)=h→0limhf(x+h)−f(x)
This formula calculates the slope of the tangent line.
Basic Differentiation Rules
Power Rule: If f(x)=xn, then f′(x)=nxn−1.
Example: If f(x)=x3, then f′(x)=3x2.
Constant Multiple Rule: If f(x)=cf(x), then f′(x)=cf′(x), where c is a constant.
Example: If f(x)=5x2, then f′(x)=5(2x)=10x.
Sum/Difference Rule: If f(x)=u(x)±v(x), then f′(x)=u′(x)±v′(x).
Example: If f(x)=x3+2x, then f′(x)=3x2+2.
Finding Slope of Tangent Lines
To find the slope of the tangent line at a point x=a, calculate f′(a).
Example: Find the slope of the tangent line to f(x)=x2 at x=3.
f′(x)=2x, so f′(3)=2(3)=6.
Increasing and Decreasing Functions
If f′(x)>0 on an interval, then f(x) is increasing on that interval.
If f′(x)<0 on an interval, then f(x) is decreasing on that interval.
If f′(x)=0 at a point, then that point may be a local maximum or minimum.
Maximum and Minimum Values
To find local maxima and minima, find where f′(x)=0 or where f′(x) is undefined.
Test these points to determine if they are maxima, minima, or neither.
Example: Find the local maxima and minima of f(x)=x3−6x2+5.
f′(x)=3x2−12x=3x(x−4)
f′(x)=0 when x=0 and x=4.
What is an Integral?
An integral is the reverse process of differentiation.
It finds the area under a curve.
Notation: ∫f(x)dx=F(x)+C, where F(x) is the antiderivative of f(x) and C is the constant of integration.
Basic Integration Rules
Power Rule: ∫xndx=n+1xn+1+C, where n=−1.
Example: ∫x2dx=3x3+C.
Constant Multiple Rule: ∫cf(x)dx=c∫f(x)dx, where c is a constant.
Example: ∫5x3dx=5∫x3dx=5(4x4)+C=45x4+C.
Sum/Difference Rule: ∫[u(x)±v(x)]dx=∫u(x)dx±∫v(x)dx.
Example: ∫(x2+x)dx=∫x2dx+∫xdx=3x3+2x2+C.
Definite Integrals
Definite integrals have limits of integration:
$$\int_{a}^{b} f(x) dx = F(b) -