This sheet follows the eight units of the course in order. Each unit starts with the big idea in a few sentences, then gives the definitions, formulas and rules you will look up most often, with the conditions they need. When you want the full explanation or more examples, follow the lesson links under each topic.
Every variable is a real number, and angles are in radians unless they are marked in degrees. A formula holds wherever both sides are defined unless a condition says otherwise.
Reading Quantities and Graphs
Calculus reads formulas, intervals and graphs constantly, usually without stopping to explain them. This unit makes that reading automatic, from substituting into a formula and describing allowed values on the number line to functions, graphs, lines, average rates of change and absolute value.
Formulas and number lines
To evaluate a formula, replace the variable by the input at every place it appears, with the same value each time and inside parentheses. Then follow the order of operations, which means grouping symbols first, then powers and roots, then multiplication and division from left to right, and last addition and subtraction from left to right. An exponent applies only to the symbol or parenthesized group just before it, so while . For the input goes in as one package,
Terms that are added or subtracted must have the same unit, and an answer to an applied question is complete only with its unit. In the cost dollars for hours of work, the is a rate in dollars per hour.
For real numbers the intervals are
| Interval | Inequality | Endpoints included |
|---|---|---|
| neither | ||
| both | ||
| only | ||
| only | ||
| none | ||
| only | ||
| none | ||
| only | ||
| every real | none |
A square bracket, drawn as a filled dot, means the endpoint belongs to the set, and a round parenthesis, drawn as a hollow dot, means it does not. The symbols and are not real numbers, so they always get a parenthesis. The union holds every number in at least one of the two sets, so the condition or is .
The allowed values of a formula are the real inputs at which every step of the calculation is defined. A denominator may not be , and the radicand of an even root, such as a square root, must be at least . A situation can restrict the inputs further, for example to times . The formula
needs both conditions at once, so its allowed values are .
Lessons Reading formulas, Number lines and intervals
Functions and graphs
A function from a set to a set gives every input in exactly one output in . Different inputs may share an output, but one input may never have two. The domain is part of the function. When only a formula is given, the domain is every real number for which the formula gives a real number, and a context such as time or length can restrict it further. The range is the set of outputs .
The symbol is the output at the input , not times , and evaluating at an expression means substituting the whole expression. For ,
and while .
The graph of is the set , with the input on the horizontal axis and the output on the vertical axis. A point lies on it exactly when is in and , so every vertical line meets the graph of a function at most once. How steep a graph looks depends on the scales of the axes, so a slope is computed from coordinates, never read from the drawing. A table of measurements gives only the listed points, and a value between them is an estimate that rests on an added assumption.
Lessons Functions, Reading graphs
Lines, rates and distance
The slope of the line through and , with , is
rise over run, with the points in the same order on top and bottom. Every line is the set of points with , where and are not both zero.
| Line | Equation | Notes |
|---|---|---|
| Nonvertical | slope , -intercept , and -intercept when | |
| Through | slope | |
| Horizontal | slope | |
| Vertical | undefined slope, not the graph of a function of |
For example the points and give , and then gives the line .
For in the domain of , the change in input is , the change in output is , and the average rate of change is
It is the slope of the secant line through and , measured in output units per input unit, and it describes the interval as a whole, not any single moment. A tank holding liters after minutes gains on average liters per minute over , but only liters per minute over . For a position on a line the average rate is the average velocity. Average speed is the total distance divided by the elapsed time, which is never negative and is larger than the size of the average velocity when the object turns around.
The absolute value of a real number is
For every real we have , with only at , and . The distance between and on the number line is . The equation has the two solutions and when , only when , and none when . So gives or .
The graph of is a V with vertex , slope to the left of it and slope to the right, and symmetry about the line . On all real inputs its range is . The vertex is a corner, where no single slope describes the graph.
Lessons Lines from slope and intercepts, Average rate of change, Absolute value
Choosing Useful Algebra
The same expression can be written in many equivalent forms, and each form is good at something different. This unit picks the form that fits the job and keeps track of every excluded value along the way. It then solves equations and inequalities by steps that neither add nor lose solutions, or checks the candidates when a step might.
Expanding and factoring
Terms are joined by addition at the top level and factors by multiplication. Only a factor shared by the whole numerator and the whole denominator can be canceled, and only where it is not zero. For all real and ,
Squaring a sum is not squaring each piece, so , not . A sum of squares with does not factor over the reals. A polynomial is factored completely over the reals when every factor is linear or a quadratic with no real zero, and a quadratic with splits further exactly when . For example
Two expressions are equivalent on a set when they have the same value at every input of that set. Expanding a factored form back confirms a rewrite. Agreement at a few numbers proves nothing, though one disagreement shows that two expressions are not equivalent.
Lessons Expanding and factoring
Cancellation and fractions
The excluded values of a rational expression are the real zeros of its denominator, found before any simplification.
| Rule | Condition |
|---|---|
| and | |
| and | |
| , with the whole numerator subtracted | |
| , and | |
| exactly when and |
A simplified formula agrees with the original only on the original domain, so excluded values stay excluded. For example for , and its graph is the line with an open circle at . Cancel factors, never terms, since is not . To simplify a complex fraction, multiply its numerator and denominator by the least common denominator of the inner fractions, which is nonzero on the original domain. For and ,
Lessons Cancellation and excluded values, Common denominators
Powers, roots and signs
For a positive integer the power is the product of factors equal to . A negative exponent means a reciprocal, never a negative number.
| Rule | Condition |
|---|---|
| and | and a positive integer |
| , , | integers and with nonzero bases, or positive integers with any real bases |
| is the number with | |
| every real | |
| even and every real | |
| odd and every real | |
| , an integer and a positive integer |
An even root needs a radicand of at least and is never negative, while an odd root accepts every real number and keeps its sign, as in . The equation has the two solutions , but only. In this course a rational exponent has a base , or the base with a positive exponent, where . An odd root of a negative number is written with the radical sign, because the exponent rules break for negative bases. The expression is undefined. In algebra by convention, so a polynomial still gives at , but in calculus a limit of the form is indeterminate. For example , and .
Lessons Powers, roots and signs
Solving equations and inequalities
A solution of an equation is a number at which both sides are defined and equal. Write the restrictions of the original equation first, such as nonzero denominators and nonnegative radicands of even roots. Adding the same defined quantity to both sides, or multiplying or dividing by a nonzero constant, gives an equivalent equation. Dividing by a variable expression can lose solutions, so move everything to one side and factor instead. The zero product property says that exactly when or , and it needs a on one side.
Squaring both sides, or multiplying by an expression that is defined at every allowed input and may be zero there, keeps every solution but can add extra candidates. Check every candidate in the original equation. For example squares to , and only works, since gives on the left and on the right.
Adding a number to both sides of an inequality, or multiplying both sides by a positive number, keeps its direction. Multiplying or dividing by a negative number reverses it. Never multiply by an expression such as whose sign is unknown, and split into cases or use a sign chart instead. For example has the solution . A compound inequality is solved on all its parts at once, so gives , the interval .
Lessons Solving equations, Solving inequalities
Conjugates, completing the square and quadratics
For and any real ,
Multiplying the numerator and denominator by a conjugate rationalizes a fraction without changing its value wherever the conjugate is nonzero. For example , and for with
The new form gives at , where the original is still undefined. A conjugate that is zero at some input creates a new exclusion there.
Completing the square rests on the identity
With it gives the vertex form
Factor out of the terms first, and subtract times whatever you add inside the parentheses. If the minimum value is , attained only at , and if the maximum value is . For example has minimum at .
If and , the real solutions of are
with the whole numerator divided by . The discriminant tells how many there are.
| Discriminant | Real solutions |
|---|---|
| two distinct solutions | |
| one repeated root, | |
| none |
This course works over the real numbers, so a negative discriminant means that there is no solution. For example has and the solutions .
Lessons Conjugates, Completing the square, The quadratic formula
Rearranging formulas
To make a variable the subject, undo the operations applied to it in the reverse order. Adding or subtracting the same quantity and multiplying or dividing by a nonzero quantity keep the solutions. Dividing by an expression that contains a parameter needs that expression to be nonzero, and the zero case is examined separately in the original equation. So gives
while for the line is horizontal and cannot be made the subject. State the admissible values with the formula and carry them over. For a rectangle with perimeter the width is , and requires . Units follow the algebra, so comes out in hours when is in kilometers and in kilometers per hour.
Lessons Making a variable the subject
Understanding Individual Graphs
A small set of basic graphs comes up again and again in calculus. This unit sketches each one from facts that can be justified, its domain and range, symmetry, direction, intercepts and asymptotes, and then moves and scales those graphs point by point.
Domain and range
The natural domain of a formula is every real for which the formula, exactly as written, gives a real value. Canceling a factor does not add back the inputs where it was zero. The domain is the intersection of the conditions set by every root, denominator and other restricted piece.
| Piece of the formula | Condition |
|---|---|
| or another even root | |
| or another odd root | none |
| or | |
| or |
For example has domain , while has domain . A stated domain, or one forced by the context, replaces the natural domain.
The range is the set of outputs that actually occur. To find it, bound the outputs, then show that every value within the bound is attained by naming an input in the domain. An endpoint belongs to the range only when some input produces it. For example has range on all real inputs, range on and range on . A minimum or maximum value must be attained, so on has the maximum and no minimum.
Lessons Finding the domain, Finding the range
Quadratic and power functions
A quadratic function with has a parabola as its graph, opening up when and down when . Its three common forms agree for every real .
| Form | Shows |
|---|---|
| the -intercept | |
| the vertex and the axis of symmetry | |
| the zeros and , and it exists with real zeros exactly when |
The range is when and when . Inputs at equal distances from the axis give equal heights, since . For example has vertex , intercepts , and , and range .
A function is even when and odd when for every in its domain, which must contain whenever it contains . An even graph is symmetric about the -axis and an odd graph is symmetric about the origin. Most functions are neither. For a positive integer the power function has domain .
| Property of | even | odd |
|---|---|---|
| Symmetry | even, | odd, |
| Range | ||
| Direction | decreasing on , increasing on | increasing on |
| Solutions of | two if , one if , none if | exactly one for every real |
Higher powers are flatter between and and steeper beyond, since for and for . A cubic with has its two ends going in opposite directions. Factoring locates its zeros, as , but finding its turning points exactly needs derivatives.
Lessons Quadratic functions, Integer powers
Root functions
| Function | Domain | Range | Behavior |
|---|---|---|---|
| increasing, endpoint | |||
| increasing, odd, no endpoint |
The graph of is the upper half of the sideways parabola , and the graph of is the reflection of across the line . Every is the output of at , and every real is the output of at .
For with the only endpoint is at , at height . The domain is when and when . So has domain and decreases to its endpoint . The cube root of a negative number is negative, as in . Many calculators read as a complex number, so graph with a real cube root.
Lessons The square root function, The cube root function
Reciprocal functions
| Property | ||
|---|---|---|
| Domain | ||
| Range | ||
| Symmetry | odd | even |
| Direction | decreasing on and on separately | increasing on , decreasing on |
| Near | as , as | from both sides |
| Asymptotes | and | and |
The line is a vertical asymptote when or as approaches from at least one side. The line is a horizontal asymptote when as or as . Neither reciprocal graph ever reaches .
A quantity is inversely proportional to when with a constant , so the product stays fixed. An inverse-square law with satisfies
so doubling the input divides the output by .
Lessons The reciprocal function, The reciprocal square function
Piecewise functions
A piecewise function uses different formulas on different parts of its domain. Find the condition that the input meets first, then use that formula and only that one. An input that meets no condition is not in the domain, and conditions that overlap must give equal values on the overlap. Where a branch ends at , a filled dot marks an endpoint that its condition includes and a hollow dot one that it excludes.
At a switching input , compare the value the left formula approaches, the value the right formula approaches and the actual value . If the left branch approaches and the right branch approaches , the graph has a jump of size . If all three numbers agree the graph has no break there, though it may still have a corner. For example the function
has , a hollow dot at , a filled dot at and a jump of size .
Lessons Piecewise functions
Polynomials, sign charts and rational functions
A polynomial of degree has the form with . It is defined for every real , its graph has no breaks, and for it has at most real zeros. The number is a zero exactly when is a factor. A zero has multiplicity when with . At a real zero of odd multiplicity the graph crosses the axis, flattening against it when , and at one of even multiplicity it touches the axis and turns back. For the end behavior follows the leading term .
| Degree | ||
|---|---|---|
| even | rises at both ends | falls at both ends |
| odd | falls on the left, rises on the right | rises on the left, falls on the right |
For example crosses the axis at and , touches it from below at and rises at both ends.
A sign chart marks the critical inputs, which are the real zeros of every factor of the numerator and of the denominator of the original expression. Between neighboring critical inputs the sign cannot change, so one test value per interval decides it. To solve an inequality, move everything to one side, combine into one fraction and factor. Never multiply by a denominator whose sign is unknown. Include the zeros of the numerator for or , and never include a zero of a denominator. For example gives , and
gives .
A rational function is undefined at every real zero of the original denominator. Write it in lowest terms by canceling every common factor.
- A zero of the original denominator with leaves a hole at .
- A zero of gives a vertical asymptote , where the outputs grow without bound in size.
With leading terms on top and below, and not the zero polynomial, the far ends behave as follows.
| Degrees | Horizontal asymptote |
|---|---|
| none |
The graph can cross a horizontal asymptote, but never a vertical one. Its -intercepts are the zeros of the numerator that are not excluded. For example the function
has a hole at , the vertical asymptote , the horizontal asymptote , the -intercept and the -intercept . A function with is the graph of moved so that its asymptotes are and , as in .
Lessons Polynomial zeros and signs, Sign charts, Rational functions
Moving and scaling graphs
To move a graph, follow its points. For each new function ask which input makes the inside equal to an old input , then apply whatever is done to the output. Here and are real numbers and and are nonzero.
| New function | Point goes to | Effect |
|---|---|---|
| right by if , left by if | ||
| up by if , down by if | ||
| reflection in the -axis | ||
| reflection in the -axis | ||
| vertical scaling by , a stretch if and a compression if | ||
| horizontal scaling by , a compression if and a stretch if |
A negative or adds a reflection. The new domain is the set of whose inside lies in the domain of . In general the graph of takes each point to
For example with has domain and takes the point to . An input scaling and an output scaling are different operations, although for a few functions they coincide, as in for .
Lessons Shifts and reflections, Stretches and compressions
Connecting Functions and Curves
New functions are built from old ones by combining outputs at the same input, by feeding one output into another function, and by running a function backwards. Comparing two curves then comes down to the sign of their difference, and a circle splits into two functions.
Combining and composing functions
| Operation | Definition | Domain |
|---|---|---|
| Sum, difference, product | and | inputs in both domains |
| Quotient | inputs in both domains with | |
| Composition | inputs of with in the domain of |
A composition applies first, and the order matters. With and , the composite has domain , while has domain . The product multiplies outputs and is a different function from . Substitute the whole inner expression in parentheses, so and give
The domain comes from the original functions, not from the simplified formula. The quotient equals only on , and with and the composite equals only for . Along a chain of functions from a real situation, the output units of the inner function must be the input units the outer one expects.
Lessons Adding, multiplying and dividing, Composing functions
Inverse functions
A function is one-to-one on its domain when forces , which means that every horizontal line meets its graph at most once. A one-to-one function with domain and range has an inverse with domain and range , defined by
Then for every in and for every in . The point is on the graph of exactly when is on the graph of , so the two graphs are mirror images across the line when the axes share a scale. To find a formula, solve for and state the domain of the inverse. For example has the inverse for .
A function that is not one-to-one gets an inverse once its domain is restricted to a piece where it is one-to-one, and the chosen piece must be stated. On the function has the inverse
The symbol means the inverse function, not the reciprocal .
Lessons Inverse functions
Intersections and circles
The graphs of and meet at when is in both domains and , the same input with the same output. Solve on the common domain, and when a step such as squaring was used, check every candidate in the original equation. So gives the candidates and , and only is an intersection.
The difference is the signed vertical gap, positive where the graph of is higher. When and are continuous, keeps one sign between its zeros and the breaks of the common domain, so one test input per piece decides which graph is higher. Samples alone can miss two crossings. The values of at , , and are all positive, yet the line is higher on .
The distance between and is given by the first formula below, and the circle with center and radius by the second.
A circle is not the graph of a function of . Solving for gives two branches, each a function with domain .
| Branch | Formula | Range |
|---|---|---|
| Upper semicircle | ||
| Lower semicircle |
Completing the square in and in turns into , the circle with center and radius .
Lessons Curve intersections, Circles and semicircles
Exponential and Logarithmic Functions
An exponential function multiplies its output by the same factor over equal steps of input, and a logarithm undoes it by returning the exponent. Calculus prefers the natural base . Every law in this unit comes with the conditions that keep each power and logarithm defined.
Exponential functions
For a base with and a constant , the function is exponential with initial value . Each step of in the input multiplies the output by the same factor,
| Property | ||
|---|---|---|
| Name of | growth factor, with growth rate | decay factor, with loss per step |
| Direction of | increasing | decreasing |
| Asymptote | as | as |
Every such base gives for all real and , so has domain , range and -intercept . The graph of has the horizontal asymptote and never reaches it. The base and negative bases are left out. For example the amount keeps the fraction each hour, a loss of per hour.
The number is the exact constant
It is irrational, so keep it exact and round only at the end. Since , the natural exponential is increasing with range , and and . A scaled exponential with has base , so it grows when and decays when . Every base with equals for exactly one , namely .
Lessons Exponential functions, The natural exponential
Logarithms
For a base with and an argument ,
A logarithm is an exponent, and the natural logarithm is . The inverse identities are for every real and for every , and they give and .
| Property | ||
|---|---|---|
| Domain | ||
| Range | ||
| Asymptote | ||
| Points | and | and |
| Direction | increasing if , decreasing if | the same |
The two graphs are reflections of each other across the line . The natural logarithm is negative on , zero at and positive on , with and as . A negative output is fine, but a zero or negative argument has no real logarithm. The shifted logarithm has domain , vertical asymptote and -intercept .
The function takes the logarithm of the distance from , so its domain is every . It is even, with the increasing branch on and the decreasing branch on , zeros at , range and the vertical asymptote . For every ,
while is correct only for .
Lessons Logarithms as inverses, The natural logarithm, Logarithm of absolute value
Laws of exponents and logarithms
For a base and any real exponents and ,
With a negative base and a fractional exponent these laws can fail. For a base with , numbers and , and any real ,
| Law | Formula |
|---|---|
| Product | |
| Quotient | |
| Power | |
| Change of base | for any base with |
There is no law for . A rewrite holds only where every logarithm in it is defined, so state that set next to it. The expression is defined for and for , but it equals only for . Change of base gives and .
Lessons Exponent and logarithm laws
Solving exponential and logarithmic equations
Isolate the power first. An equation with a valid base has no solution when . Since exactly when , write both sides with a common base when you can, so becomes and gives . Otherwise take a logarithm of both sides, which needs both sides positive. From you get , so
For a logarithmic equation, find the allowed inputs from the original terms before combining them. Rewrite as and check every candidate in the original equation. From you get , so or , and only works. A substitution can help too. In put to get , and since only remains, which gives .
Lessons Exponential and logarithmic equations
Trigonometric Functions One at a Time
Each trigonometric function is read off the unit circle, with angles measured in radians. This unit studies the six functions and three inverse functions one at a time, with their domains, ranges and graphs, then the identities and equations that connect them.
Radians and the unit circle
On a circle of radius , an angle whose arc has length measures radians. A full turn is radians, or , so
Counterclockwise angles are positive and clockwise angles are negative. A rotation through moves a point on the circle a distance , and the angles and are coterminal when for an integer .
The terminal side of meets the unit circle at the point
so and both values lie in . The two special right triangles give the exact values.
| undefined |
The reference angle of an angle off the axes is the acute angle between its terminal side and the -axis. It gives the sizes of and , and the quadrant gives their signs.
| Quadrant | I | II | III | IV |
|---|---|---|---|---|
| Reference angle for | ||||
| Sign of | ||||
| Sign of |
For example lies in quadrant II with reference angle , so .
Lessons Radians, Unit circle and exact values
The six trigonometric functions
Here stands for any integer, and is the point of the unit circle at angle .
| Function | Definition | Domain | Range | Period |
|---|---|---|---|---|
| vertical coordinate of | ||||
| horizontal coordinate of | ||||
| Function | Zeros | Symmetry | Vertical asymptotes |
|---|---|---|---|
| odd | none | ||
| even | none | ||
| odd | |||
| odd | |||
| none | even | ||
| none | odd |
Sine equals exactly at and exactly at , while cosine equals at and at . The cosine graph is the sine graph shifted left by , since . Tangent increases on each interval , from just right of one asymptote to just left of the next. Cotangent decreases on each interval , from down to . Neither one is increasing or decreasing on its whole domain. Secant and cosecant are U-shaped branches that never take a value strictly between and , and each branch has its lowest point where cosine or sine equals or its highest point where it equals .
The identity holds only where both sine and cosine are nonzero, since while is undefined. The inputs are radians, so while .
For , and real , the waves
have amplitude , period , midline and range . A wave with highest value and lowest value has and .
Lessons Sine, Cosine, Tangent, Cotangent, Secant, Cosecant
Identities and equations
A trigonometric identity is true at every input where both sides are defined. Checking a few angles can refute a claimed identity, but it never proves one.
| Identity | Holds when |
|---|---|
| every real | |
| and | |
| and | |
| and | |
| and | every real |
| and | every real and integer |
Also exactly when . A replacement or a cancellation keeps the restrictions of the original expression, so
To solve a trigonometric equation, find the solutions in one period and then add whole periods. If is one solution, all solutions are given below, with any integer.
| Equation | All solutions |
|---|---|
| or | |
| or | |
| , with and in the domain of tangent |
The equations and have two solutions per turn when , one when and none when . For a scaled input , solve for over the whole interval that covers, then return to . On the inner angle of runs over , which gives four solutions, , , and . Discard a value such as that no angle gives, check every candidate in the original equation, and include an endpoint only when the interval is closed there.
Lessons Identities from the unit circle, Trigonometric equations
Inverse trigonometric functions
Each inverse function undoes its trigonometric function restricted to a principal branch, an interval where the function is one-to-one and still takes all of its values.
| Function | Domain | Principal range | Shape |
|---|---|---|---|
| increasing and odd | |||
| decreasing, with | |||
| increasing and odd |
The notation means , never , and the same holds for and . Arcsine and arccosine reach the values at the ends of their ranges, and their graphs have vertical tangent lines at their two endpoints. Arctangent never reaches , and its graph has the horizontal asymptotes as and as . Every angle with sine is or , every angle with cosine is , and every angle with tangent is .
Composing in one order always undoes the function on the domain of the inverse, as for and for every real . In the other order it works only on the principal branch, so only for in , only for in and only for in . For example
In a mixed composition the principal range decides the sign of the other coordinate.
| Expression | Equals | Holds for |
|---|---|---|
| and | ||
| every real | ||
For example , because that angle lies in , where its sine is positive.
Lessons Arcsine, Arccosine, Arctangent, Compositions
Trigonometric powers and products
For all real and ,
Setting gives the double-angle identities for every real ,
and solving for the squares gives power reduction,
Adding and subtracting the formulas for and gives the product-to-sum identities.
| Product | Sum |
|---|---|
The notation means , not . Replace by a whole expression at once, so . Reduce even powers with power reduction and split products of different angles with product-to-sum. For example , and
Undoing a square brings an absolute value, since .
Lessons Trigonometric powers and products
Geometry, Models, and Finite Changes
Calculus builds volumes, rates and optimization problems out of plain geometry and careful models. This unit collects the formulas and units, the proportions of similar triangles, the steps that turn a situation into a function of one input, and the difference quotient that the derivative starts from.
Geometry formulas and units
| Shape | Formula | Notes |
|---|---|---|
| Circle | and | radius , diameter |
| Rectangle | sides and | |
| Triangle | height perpendicular to the line of the base | |
| Annulus | radii | |
| Box | edges , and | |
| Cylinder | and side area | radius and height |
| Cone | height along the axis, not the slanted side |
Lengths, areas and volumes are never negative. Only quantities with the same unit may be added or compared, and units multiply along with the numbers, so an area comes out in square units and a volume in cubic units. Conversion factors are squared or cubed with them, as , and . Convert every length to one unit before using a formula.
Triangles with two pairs of equal angles are similar. Their corresponding sides, the sides opposite equal angles, all have the same ratio , so every length is multiplied by and every area by . A proportion with and is equivalent to . At one moment of sunlight, a meter pole with a meter shadow shows that a tree with a meter shadow is meters tall.
In a cone tank with its vertex down, height cm and top radius cm, water at depth forms a similar cone, so and
At half the depth the water fills only one eighth of the tank.
Lessons Geometry formulas and units, Similar triangles
Building a model
A model is a function or equation together with the assumptions under which it holds. Variables can change within the situation and constants are fixed. A parameter is held fixed during one calculation but may change from one model to the next. A constraint ties the variables together, and solving it for one variable leaves a function of a single input. The physical domain keeps only the inputs that make sense, with strict or weak inequalities that match the assumptions. With meters of fencing, a rectangular pen of width has length from the constraint , so
A piecewise model covers its domain with pieces that do not overlap, and it has no jump at a breakpoint exactly when the neighboring pieces agree there. A courier charging dollars plus dollars per kilometer for the first kilometers and dollar per kilometer beyond that charges
Both pieces give dollars at , so the cost has no jump.
Lessons Building a model
Difference quotients
For , with and in the domain of , the difference quotient
is the slope of the secant line through and . The step may be negative. Find by substituting for every input, since in general is neither nor . Factor out of the whole numerator before canceling it, and keep and every other restriction on each simplified form.
| Function | Difference quotient | Allowed steps |
|---|---|---|
| at | ||
| at | ||
| at | and |
These simplified forms make sense at , but the difference quotient does not. That gap is what the limit in calculus deals with.
Lessons Difference quotients
Algebra Used in Integration and Series
Integrating rational functions and working with series rely on a few exact rewrites. This unit divides polynomials, splits proper fractions into partial fractions, and reads indexed terms, factorials and finite sums without changing their values.
Polynomial division
For polynomials and with not the zero polynomial, there are unique polynomials and with
where is the zero polynomial or . This is an identity for every real , and multiplying back checks it. Long division repeats one step, dividing the leading term of what remains by the leading term of , with zero coefficients written for missing powers. The remainder on division by is , and is a factor of exactly when is zero.
A rational expression is proper when its numerator is zero or has a lower degree than its denominator. Division writes every rational expression as a polynomial plus a proper part,
For example
and . The fraction keeps its excluded values even when is zero, so only for .
Lessons Polynomial division
Partial fractions
Partial fractions apply only to a proper expression, so divide first when the numerator has degree at least that of the denominator. Then factor the denominator into real linear factors and irreducible quadratics, the quadratics with .
| Factor of the denominator | Terms in the decomposition |
|---|---|
| irreducible | |
| irreducible | one term for each |
The decomposition always exists and its coefficients are unique. Multiply both sides by the denominator, then match the coefficients of each power of or substitute convenient values. The cleared equation is a polynomial identity, true at every real , so substituting a root of the denominator into it is legitimate, though the fractions themselves are undefined there. For example
and for
In series the same idea gives for and .
Lessons Partial fractions
Indices, factorials and binomial coefficients
An indexed list gives one term for each integer from a stated starting index on. The subscript is a position, so is the next term while adds to the current one, and usually differs from . To shift the index, replace every by , so gives
A factor switches sign at every step, and , while for every . The consecutive-term ratio , for , simplifies by multiplying by the reciprocal of . For it is .
For an integer the factorial is , and by convention, so for every integer . Factorials need integers and do not distribute, so and are not identities (each holds only at ). For integers the binomial coefficient is
It counts the ways to choose positions out of , it is a positive integer, and . For every integer and all real and ,
where and are read as even when or is zero. For example the coefficient of in is . A negative or fractional exponent has no finite expansion.
Lessons Indexed terms, Factorials and binomial coefficients
Finite sums
For integers ,
a sum of terms with both bounds included. Put parentheses around a summand with more than one term. The index is a dummy, so renaming it does not change the sum, while a letter such as in the bounds stays in the answer.
| Rule | Formula |
|---|---|
| Linearity | |
| Constant summand | |
| First integers | |
| Shift by an integer | |
| Telescoping |
When reindexing, change both bounds by the same amount and check the first and last terms. For example , and for every positive integer
Lessons Finite sums