# Mathematics — Full Content > A searchable reference for the math formulas you actually use. Algebra, geometry, trigonometry, and calculus, rendered with KaTeX. Concatenated MDX body of every formula page, in canonical order. JSX shortcodes (, , ) are preserved as-is — LaTeX inside is the inline LaTeX source. --- # Basics ## Powers URL: http://math.mkabumattar.com/basics/powers Exponent rules: products, quotients, powers of powers, negative and fractional exponents, and identities. Powers record how many times a base multiplies by itself. The laws below combine, split, and rewrite exponential expressions without expanding them, and extend the operation consistently to negative and fractional exponents. The same rules underpin polynomial, radical, and logarithmic manipulation. Multiplying two powers of the same base adds the exponents. Writing *an* as *n* factors of *a* and *am* as *m* factors and concatenating gives *n + m* factors. The rule extends to any real exponents once the operation is defined consistently for them. Raising a power to another power multiplies the exponents. Apply the product rule *m* times to *an* to get *an* repeated *m* times, which collapses to *an·m*. Use this to flatten nested exponentials. A negative exponent inverts the base. The product rule forces this: *an·a-n = a0 = 1*, so *a-n = 1/an*. With this definition the laws extend from natural numbers to all integers. The exponent distributes over a product of bases. Each factor in *(ab)n* contributes *n* copies of *a* and *n* copies of *b*, which regroup as *anbn*. Distribution fails over sums: *(a + b)n* is not *an + bn*. That case needs the binomial theorem. A negative exponent on a fraction flips the fraction and removes the sign. This is a corollary of the negative-exponent rule combined with quotient distribution. The flipped form gives cleaner arithmetic when the original numerator is larger than the denominator. Dividing two powers of the same base subtracts the exponents. Cancelling common factors removes *min(n, m)* copies of *a* and leaves the difference. The second equality keeps the exponent positive when *n - m* is negative. The exponent also distributes over a quotient. Combine the product-distribution rule with the negative-exponent rule applied to *b*. The identity collapses ratios of powers into a single fraction with separately-exponentiated parts. Any non-zero base raised to the zero power equals one. The quotient rule forces this: *an/an = a0* and the left side equals 1. The base zero is excluded; *00* is treated separately. A fractional exponent denotes a root combined with a power. The denominator selects the root and the numerator the power. The power-of-a-power rule guarantees the two orderings agree, so you can pick whichever keeps intermediate values smaller or radical-free. `0^{0}` is an indeterminate form in analytic contexts, not 1. Combinatorics often defines it as 1 for convenience, but the choice is conventional, not algebraic. --- ## Radicals URL: http://math.mkabumattar.com/basics/radicals Radical and root identities: products, quotients, nested roots, and absolute value rules. Radicals express *n*-th roots, the inverses of *n*-th powers. The identities below convert between radical and exponent notation, split roots across products and quotients, and handle the parity-dependent case when an even root is taken of an even power. Working through fractional exponents pushes the parity question out of the calculation and back to the final principal-root step. A radical is a unit-fractional exponent. Every exponent rule transfers directly to radicals through this identification, so there is no separate set of root laws. Most identities below are corollaries of the exponent rules read through this bridge. The *n*-th root distributes over a product of non-negative factors. This is the radical form of *(ab)1/n = a1/nb1/n* and is how perfect *n*-th powers get pulled out from under the root. Non-negativity matters: applying the rule to two negatives can produce sign errors. The *n*-th root distributes over a quotient. Read in reverse, it combines two separate radicals into one for rationalising denominators. It also requires non-negative operands for real-valued safety. A nested radical collapses by multiplying the indices. The identity follows from *(a1/n)1/m = a1/(mn)* via the power-of-a-power rule. Iterated roots become a single root with a larger index, which is usually easier to handle symbolically. For an odd index the root undoes the power and preserves the sign. Odd roots of negatives stay real because an odd power of a negative remains negative, so the inverse map is defined for all real inputs. This is the only case where the radical and the power cancel cleanly. For an even index the principal root is non-negative, so the result is the absolute value. Even powers erase sign information: *(-3)2 = 9* matches *32 = 9*. The inverse cannot recover the original sign and picks the non-negative branch by convention. This is where the *|x|* in simplified even roots of even powers comes from. The product and quotient rules assume real, non-negative radicands. Applying them blindly to negatives can produce false equalities such as `sqrt(-1) * sqrt(-1) = sqrt(1) = 1`. --- ## Logarithms URL: http://math.mkabumattar.com/basics/logarithms Logarithm definition, natural and common logs, and key properties. Logarithms are the inverses of exponentials: *logb(x)* is the power to which *b* must be raised to produce *x*. They turn products into sums and powers into products, which is why they are the standard tool for solving exponential equations. They also rescale multiplicative phenomena into additive ones, producing the log scales used in decibels, magnitudes, pH, and information theory. ## Definition A logarithm is the inverse of an exponential with the same base. Left to right, the equivalence extracts the exponent that produced a known value. Right to left, it recovers the value from a known exponent. The base *b* must be positive and not equal to one for the inverse to be a single-valued real function. The defining equivalence between log and exponential form, used freely in both directions: ## Example A concrete instance, read in both directions. The exponential form is usually the easier check when verifying a logarithm by hand. ## Special Logarithms Two bases get dedicated notation: the natural log (base *e*) and the common log (base 10). The natural log is the calculus default because its derivative is *1/x*. The common log dominates engineering because it matches the decimal place-value system. The natural logarithm uses Euler's number as its base. Its derivative is the reciprocal function *1/x*. It is the standard log in analysis, probability, and any setting built on continuous growth. The common logarithm uses base 10 and is standard for engineering and pH-style scales. Its integer part counts the digits before the decimal point in the input, which is why it underlies decibels, Richter magnitudes, and significant-figure scaling. The constant *e* is the irrational base for which the exponential function is its own derivative. It equals the limit *(1 + 1/n)n* as *n* tends to infinity, which is why it surfaces in every continuous growth or decay model. ## Logarithms Properties These identities simplify and expand logarithmic expressions algebraically. Each translates an exponent rule under the log-exp inverse pairing. Products become sums, powers become products, quotients become differences. The log of the base itself is one, since *b1 = b*. This is the smallest non-trivial value any logarithm takes and is a useful reference point in change-of-base computations. The log of one is zero for every base, since *b0 = 1*. Every logarithm curve crosses the *x*-axis at this single point. Log and exponential of the same base cancel when the exponential is inside the log. This is the inverse-function identity read left to right. It collapses any *logb(bx)* to *x* directly. Inverse property with the exponent outside: the same cancellation in the opposite order. Together the two identities say *logb* and *bx* compose to the identity in both directions. The power rule brings an exponent out as a coefficient. It is the most-used logarithm identity for solving exponential equations: take the log of both sides of *bx = c* and apply this rule to get *x = log c / log b*. The rule holds for any real exponent. The product rule turns multiplication inside the log into addition. Logarithm tables once reduced tedious multiplications to lookups and additions using this identity. The quotient rule turns division inside the log into subtraction. Read in reverse, it consolidates a difference of two same-base logs into a single log of a ratio. The real-valued logarithm is defined only for positive arguments. `log_b(0)` diverges to negative infinity, and `log_b(x)` for `x < 0` has no real value; it requires the complex logarithm. --- ## Quadratic Equations URL: http://math.mkabumattar.com/basics/quadratic-equations Standard form, the quadratic formula, and the role of the discriminant. A quadratic equation is a degree-two polynomial equation in a single variable. Every quadratic can be solved by the formula below. The sign of its discriminant (the expression under the radical) tells whether the roots are real or complex without computing them. The formula is the general result of completing the square on the standard form. The standard form fixes coefficients *a*, *b*, *c* with a non-zero leading coefficient. The condition *a ≠ 0* makes the equation genuinely quadratic; with *a = 0* it collapses to a linear equation and the formula's denominator vanishes. The quadratic formula gives both roots from the coefficients directly. The *±* captures the parabola's symmetry about its axis *x = -b/(2a)*: the two roots lie equidistant from this vertical line, offset by the radical term. When the discriminant is computable, the formula is the most direct route to the roots. The discriminant *b2 - 4ac* controls how many times the parabola crosses the *x*-axis. The three cases below give two crossings, one tangent touch, or no real crossing. x₁ x₂ vertex x y If the discriminant is positive, the parabola crosses the *x*-axis at two distinct points. The radical evaluates to a positive real, so the *±* produces two distinct values, matching the diagram. If the discriminant is zero, the parabola is tangent to the *x*-axis at one point: a repeated root. The radical vanishes and the *±* collapses to a single value *x = -b/(2a)*, the *x*-coordinate of the vertex. If the discriminant is negative, the roots are a complex-conjugate pair and the parabola does not meet the *x*-axis. The radical becomes imaginary, and the *±* gives two complex roots that mirror one another across the real axis. The discriminant *b2 - 4ac* alone determines the nature of the roots, so you can classify solutions without computing them. The sum of the roots is *-b/a* and the product is *c/a* (Vieta's formulas); this is often faster than the full formula when only those quantities are needed. --- ## Polynomials URL: http://math.mkabumattar.com/basics/polynomials Common polynomial identities and factorizations including squares, cubes, and difference of powers. Polynomial identities are the standard expansions and factorisations of sums, differences, and powers of two terms. Recognising them on sight replaces a lot of multiplying out or trial factoring with template matching. The cube and higher-power identities all share one shape: a linear factor *(x ± a)* times a longer polynomial whose coefficients alternate or stay constant based on the sign. Difference of squares factors into conjugate binomials. The cross terms cancel because the *+y* and *-y* contributions to the *x* coefficient annihilate, leaving only the difference of pure squares. This is the standard identity for rationalising denominators and spotting hidden factorisations. Product of two linear binomials sharing a leading variable (the FOIL pattern). The middle coefficient is the sum of the constants and the trailing coefficient is their product. This is how you factor quadratics by inspecting sum-product pairs of the constant term. Square of a sum. The cross term *2xy* appears because the product is counted twice (once as *xy* and once as *yx*). It is the most commonly dropped piece when squaring a binomial by hand. Square of a difference. Identical to the sum case except the cross term picks up a negative sign from the negative second term. Squaring kills the sign on the *y2* term but not on the cross term. Cube of a sum. The coefficients 1, 3, 3, 1 are the fourth row of Pascal's triangle, generalised by the binomial theorem to *(x + y)n*. Memorise the cube directly; re-deriving it each time is slower. Cube of a difference. Signs alternate because each occurrence of the negative term flips the sign. The *x3* term stays positive because *(-y)0* is positive; the *y3* term is negative because *(-y)3* is negative. Sum of cubes factors into a linear and a quadratic factor. The quadratic *x2 - xy + y2* is irreducible over the reals (its discriminant is *-3y2*), so this is as far as the factorisation goes without complex numbers. Difference of cubes factors the same way, with the sign of the middle term of the quadratic reversed. Together with the sum-of-cubes formula, this is the *n = 3* case of the general *xn ± an* identities below. Difference of even powers factors by treating *xn* and *yn* as a difference of squares. Iterate this halving until the exponent is odd or one to get a complete real factorisation, alternating sum and difference factors at each level. For odd *n*, both the difference and the sum of *n*-th powers factor cleanly. The difference identity holds for all *n*. The sum identity is restricted to odd *n* because *xn + an* has *x = -a* as a root only when raising *-a* to *n* recovers *-an*. Difference of *n*-th powers (any positive integer *n*). The long factor is a geometric sum *Σ xn-1-kak* and reduces to *(xn - an)/(x - a)* when *x ≠ a*. The geometric series sum follows from this identity. Sum of *n*-th powers, for odd *n*, factors with alternating signs in the long factor. Substituting *-a* for *a* in the difference formula flips the sign on every other term, producing the alternation. For sum of *n*-th powers the linear factor *(x + a)* only exists when *n* is odd. When *n* is even, *xn + an* has no real linear factors and is irreducible over the reals (for *n = 2*) or factors only into quadratics. --- ## Progression URL: http://math.mkabumattar.com/basics/progression Arithmetic, geometric, and harmonic progressions with their means and key relationships. A progression is a sequence whose terms follow a fixed rule. The three classical progressions (arithmetic, geometric, harmonic) each generate a *mean* (AM, GM, HM) and a closed-form expression for the *n*-th term and partial sum, so you do not have to compute term by term. HP is the reciprocal of an AP, and for positive numbers the three means satisfy *AM ≥ GM ≥ HM*. ## Arithmetic Progression (AP) An arithmetic progression is a sequence in which each term after the first is obtained by adding a constant *d* (the common difference) to the preceding term. The generic AP is *a, a + d, a + 2d, a + 3d, …* where *a* is the first term. Plotting the terms on a number line gives equally-spaced points. a₁ a₂ a₃ a₄ d d d **• nth term of AP** The *n*-th term adds the common difference *n - 1* times to the first term. The shift of one reflects that the first term contributes zero copies of *d*. (Where tn = nth term, a = first term, 1 = last term and d = common difference) **• Number of term in an AP** Solving the *n*-th term formula for *n* counts the terms between a known first and last term. Use it when the endpoints of a finite AP are visible but the length is not (for instance, counting multiples of three between two given values). (Where n = number of terms, a = first term, 1 = last term and d = common difference) **• Sum of first n terms in AP** The partial sum is *n* times the average of the first and last terms. Gauss's pairing trick gives the shortcut: pair the first term with the last, the second with the second-to-last, and so on. Each pair sums to *a + l*, and there are *n/2* such pairs. The two forms below differ only in whether the last term is given directly or expressed through *a* and *d*. Equivalent form using the last term directly. This is the most compact way to write the partial sum when both endpoints are known: (Whare a = first term, d = commn difference and 1 = nth term = a +(n-1)d) **• Arithmtic Mean** If *a, b, c* are in AP, then *b* is the Arithmetic Mean (A.M.) of *a* and *c*. The AM is the centre value that two endpoints determine to form a three-term AP. The middle term of three numbers in AP is the average of the outer two. The constant-difference condition *b - a = c - b* rearranges to: A.M between two numbers *a* and *b*. Any two numbers can be treated as the outer terms of a three-term AP whose centre is their average: If a, a1, a2, ... an, b are in AP we can say that a1, a2, ... an are the n Arithmetic Means berween a and b. **• Nots** Most AP problems simplify when the terms are taken symmetrically around the central term. The common-difference contributions cancel pairwise on summing: for odd counts the *d* terms cancel directly, and for even counts they cancel in symmetric pairs of *±d*, *±3d*, and so on. Tn = Sn - Sn-1 ## Geometric Progression (GP) A geometric progression is a sequence of non-zero numbers in which the ratio of consecutive terms is a fixed constant *r*. AP is built on addition of a fixed *d*; GP is built on multiplication by a fixed *r*. The parallel structure carries through to the *n*-th term, sum, and mean formulas below. Plotting GP terms gives exponential growth or decay. **• nth term of GP** The *n*-th term multiplies the first term by the common ratio *n - 1* times. The exponent shift mirrors the *(n - 1)d* in the AP case: the first term contributes the ratio zero times. (Where tn = nth term, a = first term, r = common ratio and n = number of terms) **• Sum of first n Terms in GP** The partial sum is a closed-form geometric series. The two branches differ only in sign arrangement so the numerator stays positive in each regime; they are algebraically equivalent. The derivation is the standard *S - rS* telescoping trick, which collapses all interior terms. (Where a = the first term, r = common ratio, n = number of terms) Note: When n = ∞, then For a convergent infinite GP (ratio strictly between 0 and 1), the series sums to a finite limit. The term *rn* goes to zero as *n* grows, so the partial-sum formula collapses to the ratio shown. This is the formula behind repeating-decimal-to-fraction conversion. **• Geometic Mean** If three non-zero numbers *a, b, c* are in GP, then *b* is the Geometric Mean (GM) of *a* and *c*. The GM plays the multiplicative role the AM plays additively: it is the value for which the ratios *b/a* and *c/b* match. The geometric mean of two numbers is the square root of their product. The constant-ratio condition gives *b2 = ac*: The GM of two arbitrary numbers *a* and *b* follows the same template: (Note that if a and b are of opposite sign, their GM is not defined) **• Note** If *a, b, c* are in GP, the following ratio identity holds. It follows from *b/a = c/b*: Most GP problems simplify when the terms are taken in a symmetric multiplicative form. The central term is unaffected, and ratio terms pair as *r* and *1/r* so products simplify. ## Harmonic Progression (HP) A harmonic progression is a sequence of non-zero numbers whose reciprocals form an AP. HP arises in averaging rates (speeds over a fixed distance, parallel resistances, capacitances in series) where the linear quantity is the reciprocal of what you measure directly. A harmonic progression is defined by the reciprocals of its terms forming an AP: are in AP • If *a, (a+d), (a+2d), …* are in AP, the *n*-th term of the AP is *a + (n-1)d*. So if are in HP, the *n*-th term of the HP is the reciprocal of the corresponding AP term. HP has no independent closed form for the partial sum; unlike AP and GP, partial sums of HPs are not generally expressible in elementary closed form. • If *a, b, c* are in HP, then *b* is the Harmonic Mean (HM) of *a* and *c*. By definition, the HM is the reciprocal of the AM of the reciprocals. For positive inputs it is always less than or equal to both the AM and the GM. The harmonic mean is twice the product divided by the sum, from inverting *2/b = 1/a + 1/c*: • The HM of two arbitrary numbers follows the same template: • If *a, b, c* are in HP, the relation reads more cleanly in reciprocals. *1/b* is the average of *1/a* and *1/c*, which is the AP condition on the reciprocals: ## Relationship between AM, GM and HM of Two Numbers For any two positive numbers the three means stand in a fixed relationship. The identity below links the three: knowing any two of *AM, GM, HM* determines the third. The chain *AM ≥ GM ≥ HM* (with equality only when the inputs are equal) is the two-number case of the classical inequality of means. If GM, AM, and HM are the Geometric, Arithmetic, and Harmonic means of two positive numbers, then the GM is the geometric mean of the AM and HM. Squaring gives the symmetric form: *GM2* equals their product. For any two positive numbers, *AM ≥ GM ≥ HM* with equality only when the numbers are equal. This ordering generalizes to *n* numbers and is the basis for many classical inequalities. --- ## Complex Numbers URL: http://math.mkabumattar.com/basics/complex-numbers The imaginary unit, arithmetic operations, modulus, and complex conjugate. A complex number has the form *a + ib*, where *a* and *b* are real and *i* is the imaginary unit. Treating *i* as an algebraic symbol with *i2 = -1* lets arithmetic proceed like ordinary polynomial arithmetic, with the modulus and conjugate adding extra structure. Geometrically, every complex number is a point in the Argand plane: real part on the horizontal axis, imaginary part on the vertical. z = a + ib Re Im a b The imaginary unit is defined as a square root of negative one. This single symbol extends the reals into an algebraically closed field in which every non-constant polynomial has a root (the fundamental theorem of algebra). The choice of *i* over *-i* is conventional; both satisfy the defining relation below. Squaring the imaginary unit returns the defining relation. This rule is what distinguishes complex arithmetic from polynomial arithmetic in *i*: every *i2* is replaced by *-1*. Higher powers of *i* cycle through *i, -1, -i, 1* with period four. Square roots of negative real numbers factor out *i*. The non-negative *a* under the inner radical keeps that operation real-valued; the *i* outside carries the sign. The rule blocks the common false step *√(-a)·√(-b) = √(ab)* when both operands are negative. Addition combines real and imaginary parts component-wise, like vector addition in *R2*. On the Argand diagram, two complex numbers add as the parallelogram-rule sum of their position vectors. Subtraction is also component-wise. Reversing the sign of the second operand reflects it through the origin before the vector addition. Multiplication uses the distributive law with *i2 = -1*. The cross terms *iad* and *ibc* sit in the imaginary part; *i2bd = -bd* moves into the real part. Geometrically, multiplication rotates and scales: moduli multiply and arguments add. Multiplying a complex number by its conjugate gives a real result, which is how complex denominators are rationalised. The cross terms *iab* and *-iab* cancel, leaving the sum of squares *a2 + b2*, the squared distance from the origin in the Argand plane. The modulus is the distance from the origin in the complex plane. By the Pythagorean theorem applied to the horizontal and vertical projections in the diagram, the length of the vector from 0 to *a + ib* is *√(a2 + b2)*. The conjugate flips the sign of the imaginary part, reflecting the number across the real axis. Conjugation is an involution: applying it twice recovers the original. It also commutes with addition and multiplication, making it a field automorphism of the complex numbers. A number times its conjugate equals the modulus squared. This expresses *|z|2* without taking a square root, which is the cleaner quantity to work with whenever the modulus appears under a power. To divide complex numbers, multiply numerator and denominator by the denominator's conjugate. The denominator becomes the modulus squared (a real number), and the quotient sits in standard *a + ib* form. --- ## Vectors URL: http://math.mkabumattar.com/basics/vectors Dot and cross products, position and unit vectors, scalar and vector triple products. A vector in three-space carries magnitude and direction, written in the standard *i*, *j*, *k* basis. The dot and cross products give a scalar and a vector respectively, and combine into triple products that encode signed volumes and orthogonality relations. Vector addition obeys the parallelogram rule: the sum of two vectors is the diagonal of the parallelogram they span. u v u + v ## Dot Product The dot product multiplies corresponding components and sums them, returning a scalar that measures projected length and angular alignment. Geometrically *a · b = |a||b|cos θ*, so it vanishes for orthogonal vectors and is maximal when the vectors are parallel. The first vector in component form, its coordinates with respect to the *i, j, k* basis: The second: Expanded form before basis cancellations. Distributing gives nine terms; six vanish because the basis vectors are mutually orthogonal. After applying orthogonality of the basis, the dot product reduces to a sum of products. The diagonal terms *i·i = j·j = k·k = 1* survive; off-diagonal terms vanish. This component formula is the standard tool for angles, projections, and orthogonality checks. The dot product is commutative (*a · b = b · a*) because real-number multiplication of components is commutative: ## Cross Product The cross product returns a vector perpendicular to both inputs, whose magnitude equals the area of the parallelogram they span. It is anti-commutative and direction-sensitive, with orientation fixed by the right-hand rule. Unlike the dot product, it has a clean form only in three dimensions. The first vector: The second: The cross product is a 3×3 determinant expanded along the basis row. The first row carries the basis vectors and the remaining two rows the components, so cofactor expansion along the top row gives the standard component formula. Swapping the operands does not preserve the product. Unlike the dot product, the cross product is direction-sensitive; swapping reverses orientation by the right-hand rule. Swapping the operands reverses the sign: the cross product is anti-commutative. This follows from the determinant view, since exchanging two rows of a matrix negates its determinant. ## Position Vector A position vector locates a point relative to the origin and packages its Cartesian coordinates as a vector. It is the bridge between point-set geometry and vector algebra: every geometric question about points becomes an algebraic question about their position vectors. For point *P(x, y, z)*, the position vector is the arrow from the origin to the point. The arrow from the origin to a point is the vector with the point's coordinates as components, written as differences from the origin: After the zero subtractions vanish: The magnitude (length) of the position vector by the Pythagorean theorem in three dimensions. The squared length is the sum of squared components; the square root gives the Euclidean distance from the origin to the point. ## Unit Vector A unit vector preserves direction while normalising magnitude to one. Divide any non-zero vector by its magnitude to get its unit vector. Unit vectors isolate direction from magnitude, which is what you want whenever the question is "in which direction" rather than "how far". A unit vector is the vector divided by its own magnitude. The hat notation marks the result as normalised; the construction works for any non-zero vector. An arbitrary vector in component form: Its magnitude: The unit vector in component form, each component divided by the magnitude. The squared components sum to one, confirming unit length. ## Scalar Triple Product The scalar triple product *a · (b × c)* returns the signed volume of the parallelepiped spanned by the three vectors. It vanishes when they are coplanar. The sign records orientation (positive for right-handed, negative for left-handed); the absolute value is the geometric volume. Three vectors in component form, used in the determinant below: The scalar triple product is the determinant of the matrix whose rows are the three vectors. The 3×3 determinant and the signed volume are the same object, so the parallelepiped volume formula comes straight from linear algebra. Compact bracket notation, the standard shorthand whenever the triple product appears in identities: **Propertes** Cyclic permutation of the three vectors leaves the scalar triple product unchanged. Rotating rows is an even permutation, so the determinant's sign is preserved. Swapping two adjacent vectors reverses the sign, by the row-swap rule for determinants: If any vector is repeated, the triple product vanishes. The three vectors collapse onto a plane and the spanned volume drops to zero. The determinant view says the same: a matrix with two equal rows is singular. The dot and cross can be interchanged within the triple product. This is what justifies the bracket notation: the value depends on the three vectors, not on where the dot or cross sits. Coplanar vectors give a zero triple product, since the spanned volume is zero. Conversely, a non-zero triple product is a quick test that three vectors form a linearly independent set in three-space. The absolute value gives the parallelepiped volume: A tetrahedron has one-sixth that volume. Three of its triangular faces partition the parallelepiped into six congruent tetrahedra: ## Vector Triple Product The vector triple product *a × (b × c)* gives a vector in the plane of *b* and *c*, expanded by the BAC-CAB identity. The result is perpendicular to the inner *b × c*, which is itself perpendicular to that plane, so the outer cross brings the answer back into the *b*-*c* plane. The three vectors in component form: Then, The BAC-CAB expansion shows the result is a linear combination of the inner two vectors. The mnemonic "back cab" gives the order: outer vector dotted with the *far* inner vector multiplies the *near* one, minus the symmetric term. Cyclic permutation of the BAC-CAB identity by relabelling *a → b → c → a*: Another cyclic version. Summing the three cyclic forms gives zero (the Jacobi identity), which is what makes the cross product into a Lie bracket. The cross product is not associative. Parentheses change the result. The groupings *a × (b × c)* and *(a × b) × c* lie in different planes (the *b-c* plane and the *a-b* plane), so the parentheses are not optional. --- ## Probability URL: http://math.mkabumattar.com/basics/probability Probability rules including complementary events, addition, independent events, conditional probability, and Bayes' formula. Probability quantifies how likely an event is on a scale from 0 (impossible) to 1 (certain). The rules below combine probabilities of related events (unions, intersections, conditional events) and end with Bayes' formula, which inverts a conditional probability to update beliefs from evidence. Two-event relations are easiest to read off a Venn diagram, where set operations map directly to probability operations. A B A∩B S ## Basics The classical definition counts favourable outcomes against equally likely total outcomes. It applies cleanly only when the sample space partitions into equally likely cases. For general spaces, probability is defined axiomatically as a measure. Probability of an event A is P(A)=(number of favourable outcomes) (total number of all outcomes) ## Probability Range Probability is bounded between zero and one, with the endpoints reserved for impossible and certain events. The bounds are the first Kolmogorov axiom and the source of every sanity check: any computed value outside this range signals an error in setup. ## Rule of Complementary Events An event and its complement (everything *not A*) exhaust the sample space, so their probabilities sum to one. Use this when *P(AC)* is easier to compute than *P(A)* directly. "At least one" events are usually easiest as *1 - P(none)*. ## Rule of Addition The inclusion-exclusion identity for two events: add the individual probabilities, then subtract the overlap so it is not counted twice. The Venn diagram shows why: the lens *A ∩ B* lies inside both *A* and *B*, so summing the circles counts it twice. The identity generalises to *n* events with alternating inclusion-exclusion terms. ## Disjoint Events Two events are disjoint (mutually exclusive) when they cannot both occur in the same trial. In the Venn diagram the two circles do not overlap, so the inclusion-exclusion correction drops out and the addition rule reduces to *P(A ∪ B) = P(A) + P(B)*. Events A and B are disjoint if their intersection has zero probability: ## Independent Events Independence means the occurrence of one event leaves the probability of the other unchanged; the joint probability is the product of the marginals. Independence is a statement about probabilities, not about the events themselves. Two events with overlapping outcomes can still be independent if the overlap matches the product condition exactly. Events A and B are independent if their joint probability factors as the product of the marginals: ## Conditional Probability Conditional probability re-normalises by restricting the sample space to outcomes in which the conditioning event has occurred. The fraction below counts the overlap *A ∩ B* against the new total *B*, which is what "given *B*" reduces the universe to. This definition underlies Bayes' formula and the theory of stochastic processes built on conditioning. ## Bayes Formuala Bayes' formula inverts a conditional probability, switching what is given and what is being asked, by re-weighting with the ratio of marginals. It is the central tool for inference: from a prior *P(A)* and a likelihood *P(B|A)*, it returns the posterior *P(A|B)* after observing *B*. The denominator *P(B)* is often expanded by the law of total probability into a sum over disjoint hypotheses. Disjoint events are not independent. If *A* and *B* are disjoint with positive probabilities, knowing one occurred makes the other impossible, so they are maximally *dependent*. Confusing the two concepts is a common error. --- # Geometry ## Area URL: http://math.mkabumattar.com/geometry/area Area formulas for common 2D shapes: squares, rectangles, parallelograms, trapezoids, circles, ellipses, and triangles. Area measures the extent of a two-dimensional region in square units (square metres, square inches, and so on). The formulas below cover squares, rectangles, parallelograms, trapezoids, circles, ellipses, and triangles, each expressed in terms of the parameters that describe the figure: side, base, height, radius, or semi-axes. width height **Square** Four equal sides of length *a*. Area is the side squared: **Rectangle** Sides *a* and *b*. Area is the product of the two sides: **Parallelgram** Base *b* and perpendicular height *h* (the distance between the base and its opposite side, not the slanted edge). Area matches a rectangle with the same base and height: **Trapezoid** Parallel sides *b1* and *b2*, with *h* the perpendicular distance between them (not the slanted leg). Area is the average of the parallel sides times that height: **Circle** Radius *r* is the distance from centre to edge. Area scales with the square of *r*; doubling the radius quadruples the area: **Ellipse** *t1* and *t2* are the semi-major and semi-minor axes, half the lengths of the two principal diameters. Area is *π* times their product. When the axes are equal this reduces to the circle formula: **Triangle** Base *b* and perpendicular height *h* (dropped onto that base, not a slanted side). Area is half the base times the height. Two such triangles tile a parallelogram of area *bh*: **Equilateral Triangle** All three sides equal *a*, all angles 60°. Perpendicular height is *a√3/2*, which reduces the general triangle formula to a closed form in *a*: --- ## Perimeter URL: http://math.mkabumattar.com/geometry/perimeter Perimeter formulas for common 2D shapes: squares, rectangles, parallelograms, circles, triangles, and regular polygons. Perimeter is the total length of a planar shape's boundary, measured in linear units (metres, inches, and so on). For polygons it is the sum of side lengths. For a circle the analogous quantity is the circumference, *2πr*. The formulas below cover squares, rectangles, parallelograms, circles, triangles, and regular polygons. **Square** Four equal sides of length *a*. Perimeter is four times the side: **Rectangle** Sides *a* and *b*. Opposite sides are equal, so the perimeter is twice the sum of one of each: **Parallelgram** Adjacent sides *a* and *b*. Opposite sides are equal, so the perimeter takes the same form as a rectangle. The slant angle does not enter: **Circle** Radius *r*. The circumference is *2π* times the radius, the limiting case of a regular polygon as the number of sides grows without bound: **Triangle** Sides *a*, *b*, and *c*. Perimeter is their sum. No angle information is required: **Any Regular Pilygon** *n* equal sides of length *s* give a perimeter of *ns*, the sum of all sides. The general statement below covers irregular polygons as well: --- ## Surface Area URL: http://math.mkabumattar.com/geometry/surface-area Surface area formulas for 3D solids: cubes, prisms, spheres, and cylinders. Surface area is the total area of all faces of a 3D solid, in square units. For prismatic solids it splits into a lateral component (the side walls) plus the area of the two bases. The formulas below cover cubes, rectangular and irregular prisms, spheres, and cylinders. top side front side back bottom face **Cube** Six congruent square faces of edge *a*, each of area *a²*. Surface area is six times that: **Rectangular Prism** Edges *a*, *b*, *c*. Three pairs of congruent faces: two of area *ab*, two of *bc*, two of *ac*. Sum the three pairs: **Irregular Prism** *B* is the base polygon and *L* is the prism's height along the axis. The lateral surface is the base perimeter times *L*. Add twice the base area for the two ends: **Sphere** Radius *r*. Surface area is four times the area of a great-circle cross-section (*πr²*): **Cylinder** Base radius *r* and height *h*. Two circular ends of area *πr²* plus a wrapped rectangle of height *h* and width *2πr* (the base circumference) factor into: --- ## Volume URL: http://math.mkabumattar.com/geometry/volume Volume formulas for 3D solids: cubes, prisms, cylinders, pyramids, cones, spheres, and ellipsoids. Volume measures the 3D extent of a solid in cubic units (cubic metres, cubic inches, and so on). Prismatic solids such as cubes, rectangular prisms, and cylinders follow the pattern *base area × height*. Pyramids and cones give one-third of the corresponding prism. Spheres and ellipsoids have their own forms. width height depth **Cube** Edge length *a*. Volume is the side cubed; doubling the edge multiplies volume by eight: **Rectangular Prism** Edges *a*, *b*, *c* (length, width, height in any order). Volume is the product of all three: **Irregular Prism** *B* is the base polygon (any shape) and *h* the perpendicular height between the two parallel bases. Volume is the base area times that height, generalising the rectangular-prism rule: **Cylinder** Base radius *r* and height *h*. The circular base has area *πr²*, so volume is the disc area times the height: the prism rule applied to a circular base: **Pyramid** *b* is the base area (for a square pyramid, *b = side²*) and *h* the perpendicular height from base to apex. Volume is one-third the volume of the prism with the same base and height: whare b = area of square **Cone** Base radius *r* and perpendicular height *h* from base to apex. The circular case of the pyramid rule: one-third the base area (*πr²*) times the height: **Sphere** Radius *r*. Volume scales with the cube of *r*. The constant *4π/3* is the same factor that appears when integrating a hemisphere of revolution: **Ellipsoid** Three semi-axes *r1*, *r2*, *r3* (half the lengths along each principal direction). Volume is *4π/3* times their product. When all three are equal this reduces to the sphere formula: --- ## Lateral Area URL: http://math.mkabumattar.com/geometry/lateral-area Lateral area formulas for right prisms, cylinders, pyramids, and cones. Lateral area is the surface area of a 3D solid *excluding* its base or bases, measured in square units. It covers the side walls only, the relevant quantity when the bases are not part of the visible surface (the wall of a tank, the curved sheet of a cone). The formulas below cover right prisms, cylinders, pyramids, and cones. base (excluded) base (excluded) lateral **Right Prism** Base perimeter *P* and prism height *h*. The side walls unroll into a single rectangle of width *P* and height *h*: Whare P = Perimeter of the base h = height of the prism **cylinder** The circular case of a right prism, with base perimeter *2πr*. Base radius *r* and height *h*. Unrolling the curved side gives a rectangle of width *2πr* and height *h*: Where r = radius of the base h = geight of the cylinder **Pyramid** Base perimeter *P* and slant height *l* (the distance from the apex down the face to the midpoint of a base edge, not the perpendicular height). Lateral area is half the base perimeter times the slant height. The one-half factor matches a triangle's area-to-base-times-height ratio: Where P = Perimeter of base l = slant height **Cone** Base radius *r* and slant height *l* (apex to base-edge along the surface, not the vertical axis). The circular case of the pyramid rule. Unrolled, the surface is a circular sector of radius *l* whose arc length matches the base circumference: Where r = radius of it's base l = slant height of the cone --- # Coordinate Geometry ## Coordinate Geometry Basics URL: http://math.mkabumattar.com/coordinate-geometry/basics Distance, section, midpoint, area of a triangle, slope, and equations of lines in the coordinate plane. Coordinate geometry expresses geometric objects algebraically by placing them on a Cartesian grid. Points become ordered pairs, lines become linear equations, and geometric relations (collinearity, perpendicularity, distance, area) become arithmetic identities on coordinates. The formulas below cover the core operations on points and lines in the plane: measuring distances, dividing segments, computing slopes, and writing the equation of a line. Each form is interchangeable, fit to a different set of givens. ### Distance Between Two Points The distance between P(x1,y1) and Q(x2,y2) is the length of the segment joining them. It is the Pythagorean theorem applied to the run *x2 − x1* and the rise *y2 − y1*, the legs of a right triangle whose hypotenuse is the segment. The result is non-negative and symmetric in the two points. x y P(x₁,y₁) Q(x₂,y₂) x₂−x₁ y₂−y₁ d ### Section Formula The section formula gives the coordinates of R(x,y) dividing the segment from P(x1,y1) to Q(x2,y2) in the ratio *m1:m2*. Each coordinate is a weighted average of the endpoint coordinates with the weights swapped: *m1* multiplies the second point's coordinate and *m2* multiplies the first. For internal division both weights are positive; for external division *m2* is negative. The formula fails when *m1 + m2 = 0*, which corresponds to no finite dividing point. ### Midpoint Formula The midpoint is the section formula with the ratio fixed at 1:1, so each coordinate is the arithmetic mean of the endpoint coordinates. It is the centre of the segment, equidistant from both endpoints. The formula returns a finite point for any pair of endpoints, distinct or coincident. ### Area of a Triangle The area of the triangle with vertices (x1,y1), (x2,y2), (x3,y3) is half the absolute value of a signed determinant in the coordinates. The expression inside the bars is twice the signed area; the absolute value drops the sign recording vertex orientation (clockwise vs counter-clockwise). The result is zero exactly when the three points are collinear, giving a direct collinearity test. ### Vertical Line A line parallel to the *y*-axis at horizontal distance *a* has every point sharing the same *x*-coordinate, so its equation is *x = a*. Its slope is undefined (the run is zero), so no slope-intercept form exists. The analogous horizontal line is *y = b*, with slope zero. ### Slope of a Line The slope (or gradient) *m* of a non-vertical line is the tangent of the angle *θ* the line makes with the positive *x*-axis, measured counter-clockwise. It gives direction and steepness: positive slope rises left-to-right, negative slope falls, zero slope is horizontal. Slope is undefined when *θ = 90°*, the vertical case. ### Parallel Lines Two non-vertical lines are parallel exactly when they have the same slope. They never meet, or coincide entirely if their intercepts also match. Two vertical lines are parallel by inspection, since slope is undefined for both. ### Perpendicular Lines Two non-vertical lines are perpendicular exactly when the product of their slopes is *−1*. Each slope is the negative reciprocal of the other. The rule fails when one line is vertical and the other horizontal; that pair is perpendicular by direct inspection, since one slope is undefined. ### Line Through the Origin A line through the origin with slope *m = tan θ* has zero *y*-intercept, so the slope-intercept form reduces to *y = mx*. The slope alone determines the line. This is the building block for the point-slope and two-point forms below. ### Point-Slope Form The point-slope form writes a line from one known point (x1, y1) and slope *m*. It says the slope between (x, y) and (x1, y1) is constantly *m*. Vertical lines have undefined slope; use *x = x1* in that case. ### Two-Point Form The two-point form is point-slope with the slope computed in place from the second point: *m = (y2 − y1) / (x2 − x1)*. Use it when two points are given and neither slope nor intercept is known. The form fails when *x1 = x2* (vertical line); use *x = x1* there. ### Intercept Form The intercept form uses the *x*-intercept *a* and *y*-intercept *b*, the points where the line crosses the axes. Substituting (a, 0) or (0, b) verifies the equation. It does not apply to lines through the origin (where *a = b = 0*) or to lines parallel to either axis (where one intercept is infinite). --- ## Circle URL: http://math.mkabumattar.com/coordinate-geometry/circle Equations of a circle including standard, center-radius, general, diameter, parametric, tangent, and normal forms. A circle is the locus of points equidistant from a fixed centre. The fixed distance is the radius *r*; the centre is the unique point from which every point on the curve is *r* away. The equations below give the same object in several algebraic forms (standard, centre-radius, general, diameter, parametric), each suited to a different kind of given data. The page also covers tangent and normal lines at a chosen point of contact, in both standard and general settings. x y (h, k) r ### Standerd Equation The standard equation places the centre at the origin. Every point (x, y) on the circle satisfies *x2 + y2 = a2*: the squared distance from the origin equals the squared radius. The parameter *a* must be positive; *a = 0* collapses the circle to a single point and *a2 < 0* has no real solutions. Use this form for problems with rotational symmetry about the origin. ### Center-Radius Form Translating the centre to (h, k) shifts each variable by the corresponding centre coordinate. The equation states that the squared distance from (x, y) to (h, k) equals *r2*. Setting *h = k = 0* recovers the standard form. The radius must be non-negative for the equation to describe a real curve. ### General Equation of a Circle Expanding *(x − h)2 + (y − k)2 = r2* and renaming constants gives the general quadratic form. Any second-degree equation in *x* and *y* with equal coefficients on *x2* and *y2* and no *xy* term reduces to this shape. The general form is the natural output of intersection or locus computations, where centre and radius are not yet known. Comparing with the expanded centre-radius form, the centre is read off the linear coefficients as *(−g, −f)*. The radius comes from completing the square. The curve is a real circle only when the radicand *g2 + f2 − c* is positive (a point if zero, imaginary if negative). ### Diameter Form Given two diametrically opposite endpoints (x1, y1) and (x2, y2), the circle is the locus of points P such that ∠(x1P x2) is a right angle (Thales' theorem). The dot product of the vectors from P to each endpoint is zero, giving the diameter form. The centre is the midpoint of the diameter; the radius is half its length. ### Tangent at P(x1,y1) of a Standard Circle The tangent line at (x1, y1) on the circle *x2 + y2 = a2* is perpendicular to the radius at that point. Apply the "T = 0" rule: replace *x2* by *x x1* and *y2* by *y y1*. The contact point must satisfy the original equation; otherwise the resulting line is the polar of an external point, not a tangent. ### Normal at P(x1,y1) of a Standard Circle The normal at any point on a circle passes through that point and the centre. For the standard circle the centre is the origin. The equation *y / y1 = x / x1* says that (x, y) is a scalar multiple of (x1, y1), i.e. lies on the line through the origin and the contact point. The form breaks down when either *x1* or *y1* is zero; in those cases the normal is a coordinate axis. ### Tangent at P(x1,y1) of a General Circle For the general-form circle, the T = 0 rule extends to the linear terms: replace *x* by *(x + x1) / 2* and *y* by *(y + y1) / 2*, then clear the halves. The contact point must lie on the circle for the result to be a true tangent. Setting *g = f = 0* recovers the standard-form tangent. ### Normal at P(x1,y1) of a General Circle The normal at (x1, y1) on the general circle is the line joining the contact point to the centre *(−g, −f)*. The two-point form, with the centre as the second point, yields the equation below. The line is well defined whenever the contact point and centre are distinct, which holds for any point on the circle. ### Condition For a Line To Be a Tangent For the line *y = mx + c* to be tangent to the standard circle *x2 + y2 = a2*, the perpendicular distance from the origin to the line must equal *a*. Substituting *y = mx + c* into the circle equation and demanding a double root gives *c2 = a2(m2 + 1)*. Two values of *c* (one positive, one negative) satisfy this, giving the two parallel tangents of slope *m*. When the tangency condition holds, the line touches the circle at a single point, obtained by solving the substituted equation as a perfect square. The contact point depends on the sign of *c*, so the two parallel tangents of slope *m* touch opposite points. ### Parametic Equation of Standard Circle A single angular parameter *θ* traces the standard circle: the angle measured at the centre from the positive *x*-axis to the radius at (x, y). As *θ* sweeps from 0 to *2π*, the point (a cos θ, a sin θ) traces the circle once counter-clockwise. Use this form for integrating around the circle or parameterising motion along it. ### Parametic Equation of General Circle For a circle centred at (h, k) with radius *r*, the parametric form adds the centre coordinates as offsets to the standard parameterisation. Each point on the circle is the centre plus a radius-vector of length *r* at angle *θ*. In animation and physics *θ* often plays the role of time. ### Tangent To a Standard Circle at Point P(a.cosθ, a.sinθ) Substituting the parametric coordinates into *x x1 + y y1 = a2* and dividing by *a* gives the tangent in angular form. Use this when the contact point is identified by angle rather than Cartesian coordinates. The coefficients (cos θ, sin θ) are the unit normal direction from the centre to the contact point. ### Normal To a Standard Circle at Point P(a.cosθ, a.sinθ) The normal at a parametric point is the line through the origin and the contact point, in the direction (cos θ, sin θ). The equation *x / cos θ = y / sin θ* says (x, y) is proportional to (cos θ, sin θ). The form is undefined when *cos θ* or *sin θ* is zero, where the normal coincides with an axis. The "T = 0" pattern (replacing *x2* by *xx1*, *y2* by *yy1*, and *x* by *(x + x1)/2*) is the standard shortcut for writing the tangent to any conic at a known point, not just the circle. --- ## Parabola URL: http://math.mkabumattar.com/coordinate-geometry/parabola Types of parabolas, tangents, normals, focal distance, and angle between tangents. A parabola is the locus of points equidistant from a fixed point (the focus) and a fixed line (the directrix). The line through the focus perpendicular to the directrix is the axis of symmetry; the parabola crosses it at the vertex, halfway between focus and directrix. The four standard orientations place the vertex at the origin and align the axis with a coordinate axis, differing only in direction. The parameter *a* is the focus-to-vertex distance and controls how tightly the parabola opens. x y directrix F V ### Type of Parabola The four standard parabolas all have their vertex at the origin; they differ in which axis they open along and in which direction the focus lies. The latus rectum is the focal chord perpendicular to the axis, with length *4a* in every case. The directrix lies on the side of the vertex opposite the focus, at distance *a*. | Parabola | y2=4ax | y2=-4ax | x2=4ay | x2=-4ay | |---|---|---|---|---| | **Vertex** | (0,0) | (0,0) | (0,0) | (0,0) | | **Focus** | (a,0) | (-a,0) | (0,a) | (0,-a) | | **Axis** | y=0 | y=0 | x=0 | x=0 | | **Dirctix** | x=-a | x=a | y=-a | y=a | | **Length of Latus Recutum (LR)** | 4a | 4a | 4a | 4a | | **End Point of LR** | (a,2a)&(a,-2a) | (-a,2a)&(-a,-2a) | (2a,a)&(-2a,a) | (2a,-a)&(-2a,-a) | ### Tangent To Parabola y2=4ax A parabola has two tangent forms: one from a point of contact, one from a slope. The point form applies the T = 0 substitution *y2 → y y1* and *x → (x + x1)/2*, multiplied out. The contact point (x1, y1) must lie on the parabola, i.e. satisfy *y12 = 4a x1*. The slope form gives the tangent of any non-zero slope *m*. Substituting *y = mx + c* into the parabola equation and demanding a double root yields *c = a/m*. Each non-zero slope has exactly one tangent; the slope-zero limit is the *x*-axis, which is tangent at the vertex. ### Normal To Parabola y2=4ax The normal at a contact point is perpendicular to the tangent there and passes through the point. Its slope is the negative reciprocal of the tangent slope *2a / y1*, giving *−y1 / 2a*. The form below is point-slope with this normal slope; it is undefined at the vertex where *y1 = 0* (the normal there is the *x*-axis). The slope form parameterises normals by slope *m*. Up to three normals of slope *m* can pass through a single external point, the basis of the theory of conormal points. The cubic dependence on *m* in the formula reflects that count. ### Focal Distance The focal distance is the distance from a point P(x1, y1) on the parabola to the focus. By the defining locus property, it equals the perpendicular distance from P to the directrix, which for *y2 = 4ax* (directrix *x = −a*) is *x1 + a*. The focal distance reads off the *x*-coordinate alone, no square roots required. It is non-negative because *x1 ≥ 0* on the parabola. If P(x1,y1) lies on y2=4ax then focal distance = x1+a ### Angle Between Two Tangents From P(x1,y1) to Parabola y2=4ax is From any external point exactly two tangents can be drawn to a parabola; the angle *θ* between them measures the opening of the curve seen from that point. The numerator radical is real precisely when (x1, y1) lies outside the parabola (*y12 > 4a x1*); on the curve the angle collapses to zero, and inside there are no real tangents. The denominator *x1 + a* is the focal distance, so the formula relates the tangent angle to position relative to the directrix. --- ## Ellipse URL: http://math.mkabumattar.com/coordinate-geometry/ellipse Types of ellipses, eccentricity, tangents, normals, and focal distances. An ellipse is the locus of points whose distances to two fixed foci sum to a constant. The two foci lie on the major axis, equidistant from the centre; the constant sum equals the major-axis length *2a*. The semi-major axis *a* and semi-minor axis *b* set the size and shape; the eccentricity *e ∈ [0, 1)* measures elongation: *e = 0* is a circle, *e → 1* a near-degenerate slit. The two standard orientations place the centre at the origin and align the major axis with either coordinate axis. x y F₁ F₂ a b ### Types of Ellipse The two standard orientations swap which axis carries the longer semi-axis; the behaviour is symmetric under that swap. Type 1 has the major axis along *x*, so *a > b*. The vertices on the major axis are *(±a, 0)*; the co-vertices on the minor axis are *(0, ±b)*. The foci lie on the *x*-axis at *(±ae, 0)*. The curve is symmetric in both axes and in the origin. Type 2 has the major axis along *y*, so *b > a*. The denominators keep their positions, but *b* is now the semi-major axis and *a* the semi-minor. The foci move onto the *y*-axis at *(0, ±be)*; the vertices on the major axis become *(0, ±b)*. | Ellipse | Type 1 (a>b) | Type 2 (b>a) | |---|---|---| | **Center** | (0,0) | (0,0) | | **Vertices** | A(a,0) A'(-a,0) B(0,b) B'(0,-b) | B(0,b) B'(0,-b) A(a,0) A'(-a,0) | | **Foci** | S=(ae,0) S"(-ae,0) | S=(be,0) S"(-be,0) | | **Distance Between Foci** | 2ea | 2be | | **Length of Axis** | Major = 2a, Minor = 2b | Major = 2b, Minor = 2a | | **Equation of Axis** | Major: y=0, Minor: x=0 | Major: x=0, Minor: y=0 | | **Relation Between a,b,c** | b2 = a2(1-e2) | a2 = b2(1-e2) | **Eccentericity (Type 1)** For Type 1 the eccentricity comes from the two semi-axes: *e = √(a2 − b2) / a*. Since *a > b* the radicand is positive and *e* lies strictly between 0 and 1. The quantity *ae* is the centre-to-focus distance, so *e* measures focal offset as a fraction of the semi-major axis. **Eccentericity (Type 2)** For Type 2 the major axis is *b*, so the eccentricity formula swaps the roles of *a* and *b* under the radical. The radicand *b2 − a2* is positive because *b > a*. The result lies in [0, 1), with the lower bound (a circle) reached when *a = b*. ### Tangent to Ellipse Tangent lines come in point-based and slope-based forms, as for the circle and parabola. The point form applies T = 0 to the ellipse equation: *x2* becomes *x x1* and *y2* becomes *y y1*. The contact point (x1, y1) must satisfy the original ellipse equation, otherwise the resulting line is a polar rather than a tangent. The slope form gives the two parallel tangents of slope *m*. Substituting *y = mx + c* into the ellipse equation and demanding a double root yields *c2 = a2 m2 + b2*. The radicand is always positive, so a tangent of every slope exists (unlike the hyperbola). ### Normal to Ellipse The normal at (x1, y1) is perpendicular to the tangent and passes through the contact point. Unlike the circle, the ellipse normal does not generally pass through the centre; it does so at the four vertices, and elsewhere reflects rays from one focus to the other. The form below is undefined when *x1* or *y1* is zero (at a vertex or co-vertex), where the normal is a coordinate axis. ### Focal Distance Each point on the ellipse has two focal distances, one to each focus, summing to *2a* (the defining locus property). For Type 1 the distance to the focus at *(ae, 0)* is *|a − e x1|* and the distance to *(−ae, 0)* is *|a + e x1|*. Both reduce to *a* at the centre (x1 = 0). The form below assumes Type 1; swap *x1* for *y1* and *a* for *b* in Type 2. A circle is the special case of an ellipse with *a = b* and *e = 0*. As *e* approaches 1, the ellipse degenerates toward a segment between the two foci. --- ## Hyperbola URL: http://math.mkabumattar.com/coordinate-geometry/hyperbola Types of hyperbolas, eccentricity, foci, tangents, normals, and focal distances. A hyperbola is the locus of points whose distances to two fixed foci have a constant *difference* in absolute value (*2a*), rather than a constant sum as in the ellipse. The curve has two disconnected branches opening away from each other along the transverse axis. Its eccentricity *e* is always greater than 1, and as |x| or |y| grows the branches approach a pair of asymptotes through the centre. The two standard orientations place the transverse axis along the *x*-axis (Type 1) or the *y*-axis (Type 2). x y F₁ F₂ ### Types of Hyperbola The two standard orientations have transverse axes along *x* and *y* respectively. **Type 1** A horizontal hyperbola opens left-and-right, with vertices at *(±a, 0)* on the *x*-axis and foci at *(±ae, 0)*. The transverse axis (length *2a*) lies along *x*; the conjugate axis (length *2b*) lies along *y* and does not intersect the curve. The asymptotes are *y = ±(b/a) x*. **Type 2** A vertical hyperbola opens up-and-down, with vertices at *(0, ±b)* on the *y*-axis and foci at *(0, ±be)*. The transverse axis (length *2b*) lies along *y*; the conjugate axis (length *2a*) lies along *x*. The asymptotes are *y = ±(b/a) x*, the same as in Type 1. | Hyperbola | Type 1 | Type 2 | |---|---|---| | **Center** | (0,0) | (0,0) | | **Vertices** | A(a,0) A'(a,0) | B(0,b) B'(0,-b) | | **Length of Axis** | Transverse = 2a, Conjugate = 2b | Transverse = 2b, Conjugate = 2a | | **Equation of Axis** | Transverse axis: y = 0, Conjugate axis: x = 0 | Transverse axis: x = 0, Conjugate axis: y = 0 | | **Distance Between Foci** | 2ea | 2be | **Relation between a,b and e (Type 1)** The identity *b2 = a2(e2 − 1)* relates the semi-axes to the eccentricity. *(e2 − 1)* is positive because *e > 1*, so *b2* is positive as required. This is the hyperbolic analogue of the ellipse relation *b2 = a2(1 − e2)*, with the sign flipped. **Relation between a,b and e (Type 2)** Type 2 swaps *a* and *b*, so the identity becomes *a2 = b2(e2 − 1)*. Here *b* is the semi-transverse axis and *a* the semi-conjugate. The constraint *e > 1* keeps the right side positive. **Eccentricity (Type 1)** Solving *b2 = a2(e2 − 1)* for *e* gives *e = √(a2 + b2) / a*, strictly greater than 1. Larger eccentricity spreads the asymptotes further from the transverse axis, so the branches diverge more sharply. The product *ae* is the centre-to-focus distance, mirroring the ellipse. **Eccentricity (Type 2)** For Type 2 the semi-transverse axis is *b*, so the formula divides by *b* instead of *a*. The radicand is symmetric in *a* and *b*; only the denominator changes. The result is strictly greater than 1. **Foci (Type 1)** The two foci sit on the transverse axis, symmetric about the centre, at distance *ae* from the origin. Since *e > 1* and the vertices are at *(±a, 0)*, each focus lies further out than the corresponding vertex, outside the curve on the side of the matching branch. **Foci (Type 2)** For Type 2 the foci lie on the *y*-axis at *(0, ±be)*, symmetric about the centre. The distance from centre to focus is *be*, exceeding the semi-transverse axis *b* because *e > 1*. Each focus is outside the matching branch. ### Tangent to Hyperbola The tangent forms mirror those of the ellipse, with the sign on the *b2* term flipped to match the hyperbola equation. The point form applies T = 0: *x2 → x x1* and *y2 → y y1*. The contact point must satisfy the original equation; otherwise the line is the polar of an external point. The slope form gives tangents of slope *m*; the radicand *a2m2 − b2* must be non-negative, so tangents exist only for *|m| ≥ b/a*. The boundary case *|m| = b/a* corresponds to the asymptotes, tangents "at infinity". Slopes between *−b/a* and *b/a* admit no tangent line. ### Normal to Hyperbola The normal at (x1, y1) is perpendicular to the tangent and passes through the contact point. The formula is the ellipse normal with both signs flipped: the *y* term gains a plus and the right-hand side becomes *a2 + b2*. The form is undefined when *x1* or *y1* vanishes; at vertices the normal coincides with the transverse axis. ### Focal Distance A point P(x1, y1) on the hyperbola has two focal distances *SP* and *S'P*, one to each focus, with absolute difference *2a* (the defining locus property). The sign of the difference depends on which branch P sits on. The closed forms below are linear in *x1*, so the focal distances compute without square roots once *e* is known. --- # Trigonometry ## Trigonometry Basics URL: http://math.mkabumattar.com/trigonometry/basics Trigonometric ratios, reciprocal relations, Pythagorean identities, co-functions, and sum-difference formulas. Trigonometry studies relationships between the sides and angles of triangles, and extends to the periodic functions sine, cosine, and tangent on the real line. The identities below (reciprocal, Pythagorean, co-function, sum-difference) simplify and transform trigonometric expressions. Two pictures anchor the subject: the right triangle, where each ratio is a side quotient, and the unit circle, where each ratio is a coordinate or slope. Every identity is then either a labelled side or a rotation symmetry. ## Basics The six trigonometric ratios are quotients of side lengths in a right triangle relative to a chosen acute angle. SOHCAHTOA encodes the three primary ratios; cotangent, secant, and cosecant are their reciprocals. θ a (opp) b (adj) c (hyp) On the unit circle, the same ratios are coordinates: the terminal point of an angle θ measured from the positive x-axis is *(cos θ, sin θ)*. This extends the definitions to all real angles, and makes periodicity and parity geometrically obvious. θ (cos θ, sin θ) cos θ sin θ Sine. Cosine. Tangent, equivalently sine over cosine. Cotangent, the reciprocal of tangent. Secant, the reciprocal of cosine. Cosecant, the reciprocal of sine. ## Relations Reciprocal and ratio identities recover the four secondary functions from sine and cosine. The Pythagorean identities follow from *a2 + b2 = c2* on the unit circle. Parity (odd: sine, tangent, cotangent, cosecant; even: cosine, secant) is read off the unit-circle symmetry. Tangent. Cotangent. Sine. Cosine. Tangent as reciprocal of cotangent. Cotangent as reciprocal of tangent. Secant. Cosecant. Pythagorean identity. Divide by *cos2θ* for the secant-tangent form. Divide by *sin2θ* for the cosecant-cotangent form. Sine is odd. Cosine is even (the formula follows the source's sign convention). Tangent is odd. Cotangent is odd. Secant follows cosine's parity. Cosecant follows sine's parity. ## Co-Functions Co-function identities swap a function with its "co" counterpart under complement *π/2 - θ*. In a right triangle the two acute angles sum to *π/2*, so the opposite side of one is the adjacent side of the other. Sine and cosine. Cosine and sine. Tangent and cotangent. Cotangent and tangent. Secant and cosecant. Cosecant and secant. ## Sum-Difference The sum and difference formulas express functions of *A ± B* in terms of functions of *A* and *B*. The product-to-sum and sum-to-product variants follow algebraically. Use the sum formulas to split an awkward angle into known reference angles (e.g., *75° = 45° + 30°*). Use product-to-sum forms to convert products inside integrals into single sinusoids. Sine of a sum. Sine of a difference. Cosine of a sum (sign convention follows the source). Cosine of a difference. Tangent of a sum, from dividing sine-sum by cosine-sum. Tangent of a difference. *sin C + sin D*. *sin C - sin D*. *cos C + cos D*. *cos C - cos D*. *2 sin A cos B*. *2 cos A sin B*. *2 cos A cos B*. *2 sin A sin B*. --- ## Trigonometry Graphs URL: http://math.mkabumattar.com/trigonometry/graphs Common angle values and graphs of the six trigonometric functions, plus the unit circle chart. The trigonometric functions are periodic. The table of standard angles and the unit circle below are lookup keys for the most common exact values. Sine and cosine are bounded sinusoids of period *2π*. Tangent and cotangent have period *π* with vertical asymptotes. Secant and cosecant inherit asymptotes from the zeros of cosine and sine. Exact values at first-quadrant angles, from 30-60-90 and 45-45-90 right triangles. | Angle | 0 | 30 | 45 | 60 | 90 | |---|---|---|---|---|---| | | 0 | | | | 1 | | | 1 | | | | 0 | | | 0 | | 1 | | | Sine: bounded in [-1, 1], period *2π*, odd. Cosine: sine shifted by *π/2*, same amplitude and period, even. Tangent: period *π*, asymptotes at odd multiples of *π/2*. Cotangent: reciprocal of tangent, asymptotes at zeros of sine. Secant: reciprocal of cosine, unbounded near cosine's zeros. Cosecant: reciprocal of sine, unbounded near sine's zeros. ## Unit Circle The unit circle maps each angle to a point *(cos θ, sin θ)* on the circle of radius one. Every standard trig value is a coordinate. --- ## Higher Angles URL: http://math.mkabumattar.com/trigonometry/higher-angles Double-angle and triple-angle formulas, and related identities. Higher-angle identities express functions of *2θ* and *3θ* in terms of *θ*. They follow from repeated use of the sum formulas: *sin(2θ) = sin(θ+θ)* expanded with the sine-sum formula gives *2 sin θ cos θ*, and the same trick produces every other identity here. Use them to simplify integrals, solve polynomial-in-sine equations, and reduce high powers to linear combinations of multiple angles. The three forms of *cos(2θ)* are each the right starting point for different problems. θ (cos 2θ, sin 2θ) Double-angle for sine, with tangent form. Double-angle for cosine, three equivalent forms. Double-angle for tangent. Triple-angle for sine. Triple-angle for cosine. Triple-angle for tangent. Power-reduction from the cosine double-angle form, used to lower powers of cosine in integrals. Power-reduction for sine. Perfect-square form, used to factor a sin-cos combination. Difference form. The three forms of *cos(2θ)* re-express *sin2θ* or *cos2θ* in terms of *cos(2θ)* alone. This is the power-reduction technique for integrating even powers of sine and cosine. --- ## Laws of Trigonometry URL: http://math.mkabumattar.com/trigonometry/laws-of-trigonometry Law of sines, cosines, tangents, and Mollweide's formula. The laws of trigonometry generalise right-triangle relations to arbitrary triangles. They solve any triangle given enough sides and angles; the appropriate law depends on which combination (ASA, AAS, SSA, SAS, SSS) is given. The Law of Sines handles cases pairing an angle with its opposite side. The Law of Cosines covers SAS and SSS by generalising Pythagoras. Mollweide's formula and the Law of Tangents are mostly consistency checks or historical alternatives. A B C a b c Note 1. A, B and C are angles. a, b and c are the length of the sides opposite to A, B and C respectively. ## Law of Sines Each side over the sine of its opposite angle is constant. Applies when an angle-side pair plus one more angle or side is known (ASA, AAS, SSA). ## Low of Cosines Generalises Pythagoras to non-right triangles. Applies for SAS (two sides and the included angle) or SSS (all three sides). Side *a* given *b*, *c*, angle *A*. Side *b*. Side *c*. ## Low of Tangents Relates a ratio of side lengths to a ratio of tangents of half-sum and half-difference of the opposite angles. Useful for SAS problems before calculators made the cosine law cheap. Sides *a*, *b* with angles *A*, *B*. Sides *b*, *c* with angles *B*, *C*. Sides *a*, *c* with angles *A*, *C*. ## MollWeid's Formula Relates all three sides and all three angles in one equation, used as a check on a solved triangle. --- ## Inverse Trigonometry URL: http://math.mkabumattar.com/trigonometry/inverse-trigonometry Inverse trig definitions, domain and range, complementary, negative, and reciprocal arguments, and general solutions. Inverse trigonometric functions return the angle whose trigonometric value is a given number. Since the trigonometric functions are not one-to-one, each inverse is defined on a *principal-value* range. Identities then describe how to manipulate negative, reciprocal, and composite arguments. Arcsine and arctangent are odd; arccosine and arccotangent reflect through their range midpoint when the argument's sign flips. The general-solution formulas at the bottom recover every angle for a given trig value by adding the appropriate period to the principal value. -1 1 π/2 -π/2 x y y = arcsin(x) ## Definition Each inverse undoes its trigonometric counterpart on a restricted domain. Arcsine: the angle whose sine is *x*. Arccosine: the angle whose cosine is *x*. Arctangent: the angle whose tangent is *x*. ## Domain and Range Principal-value ranges make each inverse single-valued and continuous on its domain. | Function | Domain | Range | |---|---|---| | | | | | | | | | | | | | | | | | | | | | | | | ## Composition with Inverses Each function and its inverse cancel when the argument lies in the inverse's domain, and the angle within the principal range. Sine of arcsine. Arcsine of sine (within principal range). Cosine of arccosine. Arccosine of cosine. Tangent of arctangent. Arctangent of tangent. ## Alternate Notation The *arc-* prefix is equivalent notation, common in programming languages and engineering tables. ## Complementary Angles Pairs of inverse functions sum to *π/2*, mirroring the forward co-function identities. Arccosine and arcsine. Arccotangent and arctangent. Arccosecant and arcsecant. ## Negative Arguments An inverse's behaviour under sign change tracks the parity of the forward function. Arcsine is odd. Arccosine reflects within the principal range. Arctangent is odd. Arccotangent reflects within its range. Arcsecant reflects. Arccosecant is odd. ## Reciprocal Arguments Replacing the argument with its reciprocal switches between paired inverses (e.g., arcsine and arccosecant). Arcsine of *1/x*. Arccosine of *1/x*. Arctangent of *1/x*, positive *x*. Arctangent of *1/x*, negative *x* (note the branch shift). Arccotangent of *1/x*, positive *x*. Arccotangent of *1/x*, negative *x*. Arcsecant of *1/x*. Arccosecant of *1/x*. Arccotangent re-expressed as arcsine, when only sine values are available. Arctangent re-expressed as arcsine. Other relationships. Arcsine as twice an arctangent. Arccosine as twice an arctangent. Arctangent as twice an arctangent of a smaller argument. ## Trig and Inverse Trig Compositions Composing a forward function with the inverse of a *different* function gives an algebraic expression, obtained from the implied right triangle. Sine of an arccosine, or cosine of an arcsine. Sine of an arctangent. Cosine of an arctangent. Tangent of an arcsine. Tangent of an arccosine. ## General Solutions Each trigonometric function is periodic in the real part of its argument, taking every value twice in each *2π* interval. The general inverses reflect this periodicity, with *k* any integer. General solution of *sin(y) = x* spans both branches and adds the sine period. General solution of *cos(y) = x*. General solution of *tan(y) = x*, period *π*, single branch. General solution of *cot(y) = x*. General solution of *sec(y) = x*. General solution of *csc(y) = x*. *sin-1(x)* denotes the inverse sine (arcsine), not *1/sin(x)*. The exponent notation collides with the reciprocal convention; use *arcsin(x)* or *(sin x)-1* explicitly when ambiguous. --- ## Hyperbolic URL: http://math.mkabumattar.com/trigonometry/hyperbolic Definitions of hyperbolic functions, fundamental identities, inverses, and relations to trigonometric functions. Hyperbolic functions are exponential analogues of the trigonometric functions, parameterising the unit hyperbola the way sine and cosine parameterise the unit circle. Their identities mirror trigonometric ones with sign changes, notably *cosh2 - sinh2 = 1* in place of *cos2 + sin2 = 1*. Inverse hyperbolic functions have closed-form logarithmic expressions, useful in calculus, special-relativity rapidity, and the catenary. Imaginary arguments link the two families: *cosh(ix) = cos(x)* and *sinh(ix) = i sin(x)*. They are a single function viewed from two axes of the complex plane. (cos t, sin t) x² + y² = 1 (cosh t, sinh t) x² - y² = 1 ## Hyperbolic Definitions The hyperbolic functions are built from the exponential, each one corresponding to a trigonometric counterpart. Hyperbolic sine, the odd part of *ex*. Hyperbolic cosecant, reciprocal of sinh. Hyperbolic cosine, the even part of *ex*. Hyperbolic secant, reciprocal of cosh. Hyperbolic tangent, bounded in (-1, 1). Hyperbolic cotangent, reciprocal of tanh. ## Sum and Difference The hyperbolic Pythagorean identity *cosh2 - sinh2 = 1* corresponds to the unit hyperbola. The other identities follow by dividing through. Hyperbolic identity for the unit hyperbola *x2 - y2 = 1*. Divide by *cosh2*. Divide by *sinh2*. ## Inverse Hyperbolic Definitions Each inverse hyperbolic function has a closed form in natural logarithms, a property the trigonometric inverses lack on the reals. Inverse hyperbolic sine. Inverse hyperbolic cosine (*±* gives two branches). Inverse hyperbolic tangent, for *|z| < 1*. Inverse hyperbolic cosecant. Inverse hyperbolic secant. Inverse hyperbolic cotangent, for *|z| > 1*. ## Relations to Trig Functions Imaginary arguments connect the hyperbolic and circular families. They are the same function in different orientations of the complex plane. Sinh as sine of an imaginary argument. Cosecant counterpart. Cosh in terms of cosine (no factor of *i*, since cosine is even). Sech in terms of sec. Tanh in terms of tangent. --- # Calculus ## Limits URL: http://math.mkabumattar.com/calculus/limits Limit properties, basic evaluations at infinity, evaluation techniques, L'Hospital's rule, and one-sided limits. A limit is the value a function approaches as the input approaches a target, finite or *±∞*. Limits formalise "arbitrarily close" and underlie continuity, derivatives, and integrals. The algebraic properties below cover routine direct substitution. The asymptotic facts cover behaviour at infinity. The evaluation techniques (factoring, conjugates, L'Hospital's rule) handle indeterminate forms. One-sided limits cover piecewise definitions and discontinuities. c L x y f(x) ## Properties Limits respect algebraic operations when the individual limits exist (denominator non-zero for quotients). Constant multiple. Constants pass through: Sum and difference distribute: Product of limits: Quotient, denominator limit non-zero: Power: *n*-th root commutes with the limit: ## Basic Limit Evalution at ±∞ Asymptotic facts for *±∞*. Exponential at the extremes: Logarithm grows without bound and diverges to *-∞* at zero: Reciprocal powers vanish at infinity: Extended to negative *x* when *xr* is real-valued: Even powers go to *+∞* in both directions: Odd powers keep their sign: Even-degree polynomial: Odd-degree polynomial at *+∞*: Odd-degree polynomial at *-∞*: ## Evalution Techniques Tactics for evaluating limits, ordered from simplest to most general. Continuous Function If *f* is continuous at *a*, the limit is *f(a)*: Continuous Functions and Composition If the outer function is continuous at the inner function's limit, push the limit through: Factor and Cancel When direct substitution gives *0/0*, factor and cancel: After cancellation, substitute: Rationalize Numberator/Denominator For radicals, multiply by the conjugate to turn *0/0* into a cancellable form: Expand and cancel: Substitute: Combine Ratinal Expressions Combine nested fractions over a common denominator to resolve *0/0*: Simplify and cancel *h*: L'Hospital's Rule L'Hospital's rule applies to *0/0* and *±∞/±∞*. Replace the quotient of functions by the quotient of derivatives. Reapply if the new quotient is still indeterminate. Other forms (*0·∞*, *∞-∞*, *1*, *00*, *∞0*) can be rewritten algebraically to fit. If the derivative quotient has no limit, the rule fails and the original limit must be evaluated another way. The replacement holds whether the target is finite or infinite: Polynomials at Infinity For rational functions at infinity, factor the largest power out of numerator and denominator before evaluating. p(x) and q(x) are polynomials. TO compute factor largest power of x q(x) out of both p(x) and q(x) then compute limit. Low-order terms vanish and the limit reduces to a ratio of leading coefficients (with a sign factor): Piecewise Function The two-sided limit exists iff the one-sided limits agree. A piecewise function split at *x = -2*: Compute two one side limits, Left-hand limit, *x < -2* branch: Right-hand limit, *x ≥ -2* branch: One side limts are differnt so The one-sided limits differ, so the two-sided limit does not exist: doesn't exist. if the two one sided limits had beet equal then would have existed and had the same value. --- ## Derivatives URL: http://math.mkabumattar.com/calculus/derivatives Derivative definition, notation, properties, common derivatives, higher-order derivatives, and critical points. The derivative measures the instantaneous rate of change of a function. Geometrically it is the slope of the tangent line at a point; analytically it is the limit of a difference quotient. The rules below (constant multiple, sum, product, quotient, chain, power) reduce most differentiation to mechanical pattern application. The table of common derivatives gives the leaves; the rules combine them. The sign of *f'* locates intervals of increase and decrease. The sign of *f''* distinguishes concave-up from concave-down behaviour and locates inflection points. a (a, f(a)) slope = f'(a) x y ## Definition The derivative is the limit of a difference quotient, the slope of the secant as the two points coalesce. If y = f(x), the derivative is Notations for the derivative are interchangeable: Lagrange's *f'*, Leibniz's *dy/dx*, operator *D*. At a point *x = a*, the derivative is written with a vertical bar or as *f'(a)*: ## Interpretation of Derivatives Three standard interpretations: geometric (tangent slope), analytic (instantaneous rate of change), and physical (velocity). if y = f(x) then, 1. m = f'(a) is the slope of the tangent line to y = f(x) at x = a and the equation of the tangent line at x = a is given by y = f(a)+f'(a)(x-a). 2. f'(a) is the instantaneous rate of change of f(x) at x = a. 3. If f(x) is the position of an object at time x then f'(a) is the velocity of the object at x = a. ## Basic Properties Rules for sums, products, quotients, powers, and compositions. Constants pass through: Sum and difference distribute: Product Rule, symmetric in *f* and *g*: Quotient Rule, *g ≠ 0*: A constant has derivative zero: Power Rule, any real exponent: Chain Rule: outer derivative (evaluated at the inner function) times the inner derivative. Used whenever one function appears inside another. ## Common Derivatives The elementary derivatives. Combined with the rules above they handle most closed-form differentiation. Identity: Sine: Cosine: Tangent: Secant: Cosecant: Cotangent: Arcsine: Arccosine: Arctangent: Exponential, base *a*: Natural exponential, its own derivative: Natural log, *x > 0*: Extended to *ln|x|* for *x ≠ 0*: Log, base *a*: ## Higher Order Derivatives Repeated differentiation produces second, third, and higher derivatives. The second derivative: is the derivative of the first derivative: The *n*-th derivative: is defined recursively from the *(n-1)*-th derivative: , i.e. the derivative of the (n-1)st derivative, f(n-1)(x). ## Others The first and second derivatives classify behaviour: critical points (where *f'* is zero or undefined), monotonicity (sign of *f'*), concavity (sign of *f''*). **Critical Points** x = c is a critical point of f(x) provied either 1. f'(c) = 0 2. f'(c) doesn't exist. **Increasing/Decreasing** 1. If f'(x) > 0 for all x in an interval *I* then f (x) is increasing on the interval *I*. 2. If f'(x) < 0 for all x in an interval *I* then f (x) is Decreasing on the interval *I*. 3. If f'(x) = 0 for all x in an interval *I* then f (x) is constant on the interval *I*. **Concave up/Concave down** 1. If f"(x) > 0 for all x in an interval *I* then f (x) is concave up on the interval *I*. 1. If f"(x) < 0 for all x in an interval *I* then f (x) is concave down on the interval *I*. **Infection Points** x = c is inflection point of f(x) if the concavity changes at x = c. f''(x) > 0 f''(x) < 0 concave up concave down A critical point is a *candidate* for a maximum or minimum, not a guarantee. Classify it with the second-derivative test (positive → local minimum, negative → local maximum) or a sign change of *f'*. --- ## Integration URL: http://math.mkabumattar.com/calculus/integration Definite and indefinite integrals, properties, common integrals, integration by parts, and trigonometric integrals. Integration is the inverse of differentiation and the way to sum infinitesimal contributions: area under a curve for the definite integral, the antiderivative family for the indefinite one. The Fundamental Theorem of Calculus links the two: a definite integral is evaluated by finding any antiderivative and taking the difference at the endpoints. The rules and tables below cover the standard integrals plus two techniques (integration by parts, case-based reduction for trigonometric integrands) for forms not in the table. Integration is linear and monotone. Unlike differentiation, it has no general product, quotient, or chain rule, so a working table of common forms is needed. a b ∫ f(x) dx x y f(x) ## Definition A definite integral is a Riemann limit of rectangle sums. An indefinite integral is the family of antiderivatives, differing by a constant. **Definite Integral:** Suppose *f*(x) is continuous on [a,b]. Divide [a,b] into *n* subintervals of width and choose from each interval. The definite integral is the limit of Riemann sums: **Anti-Derivative:** An anti-derivative of *f*(x) is a function, *F*(x), such that *F'*(x)=*f*(x). **Indefinite Integral:** The indefinite integral, with constant *c*: where *F*(x) is anti-derivative of *f*(x). ## Peroprtes Integration is linear (sums, constants, order) and monotone. Linearity of indefinite integrals: Same for definite integrals: Zero-width interval: Reversed limits flip the sign: Constants pull out: Definite version: The integration variable is a dummy: Absolute value bound: Monotonicity. Pointwise inequality between integrands transfers to integrals: Non-negative integrand: Bounds on the integrand transfer to bounds on the integral, scaled by *b - a*: ## Common Integrals Standard antiderivatives, with integration constant *c*. Constant: Power rule, *n ≠ -1*: The case *n = -1* gives the natural log: Linear-substitution form: Natural log, via integration by parts: Exponential: Cosine: Sine: Secant squared: Secant-tangent product: Cosecant-cotangent product: Cosecant squared: Tangent: Secant: Arctangent form: Arcsine form: ## Integration by Parts Integration by parts is the integral analogue of the product rule. Use it when the integrand factors into a product whose pieces simplify under differentiation or integration. The *LIATE* heuristic picks *u* in the order Logarithmic, Inverse trig, Algebraic, Trigonometric, Exponential, so that *u'* is simpler than *u* while *v* is still tractable to integrate. Applying parts twice often produces a self-referential equation solvable algebraically for the original integral. Where, u is the function u(x) v is the function v(x) ## Trigonometic Integrals Integrals of products of powers of sine, cosine, tangent, and secant reduce case by case: strip off one factor and convert the rest with a Pythagorean identity, then *u*-substitute. For we have the following: **1. *n* odd.** Strip 1 since out and convert rest to cosines using , then use the substitution **2. *m* odd.** Strip 1 cosine out and convert rest to sines using , then use the substitution **3. *n* and *m* both odd.** Use either 1. or 2. **4. *n* and *m* both even.** Use double angle and/or half angle formulas to reduce the integral formulas to reduce the integral into a foram tht can be integrated. For we have the following: **1. *n* odd.** Strip 1 tangent and 1 secant out and convert the rest to secants using , then use the substitution **2. *m* even.** Strip 2 secants out and convert rest to tangents using , then use the substitution **3. *n* odd and *m* even.** Use either 1. or 2. **4. *n* even and *m* odd.** Each integral will be dealt with differently. --- ## Laplace Transform URL: http://math.mkabumattar.com/calculus/laplace-transform A table of common Laplace transforms with the Gamma function and notes on hyperbolic trigonometric forms. The Laplace transform maps a time-domain function *f(t)* to a complex-frequency-domain function *F(s)* by an exponential-weighted integral, converting differential equations into algebraic ones. It turns differentiation into multiplication by *s* (with initial-value terms), so linear ODEs with constant coefficients become rational equations in *s*. The solution is recovered by inverse-transforming back to the *t* domain via the table or partial fractions. The transform is linear. Entries 24-26 give the scaling and shifting rules: frequency-shift by an exponential factor in *t*, time-shift by multiplication by *e-cs* in *s*. The table pairs each *f(t)* with its *F(s)*. Reading right-to-left gives the inverse transform. f(t) time domain F(s) frequency domain ℒ⁻¹ | # | | | |---|---|---| | 1 | 1 | | | 2 | | | | 3 | | | | 4 | | | | 5 | | | | 6 | | | | 7 | | | | 8 | | | | 9 | | | | 10 | | | | 11 | | | | 12 | | | | 13 | | | | 14 | | | | 15 | | | | 16 | | | | 17 | | | | 18 | | | | 19 | | | | 20 | | | | 21 | | | | 22 | | | | 23 | | | | 24 | | | | 25 | | | | 26 | | | ## Notes: 1. The list is not inclusive and only contauin some of the most commonly used Laplace transforms and Formulase. 2. deffinition of hyperbolic functions The hyperbolic functions in entries 17-22: 3. Be coreful while using "normal" trigonometric function vs hyperbolic trigonometric function. The only difference in the formaulas is "+a2" forthe "normal" trigonometric functions becomes "+a2" for the hyperbolic trigonometric functions. 4. Formula #4 uses Gamma Function which is defined as The Gamma function extends the factorial to non-integer arguments: if n is a positive intrger then, At positive integers it reduces to the factorial: The Gamma function extends the normal factorial. Two quick facts. Recurrence relation: Half-integer value: The Laplace transform is defined only for *s* with a sufficiently large real part, the *region of convergence*. The algebraic forms in the table assume that condition. Outside the region, the integral defining the transform diverges. --- ## Differential Equations URL: http://math.mkabumattar.com/calculus/differential-equations Order, degree, and solution forms for differential equations including separable and second-order linear cases. A differential equation relates a function to its derivatives. Order (highest derivative) and degree (power of that derivative) classify the problem. Standard techniques are separation of variables, substitution, and matching characteristic solution forms. For linear equations with constant coefficients, the characteristic equation dictates the form: real distinct roots give a sum of exponentials, repeated roots give exponentials times polynomials, complex roots give sines and cosines (optionally damped by an exponential). The general solution of an *n*-th-order linear equation is an *n*-parameter family. Initial or boundary conditions fix the constants. A differential equation contains derivatives of the unknown function: or differentials: is called a differential equation. The order is the highest derivative present (here, second order): The degree is the exponent on the highest-order derivative (the source labels this example 3): To form a differential equation by eliminating *n* arbitrary constants, differentiate *n* times. A separable first-order equation in the form *M(x) dx + N(y) dy = 0*: Integrate the two sides independently: For equations not directly separable, a substitution reduces it to separable form: For a combination of exponentials with opposite-sign exponents: satisfies the second-order linear ODE with positive characteristic root *n2*: A linear combination of two distinct real exponentials: satisfies the second-order ODE with characteristic roots *m* and *n*: Sinusoidal solutions for complex-conjugate characteristic roots: Cosine form, equivalent up to phase: General harmonic solution: All three satisfy the simple harmonic oscillator equation: k > 0: grow k > 0: decay k < 0: oscillate The sign of *k* in *y'' = ky* sets the qualitative behaviour: *k > 0* gives exponential growth/decay (real characteristic roots), *k = 0* gives a straight-line family, *k < 0* gives oscillation (imaginary roots). ---