Continuous manuscript · 32 chapters

Precalculus

One continuous manuscript. Worked solutions and resource URLs are included when printing; no interactive control is required to understand a chapter.

Study plan →

Mathematics Project · James Howard

Precalculus

Functions, trigonometry, geometry, and discrete models

Textbook draft · November 2026

Independent mathematical and classroom review remain open.

Independent educational material; no tuition, accreditation, academic credit, or required account.

How to use this book

Read with pencil and paper. Reproduce the worked examples, then attempt the exercises before consulting the solutions. Keep domain restrictions with each algebraic step, draw the graphs, and check results in the original equation. A modeled quantity should have units and a feasible domain.

The opening chapters assume signed arithmetic and fractions, then develop the algebra used throughout the book. Later chapters introduce trigonometry from radian geometry and the unit circle. The concluding investigation connects these topics to the start of calculus.

The external readings and videos offer supplementary explanations and practice. Their links open the provider's site; caption and download options belong to that provider.

Part 1

Algebra and coordinate foundations

Chapter 1 · Week 1

Real Numbers, Intervals, and Measurements

Work with exact values, numerical approximations, sets, and units.

Prerequisites: Arithmetic with signed numbers and fractions.

Learning objectives

  • Classify exact and approximate numerical values.
  • Translate interval and set notation.
  • Track units and measurement tolerance in a calculation.

A length of 3/23/2 metres and a length reported as 1.51.5 metres can have the same numerical value while carrying different information. The fraction may be an exact result of a geometric construction. The decimal may be a rounded reading from an instrument. Before calculating with either, we need to distinguish the mathematical number from the measurement it represents.

We will use exact numbers to establish relationships, then approximate them when a numerical decision requires it. Keeping the units and the allowed inputs with a calculation will also prevent several algebraic mistakes later in the book.

Numbers on a line

Integers include zero, positive whole numbers, and their negatives. A rational number has the form p/qp/q for integers p,qp,q with q≠0q\ne0. Its decimal expansion terminates or eventually repeats. For example, 7/8=0.8757/8=0.875 and 2/11=0.18‾2/11=0.\overline{18}. The bar identifies the repeating block; a displayed decimal without a bar or a stated continuation is a finite number.

The real numbers also include irrational numbers such as 2\sqrt2. To see why 2\sqrt2 cannot be a fraction in lowest terms, suppose 2=p/q\sqrt2=p/q. Then p2=2q2p^2=2q^2, so pp is even. Writing p=2kp=2k gives q2=2k2q^2=2k^2, so qq is also even, contradicting lowest terms. The diagonal of a unit square therefore introduces a real length that integer ratios cannot express.

Each real number is a point on the real line. The absolute value ∣x∣|x| is its distance from zero, so ∣−3∣=3|-3|=3. More generally, ∣x−a∣|x-a| is the distance between xx and aa. Distance is nonnegative even when the coordinates are negative.

Sets describe allowed values

The interval [a,b][a,b] includes both endpoints; (a,b)(a,b) excludes them. Mixed brackets include just one endpoint. Thus [−2,3)[-2,3) describes −2≤x<3-2\le x<3. Infinity is a direction of unbounded extent rather than an endpoint number, so we write [0,∞)[0,\infty) with a parenthesis at infinity.

Union combines allowed sets, while intersection retains values belonging to both. If a quantity must satisfy x≥−2x\ge-2 and x<3x<3, its allowed set is the intersection [−2,∞)∩(−∞,3)=[−2,3)[-2,\infty)\cap(-\infty,3)=[-2,3). If it may instead lie below −2-2 or above 33, the set is (−∞,−2)∪(3,∞)(-\infty,-2)\cup(3,\infty).

Set-builder notation names the condition directly: {x∈R:∣x−4∣<0.2}\{x\in\mathbb R:|x-4|<0.2\}. Since the distance from 4 is less than 0.20.2, this is (3.8,4.2)(3.8,4.2). We will use this form when a restriction is easier to state than to list.

Exact arithmetic and approximation

Evaluate 3(2−5)2−4/23(2-5)^2-4/2 by first carrying out the parentheses, then the power, then multiplication and division, and finally addition and subtraction. The result is 3(9)−2=253(9)-2=25. A negative sign outside a power acts differently from a negative base: −32=−9-3^2=-9, whereas (−3)2=9(-3)^2=9.

The exact diagonal of a square of side 2 is 222\sqrt2. Reporting it as 2.8282.828 introduces an approximation. If a tolerance requires error below 0.0010.001, rounding to three decimal places is sufficient here; a stated exact formula remains useful when later calculations would amplify rounding.

For a measured value mm and reference value a≠0a\ne0, absolute error is ∣m−a∣|m-a| and relative error is ∣m−a∣/∣a∣|m-a|/|a|. An error of one centimetre is small for a road length and substantial for a two-centimetre component. At reference value zero, this relative-error formula is undefined, so use an appropriate absolute tolerance.

Units participate in the calculation

A conversion multiplies by a ratio equal to one. Since one hour is 60 minutes,

90kmhour⋅1 hour60 minutes=1.5kmminute.90\frac{\mathrm{km}}{\mathrm{hour}} \cdot\frac{1\ \mathrm{hour}}{60\ \mathrm{minutes}} =1.5\frac{\mathrm{km}}{\mathrm{minute}}.

The cancelled unit identifies why the conversion factor has this orientation. For area, square the length conversion: 1 m2=10,000 cm21\ \mathrm{m}^2=10{,}000\ \mathrm{cm}^2. Using 100 instead would convert only one of the two length factors.

Suppose a rod is reported as 20.020.0 centimetres with an absolute tolerance of 0.10.1 centimetre. The specification ∣L−20.0∣≤0.1|L-20.0|\le0.1 gives 19.9≤L≤20.119.9\le L\le20.1. If two such rod lengths are added, their sum lies in [39.8,40.2][39.8,40.2]. This is a worst-case interval statement, requiring no probability model for the errors.

Exercises

  1. Write [−1,4)∩(2,7][-1,4)\cap(2,7] as one interval.
  2. Express ∣x+2∣≤3|x+2|\le3 as an interval.
  3. Evaluate −24+(−2)4+3(5−2)-2^4+(-2)^4+3(5-2).
  4. Convert 7272 kilometres per hour to metres per second.
  5. A measurement is 49.5 while a nonzero reference is 50. Find absolute and relative error.
  6. Two lengths lie in [4.8,5.2][4.8,5.2] and [2.9,3.1][2.9,3.1] metres. Bound their sum and the first minus the second.
Worked solutions
  1. Both conditions hold for 2<x<42<x<4, so the intersection is (2,4)(2,4).
  2. Distance at most 3 from −2-2 gives [−5,1][-5,1].
  3. The first two terms are −16-16 and 1616, which cancel. The remaining term is 9.
  4. Multiply by 1000/36001000/3600, giving 2020 metres per second.
  5. Absolute error is 0.50.5 and relative error is 0.5/50=0.010.5/50=0.01, or 1%.
  6. The sum lies in [7.7,8.3][7.7,8.3]. The difference is smallest at 4.8−3.1=1.74.8-3.1=1.7 and largest at 5.2−2.9=2.35.2-2.9=2.3, giving [1.7,2.3][1.7,2.3].

Open this chapter with navigation →

Chapter 2 · Week 1

Powers, Radicals, and Numerical Scales

Derive exponent rules and apply rational powers on their real domains.

Prerequisites: Signed arithmetic and interval notation.

Learning objectives

  • Apply integer and rational exponent rules with domain restrictions.
  • Simplify radicals without losing absolute values.
  • Calculate and interpret scientific notation and scale changes.

Doubling the side of a square multiplies its area by four. Doubling the radius of a sphere multiplies its volume by eight. Powers record how a quantity depends on repeated factors, and exponent rules let us compare those factors without expanding a long product. Roots reverse a power on a suitably restricted domain.

Deriving integer exponent rules

For a positive integer nn, ana^n is a product of nn copies of aa. Joining products gives aman=am+na^ma^n=a^{m+n}. Grouping a product of mm copies repeated nn times gives (am)n=amn(a^m)^n=a^{mn}. These arguments establish the rules for positive integer exponents.

For a≠0a\ne0, cancellation gives am/an=am−na^m/a^n=a^{m-n} when m≥nm\ge n. Extending this rule consistently requires a0=1a^0=1 and a−n=1/ana^{-n}=1/a^n. Thus 2−3=1/82^{-3}=1/8. The negative exponent indicates a reciprocal, so it does not make the value negative.

For nonzero bases the usual integer rules now hold for negative exponents as well. An expression such as x−2x^{-2} excludes zero. We leave 000^0 undefined in the elementary expression rules used here; assigning it a value in a separate combinatorial convention would be a separate definition.

For a,b≠0a,b\ne0,

(a3b−2)2a−1b=a6b−4a−1b=a7b−5=a7b5.\frac{(a^3b^{-2})^2}{a^{-1}b} =\frac{a^6b^{-4}}{a^{-1}b} =a^7b^{-5}=\frac{a^7}{b^5}.

The original restrictions remain even if a later simplification conceals a negative power.

Roots and their real domains

The principal square root x\sqrt x is the nonnegative real number whose square is xx, so it requires x≥0x\ge0. Solving y2=9y^2=9 gives two solutions, y=±3y=\pm3, while the expression 9\sqrt9 denotes only 3. In particular, x2=∣x∣\sqrt{x^2}=|x|. For x=−4x=-4, the square root is 4, which shows why replacing it with xx can fail.

An odd root allows every real input: −83=−2\sqrt[3]{-8}=-2. An even root uses a nonnegative input and returns a nonnegative value. For a rational exponent m/nm/n in lowest terms with n>0n>0, define xm/n=(xn)mx^{m/n}=(\sqrt[n]x)^m wherever this is real, additionally excluding zero for a negative exponent. Reducing the fraction first matters for negative bases: (−8)2/6=(−8)1/3=−2(-8)^{2/6}=(-8)^{1/3}=-2 under this convention.

For a positive base, rational powers obey the exponent laws without this sign ambiguity. We will normally restrict to x>0x>0 when allowing arbitrary real exponents. Extending exponent laws across negative bases without checking root conventions can give contradictions.

Simplification by factors and conjugates

For nonnegative factors, ab=ab\sqrt{ab}=\sqrt a\sqrt b. Thus 72=62\sqrt{72}=6\sqrt2. This product rule does not extend to arbitrary negative real factors within real arithmetic, where the separate square roots would be undefined.

To simplify a denominator involving a square root, multiply by a conjugate:

15−2=5+2(5−2)(5+2)=5+2.\frac1{\sqrt5-2} =\frac{\sqrt5+2}{(\sqrt5-2)(\sqrt5+2)} =\sqrt5+2.

The product in the denominator is 5−4=15-4=1. This calculation uses the difference-of-squares identity, which will also simplify expressions whose numerator and denominator both become small.

Scientific notation and scale

Scientific notation writes a nonzero number as c10kc10^k with 1≤∣c∣<101\le|c|<10 and integer kk. Multiplying 3.2×1053.2\times10^5 by 4×10−34\times10^{-3} gives 12.8×102=1.28×10312.8\times10^2=1.28\times10^3. The last step restores the coefficient convention.

For a model A(s)=Cs2A(s)=Cs^2, replacing ss by ksks gives A(ks)=k2A(s)A(ks)=k^2A(s). If a side length increases by 10%, k=1.1k=1.1, so area increases by 21%. The squared dependence determines the percentage change; doubling the percentage is only a small-change approximation.

Exercises

  1. Simplify x3x−5x^3x^{-5} and state its restriction.
  2. Evaluate 163/416^{3/4} using the principal real root.
  3. Simplify 9x2\sqrt{9x^2} for real xx.
  4. Rationalize 1/(3−1)1/(\sqrt3-1).
  5. Calculate (6×107)/(2×10−2)(6\times10^7)/(2\times10^{-2}) in scientific notation.
  6. A sphere’s radius is multiplied by 1.21.2. By what factor does its volume change?
Worked solutions
  1. x−2=1/x2x^{-2}=1/x^2, with x≠0x\ne0 from the original negative power.
  2. The fourth root of 16 is 2, whose cube is 8.
  3. The result is 3∣x∣3|x|. The absolute value keeps the square root nonnegative.
  4. Multiplying by 3+1\sqrt3+1 gives (3+1)/2(\sqrt3+1)/2.
  5. Divide coefficients and subtract exponents: 3×1093\times10^9.
  6. Volume is proportional to radius cubed, so the factor is 1.23=1.7281.2^3=1.728, an increase of 72.8%.

Open this chapter with navigation →

Chapter 3 · Week 2

Algebraic Expressions and Factoring

Use distributivity, structure, and restrictions to rewrite expressions.

Prerequisites: Exponent laws and arithmetic with fractions.

Learning objectives

  • Expand and factor polynomial expressions.
  • Simplify rational expressions on their original domains.
  • Verify algebraic identities by structural reasoning.

An expression can have several useful forms. Expanding (x−3)(x+2)(x-3)(x+2) makes its coefficients visible. Keeping it factored makes its zeros visible. Rewriting changes how we inspect the expression, and an identity tells us that the rewritten forms agree at every input for which the operations are defined.

Distributivity and like terms

The distributive law a(b+c)=ab+aca(b+c)=ab+ac is the basis of polynomial arithmetic. Applying it twice gives

(x−3)(x+2)=x2+2x−3x−6=x2−x−6.(x-3)(x+2)=x^2+2x-3x-6=x^2-x-6.

The middle terms combine because they are multiples of the same quantity xx. Terms xx and x2x^2 cannot be combined that way. Their values vary differently with the input.

Repeated distributivity gives useful identities:

(a+b)2=a2+2ab+b2,a2−b2=(a−b)(a+b).(a+b)^2=a^2+2ab+b^2,\qquad a^2-b^2=(a-b)(a+b).

The cross term 2ab2ab in the first identity accounts for both products abab and baba. Omitting it would make (1+1)2(1+1)^2 equal 2. A numerical substitution like this can disprove an incorrect identity, although agreement at a few inputs cannot prove a proposed identity.

Factoring reverses expansion

Begin by looking for a common factor. In 6x3−9x26x^3-9x^2, both terms contain 3x23x^2, giving 3x2(2x−3)3x^2(2x-3). To factor x2+5x+6x^2+5x+6, seek constants whose product is 6 and sum is 5. They are 2 and 3, so the factors are (x+2)(x+3)(x+2)(x+3).

For 2x2+7x+32x^2+7x+3, the leading coefficient must also be accounted for. The product (2x+1)(x+3)(2x+1)(x+3) expands to 2x2+7x+32x^2+7x+3. Grouping supplies another route: split 7x7x into 6x+x6x+x, obtaining 2x(x+3)+(x+3)2x(x+3)+(x+3), then factor the common binomial.

Recognizing a structure is more useful than guessing indefinitely. The difference 8x3−278x^3-27 has the form a3−b3a^3-b^3:

a3−b3=(a−b)(a2+ab+b2),a^3-b^3=(a-b)(a^2+ab+b^2),

which gives (2x−3)(4x2+6x+9)(2x-3)(4x^2+6x+9). Expanding the product verifies the identity and explains the cancellation of its intermediate terms.

Factoring over a specified number system also matters. The polynomial x2+1x^2+1 does not factor into real linear factors. Later, complex numbers will provide a larger number system in which it does.

Rational expressions retain excluded inputs

A rational expression is a quotient of polynomials. Its denominator must be nonzero. For

x2−9x2−x−6=(x−3)(x+3)(x−3)(x+2)=x+3x+2,\frac{x^2-9}{x^2-x-6} =\frac{(x-3)(x+3)}{(x-3)(x+2)} =\frac{x+3}{x+2},

the original expression requires x≠3,−2x\ne3,-2. Cancellation is multiplication by the reciprocal of a nonzero common factor. It therefore applies only away from x=3x=3. The final formula without that restriction would define a different function at 3.

Factors, rather than individual terms, cancel. In (x+3)/(x+2)(x+3)/(x+2), deleting both xx terms would give 3/23/2, which disagrees with the original expression at x=1x=1. To add rational expressions, first produce a common denominator:

1x+1x+1=2x+1x(x+1),x≠0,−1.\frac1x+\frac1{x+1} =\frac{2x+1}{x(x+1)},\qquad x\ne0,-1.

The numerator counts contributions from both fractions; denominators do not simply add.

Structure makes differences manageable

For a square function, the expression (a+h)2−a2(a+h)^2-a^2 becomes 2ah+h2=h(2a+h)2ah+h^2=h(2a+h). When h≠0h\ne0, dividing by hh leaves 2a+h2a+h. This small calculation will return in the last chapter as an average-rate calculation. The algebra identifies a common factor while preserving the exclusion at h=0h=0.

For radicals, the related identity (u−v)(u+v)=u−v(\sqrt u-\sqrt v)(\sqrt u+\sqrt v)=u-v converts a difference of roots into a difference of their arguments. Require u,v≥0u,v\ge0, and check that any factor used as a denominator is nonzero.

Exercises

  1. Expand (2x−3)2(2x-3)^2.
  2. Factor 3x2−123x^2-12 completely over the reals.
  3. Factor x2−x−12x^2-x-12 and verify by expansion.
  4. Simplify (x2−4)/(x2+x−6)(x^2-4)/(x^2+x-6) with original restrictions.
  5. Combine 2/x−1/(x+2)2/x-1/(x+2).
  6. Simplify [(a+h)3−a3]/h[(a+h)^3-a^3]/h for h≠0h\ne0.
Worked solutions
  1. 4x2−12x+94x^2-12x+9; both cross products contribute −6x-6x.
  2. 3(x−2)(x+2)3(x-2)(x+2).
  3. (x−4)(x+3)=x2−x−12(x-4)(x+3)=x^2-x-12.
  4. Factoring gives (x−2)(x+2)/[(x−2)(x+3)](x-2)(x+2)/[(x-2)(x+3)], so the result is (x+2)/(x+3)(x+2)/(x+3) with x≠2,−3x\ne2,-3.
  5. The common denominator gives (x+4)/[x(x+2)](x+4)/[x(x+2)], with x≠0,−2x\ne0,-2.
  6. Expand the cube to obtain 3a2h+3ah2+h33a^2h+3ah^2+h^3 in the numerator. Division gives 3a2+3ah+h23a^2+3ah+h^2.

Open this chapter with navigation →

Chapter 4 · Week 2

Equations and Equivalent Steps

Solve linear, rational, radical, and absolute-value equations while retaining valid solutions.

Prerequisites: Factoring, fractions, and real square roots.

Learning objectives

  • Distinguish reversible operations from steps that introduce candidates.
  • Solve rational and radical equations with checks.
  • Express and verify an equation’s solution set.

An equation specifies a condition on an unknown value. Solving it means finding every allowed value satisfying that condition. Some algebraic operations preserve exactly the same solution set; others produce a larger set of candidates that must be checked in the original equation.

Reversible steps preserve the solution set

Adding the same quantity to both sides is reversible by subtraction. Multiplying both sides by a fixed nonzero number is reversible by division. Thus 3x−5=163x-5=16 is equivalent to 3x=213x=21 and then x=7x=7. Substitution checks 3(7)−5=163(7)-5=16.

Multiplication by an expression involving xx needs more care. Multiplying x=1x=1 by xx gives x2=xx^2=x, whose solutions are 0 and 1. At zero, the multiplier erased the original disagreement. Dividing by an expression can instead lose a solution: dividing x(x−2)=0x(x-2)=0 by xx would discard x=0x=0.

The zero-product property supplies the appropriate argument. A product of real numbers is zero only if at least one factor is zero. Thus x(x−2)=0x(x-2)=0 gives the two solutions 0 and 2 without dividing by an unknown factor.

Linear equations can determine a value or a condition

For 2(x+3)=2x+62(x+3)=2x+6, expansion gives the same expression on both sides, so every real xx solves the equation. For 2(x+3)=2x+72(x+3)=2x+7, cancellation leaves 6=76=7, so there is no solution.

A parameter can separate these possibilities. In (k−1)x=2(k-1)x=2, if k≠1k\ne1 there is one solution x=2/(k−1)x=2/(k-1). If k=1k=1, the equation becomes 0=20=2 and has none. Reporting the quotient without its parameter restriction would conceal the second case.

Rational equations begin with exclusions

Solve

1x−1+1x+1=1.\frac1{x-1}+\frac1{x+1}=1.

The original domain excludes ±1\pm1. Multiplying by (x−1)(x+1)(x-1)(x+1) is reversible on that domain and gives 2x=x2−12x=x^2-1. The resulting quadratic is x2−2x−1=0x^2-2x-1=0, so x=1±2x=1\pm\sqrt2. Neither candidate is excluded, and substitution or the reversible chain confirms both.

Restrictions should be written before clearing denominators. For (x2−1)/(x−1)=2(x^2-1)/(x-1)=2, simplification gives x+1=2x+1=2, whose candidate x=1x=1 is excluded. Consequently the original equation has no solution even though the simplified equation does.

Squaring a radical equation produces candidates

Consider x+2=x\sqrt{x+2}=x. The square root requires x≥−2x\ge-2, and equality with its nonnegative output requires x≥0x\ge0. Squaring gives x+2=x2x+2=x^2, or (x−2)(x+1)=0(x-2)(x+1)=0. The candidates are 2 and −1-1, but −1-1 fails the sign requirement and the original equation. Only 2 remains.

Squaring is reversible if both compared quantities are known to be nonnegative. Without that sign information, u2=v2u^2=v^2 permits both u=vu=v and u=−vu=-v. This accounts for extraneous solutions rather than treating them as an unexplained nuisance.

If two radicals occur, isolate one before squaring so that the remaining expression can be examined. Keep the original domain and check the final finite candidate list. A symbolic calculator may perform the same squaring steps without preserving every condition in its displayed result.

Absolute value separates directions

The equation ∣2x−3∣=5|2x-3|=5 says the signed quantity 2x−32x-3 is either 5 or −5-5. Solving these linear equations gives x=4x=4 and x=−1x=-1. An equation ∣u∣=c|u|=c has no real solution when c<0c<0; for c=0c=0, it requires u=0u=0.

With an expression on the right, first retain its nonnegative condition. For ∣x−1∣=x+1|x-1|=x+1, we need x≥−1x\ge-1. On x≥1x\ge1, the left side is x−1x-1, yielding an impossibility. On −1≤x<1-1\le x<1, it is 1−x1-x, yielding x=0x=0. Checking gives 1=11=1.

Exercises

  1. Solve 4(x−2)=2x+64(x-2)=2x+6.
  2. Classify the solution set of 5(x+1)=5x+55(x+1)=5x+5.
  3. Solve x(x+3)=0x(x+3)=0 without dividing by xx.
  4. Solve (x2−4)/(x−2)=4(x^2-4)/(x-2)=4 on its original domain.
  5. Solve x+6=x\sqrt{x+6}=x and check both quadratic candidates.
  6. Solve ∣3x+2∣=7|3x+2|=7.
Worked solutions
  1. 4x−8=2x+64x-8=2x+6 gives x=7x=7.
  2. Both sides are identical after expansion, so every real value solves it.
  3. A zero factor gives x=0x=0 or x=−3x=-3.
  4. The domain excludes 2. Simplification gives x+2=4x+2=4, whose only candidate is excluded. There is no solution.
  5. Squaring gives (x−3)(x+2)=0(x-3)(x+2)=0. The candidate −2-2 cannot equal a nonnegative square root. The solution is 3, for which both sides equal 3.
  6. Solve 3x+2=73x+2=7 or 3x+2=−73x+2=-7, obtaining x=5/3x=5/3 or x=−3x=-3.

Open this chapter with navigation →

Chapter 5 · Week 3

Inequalities and Distance

Use order, absolute value, and sign charts to describe feasible inputs.

Prerequisites: Intervals, factoring, and equations.

Learning objectives

  • Solve linear and compound inequalities.
  • Interpret absolute-value inequalities as distance statements.
  • Construct sign charts for products and quotients.

A production plan may require a quantity to lie within a budget or outside an unsafe range. Such a condition generally permits an interval of values rather than a single root. Inequalities describe these feasible sets, and their algebra must retain the direction of the comparison.

Multiplication and order

Adding the same real number preserves an inequality. Multiplication by a positive number preserves its direction; multiplication by a negative number reverses it. On a number line, multiplying by −1-1 reflects the points, exchanging left and right.

For −3x+2<11-3x+2<11, subtract 2 to obtain −3x<9-3x<9, then divide by −3-3 to get x>−3x>-3. Testing x=0x=0 confirms that a value on the selected side satisfies the original inequality.

A compound condition joined by “and” requires intersection. Solving −1≤2x+3<9-1\le2x+3<9 gives −2≤x<3-2\le x<3. A condition joined by “or” combines sets by union. Keep the endpoint conventions with the final interval notation.

Absolute value measures distance

For r>0r>0, ∣x−a∣<r|x-a|<r means that xx lies inside a radius-rr neighborhood of aa:

a−r<x<a+r.a-r<x<a+r.

By contrast, ∣x−a∣>r|x-a|>r places xx on either outside ray. Thus ∣x−2∣≥3|x-2|\ge3 gives x≤−1x\le-1 or x≥5x\ge5. The weak inequality includes both boundary points.

For ∣3x+1∣≤5|3x+1|\le5, write −5≤3x+1≤5-5\le3x+1\le5. Subtracting and dividing by 3 gives −2≤x≤4/3-2\le x\le4/3. If the right side of an absolute-value inequality is negative, its sign may settle the question immediately: ∣u∣≤−1|u|\le-1 has no solutions, while ∣u∣>−1|u|>-1 holds wherever uu is defined.

Product signs divide the line into intervals

To solve (x−1)(x+3)>0(x-1)(x+3)>0, mark the zeros −3-3 and 1. On each of the three resulting intervals, neither factor changes sign, so one test value determines the product sign throughout that interval. The signs are positive, negative, and positive from left to right. The solution is (−∞,−3)∪(1,∞)(-\infty,-3)\cup(1,\infty).

The constancy of sign follows from the factors themselves: x−1x-1 is negative before 1 and positive after it, while x+3x+3 changes at −3-3. We are not assuming that a few sampled values can describe an arbitrary function between them.

An even-multiplicity factor such as (x−1)2(x-1)^2 has the same sign on both sides of its zero. For (x−1)2(x+2)≥0(x-1)^2(x+2)\ge0, the sign away from 1 is determined by x+2x+2. The solution is [−2,∞)[-2,\infty), which includes the squared factor’s zero.

Rational inequalities preserve forbidden points

For

x−2x+1≤0,\frac{x-2}{x+1}\le0,

mark the numerator zero 2 and the forbidden denominator zero −1-1. The quotient is positive on (−∞,−1)(-\infty,-1), negative on (−1,2)(-1,2), and positive on (2,∞)(2,\infty). Include 2 because the quotient equals zero there; exclude −1-1 because it is undefined. The solution is (−1,2](-1,2].

Multiplying the inequality by x+1x+1 without knowing its sign would skip this distinction. A sign chart handles both sign cases while retaining the exclusion.

For a comparison with a nonzero right side, bring everything to one quotient first. The inequality 1/x>11/x>1 becomes (1−x)/x>0(1-x)/x>0 with x≠0x\ne0, giving 0<x<10<x<1. Multiplication by xx without splitting its sign could incorrectly lose or add an entire interval.

Applying more than one constraint

Suppose a hypothetical cost model is C(q)=100+4qC(q)=100+4q dollars, production is nonnegative, and the budget is at most 300 dollars. The budget condition gives q≤50q\le50, so the continuous feasible set is [0,50][0,50]. If whole items are required, the feasible inputs are the integers in that interval. The algebraic inequality and the decision’s domain contribute separate restrictions.

Exercises

  1. Solve 5−2x≥115-2x\ge11.
  2. Write the solution of ∣x+4∣<2|x+4|<2 in interval notation.
  3. Solve ∣2x−1∣≥3|2x-1|\ge3.
  4. Solve (x−2)(x+1)≤0(x-2)(x+1)\le0.
  5. Solve (x+2)/(x−3)>0(x+2)/(x-3)>0.
  6. Find the domain of (x−1)/(x+2)\sqrt{(x-1)/(x+2)} as a real expression.
Worked solutions
  1. −2x≥6-2x\ge6 gives x≤−3x\le-3 after reversing the inequality.
  2. The center is −4-4 and radius 2, giving (−6,−2)(-6,-2).
  3. Either 2x−1≥32x-1\ge3 or 2x−1≤−32x-1\le-3, giving (−∞,−1]∪[2,∞)(-\infty,-1]\cup[2,\infty).
  4. The product is nonpositive between its roots, including both: [−1,2][-1,2].
  5. Numerator and denominator have the same sign on (−∞,−2)(-\infty,-2) and (3,∞)(3,\infty). The strict inequality excludes −2-2; the denominator excludes 3.
  6. The quotient must be nonnegative and its denominator nonzero. Its sign chart gives (−∞,−2)∪[1,∞)(-\infty,-2)\cup[1,\infty).

Open this chapter with navigation →

Chapter 6 · Week 3

Coordinates, Lines, and Distance

Build coordinate equations from geometry and interpret slope with units.

Prerequisites: Equations, square roots, and the Pythagorean theorem.

Learning objectives

  • Calculate distances, midpoints, and slopes.
  • Write and compare line equations.
  • Translate circle geometry into a coordinate equation.

Coordinates turn geometric relationships into equations. A point records two quantities in a chosen order, so its axes and units are part of the description. In a distance calculation both coordinates must use compatible length units; in a time–position graph, the slope instead compares two different kinds of quantity.

Distance and midpoint

For points P=(x1,y1)P=(x_1,y_1) and Q=(x2,y2)Q=(x_2,y_2), the horizontal and vertical coordinate differences form the legs of a right triangle. Pythagoras gives

d(P,Q)=(x2−x1)2+(y2−y1)2.d(P,Q)=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}.

For P=(−1,2)P=(-1,2) and Q=(5,10)Q=(5,10), the differences are 6 and 8, giving distance 10. Reversing their order negates both differences but leaves their squares unchanged.

The midpoint averages the coordinates: M=((x1+x2)/2,(y1+y2)/2)M=((x_1+x_2)/2,(y_1+y_2)/2). Here M=(2,6)M=(2,6), and its coordinate differences from either endpoint are half the full differences. Its distance from either is therefore 5.

Distance depends on the coordinate scale. If one axis is in metres and the other in centimetres, convert before using the formula. A graph with unequal display scales can also make a perpendicular pair of coordinate directions look misleadingly stretched.

Slope is a rate between coordinates

For x1≠x2x_1\ne x_2, the slope of the line through P,QP,Q is

m=y2−y1x2−x1.m=\frac{y_2-y_1}{x_2-x_1}.

Every pair of distinct points on a nonvertical line gives the same slope. A horizontal line has slope zero; a vertical line has undefined slope because its horizontal change is zero.

If xx is elapsed hours and yy is distance in kilometres, slope has units kilometres per hour. For a line through (2,30)(2,30) and (5,75)(5,75), the slope is 15. Its interpretation depends on whether the vertical coordinate is position, cumulative distance, cost, or another measured quantity.

Forms of a line equation

A line of slope mm through (x0,y0)(x_0,y_0) satisfies y−y0=m(x−x0)y-y_0=m(x-x_0). This point-slope form follows directly from the constant ratio of changes. Expanding gives y=mx+by=mx+b, where b=y0−mx0b=y_0-mx_0 is the vertical intercept.

Through (−1,2)(-1,2) with slope 3, the equation is y−2=3(x+1)y-2=3(x+1), or y=3x+5y=3x+5. Setting y=0y=0 finds the horizontal intercept x=−5/3x=-5/3.

The general form Ax+By=CAx+By=C, with A,BA,B not both zero, also includes vertical lines. If B≠0B\ne0, solve for yy to recover slope −A/B-A/B. If B=0B=0, the line is x=C/Ax=C/A. The equation 0x+0y=C0x+0y=C instead describes either the entire plane when C=0C=0 or no points when C≠0C\ne0.

Parallel and perpendicular directions

Two distinct nonvertical lines with equal slopes are parallel. For nonvertical perpendicular lines with finite slopes, m1m2=−1m_1m_2=-1. One way to see the perpendicular relationship is to take direction vectors (1,m1)(1,m_1) and (1,m2)(1,m_2): their scalar product 1+m1m21+m_1m_2 must be zero. The vector chapter will develop this product geometrically.

The line perpendicular to y=2x+1y=2x+1 through (4,3)(4,3) has slope −1/2-1/2 and equation y−3=−(x−4)/2y-3=-(x-4)/2. Horizontal and vertical lines form a perpendicular pair outside the finite-slope product rule.

A circle is a distance constraint

A point (x,y)(x,y) lies on the circle of radius r>0r>0 centered at (h,k)(h,k) when its distance from the center is rr. Squaring the distance gives

(x−h)2+(y−k)2=r2.(x-h)^2+(y-k)^2=r^2.

The circle (x−2)2+(y+1)2=9(x-2)^2+(y+1)^2=9 has center (2,−1)(2,-1) and radius 3. Its equation determines a set of points, but usually not one value of yy for each xx. Solving gives two branches y=−1±9−(x−2)2y=-1\pm\sqrt{9-(x-2)^2} on −1≤x≤5-1\le x\le5. This distinction between a curve and a function will matter in the next chapter.

Exercises

  1. Find the distance and midpoint between (1,−2)(1,-2) and (7,6)(7,6).
  2. Write the line through (2,5)(2,5) with slope −3-3.
  3. Find the slope and intercepts of 2x+3y=122x+3y=12.
  4. Write the vertical line through (−4,7)(-4,7).
  5. Find the line perpendicular to y=−x/4+2y=-x/4+2 through (1,3)(1,3).
  6. Find the center, radius, and horizontal extent of (x+3)2+(y−2)2=16(x+3)^2+(y-2)^2=16.
Worked solutions
  1. Coordinate differences are 6 and 8, so distance is 10. The midpoint is (4,2)(4,2).
  2. y−5=−3(x−2)y-5=-3(x-2), or y=−3x+11y=-3x+11.
  3. y=−2x/3+4y=-2x/3+4, so slope is −2/3-2/3. Intercepts are (6,0)(6,0) and (0,4)(0,4).
  4. The fixed horizontal coordinate gives x=−4x=-4.
  5. The perpendicular slope is 4, so y−3=4(x−1)y-3=4(x-1), or y=4x−1y=4x-1.
  6. Center (−3,2)(-3,2), radius 4. Horizontal coordinates run from −7-7 to 1, including both.

Open this chapter with navigation →

Part 2

Functions and algebraic models

Chapter 7 · Week 4

Functions, Domains, and Representations

Connect formulas, tables, graphs, and piecewise definitions.

Prerequisites: Coordinates, equations, and inequalities.

Learning objectives

  • Determine domains and ranges from a specification.
  • Evaluate and interpret piecewise functions.
  • Distinguish function inputs, outputs, and graph properties.

A parking charge depends on how long a vehicle stays. A rule might assign one price to the first hour and another to each later hour. The input is elapsed time and the output is a charge, but the rule need not be one algebraic formula. Function notation gives us a common language for formulas, tables, graphs, and rules defined in pieces.

A function includes its allowed inputs

A function assigns exactly one output to every input in its domain. For a real-valued function, the outputs are real numbers. The range is the set of outputs actually obtained, which can be smaller than a stated codomain of possible outputs.

The formula f(x)=x2f(x)=x^2 on R\mathbb R has range [0,∞)[0,\infty). The same formula restricted to [2,4][2,4] has range [4,16][4,16]. Domains therefore distinguish functions even when their formulas agree.

The notation f(3)f(3) means the output associated with input 3. For f(x)=x2−2xf(x)=x^2-2x, f(3)=3f(3)=3, while f(a+h)=(a+h)2−2(a+h)f(a+h)=(a+h)^2-2(a+h). Substitute the entire input wherever the variable occurs. The expression f(x+h)f(x+h) does not generally equal f(x)+f(h)f(x)+f(h); for the square function, the missing cross term is 2xh2xh.

Domains come from the operations

A real square root requires a nonnegative argument, while division requires a nonzero denominator. Thus

f(x)=x+4x−2f(x)=\frac{\sqrt{x+4}}{x-2}

has domain [−4,2)∪(2,∞)[-4,2)\cup(2,\infty). Both conditions apply to the original expression. A simplification may hide a restriction but cannot erase it from the specified function.

A formula in a physical model may carry further restrictions. The volume V(t)=80−5tV(t)=80-5t of an emptying tank is meaningful here only for 0≤t≤160\le t\le16 minutes. The polynomial formula exists at later inputs, but the tank model stops when the tank empties.

For a rational formula, examine every denominator before combining fractions. For a piecewise rule, check the specified intervals as well as the formulas within them. These steps define what counts as an allowed input before we try to find a range or solve an equation.

Tables and graphs carry the same assignment

A table listing (1,4),(2,7),(3,10)(1,4),(2,7),(3,10) gives one output per listed input. It could represent a function with domain exactly {1,2,3}\{1,2,3\}, or observations from an unknown larger-domain function. The table alone does not establish how the rule behaves at unlisted inputs.

The graph of ff is the set of points (x,f(x))(x,f(x)). A vertical line meets it at most once, since one input cannot have two outputs. The circle x2+y2=9x^2+y^2=9 fails this test over most of its horizontal extent. Its upper semicircle y=9−x2y=\sqrt{9-x^2} is a function on [−3,3][-3,3].

Horizontal crossings answer a different question. If a horizontal line meets the graph more than once, several inputs share an output. That is permitted for a function, but it will matter when trying to recover the input from its output.

Piecewise definitions describe changing rules

Consider the hypothetical parking charge

C(t)={0,t=0,4,0<t≤1,4+3(t−1),1<t≤5.C(t)= \begin{cases} 0,&t=0,\\ 4,&0<t\le1,\\ 4+3(t-1),&1<t\le5. \end{cases}

The domain is [0,5][0,5] hours. A half-hour stay costs 4 dollars; a three-hour stay costs 10 dollars. The formulas agree at the transition t=1t=1, but the separate zero-time rule creates a jump just after zero. Endpoint symbols determine which rule supplies the value at a boundary.

Function behavior is an interval statement

A function is increasing on an interval if larger inputs always produce larger outputs there. Formally, u<vu<v implies f(u)<f(v)f(u)<f(v). The square function is decreasing on (−∞,0](-\infty,0] and increasing on [0,∞)[0,\infty). Its output at zero is an absolute minimum.

For distinct inputs a,ba,b, the average rate of change is [f(b)−f(a)]/(b−a)[f(b)-f(a)]/(b-a). With f(t)=t2f(t)=t^2, the average from 1 to 3 is (9−1)/2=4(9-1)/2=4. This rate describes the interval and does not imply that every shorter interval has the same rate. Linear functions will be the special case in which all such averages agree.

Exercises

  1. For f(x)=2x2−1f(x)=2x^2-1, calculate f(−2)f(-2) and f(a+1)f(a+1).
  2. Find the domain of 5−x/(x+1)\sqrt{5-x}/(x+1).
  3. Give the range of x2x^2 on [−2,3][-2,3].
  4. Does the relation y2=xy^2=x define one real yy for every allowed xx?
  5. Use the parking rule to calculate C(0)C(0), C(1)C(1), and C(4)C(4).
  6. Find the average rate of f(x)=x2−3xf(x)=x^2-3x from 0 to 4.
Worked solutions
  1. f(−2)=7f(-2)=7. Expanding 2(a+1)2−12(a+1)^2-1 gives 2a2+4a+12a^2+4a+1.
  2. The root requires x≤5x\le5 and the denominator excludes −1-1, giving (−∞,−1)∪(−1,5](-\infty,-1)\cup(-1,5].
  3. The minimum is 0 at x=0x=0 and maximum 9 at x=3x=3, so the range is [0,9][0,9].
  4. No. For positive xx there are two values, ±x\pm\sqrt x. Selecting the nonnegative branch gives a function.
  5. The charges are 0, 4, and 4+3(3)=134+3(3)=13 dollars.
  6. f(4)=4f(4)=4 and f(0)=0f(0)=0, so the average rate is 1 output unit per input unit.

Open this chapter with navigation →

Chapter 8 · Week 4

Transforming Graphs

Derive shifts, reflections, stretches, and symmetry from changed inputs and outputs.

Prerequisites: Function notation, domains, and coordinate graphs.

Learning objectives

  • Transform coordinates under a changed function formula.
  • Determine transformed domains and ranges.
  • Use even and odd symmetry in graph analysis.

Suppose a temperature profile is known as a function of time. Delaying the process changes when each temperature is reached; adding a fixed temperature changes the output without changing the timing. Input and output transformations distinguish these operations and let us build a new graph from coordinates on a known one.

Dashed quadratic y equals x squared and its transformed solid graph. The point (1, 1) maps to (4, 3).

Follow a point through the formula

Let

g(x)=Af(B(x−h))+k,A≠0, B≠0.g(x)=A f(B(x-h))+k,\qquad A\ne0,\ B\ne0.

If (u,v)(u,v) is on the graph of ff, then v=f(u)v=f(u). To obtain that same inner input in gg, solve B(x−h)=uB(x-h)=u, giving x=h+u/Bx=h+u/B. Its new output is Av+kAv+k. Thus the point mapping is

(u,v)⟼(h+u/B, Av+k).(u,v)\longmapsto(h+u/B,\ Av+k).

The horizontal factor is reciprocal because we solve for the new input. This is the reason f(2x)f(2x) compresses a graph horizontally by two while 2f(x)2f(x) stretches it vertically by two.

For f(x)=x2f(x)=x^2 and g(x)=−2(x−3)2+5g(x)=-2(x-3)^2+5, the point (1,1)(1,1) maps to (4,3)(4,3) and (−1,1)(-1,1) to (2,3)(2,3). The vertex maps from (0,0)(0,0) to (3,5)(3,5). Reflection in the horizontal axis and vertical stretching are contained in the factor −2-2.

Domains and ranges transform too

The domain of gg consists of inputs for which B(x−h)B(x-h) belongs to the original domain. If f(u)=uf(u)=\sqrt u, then g(x)=2(x−3)+1g(x)=\sqrt{2(x-3)}+1 requires x≥3x\ge3 and has range [1,∞)[1,\infty).

For g(x)=4−2(x−3)g(x)=4-\sqrt{2(x-3)}, the same input restriction holds but outputs now lie in (−∞,4](-\infty,4]. Multiplying an output interval by a negative number reverses its endpoint order.

If the original function is specified only on [0,4][0,4] and g(x)=f(−2(x−1))g(x)=f(-2(x-1)), the domain condition is 0≤−2(x−1)≤40\le-2(x-1)\le4. Solving gives −1≤x≤1-1\le x\le1. The negative horizontal factor reflects and compresses the original interval.

The order of operations affects a shift

The formulas f(2x−6)f(2x-6) and f(2(x−3))f(2(x-3)) are identical. Factoring the inner expression makes the shift h=3h=3 visible. Describing 2x−62x-6 as a shift right by 6 would give the wrong coordinate mapping.

Output operations also have an order. The function 2(f(x)+3)2(f(x)+3) shifts up by 3 before stretching outputs by two, producing 2f(x)+62f(x)+6. The function 2f(x)+32f(x)+3 stretches first, then shifts up by 3. Applying the point mapping avoids relying on a verbal list whose order may be unclear.

Symmetry can reduce the work

An even function satisfies f(−x)=f(x)f(-x)=f(x) on a domain symmetric about zero. Its graph reflects across the vertical axis. For x2x^2, the two inputs ±x\pm x produce equal squares.

An odd function satisfies f(−x)=−f(x)f(-x)=-f(x) on a symmetric domain. Its graph is invariant under a half-turn about the origin. The cube function is odd, while x2+xx^2+x is neither even nor odd. A formula can resemble an even expression but lose this property if its specified domain is not symmetric.

Translating an even graph horizontally moves its line of symmetry. The graph of (x−3)2(x-3)^2 is symmetric about x=3x=3, although this new function is not even as a function of xx. The inherited geometric symmetry and the formal evenness condition refer to different centers.

Absolute values change branches

The function ∣f(x)∣|f(x)| reflects negative outputs upward and retains nonnegative outputs. For f(x)=x−2f(x)=x-2, the result is a V with vertex (2,0)(2,0). The function f(∣x∣)f(|x|) instead uses only the original graph’s nonnegative-input branch and reflects that branch across the vertical axis.

For f(x)=x−2f(x)=x-2, these give ∣x−2∣|x-2| and ∣x∣−2|x|-2, with different vertices. Testing the input zero gives outputs 2 and −2-2, making the distinction visible before drawing either graph.

Exercises

  1. Find the vertex, domain, and range of g(x)=3(x+2)2−7g(x)=3(x+2)^2-7.
  2. Map the point (4,2)(4,2) from ff to g(x)=2f(3(x−1))−5g(x)=2f(3(x-1))-5.
  3. Find the domain and range of 4−x+14-\sqrt{x+1}.
  4. Is x3−2xx^3-2x even, odd, or neither on R\mathbb R?
  5. Compare f(2x)+1f(2x)+1 and 2f(x)+12f(x)+1 when f(x)=x2f(x)=x^2.
  6. For ff with domain [2,6][2,6], determine the domain of f(8−2x)f(8-2x).
Worked solutions
  1. Vertex (−2,−7)(-2,-7), domain R\mathbb R, range [−7,∞)[-7,\infty).
  2. The new input is 1+4/3=7/31+4/3=7/3 and output 2(2)−5=−12(2)-5=-1, giving (7/3,−1)(7/3,-1).
  3. Domain [−1,∞)[-1,\infty) and range (−∞,4](-\infty,4].
  4. Replacing xx by −x-x negates every term, so it is odd.
  5. The first is 4x2+14x^2+1 and the second 2x2+12x^2+1. Horizontal compression has squared the factor through the quadratic.
  6. Solve 2≤8−2x≤62\le8-2x\le6, giving 1≤x≤31\le x\le3.

Open this chapter with navigation →

Chapter 9 · Week 4

Composition and Inverse Functions

Track domains through a process and recover inputs when a function is one-to-one.

Prerequisites: Function notation and transformations.

Learning objectives

  • Compute compositions with their domain restrictions.
  • Construct and verify inverse functions.
  • Restrict a domain to obtain an invertible branch.

A machine first doubles a measurement and adds one, then takes its square root. We can describe the two steps separately as g(x)=2x+1g(x)=2x+1 and f(u)=uf(u)=\sqrt u. Their composition performs the steps in order, and the restrictions from the later step determine which earlier inputs can enter the whole process.

Composition follows the actual inputs

The composition (f∘g)(x)=f(g(x))(f\circ g)(x)=f(g(x)) has domain

{x∈dom⁡g:g(x)∈dom⁡f}.\{x\in\operatorname{dom}g:g(x)\in\operatorname{dom}f\}.

In the machine example, gg accepts every real input but ff requires 2x+1≥02x+1\ge0. Thus (f∘g)(x)=2x+1(f\circ g)(x)=\sqrt{2x+1} has domain [−1/2,∞)[-1/2,\infty).

Reversing the steps gives (g∘f)(x)=2x+1(g\circ f)(x)=2\sqrt x+1 on [0,∞)[0,\infty). These compositions disagree in both formula and domain. Composition is generally not commutative.

For f(u)=1/(u−3)f(u)=1/(u-3) and g(x)=x2g(x)=x^2, the composite 1/(x2−3)1/(x^2-3) excludes ±3\pm\sqrt3. Each component’s restriction has a precise place: gg must be evaluable, then its output must avoid the forbidden input 3 of ff.

One-to-one functions retain enough information to reverse

A function is one-to-one when distinct inputs have distinct outputs. Equivalently, f(u)=f(v)f(u)=f(v) implies u=vu=v. Its graph passes the horizontal-line test. If outputs are repeated, recovering an input from an output would require a choice.

The function f(x)=3x−4f(x)=3x-4 is one-to-one on R\mathbb R. Solving y=3x−4y=3x-4 for xx gives x=(y+4)/3x=(y+4)/3. Relabeling the inverse input gives

f−1(x)=x+43.f^{-1}(x)=\frac{x+4}{3}.

The superscript −1-1 denotes an inverse function here, not a reciprocal. The reciprocal of 3x−43x-4 would be 1/(3x−4)1/(3x-4) and would perform a different operation.

We verify both compositions: f−1(f(x))=xf^{-1}(f(x))=x on the original domain, and f(f−1(y))=yf(f^{-1}(y))=y on the original range. The inverse domain is the original range; its range is the original domain.

A domain restriction selects an inverse branch

The square function on all real numbers is not one-to-one: 22 and −2-2 share output 4. Restricting the domain to [0,∞)[0,\infty) gives the inverse x\sqrt x. Restricting it to (−∞,0](-\infty,0] instead gives inverse −x-\sqrt x, with inverse domain still [0,∞)[0,\infty).

For f(x)=(x−2)2+1f(x)=(x-2)^2+1 on [2,∞)[2,\infty), the range is [1,∞)[1,\infty). Solving y−1=(x−2)2y-1=(x-2)^2 and using x−2≥0x-2\ge0 gives f−1(y)=2+y−1f^{-1}(y)=2+\sqrt{y-1}. The domain restriction selects the sign in the root calculation.

The graph of an inverse exchanges the two coordinates, reflecting the original graph in y=xy=x. If the original coordinates have different physical units, the inverse also exchanges their roles. A conversion from time to temperature becomes a calculation of time from an attained temperature.

Algebraic inverses require their exclusions

For f(x)=(2x+1)/(x−3)f(x)=(2x+1)/(x-3) with x≠3x\ne3, solve

y(x−3)=2x+1,(y−2)x=3y+1.y(x-3)=2x+1,\qquad (y-2)x=3y+1.

Hence the inverse is f−1(y)=(3y+1)/(y−2)f^{-1}(y)=(3y+1)/(y-2) for y≠2y\ne2. The excluded inverse input 2 is the output the original formula cannot attain: setting f(x)=2f(x)=2 leads to 1=−61=-6.

These computations also show one-to-one behavior. Each allowed output gives exactly one allowed input. Checking the resulting input against x≠3x\ne3 completes the inversion; the equation (3y+1)/(y−2)=3(3y+1)/(y-2)=3 would again require 1=−61=-6.

Exercises

  1. For f(x)=x2+1f(x)=x^2+1 and g(x)=x−2g(x)=x-2, calculate both compositions.
  2. Find the domain of 1/(x−2)\sqrt{1/(x-2)}.
  3. Invert f(x)=5x+7f(x)=5x+7 on R\mathbb R and check one composition.
  4. Invert f(x)=(x+1)2f(x)=(x+1)^2 restricted to x≤−1x\le-1.
  5. Explain why f−1f^{-1} is not the same as 1/f1/f for f(x)=2xf(x)=2x.
  6. Find the inverse and inverse domain of f(x)=1/(x+4)f(x)=1/(x+4).
Worked solutions
  1. f(g(x))=(x−2)2+1f(g(x))=(x-2)^2+1 and g(f(x))=x2−1g(f(x))=x^2-1, both on R\mathbb R.
  2. The reciprocal must be defined and nonnegative. Since its numerator is positive, require x>2x>2.
  3. f−1(x)=(x−7)/5f^{-1}(x)=(x-7)/5, and [(5x+7)−7]/5=x[(5x+7)-7]/5=x.
  4. Since x+1≤0x+1\le0, the inverse is −1−y-1-\sqrt y for y≥0y\ge0.
  5. The inverse is x/2x/2, while the reciprocal is 1/(2x)1/(2x) on x≠0x\ne0. One reverses the assignment; the other reciprocates its output.
  6. Solving y=1/(x+4)y=1/(x+4) gives x=1/y−4x=1/y-4. Thus f−1(y)=1/y−4f^{-1}(y)=1/y-4, with y≠0y\ne0.

Open this chapter with navigation →

Chapter 10 · Week 5

Linear Models and Systems

Use rates, intersections, and feasible domains to compare simple models.

Prerequisites: Line equations and function notation.

Learning objectives

  • Construct affine models with meaningful units.
  • Solve and interpret two-variable linear systems.
  • Distinguish interpolation from model-dependent extrapolation.

A delivery service charges a fixed dispatch fee plus an amount per kilometre. The total cost has two different contributions, one present even before travel and one proportional to distance. An affine model C(d)=md+bC(d)=md+b records these contributions separately, and comparing two services becomes an intersection problem.

Equal input changes produce equal output changes

For f(x)=mx+bf(x)=mx+b,

f(x+h)−f(x)=mh.f(x+h)-f(x)=mh.

The output change depends on the increment hh but not on the starting input xx. Dividing by nonzero hh gives the same average rate mm on every interval.

Strictly, mxmx is a linear map and mx+bmx+b is affine when b≠0b\ne0. In elementary graph terminology both are often called linear functions. We will state the formula so that the fixed contribution is visible regardless of this naming convention.

Given two distinct inputs x1,x2x_1,x_2 with outputs y1,y2y_1,y_2, the line interpolating them has slope (y2−y1)/(x2−x1)(y_2-y_1)/(x_2-x_1) and intercept y1−mx1y_1-mx_1. Two points determine that line, but they do not establish that the actual process follows it between or beyond the observations.

Comparing two cost models

Suppose the hypothetical service costs are A(d)=12+1.5dA(d)=12+1.5d and B(d)=4+2.5dB(d)=4+2.5d, with dollars as outputs and kilometres as nonnegative inputs. Equality gives

12+1.5d=4+2.5d,d=8.12+1.5d=4+2.5d,\qquad d=8.

Both cost 24 dollars there. Their difference is A(d)−B(d)=8−dA(d)-B(d)=8-d, so B is cheaper for 0≤d<80\le d<8 and A is cheaper for d>8d>8. A comparison of slopes alone would omit the fixed dispatch fees.

If the prices apply only up to 20 kilometres, the comparison’s domain is [0,20][0,20]. Extrapolating either formula beyond that range would be an additional pricing assumption.

A system describes a shared constraint

Suppose adult tickets cost 12 dollars and student tickets cost 8 dollars. A hypothetical event sells 40 tickets and collects 400 dollars. If a,sa,s are the counts, the two constraints are

a+s=40,12a+8s=400.a+s=40,\qquad12a+8s=400.

Substitute s=40−as=40-a to obtain 12a+320−8a=40012a+320-8a=400, so a=20a=20 and s=20s=20. Substitution into both original equations confirms the counts and revenue.

Elimination uses the same constraints without solving one variable explicitly. Subtract eight times the first equation from the second to get 4a=804a=80. Adding a multiple of one equation to the other preserves their common solutions because the operation is reversible.

Intersections may be absent or nonunique

The equations y=2x+1y=2x+1 and y=2x−3y=2x-3 represent parallel lines. Equating them gives 1=−31=-3, so there is no common solution. The equations y=2x+1y=2x+1 and 2y=4x+22y=4x+2 describe the same line, giving infinitely many common points.

A general two-variable linear system has a unique solution when its two independent constraints are not parallel. In coefficient form a1x+b1y=c1a_1x+b_1y=c_1, a2x+b2y=c2a_2x+b_2y=c_2, the determinant a1b2−a2b1a_1b_2-a_2b_1 being nonzero identifies that case. The matrix chapter will derive the relationship through elimination and extend it to larger systems.

A fitted line is a modeling choice

If measurements are (0,5),(2,10),(4,12)(0,5),(2,10),(4,12), their two successive slopes are 2.52.5 and 1. They do not lie on one exact line. A modeler might use a straight line as an approximation, but its deviations and intended range must then be considered. The statistics course develops least-squares fitting and uncertainty; here we distinguish the exact algebra of a proposed line from evidence that a line is a useful representation.

Exercises

  1. Construct the line through (1,7)(1,7) and (5,19)(5,19).
  2. Compare A(x)=20+2xA(x)=20+2x and B(x)=5+5xB(x)=5+5x on x≥0x\ge0.
  3. Solve x+y=9x+y=9 and 2x−y=32x-y=3.
  4. Classify x+2y=4x+2y=4 and 2x+4y=102x+4y=10.
  5. An account starts with 80 units and gains 6 each week without compounding. Write its balance and find when it reaches 200.
  6. Do (0,1),(1,3),(2,6)(0,1),(1,3),(2,6) lie on one line? Justify from rates.
Worked solutions
  1. The slope is 12/4=312/4=3 and intercept 4, so y=3x+4y=3x+4.
  2. Equality occurs at x=5x=5, cost 30. B is cheaper before 5 and A after 5, since A−B=15−3xA-B=15-3x.
  3. Adding gives 3x=123x=12, hence x=4x=4 and y=5y=5.
  4. Doubling the first would give right side 8, while the second requires 10. The system is inconsistent.
  5. B(n)=80+6nB(n)=80+6n; equality with 200 gives n=20n=20 weeks.
  6. Successive unit-interval rates are 2 and 3, so no exact line passes through all three.

Open this chapter with navigation →

Chapter 11 · Week 5

Quadratic Functions and Constraints

Connect completed squares, roots, discriminants, and feasible extrema.

Prerequisites: Factoring, equations, and graph transformations.

Learning objectives

  • Convert between quadratic forms.
  • Derive and apply the quadratic formula.
  • Find a quadratic model’s optimum on a stated domain.

A rectangular enclosure against an existing wall needs fencing on three sides. If 48 metres of fencing are available and each side perpendicular to the wall has length xx, the third fenced side has length 48−2x48-2x. Its area is A(x)=x(48−2x)A(x)=x(48-2x) on 0≤x≤240\le x\le24. The resulting quadratic gives us a model whose best feasible value can be found by algebra.

The enclosure area rises from zero to a maximum of 288 square metres at width 12 metres, then falls to zero at width 24.

Three forms reveal different features

A quadratic has standard form ax2+bx+cax^2+bx+c with a≠0a\ne0. Its graph is a parabola. The sign of aa determines whether it opens upward or downward, and cc is its output at zero.

Completing the square gives

ax2+bx+c=a(x+b2a)2+c−b24a.ax^2+bx+c =a\left(x+\frac b{2a}\right)^2+c-\frac{b^2}{4a}.

Thus the vertex is at h=−b/(2a)h=-b/(2a) with output k=c−b2/(4a)k=c-b^2/(4a). In vertex form a(x−h)2+ka(x-h)^2+k, the squared term is nonnegative. If a>0a>0, the minimum is kk; if a<0a<0, the maximum is kk, provided the domain includes hh.

When real zeros r1,r2r_1,r_2 exist, factored form a(x−r1)(x−r2)a(x-r_1)(x-r_2) reveals the intercepts. Expanding and completing the square connect these descriptions of the same function.

Solving a quadratic by completing the square

Starting with ax2+bx+c=0ax^2+bx+c=0, divide by nonzero aa, move the constant term, and complete the square:

(x+b2a)2=b2−4ac4a2.\left(x+\frac b{2a}\right)^2 =\frac{b^2-4ac}{4a^2}.

Taking both signs of the square root yields

x=−b±b2−4ac2a.x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}.

The discriminant D=b2−4acD=b^2-4ac decides the number of distinct real roots. Positive DD gives two, zero gives one repeated root, and negative DD gives none. The complex-number chapter will extend the last case.

For 2x2−3x−2=02x^2-3x-2=0, D=25D=25 and the roots are (3±5)/4(3\pm5)/4, namely 2 and −1/2-1/2. The factorization (2x+1)(x−2)(2x+1)(x-2) provides an independent check.

Feasible domains decide whether a vertex is available

For the enclosure,

A(x)=48x−2x2=288−2(x−12)2.A(x)=48x-2x^2=288-2(x-12)^2.

The vertex x=12x=12 lies in [0,24][0,24], giving parallel side 24 and maximum area 288 square metres. Both endpoints give area zero. Completing the square has established the maximum across the entire feasible interval.

If the site requires x≤10x\le10, the unconstrained vertex is no longer feasible. On [0,10][0,10], increasing xx moves closer to 12 and reduces (x−12)2(x-12)^2, so the maximum occurs at x=10x=10, with area 280. We cannot report the vertex without checking the model’s restrictions.

Quadratic inequalities follow the zeros

For x2−5x+6≤0x^2-5x+6\le0, factor (x−2)(x−3)(x-2)(x-3). The upward-opening parabola is nonpositive between its two zeros, giving [2,3][2,3]. For x2+1>0x^2+1>0, the completed square is already a square plus a positive constant, so the inequality holds for every real input without any real zeros.

A root and an inequality boundary are related but distinct objects. A repeated root such as that of (x−2)2(x-2)^2 touches zero without changing the expression’s sign.

Recovering a quadratic model

If a quadratic has zeros 1 and 5 and passes through (0,10)(0,10), write f(x)=a(x−1)(x−5)f(x)=a(x-1)(x-5). The additional point gives 5a=105a=10, hence a=2a=2. Its symmetry axis is halfway between the roots, x=3x=3, and f(3)=−8f(3)=-8. Using a form that matches the given information avoids solving an unnecessary three-coefficient system.

Exercises

  1. Complete the square for x2−6x+11x^2-6x+11 and give its minimum.
  2. Solve 3x2+2x−1=03x^2+2x-1=0.
  3. Determine the number of real roots of 2x2+x+4=02x^2+x+4=0.
  4. Solve x2−x−6<0x^2-x-6<0.
  5. Maximize A(x)=30x−x2A(x)=30x-x^2 on [0,10][0,10].
  6. Find the quadratic with zeros −1,3-1,3 that passes through (0,−6)(0,-6).
Worked solutions
  1. (x−3)2+2(x-3)^2+2, with minimum 2 at x=3x=3.
  2. The factorization (3x−1)(x+1)=0(3x-1)(x+1)=0 gives x=1/3,−1x=1/3,-1.
  3. The discriminant is 1−32=−311-32=-31, so there are no real roots.
  4. (x−3)(x+2)<0(x-3)(x+2)<0 between the roots, giving (−2,3)(-2,3).
  5. The unrestricted vertex is 15, outside the domain. The function increases toward it throughout [0,10][0,10], so the maximum is A(10)=200A(10)=200.
  6. Write a(x+1)(x−3)a(x+1)(x-3). At zero, −3a=−6-3a=-6, giving a=2a=2 and f(x)=2(x+1)(x−3)f(x)=2(x+1)(x-3).

Open this chapter with navigation →

Chapter 12 · Week 6

Polynomial Functions and Zeros

Use division, multiplicity, and end behavior to investigate polynomial graphs.

Prerequisites: Polynomial arithmetic and quadratic equations.

Learning objectives

  • Use polynomial division and the remainder theorem.
  • Factor polynomials and interpret zero multiplicities.
  • Combine signs and leading terms in a graph investigation.

The polynomial p(x)=(x+2)(x−1)2p(x)=(x+2)(x-1)^2 contains more information than its expanded coefficients immediately show. Its zeros are −2-2 and 1, but the factors behave differently near those inputs. We can use division, factorization, and signs to assemble a graph description before calculating a dense table of values.

Leading terms control large inputs

A polynomial has form anxn+⋯+a1x+a0a_nx^n+\cdots+a_1x+a_0, with an≠0a_n\ne0. Its degree is nn and leading coefficient is ana_n. Dividing by anxna_nx^n for nonzero large xx gives

p(x)anxn=1+an−1anx+⋯+a0anxn,\frac{p(x)}{a_nx^n} =1+\frac{a_{n-1}}{a_nx}+\cdots+\frac{a_0}{a_nx^n},

whose remaining terms tend to zero as ∣x∣|x| grows. The leading term therefore determines the polynomial’s eventual sign and growth direction.

An even degree gives the same end direction on both sides, while an odd degree gives opposite directions. A negative leading coefficient reverses the positive-leading-coefficient directions. This identifies end behavior without saying that lower-degree terms are irrelevant at ordinary inputs.

Polynomial division exposes a remainder

Dividing p(x)p(x) by a nonzero polynomial d(x)d(x) gives

p(x)=d(x)q(x)+r(x),p(x)=d(x)q(x)+r(x),

where the remainder has degree smaller than the divisor, or is zero. For p(x)=x3−3x+2p(x)=x^3-3x+2 and d(x)=x−1d(x)=x-1, long division gives q(x)=x2+x−2q(x)=x^2+x-2 and remainder zero.

For a linear divisor x−ax-a, the remainder is a constant. Substituting x=ax=a in the division identity gives p(a)=rp(a)=r. This is the remainder theorem. In particular, p(a)=0p(a)=0 exactly when x−ax-a is a factor.

The example factors further as (x−1)(x+2)(x-1)(x+2) in the quotient, giving p(x)=(x−1)2(x+2)p(x)=(x-1)^2(x+2). Division has both verified the zero 1 and recovered the remaining factors.

Multiplicity determines local sign behavior

If p(x)=(x−a)mq(x)p(x)=(x-a)^m q(x) with q(a)≠0q(a)\ne0, the zero aa has multiplicity mm. Near aa, the factor q(x)q(x) keeps the sign of q(a)q(a) because polynomials are continuous. An odd power (x−a)m(x-a)^m changes sign across aa; an even power does not.

For (x−1)2(x+2)(x-1)^2(x+2), the graph crosses the axis at −2-2 and touches it without crossing at 1. It is negative to the left of −2-2 and positive on the other intervals except at the zero itself. End behavior is down to the left and up to the right, since the leading term is x3x^3.

These statements constrain a sketch but do not identify every turning point. A polynomial of degree n≥1n\ge1 has at most n−1n-1 turning points, a fact justified using derivatives in calculus. In this course, use signs, zeros, and evaluations to support the features you actually establish.

For an integer-coefficient polynomial, a rational zero in lowest terms u/vu/v must have numerator dividing the constant coefficient and denominator dividing the leading coefficient. Substituting u/vu/v and clearing denominators proves these divisibility restrictions.

For 2x3−3x2−8x+122x^3-3x^2-8x+12, candidates include ±1,±2,±3,±4,±6,±12\pm1,\pm2,\pm3,\pm4,\pm6,\pm12 and the corresponding reduced half-integers. Grouping is more efficient here:

x2(2x−3)−4(2x−3)=(2x−3)(x−2)(x+2).x^2(2x-3)-4(2x-3) =(2x-3)(x-2)(x+2).

The zeros are 3/2,2,−23/2,2,-2. The rational-root test lists candidates rather than promising that any exist. A polynomial such as x2−2x^2-2 has irrational real zeros.

Continuity supplies an existence argument

A polynomial takes all intermediate values between its values at two real inputs. In particular, opposite signs at endpoints guarantee at least one real zero between them. For x3−x−1x^3-x-1, values at 1 and 2 are −1-1 and 5, so a zero lies in (1,2)(1,2). This uses continuity, which calculus will formalize, and does not claim a unique root merely from the sign change.

Repeatedly bisecting a sign-changing interval can narrow a root’s location. Keep the half whose endpoints have opposite signs, or stop if the midpoint is exactly a zero. The interval length halves each time, supplying a bracket even when an exact formula is inconvenient.

Exercises

  1. State the two end directions of −3x4+2x−1-3x^4+2x-1.
  2. Divide x3−4x2+x+6x^3-4x^2+x+6 by x−2x-2 and factor the result.
  3. Find the remainder when x4+2x−5x^4+2x-5 is divided by x+1x+1.
  4. Describe the sign changes at the zeros of (x+1)3(x−2)2(x+1)^3(x-2)^2.
  5. List the rational-zero candidates of 3x2−5x+13x^2-5x+1.
  6. Establish that x3−4x^3-4 has a zero in (1,2)(1,2) and identify the first bisection bracket.
Worked solutions
  1. The negative even-degree leading term gives downward behavior in both directions.
  2. The quotient is x2−2x−3=(x−3)(x+1)x^2-2x-3=(x-3)(x+1), with zero remainder. The full factorization is (x−2)(x−3)(x+1)(x-2)(x-3)(x+1).
  3. Evaluate at −1-1: 1−2−5=−61-2-5=-6.
  4. The graph changes sign at −1-1 because its multiplicity is odd. It keeps its sign across 2 because its multiplicity is even.
  5. The possible reduced values are ±1,±1/3\pm1,\pm1/3. Testing them shows none is a zero; candidates need not be actual roots.
  6. The endpoint values are −3-3 and 4. At 1.51.5, the value is 3.375−4=−0.6253.375-4=-0.625, so a zero lies in (1.5,2)(1.5,2).

Open this chapter with navigation →

Chapter 13 · Week 6

Complex Numbers and Polynomial Roots

Extend arithmetic to complex numbers and organize real and nonreal polynomial roots.

Prerequisites: Quadratic equations and polynomial division.

Learning objectives

  • Perform complex arithmetic and division.
  • Use conjugates to organize real-coefficient polynomial roots.
  • Distinguish real zeros from roots in the complex plane.

Completing the square for x2+4x+13=0x^2+4x+13=0 gives (x+2)2=−9(x+2)^2=-9. No real square can equal a negative number. We can nevertheless extend the number system in a consistent way so that the algebraic equation has roots, while keeping the real-number distinction visible.

Arithmetic with a new unit

Define ii by i2=−1i^2=-1. A complex number has form a+bia+bi with a,b∈Ra,b\in\mathbb R. Its real part is aa and imaginary part is bb. Two complex numbers are equal exactly when their real parts agree and their imaginary parts agree.

Addition combines the two components. Multiplication uses distributivity followed by i2=−1i^2=-1:

(2+3i)(1−4i)=2−8i+3i−12i2=14−5i.(2+3i)(1-4i)=2-8i+3i-12i^2=14-5i.

The powers of ii repeat every four steps: i,i2=−1,i3=−i,i4=1i,i^2=-1,i^3=-i,i^4=1. Thus i23=i4(5)+3=−ii^{23}=i^{4(5)+3}=-i. Reducing an exponent modulo four follows from the identity i4=1i^4=1.

We may write the principal square root of a negative real number as −a=ia\sqrt{-a}=i\sqrt a for a>0a>0. The real product rule for square roots cannot be extended indiscriminately: −1−1=−1\sqrt{-1}\sqrt{-1}=-1 but (−1)(−1)=1\sqrt{(-1)(-1)}=1. Complex square-root branches need their own conventions.

Conjugates supply division

The conjugate of z=a+biz=a+bi is z‾=a−bi\overline z=a-bi. Their product is

zz‾=a2+b2.z\overline z=a^2+b^2.

It is positive whenever z≠0z\ne0. Multiply numerator and denominator by the denominator’s conjugate to divide:

3+i1−2i=(3+i)(1+2i)1+4=1+7i5.\frac{3+i}{1-2i} =\frac{(3+i)(1+2i)}{1+4} =\frac{1+7i}{5}.

The same identity gives 1/z=z‾/(a2+b2)1/z=\overline z/(a^2+b^2) for nonzero zz. Complex arithmetic has division by every nonzero complex number, retaining the familiar exclusion at zero.

The complex plane represents two coordinates

Plot a+bia+bi as the point (a,b)(a,b). Its distance from the origin is the modulus ∣z∣=a2+b2|z|=\sqrt{a^2+b^2}. Thus ∣3−4i∣=5|3-4i|=5, and the distance between two complex numbers is the modulus of their difference.

Multiplication by ii maps (a,b)(a,b) to (−b,a)(-b,a), a counterclockwise quarter-turn. Multiplication by a positive real number scales the distance from the origin. Later, polar coordinates will combine rotations and scaling in a single description.

Conjugation reflects the point across the real axis. It respects addition and multiplication, so z+w‾=z‾+w‾\overline{z+w}=\overline z+\overline w and zw‾=z‾ w‾\overline{zw}=\overline z\,\overline w. These identities can be checked by expanding the two components.

Quadratics acquire their missing roots

Returning to (x+2)2=−9(x+2)^2=-9, the two roots are x=−2±3ix=-2\pm3i. Their sum is −4-4 and product is 13, so

x2+4x+13=(x+2−3i)(x+2+3i).x^2+4x+13=(x+2-3i)(x+2+3i).

Both roots are valid complex inputs, although the real-coordinate graph of the polynomial still has no horizontal-axis intercepts. A root in a larger number system does not become a real intercept.

For a real-coefficient polynomial pp, conjugation gives p(z)‾=p(z‾)\overline{p(z)}=p(\overline z). If p(z)=0p(z)=0, then p(z‾)=0p(\overline z)=0. Nonreal roots therefore occur in conjugate pairs, with matching multiplicities. A polynomial with complex coefficients need not have this pairing.

The fundamental theorem of algebra states that every nonconstant complex-coefficient polynomial has a complex root. Repeated division by linear factors then gives exactly its degree many roots counting multiplicity. We use this theorem to organize polynomial roots here; its proof requires mathematics beyond the algebra developed in this course.

If a real cubic has roots 22 and 1+i1+i, its third root must be 1−i1-i. A monic cubic with those roots is

(x−2)[(x−1)2+1]=(x−2)(x2−2x+2).(x-2)[(x-1)^2+1]=(x-2)(x^2-2x+2).

Exercises

  1. Calculate (4−2i)+(1+5i)(4-2i)+(1+5i) and (4−2i)(1+5i)(4-2i)(1+5i).
  2. Evaluate i38i^{38}.
  3. Simplify 1/(2+i)1/(2+i).
  4. Find the modulus of −5+12i-5+12i.
  5. Solve x2−2x+10=0x^2-2x+10=0 over the complex numbers.
  6. Find a real monic quadratic with roots 3±2i3\pm2i.
Worked solutions
  1. The sum is 5+3i5+3i. The product is 4+20i−2i−10i2=14+18i4+20i-2i-10i^2=14+18i.
  2. Since 3838 has remainder 2 upon division by 4, the value is −1-1.
  3. Multiply by 2−i2-i to get (2−i)/5(2-i)/5.
  4. The modulus is 25+144=13\sqrt{25+144}=13.
  5. Completing the square gives (x−1)2=−9(x-1)^2=-9, so x=1±3ix=1\pm3i.
  6. (x−3−2i)(x−3+2i)=(x−3)2+4=x2−6x+13(x-3-2i)(x-3+2i)=(x-3)^2+4=x^2-6x+13.

Open this chapter with navigation →

Chapter 14 · Week 6

Rational Functions and Asymptotes

Distinguish holes, vertical behavior, and polynomial trends in rational graphs.

Prerequisites: Factoring, sign charts, and polynomial division.

Learning objectives

  • Find the domain, intercepts, and holes of a rational function.
  • Analyze vertical and end behavior.
  • Distinguish an original rational function from a continuous extension.

The formula f(x)=(x2−1)/(x−1)f(x)=(x^2-1)/(x-1) looks like a line after cancellation, but its original denominator excludes one point. Another quotient, 1/(x−1)1/(x-1), grows without bound near that same excluded input. Rational-function analysis begins by distinguishing the reasons an input is missing.

Rational graph with an open hole at (1, negative 1.5), vertical asymptote x equals 3, and horizontal asymptote y equals 1.

Factor before interpreting the graph

A rational function p(x)/q(x)p(x)/q(x) is defined where q(x)≠0q(x)\ne0. Write those exclusions before cancelling factors. For

f(x)=(x−1)(x+2)(x−1)(x−3),f(x)=\frac{(x-1)(x+2)}{(x-1)(x-3)},

the domain excludes 1 and 3. Away from these inputs the function equals (x+2)/(x−3)(x+2)/(x-3). At 1 the simplified formula would give −3/2-3/2, so the original graph has a hole at (1,−3/2)(1,-3/2).

At 3 a denominator factor remains. The numerator approaches 5 while x−3x-3 becomes small with opposite signs on the two sides. The outputs become negative without bound from the left and positive without bound from the right. The line x=3x=3 is a vertical asymptote.

A common factor can reduce a denominator’s multiplicity without removing it completely. For (x−1)/(x−1)2(x-1)/(x-1)^2, cancellation leaves 1/(x−1)1/(x-1) on x≠1x\ne1, so the missing input still produces unbounded behavior. Inspect the remaining factors rather than classifying every cancellation as a hole.

Intercepts and signs retain the domain

A horizontal-axis intercept occurs when the numerator is zero and the function is defined. In the example, x=−2x=-2 gives an intercept, while the cancelled zero x=1x=1 does not. The vertical intercept is f(0)=−2/3f(0)=-2/3.

For the simplified quotient (x+2)/(x−3)(x+2)/(x-3), signs are positive on (−∞,−2)(-\infty,-2), negative on (−2,3)(-2,3), and positive on (3,∞)(3,\infty). The hole at 1 divides the original domain but does not change the sign of nearby outputs. Marking both numerator zeros and denominator exclusions keeps these facts visible in a sign chart.

Division identifies the end trend

Polynomial division rewrites the example as

x+2x−3=1+5x−3.\frac{x+2}{x-3}=1+\frac5{x-3}.

For large positive or negative inputs, the second term becomes small, so the horizontal line y=1y=1 describes the end behavior. A horizontal asymptote concerns unbounded input values; it does not forbid the graph from crossing that height at a finite input.

For g(x)=(x2+1)/(x−1)g(x)=(x^2+1)/(x-1), division gives

g(x)=x+1+2x−1.g(x)=x+1+\frac2{x-1}.

Its difference from the line y=x+1y=x+1 becomes small as ∣x∣|x| grows. This is a slant asymptote. More generally, polynomial division can give a higher-degree polynomial trend when the numerator degree exceeds the denominator degree by more than one.

The familiar degree comparisons follow from this division or from dividing by the highest denominator power. A numerator of lower degree gives horizontal asymptote zero. Equal degrees give the ratio of leading coefficients. For larger numerator degree, carry out division rather than assuming a horizontal asymptote.

Reciprocal models carry physical restrictions

A rectangle of fixed area 24 square metres has width w=24/ℓw=24/\ell for length ℓ>0\ell>0. The algebraic function also exists for negative ℓ\ell, but that branch has no role in the rectangle model. As positive length decreases toward zero, required width grows without bound. This explains the reciprocal behavior geometrically.

For a travel time T(d)=d/vT(d)=d/v with fixed positive speed vv, time is linear in distance. If distance is fixed and speed varies, T(v)=d/vT(v)=d/v is instead reciprocal. Identifying which quantity is the input distinguishes the two models.

Extensions are new specifications

Assigning f(1)=−3/2f(1)=-3/2 would fill the hole in the first example, creating a continuous extension at that input. It would not change nearby values or remove the asymptote at 3. Calculus will use this distinction between a function’s value and its nearby behavior to define limits precisely.

Exercises

  1. Find the domain and hole of (x2−4)/(x−2)(x^2-4)/(x-2).
  2. Find the vertical asymptotes of (x+1)/(x2−4)(x+1)/(x^2-4).
  3. Find the horizontal asymptote of (3x2+1)/(2x2−5)(3x^2+1)/(2x^2-5).
  4. Divide (x2+3)/(x−2)(x^2+3)/(x-2) to identify its slant asymptote.
  5. Find the horizontal-axis intercepts of (x−1)2/[(x−1)(x+2)](x-1)^2/[(x-1)(x+2)] on its original domain.
  6. A rectangle has area 36. Find the width at length 4 and describe the effect of doubling length.
Worked solutions
  1. The domain excludes 2. The simplified formula is x+2x+2, so the hole is (2,4)(2,4).
  2. The denominator zeros are ±2\pm2, neither cancelled by x+1x+1, giving asymptotes x=−2,2x=-2,2.
  3. Equal degrees give the leading-coefficient ratio 3/23/2.
  4. The quotient is x+2+7/(x−2)x+2+7/(x-2), so the slant asymptote is y=x+2y=x+2.
  5. The only numerator zero is 1, which is excluded. There are no horizontal-axis intercepts.
  6. Width is 36/4=936/4=9. Doubling the positive length halves width because the area stays fixed.

Open this chapter with navigation →

Part 3

Exponential and logarithmic models

Chapter 15 · Week 7

Exponential Functions and Multiplicative Change

Construct growth and decay models from equal-interval ratios.

Prerequisites: Exponent laws and function transformations.

Learning objectives

  • Build an exponential model from a factor or two observations.
  • Distinguish additive and multiplicative change.
  • Interpret asymptotes, doubling, and half-life.

A culture’s size in a hypothetical model increases by a factor of 1.4 each day. Equal time steps multiply the quantity by the same factor, so the increments themselves grow with the quantity. Exponential functions describe this repeated proportional change.

From a recurrence to a function

Starting at P0=500P_0=500, the daily model is Pn+1=1.4PnP_{n+1}=1.4P_n. Repeated substitution gives Pn=500(1.4)nP_n=500(1.4)^n for nonnegative integers nn. The values at days 0, 1, and 2 are 500, 700, and 980.

To model intermediate times, we extend the exponent to real values and write P(t)=500(1.4)tP(t)=500(1.4)^t. This assumes that the same exponential rule is appropriate within a day. The discrete recurrence alone does not determine every intermediate value.

For base b>0b>0, b≠1b\ne1, the exponential function bxb^x is positive and satisfies bx+y=bxbyb^{x+y}=b^xb^y. Rational inputs are defined by roots; the usual real-valued exponential is the continuous extension to real inputs. For b>1b>1 it is strictly increasing, and for 0<b<10<b<1 it is strictly decreasing.

The domain is all real numbers and range is (0,∞)(0,\infty). It passes through (0,1)(0,1) and never reaches zero. In a time model, we may restrict its domain to t≥0t\ge0 or to a shorter interval where the proportional-growth assumption is credible.

Equal differences and equal ratios distinguish models

For P(t)=AbtP(t)=Ab^t with A>0A>0,

P(t+h)P(t)=bh.\frac{P(t+h)}{P(t)}=b^h.

The ratio depends only on the elapsed time hh. The difference P(t+h)−P(t)=Abt(bh−1)P(t+h)-P(t)=Ab^t(b^h-1) also depends on the starting time. This reverses the pattern of a linear model, whose equal-input differences agree.

A 12% increase per interval corresponds to factor 1.12. A 12% decrease corresponds to 0.88, not 1/1.121/1.12. Reversing a 12% increase requires multiplying by 1/1.121/1.12, which is a decrease of about 10.7%.

For a decay factor of 0.80.8 per hour, a quantity starting at 1000 becomes 1000(0.8)3=5121000(0.8)^3=512 after three hours. The units of the time variable determine what interval the factor describes.

Two observations determine a proposed exponential

Suppose P(1)=120P(1)=120 and P(4)=960P(4)=960 under P(t)=AbtP(t)=Ab^t. Dividing equations gives b3=8b^3=8, hence b=2b=2. Substitution gives A=60A=60. The resulting formula is P(t)=60(2)tP(t)=60(2)^t.

This fits the two observations exactly, but many other functions could fit them. Additional measurements and knowledge of the mechanism determine whether repeated proportional change is a useful model.

Shifts change the asymptote

The graph of f(t)=20+80(0.5)tf(t)=20+80(0.5)^t approaches 20 as tt increases. Its decreasing exponential contribution remains positive, so the outputs stay above 20. At zero the output is 100.

This form can describe a hypothetical quantity relaxing toward a background level. The total quantity does not halve each interval; its difference from the background does. At t=1t=1, the value is 60, while f(1)−20=40f(1)-20=40 is half the initial difference 80.

Doubling and half-life use a common factor

If a positive exponential quantity doubles every D>0D>0 time units, its model can be written P(t)=P0 2t/DP(t)=P_0\,2^{t/D}. A half-life H>0H>0 instead gives P(t)=P0(1/2)t/HP(t)=P_0(1/2)^{t/H}. These forms specify their characteristic time directly, without first requiring a decimal growth coefficient.

The constant e≈2.718281828e\approx2.718281828 supplies a particularly useful exponential base for calculus. We will write P(t)=P0ektP(t)=P_0e^{kt} when convenient, with kk measured in inverse time. The logarithm chapter will show how to translate between btb^t and ekte^{kt}; the derivative-based reason for this base belongs to calculus.

Exercises

  1. Write a model starting at 200 and increasing by 5% per year.
  2. A quantity falls by 20% per hour. What fraction remains after four hours?
  3. Find A,b>0A,b>0 if Ab0=3Ab^0=3 and Ab2=27Ab^2=27.
  4. Write a model with initial value 80 and half-life 6 days.
  5. For f(t)=10+90(0.8)tf(t)=10+90(0.8)^t, find f(0)f(0) and the long-run background value.
  6. Compare three steps of adding 10% of the original 100 with three steps of multiplying by 1.1.
Worked solutions
  1. P(t)=200(1.05)tP(t)=200(1.05)^t, with tt in years over the modeled interval.
  2. The remaining fraction is 0.84=0.40960.8^4=0.4096.
  3. A=3A=3 and b2=9b^2=9, so the positive base is 3.
  4. P(t)=80(1/2)t/6P(t)=80(1/2)^{t/6} for nonnegative days.
  5. The initial value is 100 and the background is 10. It is the excess over 10 that decreases by factor 0.8.
  6. Adding 10 each step gives 130. Compounding gives 100(1.1)3=133.1100(1.1)^3=133.1 because the base for each percentage changes.

Open this chapter with navigation →

Chapter 16 · Week 7

Logarithmic Functions and Their Laws

Define logarithms through inverse exponentials and derive their domain-dependent identities.

Prerequisites: Exponentials, inverse functions, and domains.

Learning objectives

  • Convert between logarithmic and exponential statements.
  • Derive and apply logarithm laws.
  • Use change of base while retaining positive arguments.

An exponential model can calculate a quantity from elapsed time. Recovering the time requires an inverse function. Since bxb^x is one-to-one for a positive base b≠1b\ne1, each positive output corresponds to one real exponent. A logarithm names that exponent.

A logarithm is an inverse assignment

For b>0b>0, b≠1b\ne1,

log⁡by=x⟺bx=y,y>0.\log_b y=x\quad\Longleftrightarrow\quad b^x=y,\qquad y>0.

Thus log⁡28=3\log_2 8=3, log⁡2(1/4)=−2\log_2(1/4)=-2, and log⁡b1=0\log_b1=0. The logarithm’s domain is (0,∞)(0,\infty) and range is R\mathbb R. For b>1b>1 it increases; for 0<b<10<b<1 it decreases, following the corresponding exponential’s direction.

The inverse identities are blog⁡bx=xb^{\log_b x}=x for x>0x>0 and log⁡b(bx)=x\log_b(b^x)=x for real xx. These express different compositions on their appropriate domains.

The common logarithm uses base 10 and is often written log⁡10\log_{10} or log⁡\log in elementary contexts. The natural logarithm uses base ee and is written ln⁡\ln. In this book, ln⁡\ln always means base ee, and any other base is shown explicitly.

Exponent laws produce logarithm laws

Let u=bru=b^r and v=bsv=b^s be positive. Then uv=br+suv=b^{r+s}, so

log⁡b(uv)=log⁡bu+log⁡bv.\log_b(uv)=\log_bu+\log_bv.

Similarly, dividing exponentials gives log⁡b(u/v)=log⁡bu−log⁡bv\log_b(u/v)=\log_bu-\log_bv, and real powers on positive bases give log⁡b(ua)=alog⁡bu\log_b(u^a)=a\log_bu. Positivity of the logarithm arguments is part of each identity.

For example, ln⁡(x2)=2ln⁡x\ln(x^2)=2\ln x holds for x>0x>0, but the left side also exists for negative xx. On the full nonzero domain, the appropriate formula is ln⁡(x2)=2ln⁡∣x∣\ln(x^2)=2\ln|x|.

There is no corresponding rule log⁡b(u+v)=log⁡bu+log⁡bv\log_b(u+v)=\log_bu+\log_bv. With u=v=1u=v=1 in base 10, the proposed right side is zero while the left side is log⁡102\log_{10}2. The product rule comes from multiplication of exponentials, which is a different operation from adding their outputs.

Change of base

If y=log⁡bxy=\log_bx, then by=xb^y=x. Taking the natural logarithm and applying the power law gives yln⁡b=ln⁡xy\ln b=\ln x. Therefore

log⁡bx=ln⁡xln⁡b.\log_bx=\frac{\ln x}{\ln b}.

The denominator is nonzero because b≠1b\ne1. This permits a calculator using natural logarithms to evaluate any allowed base.

It also gives bx=exln⁡bb^x=e^{x\ln b}. The growth model A(1.05)tA(1.05)^t can therefore be written AektAe^{kt} with k=ln⁡1.05k=\ln1.05. The continuous exponential coefficient is about 0.048790.04879 per time unit, whereas the per-interval relative increase is 0.050.05. They describe the same curve using different parameters.

The graph exchanges input and output scales

The logarithm graph reflects the exponential in the line y=xy=x. The exponential’s horizontal approach to zero becomes the logarithm’s vertical behavior near input zero. For b>1b>1, log⁡bx\log_bx decreases without bound as xx approaches zero from the right and increases without bound as xx grows.

For g(x)=ln⁡(x−3)+2g(x)=\ln(x-3)+2, the domain is x>3x>3 and vertical asymptote is x=3x=3. The horizontal-axis intercept satisfies ln⁡(x−3)=−2\ln(x-3)=-2, giving x=3+e−2x=3+e^{-2}. Transforming the input has shifted the domain restriction along with the graph.

Logarithmic scales compare ratios

On a base-ten logarithmic scale, values 10, 100, and 1000 have positions 1, 2, and 3. Equal spacing means an equal multiplicative factor in the original variable. A change of two log units means a factor of 100, independent of the original magnitude.

Taking the logarithm of a dimensional quantity also requires a reference. An expression such as ln⁡(L/L0)\ln(L/L_0) uses a dimensionless ratio of two lengths. Changing the reference adds a constant to the logarithmic coordinate, consistent with the quotient law.

Exercises

  1. Evaluate log⁡381\log_3 81 and log⁡5(1/25)\log_5(1/25).
  2. Expand ln⁡(x3/y)\ln(x^3/y) on x,y>0x,y>0.
  3. Find the real domain of ln⁡(7−2x)\ln(7-2x).
  4. Express log⁡27\log_2 7 using natural logarithms.
  5. Solve log⁡10x=−3\log_{10}x=-3.
  6. Rewrite 500(0.9)t500(0.9)^t as 500ekt500e^{kt} and state the sign of kk.
Worked solutions
  1. The values are 4 and −2-2 because 34=813^4=81 and 5−2=1/255^{-2}=1/25.
  2. 3ln⁡x−ln⁡y3\ln x-\ln y. The positivity assumptions permit both separate logarithms.
  3. Require 7−2x>07-2x>0, giving x<7/2x<7/2.
  4. ln⁡7/ln⁡2\ln7/\ln2.
  5. The inverse exponential gives x=10−3=0.001x=10^{-3}=0.001.
  6. k=ln⁡0.9<0k=\ln0.9<0. The negative coefficient describes decay in the natural-base parameterization.

Open this chapter with navigation →

Chapter 17 · Week 7

Exponential and Logarithmic Equations in Models

Solve for time, parameters, and crossings in growth and decay models.

Prerequisites: Exponential and logarithmic functions.

Learning objectives

  • Solve exponential and logarithmic equations with checks.
  • Estimate model parameters and threshold times.
  • Compare discrete and continuous compounding conventions.

A quantity modeled by P(t)=300(1.08)tP(t)=300(1.08)^t is easy to evaluate at a known time. A threshold question reverses the assignment: to find when it reaches 600, we solve an exponential equation for the input. The logarithm gives an exact expression for that time, while the model determines how to interpret a noninteger answer.

Solving exponential equations

If two sides can be written with the same positive base other than one, injectivity lets us equate exponents. For 4x−1=84^{x-1}=8, write 22x−2=232^{2x-2}=2^3, giving x=5/2x=5/2.

For the doubling threshold,

300(1.08)t=600,t=ln⁡2ln⁡1.08≈9.0065.300(1.08)^t=600,\qquad t=\frac{\ln2}{\ln1.08}\approx9.0065.

The real-time exponential interpolation reaches the threshold at about 9.01 time units. If quantities are evaluated only at the end of integer periods, the first qualifying period is 10, since period 9 is slightly below the threshold.

More complicated equations can sometimes become polynomial equations in a positive intermediate variable. For e2x−5ex+6=0e^{2x}-5e^x+6=0, put u=ex>0u=e^x>0. Then (u−2)(u−3)=0(u-2)(u-3)=0, giving x=ln⁡2x=\ln2 or ln⁡3\ln3. A negative candidate for uu would have to be discarded.

Logarithmic equations retain positive arguments

Solve ln⁡(x−1)+ln⁡(x+1)=ln⁡8\ln(x-1)+\ln(x+1)=\ln8. The original restrictions give x>1x>1. Combining the logarithms and using injectivity yields x2−1=8x^2-1=8, with candidates ±3\pm3. Only 3 lies in the original domain.

For log⁡2(x+3)=log⁡2(2x−1)\log_2(x+3)=\log_2(2x-1), both arguments must be positive. Equality gives x+3=2x−1x+3=2x-1, so x=4x=4, which passes both restrictions.

Exponentiating an equation can eliminate a logarithm, but it does not grant meaning to a previously nonpositive argument. Write the domain before transforming the equation, then test every candidate against it.

Estimating a rate from a measured ratio

Suppose a hypothetical decay model has Q(0)=120Q(0)=120 and Q(5)=45Q(5)=45. In Q(t)=120ektQ(t)=120e^{kt}, the second observation gives

k=15ln⁡(45/120)=15ln⁡(3/8)<0.k=\frac15\ln(45/120)=\frac15\ln(3/8)<0.

A half-life HH satisfies ekH=1/2e^{kH}=1/2, so H=ln⁡(1/2)/kH=\ln(1/2)/k. Substituting the estimated coefficient gives about 3.533.53 time units. The result assumes the same exponential coefficient over the interval; two values alone do not verify that mechanism.

For a model with background level BB, fit the exponential to Q(t)−BQ(t)-B, not to Q(t)Q(t) itself. If T(t)=20+80ektT(t)=20+80e^{kt} and T(2)=60T(2)=60, then e2k=1/2e^{2k}=1/2. Ignoring the background would instead use the incorrect ratio 60/10060/100.

Compounding conventions change the formula

In a hypothetical account with principal PP and nominal annual rate rr, equal compounding mm times per year gives

A(t)=P(1+r/m)mt,A(t)=P(1+r/m)^{mt},

at scheduled compounding times, with 1+r/m>01+r/m>0. The effective annual factor is (1+r/m)m(1+r/m)^m. Increasing compounding frequency while keeping the nominal rate fixed leads to the continuous-compounding expression PertPe^{rt}; this limiting construction is one way the base ee enters calculus.

For P=1000P=1000 and r=0.06r=0.06, annual compounding gives 1060 after one year, while continuous compounding gives about 1061.84. Neither formula includes fees, changing rates, deposits, or other contractual conditions. Here the account is an arithmetic model used to compare conventions.

Crossing two models

To compare A(t)=100e0.1tA(t)=100e^{0.1t} and B(t)=150e0.04tB(t)=150e^{0.04t}, divide to get A(t)/B(t)=(2/3)e0.06tA(t)/B(t)=(2/3)e^{0.06t}. Equality occurs at

t=ln⁡(3/2)0.06≈6.7578.t=\frac{\ln(3/2)}{0.06}\approx6.7578.

The ratio is strictly increasing, so this is the unique crossing for real time. Before it, A is smaller; after it, A is larger. The ratio supplies the comparison and uniqueness argument together.

Exercises

  1. Solve 32x−1=273^{2x-1}=27.
  2. Solve 5e2t=405e^{2t}=40.
  3. Solve ln⁡(x−2)+ln⁡x=ln⁡8\ln(x-2)+\ln x=\ln8 on the original domain.
  4. An exponential quantity falls from 80 to 20 in 12 hours. Find its half-life.
  5. A value follows Q(t)=10+90(1/2)t/4Q(t)=10+90(1/2)^{t/4}. Find when it equals 25.
  6. Find the first integer n≥0n\ge0 for which 100(1.1)n≥200100(1.1)^n\ge200.
Worked solutions
  1. Equate 2x−1=32x-1=3, giving x=2x=2.
  2. e2t=8e^{2t}=8, so t=ln⁡8/2t=\ln8/2.
  3. Require x>2x>2. The equation becomes x(x−2)=8x(x-2)=8, with candidates 4 and −2-2. Only 4 is allowed.
  4. The quantity has halved twice, so the half-life is 6 hours under the model.
  5. Subtracting 10 gives (1/2)t/4=1/6(1/2)^{t/4}=1/6, so t=4ln⁡(1/6)/ln⁡(1/2)≈10.34t=4\ln(1/6)/\ln(1/2)\approx10.34.
  6. The real threshold is ln⁡2/ln⁡1.1≈7.2725\ln2/\ln1.1\approx7.2725, so the first integer is 8.

Open this chapter with navigation →

Part 4

Trigonometry and periodic models

Chapter 18 · Week 8

Angles, Radians, and Circular Motion

Derive angle measure from arc length and connect angular and linear motion.

Prerequisites: Circle geometry, units, and proportions.

Learning objectives

  • Convert angle measures and identify coterminal angles.
  • Calculate arc length and sector area in radians.
  • Relate angular speed to linear speed.

A point on a wheel travels along a circular arc. Measuring its angle by the arc length divided by the radius makes the angle independent of the wheel’s size. This ratio is radian measure, and it connects circular geometry with rates without an extra degree-conversion factor.

Radians are an arc-to-radius ratio

For an arc of length ss on a circle of radius r>0r>0, define the angle magnitude by θ=s/r\theta=s/r. A full circumference is 2πr2\pi r, so one full turn measures 2π2\pi radians. A half-turn is π\pi and a quarter-turn is π/2\pi/2.

Degrees divide a full turn into 360 equal parts. Consequently

180∘=π radians,θrad=π180θdeg.180^\circ=\pi\text{ radians},\qquad \theta_{\rm rad}=\frac{\pi}{180}\theta_{\rm deg}.

An angle of 150∘150^\circ is 5π/65\pi/6 radians, while 7π/47\pi/4 radians is 315∘315^\circ. The numerical input to a trigonometric calculation must use the convention expected by the formula or calculator.

Directed angles record rotation

Place the initial ray along the positive horizontal axis. Counterclockwise rotation is positive and clockwise rotation negative. An angle can include more than a full turn, so 5π/25\pi/2 is a full positive turn plus a quarter-turn.

Angles with the same terminal direction differ by an integer multiple of 2π2\pi. Thus −π/3-\pi/3, 5π/35\pi/3, and 11π/311\pi/3 are coterminal. They describe different amounts of rotation but the same final ray.

The reference angle is the acute angle between the terminal ray and the nearest horizontal-axis direction. For 5π/65\pi/6, it is π/6\pi/6. Reference angles will help us calculate magnitudes of trigonometric values, while the quadrant supplies signs.

Arc length and sector area

Rearranging the definition gives s=rθs=r\theta for a nonnegative angle magnitude measured in radians. A radius of 6 centimetres and angle π/3\pi/3 gives arc length 2π2\pi centimetres.

A sector occupies fraction θ/(2π)\theta/(2\pi) of the full disk, so its area is

A=θ2ππr2=12r2θ.A=\frac{\theta}{2\pi}\pi r^2=\frac12r^2\theta.

For the same sector, the area is 6π6\pi square centimetres. If a signed angle represents motion, use its magnitude for the ordinary sector area and distance along the arc. A signed accumulated angular displacement can instead record direction.

Arc length and chord length are different. The chord joining the two endpoints is shorter than the circular arc for a nonzero angle below a full turn. We will use trigonometry to express that chord as 2rsin⁡(θ/2)2r\sin(\theta/2) for 0≤θ≤2π0\le\theta\le2\pi.

Constant angular motion

If angular position is θ(t)=θ0+ωt\theta(t)=\theta_0+\omega t, the constant ω\omega is angular velocity in radians per unit time. Its sign records rotation direction. The magnitude of distance traveled per unit time on a fixed-radius circle is

v=r∣ω∣.v=r|\omega|.

This follows by dividing arc length r∣Δθ∣r|\Delta\theta| by elapsed time. At radius 0.40.4 metres and angular speed 3 radians per second, the rim speed is 1.21.2 metres per second.

A wheel turning at 90 revolutions per minute has angular speed 90(2π)/60=3π90(2\pi)/60=3\pi radians per second. Its period, the time per revolution, is 2π/(3π)=2/32\pi/(3\pi)=2/3 second. The conversion carries both the full-turn factor and the minute-to-second factor.

Dimensionless angles still need a convention

Radians are a ratio of two lengths, so they are dimensionless in dimensional analysis. Nevertheless, writing “radians” communicates how a numerical angle is being measured. Entering 30 into a radian-mode sine calculation is a different input from entering 30∘=π/630^\circ=\pi/6.

The formulas s=rθs=r\theta and A=r2θ/2A=r^2\theta/2 require radians. With degrees, the corresponding factor of π/180\pi/180 must be included. Keeping the conversion explicit lets the geometry, units, and arithmetic support one another.

Exercises

  1. Convert 210∘210^\circ to radians.
  2. Convert −5π/6-5\pi/6 radians to degrees.
  3. Give the representative of 17π/617\pi/6 in [0,2π)[0,2\pi).
  4. Find the arc length and sector area for radius 5 and angle 0.80.8 radians.
  5. A wheel of radius 0.250.25 metres turns twice per second. Find angular speed and rim speed.
  6. An angular velocity is −π/4-\pi/4 radians per second. Find the period and rotation direction.
Worked solutions
  1. Multiply by π/180\pi/180, giving 7π/67\pi/6.
  2. Multiply by 180/π180/\pi, giving −150∘-150^\circ.
  3. Subtract 2π=12π/62\pi=12\pi/6, giving 5π/65\pi/6.
  4. Arc length 5(0.8)=45(0.8)=4 length units and area 25(0.8)/2=1025(0.8)/2=10 square units.
  5. Angular speed is 4π4\pi radians per second; rim speed is 0.25(4π)=π0.25(4\pi)=\pi metres per second.
  6. Period is 2π/(π/4)=82\pi/(\pi/4)=8 seconds, with clockwise rotation.

Open this chapter with navigation →

Chapter 19 · Week 8

Trigonometry on the Unit Circle

Define trigonometric functions by coordinates and derive exact values and signs.

Prerequisites: Radians, coordinates, and right-triangle geometry.

Learning objectives

  • Evaluate exact unit-circle values.
  • Determine signs and domains of the six trigonometric functions.
  • Use periodicity, symmetry, and the Pythagorean identity.

Rotating a point around the unit circle produces two coordinates that repeat after each full turn. Sine and cosine record those coordinates as functions of the angle. This construction extends right-triangle ratios to negative angles, angles beyond a right angle, and repeated rotations.

Unit circle with radius at angle pi over three and projections showing cosine one half and sine square root three over two.

Coordinates define sine and cosine

On the circle x2+y2=1x^2+y^2=1, let θ\theta be the directed angle from the positive horizontal axis to a point (x,y)(x,y). Define cos⁡θ=x\cos\theta=x and sin⁡θ=y\sin\theta=y. Every real angle gives one point, so both functions have domain R\mathbb R and range [−1,1][-1,1].

The four axis directions give

θ\theta 00 π/2\pi/2 π\pi 3π/23\pi/2
cos⁡θ\cos\theta 1 0 −1-1 0
sin⁡θ\sin\theta 0 1 0 −1-1

The circle equation supplies the Pythagorean identity cos⁡2θ+sin⁡2θ=1\cos^2\theta+\sin^2\theta=1. Squares on function values mean (sin⁡θ)2(\sin\theta)^2 and (cos⁡θ)2(\cos\theta)^2.

Exact values come from two triangles

A square cut along a diagonal gives a 45∘45^\circ right triangle with equal legs. Scaling its hypotenuse to one gives both legs 1/2=2/21/\sqrt2=\sqrt2/2. Hence sin⁡(π/4)=cos⁡(π/4)=2/2\sin(\pi/4)=\cos(\pi/4)=\sqrt2/2.

Bisecting an equilateral triangle of side 2 gives a right triangle with hypotenuse 2, short leg 1, and long leg 3\sqrt3. After scaling to unit hypotenuse, sin⁡(π/6)=1/2\sin(\pi/6)=1/2 and cos⁡(π/6)=3/2\cos(\pi/6)=\sqrt3/2. Exchanging the acute angles gives sin⁡(π/3)=3/2\sin(\pi/3)=\sqrt3/2 and cos⁡(π/3)=1/2\cos(\pi/3)=1/2.

These constructions supply magnitudes. The terminal quadrant supplies signs. At θ=5π/6\theta=5\pi/6, the reference angle is π/6\pi/6 and the point lies in quadrant II, so sine is 1/21/2 while cosine is −3/2-\sqrt3/2.

Symmetry and periodicity

A full turn returns the same point:

sin⁡(θ+2πk)=sin⁡θ,cos⁡(θ+2πk)=cos⁡θ\sin(\theta+2\pi k)=\sin\theta,\qquad \cos(\theta+2\pi k)=\cos\theta

for every integer kk. Reflection across the horizontal axis negates the angle and vertical coordinate, giving sin⁡(−θ)=−sin⁡θ\sin(-\theta)=-\sin\theta and cos⁡(−θ)=cos⁡θ\cos(-\theta)=\cos\theta.

A half-turn negates both coordinates. Thus sin⁡(θ+π)=−sin⁡θ\sin(\theta+\pi)=-\sin\theta and cos⁡(θ+π)=−cos⁡θ\cos(\theta+\pi)=-\cos\theta. A quarter-turn exchanges the coordinate roles with a sign change, connecting the sine and cosine graphs.

For sin⁡(13π/6)\sin(13\pi/6), subtract 2π2\pi to obtain sin⁡(π/6)=1/2\sin(\pi/6)=1/2. For cos⁡(−2π/3)\cos(-2\pi/3), evenness gives cos⁡(2π/3)=−1/2\cos(2\pi/3)=-1/2. The same few geometric values support many exact evaluations.

The other four functions are ratios

Define

tan⁡θ=sin⁡θcos⁡θ,cot⁡θ=cos⁡θsin⁡θ,sec⁡θ=1cos⁡θ,csc⁡θ=1sin⁡θ.\tan\theta=\frac{\sin\theta}{\cos\theta},\quad \cot\theta=\frac{\cos\theta}{\sin\theta},\quad \sec\theta=\frac1{\cos\theta},\quad \csc\theta=\frac1{\sin\theta}.

Tangent and secant exclude θ=π/2+kπ\theta=\pi/2+k\pi, where cosine is zero. Cotangent and cosecant exclude θ=kπ\theta=k\pi, where sine is zero. At π/6\pi/6, tangent is 1/3=3/31/\sqrt3=\sqrt3/3 and secant is 2/3=23/32/\sqrt3=2\sqrt3/3.

Dividing the Pythagorean identity by cos⁡2θ\cos^2\theta gives 1+tan⁡2θ=sec⁡2θ1+\tan^2\theta=\sec^2\theta on their shared domain. Dividing by sin⁡2θ\sin^2\theta gives 1+cot⁡2θ=csc⁡2θ1+\cot^2\theta=\csc^2\theta. The denominator restrictions come from the derivation and remain part of the identities.

Scaling from the unit circle

On a circle of radius rr, the corresponding point is (rcos⁡θ,rsin⁡θ)(r\cos\theta,r\sin\theta). For acute angles, dividing the vertical and horizontal coordinates by the hypotenuse rr recovers the familiar opposite/hypotenuse and adjacent/hypotenuse ratios. The unit-circle definition therefore retains the triangle meanings while allowing a much larger angle domain.

Exercises

  1. Find sin⁡(7π/6)\sin(7\pi/6) and cos⁡(7π/6)\cos(7\pi/6) exactly.
  2. Evaluate tan⁡(3π/4)\tan(3\pi/4).
  3. Give every angle excluded from the domain of secant.
  4. If cos⁡θ=3/5\cos\theta=3/5 in quadrant IV, find sine and tangent.
  5. Evaluate sin⁡(−11π/6)\sin(-11\pi/6) using periodicity.
  6. Find the coordinates on a radius-4 circle at angle 2π/32\pi/3.
Worked solutions
  1. Quadrant III makes both negative: −1/2-1/2 and −3/2-\sqrt3/2.
  2. The ratio (2/2)/(−2/2)(\sqrt2/2)/(-\sqrt2/2) is −1-1.
  3. θ=π/2+kπ\theta=\pi/2+k\pi for integers kk, where cosine vanishes.
  4. The Pythagorean identity gives ∣sin⁡θ∣=4/5|\sin\theta|=4/5. Quadrant IV selects −4/5-4/5, so tangent is −4/3-4/3.
  5. Add 2π2\pi to get π/6\pi/6, giving 1/21/2.
  6. (4cos⁡(2π/3),4sin⁡(2π/3))=(−2,23)(4\cos(2\pi/3),4\sin(2\pi/3))=(-2,2\sqrt3).

Open this chapter with navigation →

Chapter 20 · Week 9

Sinusoidal Graphs and Models

Translate amplitude, period, phase, and midline into a periodic function.

Prerequisites: Unit-circle functions and graph transformations.

Learning objectives

  • Read parameters from a sinusoidal formula or graph.
  • Construct a periodic model from specified extrema and timing.
  • Distinguish tangent behavior from sine and cosine oscillation.

A point rotating at a constant angular speed has a vertical coordinate that rises and falls smoothly. Its height is a sine or cosine function of time. Amplitude, period, and phase connect the circle’s geometry to the timing and scale of that oscillation.

Cosine model with midline 3, maximum (1, 5), minimum (7, 1), and period 12.

Read the basic graphs through one rotation

As θ\theta goes from 0 to 2π2\pi, sin⁡θ\sin\theta passes through 0,1,0,−1,00,1,0,-1,0 at quarter-turn intervals. Cosine passes through 1,0,−1,0,11,0,-1,0,1 at the same inputs. Both have period 2π2\pi: translating the input by that amount repeats every output.

A period is any positive shift producing the same values for all inputs. The fundamental period is the smallest such shift. For sine and cosine it is 2π2\pi, although 4π4\pi and other positive integer multiples are also periods.

The graphs need more than straight segments between five points. Their coordinates arise from continuous circular rotation. A graphing program can sample many points, while the circle determines their exact relationship.

Transform parameters into a model

For

y(t)=D+Acos⁡(B(t−h)),A≠0, B≠0,y(t)=D+A\cos(B(t-h)),\qquad A\ne0,\ B\ne0,

the midline is DD, amplitude is ∣A∣|A|, and fundamental period is T=2π/∣B∣T=2\pi/|B|. Its range is [D−∣A∣,D+∣A∣][D-|A|,D+|A|]. The phase hh shifts the point pattern horizontally, with the sign of AA deciding whether t=ht=h is a maximum or minimum.

Consider y(t)=3+2cos⁡(π(t−1)/6)y(t)=3+2\cos(\pi(t-1)/6). Its midline is 3, amplitude 2, and period 12. A maximum occurs at t=1t=1, a minimum at t=7t=7, and midline crossings at t=4t=4 and 10. The quarter-period spacing is 3, so a table of these key times can guide a sketch.

Factoring the inner expression is useful. In sin⁡(2t−π)\sin(2t-\pi), the expression is 2(t−π/2)2(t-\pi/2), giving phase shift π/2\pi/2 and period π\pi. Reading the unfactored constant as the shift would double the timing error.

Build a sinusoid from extrema and timing

Suppose a hypothetical daily quantity ranges from 8 to 20, reaches a maximum at hour 5, and repeats every 24 hours. The midline is (20+8)/2=14(20+8)/2=14, amplitude is (20−8)/2=6(20-8)/2=6, and angular coefficient is 2π/24=π/122\pi/24=\pi/12. A model is

Q(t)=14+6cos⁡ ⁣(π12(t−5)).Q(t)=14+6\cos\!\left(\frac{\pi}{12}(t-5)\right).

It reaches its minimum twelve hours after the maximum, at hour 17. The data specified the extrema and period; assuming a sinusoidal shape between them is an additional modeling choice. A daily process with a sharp jump or asymmetric cycle may need a different periodic function.

The same sinusoid can often be written using sine and a different phase. Equivalent formulas should produce the same key values and timing. A phase parameter is not unique because adding a full period leaves the graph unchanged.

Tangent has a different kind of repetition

Since both sine and cosine change sign after a half-turn, their ratio satisfies tan⁡(θ+π)=tan⁡θ\tan(\theta+\pi)=\tan\theta. Its fundamental period is π\pi. Tangent has zeros at kπk\pi and vertical asymptotes at π/2+kπ\pi/2+k\pi.

Between −π/2-\pi/2 and π/2\pi/2, tangent increases from unbounded negative values through zero to unbounded positive values. Its range is all real numbers, so it has no finite amplitude. For y=2tan⁡(3t)y=2\tan(3t), the factor 2 scales outputs and the period becomes π/3\pi/3, but it still has no amplitude in the bounded-oscillation sense.

Secant and cosecant inherit exclusions from their denominators. Their graphs stay outside (−1,1)(-1,1) because the reciprocal of a nonzero sine or cosine value has magnitude at least one. Use the denominator’s zeros to split the graph into branches before sketching.

Exercises

  1. Find amplitude, midline, period, and range of 5−3sin⁡(2t)5-3\sin(2t).
  2. Find a maximum time and the next minimum time for 2+4cos⁡(π(t−3)/5)2+4\cos(\pi(t-3)/5).
  3. Construct a cosine model with minimum 2, maximum 10, period 8, and maximum at zero.
  4. Give the phase shift and period of sin⁡(4t−2π)\sin(4t-2\pi).
  5. Find the zeros and vertical asymptotes of tan⁡(2t)\tan(2t).
  6. Explain why 3tan⁡t3\tan t has no finite amplitude.
Worked solutions
  1. Amplitude 3, midline 5, period π\pi, range [2,8][2,8].
  2. A maximum occurs at t=3t=3. Period is 10, so the next minimum is at t=8t=8.
  3. Midline 6 and amplitude 4 give Q(t)=6+4cos⁡(πt/4)Q(t)=6+4\cos(\pi t/4).
  4. Factor as 4(t−π/2)4(t-\pi/2), giving shift π/2\pi/2 and period π/2\pi/2. In this case the shift is one full period.
  5. Zeros satisfy 2t=kπ2t=k\pi, so t=kπ/2t=k\pi/2. Asymptotes satisfy 2t=π/2+kπ2t=\pi/2+k\pi, so t=π/4+kπ/2t=\pi/4+k\pi/2.
  6. Tangent is unbounded near each asymptote; multiplying its outputs by 3 preserves that unboundedness.

Open this chapter with navigation →

Chapter 21 · Week 9

Trigonometric Identities and Angle Formulas

Build identities from rotations and use them on their common domains.

Prerequisites: Unit-circle definitions and algebraic identities.

Learning objectives

  • Verify identities with domain restrictions.
  • Apply angle-sum, double-angle, and half-angle formulas.
  • Reduce a trigonometric expression to a useful form.

An identity states that two expressions agree for every input on their common domain. It can expose a hidden factor, convert an equation into a familiar form, or connect values at related angles. The useful identity is the one that changes the structure of the calculation we are trying to perform.

Preserve the domain while simplifying

The identity sin⁡2x+cos⁡2x=1\sin^2x+\cos^2x=1 gives

1−cos⁡2xsin⁡x=sin⁡x\frac{1-\cos^2x}{\sin x}=\sin x

when sin⁡x≠0\sin x\ne0. Cancelling the sine factor is valid on that domain. The right side alone has additional values where the original quotient was undefined.

To verify an identity, transform one side into the other using established identities and valid algebra. Assuming the two sides equal and reaching a true statement proves the claim only if every step is reversible. Working from a known expression avoids concealing an invalid division.

Rotation produces angle-sum formulas

A counterclockwise rotation through bb sends the horizontal unit vector to (cos⁡b,sin⁡b)(\cos b,\sin b) and the vertical unit vector to (−sin⁡b,cos⁡b)(-\sin b,\cos b). Decompose a unit-circle point (cos⁡a,sin⁡a)(\cos a,\sin a) along these directions. Its rotated coordinates are

(cos⁡acos⁡b−sin⁡asin⁡b, sin⁡acos⁡b+cos⁡asin⁡b).(\cos a\cos b-\sin a\sin b,\ \sin a\cos b+\cos a\sin b).

The new angle is a+ba+b, so

cos⁡(a+b)=cos⁡acos⁡b−sin⁡asin⁡b,\cos(a+b)=\cos a\cos b-\sin a\sin b, sin⁡(a+b)=sin⁡acos⁡b+cos⁡asin⁡b.\sin(a+b)=\sin a\cos b+\cos a\sin b.

Replacing bb by −b-b and using parity gives the difference formulas. For example,

sin⁡(π/4+π/6)=6+24.\sin(\pi/4+\pi/6)=\frac{\sqrt6+\sqrt2}{4}.

A direct calculator evaluation can check the numerical value, while the rotation argument supplies the identity.

Doubling and halving an angle

Setting a=b=xa=b=x gives sin⁡2x=2sin⁡xcos⁡x\sin2x=2\sin x\cos x and cos⁡2x=cos⁡2x−sin⁡2x\cos2x=\cos^2x-\sin^2x. Combining the latter with the Pythagorean identity gives cos⁡2x=1−2sin⁡2x=2cos⁡2x−1\cos2x=1-2\sin^2x=2\cos^2x-1.

Replacing 2x2x by θ\theta and solving for a square gives

sin⁡2(θ/2)=1−cos⁡θ2,cos⁡2(θ/2)=1+cos⁡θ2.\sin^2(\theta/2)=\frac{1-\cos\theta}{2},\qquad \cos^2(\theta/2)=\frac{1+\cos\theta}{2}.

Taking a square root requires a sign selected from the quadrant of the half-angle. If θ=3π/2\theta=3\pi/2, then θ/2=3π/4\theta/2=3\pi/4 lies in quadrant II, so its cosine is negative even though the principal square root is nonnegative.

These formulas also reduce powers. Since sin⁡2x=(1−cos⁡2x)/2\sin^2x=(1-\cos2x)/2, a squared oscillation can be described using a constant term and a doubled-frequency cosine. This explains why squaring a zero-centered sinusoid changes both its midline and repetition.

Tangent formulas inherit denominator conditions

Dividing the angle-sum sine by angle-sum cosine gives

tan⁡(a+b)=tan⁡a+tan⁡b1−tan⁡atan⁡b,\tan(a+b)=\frac{\tan a+\tan b}{1-\tan a\tan b},

provided the tangents and the displayed denominator are defined and nonzero as needed. If a=b=π/4a=b=\pi/4, the denominator vanishes because the sum angle is π/2\pi/2, where tangent is undefined.

Adding and subtracting the sine sum formulas gives 2sin⁡acos⁡b=sin⁡(a+b)+sin⁡(a−b)2\sin a\cos b=\sin(a+b)+\sin(a-b). This product-to-sum identity separates two frequencies that are multiplied together. Different tasks can favor either direction of the same identity.

Exercises

  1. Simplify (1−sin⁡2x)/cos⁡x(1-\sin^2x)/\cos x and state the original restriction.
  2. Find cos⁡(π/4+π/6)\cos(\pi/4+\pi/6) exactly.
  3. If sin⁡x=3/5\sin x=3/5 in quadrant II, find sin⁡2x\sin2x and cos⁡2x\cos2x.
  4. Find cos⁡(3π/4)\cos(3\pi/4) using a half-angle formula.
  5. Rewrite cos⁡2x\cos^2x using a double angle.
  6. Express 2sin⁡(3x)cos⁡x2\sin(3x)\cos x as a sum.
Worked solutions
  1. The result is cos⁡x\cos x, valid where cos⁡x≠0\cos x\ne0.
  2. The sum formula gives (6−2)/4(\sqrt6-\sqrt2)/4.
  3. Quadrant II gives cos⁡x=−4/5\cos x=-4/5. Then sin⁡2x=−24/25\sin2x=-24/25 and cos⁡2x=16/25−9/25=7/25\cos2x=16/25-9/25=7/25.
  4. Take half of θ=3π/2\theta=3\pi/2. The magnitude is (1+0)/2=2/2\sqrt{(1+0)/2}=\sqrt2/2, with negative sign in quadrant II.
  5. cos⁡2x=(1+cos⁡2x)/2\cos^2x=(1+\cos2x)/2.
  6. Use a=3x,b=xa=3x,b=x to get sin⁡4x+sin⁡2x\sin4x+\sin2x.

Open this chapter with navigation →

Chapter 22 · Week 9

Inverse Trigonometry and Equations

Separate principal inverse values from complete periodic solution sets.

Prerequisites: Trigonometric graphs, identities, and inverse functions.

Learning objectives

  • State inverse-trigonometric domains and ranges.
  • Find all solutions of trigonometric equations on an interval.
  • Check transformed equations against their original restrictions.

The equation sin⁡x=1/2\sin x=1/2 has infinitely many real solutions, while a calculator’s inverse-sine button returns one value. The calculator is evaluating an inverse function on a restricted branch. Solving the original periodic equation requires recovering every relevant branch and turn.

Principal inverses require restricted domains

Sine restricted to [−π/2,π/2][-\pi/2,\pi/2] is one-to-one and covers [−1,1][-1,1]. Its inverse is arcsin⁡\arcsin with domain [−1,1][-1,1] and range [−π/2,π/2][-\pi/2,\pi/2].

Cosine restricted to [0,π][0,\pi] gives arccos⁡\arccos, also with domain [−1,1][-1,1] but range [0,π][0,\pi]. Tangent restricted to (−π/2,π/2)(-\pi/2,\pi/2) gives arctan⁡\arctan with domain R\mathbb R and range (−π/2,π/2)(-\pi/2,\pi/2).

Thus arcsin⁡(1/2)=π/6\arcsin(1/2)=\pi/6, arccos⁡(−1/2)=2π/3\arccos(-1/2)=2\pi/3, and arctan⁡(−1)=−π/4\arctan(-1)=-\pi/4. The range convention determines which angle is returned.

On the appropriate domains, sin⁡(arcsin⁡u)=u\sin(\arcsin u)=u. The reversed expression arcsin⁡(sin⁡x)\arcsin(\sin x) equals xx only on the restricted sine branch. For x=5π/6x=5\pi/6, sine is 1/21/2 and the principal inverse returns π/6\pi/6.

Periodic equations give families of solutions

On one full turn, the sine value 1/21/2 occurs at π/6\pi/6 and 5π/65\pi/6. All real solutions are

x=π/6+2kπorx=5π/6+2kπ,k∈Z.x=\pi/6+2k\pi\quad\text{or}\quad x=5\pi/6+2k\pi,\qquad k\in\mathbb Z.

For cos⁡x=c\cos x=c with −1≤c≤1-1\le c\le1, put α=arccos⁡c\alpha=\arccos c. The families x=±α+2kπx=\pm\alpha+2k\pi give every solution, with duplicates at boundary values removed when listing an interval.

For tan⁡x=c\tan x=c, the complete family is x=arctan⁡c+kπx=\arctan c+k\pi. Its period is π\pi, so adding only full turns would omit half the solutions.

Solve for the inner angle before restricting the interval

For sin⁡2x=1/2\sin2x=1/2, solve the sine equation in the inner variable u=2xu=2x. Division then gives

x=π/12+kπorx=5π/12+kπ.x=\pi/12+k\pi\quad\text{or}\quad x=5\pi/12+k\pi.

On [0,2π)[0,2\pi) this yields π/12,5π/12,13π/12,17π/12\pi/12,5\pi/12,13\pi/12,17\pi/12. Doubling the input angle doubled the number of cycles on this interval.

For a shifted input, keep the shift through the same process. Solving cos⁡(x−π/3)=0\cos(x-\pi/3)=0 gives x−π/3=π/2+kπx-\pi/3=\pi/2+k\pi, hence x=5π/6+kπx=5\pi/6+k\pi. Restrict this family only after the input variable has been recovered.

Identities can produce an algebraic equation

Consider cos⁡2x=cos⁡x\cos2x=\cos x. Use cos⁡2x=2cos⁡2x−1\cos2x=2\cos^2x-1 and put u=cos⁡xu=\cos x:

2u2−u−1=(2u+1)(u−1)=0.2u^2-u-1=(2u+1)(u-1)=0.

Thus cos⁡x=−1/2\cos x=-1/2 or cos⁡x=1\cos x=1. On [0,2π)[0,2\pi), the solutions are 0,2π/3,4π/30,2\pi/3,4\pi/3. The substitution retains the restriction −1≤u≤1-1\le u\le1; a polynomial candidate outside that range could not represent a cosine value.

Dividing by a trigonometric expression can lose solutions. For sin⁡xcos⁡x=sin⁡x\sin x\cos x=\sin x, factor sin⁡x(cos⁡x−1)=0\sin x(\cos x-1)=0 rather than divide by sine. Every x=kπx=k\pi solves the equation, including the values at which division would be impossible.

Check original domains after transformation

The equation tan⁡x=sin⁡x/cos⁡x\tan x=\sin x/\cos x is an identity only where cosine is nonzero. Clearing a denominator in another equation can make those forbidden inputs look like candidates. Squaring can also lose a sign condition. After forming a finite interval list, substitute each candidate into the original expressions and check that no periodic family was omitted.

Exercises

  1. Evaluate arcsin⁡(−3/2)\arcsin(-\sqrt3/2) and arccos⁡(0)\arccos(0).
  2. Evaluate arccos⁡(cos⁡(3π/2))\arccos(\cos(3\pi/2)).
  3. Solve sin⁡x=−1/2\sin x=-1/2 on [0,2π)[0,2\pi).
  4. Give all real solutions of tan⁡(3x)=1\tan(3x)=1.
  5. Solve 2cos⁡2x−1=02\cos^2x-1=0 on [0,2π)[0,2\pi).
  6. Solve sin⁡2x=sin⁡x\sin^2x=\sin x on [0,2π)[0,2\pi) without dividing by sine.
Worked solutions
  1. The principal values are −π/3-\pi/3 and π/2\pi/2.
  2. The inner cosine is zero, whose principal arccosine is π/2\pi/2.
  3. The reference angle is π/6\pi/6, and sine is negative in quadrants III and IV: 7π/6,11π/67\pi/6,11\pi/6.
  4. 3x=π/4+kπ3x=\pi/4+k\pi, so x=π/12+kπ/3x=\pi/12+k\pi/3.
  5. Cosine is ±2/2\pm\sqrt2/2, giving π/4,3π/4,5π/4,7π/4\pi/4,3\pi/4,5\pi/4,7\pi/4.
  6. Factoring gives sin⁡x(sin⁡x−1)=0\sin x(\sin x-1)=0. The solutions are 0,π/2,π0,\pi/2,\pi.

Open this chapter with navigation →

Chapter 23 · Week 10

Right Triangles and Measurement

Use triangle ratios to recover heights and distances under stated geometric assumptions.

Prerequisites: Trigonometric definitions and inverse functions.

Learning objectives

  • Choose appropriate right-triangle ratios.
  • Solve angle-of-elevation and two-position measurement models.
  • Interpret units, geometric assumptions, and measurement sensitivity.

A line of sight to the top of a structure forms a right triangle only after we specify the ground, the observer’s height, and the point from which the angle is measured. Trigonometry then translates that geometric model into a length calculation. A missing height or a sloping baseline changes the triangle before any ratio is evaluated.

Similar triangles preserve ratios

Right triangles sharing an acute angle are similar. Their corresponding side ratios agree, so for an acute angle θ\theta,

sin⁡θ=oppositehypotenuse,cos⁡θ=adjacenthypotenuse,tan⁡θ=oppositeadjacent.\sin\theta=\frac{\text{opposite}}{\text{hypotenuse}},\quad \cos\theta=\frac{\text{adjacent}}{\text{hypotenuse}},\quad \tan\theta=\frac{\text{opposite}}{\text{adjacent}}.

These are the scaled unit-circle ratios. The hypotenuse is opposite the right angle; “opposite” and “adjacent” refer to the selected acute angle.

For hypotenuse 10 and angle π/6\pi/6, the opposite leg is 5 and adjacent leg is 535\sqrt3. Their squared lengths sum to 100, supplying an independent geometric check.

One observation can determine a height

Suppose an observer’s eye is 1.5 metres above level ground, the horizontal distance to a vertical tower is 30 metres, and the angle of elevation is 35∘35^\circ. The vertical difference from eye level to the tower top is 30tan⁡35∘30\tan35^\circ, so the modeled tower height is

H=1.5+30tan⁡35∘≈22.51 metres.H=1.5+30\tan35^\circ\approx22.51\text{ metres}.

The angle is measured above the observer’s horizontal line. Omitting the eye height would calculate the height difference from that line rather than the full structure.

An angle of depression is measured below a horizontal ray. With parallel horizontal references, it equals the corresponding angle of elevation at the other endpoint. This equality comes from the geometry of parallel lines, not from an automatic sign change in a triangle ratio.

Two observations can eliminate an unknown baseline

An observer on level ground moves 40 metres toward a tower. The angles of elevation increase from 30∘30^\circ to 60∘60^\circ, and eye height remains 2 metres. Let dd be the nearer horizontal distance and let h=H−2h=H-2 be the vertical height above the eyes. Then

h=dtan⁡60∘=(d+40)tan⁡30∘.h=d\tan60^\circ=(d+40)\tan30^\circ.

Using tan⁡60∘=3\tan60^\circ=\sqrt3 and tan⁡30∘=1/3\tan30^\circ=1/\sqrt3 gives 3d=d+403d=d+40, so d=20d=20 metres and H=2+203H=2+20\sqrt3 metres. Both angle observations now recover the same height.

The calculation assumes that the movement is toward the tower along a horizontal line through its base direction. A sideways movement of the same length would produce a different pair of horizontal distances.

Recover an angle from a ratio

For a ramp rising 1.2 metres over a horizontal run of 8 metres, the inclination is θ=arctan⁡(1.2/8)≈8.53∘\theta=\arctan(1.2/8)\approx8.53^\circ. The ramp length is 82+1.22≈8.09\sqrt{8^2+1.2^2}\approx8.09 metres. The run and the ramp length are different sides, so using the run as a hypotenuse would change the trigonometric equation.

A stated grade of 15% means rise divided by horizontal run is 0.15. It is not an angle of 15∘15^\circ. The tangent and inverse tangent connect these two ways of describing inclination.

Measurement sensitivity comes from the chosen geometry

For a height difference h=dtan⁡θh=d\tan\theta, a fixed error in dd scales the height proportionally when the angle is fixed. Angle errors can behave less uniformly. With d=10d=10 metres, angles 88∘88^\circ and 89∘89^\circ produce height differences about 286.4 and 572.9 metres.

The large change occurs because tangent grows without bound near a right angle. A line of sight almost directly overhead makes the horizontal-baseline calculation sensitive to a small angle error. Before reporting many decimal places, compare the plausible range of measured angles and distances.

Exercises

  1. A right triangle has hypotenuse 13 and one leg 5. Find the other leg and sine of the angle opposite the 5-unit leg.
  2. A 6-metre ladder makes a 60∘60^\circ angle with horizontal ground. Find its vertical reach and horizontal run.
  3. Find the angle of a ramp rising 2 units over a horizontal run of 10.
  4. An eye-level angle of elevation is 45∘45^\circ from horizontal distance 18 metres. Eye height is 1.7 metres. Find the modeled height.
  5. For the two-station example, verify the far observation using d=20d=20 and h=203h=20\sqrt3.
  6. A survey records horizontal distance in feet and seeks height in metres. Explain how to use the units consistently.
Worked solutions
  1. The other leg is 169−25=12\sqrt{169-25}=12, and the requested sine is 5/135/13.
  2. Vertical reach is 6sin⁡60∘=336\sin60^\circ=3\sqrt3 metres; run is 6cos⁡60∘=36\cos60^\circ=3 metres.
  3. θ=arctan⁡0.2≈11.31∘\theta=\arctan0.2\approx11.31^\circ.
  4. The height difference is 18tan⁡45∘=1818\tan45^\circ=18, giving total height 19.7 metres.
  5. The far distance is 60, and 60tan⁡30∘=60/3=20360\tan30^\circ=60/\sqrt3=20\sqrt3.
  6. Convert the horizontal distance to metres before multiplying by the dimensionless tangent, or calculate a height in feet and convert that final length.

Open this chapter with navigation →

Chapter 24 · Week 10

Oblique Triangles and Ambiguous Data

Derive the laws of sines and cosines and decide how many triangles the data determine.

Prerequisites: Triangle geometry and trigonometric identities.

Learning objectives

  • Apply the laws of sines and cosines.
  • Identify the zero, one, or two triangles possible in an SSA case.
  • Calculate triangle area from sides and an included angle.

Two measured sides do not always determine a triangle, even when one angle is also known. The location of the angle matters. An included angle fixes the separation of two side directions, while an angle opposite one of the measured sides can leave two possible configurations. The laws of cosines and sines let us calculate these possibilities and test them.

A consistent naming convention

Let sides a,b,ca,b,c be opposite angles A,B,CA,B,C. The angles are positive and sum to π\pi. In a nondegenerate triangle, each side is positive and smaller than the sum of the other two.

When using a calculator, choose one angle unit throughout the calculation. The formulas work with either degree or radian inputs when evaluated consistently, while a reported angle must identify the convention.

The law of cosines follows from distance

Place angle AA at the origin, one adjacent endpoint at (c,0)(c,0), and the other at (bcos⁡A,bsin⁡A)(b\cos A,b\sin A). The squared distance between them is

a2=(bcos⁡A−c)2+(bsin⁡A)2=b2+c2−2bccos⁡A.a^2=(b\cos A-c)^2+(b\sin A)^2 =b^2+c^2-2bc\cos A.

For a right angle, cosine is zero and this reduces to Pythagoras. For known b,c,Ab,c,A, the formula determines the positive side aa.

If b=7b=7, c=9c=9, and A=60∘A=60^\circ, then a2=49+81−63=67a^2=49+81-63=67, so a=67a=\sqrt{67}. Conversely, when three valid sides are known,

A=arccos⁡ ⁣(b2+c2−a22bc)A=\arccos\!\left(\frac{b^2+c^2-a^2}{2bc}\right)

selects the triangle angle in (0,π)(0,\pi). Invalid side data may produce a cosine outside [−1,1][-1,1], revealing the absence of a triangle.

Area gives the law of sines

The altitude to side cc has length bsin⁡Ab\sin A, so area is K=bcsin⁡A/2K=bc\sin A/2. Expressing the same area from other vertices gives

sin⁡Aa=sin⁡Bb=sin⁡Cc.\frac{\sin A}{a}=\frac{\sin B}{b}=\frac{\sin C}{c}.

When two angles and one side are known, the third angle follows from their sum, and these ratios determine the remaining sides uniquely. For A=40∘A=40^\circ, B=65∘B=65^\circ, and a=10a=10, we obtain C=75∘C=75^\circ, b=10sin⁡65∘/sin⁡40∘b=10\sin65^\circ/\sin40^\circ, and c=10sin⁡75∘/sin⁡40∘c=10\sin75^\circ/\sin40^\circ.

The SSA case can produce two triangles

Suppose A=30∘A=30^\circ, a=7a=7, and b=10b=10. The law of sines gives sin⁡B=5/7\sin B=5/7. The principal angle is about 45.58∘45.58^\circ, but its supplement, about 134.42∘134.42^\circ, has the same sine. Both leave a positive third angle after subtracting A+BA+B from 180∘180^\circ, so both are possible triangles.

For an acute given angle AA, the altitude h=bsin⁡Ah=b\sin A explains the cases geometrically. If a<ha<h, the side cannot reach the opposite ray. If a=ha=h, it gives one right triangle. If h<a<bh<a<b, two configurations fit. If a≥ba\ge b, only one nondegenerate triangle remains. For an obtuse given angle, the opposite side must be the largest, and testing the recovered angles avoids applying the acute-case table in the wrong setting.

In a numerical solution, first check 0<bsin⁡A/a≤10< b\sin A/a\le1. If it is below one, test both inverse-sine angles. Discard any choice making the third angle zero or negative.

Included-angle area and checking the result

For sides 7 and 9 with included angle 60∘60^\circ, the area is K=633/4K=63\sqrt3/4. The law of cosines gives the third side independently. The largest side must lie opposite the largest angle, which is a useful check when assigning the computed values back to the diagram.

A rounded inverse-sine input can slightly exceed one near a right triangle. Investigate the unrounded data and their measurement uncertainty before treating this as a substantive impossibility. Keeping exact expressions through the main calculation reduces such numerical artifacts.

Exercises

  1. Find the side opposite 60∘60^\circ when the adjacent sides are 5 and 8.
  2. Find the area from those same included-angle data.
  3. A triangle has angles 45∘,60∘,75∘45^\circ,60^\circ,75^\circ and the side opposite 45∘45^\circ is 6. Find the side opposite 60∘60^\circ.
  4. Decide how many triangles fit A=30∘A=30^\circ, a=4a=4, b=10b=10.
  5. Decide how many triangles fit A=30∘A=30^\circ, a=5a=5, b=10b=10.
  6. Find the angle opposite side 5 in a triangle with other sides 3 and 4.
Worked solutions
  1. a2=25+64−2(5)(8)(1/2)=49a^2=25+64-2(5)(8)(1/2)=49, so the side is 7.
  2. K=(1/2)(5)(8)(3/2)=103K=(1/2)(5)(8)(\sqrt3/2)=10\sqrt3 square units.
  3. The side is 6sin⁡60∘/sin⁡45∘=366\sin60^\circ/\sin45^\circ=3\sqrt6.
  4. The altitude is 10sin⁡30∘=510\sin30^\circ=5, greater than side 4, so there is no triangle.
  5. The side equals the altitude, giving exactly one triangle with B=90∘B=90^\circ.
  6. cos⁡A=(9+16−25)/(2⋅3⋅4)=0\cos A=(9+16-25)/(2\cdot3\cdot4)=0, so the angle is 90∘90^\circ.

Open this chapter with navigation →

Part 5

Vectors, systems, and geometry

Chapter 25 · Week 11

Vectors in the Plane

Represent displacement, direction, projections, and force components with vectors.

Prerequisites: Coordinates, trigonometry, and the Pythagorean theorem.

Learning objectives

  • Calculate vector combinations and unit directions.
  • Use the dot product for angles and projections.
  • Distinguish displacement from path length in a vector model.

A displacement of three metres east and four metres north has length five metres, but its length alone does not specify where it goes. A vector retains the two components needed to record both magnitude and direction. Adding vectors can then describe successive displacements without first reducing them to lengths.

Components describe a displacement

Write a plane vector as v=(vx,vy)\mathbf v=(v_x,v_y), also denoted vxi+vyjv_x\mathbf i+v_y\mathbf j using horizontal and vertical unit vectors. An arrow from PP to QQ represents v=Q−P\mathbf v=Q-P. Moving the arrow without rotating or changing its length represents the same free vector.

The magnitude is ∥v∥=vx2+vy2\|\mathbf v\|=\sqrt{v_x^2+v_y^2}. For v=(3,4)\mathbf v=(3,4), it is 5. The zero vector has magnitude zero and no unique direction.

Addition is componentwise: (a,b)+(c,d)=(a+c,b+d)(a,b)+(c,d)=(a+c,b+d). Scalar multiplication gives k(a,b)=(ka,kb)k(a,b)=(ka,kb). A negative scalar reverses direction and scales magnitude by its absolute value. Thus ∥−2v∥=2∥v∥\|-2\mathbf v\|=2\|\mathbf v\|.

Moving by (3,4)(3,4) and then by (−3,4)(-3,4) gives net displacement (0,8)(0,8), with magnitude 8. The traveled path has length 5+5=105+5=10. Adding component displacements and adding path lengths answer different questions.

Unit directions and bearings

For v≠0\mathbf v\ne\mathbf0, its unit direction is v/∥v∥\mathbf v/\|\mathbf v\|. The vector (3,4)(3,4) therefore has unit direction (3/5,4/5)(3/5,4/5).

A vector of magnitude r≥0r\ge0 at directed angle θ\theta from the positive horizontal axis has components (rcos⁡θ,rsin⁡θ)(r\cos\theta,r\sin\theta). At magnitude 10 and angle 150∘150^\circ, these are (−53,5)(-5\sqrt3,5).

Recovering a direction from components requires the correct quadrant. The equation tan⁡θ=vy/vx\tan\theta=v_y/v_x alone cannot distinguish opposite directions. For (−1,−1)(-1,-1), a principal arctangent returns π/4\pi/4 from the ratio 1, but the vector lies in quadrant III and has direction 5π/45\pi/4. A two-argument arctangent routine can account for both component signs.

The dot product measures alignment

Define u⋅v=uxvx+uyvy\mathbf u\cdot\mathbf v=u_xv_x+u_yv_y. It is a scalar, and v⋅v=∥v∥2\mathbf v\cdot\mathbf v=\|\mathbf v\|^2. For nonzero vectors with included angle θ∈[0,π]\theta\in[0,\pi],

u⋅v=∥u∥∥v∥cos⁡θ.\mathbf u\cdot\mathbf v=\|\mathbf u\|\|\mathbf v\|\cos\theta.

To derive this, apply the law of cosines to the triangle of vectors and compare it with the component expansion of ∥u−v∥2\|\mathbf u-\mathbf v\|^2. Both expressions contain ∥u∥2+∥v∥2\|\mathbf u\|^2+\|\mathbf v\|^2, leaving the stated cross term.

Perpendicular nonzero vectors have zero dot product. For (2,1)(2,1) and (1,−2)(1,-2), the dot product is zero. Positive dot product means an acute included angle; negative means an obtuse one.

Projection separates a component along a direction

The signed scalar component of u\mathbf u along a unit vector e\mathbf e is u⋅e\mathbf u\cdot\mathbf e. Along a nonzero vector v\mathbf v, the vector projection is

proj⁡vu=u⋅v∥v∥2v.\operatorname{proj}_{\mathbf v}\mathbf u =\frac{\mathbf u\cdot\mathbf v}{\|\mathbf v\|^2}\mathbf v.

For u=(4,2)\mathbf u=(4,2) and v=(1,1)\mathbf v=(1,1), the coefficient is 6/2=36/2=3, giving projection (3,3)(3,3). The remaining vector is (1,−1)(1,-1), perpendicular to v\mathbf v. Their sum recovers u\mathbf u.

If a constant force F\mathbf F acts through displacement d\mathbf d, its signed work is F⋅d\mathbf F\cdot\mathbf d. A force perpendicular to displacement contributes zero to this work, even though its magnitude is nonzero. With newtons and metres as component units, work has units joules.

Vector equations describe lines and combinations

The equation r(t)=p+tv\mathbf r(t)=\mathbf p+t\mathbf v describes a line through point p\mathbf p in nonzero direction v\mathbf v. Restricting tt to [0,1][0,1] gives a segment from p\mathbf p to p+v\mathbf p+\mathbf v. Two independent direction vectors can express every plane vector as a combination; parallel directions cannot supply movement transverse to their common line.

Exercises

  1. Calculate 2(1,−3)−(4,2)2(1,-3)-(4,2).
  2. Find the magnitude and unit direction of (5,−12)(5,-12).
  3. Give components of magnitude 8 at angle π/3\pi/3.
  4. Find the angle between (1,0)(1,0) and (1,3)(1,\sqrt3).
  5. Project (6,2)(6,2) onto (1,0)(1,0) and identify the perpendicular remainder.
  6. Find the work of constant force (3,4)(3,4) through displacement (2,−1)(2,-1).
Worked solutions
  1. (2,−6)−(4,2)=(−2,−8)(2,-6)-(4,2)=(-2,-8).
  2. Magnitude 13 and unit direction (5/13,−12/13)(5/13,-12/13).
  3. (8/2,83/2)=(4,43)(8/2,8\sqrt3/2)=(4,4\sqrt3).
  4. The cosine is 1/(1⋅2)=1/21/(1\cdot2)=1/2, so the angle is π/3\pi/3.
  5. The projection is (6,0)(6,0) and remainder (0,2)(0,2).
  6. The dot product is 3(2)+4(−1)=23(2)+4(-1)=2 joules if the supplied units are newtons and metres.

Open this chapter with navigation →

Chapter 26 · Week 11

Matrices and Linear and Nonlinear Systems

Use row operations and substitution to identify solution structure.

Prerequisites: Linear systems, polynomial equations, and coordinates.

Learning objectives

  • Solve a linear system using row reduction.
  • Recognize unique, inconsistent, and dependent systems.
  • Solve a nonlinear intersection without losing candidate checks.

A linear system has several constraints on the same unknown quantities. A matrix records their coefficients in a form that makes elimination systematic. The row operations change the written constraints while preserving their common solutions, so we can read the solution structure from a simpler equivalent system.

An augmented matrix records the equations

Consider

x+y+z=6,2x−y+z=3,x+2y−z=2.x+y+z=6,\qquad2x-y+z=3,\qquad x+2y-z=2.

Keeping the variable order x,y,zx,y,z, its augmented matrix is

[11162−11312−12].\left[\begin{array}{ccc|c} 1&1&1&6\\ 2&-1&1&3\\ 1&2&-1&2 \end{array}\right].

The final column holds the right sides. A missing coefficient must be recorded as zero; dropping that entry would shift every later variable into the wrong column.

Reversible row operations implement elimination

We may interchange rows, multiply a row by a nonzero constant, or add a multiple of one row to another. Each operation has an inverse of the same kind. Consequently it preserves exactly the solutions of the original system.

Subtract twice the first row from the second and the first row from the third. Then interchange the last two rows:

[111601−2−40−3−1−9].\left[\begin{array}{ccc|c} 1&1&1&6\\ 0&1&-2&-4\\ 0&-3&-1&-9 \end{array}\right].

Adding three times row 2 to row 3 gives the final row (0,0,−7∣−21)(0,0,-7\mid-21). Back-substitution gives z=3z=3, then y=2y=2, then x=1x=1. Checking all three original equations confirms the result.

This triangular form is an echelon form. Continuing to clear entries above each leading nonzero coefficient gives reduced row-echelon form, but back-substitution already solves this example.

Pivots and free variables describe the solution set

A row (0,0,0∣5)(0,0,0\mid5) requires 0=50=5, so the system is inconsistent. A zero row imposes no additional constraint. If a consistent system has fewer pivot variables than unknowns, the remaining variables are free parameters.

For x+y=3x+y=3 and 2x+2y=62x+2y=6, elimination gives a zero second row. Taking y=ty=t gives all solutions (x,y)=(3−t,t)(x,y)=(3-t,t). The second equation repeats the first constraint rather than identifying a second coordinate.

If the second right side were 7, elimination would instead produce 0=10=1. Nearly parallel constraints in measured data can also make the recovered intersection sensitive to small numerical changes, even before exact inconsistency is considered.

Matrix multiplication and a two-by-two inverse

For compatible dimensions, the entry in row ii, column jj of a product ABAB is the sum of products of row-ii entries of AA with column-jj entries of BB. This definition makes AxA\mathbf x reproduce the left sides of a linear system.

For

A=(abcd),A−1=1ad−bc(d−b−ca),A=\begin{pmatrix}a&b\\c&d\end{pmatrix}, \qquad A^{-1}=\frac1{ad-bc}\begin{pmatrix}d&-b\\-c&a\end{pmatrix},

direct multiplication gives AA−1=A−1A=IAA^{-1}=A^{-1}A=I when ad−bc≠0ad-bc\ne0. The scalar ad−bcad-bc is the determinant. If it is zero, this inverse does not exist, and the equations must be examined for inconsistency or dependence.

An inverse is useful for understanding a reversible linear transformation. For routine numerical systems, row reduction can solve directly without first constructing every entry of an inverse.

Nonlinear intersections need different algebra

Matrix row reduction applies to linear equations. For the circle x2+y2=5x^2+y^2=5 and line y=x+1y=x+1, substitute the line into the circle to get x2+(x+1)2=5x^2+(x+1)^2=5. The equation simplifies to (x+2)(x−1)=0(x+2)(x-1)=0, giving points (−2,−1)(-2,-1) and (1,2)(1,2).

Both points satisfy both original equations. A nonlinear system can have several isolated intersections, so a single linear-system answer pattern does not describe all its possibilities. Substitution, factoring, and original-domain checks remain available.

Exercises

  1. Solve x+2y=7x+2y=7 and 3x−y=73x-y=7 by elimination.
  2. Classify x−y=2x-y=2 and 2x−2y=52x-2y=5.
  3. Parameterize all solutions of 2x+y=42x+y=4 and 4x+2y=84x+2y=8.
  4. Find the determinant and inverse of (2111)\begin{pmatrix}2&1\\1&1\end{pmatrix}.
  5. Solve y=2xy=2x and x2+y2=20x^2+y^2=20.
  6. Explain why multiplying a matrix row by zero is not a permitted equivalence operation.
Worked solutions
  1. Add three times the first equation to the negative of the second to obtain 7y=147y=14, so y=2y=2 and x=3x=3.
  2. Subtract twice the first equation from the second to get 0=10=1. There is no solution.
  3. Set x=tx=t, giving y=4−2ty=4-2t for arbitrary real tt.
  4. Determinant 1; the inverse is (1−1−12)\begin{pmatrix}1&-1\\-1&2\end{pmatrix}.
  5. Substitution gives 5x2=205x^2=20, so x=±2x=\pm2, with points (2,4)(2,4) and (−2,−4)(-2,-4).
  6. It replaces a constraint by 0=00=0, discarding information. The operation cannot be reversed.

Open this chapter with navigation →

Chapter 27 · Week 12

Conic Sections and Distance Geometry

Derive standard conic equations from distance constraints.

Prerequisites: Completing squares, coordinate distance, and quadratics.

Learning objectives

  • Identify and transform circles, parabolas, ellipses, and hyperbolas.
  • Recover centers, vertices, and foci from standard forms.
  • Derive a conic equation from a geometric constraint.

A circle consists of points a fixed distance from a center. Other conic sections arise from related distance constraints: equal distances from a point and a line, a fixed sum of distances from two points, or a fixed absolute difference of those distances. These definitions explain the parameters in their standard equations.

Ellipse with horizontal semiaxis 5, vertical semiaxis 3, and foci at (negative 4, 0) and (4, 0).

A parabola compares a point with a line

Let the focus be (p,0)(p,0) and directrix be x=−px=-p, with p>0p>0. A point (x,y)(x,y) is equidistant from them when

(x−p)2+y2=∣x+p∣.\sqrt{(x-p)^2+y^2}=|x+p|.

Squaring and simplifying gives y2=4pxy^2=4px. This equation automatically has x≥0x\ge0, so the resulting distances satisfy the original equality. The vertex is the origin and the axis is horizontal.

Translations give (y−k)2=4p(x−h)(y-k)^2=4p(x-h), with vertex (h,k)(h,k), focus (h+p,k)(h+p,k), and directrix x=h−px=h-p. Allowing negative pp opens the parabola leftward. Exchanging the coordinate roles gives a vertical-axis parabola (x−h)2=4p(y−k)(x-h)^2=4p(y-k).

For y2=8xy^2=8x, p=2p=2, so the focus is (2,0)(2,0) and directrix is x=−2x=-2.

An ellipse fixes a sum of distances

Place foci at (±c,0)(\pm c,0) and require their distance sum to be 2a2a, with a>c≥0a>c\ge0. If dL,dRd_L,d_R are the two distances, then

dL+dR=2a,dL2−dR2=4cx.d_L+d_R=2a,\qquad d_L^2-d_R^2=4cx.

Dividing the second relation by the first gives dL−dR=2cx/ad_L-d_R=2cx/a, hence dL=a+cx/ad_L=a+cx/a. Squaring this distance formula and simplifying yields

x2a2+y2b2=1,b2=a2−c2.\frac{x^2}{a^2}+\frac{y^2}{b^2}=1,\qquad b^2=a^2-c^2.

The horizontal vertices are (±a,0)(\pm a,0) and vertical endpoints are (0,±b)(0,\pm b). The major axis has total length 2a2a. When c=0c=0, a=ba=b and the ellipse is a circle.

For x2/25+y2/9=1x^2/25+y^2/9=1, the semi-axis lengths are 5 and 3. Since c2=25−9=16c^2=25-9=16, the foci are (±4,0)(\pm4,0). Exchanging the larger denominator to the yy term makes the major axis vertical.

A hyperbola fixes a difference

For foci (±c,0)(\pm c,0), a fixed absolute distance difference 2a2a with 0<a<c0<a<c gives

x2a2−y2b2=1,c2=a2+b2.\frac{x^2}{a^2}-\frac{y^2}{b^2}=1,\qquad c^2=a^2+b^2.

The same sum-and-difference algebra produces this equation, but the difference condition allows two branches rather than a closed curve. Vertices are (±a,0)(\pm a,0), and the asymptotes are y=±(b/a)xy=\pm(b/a)x.

For x2/9−y2/16=1x^2/9-y^2/16=1, the foci are (±5,0)(\pm5,0) and asymptotes are y=±4x/3y=\pm4x/3. The relation for cc differs from the ellipse relation because one squared coordinate is subtracted.

If the positive squared term is the yy term, the branches open upward and downward. Translating both coordinates moves the center and the asymptote intersection together.

Completing squares recovers a shifted conic

Consider

4x2+9y2−16x+18y−11=0.4x^2+9y^2-16x+18y-11=0.

Group by coordinate and complete squares:

4(x−2)2+9(y+1)2=36.4(x-2)^2+9(y+1)^2=36.

Dividing by 36 gives (x−2)2/9+(y+1)2/4=1(x-2)^2/9+(y+1)^2/4=1. The center is (2,−1)(2,-1), semi-axis lengths 3 and 2, and foci (2±5,−1)(2\pm\sqrt5,-1).

A second-degree equation can also be degenerate. For x2+y2=0x^2+y^2=0, the only real point is the origin. For x2+y2=−1x^2+y^2=-1, no real points exist. Classify the resulting real set after completing squares rather than assigning every quadratic equation a nondegenerate conic.

Exercises

  1. Find the vertex, focus, and directrix of (x−1)2=12(y+2)(x-1)^2=12(y+2).
  2. Find the center and radius of x2+y2−6x+4y+9=0x^2+y^2-6x+4y+9=0.
  3. Find the semi-axis lengths and foci of x2/16+y2/7=1x^2/16+y^2/7=1.
  4. Find the vertices and asymptotes of y2/9−x2/4=1y^2/9-x^2/4=1.
  5. Describe the real set x2−4y2=0x^2-4y^2=0.
  6. Write the ellipse centered at the origin with horizontal semi-major axis 6 and foci (±2,0)(\pm2,0).
Worked solutions
  1. Vertex (1,−2)(1,-2), p=3p=3, focus (1,1)(1,1), directrix y=−5y=-5.
  2. Completing squares gives (x−3)2+(y+2)2=4(x-3)^2+(y+2)^2=4, so center (3,−2)(3,-2) and radius 2.
  3. Semi-axes 4 and 7\sqrt7; c2=16−7=9c^2=16-7=9, giving foci (±3,0)(\pm3,0).
  4. Vertices (0,±3)(0,\pm3) and asymptotes y=±3x/2y=\pm3x/2.
  5. Factoring gives (x−2y)(x+2y)=0(x-2y)(x+2y)=0, a pair of intersecting lines.
  6. a=6a=6, c=2c=2, so b2=32b^2=32. The equation is x2/36+y2/32=1x^2/36+y^2/32=1.

Open this chapter with navigation →

Chapter 28 · Week 12

Parametric and Polar Coordinates

Describe paths with a parameter and points with radial coordinates.

Prerequisites: Trigonometry, coordinates, and conic equations.

Learning objectives

  • Eliminate a parameter while retaining the path’s restrictions.
  • Convert between polar and Cartesian descriptions.
  • Distinguish a curve’s point set from its direction and repeated tracing.

A position can depend on a common parameter even when the path cannot be represented by one function y=f(x)y=f(x). A circle is an immediate example: the parameter can record the rotation angle while both coordinates change. Polar coordinates offer another description, using direction and distance from an origin.

Polar curve r equals twice cosine theta is the circle centered at (1, 0) with radius 1.

Parametric equations retain the traversal

The pair x(t)=1+2tx(t)=1+2t, y(t)=3−ty(t)=3-t describes points with one shared parameter. Eliminating t=(x−1)/2t=(x-1)/2 gives y=3−(x−1)/2y=3-(x-1)/2. If 0≤t≤10\le t\le1, the path is only the segment from (1,3)(1,3) to (3,2)(3,2), traversed in that direction.

The Cartesian line equation alone does not retain the parameter range or direction. An elimination step should therefore report the resulting equation together with the inherited restrictions.

For x=t2x=t^2, y=ty=t with t∈Rt\in\mathbb R, elimination gives x=y2x=y^2. Restricting t≥0t\ge0 selects only its nonnegative-yy branch. Squaring away the sign of a parameter can otherwise add a part of a curve that was never traversed.

A circular parameterization

The equations

x(t)=1+3cos⁡t,y(t)=−2+3sin⁡tx(t)=1+3\cos t,\qquad y(t)=-2+3\sin t

satisfy (x−1)2+(y+2)2=9(x-1)^2+(y+2)^2=9. For 0≤t≤2π0\le t\le2\pi, they trace the circle counterclockwise once, starting at (4,−2)(4,-2) and returning there. Restricting tt to [0,π][0,\pi] gives only its upper half.

Replacing tt by 2t2t preserves the full circle as a point set over [0,2π][0,2\pi] but traces it twice. Replacing sine by negative sine reverses the direction. The parameterization contains information beyond the equation of the point set.

Polar coordinates use a reference direction

A polar pair (r,θ)(r,\theta) corresponds to

x=rcos⁡θ,y=rsin⁡θ.x=r\cos\theta,\qquad y=r\sin\theta.

With r≥0r\ge0, r=x2+y2r=\sqrt{x^2+y^2} is distance from the origin and θ\theta is a direction, determined up to multiples of 2π2\pi for nonzero points. The origin permits every angle.

Signed radial coordinates are also useful: (−r,θ)(-r,\theta) represents the same point as (r,θ+π)(r,\theta+\pi). Thus (2,π/3)(2,\pi/3) and (−2,4π/3)(-2,4\pi/3) both give (1,3)(1,\sqrt3). State whether negative radial values are permitted when analyzing a polar graph.

To recover the angle of (−1,3)(-1,\sqrt3), use its quadrant as well as the ratio of coordinates. Its nonnegative radius is 2 and one angle is 2π/32\pi/3. A principal arctangent alone would not select that quadrant.

Convert a polar curve without losing points

For r=2cos⁡θr=2\cos\theta, multiply by rr and use r2=x2+y2r^2=x^2+y^2:

x2+y2=2x,(x−1)2+y2=1.x^2+y^2=2x,\qquad (x-1)^2+y^2=1.

This is a circle centered at (1,0)(1,0) with radius 1. It contains the origin, reached when cos⁡θ=0\cos\theta=0. Dividing by rr during a reverse conversion would require checking that origin separately.

With signed radii and 0≤θ≤2π0\le\theta\le2\pi, this polar rule traces the circle twice. A Cartesian equation has no record of those repeated visits. Evaluating key angles and following the parameter resolves the tracing question.

Polar complex numbers turn products into rotations

A nonzero complex number can be written z=ρ(cos⁡θ+isin⁡θ)z=\rho(\cos\theta+i\sin\theta) with ρ=∣z∣>0\rho=|z|>0. Multiplying two such forms and applying angle-sum identities gives a product modulus ρ1ρ2\rho_1\rho_2 and angle θ1+θ2\theta_1+\theta_2.

Repeated multiplication yields zn=ρn(cos⁡nθ+isin⁡nθ)z^n=\rho^n(\cos n\theta+i\sin n\theta) for positive integers nn. The nnth roots have moduli ρ1/n\rho^{1/n} and arguments (θ+2πk)/n(\theta+2\pi k)/n for k=0,…,n−1k=0,\ldots,n-1. Raising each to the nnth power verifies the formula.

The cube roots of 1 are 11, −1/2+i3/2-1/2+i\sqrt3/2, and −1/2−i3/2-1/2-i\sqrt3/2, equally spaced around the unit circle. The extra full-turn choices in the original argument are what produce distinct roots.

Exercises

  1. Eliminate tt from x=2+tx=2+t, y=5−3ty=5-3t for 0≤t≤20\le t\le2, retaining the path restriction.
  2. Parameterize a radius-2 circle centered at the origin, starting at (2,0)(2,0) and moving counterclockwise.
  3. Convert (3,5π/6)(3,5\pi/6) from polar to Cartesian coordinates.
  4. Give a nonnegative-radius polar representation of (0,−4)(0,-4).
  5. Convert r=4sin⁡θr=4\sin\theta to a Cartesian circle equation.
  6. List all fourth roots of 1 in both polar-angle and Cartesian form.
Worked solutions
  1. t=x−2t=x-2, so y=11−3xy=11-3x with 2≤x≤42\le x\le4. The segment runs from (2,5)(2,5) to (4,−1)(4,-1).
  2. x=2cos⁡tx=2\cos t, y=2sin⁡ty=2\sin t, 0≤t≤2π0\le t\le2\pi.
  3. (x,y)=(−33/2,3/2)(x,y)=(-3\sqrt3/2,3/2).
  4. One representation is (4,3π/2)(4,3\pi/2).
  5. Multiplying by rr gives x2+y2=4yx^2+y^2=4y, or x2+(y−2)2=4x^2+(y-2)^2=4.
  6. The arguments are 0,π/2,π,3π/20,\pi/2,\pi,3\pi/2 at radius one, giving 1,i,−1,−i1,i,-1,-i.

Open this chapter with navigation →

Part 6

Discrete models and calculus readiness

Chapter 29 · Week 13

Sequences and Recurrence

Connect recursive updates with explicit arithmetic and geometric formulas.

Prerequisites: Functions, powers, and linear models.

Learning objectives

  • Translate between recursive and explicit sequence definitions.
  • Calculate and compare arithmetic and geometric sequences.
  • Analyze a simple affine recurrence and its equilibrium.

A weekly balance, a sampled temperature, or the number of objects after repeated steps has a discrete input. A sequence records the value at each integer index. We can define it by a formula that gives a term directly or by an update rule that describes how one term produces the next.

Indexing is part of the definition

A sequence (an)(a_n) is a function on an integer index set, usually n=1,2,…n=1,2,\ldots or n=0,1,…n=0,1,\ldots. For an=2n+1a_n=2n+1 starting at n=0n=0, the terms are 1,3,5,…1,3,5,\ldots. Starting at n=1n=1 instead gives 3,5,7,…3,5,7,\ldots. The formula alone does not specify which term is first.

A recursive definition supplies initial values and an update. The rules a0=1a_0=1, an+1=2an+3a_{n+1}=2a_n+3 give 1,5,13,29,…1,5,13,29,\ldots. The initial value is necessary: the same update starting at 2 gives a different sequence.

Specifying a finite list does not determine a unique continuation. A pattern can suggest a rule, but the rule is an additional specification. Many polynomial or piecewise formulas can fit the same first few terms.

Arithmetic sequences accumulate equal differences

An arithmetic sequence has an+1−an=da_{n+1}-a_n=d for a fixed difference dd. Starting at index 1, repeated addition gives

an=a1+(n−1)d.a_n=a_1+(n-1)d.

If a1=7a_1=7 and d=4d=4, the tenth term is 7+9(4)=437+9(4)=43. A pair of known terms gives d=(aj−ai)/(j−i)d=(a_j-a_i)/(j-i), provided their indices differ.

This is the discrete version of an affine model. The continuous line interpolates the integer-indexed values, but the sequence itself need not assign values at fractional indices.

Geometric sequences accumulate equal factors

For an+1=rana_{n+1}=ra_n with constant ratio rr, the index-1 formula is an=a1rn−1a_n=a_1r^{n-1}. A sequence beginning 3,−6,12,−24,…3,-6,12,-24,\ldots has ratio −2-2. Its signs alternate while magnitudes double.

If 0<r<10<r<1, positive terms decrease toward zero. A negative ratio with ∣r∣<1|r|<1 alternates signs with shrinking magnitude. If r=1r=1, the sequence is constant. If r=−1r=-1 and a1≠0a_1\ne0, the two alternating values do not approach one limit. With ∣r∣>1|r|>1 and nonzero initial term, magnitudes grow without bound.

The exceptional zero sequence remains zero under any fixed ratio update. Statements about divergence therefore need the nonzero initial-value condition.

An affine recurrence can be reduced to a geometric one

Consider

xn+1=axn+b.x_{n+1}=ax_n+b.

A fixed point LL satisfies L=aL+bL=aL+b. For a≠1a\ne1, it is L=b/(1−a)L=b/(1-a). Subtract this equation from the recurrence:

xn+1−L=a(xn−L).x_{n+1}-L=a(x_n-L).

The deviation from the fixed point is geometric. With starting index zero,

xn=L+an(x0−L).x_n=L+a^n(x_0-L).

For xn+1=0.8xn+4x_{n+1}=0.8x_n+4 and x0=70x_0=70, the fixed point is 20 and the formula is xn=20+50(0.8)nx_n=20+50(0.8)^n. Its first values are 70, 60, and 52. The decrease in each step is smaller because it acts on the shrinking deviation from 20.

If a=1a=1, the fixed-point formula has a zero denominator. The original rule becomes xn+1=xn+bx_{n+1}=x_n+b, an arithmetic sequence xn=x0+nbx_n=x_0+nb. Treating this parameter value separately recovers the missing case.

Convergence describes eventually small errors

A sequence converges to LL when its terms can be kept within any positive tolerance of LL by going sufficiently far along the sequence. For the affine model with ∣a∣<1|a|<1, the error is ∣a∣n∣x0−L∣|a|^n|x_0-L|, which tends to zero.

A negative aa between −1-1 and zero approaches the fixed point from alternating sides. For ∣a∣>1|a|>1, deviations grow unless the initial value is exactly LL. These behaviors follow from the transformed geometric sequence, giving more information than a short table of numerical iterations.

Exercises

  1. Find term 15 of the arithmetic sequence with a1=2a_1=2 and d=3d=3.
  2. An arithmetic sequence has a3=11a_3=11 and a8=31a_8=31. Find dd and a1a_1.
  3. Give the sixth term of the geometric sequence with a1=5a_1=5, r=2r=2.
  4. Describe the limiting behavior of an=4(−1/2)na_n=4(-1/2)^n for n≥0n\ge0.
  5. Solve xn+1=0.6xn+8x_{n+1}=0.6x_n+8, x0=5x_0=5, explicitly and calculate x3x_3.
  6. Solve xn+1=xn−3x_{n+1}=x_n-3, x0=10x_0=10, and explain why the fixed-point quotient is unavailable.
Worked solutions
  1. a15=2+14(3)=44a_{15}=2+14(3)=44.
  2. Five increments total 20, so d=4d=4; a1=11−2(4)=3a_1=11-2(4)=3.
  3. a6=5(2)5=160a_6=5(2)^5=160.
  4. Signs alternate and the magnitudes 4(1/2)n4(1/2)^n tend to zero, so the limit is zero.
  5. The fixed point is 8/0.4=208/0.4=20, giving xn=20−15(0.6)nx_n=20-15(0.6)^n. Thus x3=16.76x_3=16.76.
  6. xn=10−3nx_n=10-3n. Here a=1a=1, so b/(1−a)b/(1-a) is undefined and there is no fixed point when b=−3b=-3.

Open this chapter with navigation →

Chapter 30 · Week 13

Series and Discrete Accumulation

Derive arithmetic and geometric sums and use them in savings and balance models.

Prerequisites: Sequences, powers, and logarithms.

Learning objectives

  • Derive finite arithmetic and geometric sums.
  • Determine when an infinite geometric series converges.
  • Model periodic deposits with explicit timing assumptions.

A sequence records individual terms. A series adds them. If a deposit is made at the end of every month, the balance after several months is a sum of deposits that have experienced different numbers of growth steps. Writing that sum before simplifying it keeps the timing convention visible.

Summation notation identifies the terms

The notation ∑k=1nak\sum_{k=1}^n a_k means a1+⋯+ana_1+\cdots+a_n. The index is a local counting variable; changing its letter does not change the sum. Changing its lower or upper endpoint can change both the number and identity of the terms.

For ∑k=032k\sum_{k=0}^3 2^k, there are four terms, giving 1+2+4+8=151+2+4+8=15. For ∑k=132k\sum_{k=1}^3 2^k, the initial 1 is absent, giving 14. Count the terms as well as inspecting the formula.

Finite sums distribute across addition and constant multiples. Thus ∑(3ak−2bk)=3∑ak−2∑bk\sum(3a_k-2b_k)=3\sum a_k-2\sum b_k with matching index limits.

Pairing derives an arithmetic sum

Write an arithmetic sum forward and backward:

Sn=a1+a2+⋯+an,Sn=an+an−1+⋯+a1.S_n=a_1+a_2+\cdots+a_n,\qquad S_n=a_n+a_{n-1}+\cdots+a_1.

Each paired column sums to a1+ana_1+a_n, giving 2Sn=n(a1+an)2S_n=n(a_1+a_n). Hence

Sn=n2(a1+an)=n2[2a1+(n−1)d].S_n=\frac n2(a_1+a_n) =\frac n2[2a_1+(n-1)d].

The first twenty positive odd integers have first term 1 and twentieth term 39, so their sum is 20(40)/2=40020(40)/2=400. The formula came from equal pair sums, which explains why it applies.

Subtraction derives a geometric sum

For Sn=a+ar+⋯+arn−1S_n=a+ar+\cdots+ar^{n-1}, multiplying by rr shifts every power one position. Subtraction cancels the overlapping terms:

Sn−rSn=a−arn.S_n-rS_n=a-ar^n.

For r≠1r\ne1,

Sn=a1−rn1−r.S_n=a\frac{1-r^n}{1-r}.

If r=1r=1, the sum is nana, obtained directly from its definition. A zero denominator in the quotient formula signals this separate case.

For a=3a=3, r=2r=2, and five terms, the sum is 3(1−32)/(1−2)=933(1-32)/(1-2)=93. Adding 3+6+12+24+483+6+12+24+48 checks the term count and endpoint exponent.

Infinite geometric sums require convergence

An infinite series is defined through the limit of its finite partial sums. If ∣r∣<1|r|<1, then rn→0r^n\to0, so

∑k=0∞ark=a1−r.\sum_{k=0}^{\infty}ar^k=\frac a{1-r}.

For a nonzero aa and ∣r∣≥1|r|\ge1, the geometric terms do not tend to zero, so the series cannot converge. Alternating signs alone are insufficient.

For 1+1/2+1/4+⋯1+1/2+1/4+\cdots, the limit is 2. After nn terms, the exact remaining tail is 2(1/2)n2(1/2)^n. To make this smaller than 0.0010.001, eleven terms suffice, since the tail is then 1/10241/1024. This distinguishes an exact infinite sum from a finite approximation with a stated error.

Periodic deposits produce a geometric sum

In a hypothetical balance model, let each period multiply the existing balance by q>0q>0, then add deposit DD at the period’s end. Starting at zero, after nn deposits the balance is

Bn=D(1+q+⋯+qn−1)=Dqn−1q−1(q≠1).B_n=D(1+q+\cdots+q^{n-1}) =D\frac{q^n-1}{q-1}\quad(q\ne1).

The first deposit has experienced n−1n-1 growth steps, while the last has experienced none. With D=100D=100, q=1.01q=1.01, and n=3n=3, the balance is 100(1+1.01+1.0201)=303.01100(1+1.01+1.0201)=303.01.

If each deposit is made at the beginning of the period instead, every deposit experiences one extra growth step. The value at the end of the third period is therefore qB3=306.0401qB_3=306.0401. The algebra differs because the timing differs. At q=1q=1, either convention gives nDnD.

Exercises

  1. Calculate ∑k=15(2k+1)\sum_{k=1}^5(2k+1).
  2. Sum the first 30 terms of the arithmetic sequence 4,7,10,…4,7,10,\ldots.
  3. Sum six terms beginning with 2 and multiplying by 3 each time.
  4. Find the infinite sum 5+1+0.2+⋯5+1+0.2+\cdots.
  5. Find the exact tail after four terms of 1+1/3+1/9+⋯1+1/3+1/9+\cdots.
  6. For end-period deposits of 100 and growth factor 1.1, find the balance after three deposits and compare beginning-period timing.
Worked solutions
  1. The terms are 3,5,7,9,113,5,7,9,11, whose sum is 35.
  2. The last term is 4+29(3)=914+29(3)=91, so the sum is 30(4+91)/2=142530(4+91)/2=1425.
  3. 2(1−36)/(1−3)=7282(1-3^6)/(1-3)=728.
  4. The ratio is 0.20.2, giving 5/(1−0.2)=6.255/(1-0.2)=6.25.
  5. The tail is (1/3)4/(1−1/3)=1/54(1/3)^4/(1-1/3)=1/54.
  6. End-period value is 100(1+1.1+1.21)=331100(1+1.1+1.21)=331. Beginning-period value is 1.1(331)=364.11.1(331)=364.1.

Open this chapter with navigation →

Chapter 31 · Week 14

Counting, the Binomial Theorem, and Induction

Use combinations to explain coefficients and induction to justify finite formulas.

Prerequisites: Polynomial expansion, sequences, and finite sums.

Learning objectives

  • Count ordered and unordered selections.
  • Use the binomial theorem to identify a coefficient.
  • Write a complete induction argument for a finite-sum identity.

Expanding (a+b)n(a+b)^n produces terms by selecting either aa or bb from each of nn factors. Several selections can produce the same power of bb. Counting those selections explains the coefficients in the binomial theorem and connects algebraic expansion to combinations.

Ordered selections multiply choices

If a first decision has mm options and each permits nn second options, there are mnmn ordered pairs. Three-digit strings with repetition allowed have 103=100010^3=1000 possibilities, including strings beginning with zero. Three-digit positive integers instead exclude zero in the first position, giving 9⋅10⋅10=9009\cdot10\cdot10=900.

Selecting kk distinct objects from nn in order gives n(n−1)⋯(n−k+1)=n!/(n−k)!n(n-1)\cdots(n-k+1)=n!/(n-k)! possibilities. Here n!=n(n−1)⋯1n!=n(n-1)\cdots1 and 0!=10!=1. The restrictions on repetition and order determine which count applies.

Combinations disregard ordering

A committee of three people has 3!3! ordered listings, all describing the same committee. Dividing ordered selections by this multiplicity gives

(nk)=n!k!(n−k)!,0≤k≤n.\binom nk=\frac{n!}{k!(n-k)!},\qquad0\le k\le n.

Choosing three of eight people gives (83)=56\binom83=56 committees. Choosing those included is equivalent to choosing the five excluded, so (nk)=(nn−k)\binom nk=\binom n{n-k}.

Pascal’s identity follows by considering a particular person. A kk-member committee either omits that person, giving (n−1k)\binom{n-1}k possibilities, or includes them and selects k−1k-1 others, giving (n−1k−1)\binom{n-1}{k-1}. Adding disjoint cases gives (nk)\binom nk.

Counting selections gives the binomial expansion

In the product of nn copies of (a+b)(a+b), choosing bb in exactly kk factors leaves aa in the other n−kn-k factors. There are (nk)\binom nk ways to select those positions, hence

(a+b)n=∑k=0n(nk)an−kbk(a+b)^n=\sum_{k=0}^n\binom nk a^{n-k}b^k

for a nonnegative integer nn. For n=4n=4, the coefficients are 1,4,6,4,11,4,6,4,1. The theorem includes the case n=0n=0, where the sum is 1 under the usual polynomial convention.

For (2x−1)4(2x-1)^4, the x2x^2 term comes from k=2k=2:

(42)(2x)2(−1)2=24x2.\binom42(2x)^2(-1)^2=24x^2.

We can identify a needed coefficient without expanding every term. The signs still come from the actual chosen second term, so odd powers of −1-1 alternate the coefficients.

Induction proves an entire sequence of claims

To prove a statement P(n)P(n) for all integers n≥1n\ge1, establish P(1)P(1) and show that P(k)P(k) implies P(k+1)P(k+1) for an arbitrary integer k≥1k\ge1. The base case starts the chain; the implication passes truth to the next index.

For

1+2+⋯+n=n(n+1)2,1+2+\cdots+n=\frac{n(n+1)}2,

the base case is 1=1(2)/21=1(2)/2. Assuming the formula at kk, add k+1k+1 to both sides:

1+⋯+k+(k+1)=k(k+1)2+(k+1)=(k+1)(k+2)2.1+\cdots+k+(k+1) =\frac{k(k+1)}2+(k+1) =\frac{(k+1)(k+2)}2.

This is the desired statement at k+1k+1. Since the base and step are established, every positive integer index follows.

Checking several initial cases is not the induction step. The step must work for an arbitrary permitted kk. Conversely, a step without a valid base does not show that the chain ever starts.

Counting supports a probability model

If outcomes are equally likely, probability is favorable count divided by total count. Three independent fair tosses have eight equally likely sequences. Exactly two heads can occupy (32)=3\binom32=3 position sets, giving probability 3/83/8.

With independent head probability pp, each such sequence instead has probability p2(1−p)p^2(1-p), giving 3p2(1−p)3p^2(1-p). The counting argument persists while the probability assignment changes. The statistics course develops this binomial model further.

Exercises

  1. Count four-letter strings from five letters when repetition is allowed, then when it is forbidden.
  2. Count unordered groups of four chosen from ten.
  3. Find the coefficient of x3x^3 in (x+2)5(x+2)^5.
  4. Expand (a−b)3(a-b)^3.
  5. Prove 2n≥n+12^n\ge n+1 for every integer n≥0n\ge0 by induction.
  6. Find the probability of exactly three heads in four independent fair tosses.
Worked solutions
  1. With repetition, 54=6255^4=625. Without repetition, 5⋅4⋅3⋅2=1205\cdot4\cdot3\cdot2=120.
  2. (104)=210\binom{10}4=210.
  3. Choose two constant factors, so the coefficient is (52)22=40\binom52 2^2=40.
  4. a3−3a2b+3ab2−b3a^3-3a^2b+3ab^2-b^3.
  5. At zero, 1≥11\ge1. Assuming 2k≥k+12^k\ge k+1, multiply by 2 to obtain 2k+1≥2k+2≥k+22^{k+1}\ge2k+2\ge k+2 for k≥0k\ge0. This proves the next case and completes induction.
  6. There are (43)=4\binom43=4 favorable sequences among 16, giving 1/41/4.

Open this chapter with navigation →

Chapter 32 · Week 14

A Modeling Investigation and Calculus Readiness

Connect periodic motion, model inverses, numerical change, and limiting algebra.

Prerequisites: The preceding algebraic, trigonometric, and sequence chapters.

Learning objectives

  • Investigate one connected model with units and a feasible domain.
  • Simplify a difference quotient without assigning a value at zero.
  • Identify which earlier topic resolves a cumulative modeling problem.

A hypothetical observation wheel has radius 6 metres and an axle 8 metres above level ground. A rider begins at the lowest point and moves counterclockwise at constant angular speed, completing a revolution every 20 seconds. This one model lets us connect coordinates, trigonometric functions, inverse branches, interval solutions, and sampled sequences.

Wheel of radius 6 metres centered 8 metres above ground. The rider starts at height 2, reaches right at 5 seconds, top at 10, left at 15, and bottom at 20.

Construct the position before calculating heights

Let θ=πt/10\theta=\pi t/10, with tt in seconds. Taking the axle’s horizontal coordinate as zero, the position is

x(t)=6sin⁡(πt/10),y(t)=8−6cos⁡(πt/10),0≤t≤20.x(t)=6\sin(\pi t/10),\qquad y(t)=8-6\cos(\pi t/10),\qquad0\le t\le20.

At t=0t=0, the coordinates are (0,2)(0,2). At 5, 10, and 15 seconds, they are (6,8)(6,8), (0,14)(0,14), and (−6,8)(-6,8). At 20 seconds the rider returns to the start. The radius, initial point, and rotation direction all appear in these checks.

Eliminating the parameter gives x2+(y−8)2=36x^2+(y-8)^2=36. This describes the circle, but the parameterization also supplies timing and direction. The rider’s path length during one quarter-turn is 6(π/2)=3π6(\pi/2)=3\pi metres, whereas the magnitude of the quarter-turn displacement is 626\sqrt2 metres.

The constant speed along the circle is 6(π/10)=3π/56(\pi/10)=3\pi/5 metres per second. The vertical coordinate does not change at this constant rate, since equal time steps move through different portions of the circle.

Solve a threshold condition on the modeled interval

To find when the height is at least 11 metres, solve

8−6cos⁡(πt/10)≥11,cos⁡(πt/10)≤−1/2.8-6\cos(\pi t/10)\ge11,\qquad \cos(\pi t/10)\le-1/2.

During one turn, the angular interval is [2π/3,4π/3][2\pi/3,4\pi/3]. Converting back to time gives 20/3≤t≤40/320/3\le t\le40/3. The two endpoints correspond to the same height on the rising and falling portions.

The minimum modeled height is 2 metres. If an alternative site placed the axle below 6 metres while keeping the same radius and a full circular path, the model would put part of that path below ground. The geometric feasibility check comes from the range, before any more elaborate calculation.

Restrict the domain to recover time from height

Height alone does not identify a unique time during the full turn. On 0≤t≤100\le t\le10, cosine decreases from 1 to −1-1, so height increases from 2 to 14 and can be inverted:

t(H)=10πarccos⁡ ⁣(8−H6),2≤H≤14.t(H)=\frac{10}{\pi}\arccos\!\left(\frac{8-H}{6}\right), \qquad2\le H\le14.

The falling time for the same height is 20−t(H)20-t(H). At the top and bottom, duplicated endpoint descriptions should be interpreted within the chosen time interval.

This inverse also exposes sensitivity. Heights just above the lowest point correspond to small but nonzero travel times; equal height increments do not correspond to equal time increments throughout the rise. A sensor’s height tolerance should therefore be carried through the inverse rather than replaced by a constant time tolerance.

Sampling produces a periodic sequence

At five-second intervals, the heights are 2,8,14,8,2,…2,8,14,8,2,\ldots. An explicit sequence is hn=8−6cos⁡(nπ/2)h_n=8-6\cos(n\pi/2) for nonnegative integers nn. It is periodic with index period four.

The sequence is neither arithmetic nor geometric: its successive differences and ratios do not stay fixed. The correct model family is determined by the update pattern, not by the fact that values arrive at integer indices.

An algebraic preparation for instantaneous change

For a separate accumulation model, let V(t)=20+3t+t2V(t)=20+3t+t^2 litres on 0≤t≤40\le t\le4 minutes. The average rate from 2 to 2+h2+h is

V(2+h)−V(2)h=7h+h2h=7+h,h≠0,−2≤h≤2.\frac{V(2+h)-V(2)}h =\frac{7h+h^2}h=7+h, \qquad h\ne0,\quad -2\le h\le2.

At h=0.1h=0.1 the average is 7.1 litres per minute; at h=−0.1h=-0.1 it is 6.9. Smaller increments suggest the common target 7. The original quotient remains undefined at zero. The algebra has shown what every permitted nonzero increment does, which prepares the limit question developed in Calculus I.

Cumulative exercises

  1. Find the wheel’s range of heights and verify its lowest point.
  2. Find all times in [0,20][0,20] at which the wheel height is 8 metres.
  3. Find all times in [0,20][0,20] at which the height is 5 metres.
  4. Recover the first rising time at height 11 using the inverse.
  5. Find the arc distance traveled in the first 10 seconds.
  6. Change the period to 30 seconds while retaining the original geometry and starting point. Write both coordinates.
  7. For V(t)V(t), find the average rate from 1 to 3 minutes.
  8. Simplify [(a+h)2−a2]/h[(a+h)^2-a^2]/h and identify the excluded increment.
  9. Solve x+5=x−1\sqrt{x+5}=x-1 on its original real domain.
  10. A sequence follows un+1=0.5un+3u_{n+1}=0.5u_n+3 with u0=10u_0=10. Find its explicit form and limit.
Worked solutions
  1. The range is [2,14][2,14], since cosine ranges from −1-1 to 1. At zero, y=8−6=2y=8-6=2.
  2. Cosine is zero at angles π/2\pi/2 and 3π/23\pi/2, giving t=5,15t=5,15 seconds.
  3. Cosine must equal 1/21/2, at angles π/3\pi/3 and 5π/35\pi/3. The times are 10/310/3 and 50/350/3 seconds.
  4. The inverse gives (10/π)arccos⁡(−1/2)=20/3(10/\pi)\arccos(-1/2)=20/3 seconds.
  5. A half-turn has arc length 6π6\pi metres.
  6. The new angular coefficient is π/15\pi/15, giving x=6sin⁡(πt/15)x=6\sin(\pi t/15) and y=8−6cos⁡(πt/15)y=8-6\cos(\pi t/15) on [0,30][0,30].
  7. V(1)=24V(1)=24 and V(3)=38V(3)=38, so the rate is (38−24)/2=7(38-24)/2=7 litres per minute.
  8. Factoring the numerator gives h(2a+h)h(2a+h), so the quotient is 2a+h2a+h for h≠0h\ne0.
  9. The right side requires x≥1x\ge1. Squaring gives x2−3x−4=0x^2-3x-4=0, with candidates 4 and −1-1. Only 4 is allowed, and 9=3=4−1\sqrt9=3=4-1.
  10. The fixed point is 6. Deviations halve, giving un=6+4(0.5)nu_n=6+4(0.5)^n and limit 6.

Independent investigation

Choose a different radius, axle height, period, and starting point. State the geometric assumptions, write a position model, find its height range, and solve a nontrivial height threshold over one revolution. Identify an interval on which height determines time uniquely. Include a coordinate check, an exact trigonometric calculation, and a numerical approximation whose rounding you explain. Use the earlier chapters to justify each modeling choice.

Open this chapter with navigation →