Functions and Domains
Functions and Graphs
đ Definition and Notation
A function is a correspondence between input numbers (usually x values) and output numbers (usually y values) that sends each input number to exactly one output number.
A function can be thought of as a rule or machine: feed in an x value as input and get out a y value as output. The condition that each input corresponds to exactly one output is essential. For example, the "biological mother" function takes a person as input and outputs their biological mother â this is a valid function because each person has exactly one biological mother. However, a "mother" function that outputs any mother (biological, adopted, stepmother) would not be a function because some inputs would have multiple outputs.
Function notation uses f(x) to represent the output value. It is critical to note that f(x) does not mean f multiplied by x. For example, if f(x)=x2+1, then:
f(2)=22+1=5
f(5)=52+1=26
f(a+3)=(a+3)2+1=a2+6a+10
When evaluating a function on a complex expression, parentheses around the entire substituted expression are essential to avoid errors.
Graphical representation and the Vertical Line Test: A graph represents a function if and only if any vertical line intersects the graph at most once. For instance, the graph of a circle fails this test and therefore does not represent a function.
đĸ Domain and Range
The domain of a function is the set of all possible x values (inputs) that make sense for that function. The range is the set of all possible y values (outputs) that the function produces.
Finding domain from a graph: Project the graph onto the x-axis. The x values that are "hit" by the graph constitute the domain.
Finding range from a graph: Project the graph onto the y-axis. The y values that are "hit" constitute the range.
Finding domain algebraically: Two main restrictions apply:
Denominator cannot be zero: Exclude x values that make any denominator in the expression equal to zero.
Even roots must have non-negative radicands: For square roots, fourth roots, etc., the expression inside the radical must be greater than or equal to zero. Odd roots (cube roots, etc.) do not have this restriction.
Example: For f(x)=x2â4x+31â, the denominator factors to (xâ1)(xâ3). Setting this equal to zero gives x=1 and x=3. Therefore, the domain is all real numbers except x=1 and x=3.
Example: For f(x)=3â2xâ, the radicand 3â2x must satisfy 3â2xâĨ0. Solving gives xâ¤23â, so the domain is (ââ,23â].
Interval notation is commonly used to describe domains and ranges. Square brackets [ ] indicate that the endpoint is included, while parentheses ( ) indicate it is not.
đŧ Increasing and Decreasing Functions
A function is increasing on an interval if, as x values increase from left to right, the y values go up. Formally, if x2â>x1â, then f(x2â)>f(x1â).
A function is decreasing on an interval if, as x values increase from left to right, the y values go down. Formally, if x2â>x1â, then f(x2â)<f(x1â).
A function is constant on an interval if the y values do not change as x increases.
The intervals on which a function is increasing or decreasing are always described in terms of x values, never y values. In many cases, strict inequality signs are used in the middle of the domain, while endpoints may use ⤠if the function stops existing or changes behavior.
đ Maximum and Minimum Values
An absolute maximum (or global maximum) occurs at x=c if f(c)âĨf(x) for all x in the domain of f. The value f(c) is the absolute maximum value, and the point (c,f(c)) is the absolute maximum point.
An absolute minimum (or global minimum) occurs at x=c if f(c)â¤f(x) for all x in the domain of f. The value f(c) is the absolute minimum value.
A local maximum (or relative maximum) occurs at x=c if f(c)âĨf(x) for all x in an open interval around c. It does not have to be the highest value in the entire domain, only the highest nearby.
A local minimum (or relative minimum) occurs at x=c if f(c)â¤f(x) for all x in an open interval around c.
Some sources do not consider endpoints of the domain to be local extrema because the function is not defined in an open interval around that endpoint.
đ Symmetry of Graphs and Functions
A graph is symmetric with respect to the x-axis if whenever (x,y) is on the graph, (x,ây) is also on the graph. (This type of symmetry generally means the graph does not represent a function.)
A graph is symmetric with respect to the y-axis if whenever (x,y) is on the graph, (âx,y) is also on the graph.
A graph is symmetric with respect to the origin if whenever (x,y) is on the graph, (âx,ây) is also on the graph. This is equivalent to 180-degree rotational symmetry.
A function f is even if its graph is symmetric with respect to the y-axis. Algebraically, this means f(âx)=f(x) for all x in the domain. Examples include f(x)=x2 and f(x)=âŖxâŖ.
A function f is odd if its graph is symmetric with respect to the origin. Algebraically, this means f(âx)=âf(x) for all x in the domain. Examples include f(x)=x3 and f(x)=x1â.
(There is no special name for x-axis symmetry because such a graph is rarely a function.)
đ§° Toolkit Functions
These are commonly used functions whose shapes should be memorized:
Linear: y=x (straight line through origin)
Quadratic: y=x2 (parabola, even, symmetric about y-axis)
Cubic: y=x3 (odd, rotationally symmetric about origin)
Square Root: y=xâ (domain xâĨ0)
Absolute Value: y=âŖxâŖ (V-shaped, even)
Exponential: y=2x (or y=ex, very steep growth)
Reciprocal: y=x1â (hyperbola, odd, two branches)
Reciprocal Squared: y=x21â (even, both branches in upper half-plane)
đ Transformations of Functions
If g(x) is a basic function, then transformations follow predictable rules.
Vertical shifts: y=g(x)+k shifts the graph up by k units if k>0, and down by k units if k<0. (The k is "outside" the function.)
Horizontal shifts: y=g(xâh) shifts the graph right by h units if h>0, and left by h units if h<0. (The h is "inside" the function and does the opposite of the sign.)
Vertical stretches and shrinks: y=aâ g(x) stretches the graph vertically by a factor of a if a>1, and shrinks it vertically if 0<a<1.
Horizontal stretches and shrinks: y=g(bx) shrinks the graph horizontally by a factor of b1â if b>1, and stretches it horizontally if 0<b<1. (The inside multiplication does the opposite of what might be expected.)
Reflections:
y=âg(x) reflects the graph across the x-axis (vertical reflection).
y=g(âx) reflects the graph across the y-axis (horizontal reflection).
đ§Š Piecewise Functions
A piecewise function is defined by two or more different rules that apply for different x values. To evaluate, first determine which rule applies based on the x value, then apply that rule.
To graph a piecewise function, graph each piece separately for its specified interval, being careful to use open circles for points that are not included and closed circles for points that are included.
A piecewise function may have a discontinuity (a break in the graph) at the transition point between the rules. If the two pieces line up perfectly at the transition point, the function is continuous.
âŠī¸ Inverse Functions
The inverse of a function f, denoted fâ1(x), undoes what f does. If f(2)=3, then fâ1(3)=2.
Key property: fâ1(f(x))=x and f(fâ1(x))=x. In other words, the functions cancel each other out.
Graphical relationship: The graph of y=fâ1(x) is obtained by reflecting the graph of y=f(x) over the line y=x.
Finding an inverse algebraically:
Write y=f(x).
Swap x and y (reverse their roles).
Solve for y.
The resulting y is fâ1(x).
One-to-one functions: A function has an inverse function if and only if it passes the horizontal line test (every horizontal line intersects the graph at most once). Such a function is called one-to-one. The function f(x)=x2 fails this test and therefore does not have an inverse function unless its domain is restricted.
Domain and range swap: The domain of f is the range of fâ1, and the range of f is the domain of fâ1.
Trigonometric Functions
đ Angles and Radians
Angles can be measured in degrees or radians. A full circle is 360â or 2Ī radians.
Conversion: The key relationship is 180â=Ī radians.
To convert degrees to radians: multiply by 180Īâ.
To convert radians to degrees: multiply by Ī180â.
Degrees, Minutes, and Seconds:
1 minute =601â of a degree
1 second =601â of a minute =36001â of a degree
Arc Length: For a circle of radius r and a central angle θ (in radians), the arc length s is:
Sector Area: For a circle of radius r and a central angle θ (in radians), the area A of the sector is:
Linear and Angular Speed:
Angular speed Ī is the angle traversed per unit time (e.g., radians per second).
Linear speed v is the distance a point on the rim travels per unit time (e.g., meters per second).
They are related by v=Īr, where r is the radius.
đ Right Triangle Trigonometry
For a right triangle with angle θ, the six trigonometric functions are defined as ratios of sides:
Sine: sinθ=hypotenuseoppositeâ
Cosine: cosθ=hypotenuseadjacentâ
Tangent: tanθ=adjacentoppositeâ
The mnemonic SOH CAH TOA helps recall these three definitions.
Reciprocal functions:
Cosecant: cscθ=sinθ1â
Secant: secθ=cosθ1â
Cotangent: cotθ=tanθ1â
Special Right Triangles:
45-45-90 triangle: The legs are equal. If the hypotenuse is 1, each leg is 22ââ.
sin45â=cos45â=22ââ
30-60-90 triangle: If the hypotenuse is 1, the side opposite the 30â angle is 21â, and the side opposite the 60â angle is 23ââ.
sin30â=21â, cos30â=23ââ
sin60â=23ââ, cos60â=21â
â Unit Circle Definition
The unit circle is a circle of radius 1 centered at the origin. For an angle θ measured counterclockwise from the positive x-axis, the point where the terminal side of the angle intersects the unit circle has coordinates (cosθ,sinθ).
This definition extends the trigonometric functions to all angles, including those greater than 90â. Using this definition:
sinθ is the y-coordinate of the point.
cosθ is the x-coordinate of the point.
tanθ=xyâ=cosθsinθâ (when xî =0).
âī¸ Properties of Trigonometric Functions
Periodic Property: Sine and cosine are periodic with period 2Ī.
sin(θ+2Ī)=sinθ
cos(θ+2Ī)=cosθ
Tangent is periodic with period Ī: tan(θ+Ī)=tanθ
Even-Odd Property:
Cosine is even: cos(âθ)=cosθ
Sine is odd: sin(âθ)=âsinθ
Tangent is odd: tan(âθ)=âtanθ
Pythagorean Identity: For any angle θ,
This identity is derived directly from the Pythagorean Theorem applied to a right triangle inscribed in the unit circle.
đ Graphs of Sine and Cosine
The midline is the horizontal line halfway between the maximum and minimum values of the function. For y=sinx and y=cosx, the midline is y=0.
The amplitude is the vertical distance from the midline to a maximum (or minimum) point. For the basic functions, the amplitude is 1.
The period is the horizontal length of one complete cycle. For the basic functions, the period is 2Ī.
Transformations of sinusoidal functions: A function of the form
has:
Midline: y=D
Amplitude: âŖAâŖ (absolute value of A)
Period: B2Īâ
Phase shift (horizontal shift): BCâ to the right (if C>0)
đ Graphs of Other Trigonometric Functions
Tangent: The graph of y=tanx has vertical asymptotes where cosx=0 (at x=2Īâ+Īk). It has a period of Ī and increases on each interval between asymptotes.
Cotangent: The graph of y=cotx has vertical asymptotes where sinx=0. It has a period of Ī and decreases on each interval between asymptotes.
Secant: The graph of y=secx=cosx1â has vertical asymptotes where cosx=0. It has a period of 2Ī and consists of U-shaped curves opening upward (where cosx>0) and downward (where cosx<0).
Cosecant: The graph of y=cscx=sinx1â has vertical asymptotes where sinx=0. It has a period of 2Ī.
Analytic Trigonometry
âŠī¸ Inverse Trigonometric Functions
Because the basic trigonometric functions are periodic, they are not one-to-one. To define inverse functions, the domains must be restricted.
Inverse Sine: y=arcsinx means siny=x and yâ[â2Īâ,2Īâ].
Domain of arcsinx: [â1,1]
Range of arcsinx: [â2Īâ,2Īâ]
Inverse Cosine: y=arccosx means cosy=x and yâ[0,Ī].
Domain of arccosx: [â1,1]
Range of arccosx: [0,Ī]
Inverse Tangent: y=arctanx means tany=x and yâ(â2Īâ,2Īâ).
Domain of arctanx: (ââ,â)
Range of arctanx: (â2Īâ,2Īâ)
The notation sinâ1x, cosâ1x, and tanâ1x is also used, but care must be taken not to confuse this with sinx1â (which is cscx).
đ Solving Trigonometric Equations
To solve a trigonometric equation:
Isolate the trigonometric function.
Find the principal solutions (solutions in the interval [0,2Ī) or [0,360â)) using the unit circle (for exact values) or an inverse trig function and a calculator (for approximate values).
Add multiples of the period to find all solutions.
For equations involving sine or cosine, add 2Īk (for radians) or 360âk (for degrees) to each principal solution.
For equations involving tangent, add Īk (or 180âk) to a single principal solution.
When using a calculator, it is important to be in radian mode unless the problem specifies degrees.
Finding the second principal solution:
For cosθ=n: the second solution is 2Īâθ (or 360ââθ).
For sinθ=n: the second solution is Īâθ (or 180ââθ).
For tanθ=n: the second solution is θ+Ī (or θ+180â).
đ Trigonometric Identities
An identity is an equation that holds true for all values of the variable for which both sides are defined.
Pythagorean Identities:
sin2θ+cos2θ=1
tan2θ+1=sec2θ
cot2θ+1=csc2θ
(Identities 2 and 3 are derived by dividing identity 1 by cos2θ and sin2θ, respectively.)
Sum and Difference Formulas:
sin(A+B)=sinAcosB+cosAsinB
sin(AâB)=sinAcosBâcosAsinB
cos(A+B)=cosAcosBâsinAsinB
cos(AâB)=cosAcosB+sinAsinB
Double-Angle Formulas:
sin(2θ)=2sinθcosθ
cos(2θ)=cos2θâsin2θ=2cos2θâ1=1â2sin2θ
The versions of cos(2θ) that involve only cos2θ or only sin2θ are particularly useful when solving equations or integrating.
Half-Angle Formulas:
sin(2θâ)=Âą21âcosθââ
cos(2θâ)=Âą21+cosθââ
The sign (+ or â) is determined by the quadrant in which 2θâ lies.
Applications of Trigonometry
đ Law of Sines
The Law of Sines applies to any triangle (not just right triangles). For a triangle with angles A, B, C and opposite side lengths a, b, c:
When to use the Law of Sines:
ASA (Angle-Side-Angle): Two angles and the side between them are known.
AAS (Angle-Angle-Side): Two angles and a side not between them are known.
SSA (Side-Side-Angle): Two sides and an angle opposite one of them are known. (This is the ambiguous case â there may be zero, one, or two possible triangles.)
The Ambiguous Case (SSA): When given sides a, b and angle A, solving bsinBâ=asinAâ yields a value for sinB. If sinB>1, no triangle exists. If sinB<1, there are two possible values for B: B1â (the acute angle from the calculator) and B2â=180ââB1â. Both must be checked to see if they yield a valid triangle (i.e., the angles sum to 180â).
đ Law of Cosines
The Law of Cosines generalizes the Pythagorean Theorem to non-right triangles. For a triangle with sides a, b, c and opposite angles A, B, C:
When to use the Law of Cosines:
SAS (Side-Angle-Side): Two sides and the angle between them are known.
SSS (Side-Side-Side): All three sides are known. Solve for the largest angle first (to ensure it is acute or obtuse) and use the Law of Sines for the remaining angles.
If the angle C is 90â, then cosC=0, and the Law of Cosines simplifies to c2=a2+b2, which is the Pythagorean Theorem.
Conic Sections and Parametric/Polar Equations
đ Parabolas
A parabola is the set of all points equidistant from a fixed point (the focus) and a fixed line (the directrix).
Standard forms (vertex at (h,k)):
Vertical axis (opens up/down): (xâh)2=4p(yâk)
Focus: (h,k+p)
Directrix: y=kâp
Opens up if p>0, down if p<0.
Horizontal axis (opens right/left): (yâk)2=4p(xâh)
Focus: (h+p,k)
Directrix: x=hâp
Opens right if p>0, left if p<0.
The absolute value âŖpâŖ is the distance from the vertex to the focus and from the vertex to the directrix.
đĩ Ellipses
An ellipse is the set of all points such that the sum of the distances from two fixed points (the foci) is constant.
Standard forms (center at (h,k)):
Horizontal major axis (a>b): a2(xâh)2â+b2(yâk)2â=1
Vertices: (hÂąa,k)
Co-vertices: (h,kÂąb)
Foci: (hÂąc,k), where c2=a2âb2
Vertical major axis (a>b): b2(xâh)2â+a2(yâk)2â=1
Vertices: (h,kÂąa)
Co-vertices: (hÂąb,k)
Foci: (h,kÂąc), where c2=a2âb2
a is half the length of the major axis, b is half the length of the minor axis, and c is the distance from the center to a focus. The largest of the three numbers (a, b, c) is always a.
⥠Hyperbolas
A hyperbola is the set of all points such that the difference of the distances from two fixed points (the foci) is constant.
Standard forms (center at (h,k)):
Horizontal transverse axis: a2(xâh)2ââb2(yâk)2â=1
Vertices: (hÂąa,k)
Foci: (hÂąc,k), where c2=a2+b2
Asymptotes: yâk=Âąabâ(xâh)
Vertical transverse axis: a2(yâk)2ââb2(xâh)2â=1
Vertices: (h,kÂąa)
Foci: (h,kÂąc), where c2=a2+b2
Asymptotes: yâk=Âąbaâ(xâh)
The asymptotes form an "X" that passes through the center and acts as a guide for sketching the branches of the hyperbola. The rectangle with sides of length 2a and 2b centered at (h,k) is called the fundamental rectangle, and its diagonals lie along the asymptotes.
đ Polar Coordinates
A point in the plane can be represented by polar coordinates (r,θ), where r is the distance from the origin (pole) and θ is the angle measured counterclockwise from the positive x-axis.
Conversion between polar and Cartesian (rectangular) coordinates:
x=rcosθ
y=rsinθ
r2=x2+y2
tanθ=xyâ (with appropriate quadrant adjustment)
A negative r value means the point is plotted on the opposite side of the origin along the line determined by θ. Equivalently, (âr,θ) represents the same point as (r,θ+Ī).
đ¯ Parametric Equations
Parametric equations describe the coordinates of a point (x,y) in terms of a third variable, called the parameter (often t, representing time).
Advantages of parametric representation:
Can describe curves that fail the vertical line test (e.g., circles).
Can model motion by indicating the direction of travel.
Eliminating the parameter: To find a Cartesian equation, solve one equation for t and substitute into the other, or use algebraic/trigonometric identities.
Common parameterizations:
Circle of radius r centered at (h,k): x=h+rcost, y=k+rsint (0â¤tâ¤2Ī)
Ellipse: x=h+acost, y=k+bsint
Line through (x1â,y1â) and (x2â,y2â): x=x1â+t(x2ââx1â), y=y1â+t(y2âây1â)
Introduction to Calculus: The Difference Quotient
đ Average Rate of Change
The average rate of change of a function y=f(x) on the interval [a,b] is the slope of the secant line connecting the points (a,f(a)) and (b,f(b)).
This represents the change in output per unit change in input over the interval.
đĸ The Difference Quotient
The difference quotient is a reformulation of the average rate of change using the notation x and x+h, where h is the horizontal distance between the two points.
This expression represents the slope of the secant line between the points (x,f(x)) and (x+h,f(x+h)).
Simplifying the difference quotient:
Substitute the function expression for f(x+h) and f(x).
Expand and simplify the numerator.
Factor out h from the numerator.
Cancel h (assuming hî =0).
Example: For f(x)=2x2âx+3, the difference quotient simplifies to 4x+2hâ1.
The difference quotient is the foundational building block for the derivative in calculus. The derivative is found by taking the limit of the difference quotient as h approaches 0, which gives the slope of the tangent line to the graph of f at a point.

Ask anything
We've read this whole study set, so questions about it get the best answers.