Comprehensive Study Notes: The Art of Problem Solving Volume 2 and Beyond

Introduction to The Art of Problem Solving

  • Background: For over 24 years, the classic Art of Problem Solving books (Volume 1 and Volume 2) have served as resources for the American Mathematics Competitions (AMC) and other national/local math events.

  • Authors: Sandor Lehoczky and Richard Rusczyk.

  • Community Stats (as of Sept 2017): Over 295,000 members for the online forum with over 6,000,000 messages posted.

  • Instructional Icons:

    • The Eyeball: Indicates especially important areas of the text.

    • The Threaded Needle: Indicates particularly difficult problems or concepts.

    • The Bomb: Signals a warning to facilitate avoiding common mistakes.

Chapter 0: Proof Techniques

  • Importance of Proofs: Essential for mathematical understanding; without knowing why a tool works, it cannot be used to its full capacity.

  • Common Methods:

    • Contradiction: To prove statement AA, show that if AA were false, an impossible statement must be true.

      • Example: Proving infinitely many primes by assuming a finite set {p1,p2,...,pk}\{p_1, p_2, ..., p_k\} and constructing Z=p1p2...pk+1Z = p_1 p_2 ... p_k + 1, which is not divisible by any of the primes.

    • Mathematical Induction: Generally used for statements true for all positive or non-negative integers. Prove for n=1n=1, then show that if it holds for n=kn=k (inductive hypothesis), it must hold for n=k+1n=k+1.

      • Example: Proving Fibonacci sum identity F0+F1+...+Fn=Fn+21F_0 + F_1 + ... + F_n = F_{n+2} - 1.

    • Pigeonhole Principle: If kn+1kn+1 objects are placed in nn boxes, at least one box must contain at least k+1k+1 objects.

      • Example: Proving that if 5 points are selected in a unit square, some pair are no more than 22\frac{\sqrt{2}}{2} apart by dividing the square into four quadrants.

Chapter 1: Logarithms

  • Purpose: Devised to turn multiplication/division into addition/subtraction.

  • Core Relationship: If 10x=123410^x = 1234 and 10y=567810^y = 5678, then log(1234×5678)=x+y=log1234+log5678\log(1234 \times 5678) = x + y = \log 1234 + \log 5678.

  • Properties of Logarithms:

    1. logabn=nlogab\log_a b^n = n \log_a b

    2. logab+logac=loga(bc)\log_a b + \log_a c = \log_a (bc)

    3. logablogac=loga(b/c)\log_a b - \log_a c = \log_a (b/c)

    4. (logab)(logcd)=(logad)(logcb)(\log_a b)(\log_c d) = (\log_a d)(\log_c b)

    5. logablogac=logcb\frac{\log_a b}{\log_a c} = \log_c b (Change of Base Form)

    6. loganbn=logab\log_{a^n} b^n = \log_a b

  • Chain Rule for Logarithms: (logab)(logbc)=logac(\log_a b)(\log_b c) = \log_a c.

  • Warning: The base and argument of all logarithms must be positive. Always check solutions against initial constraints.

  • Reciprocal Rule: logwz=1logzw\log_w z = \frac{1}{\log_z w}.

The Big Picture: Logarithms and Music

  • Pitch and Vibration: Vibration rate translates to pitch (cycles/second=Hzcycles/second = Hz).

  • Harmonies: Intervals sound "good" when frequencies are nice multiples (e.g., an octave is a factor of 2; a major fifth is a ratio of 3/23/2).

  • Even Tempering: Dividing an octave into 12 pieces where each is the same multiple of the last (21/122^{1/12}). This allows a scale to work in any key.

  • Calculation: Logarithms determine where a tone (e.g., 1.5F1.5F) sits on the scale using k=12log21.5k = 12 \log_2 1.5.

Chapter 2: Trigonometry Beyond Right Triangles

  • Unit Circle Definition: Sine and cosine are Cartesian coordinates of a point on a circle of radius 1 centered at the origin. (x,y)=(cosθ,sinθ)(x, y) = (\cos \theta, \sin \theta).

  • Quadrants and Signs:

    • Quadrant I: All positive.

    • Quadrant II: Sin positive; Cos/Tan negative.

    • Quadrant III: Tan positive; Sin/Cos negative.

    • Quadrant IV: Cos positive; Sin/Tan negative.

  • Identities Defined Historically:

    • sin(α±β)=sinαcosβ±sinβcosα\sin(\alpha \pm \beta) = \sin \alpha \cos \beta \pm \sin \beta \cos \alpha

    • cos(α±β)=cosαcosβsinαsinβ\cos(\alpha \pm \beta) = \cos \alpha \cos \beta \mp \sin \alpha \sin \beta

    • tan(α±β)=tanα±tanβ1tanαtanβ\tan(\alpha \pm \beta) = \frac{\tan \alpha \pm \tan \beta}{1 \mp \tan \alpha \tan \beta}

  • Graphs:

    • Sinusoid: The wave patterns of Sine and Cosine.

    • Amplitude: Half the difference between the largest and smallest values. Dictated by the coefficient (AsinxA \sin x).

    • Period: The interval after which the graph repeats (2πk\frac{2\pi}{k} for sinkx\sin kx).

    • Frequency: Reciprocal of period (1Period\frac{1}{Period}).

    • Phase Shift: The horizontal slide of the parent function. For sin(ax+b)\sin(ax + b), the shift is ba-\frac{b}{a}.

  • Inverse Functions: The symbols Sin1\operatorname{Sin}^{-1}, Cos1\operatorname{Cos}^{-1}, and Tan1\operatorname{Tan}^{-1} refer to principal values.

    • Sin1\operatorname{Sin}^{-1} and Tan1\operatorname{Tan}^{-1} range: (π/2,π/2](-\pi/2, \pi/2].

    • Cos1\operatorname{Cos}^{-1} range: [0,π][0, \pi].

  • Even and Odd Functions:

    • cos(x)=cosx\cos(-x) = \cos x (Even)

    • sin(x)=sinx\sin(-x) = -\sin x (Odd)

  • Double Angle Formulas:

    • sin2x=2sinxcosx\sin 2x = 2 \sin x \cos x

    • cos2x=cos2xsin2x=2cos2x1=12sin2x\cos 2x = \cos^2 x - \sin^2 x = 2 \cos^2 x - 1 = 1 - 2 \sin^2 x

    • tan2x=2tanx1tan2x\tan 2x = \frac{2 \tan x}{1 - \tan^2 x}

  • Half Angle Formulas:

    • cosx2=±1+cosx2\cos \frac{x}{2} = \pm \sqrt{\frac{1 + \cos x}{2}}

    • sinx2=±1cosx2\sin \frac{x}{2} = \pm \sqrt{\frac{1 - \cos x}{2}}

  • Sum-to-Product Formulas:

    • cosα+cosβ=2cosα+β2cosαβ2\cos \alpha + \cos \beta = 2 \cos \frac{\alpha + \beta}{2} \cos \frac{\alpha - \beta}{2}

    • sinα+sinβ=2sinα+β2cosαβ2\sin \alpha + \sin \beta = 2 \sin \frac{\alpha + \beta}{2} \cos \frac{\alpha - \beta}{2}

Chapter 3: Advanced Triangle Geometry

  • Law of Cosines: For any triangle with sides a,b,ca, b, c, c2=a2+b22abcosCc^2 = a^2 + b^2 - 2ab \cos C. Used to find the third side given SAS, or angles given SSS.

  • Law of Sines: asinA=bsinB=csinC=2R\frac{a}{\sin A} = \frac{b}{\sin B} = \frac{c}{\sin C} = 2R, where RR is the circumradius.

  • Area Formulas:

    1. Area=12absinC\text{Area} = \frac{1}{2} ab \sin C

    2. Area=rs\text{Area} = rs (where rr is inradius and ss is semiperimeter)

    3. Heron's Formula: Area=s(sa)(sb)(sc)\text{Area} = \sqrt{s(s-a)(s-b)(s-c)}

    4. Area=abc4R\text{Area} = \frac{abc}{4R}

    5. Area=a2sinBsinC2sinA\text{Area} = \frac{a^2 \sin B \sin C}{2 \sin A}

    6. Area=2R2sinAsinBsinC\text{Area} = 2R^2 \sin A \sin B \sin C

  • Cevians: Segments from a vertex to the opposite side (altitudes, medians, angle bisectors).

  • Stewart's Theorem: If cevian dd with length dd cuts side aa into segments mm and nn, then cnc+bmb=dad+mancnc + bmb = dad + man.

  • Median Length: 4AD2=2(AB2+AC2)BC24AD^2 = 2(AB^2 + AC^2) - BC^2.

  • Angle Bisector Length: d2=bc(1a2(b+c)2)d^2 = bc (1 - \frac{a^2}{(b+c)^2}) or AD2=(AB)(AC)(BD)(CD)AD^2 = (AB)(AC) - (BD)(CD).

Chapter 4: Cyclic Quadrilaterals

  • Core Properties:

    1. Opposite angles sum to 180180^{\circ}.

    2. Angles subtended by the same arc are equal (ABD=ACD\angle ABD = \angle ACD).

  • Ptolemy's Theorem: In a cyclic quadrilateral with sides a,b,c,da, b, c, d and diagonals e,fe, f, then ac+bd=efac + bd = ef.

  • Brahmagupta's Formula (Area): For a cyclic quadrilateral, Area=(sa)(sb)(sc)(sd)\text{Area} = \sqrt{(s-a)(s-b)(s-c)(s-d)}.

    • For general quadrilaterals: Area2=(sa)(sb)(sc)(sd)abcdcos2B+D2\text{Area}^2 = (s-a)(s-b)(s-c)(s-d) - abcd \cos^2 \frac{B+D}{2}.

Chapter 5: Conic Sections and Polar Coordinates

  • Parabola: Set of points equidistant from a focus PP and directrix ll.

    • Equation: yk=14a(xh)2y-k = \frac{1}{4a}(x-h)^2.

    • Vertex: (h,k)(h, k), Focus: (h,k+a)(h, k+a), Directrix: y=kay = k-a, Latus rectum: 4a|4a|.

  • Ellipse: Set of points where the sum of distances to two foci is constant (2a2a).

    • Equation: (xh)2a2+(yk)2b2=1\frac{(x-h)^2}{a^2} + \frac{(y-k)^2}{b^2} = 1.

    • Foci relation: c2=a2b2c^2 = a^2 - b^2. Eccentricity: e=c/ae = c/a. Area: πab\pi ab.

  • Hyperbola: Set of points where the absolute difference of distances to two foci is constant.

    • Equation: (xh)2a2(yk)2b2=1\frac{(x-h)^2}{a^2} - \frac{(y-k)^2}{b^2} = 1.

    • Foci relation: c2=a2+b2c^2 = a^2 + b^2. Asymptotes: (yk)=±ba(xh)(y-k) = \pm \frac{b}{a}(x-h).

  • Polar Coordinates: Point (r,θ)(r, \theta).

    • Translations: x=rcosθx = r \cos \theta, y=rsinθy = r \sin \theta, x2+y2=r2x^2 + y^2 = r^2, θ=Tan1(y/x)\theta = \operatorname{Tan}^{-1} (y/x).

    • Special Curves: Rosa (rose), Lemniscate (infinity symbol), Cardioid (heart), Spiral of Archimedes (r=aθr = a\theta).

  • Rotating Conics: To eliminate the xyxy term in Ax2+Bxy+Cy2...Ax^2 + Bxy + Cy^2..., rotate by angle α\alpha where cot2α=ACB\cot 2\alpha = \frac{A-C}{B}.

  • Discriminant: B24ACB^2 - 4AC.

    • If 00: Parabola.

    • If < 0: Ellipse.

    • If > 0: Hyperbola.

Chapter 6: Polynomials

  • General Form: f(x)=anxn+an1xn1+...+a0f(x) = a_n x^n + a_{n-1} x^{n-1} + ... + a_0.

  • Synthetic Division: A shorthand for dividing by (xa)(x-a).

  • Remainder Theorem: The remainder of f(x)/(xa)f(x) / (x-a) is f(a)f(a).

  • Fundamental Theorem of Algebra: A degree nn polynomial has exactly nn roots.

  • Rational Root Theorem: For integer coefficients, rational roots are p/qp/q where pa0p | a_0 and qanq | a_n.

  • Vieta's Formulas (Coefficients and Roots):

    • ri=an1/an\sum r_i = -a_{n-1}/a_n

    • rirj=an2/an\sum r_i r_j = a_{n-2}/a_n

    • Product r1r2...rn=(1)na0/anr_1 r_2 ... r_n = (-1)^n a_0/a_n

  • Newton's Sums: Relates sums of powers of roots (sk=rks_k = \sum r^k) to coefficients:

    • ans1+an1=0a_n s_1 + a_{n-1} = 0

    • ans2+an1s1+2an2=0a_n s_2 + a_{n-1} s_1 + 2a_{n-2} = 0

  • Transformations:

    • Roots are reciprocals: Reverse the coefficient order.

    • Roots are kk times original: Multiply ania_{n-i} by kik^i.

    • Roots are kk more than original: New polynomial is f(xk)f(x-k).

Chapter 7: Functions

  • Inverse Functions (f1f^{-1}): "Undoes" the function. g(f(x))=xg(f(x)) = x. Graphic representation is a reflection over y=xy=x.

  • One-to-One (1:1): Required for a functional inverse to exist.

  • Functional Identities:

    • Logarithm: f(xy)=f(x)+f(y)f(xy) = f(x) + f(y).

    • Cauchy Functional Equation: f(x+y)=f(x)+f(y)    f(x)=cxf(x+y) = f(x) + f(y) \implies f(x) = cx.

  • Solving Techniques:

    • Isolation: Move variables to different sides to imply a constant value.

    • Substitution: Checking specific values like y=0,1y=0, 1 or x-x.

    • Cyclic Functions: Using properties like f(x)=1/xf(x) = 1/x where f(f(x))=xf(f(x)) = x.

Chapter 8: Limits and Continuity

  • Definition: limnnn+1=1\lim_{n \to \infty} \frac{n}{n+1} = 1.

  • Rational Functions: Divide by the highest power of xx to determine behavior at infinity.

  • Continuity: limxaf(x)=f(a)\lim_{x \to a} f(x) = f(a).

  • Discontinuities:

    • Removable: A "hole" in the function that can be filled by redefining one point.

    • Essential: A gap where the left and right limits do not match (e.g., step function).

  • Asymptotes:

    • Horizontal: Behavior as x±x \to \pm \infty.

    • Vertical: Where the denominator is zero (and numerator is not).

    • Slant/Oblique: Occurs when degree of numerator is 1 higher than denominator.

  • Important Limits:

    • limx0sinxx=1\lim_{x \to 0} \frac{\sin x}{x} = 1

    • limx01cosxx=0\lim_{x \to 0} \frac{1 - \cos x}{x} = 0

    • The constant e: limn(1+1n)n=e2.71828\lim_{n \to \infty} (1+\frac{1}{n})^n = e \approx 2.71828

Chapter 9: Complex Numbers

  • Argand Plane: Plotting a+bia+bi with real part on the x-axis and imaginary part on the y-axis.

  • Polar Form: z=r(cosθ+isinθ)=reiθz = r(\cos \theta + i \sin \theta) = r e^{i\theta}.

  • Magnitude (Modulus): z=a2+b2|z| = \sqrt{a^2 + b^2}.

    • Properties: zw=zw|zw| = |z||w|; Triangle Inequality z+wz+w|z+w| \le |z| + |w|.

  • De Moivre's Theorem: (reiθ)n=rneinθ=rn(cosnθ+isinnθ)(r e^{i\theta})^n = r^n e^{in\theta} = r^n (\cos n\theta + i \sin n\theta).

  • Roots of Unity: Roots of xn1=0x^n - 1 = 0. They form a regular nn-gon on the unit circle in the complex plane. Sum of roots: 1+w+w2+...+wn1=01 + w + w^2 + ... + w^{n-1} = 0.

  • Euler's Formula: eiy=cosy+isinye^{iy} = \cos y + i \sin y.

Chapter 10 & 11: Vectors and Matrices

  • Vector Operations: Addition (tail-to-head), Dot Product (uv=uvcosθ=x1x2+y1y2\mathbf{u} \cdot \mathbf{v} = |\mathbf{u}||\mathbf{v}| \cos \theta = x_1x_2 + y_1y_2), Cross Product (u×v\mathbf{u} \times \mathbf{v} results in a vector perpendicular to both).

  • Matrix Multiplication: Row of the first by column of the second.

  • Determinant (detA\det A):

    • 2×22 \times 2: adbcad - bc.

    • Area/Volume scale factor: Determinant is the factor by which area is multiplied under transformation.

  • Inverse Matrix: A1A^{-1} exists iff detA0\det A \ne 0.

    • For 2×22 \times 2: A1=1adbc(damp;bcamp;a)A^{-1} = \frac{1}{ad-bc} \begin{pmatrix} d &amp; -b \\ -c &amp; a \end{pmatrix}.

Chapter 14: Inequalities

  • Trivial Inequality: x20x^2 \ge 0 for all real xx.

  • AM-GM Inequality: a1+a2+...+anna1a2...ann\frac{a_1 + a_2 + ... + a_n}{n} \ge \sqrt[n]{a_1 a_2 ... a_n}. Equality holds iff all aia_i are equal.

  • Cauchy-Schwarz Inequality: (ai2)(bi2)(aibi)2(\sum a_i^2)(\sum b_i^2) \ge (\sum a_i b_i)^2.

  • Power Mean Inequality: Root Mean Square (RMSRMS) AMGM\ge AM \ge GM \ge Harmonic Mean (HMHM).

Chapter 15 & 17: Combinatorics and Counting

  • Pascal's Identity: (nk)=(n1k)+(n1k1)\binom{n}{k} = \binom{n-1}{k} + \binom{n-1}{k-1}.

  • Vandermonde's Identity: k=0r(mk)(nrk)=(m+nr)\sum_{k=0}^r \binom{m}{k} \binom{n}{r-k} = \binom{m+n}{r}.

  • Binomial Theorem: (x+y)n=k=0n(nk)xnkyk(x+y)^n = \sum_{k=0}^n \binom{n}{k} x^{n-k} y^k.

  • Principle of Inclusion-Exclusion (PIE): Used to count sets with overlap. For three sets: ABC=A+B+C(AB+AC+BC)+ABC|A \cup B \cup C| = |A| + |B| + |C| - (|A \cap B| + |A \cap C| + |B \cap C|) + |A \cap B \cap C|.

  • Generating Functions: Infinite series where coefficients represent counts. Multiplied to find ways to sum to a target value.

Chapter 16: Sequences and Series

  • Sum of Squares: i=1ni2=n(n+1)(2n+1)6\sum_{i=1}^n i^2 = \frac{n(n+1)(2n+1)}{6}.

  • Sum of Cubes: i=1ni3=(n(n+1)2)2\sum_{i=1}^n i^3 = (\frac{n(n+1)}{2})^2.

  • Fibonacci Closed Form (Binet's Formula): Fn=15[(1+52)n(152)n]F_n = \frac{1}{\sqrt{5}} [(\frac{1+\sqrt{5}}{2})^n - (\frac{1-\sqrt{5}}{2})^n].

  • Telescoping Series: Fractions decomposed via partial fractions (e.g., 1n(n+1)=1n1n+1\frac{1}{n(n+1)} = \frac{1}{n} - \frac{1}{n+1}) to cancel middle terms.

Chapter 23 & 24: Number Theory

  • Fermat's Little Theorem: If pp is prime, apa(modp)a^p \equiv a \pmod{p}. More commonly ap11(modp)a^{p-1} \equiv 1 \pmod{p} if pap \nmid a.

  • Euler's Totient Theorem: aϕ(m)1(modm)a^{\phi(m)} \equiv 1 \pmod{m} for gcd(a,m)=1\gcd(a, m) = 1.

    • ϕ(m)=mpm(11/p)\phi(m) = m \prod_{p|m} (1 - 1/p).

  • Wilson's Theorem: (p1)!1(modp)(p-1)! \equiv -1 \pmod{p} iff pp is prime.

  • Pythagorean Triples: Primitive solutions to x2+y2=z2x^2 + y^2 = z^2 are x=2rsx = 2rs, y=r2s2y = r^2 - s^2, z=r2+s2z = r^2 + s^2.

  • Pell Equation: x2Dy2=1x^2 - Dy^2 = 1. Linked to continued fractions of D\sqrt{D}.

Chapter 25: Graph Theory

  • Euler's Formula for Planar Graphs: VE+F=2V - E + F = 2.

  • Edges Inequality: For planar graphs, E3V6E \le 3V - 6.

  • Euler Trail: A trail using all edges. Possible iff graph has 0 or 2 vertices of odd degree.

  • Chromatic Number (\chi): Smallest number of colors to color vertices such that no adjacent vertices share a color.

    • For KnK_n, χ=n\chi = n.

    • Bipartite graphs have χ=2\chi = 2.