Calculator · Standard
0
ANS
MEM 0
MODE DEG
Reference Library
📖 Formula Reference Guide — full written explanations for every formula on this site (click to expand)

Formula Reference Guide

BEAAST Pro's formula solver covers ten disciplines across mathematics, computer science, and engineering — 106 formulas and reference topics in total. Below is a full written reference explaining what each one does, how it works, and where it's actually used in practice, matching the same formulas available in the interactive solver above.

Mathematics

Calculus I

Limit Definition of Derivative
f'(x) = lim[h→0] (f(x+h)−f(x))/h

This is the formula that gives calculus its name — it defines the instantaneous rate of change of a function at a single point, rather than the average rate of change across an interval. The trick is subtle: you can't divide by zero, so instead of plugging in h=0 directly, you watch what happens to the slope of a secant line as the two points defining it get closer and closer together, until the gap effectively vanishes. What emerges in the limit is the slope of the tangent line — the derivative. Every other derivative rule you'll ever use (power rule, product rule, chain rule) is really just a shortcut derived from applying this definition to specific function types. In practice, engineers and physicists use this concept whenever they need instantaneous velocity, acceleration, or any other quantity that's changing continuously rather than in discrete steps.

Power Rule
d/dx[xⁿ] = n·xⁿ⁻¹

The power rule is the single most-used shortcut in differential calculus because so many functions — polynomials, roots, and even some rational expressions — can be rewritten as powers of x. Rather than grinding through the limit definition every time, you can just bring the exponent down as a multiplier and reduce the exponent by one. This works because differentiating xⁿ is really asking how fast the "volume" of an n-dimensional cube changes as its side length grows, and that geometric scaling relationship is exactly what the rule captures. It applies to negative and fractional exponents too, not just positive integers, which makes it useful for roots and reciprocals. You'll see it constantly in physics and engineering — for instance, differentiating a position function like x(t) = t³ to get velocity relies directly on this rule.

Chain Rule
d/dx[f(g(x))] = f'(g(x))·g'(x)

The chain rule handles composite functions — situations where one function is nested inside another, like sin(x²) or e^(3x+1). It works by recognizing that the overall rate of change is the product of how fast the outer function changes with respect to its input, times how fast that inner input itself is changing. Think of it like gears connected in a chain: if the inner gear turns the outer gear, the outer gear's total speed depends on both gears' individual rates multiplied together. This is arguably the most important rule in applied calculus because real-world models are almost always layered functions of other functions — temperature depending on altitude which depends on time, for example. In engineering and physics, the chain rule shows up constantly in related-rates problems, such as figuring out how fast the volume of an expanding balloon changes as its radius grows over time.

Product Rule
d/dx[uv] = u'v + uv'

The product rule tells you how to differentiate two functions multiplied together, something you can't do by simply differentiating each piece separately. It works because a small change in the product uv comes from two sources simultaneously — u changing while v stays momentarily fixed, and v changing while u stays momentarily fixed — and the total effect is the sum of both contributions. This is easy to visualize geometrically: if u and v are the side lengths of a rectangle, the rectangle's area changes both because one side is stretching and because the other side is stretching, and both effects add together. It's indispensable any time two physical quantities that both vary are multiplied, such as force times distance when both are changing over time. Engineers rely on it constantly in dynamics problems where mass, velocity, or other quantities interact and evolve simultaneously.

Quotient Rule
d/dx[u/v] = (u'v − uv')/v²

This rule differentiates a fraction where both the numerator and denominator are functions of x, which is more delicate than it looks because the denominator's rate of change affects the whole expression nonlinearly. It can actually be derived from the product rule by rewriting u/v as u·v⁻¹ and applying the chain rule to the v⁻¹ term, so it's not really a separate law of nature — just a convenient packaged version of rules you already have. The v² in the denominator arises naturally from that derivation and shouldn't be memorized as arbitrary; it falls out of the algebra. This formula is essential in fields like economics and engineering whenever you're dealing with ratios that both change over time, such as efficiency (output over input) or concentration (solute over solution volume). Physicists use it too, for example when differentiating expressions where both the numerator and denominator depend on a changing variable like time.

Trig Derivatives
d/dx[sin]=cos, d/dx[cos]=−sin, d/dx[tan]=sec²

These are the foundational derivatives for the trigonometric functions, and they form a beautifully cyclical pattern: differentiate sine and you get cosine, differentiate cosine and you get negative sine, and if you keep going you eventually return to sine again. That cyclical behavior isn't a coincidence — it reflects the fact that sine and cosine describe circular motion, and differentiating position in a rotating system naturally produces velocity that's 90 degrees out of phase. The negative sign on cosine's derivative accounts for the direction the curve is bending as it passes through its own peaks and troughs. These derivatives are the backbone of any analysis involving oscillation or rotation, from analyzing alternating current in electrical circuits to modeling the motion of a pendulum. Whenever you see a system that repeats itself periodically, these derivative identities are almost certainly doing the work behind the scenes.

Exponential / Log Derivative
d/dx[eˣ]=eˣ | d/dx[ln x]=1/x

The exponential function eˣ has the remarkable property of being its own derivative, meaning its rate of change at any point equals its current value — this is precisely why exponential growth feels like it "runs away" from you, since the bigger it gets, the faster it grows. The natural log, being the inverse of eˣ, has a much simpler-looking derivative of 1/x, which can be derived directly from the exponential relationship using implicit differentiation. These two functions are inverses of each other, so their derivatives are intimately linked even though they look completely different on the surface. This pairing shows up everywhere quantities grow or decay proportionally to their own size, including compound interest, radioactive decay, and population growth models. In practical terms, any time you're solving a differential equation involving continuous growth or decay, these two derivatives are doing the heavy lifting.

L'Hôpital's Rule
lim f/g = lim f'/g' (if 0/0 or ∞/∞)

This rule solves a specific problem: what do you do when you try to evaluate a limit and get an indeterminate form like 0/0 or ∞/∞, where plugging in the value directly gives you no useful information? L'Hôpital's insight was that if both the numerator and denominator are heading toward zero (or infinity) together, you can differentiate each one separately and take the limit of that new ratio instead, and it will match the original limit's true value. This works because near the point in question, differentiating strips away the parts of each function that are "racing to zero" at the same rate, revealing which one is actually approaching faster. It's a genuine problem-solving tool rather than a formula to memorize blindly — you apply it, check if the new limit is still indeterminate, and repeat if needed. It's frequently used in physics and engineering when comparing the relative growth rates of two quantities, such as determining which of two competing exponential or polynomial terms dominates as a system evolves.

Mean Value Theorem
f'(c) = (f(b)−f(a))/(b−a)

The Mean Value Theorem guarantees that somewhere between two points on a smooth, continuous curve, there's at least one point where the instantaneous slope exactly matches the average slope across the whole interval. Intuitively, if you drive from one city to another and your average speed was 60 mph, there must have been at least one moment where your speedometer read exactly 60 mph — you can't average out to that speed without hitting it at some instant. This isn't just a curiosity; it's a rigorous foundation used to prove many other results in calculus, including the fact that functions with zero derivative everywhere must be constant. It requires the function to be continuous and differentiable over the interval, so it's a statement about well-behaved curves specifically. Engineers and physicists use this reasoning implicitly whenever they infer that a system must have passed through a particular state based on its average behavior over time.

Rolle's Theorem Check
f(a)=f(b) → ∃c: f'(c)=0

Rolle's Theorem is a special case of the Mean Value Theorem for situations where a function starts and ends at the same height. If a smooth curve leaves a point and returns to that exact same value later, it must have flattened out — reached a peak, a valley, or a level stretch — somewhere in between, because it needs to change direction to come back to where it started. This is why the derivative must equal zero at some point in the interval: the function can't rise the whole time and still end up back where it began. It's a foundational building block used to prove the more general Mean Value Theorem and other calculus results. Physically, this shows up whenever a quantity returns to a previous value — for instance, an object thrown into the air and caught again must have had zero vertical velocity at its highest point, which is exactly what Rolle's Theorem predicts.

Definite Integral (Trapezoid)
∫[a,b] ≈ (b−a)/2·(f(a)+f(b))

The trapezoidal rule is a simple numerical technique for estimating the area under a curve when you can't (or don't want to) compute an exact antiderivative. Instead of using a single rectangle to approximate the area, it connects the two endpoints of the interval with a straight line, forming a trapezoid whose area is easy to calculate directly. This tends to be more accurate than a basic rectangular approximation because a trapezoid follows the general slope of the curve rather than assuming it's flat across the whole interval. The trade-off is that it can still introduce error on curves that bend significantly, which is why more advanced methods like Simpson's Rule exist for greater precision. It's a practical go-to for engineers and data analysts who need a quick, reasonable estimate of an integral without solving it symbolically, especially when working from sampled or experimental data rather than a clean formula.

Simpson's Rule
∫[a,b] ≈ (b−a)/6·(f(a)+4f(m)+f(b))

Simpson's Rule improves on the trapezoidal method by fitting a parabola through three points — the two endpoints and the midpoint — instead of a straight line, which captures curvature that a simple trapezoid would miss entirely. Because most real functions curve rather than travel in straight segments, this small change dramatically increases accuracy for the same amount of computational effort. The weighting in the formula (with the midpoint counted four times as heavily as the endpoints) comes directly from integrating that fitted parabola exactly across the interval. This method is a workhorse in numerical analysis and engineering software whenever an integral needs to be estimated from discrete data points rather than a clean closed-form function. It's especially valuable in situations like calculating work done by a variable force or estimating total flow volume from sampled sensor data.

FTC — Part I (Antiderivative)
d/dx[∫[a,x] f(t)dt] = f(x)

This is one half of the Fundamental Theorem of Calculus, and it reveals something almost magical: differentiation and integration are inverse operations of each other. If you build a function by accumulating area under a curve from a fixed starting point up to a variable endpoint x, then differentiating that accumulated area function simply gives you back the original function evaluated at x. In plain terms, the rate at which "area under the curve" is growing at any point is exactly the height of the curve at that point — which makes intuitive sense, since a taller curve adds area faster as x increases. This result is what allows integration to be treated as the reverse process of differentiation, rather than two completely separate mathematical operations. It underlies virtually every technique used to evaluate definite integrals in physics, engineering, and economics, since it justifies working backward from a derivative to find an original function.

FTC — Part II (Evaluation)
∫[a,b] f(x)dx = F(b) − F(a)

This is the practical half of the Fundamental Theorem of Calculus — the one you actually use to compute definite integrals without doing tedious sums of infinitely many rectangles. It says that if you can find any antiderivative F(x) of your function, the exact area under the curve between two bounds is simply the antiderivative evaluated at the top bound minus its value at the bottom bound. This turns integration from an infinite summation problem into a straightforward algebra problem, provided you can find the antiderivative in the first place. It's the reason calculus became a practical tool rather than just a theoretical curiosity — engineers can now compute exact quantities like displacement, total charge, or accumulated cost from rate functions with a single evaluation. This formula is used constantly in nearly every branch of applied science whenever a total quantity needs to be recovered from a known rate of change.

Riemann Sum (Right)
∑ f(xᵢ)·Δx where Δx=(b−a)/n

A Riemann sum is the conceptual backbone of integration — it approximates the area under a curve by slicing the region into n thin rectangles, calculating each rectangle's area, and adding them all up. The "right" version specifically uses the function's value at the right edge of each slice to set that rectangle's height. As you increase the number of slices n and shrink their width, the jagged approximation increasingly hugs the true curve, and in the limit as n approaches infinity, the Riemann sum becomes the exact definite integral. This is genuinely how integration is defined at a rigorous mathematical level, not just a computational shortcut. It's especially useful in computer science and numerical methods, where continuous integrals are approximated using discrete Riemann sums because computers can only perform a finite number of calculations.

Critical Point Condition
f'(x) = 0 or f'(x) undefined

Critical points are the candidate locations for a function's local maximums, minimums, or saddle points, and this formula tells you exactly where to look for them: anywhere the derivative is zero (the curve is momentarily flat) or anywhere the derivative fails to exist (like a sharp corner or vertical tangent). This works because a smooth curve can only turn from increasing to decreasing, or vice versa, by passing through a flat point first — it can't skip directly from going up to going down without a moment of zero slope in between. Finding these points is the first step in optimization problems, though you still need a follow-up test (like checking the second derivative or examining the sign of the first derivative on either side) to confirm whether each point is actually a max, min, or neither. This concept drives real-world optimization everywhere — from finding the dimensions that minimize material cost for a container, to identifying the angle that maximizes projectile range in physics.

Concavity / Inflection
f''(x) > 0 → concave up | f''(x) < 0 → concave down

The second derivative tells you not just whether a function is increasing or decreasing, but how its rate of change is itself changing — in other words, whether the curve is bending upward like a smile (concave up) or downward like a frown (concave down). A positive second derivative means the slope is getting steeper (or less negative) as x increases, while a negative second derivative means the slope is flattening or becoming more negative. Points where concavity switches from one to the other are called inflection points, and they mark a genuine change in the curve's underlying behavior, not just a peak or valley. This concept is critical in distinguishing a local minimum from a local maximum during optimization, since a critical point with positive concavity is a minimum and one with negative concavity is a maximum. In economics and engineering, concavity is used to analyze diminishing returns, structural bending under load, and acceleration trends in physical systems.

Arc Length (Smooth Curve)
L = ∫√(1+(dy/dx)²)dx ≈ numerical

This formula calculates the actual length of a curved path, not just the straight-line distance between its endpoints — think of measuring how much rope it would take to trace exactly along a curve. It works by breaking the curve into infinitesimally small straight segments using the Pythagorean theorem (accounting for both the horizontal step and the vertical rise given by the slope), then summing all those tiny segments together through integration. The steeper the curve at any point, the more that segment contributes to the total length compared to a flat stretch. This has very tangible engineering applications, such as calculating the true length of cable needed for a suspension bridge that follows a curved profile, or determining the material needed for a curved architectural beam. It's also used in computer graphics and robotics path planning, where the actual distance traveled along a curved trajectory needs to be known precisely.

Average Value of Function
f_avg = (1/(b−a))·∫[a,b]f(x)dx

This formula extends the familiar idea of an average — normally just summing values and dividing by how many there are — to a continuous function where there are infinitely many values to consider. Instead of discrete data points, you sum up (integrate) the function's value across the entire interval and then divide by the width of that interval, which effectively spreads the total accumulated area evenly across the whole range. Geometrically, this average value represents the height of a rectangle that has exactly the same area as the region under the actual curve. It's used whenever you need a single representative number for a quantity that fluctuates continuously, such as the average temperature over a day, average velocity over a trip, or average power delivered by an alternating electrical signal. Engineers rely on this constantly when a system's behavior varies over time but a single summary statistic is needed for design or comparison purposes.

Calculus II

Integration by Parts
∫u dv = uv − ∫v du

Integration by parts is the reverse-engineered version of the product rule for differentiation, and it exists specifically to handle integrals where two different types of functions are multiplied together, like x·eˣ or x·sin(x). The strategy is to split the integrand into two pieces, one you'll differentiate (u) and one you'll integrate (dv), trading the original integral for a new one that's hopefully simpler to solve. The trick to using it well is picking u wisely — usually the part that gets simpler when differentiated, like a polynomial, while dv is the part that's easy to integrate, like an exponential or trig function. It sometimes needs to be applied more than once before the remaining integral becomes solvable. This technique is a staple in physics and engineering when computing quantities like work done by a force that varies with position, or in probability theory when finding expected values that involve products of variables and probability density functions.

Power Rule for Integrals
∫xⁿ dx = xⁿ⁺¹/(n+1) + C (n≠−1)

This is the direct inverse of the differentiation power rule, and it's the single most common integration shortcut you'll use, since so many functions can be broken down into sums of power terms. Instead of bringing the exponent down as in differentiation, you raise the exponent by one and divide by that new exponent — essentially undoing the process step by step. The constant C appears because integration recovers a whole family of functions differing only by a vertical shift, since any constant disappears when you differentiate it, so there's no way to know from the derivative alone which constant the original function had. This one exception, n = −1, needs the natural log instead, since dividing by zero would otherwise be required. It's used everywhere from computing displacement from a velocity function in physics to calculating total cost from a marginal cost function in economics.

Trig Integrals — sin/cos
∫sin(x)dx = −cos(x)+C | ∫cos(x)dx = sin(x)+C

These integrals are simply the reverse of the trig derivatives you already know, and the negative sign on the cosine integral is easy to remember once you recall that differentiating cosine produces negative sine — integrating just runs that process backward. Because sine and cosine describe smooth, repeating oscillations, their integrals also describe smooth, repeating behavior, which is why they show up constantly whenever you're accumulating a quantity that oscillates over time, like alternating current or vibration. These are essential building blocks in Fourier analysis, where complex periodic signals get broken down into sums of sines and cosines, each of which needs to be integrated individually. In engineering, these integrals appear when computing quantities like the average power delivered by an AC electrical signal or the total displacement of an oscillating mechanical system over a given time period.

Integral of eˣ and aˣ
∫eˣ dx = eˣ+C | ∫aˣ dx = aˣ/ln(a)+C

Because eˣ is famously its own derivative, it's also — conveniently — its own antiderivative, making it one of the simplest and most elegant integrals in all of calculus. For a general exponential base a (like 2ˣ or 10ˣ), you need to divide by the natural log of that base to correct for the fact that only base e grows at a rate exactly equal to its own value; other bases grow proportionally faster or slower, and ln(a) captures that scaling factor precisely. This distinction matters a great deal in fields like finance and biology, where growth processes are often modeled with different bases depending on the context, such as annual versus continuous compounding. These integrals are foundational to solving differential equations that describe exponential growth or decay, including radioactive decay, population dynamics, and the charging or discharging of a capacitor in an electrical circuit.

Partial Fractions Setup
P(x)/Q(x) = A/(x−r) + B/(x−s) + …

Partial fraction decomposition is a technique for breaking a complicated rational function into a sum of simpler fractions that are each easy to integrate individually, particularly useful when the denominator factors into distinct linear pieces. The logic is that any proper rational function can be reconstructed from smaller fractional pieces, so working backward — solving for the unknown constants A, B, and so on by matching the decomposed form to the original — turns one hard integral into several easy ones. This method depends on being able to factor the denominator first, and different factor types (repeated roots, irreducible quadratics) require slightly different decomposition patterns. It's a critical tool in control systems engineering, where transfer functions expressed as rational functions need to be decomposed to analyze system behavior in the time domain. It also shows up in signal processing whenever a complex frequency response needs to be broken into simpler, more interpretable components.

Disk Method (Volume)
V = π·∫[a,b] [f(x)]² dx

The disk method calculates the volume of a three-dimensional solid formed by spinning a two-dimensional curve around an axis, imagining the resulting shape as being built from infinitely many thin circular disks stacked side by side. Each disk's volume is just the area of a circle (π times radius squared) multiplied by its infinitesimal thickness, and integrating sums up all those tiny disk volumes across the interval. The radius of each disk is simply the height of the original function at that point, which is why f(x) gets squared inside the integral. This technique is genuinely used in manufacturing and design, for example calculating the volume of material needed to produce a solid part with a curved profile, like a bottle, a turbine blade, or a lathe-turned component. It's also foundational in physics for computing quantities like the moment of inertia of rotationally symmetric objects.

Shell Method (Volume)
V = 2π·∫[a,b] x·f(x) dx

The shell method is an alternative way to compute the volume of a solid of revolution, but instead of slicing it into disks, it imagines building the solid out of thin cylindrical shells, like the layers of an onion, each one at a different radius from the axis of rotation. Each shell's volume comes from its circumference (2πx), its height (f(x)), and its infinitesimal thickness, and integrating adds up all these nested cylindrical layers. This method tends to be more convenient than the disk method when the axis of rotation is vertical but the function is more naturally expressed in terms of x, avoiding the need to solve for an inverse function. It's used in the same kinds of manufacturing and design contexts as the disk method — anywhere a rotationally symmetric solid's volume needs to be calculated — but is often the more practical choice depending on how the original shape is oriented relative to the axis. Engineers frequently choose between disk and shell methods based on which produces the simpler integral for a given geometry.

Washer Method (Volume)
V = π·∫[a,b] ([R(x)]²−[r(x)]²)dx

The washer method handles a slightly more complex scenario than the basic disk method: solids of revolution that have a hole running through the middle, like a napkin ring or a pipe. Instead of a single solid disk, each cross-section is a washer — essentially a disk with a smaller disk subtracted out of its center — so the formula calculates the area of the outer circle and then subtracts the area of the inner circle before integrating. This directly reflects the physical reality of the shape: you're finding the volume of material that actually exists between the inner and outer boundaries, not filling in the hollow center. It's the exact technique used to calculate the volume of pipes, tubes, washers, and any other rotationally symmetric part with a bore or cavity running through it. Mechanical and manufacturing engineers rely on this constantly when determining material volume, weight, or cost for hollow rotational components.

Improper Integral Test
∫[1,∞] 1/xᵖ converges if p>1

This test answers a subtle but important question: when you integrate a function all the way out to infinity, does the accumulated area settle down to a finite number (converge), or does it grow without bound (diverge)? For the family of functions 1/xᵖ, the answer depends entirely on how quickly the function shrinks as x grows — if p is greater than 1, the function shrinks fast enough that the infinite tail contributes only a finite total area, but if p is 1 or less, it doesn't shrink fast enough and the area keeps accumulating forever. This single test is a cornerstone for evaluating whether more complicated infinite series or integrals converge, since many of them can be compared directly against this simple benchmark case. It has real relevance in probability theory, where certain probability distributions with "long tails" need their total probability to sum to a finite value (specifically 1), and this test helps determine whether that's mathematically possible. It's also used in physics when modeling quantities like gravitational or electrical potential that theoretically extend to infinite distance.

Taylor Series (General)
f(x) = Σ f⁽ⁿ⁾(a)/n! · (x−a)ⁿ

A Taylor series is a way of approximating almost any smooth function using an infinite sum of polynomial terms, built entirely from the function's derivatives at a single chosen point. The idea is that if you know a function's value, slope, curvature, and every higher-order rate of change at one specific point, you can reconstruct the entire function's behavior nearby (and often far beyond) using just that local information. Each additional term in the series refines the approximation further, correcting for higher and higher orders of curvature and behavior that simpler terms miss. This is enormously practical because complicated functions like sine, cosine, and exponentials can be approximated using nothing but basic arithmetic, which is exactly how calculators and computers evaluate these functions internally. Engineers and physicists use Taylor series constantly to linearize complex nonlinear systems near an operating point, making otherwise intractable equations solvable with standard techniques.

Maclaurin — eˣ
eˣ = 1 + x + x²/2! + x³/3! + …

This is a specific and especially elegant case of a Taylor series, centered at x = 0, that reconstructs the exponential function purely from an infinite sum of increasingly small polynomial terms. Because eˣ is its own derivative at every order, every single term in this series comes from the exact same underlying pattern, which is why the coefficients follow such a clean, predictable structure of factorials. In practice, you only need a handful of these terms to get a remarkably accurate approximation for values of x near zero, which is exactly how early calculators and even some modern embedded systems compute exponential functions without dedicated hardware. This series also serves as the definition of eˣ in more rigorous treatments of calculus, since it doesn't rely on any prior notion of exponents or roots. It's foundational in fields ranging from complex analysis to signal processing, where exponential functions with imaginary exponents connect directly to oscillatory behavior through Euler's formula.

Maclaurin — sin(x)
sin(x) = x − x³/3! + x⁵/5! − …

This series reconstructs the sine function using only odd powers of x with alternating signs, and it converges to the exact value of sine for any input, though it converges fastest and most usefully for small angles measured in radians. The pattern makes sense once you know sine is an odd function (symmetric about the origin in a flipped sense) and that its derivatives cycle predictably between sine and cosine, which is exactly what generates this specific sequence of terms. For small angles, just the first term (x itself) is often an excellent approximation, which is the basis of the widely used "small angle approximation" in physics and engineering. This series is what allows digital systems — from microcontrollers to graphics engines — to compute sine values using only multiplication and addition, without needing a lookup table or specialized hardware. It's a critical tool in signal processing and vibration analysis, where oscillatory behavior needs to be modeled or approximated efficiently.

Maclaurin — cos(x)
cos(x) = 1 − x²/2! + x⁴/4! − …

Just like its sine counterpart, this series reconstructs the cosine function using only even powers of x with alternating signs, reflecting the fact that cosine is an even function, symmetric about the y-axis. The first term is simply 1, which makes sense since cosine starts at its maximum value when x = 0, and each subsequent term corrects the approximation to account for the curve's gradual descent as x moves away from zero. This series shares its factorial-based structure with the sine series because both are generated by repeatedly differentiating the same underlying oscillatory pattern. Like the sine series, it's a practical computational tool used in embedded systems and numerical libraries wherever a fast, hardware-independent way to evaluate cosine is needed. It also plays a central role in Fourier analysis, where periodic signals of all kinds are decomposed into combinations of sine and cosine terms.

Geometric Series
Σ arⁿ = a/(1−r) if |r|<1

A geometric series sums up infinitely many terms where each term is the previous one multiplied by a fixed ratio r, and remarkably, this infinite sum can add up to a finite, exact value as long as that ratio has an absolute value less than 1. This works because when |r| is less than 1, each successive term shrinks toward zero fast enough that the total sum stops growing and settles on a specific number, even though you're technically adding infinitely many pieces. If |r| were 1 or greater, the terms wouldn't shrink, and the sum would either stay constant forever or grow without bound. This formula is central to finance, where it's used to calculate the present value of a series of future payments — like an annuity or perpetuity — that theoretically continue forever but still have a well-defined worth today. It also appears in physics when analyzing systems with repeated, diminishing effects, such as the total distance traveled by a bouncing ball that loses a fixed fraction of its height with every bounce.

p-Series Convergence
Σ 1/nᵖ converges iff p > 1

This test is the discrete cousin of the improper integral test covered earlier, and it answers the same fundamental question but for an infinite sum instead of an integral: does adding up infinitely many terms of the form 1/nᵖ settle down to a finite total, or does it grow forever? The famous harmonic series (where p = 1) is the classic example of a sum that diverges even though its individual terms shrink toward zero — they just don't shrink fast enough to prevent the total from growing without bound. Once p exceeds 1, the terms shrink quickly enough that the infinite sum converges to a finite value. This test serves as a benchmark for comparison, letting mathematicians and engineers quickly assess the convergence of more complicated series by comparing them to this well-understood family. It has practical relevance in computer science and numerical analysis when determining whether an iterative algorithm's cumulative error will settle down or blow up over many iterations.

Ratio Test
L = lim|a_{n+1}/a_n| → <1 conv, >1 div

The ratio test is one of the most versatile tools for determining whether an infinite series converges, and it works by examining the ratio between each term and the one before it as you go further and further out in the series. If that ratio settles down to a value less than 1, it means each term is eventually shrinking fast enough (similar to a geometric series) that the total sum stays finite; if it settles above 1, the terms are growing and the sum diverges. This test is particularly powerful for series involving factorials or exponentials, where comparing consecutive terms often causes complicated expressions to simplify dramatically. When the limit equals exactly 1, the test is inconclusive and a different method must be used instead. This is a workhorse technique in engineering and applied math whenever you need to verify that an infinite series solution to a differential equation, or a power series approximation, is actually mathematically valid before relying on it.

Arc Length (Parametric)
L = ∫√((dx/dt)²+(dy/dt)²)dt

This formula extends the concept of arc length to curves defined parametrically, where both x and y are described as separate functions of a third variable, usually time t, rather than y being a direct function of x. This is especially useful for curves that loop back on themselves or aren't functions in the traditional sense, like a circle or a spiral, which can't be represented as a single y = f(x) equation. The formula works by combining the horizontal and vertical rates of change (essentially horizontal and vertical velocity) using the Pythagorean theorem, then integrating that combined speed over time to get total distance traveled. This is exactly how you'd calculate the actual path length of a moving object, such as a robotic arm tracing a curved trajectory or a satellite following an orbital path. It's a foundational calculation in robotics, animation, and orbital mechanics, anywhere motion is described by separate horizontal and vertical components over time.

Polar Area
A = (1/2)∫[α,β] r² dθ

This formula computes the area swept out by a curve described in polar coordinates, where distance from the origin r is a function of angle θ rather than a standard x-y relationship. It works by imagining the region built up from infinitely many thin triangular wedges, each with a tiny angle dθ and a radius r, and the area of each thin wedge is approximately half of r squared times that small angle — the same logic used for the area of a full circle, just applied to an infinitesimal slice. Summing (integrating) all these wedges across the angular range gives the total enclosed area. This is the natural approach for calculating areas of shapes that are more easily described by angle and distance than by horizontal and vertical coordinates, such as spirals, cardioids, or antenna radiation patterns. Engineers working in fields like antenna design and orbital mechanics use this formula regularly, since many naturally occurring shapes in those domains are most simply expressed in polar terms.

Surface Area of Revolution
S = 2π·∫[a,b] f(x)·√(1+(f'(x))²)dx

This formula calculates the surface area of a three-dimensional shape created by spinning a curve around an axis — think of the outer skin of a vase, a bottle, or a turbine blade, rather than its solid volume. It works similarly to the arc length formula, first measuring the true length of a tiny slice of the curve (accounting for its slope via the square root term), then multiplying that slice by the circumference it sweeps out as it rotates around the axis. Because both the curve's steepness and its distance from the axis affect the final surface area, both factors need to be accounted for simultaneously inside the integral. This calculation has very concrete manufacturing applications, such as determining how much sheet metal or coating material is needed to produce a rotationally symmetric object with a curved profile. It's also used in fields like fluid dynamics and heat transfer, where the surface area of a curved object directly affects drag, friction, or thermal exchange with its surroundings.

Euler's Method (ODE)
y_{n+1} = y_n + h·f(x_n, y_n)

Euler's Method is the simplest numerical technique for approximating the solution to a differential equation when an exact, closed-form solution is difficult or impossible to find analytically. Rather than solving the equation outright, it starts at a known point and takes small steps forward, at each step using the current slope (given directly by the differential equation) to estimate where the solution will be a short distance later. The smaller the step size h, the more accurate the approximation becomes, though smaller steps also require more computation to cover the same total interval. This method is the conceptual foundation for more sophisticated numerical solvers used throughout engineering software, and it's exactly how simulations of physical systems — like predicting the trajectory of a spacecraft or the temperature of a cooling object — are computed when no clean formula exists. It's a core building block in computational physics, control systems, and any engineering discipline that relies on simulating systems governed by differential equations.

Separable ODE Solution
dy/dx = g(x)h(y) → ∫dy/h(y) = ∫g(x)dx

This technique solves a specific and common class of differential equations where the right-hand side can be split into a piece depending only on x and a piece depending only on y. By algebraically separating the variables so that all the y-terms are on one side and all the x-terms are on the other, the problem reduces to two independent, ordinary integrals that can often be solved directly using standard integration techniques. This works because once the variables are cleanly separated, integrating each side individually and then combining the results reconstructs a valid relationship between x and y, plus an integration constant determined by any given initial condition. This approach underlies many classic growth and decay models, including population growth, radioactive decay, and Newton's law of cooling, all of which involve a rate of change proportional to the current state of the system. It's one of the very first techniques engineers and scientists reach for when a system's rate of change depends on the current value being modeled.

Linear Algebra

Vector Addition
u + v = (u₁+v₁, u₂+v₂, u₃+v₃)

Vector addition combines two vectors by adding their corresponding components together, and the result is a new vector that represents the combined effect of both original vectors acting at once. Geometrically, this is exactly what happens when you place the tail of one vector at the head of the other — the resulting vector, drawn from the very start to the very end, is their sum, which is why this is often called the "tip-to-tail" method. This simple component-wise addition works because vectors are built from independent directional pieces, so each dimension can be handled entirely on its own without affecting the others. It's the mathematical backbone of anything involving combined forces, velocities, or displacements, such as calculating the net force acting on an object being pushed and pulled from multiple directions simultaneously. In computer graphics and game physics, vector addition is used constantly to combine movement, gravity, and collision forces into a single resulting motion each frame.

Scalar Multiplication
k·v = (k·v₁, k·v₂, k·v₃)

Scalar multiplication scales every component of a vector by the same constant factor k, which stretches or shrinks the vector's length while leaving its direction unchanged (unless k is negative, in which case the direction flips entirely). This works because a vector's magnitude and direction are both encoded proportionally across its components, so multiplying each one by the same number scales the whole vector uniformly rather than distorting its shape. If k is greater than 1 the vector grows longer, if it's between 0 and 1 it shrinks, and if it's negative the vector reverses direction while still scaling in magnitude. This operation is essential anytime a directional quantity needs to be amplified or reduced without changing its underlying direction, such as scaling up a force vector to represent a stronger push in the same direction. In physics and engineering, scalar multiplication routinely appears when converting a unit direction vector into an actual physical quantity like velocity or force by multiplying it by a magnitude.

Vector Magnitude
|v| = √(v₁²+v₂²+v₃²)

This formula calculates the actual length of a vector, treating its components as the legs of a right triangle (or its three-dimensional equivalent) and applying the Pythagorean theorem to find the straight-line distance from the origin to the vector's tip. Each component contributes independently to the overall length, and squaring them before adding ensures that negative components still contribute positively to the total magnitude, since direction shouldn't reduce a vector's actual size. This concept generalizes the everyday idea of distance into any number of dimensions, which is part of why it's so foundational across physics, engineering, and computer science. It's used constantly to determine speed from a velocity vector, the strength of a force from its directional components, or the distance between two points in space by first finding the vector between them. In machine learning, this same formula (often called the Euclidean norm) is used to measure how similar or different two data points are.

Unit Vector
û = v / |v|

A unit vector captures pure direction with no information about magnitude — it always has a length of exactly 1, obtained by dividing every component of a vector by that vector's own overall length. This works because dividing a vector by its own magnitude rescales it proportionally down to a length of exactly one unit, while leaving its direction completely intact, since every component shrinks by the same relative amount. Unit vectors are incredibly useful whenever you want to isolate "which way something points" separately from "how strong or how far," which comes up constantly in physics when describing directions independently of force or velocity magnitude. In computer graphics, unit vectors (often called normalized vectors) are used to represent surface directions for lighting calculations, since only the direction a surface faces matters for determining how light reflects off it. They're also foundational in robotics and navigation systems, where a direction of travel needs to be represented cleanly, separate from speed.

Dot Product
u·v = u₁v₁+u₂v₂+u₃v₃

The dot product takes two vectors and produces a single number (a scalar) that reflects how much the two vectors point in the same direction, calculated by multiplying corresponding components together and summing the results. This result is closely tied to the angle between the two vectors: it's largest when they point the same way, zero when they're perpendicular, and negative when they point in roughly opposite directions, which makes it an extremely useful tool for measuring alignment. In physics, the dot product is exactly how mechanical work is calculated — force applied at an angle to motion only contributes its component along the direction of movement, and the dot product captures precisely that effective contribution. It's also central to computer graphics, where it's used to determine how directly a light source faces a surface, which directly affects how brightly that surface appears to be lit. In machine learning, dot products form the mathematical basis of many similarity measures and neural network calculations.

Angle Between Vectors
θ = arccos(u·v / (|u||v|))

This formula calculates the actual angle separating two vectors by using the relationship between the dot product and the vectors' individual magnitudes, essentially rearranging the geometric definition of the dot product to solve for the angle directly. Because the dot product naturally encodes information about alignment, dividing it by both vectors' lengths normalizes that information into a pure ratio (the cosine of the angle) that no longer depends on how long either vector happens to be. Taking the arccosine then converts that ratio back into an actual angle measurement in degrees or radians. This is used heavily in robotics and mechanical engineering to determine the angle between two structural members, force directions, or joint orientations. In computer vision and 3D graphics, this formula is also used to calculate the angle between surface normals or camera viewing directions, which affects rendering and lighting decisions.

Cross Product
u×v = (u₂v₃−u₃v₂, u₃v₁−u₁v₃, u₁v₂−u₂v₁)

Unlike the dot product, which produces a single number, the cross product takes two three-dimensional vectors and produces an entirely new vector that is perpendicular to both original vectors, following what's known as the right-hand rule to determine which of the two possible perpendicular directions it points. The formula's specific pattern of multiplying and subtracting components comes from the requirement that the resulting vector be perpendicular to both inputs while also having a magnitude equal to the area of the parallelogram the two original vectors would form. This makes the cross product indispensable in physics and engineering whenever a quantity is defined as being perpendicular to two other directions, such as torque (perpendicular to both force and the lever arm) or angular momentum. It's also fundamental in 3D computer graphics for calculating surface normals — the direction a flat surface faces — which is essential information for realistic lighting and shading. Aerospace and mechanical engineers use the cross product constantly when analyzing rotational forces and moments in three-dimensional systems.

Projection of u onto v
proj_v(u) = (u·v/|v|²)·v

This formula finds the "shadow" that vector u casts onto the direction of vector v — essentially, how much of u's effect actually happens along v's direction, once you strip away any component that's perpendicular to v. It works by using the dot product to measure alignment, then scaling vector v itself by that alignment factor (adjusted for v's own length) to produce a new vector that lies exactly along v's direction. This concept is essential in physics whenever you need to decompose a force or velocity into components along and perpendicular to a specific direction, such as finding how much of gravity acts along an inclined ramp versus perpendicular into the ramp's surface. It's also foundational in computer graphics and data science, where projections are used to reduce complex, high-dimensional information down to a simpler, more relevant direction of interest. Structural engineers regularly use vector projection to resolve applied loads into components aligned with a structural member's axis.

2×2 Matrix Determinant
det[a,b;c,d] = ad − bc

The determinant of a 2×2 matrix is a single number that reveals crucial information about the linear transformation the matrix represents, most notably whether that transformation preserves, flips, or completely collapses area, and by how much it scales things. Geometrically, the determinant equals the signed area of the parallelogram formed by the matrix's two column (or row) vectors — a positive determinant means the orientation is preserved, a negative one means it's flipped, and a determinant of exactly zero means the transformation squashes everything down onto a single line, losing a dimension entirely. This zero case is critically important because it tells you the matrix has no inverse, meaning the system of equations it represents doesn't have a single, unique solution. Engineers and computer scientists check determinants constantly before attempting to invert a matrix, since attempting to invert a matrix with a zero determinant is mathematically impossible and would crash most numerical solvers. This calculation is foundational in solving systems of linear equations, computer graphics transformations, and stability analysis in control systems.

3×3 Matrix Determinant
det = a(ei−fh)−b(di−fg)+c(dh−eg)

This formula extends the same idea as the 2×2 determinant into three dimensions, calculating a single number that reveals whether a 3×3 matrix's transformation preserves, flips, or collapses volume, rather than just area. The calculation works by expanding along the top row, using each entry as a weight for the determinant of the smaller 2×2 matrix that remains after removing that entry's row and column — a technique called cofactor expansion. Just as with the 2×2 case, a zero determinant signals that the matrix is singular (non-invertible), meaning the associated system of three linear equations doesn't have one single, well-defined solution. This calculation appears constantly in 3D graphics and robotics when determining whether a coordinate transformation is valid and reversible, and in structural engineering when analyzing whether a system of equilibrium equations has a unique solution. It's also a critical step in computing eigenvalues and matrix inverses for larger systems.

2×2 Matrix Inverse
A⁻¹ = (1/det)·[d,−b;−c,a]

The inverse of a matrix is the matrix equivalent of a reciprocal — multiplying a matrix by its inverse gives you back the identity matrix, the matrix version of the number 1, which effectively "undoes" whatever transformation the original matrix performed. For a 2×2 matrix, this inverse can be found directly by swapping the diagonal entries, negating the off-diagonal entries, and dividing everything by the determinant, which is exactly why a zero determinant means no inverse exists — you'd be dividing by zero. This matters enormously in solving systems of linear equations, since if you can write a system as Ax = b, multiplying both sides by A⁻¹ isolates x and gives you the exact solution directly. It's used throughout engineering and computer science wherever systems of equations need to be solved efficiently, such as in structural load analysis, circuit analysis, and computer graphics transformations that need to be reversed. Control systems engineers also rely on matrix inversion when designing feedback systems that need to "undo" a plant's dynamics.

Matrix × Vector (2×2)
[a,b;c,d]·[x;y] = [ax+by; cx+dy]

This formula describes how a matrix transforms a vector, taking an input vector and producing a new output vector according to the linear combination rules encoded in the matrix's rows. Each output component is built by multiplying the input vector's components by the corresponding row of the matrix and summing the results, which is why matrices are the natural mathematical language for describing linear transformations like rotation, scaling, shearing, and reflection. This operation is the computational engine behind essentially all of computer graphics, where every rotation, resize, or perspective shift applied to an image or 3D model is implemented as a matrix multiplied against position vectors. It's equally fundamental in robotics, where transforming coordinates between different reference frames (like a robot arm's joint versus the world around it) relies entirely on this operation. Electrical engineers also use matrix-vector multiplication to solve systems of circuit equations where multiple currents and voltages interact simultaneously.

Eigenvalue Condition (2×2)
det(A − λI) = 0 → λ² − tr(A)λ + det(A) = 0

Eigenvalues reveal special directions (eigenvectors) along which a matrix's transformation acts as simple scaling, rather than rotating or distorting the space — finding them starts by asking for which values of λ the matrix (A minus λ times the identity) becomes singular, since only then does a nontrivial solution exist. This condition reduces neatly to a quadratic equation built from the matrix's trace (the sum of its diagonal entries) and its determinant, both of which are quick to calculate directly from the matrix itself. Eigenvalues carry deep physical meaning depending on context — in mechanical systems, they often represent natural vibration frequencies, and in dynamic systems, they determine whether a system is stable, oscillating, or blowing up over time. Engineers analyzing bridges, aircraft wings, and rotating machinery use eigenvalues to predict resonant frequencies that could otherwise cause dangerous vibrations if excited by an external force. In data science, eigenvalues are also central to techniques like Principal Component Analysis, which identifies the directions of greatest variation in a dataset.

Trace of Matrix
tr(A) = sum of diagonal elements

The trace of a matrix is simply the sum of the entries running along its main diagonal, and despite this simplicity, it turns out to carry surprisingly deep structural information about the matrix as a whole. Remarkably, the trace equals the sum of the matrix's eigenvalues, which means this single, easy-to-compute number gives immediate insight into the matrix's underlying transformation behavior without needing to fully solve for those eigenvalues directly. This property makes the trace a quick diagnostic tool, useful as a sanity check when computing eigenvalues by hand or verifying numerical results from software. In physics, the trace shows up in quantum mechanics and general relativity, where it's used to extract physically meaningful scalar quantities from more complex tensor and matrix representations. It's also used in machine learning and statistics, particularly in computing measures like the total variance captured by a covariance matrix.

Rank via Row Reduction
rank(A) = number of non-zero pivot rows

The rank of a matrix tells you how many genuinely independent pieces of information the matrix actually contains, found practically by using row operations to simplify the matrix into row-echelon form and then counting how many rows end up with a leading nonzero entry (a pivot). This matters because a matrix might look like it has many rows and columns, but if some of those rows are just combinations of others, they don't add any new independent information — the rank strips away that redundancy and tells you the true dimensionality of the system. This concept is directly tied to the Rank-Nullity Theorem, which states that the rank plus the nullity (the dimension of the solution space to Ax = 0) must always equal the total number of columns. In engineering, rank is used to determine whether a system of equations — like a structural analysis or circuit network — has a unique solution, infinitely many solutions, or no solution at all. In data science, rank is used to detect redundant or linearly dependent features within a dataset before building a model.

Linear System — Cramer's Rule (2×2)
x = det(Aₓ)/det(A) | y = det(Aᵧ)/det(A)

Cramer's Rule provides a direct formula for solving a system of linear equations without needing to perform row reduction, by replacing one column of the coefficient matrix at a time with the system's constants and comparing the resulting determinants to the original matrix's determinant. This works because each replaced determinant effectively measures how much that particular variable needs to contribute to reproduce the given constants, expressed as a ratio against the original system's overall determinant. While it becomes computationally expensive for large systems (which is why row reduction is preferred for bigger problems), it remains an elegant and fast method for small 2×2 or 3×3 systems, and it's especially useful for understanding how a solution changes as the system's parameters change. Electrical engineers use Cramer's Rule when solving small systems of circuit equations derived from Kirchhoff's laws, where two or three unknown currents or voltages need to be found simultaneously. It's also a common teaching tool for illustrating the deeper connection between determinants and the solvability of linear systems.

Gram-Schmidt (2 vectors)
v₂' = v₂ − proj_{v₁}(v₂)

The Gram-Schmidt process takes a set of vectors that may point in overlapping or redundant directions and systematically converts them into a set of mutually perpendicular (orthogonal) vectors that span the exact same space. For two vectors, this means taking the second vector and subtracting out whatever part of it points in the same direction as the first vector — its projection onto v₁ — leaving behind only the component that's genuinely perpendicular to v₁. This orthogonalized version is extremely useful because working with perpendicular vectors dramatically simplifies many calculations, including finding coordinates, solving least-squares problems, and performing numerically stable matrix decompositions. In computer graphics, Gram-Schmidt is used to maintain clean, perpendicular camera or object orientation axes as they get updated frame after frame during animation or simulation. It's also a foundational step in numerical linear algebra methods like QR decomposition, which is used extensively in solving least-squares regression problems in statistics and engineering.

Distance: Point to Plane
d = |ax₀+by₀+cz₀+d| / √(a²+b²+c²)

This formula calculates the shortest possible distance from a specific point in three-dimensional space to a flat plane, using the plane's equation (defined by its normal vector components a, b, c, and constant d) along with the point's coordinates. It works by plugging the point's coordinates into the plane's equation — if the point were actually on the plane, this would equal zero — and then dividing by the magnitude of the plane's normal vector to convert that raw algebraic difference into an actual geometric distance measured perpendicular to the plane. This calculation is essential in computer graphics and game development for collision detection, determining how close an object is to a wall, floor, or other flat surface before a collision occurs. It's also used extensively in robotics and computer-aided manufacturing, where a tool or sensor's distance from a reference surface needs to be calculated precisely for accurate positioning. Structural and civil engineers use this same geometry when calculating clearances between structural elements and reference planes in a design.

Span / Linear Independence Check
Vectors lin. indep. iff det ≠ 0

This check determines whether a set of vectors each contribute genuinely new directional information, or whether one of them is redundant — expressible as some combination of the others. For a set of vectors arranged as the columns of a square matrix, computing the determinant provides an immediate answer: if the determinant is nonzero, the vectors are linearly independent and together they can reach (span) every point in their respective space, but if the determinant is zero, at least one vector is redundant and the set can only reach a smaller, lower-dimensional subspace. This concept is crucial in engineering whenever you need to confirm that a set of measurements, sensors, or basis directions actually provide complete, non-overlapping information about a system. In computer graphics and robotics, checking linear independence ensures that a coordinate system's basis vectors genuinely define all three dimensions of space rather than collapsing onto a plane or line. It's also foundational in data science for identifying redundant features that don't add new information to a predictive model.

Null Space / Kernel Check
Null(A): solve Ax = 0

The null space (or kernel) of a matrix is the set of all vectors that the matrix transformation collapses down to zero — in other words, every input x that satisfies Ax = 0. Finding this set reveals something important about the matrix's structure: if the only solution is x = 0 itself, the matrix preserves all the information in its input, but if other nonzero solutions exist, it means the matrix is "losing" some directional information during its transformation, mapping multiple different inputs to the same zero output. This concept directly determines whether a system of linear equations has a unique solution or infinitely many, since the null space describes exactly how much "freedom" exists in the solution set beyond any single particular answer. In structural engineering, the null space of a stiffness matrix can reveal mechanisms — ways a structure can move without any force being applied, indicating instability that needs to be addressed in the design. In control systems and robotics, the null space is used to find movements a robotic arm can make without affecting its end-effector's position, useful for avoiding obstacles while keeping a tool in place.

General Math

Quadratic Formula
x = (−b ± √(b²−4ac)) / 2a

The quadratic formula solves any equation of the form ax² + bx + c = 0 directly, giving you the exact value (or values) of x without needing to factor the expression, which is a huge advantage since many quadratics simply don't factor into nice whole numbers. It works because it's derived by completing the square on the general quadratic equation, a process that systematically isolates x by rewriting the equation as a perfect square plus a remainder term. The term underneath the square root, called the discriminant, tells you at a glance how many real solutions exist — two if it's positive, exactly one if it's zero, and none (only complex solutions) if it's negative. This formula shows up constantly in physics when solving for the time a projectile hits the ground, since height-versus-time equations under gravity are quadratic in nature. It's also used in engineering design and finance whenever a relationship being modeled includes a squared term, such as optimizing area for a fixed perimeter or solving for a break-even point in a quadratic cost function.

Pythagorean Theorem
c² = a² + b²

This theorem describes a fixed relationship between the three sides of any right triangle, stating that the square of the hypotenuse (the longest side, opposite the right angle) always equals the sum of the squares of the other two sides. It works because of a purely geometric fact: you can literally rearrange the physical squares built on each side of a right triangle to demonstrate that the two smaller squares' areas combine exactly to form the larger square's area, a proof that's been demonstrated visually for over two thousand years. This makes it one of the most reliable tools for finding an unknown distance whenever a right angle is involved, whether that's a literal triangle or a situation that can be modeled as one. It's used everywhere from construction (ensuring a wall or foundation corner is truly square) to navigation (calculating straight-line distance from north-south and east-west displacement) to computer graphics (calculating the distance between two pixels on a screen). Engineers and architects rely on it constantly any time a diagonal measurement needs to be derived from two perpendicular measurements.

Law of Cosines
c² = a²+b²−2ab·cos(C)

The Law of Cosines generalizes the Pythagorean theorem to work on any triangle, not just right triangles, by adding a correction term that accounts for the actual angle between two known sides. When that angle happens to be exactly 90 degrees, cosine of 90° is zero, and the extra term vanishes entirely, collapsing this formula back down into the familiar Pythagorean theorem — which shows the two are deeply connected rather than unrelated rules. This formula is what allows you to find a missing side length in a triangle even when there's no right angle to rely on, as long as you know two sides and the angle between them. It's essential in surveying and civil engineering, where land plots and structural triangulations rarely form neat right angles, requiring this more general relationship to calculate accurate distances. It's also used in navigation and robotics whenever a triangular relationship between three points or measurements needs to be solved without the convenience of a right angle.

Circle Area / Circumference
A = πr² | C = 2πr

These two formulas describe the two most fundamental measurements of a circle: the area enclosed within it, and the total distance around its boundary, both built from the same fixed ratio π that relates every circle's circumference to its diameter. The area formula comes from imagining the circle sliced into countless thin triangular wedges, or alternatively unrolled and rearranged into a shape that approximates a rectangle whose dimensions depend on the radius, both of which lead to the same π r² result. The circumference formula reflects a much simpler geometric fact: no matter how large or small a circle is, its perimeter is always exactly π times its diameter (or equivalently, 2π times its radius), a ratio that stays constant across every circle that has ever existed. These formulas are used constantly in engineering and manufacturing, whether calculating the material needed to produce a circular gasket, the coverage area of a circular sprinkler system, or the distance a wheel travels per full rotation. They're also foundational in physics for anything involving circular or rotational motion.

Compound Interest
A = P(1 + r/n)^(nt)

This formula calculates how an initial sum of money (the principal, P) grows over time when interest is calculated not just on the original amount, but repeatedly on the growing balance itself, which is what makes compound interest grow faster than simple interest over the long run. The n term represents how many times per year interest is compounded — annually, monthly, or even daily — and increasing that frequency, while holding the annual rate fixed, leads to slightly faster growth because interest starts earning interest on itself sooner. This exponential relationship is exactly why starting to save or invest early has such an outsized effect on long-term wealth, since the growth curve becomes steeper the longer money is left to compound. It's the foundational formula behind virtually all personal finance and investment planning, from retirement savings to mortgage amortization schedules to understanding the true cost of carrying credit card debt at a high interest rate. Financial analysts and everyday savers alike rely on this formula to project future account balances or determine how much needs to be saved today to reach a specific future goal.

Log Identity
log_b(x) = ln(x)/ln(b)

This identity, known as the change-of-base formula, lets you compute a logarithm in any base using only natural logarithms (or logarithms in any other single base your calculator or software happens to support), which is essential since most tools don't have a dedicated button for every possible base. It works because logarithms in different bases are always proportional to one another by a fixed constant factor, specifically the natural log of the new base, which is why dividing by ln(b) correctly rescales a natural log result into the equivalent value for base b. This is more than a computational convenience — it reveals that all logarithmic scales are fundamentally related, just stretched or compressed versions of each other. It's used constantly in computer science when converting between binary, decimal, and other number-based logarithmic measurements, such as calculating information entropy or algorithmic complexity expressed in a specific base. It's also essential in fields like acoustics and seismology, where measurements like decibels and the Richter scale rely on logarithms in bases that need to be converted for comparison or calculation.

Computer Science

Discrete Math

Base Converter (Binary · Octal · Decimal · Hexadecimal)

Number base conversion is the process of re-expressing the exact same numeric quantity using a different counting system, whether that's binary (base 2), octal (base 8), decimal (base 10, the everyday system), or hexadecimal (base 16). Every positional number system works the same underlying way: each digit's value depends on both the digit itself and its position, which represents an increasing power of that base — so converting between bases really just means re-distributing the same total quantity across a different set of place values. Binary is the native language of digital computers because transistors and logic gates naturally represent two clean states (on/off, high/low voltage), while hexadecimal is popular among programmers specifically because each hex digit compactly represents exactly four binary digits, making it a convenient shorthand for reading and writing binary-based data like memory addresses and color codes. Octal, though less common today, historically served a similar compacting role in older computing systems built around three-bit groupings. This conversion skill is essential for anyone working with low-level programming, computer architecture, digital electronics, or networking, where raw binary data (like an IP address or a memory address) is much easier for humans to read and write once translated into hexadecimal or decimal.

Binary Arithmetic

Binary arithmetic performs the same operations you already know from decimal math — addition, subtraction, multiplication, division — but using only the digits 0 and 1, following the exact same positional carrying and borrowing rules, just with a much smaller set of digits to work with. Addition in binary carries over to the next place value as soon as a column's sum reaches 2 (rather than 10 in decimal), which happens far more frequently given there are only two possible digits, making binary addition chains of carries look quite different on paper even though the underlying logic is identical to decimal addition. This is precisely how every arithmetic operation inside a computer's processor is actually carried out at the hardware level, since digital circuits are built from binary logic gates that can only combine 0s and 1s directly. Understanding binary arithmetic is foundational for anyone studying computer architecture, embedded systems programming, or digital logic design, since it explains exactly what's happening inside the processor when a program adds two numbers together. It also explains subtle real-world bugs like integer overflow, which occurs when an arithmetic result exceeds the fixed number of binary digits a computer has allocated to store it.

Two's Complement
Value = 2ⁿ − |x| (for negative x, in n-bit representation)

Two's complement is the standard method computers use to represent negative numbers in binary, solving a genuine engineering problem: how do you represent both positive and negative values using only 0s and 1s, without needing separate hardware circuits for addition and subtraction? The trick is elegant — to represent a negative number, you flip every bit of its positive counterpart and then add 1, and the resulting representation allows the exact same binary addition circuitry to correctly handle both positive and negative numbers without any special-case logic. This is precisely why computer processors don't need a separate subtraction circuit at all; subtracting a number is simply implemented as adding its two's complement negative representation, which dramatically simplifies processor design. This system also explains why signed integers in programming languages have a specific, sometimes surprising range (for example, an 8-bit signed integer ranges from −128 to 127, not −127 to 127), a detail that trips up many programmers encountering integer overflow bugs for the first time. Every modern computer processor uses two's complement internally, making it foundational knowledge for embedded systems, computer architecture, and low-level debugging.

IEEE 754 Float
Value = (−1)^sign × 2^(exponent−bias) × 1.mantissa

This standard defines exactly how computers represent decimal (non-whole) numbers in binary, splitting a fixed number of bits into three parts: a sign bit indicating positive or negative, an exponent that determines the overall scale of the number, and a mantissa (or significand) that stores the precise digits of the value. This structure is directly inspired by scientific notation, where a number is expressed as a small precise value multiplied by some power of ten (or, in this case, a power of two), allowing an enormous range of values — from extremely tiny to extremely huge — to be represented using a fixed, manageable number of bits. Because only a finite number of bits are available for the mantissa, most decimal fractions can't be represented with perfect precision in binary, which is exactly why floating-point arithmetic sometimes produces small, seemingly strange rounding errors, like 0.1 + 0.2 not exactly equaling 0.3 in most programming languages. Understanding this standard is essential for anyone doing scientific computing, financial calculations, or graphics programming, where floating-point precision limitations can cause subtle but significant bugs if not properly accounted for. This exact standard (IEEE 754) is implemented directly in virtually every computer processor's hardware, making it one of the most universally adopted standards in all of computing.

Logic Gates
AND, OR, NOT, XOR, NAND, NOR

Logic gates are the fundamental building blocks of all digital electronics, each one performing one basic decision-making operation on binary inputs (0s and 1s) to produce a binary output, according to rules laid out formally in Boolean algebra. An AND gate outputs a 1 only when every one of its inputs is also 1 (mirroring logical multiplication), while an OR gate outputs a 1 if at least one input is 1 (mirroring logical addition), and a NOT gate simply flips whatever single input it receives. More complex gates like XOR (exclusive or, true only when inputs differ), NAND (the opposite of AND), and NOR (the opposite of OR) are built from combinations of these basic operations but are used so frequently that they're typically implemented directly in hardware for efficiency. Remarkably, every computation a computer can ever perform — no matter how sophisticated the software running on top of it — ultimately reduces down to enormous combinations of these simple gates working together, since NAND and NOR gates alone are technically sufficient to construct any other logical operation. This makes logic gates the essential starting point for anyone studying computer engineering, digital circuit design, or computer architecture, since every processor, memory chip, and digital device is built from these same basic components at its core.

Engineering

Mechanics

Newton's 2nd Law
F = m × a

Newton's Second Law is the foundational equation of classical mechanics, describing exactly how much a given force will accelerate an object based on that object's mass — the greater the mass, the more force is required to produce the same acceleration. This works because mass is fundamentally a measure of an object's resistance to changing its motion (its inertia), so a heavier object needs proportionally more push or pull to speed up, slow down, or change direction at the same rate as a lighter one. This single, deceptively simple relationship is the starting point for analyzing virtually every mechanical system, from calculating how quickly a car accelerates given its engine's output force, to determining the thrust needed to launch a rocket of a given mass into orbit. Automotive and aerospace engineers use this formula constantly during the earliest design stages, when translating performance requirements (like a target acceleration) into concrete force and power requirements for an engine. It's also the equation that underlies structural dynamics, since any accelerating mass — a swaying building in an earthquake, for instance — generates forces that must be accounted for in a design.

Kinematic — Velocity
v = u + a·t

This formula calculates an object's final velocity after accelerating at a constant rate for a known period of time, starting from some known initial velocity. It works because constant acceleration means velocity changes at a steady, predictable rate every second, so simply multiplying the acceleration by how much time has passed tells you exactly how much the velocity has increased (or decreased, if acceleration is negative) from its starting value. This is one of the core kinematic equations used to describe motion under constant acceleration, such as an object in free fall under gravity or a vehicle braking at a steady deceleration rate. Automotive safety engineers use this formula to calculate stopping distances and reaction times, while aerospace engineers use it to predict a rocket's velocity at various stages of its constant-thrust ascent. It's also a fundamental building block used throughout physics whenever motion needs to be predicted from known acceleration and timing information.

Kinematic — Displacement
s = ut + ½at²

This formula calculates the total distance an object travels while accelerating at a constant rate over a given time, combining the distance it would have covered at its original constant speed with the additional distance gained from steadily increasing speed. The first term (ut) accounts for the straightforward distance covered at the initial velocity, while the second term (½at²) captures the extra distance contributed specifically by the acceleration, growing with the square of time because the object is going progressively faster as time passes. This relationship is derived directly by integrating the velocity equation over time, which is why displacement under constant acceleration always ends up depending on time squared rather than a simple linear relationship. It's the exact formula used to calculate stopping distances in vehicle safety design, the distance covered by a falling object under gravity, or the runway length needed for an aircraft to reach takeoff speed. Civil and mechanical engineers rely on this equation constantly whenever motion under a known, constant acceleration needs to be predicted precisely.

Stress (Normal)
σ = F / A

Stress measures how intensely a force is distributed across the cross-sectional area of a material, which matters far more for structural integrity than the raw force alone, since the same force concentrated on a small area causes dramatically more strain on a material than that same force spread across a large area. This is exactly why a sharp needle can pierce skin under light pressure while a flat hand pressing with the same force cannot — the needle concentrates that force onto an extremely small contact area, producing enormous stress. Engineers use this formula constantly to determine whether a material can safely withstand an applied load without yielding or fracturing, by comparing the calculated stress against that material's known strength limits. It's foundational to essentially every branch of structural and mechanical engineering, used in designing everything from bridge cables and building columns to bolts, welds, and pressure vessel walls. Understanding stress is the very first step in any structural analysis, since it directly determines whether a proposed design is even physically viable before more detailed calculations are performed.

Strain (Engineering)
ε = ΔL / L₀

Strain measures how much a material deforms relative to its original size when subjected to a load, expressed as the ratio of the change in length to the material's original, unloaded length. Because this ratio is dimensionless (a length divided by a length), strain represents deformation as a pure percentage or fraction, which makes it directly comparable across materials and objects of completely different original sizes. This measurement is a direct experimental output from tensile testing, where a sample is stretched under controlled conditions and its elongation is measured precisely to characterize how that material behaves under load. Strain is used constantly alongside stress to characterize a material's mechanical properties, and the relationship between the two (captured by Hooke's Law) tells engineers exactly how stiff or flexible a given material is. Mechanical and civil engineers rely on strain measurements to predict whether a structural component will deform excessively under normal operating loads, even before it approaches actual failure.

Hooke's Law
σ = E · ε

Hooke's Law describes the direct, proportional relationship between stress and strain in a material's elastic region, meaning that as long as a material isn't stretched or compressed too far, it deforms in exact proportion to the load applied and springs back to its original shape once the load is removed. The Young's Modulus term (E) is a material-specific constant that quantifies exactly how stiff a material is — a higher value means the material resists deformation more strongly for a given amount of stress, which is why steel has a dramatically higher Young's Modulus than rubber. This linear relationship only holds up to a certain point (the elastic limit), beyond which materials begin to deform permanently rather than springing back, a behavior this simple formula no longer describes accurately. Engineers use Hooke's Law constantly during the design phase to predict how much a structural component will stretch, bend, or compress under expected loads, ensuring deflections stay within acceptable limits. It's foundational to designing everything from vehicle suspension springs and structural beams to precision instruments that rely on predictable elastic behavior.

Moment of Force
M = F × d

A moment (also called torque in rotational contexts) measures the twisting or rotating effect that a force produces around a specific point or axis, calculated by multiplying the force's magnitude by the perpendicular distance from that point to the force's line of action. This relationship explains an intuitive experience everyone has had: it's much easier to loosen a stubborn bolt with a long wrench than a short one, because increasing the distance (d) increases the resulting moment even though the applied force stays the same. This concept is absolutely central to structural engineering, where moments caused by loads on beams, columns, and other members must be calculated precisely to ensure a structure doesn't rotate, bend, or collapse under expected forces. It's also fundamental in mechanical design, used to calculate the torque requirements for motors, the leverage in mechanical linkages, and the balance conditions needed for a system to remain in static equilibrium. Engineers analyzing everything from cranes and see-saws to bridges and building frames rely on moment calculations as a core part of structural analysis.

Kinetic Energy
KE = ½mv²

Kinetic energy quantifies the energy an object possesses purely because it's in motion, and this formula shows that energy grows with the square of velocity rather than linearly, meaning that doubling an object's speed actually quadruples its kinetic energy rather than simply doubling it. This squared relationship has serious real-world consequences, which is exactly why even modest increases in vehicle speed dramatically increase the severity of a collision — the energy that needs to be dissipated during impact grows far faster than the speed itself. This formula is essential in mechanical and automotive engineering for designing braking systems, crumple zones, and safety barriers, all of which need to absorb or safely dissipate an object's kinetic energy during a rapid deceleration event. It's also foundational in physics for analyzing collisions, projectile motion, and any system where energy conversion between motion and other forms (like heat or potential energy) needs to be tracked. Renewable energy engineers use this same formula when calculating the kinetic energy available in moving air or water for wind turbines and hydroelectric systems.

Potential Energy
PE = mgh

Gravitational potential energy represents the energy an object has stored simply due to its height above some reference point, ready to be converted into kinetic energy the moment the object is allowed to fall. This formula makes intuitive sense once you consider that lifting an object against gravity requires doing work against a constant gravitational force, and that stored work is exactly what's released as the object falls back down, converting potential energy into kinetic energy as it accelerates. Because this energy scales linearly with both mass and height, doubling either one doubles the stored potential energy, unlike the squared relationship seen in kinetic energy. This concept is fundamental to designing hydroelectric power systems, where water held at height in a reservoir represents a vast, calculable amount of stored potential energy waiting to be converted into electricity as it flows downward through turbines. It's equally essential in mechanical and civil engineering for analyzing systems like elevators, cranes, and roller coasters, where energy is deliberately raised, stored, and released in controlled ways.

Angular Velocity
ω = 2πN/60

Angular velocity measures how quickly an object is rotating, expressed in radians per second, and this particular formula converts a rotational speed given in the more everyday unit of revolutions per minute (RPM) into that standard scientific unit. The conversion works by recognizing that each complete revolution corresponds to exactly 2π radians of rotation, and dividing by 60 converts the "per minute" timeframe of RPM into the "per second" timeframe used in most physics and engineering calculations. This conversion is essential anytime rotational speed data — commonly reported in RPM for motors, engines, and turbines — needs to be plugged into other physics formulas that require angular velocity in radians per second, such as calculating centripetal acceleration or rotational kinetic energy. Mechanical engineers use this constantly when analyzing rotating machinery like engines, turbines, and gearboxes, where RPM is the standard specification unit but the underlying physics calculations require radians per second. It's a small but essential bridge between how rotational speed is commonly measured in industry and how it's actually used in the mathematics of rotational dynamics.

Fluid Mechanics

Bernoulli Equation
P + ½ρv² + ρgh = const

The Bernoulli equation describes how pressure, velocity, and elevation trade off against each other as a fluid flows through a system, based on the principle that the total energy of a moving fluid stays constant along a streamline as long as friction and other losses are negligible. This means that as a fluid speeds up (say, moving through a narrowing pipe), its pressure must drop to compensate, since the added kinetic energy has to come from somewhere, and conservation of energy says it comes at the direct expense of pressure energy. This trade-off is exactly what generates lift on an airplane wing, since air flowing faster over the curved top surface experiences lower pressure than the slower-moving air beneath, creating a net upward force. It's also the working principle behind devices like the Venturi meter, which measures fluid flow rate by detecting the pressure drop that occurs as fluid accelerates through a constriction. Civil and mechanical engineers rely on this equation constantly when designing piping systems, HVAC ductwork, and aerodynamic surfaces where pressure and velocity need to be balanced precisely.

Reynolds Number
Re = ρvD/μ

The Reynolds number is a dimensionless value that predicts whether a fluid's flow will be smooth and orderly (laminar) or chaotic and turbulent, calculated from the fluid's density, velocity, and viscosity along with a characteristic length like a pipe's diameter. It works by comparing the fluid's inertial forces (which tend to promote chaotic, turbulent motion) against its viscous forces (which tend to dampen disturbances and keep flow smooth), and the ratio between these two competing effects determines which behavior dominates. Below a certain threshold, viscous forces win out and flow stays laminar and predictable, but above that threshold, inertial effects overwhelm the fluid's natural damping and it transitions into unpredictable, swirling turbulence. This distinction has enormous practical consequences in piping system design, since turbulent flow causes significantly more friction and pressure loss than laminar flow, directly affecting how much pumping power a system requires. Aerospace engineers also rely on the Reynolds number to predict how air will behave around an aircraft's wings and fuselage at different speeds and altitudes, which directly influences drag and lift characteristics.

Continuity Equation
A₁v₁ = A₂v₂

The continuity equation captures a straightforward but powerful physical principle: for an incompressible fluid flowing through a closed system, whatever volume of fluid enters one section per second must equal whatever volume exits another section per second, since fluid can't simply appear or disappear along the way. Because volume flow rate is calculated as cross-sectional area multiplied by velocity, this conservation principle means that if a pipe narrows, the fluid's velocity must increase to compensate, and if it widens, velocity must decrease — this is exactly why water speeds up when you place your thumb over the end of a garden hose. This relationship is foundational to designing any piping or ducting system, since engineers need to predict fluid velocity at every point along a system that changes diameter, whether it's a water supply network, an HVAC duct system, or an engine's intake manifold. It's also the underlying principle behind flow measurement devices that infer flow rate by measuring velocity at a point of known cross-sectional area. Civil and mechanical engineers apply this equation constantly whenever fluid needs to be routed through pipes or channels of varying size.

Darcy–Weisbach
hL = f·(L/D)·(v²/2g)

The Darcy-Weisbach equation calculates how much energy (expressed as an equivalent height, or "head") a fluid loses to friction as it travels through a pipe, accounting for the pipe's length, diameter, the fluid's velocity, and a friction factor that depends on the pipe's roughness and the flow's turbulence characteristics. This head loss represents real, unavoidable energy dissipated as heat due to friction between the fluid and the pipe walls, as well as internal friction within the fluid itself, and it directly determines how much extra pumping energy is needed to push fluid through a real piping system compared to an idealized, frictionless one. The friction factor itself is typically determined from empirical charts or equations based on the Reynolds number and the pipe's relative roughness, linking this formula directly back to the physics captured in the Reynolds number. This calculation is essential in the design of water distribution systems, oil and gas pipelines, and HVAC ductwork, where engineers must size pumps correctly to overcome these frictional losses and deliver fluid at the required pressure and flow rate. Underestimating friction losses in a piping design can lead to systems that simply can't deliver the flow rate they were intended to provide.

Hydraulic Radius
R_h = A/P

The hydraulic radius is a characteristic dimension used to describe the shape and efficiency of a channel or pipe that isn't perfectly circular, calculated by dividing the cross-sectional flow area by the wetted perimeter — the portion of the channel's boundary that's actually in contact with the fluid. This measure exists because friction losses depend heavily on how much of the flow's boundary is in contact with a solid surface relative to how much fluid volume is actually flowing, and a shape with a larger hydraulic radius experiences comparatively less frictional resistance for the same cross-sectional flow area. This concept is essential in civil and environmental engineering when designing open channels, culverts, and irregularly shaped pipes, such as those used in stormwater drainage or irrigation systems, where a purely circular pipe assumption wouldn't apply. It allows engineers to apply standard friction-loss formulas (like Darcy-Weisbach) to non-circular flow geometries by substituting an equivalent hydraulic diameter derived from this radius. Understanding hydraulic radius is particularly important when comparing the flow efficiency of different channel shapes, such as trapezoidal versus rectangular drainage channels.

Flow Rate (Q=Av)
Q = A · v

This formula calculates the volume of fluid passing through a given cross-section per unit of time, found simply by multiplying the cross-sectional area of the flow path by the fluid's velocity through that section. It works because velocity tells you how far the fluid travels in a given time, and multiplying that distance by the cross-sectional area gives you the total volume swept through that section during that same time interval — essentially treating the flowing fluid as a series of thin, moving slices stacked one after another. This is one of the most fundamental and frequently used formulas in fluid mechanics, forming the basis for the continuity equation and underlying virtually every calculation involving pipes, channels, or ducts. It's used directly in sizing pumps, pipes, and ventilation systems to ensure a required flow rate can actually be delivered given a chosen pipe diameter and expected fluid velocity. Civil, mechanical, and chemical engineers rely on this formula constantly, whether they're designing municipal water systems, industrial process piping, or building ventilation networks.

Thermodynamics

Ideal Gas Law
PV = nRT

The Ideal Gas Law describes the relationship between a gas's pressure, volume, temperature, and quantity, treating gas molecules as tiny, independent particles that interact only through simple collisions, which turns out to be a remarkably good approximation for real gases under normal conditions. This formula works because pressure, volume, and temperature are all fundamentally connected through the kinetic energy and spacing of countless gas molecules — squeeze a gas into a smaller volume and pressure rises because molecules collide with the container walls more frequently, heat it up and pressure rises because molecules move faster and hit harder. The constant R serves as a universal conversion factor that makes the units on both sides of the equation consistent regardless of what gas you're working with, since remarkably, this relationship holds for essentially any gas under moderate conditions. This law is foundational to designing and analyzing anything involving compressed or heated gases, including internal combustion engines, HVAC systems, compressed air tools, and industrial gas storage tanks. Chemical and mechanical engineers use this formula constantly to predict how a gas will behave when temperature, pressure, or volume conditions change during a process.

Heat Transfer (Q=mcΔT)
Q = m·c·ΔT

This formula calculates the amount of heat energy required to change a substance's temperature by a given amount, based on the substance's mass and its specific heat capacity — a material-specific property describing how much energy is needed to raise a unit mass of that substance by one degree. Different materials require dramatically different amounts of energy to heat by the same amount, which is exactly why water takes much longer to boil than the same mass of most metals, and specific heat capacity is precisely the number that captures this difference. This relationship is fundamental to any engineering problem involving heating or cooling, from calculating how much energy a water heater needs to raise a tank's temperature to a target level, to determining how much cooling a refrigeration system needs to remove heat from stored food. Mechanical and chemical engineers use this formula constantly in designing heating, cooling, and thermal storage systems where precise energy requirements must be calculated. It's also essential in climate and environmental science for understanding how much energy is required to heat large bodies of water or air masses.

Fourier's Law (Conduction)
q = -k·A·(dT/dx)

Fourier's Law describes how heat flows through a solid material by conduction, stating that the rate of heat flow depends on the material's thermal conductivity, the cross-sectional area through which heat is flowing, and how steeply temperature changes across that material's thickness. The negative sign reflects a fundamental physical reality: heat always flows from hot regions toward cold regions, moving in the direction opposite to the temperature gradient, never the reverse, which aligns with everyday intuition but needs to be built explicitly into the mathematics. Materials with high thermal conductivity, like metals, transfer heat quickly and efficiently, while materials with low conductivity, like foam insulation, resist heat flow and are specifically chosen for that purpose. This law is the foundation of thermal insulation design in buildings, where engineers calculate exactly how much heat will escape through walls, roofs, and windows to properly size heating and cooling systems. It's equally critical in electronics cooling, where engineers must ensure heat generated by processors and other components can escape fast enough to prevent overheating and damage.

Thermal Efficiency
η = W/Q_H = 1 - Q_C/Q_H

Thermal efficiency measures what fraction of the heat energy put into a heat engine actually gets converted into useful work, versus how much is inevitably lost as waste heat rejected to the surroundings. This formula reflects a fundamental and unavoidable truth about heat engines rooted in the laws of thermodynamics: no engine can convert 100% of input heat into work, since some heat must always be rejected to a cooler reservoir for the engine to complete its cycle and return to its starting state. A higher thermal efficiency means an engine extracts more useful work from the same amount of fuel or heat input, which directly translates into better fuel economy and lower operating costs in real-world machines. This concept is central to designing and comparing power plants, internal combustion engines, and refrigeration cycles, where engineers constantly work to push efficiency as close as physically possible to the theoretical maximum. Understanding thermal efficiency is essential for anyone evaluating the real-world performance and environmental impact of any engine or power generation system.

Carnot Efficiency
η_C = 1 - T_C/T_H

The Carnot efficiency represents the absolute maximum possible thermal efficiency any heat engine could theoretically achieve when operating between a given hot and cold temperature reservoir, based purely on the fundamental laws of thermodynamics rather than any specific engine design or technology. This theoretical ceiling depends only on the absolute temperatures (measured in Kelvin) of the hot source and cold sink the engine operates between — the larger that temperature difference, the higher the maximum possible efficiency becomes, which is precisely why power plants strive to operate at the highest practical temperatures. No real engine can actually reach this idealized limit due to unavoidable practical losses like friction and non-instantaneous heat transfer, but the Carnot efficiency still serves as an essential benchmark, revealing how much room for improvement exists in any real engine design. This concept guides the entire field of thermal power generation, informing decisions about operating temperatures in everything from steam turbines to jet engines. Engineers use the Carnot efficiency as a theoretical yardstick to evaluate how close a real engine's performance comes to the best that physics allows.

Stefan–Boltzmann (Radiation)
q = ε·σ·A·T⁴

The Stefan-Boltzmann Law calculates how much thermal energy an object radiates purely due to its temperature, without needing any direct contact or a surrounding medium, which is exactly why heat from the sun can reach Earth across empty space. This relationship shows that radiated power grows with the fourth power of absolute temperature, meaning that even a modest increase in temperature causes a dramatic increase in radiated energy — doubling an object's absolute temperature increases its radiated power by a factor of sixteen. The emissivity term (ε) accounts for the fact that different surfaces radiate heat with different efficiencies compared to a theoretical perfect radiator, ranging from highly reflective, low-emissivity surfaces to dark, highly emissive ones. This law is essential in designing spacecraft thermal control systems, where radiation is often the only available mechanism for shedding excess heat in the vacuum of space. It's also used extensively in analyzing furnace and combustion chamber design, building energy efficiency, and even in climate science for understanding how Earth radiates absorbed solar energy back into space.

Electrical

Ohm's Law
V = I · R

Ohm's Law describes the fundamental relationship between voltage, current, and resistance in an electrical circuit, stating that the current flowing through a conductor is directly proportional to the voltage applied across it and inversely proportional to that conductor's resistance. This makes intuitive sense when you think of voltage as the "electrical pressure" pushing current through a circuit and resistance as whatever opposes that flow — more pressure pushes more current through, while more resistance chokes that flow back down, exactly like water pressure and pipe friction in a plumbing system. This single equation is the absolute starting point for analyzing virtually any electrical circuit, letting engineers calculate any one of the three quantities as long as the other two are known. It's used constantly in circuit design, from selecting the correct resistor value to limit current to a safe level for an LED, to calculating the current draw of household appliances given their voltage and resistance. Electrical and electronics engineers use Ohm's Law as the essential first tool in nearly every circuit analysis, troubleshooting, and design task they perform.

Power (Electrical)
P = V·I = I²R = V²/R

This set of equivalent formulas calculates electrical power — the rate at which electrical energy is converted into other forms, like heat, light, or mechanical motion — and the fact that there are three interchangeable versions simply reflects that Ohm's Law lets you substitute in for either voltage or current depending on which two quantities you actually know. The basic form (P = V·I) reflects that power is fundamentally the product of electrical pressure and flow rate, while the other two versions are just algebraic rearrangements using Ohm's Law to express the same power purely in terms of current and resistance, or voltage and resistance. This relationship is essential for sizing components correctly, since exceeding a component's rated power dissipation causes it to overheat and potentially fail or start a fire, which is why resistors, wires, and other components always come with power ratings that must be respected in a design. It's used constantly by electrical engineers to calculate energy consumption, size wiring and circuit breakers appropriately, and determine cooling requirements for components that dissipate significant heat. This formula also directly underlies how electricity bills are calculated, since utility companies charge based on total power consumed over time.

Capacitance — Charge
Q = C · V

This formula describes how much electrical charge a capacitor stores for a given voltage applied across it, with capacitance (C) representing that specific component's ability to store charge — a higher capacitance means more charge can be stored at the same voltage. This relationship arises directly from a capacitor's physical construction, typically two conductive plates separated by an insulating material, where applying a voltage causes charge to accumulate on those plates in direct proportion to both the applied voltage and the capacitor's physical design characteristics (plate area, spacing, and the insulating material's properties). Capacitors are used throughout electronics for tasks like smoothing out fluctuating voltage signals, storing energy for quick release (as in a camera flash), and filtering out unwanted frequency components in a signal. This formula is the starting point for calculating exactly how much energy a capacitor can store and release, which is essential when designing power supply filtering circuits, timing circuits, and energy storage systems. Electrical engineers use this relationship constantly when selecting appropriately sized capacitors for a given voltage and charge storage requirement in a circuit.

Inductance — EMF
EMF = -L·(dI/dt)

This formula describes how a changing electrical current through an inductor generates an opposing voltage (an electromotive force, or EMF), directly proportional to how rapidly that current is changing and the inductor's own inductance value. The underlying physics comes from Faraday's Law of electromagnetic induction: a changing current creates a changing magnetic field around the inductor's coil, and that changing magnetic field in turn induces a voltage that actively opposes the very change in current that created it, a behavior formally described by Lenz's Law and reflected in the negative sign. This opposition to sudden current changes is precisely why inductors are used to smooth out current fluctuations in power supplies and filtering circuits, resisting rapid spikes or drops in current flow. This principle is also the fundamental operating mechanism behind transformers, electric motors, and generators, all of which rely on changing magnetic fields to induce voltage or current. Electrical and power engineers use this relationship constantly when designing circuits that need to manage rapid current changes, such as switch-mode power supplies and motor control systems.

Impedance (Series RLC)
Z = √(R²+(XL−XC)²)

Impedance generalizes the concept of resistance to alternating current (AC) circuits, accounting for the fact that AC circuits containing inductors and capacitors don't just resist current flow — they also introduce a phase shift between voltage and current, which pure resistance alone doesn't capture. This formula combines a circuit's actual resistance (R) with its net reactance (the difference between inductive reactance XL and capacitive reactance XC), using the Pythagorean theorem because these two effects act at right angles to each other in a mathematical sense, due to that phase-shifting behavior. The specific combination of resistance, inductance, and capacitance in a circuit determines its impedance at any given frequency, which is why the same circuit can behave very differently depending on whether it's driven by a low-frequency or high-frequency AC signal. This concept is essential in designing filters, audio equipment, and radio frequency circuits, where controlling how a circuit responds differently to different frequencies is often the entire point of the design. Electrical engineers rely on impedance calculations constantly when designing circuits that must interact correctly with AC power or signals across a range of frequencies.

Decibels (Power)
dB = 10·log₁₀(P₂/P₁)

The decibel scale expresses the ratio between two power levels using a logarithmic scale rather than a simple linear ratio, which is enormously useful because power levels in real-world systems — from a whisper to a jet engine, or a weak radio signal to a strong one — can span an almost incomprehensibly wide range of raw numbers. Using a logarithmic scale compresses that vast range into much more manageable numbers, and it also happens to align well with how humans actually perceive changes in sound intensity, since human hearing itself responds roughly logarithmically to power changes. Because decibels are logarithmic, they also have a convenient mathematical property: combining multiple stages of amplification or loss in a system (like a chain of amplifiers and cables) can be calculated by simple addition and subtraction of decibel values, rather than multiplying and dividing raw power ratios. This makes the decibel scale indispensable in audio engineering, telecommunications, and RF engineering, where signal strength needs to be tracked and compared across many stages of a system. Engineers designing everything from home audio equipment to cellular networks rely on decibel calculations as the standard way of expressing and comparing signal power throughout a system.

Structural

ASME PV Wall Thickness
t = PR/(SE−0.6P)

This formula calculates the minimum wall thickness required for a cylindrical pressure vessel to safely contain a given internal pressure without failing, as specified by the ASME Boiler and Pressure Vessel Code, one of the most widely followed safety standards in mechanical engineering. It balances the pressure trying to burst the vessel outward against the material's allowable stress, adjusted by a weld efficiency factor that accounts for the fact that welded joints are typically somewhat weaker than the surrounding solid material. The 0.6P correction term in the denominator is an empirical refinement that accounts for how stress actually distributes through a curved, pressurized cylindrical wall, since simpler thin-wall stress formulas become less accurate as wall thickness increases relative to the vessel's radius. This calculation is legally and practically mandatory in the design of any pressurized equipment — boilers, storage tanks, chemical reactors, and piping systems — where failure could be catastrophic and potentially lethal. Mechanical and chemical engineers designing pressure equipment must follow this exact formula (or equivalent code provisions) to ensure their designs meet regulatory safety requirements before a vessel can be legally fabricated and put into service.

Section Modulus (Rectangle)
Z = bh²/6

Section modulus is a geometric property of a beam's cross-section that directly determines how much bending moment that beam can resist before reaching its material's allowable stress limit, calculated here for the common case of a simple rectangular cross-section. This formula reveals something important about efficient structural design: because the height (h) is squared while the width (b) is not, increasing a beam's height is a far more effective way to increase its bending resistance than increasing its width by the same amount, which is exactly why structural beams are typically oriented with their long dimension vertical. Section modulus essentially packages a beam's geometry into a single number that can be directly compared against a material's allowable stress to determine the maximum bending moment the beam can safely carry. This concept is fundamental to structural engineering and used constantly when sizing beams, joists, and other bending members in buildings, bridges, and mechanical frames. Engineers use section modulus tables and calculations like this one as a routine part of selecting appropriately sized structural members for a given expected load.

Moment of Inertia (Rect)
I = bh³/12

The moment of inertia of a cross-section (sometimes called the second moment of area) measures how a beam's material is distributed relative to its bending axis, and it's the fundamental geometric property that determines how much a beam will deflect (bend) under a given load. Just like section modulus, this formula shows that height matters far more than width for resisting bending — since h is cubed rather than just squared, doubling a beam's height increases its resistance to deflection by a factor of eight, while doubling its width only doubles that resistance. This dramatic difference is exactly why structural engineers favor tall, narrow beam cross-sections (like I-beams) over squat, wide ones when material efficiency and stiffness both matter. Moment of inertia appears throughout structural and mechanical engineering calculations, including beam deflection formulas, buckling analysis, and vibration frequency calculations for structural members. It's one of the very first properties engineers calculate when analyzing how a proposed beam or column will actually perform under real-world loading conditions.

Bending Stress
σ = M·y/I

This formula calculates the internal stress experienced at any point within a beam's cross-section as it bends under an applied moment, based on how far that point is from the beam's neutral axis (the imaginary line within the cross-section that experiences no stress at all during bending). Stress increases the further you move from that neutral axis, which is why the very top and bottom surfaces of a bending beam experience the highest stress (one side in tension, the other in compression), while the material right at the center barely experiences any stress at all. This is precisely why removing material from the center of a beam (as in an I-beam's web) barely reduces its strength, since that region wasn't doing much structural work in the first place, while removing material from the outer edges would dramatically weaken the beam. This formula is absolutely central to structural engineering, used to verify that a beam's peak bending stress stays safely below the material's allowable stress limit under expected loading. Civil and mechanical engineers use this calculation constantly when designing and checking beams, floor joists, bridge girders, and any other structural member subject to bending loads.

Buckling (Euler Column)
Pcr = π²EI/(KL)²

Euler's buckling formula predicts the critical compressive load at which a slender column will suddenly and catastrophically bow sideways (buckle) rather than simply compressing straight down, a failure mode that's fundamentally different from a material simply crushing under too much stress. This formula reveals that buckling resistance depends heavily on a column's length, since it appears squared in the denominator, meaning that even a modest increase in a column's unsupported length dramatically reduces the load it can safely carry before buckling. The effective length factor (K) accounts for how the column's ends are supported or restrained, since a column that's rigidly fixed at both ends resists buckling far better than one that's free to pivot, which changes the effective buckling length even though the physical length stays the same. This formula is absolutely critical in the design of any slender compression member, including building columns, bridge piers, and structural bracing, where buckling — not material crushing — is often the governing failure mode for long, thin members. Structural and mechanical engineers must check both material stress and buckling resistance separately, since a column can fail by buckling well before its material stress limit is ever reached.

Shear Stress (Circular)
τ = Tr/J

This formula calculates the internal shear stress at any point within a circular shaft subjected to torsion (a twisting load), based on how far that point sits from the shaft's central axis and a geometric property called the polar moment of inertia, which describes how the shaft's circular cross-section resists twisting. Just like bending stress increases with distance from a beam's neutral axis, shear stress from torsion increases with distance from a shaft's central axis, meaning the outer surface of a rotating shaft experiences the highest shear stress while the very center experiences essentially none. This is exactly why hollow shafts can be nearly as strong as solid ones for resisting torsion while using significantly less material, since removing material from the low-stress center barely affects the shaft's overall twisting capacity. This calculation is essential in mechanical engineering for designing drive shafts, axles, and any rotating component that transmits torque, ensuring the shaft won't twist to failure under expected operating loads. Mechanical engineers use this formula constantly when sizing shafts for machinery, vehicles, and rotating equipment where torque transmission is a primary design consideration.

Factor of Safety
FS = S_ult / σ_working

The factor of safety is a design ratio comparing a material's ultimate strength (the stress at which it actually fails) against the actual working stress a component experiences during normal operation, and it represents a deliberate safety margin built into virtually every engineered design. A factor of safety greater than 1 means the component is designed to withstand meaningfully more stress than it will actually encounter in service, providing a buffer against uncertainties like material inconsistencies, unexpected loads, fatigue over time, and imperfect assumptions made during the design process. Different applications require different factors of safety depending on the consequences of failure and the level of uncertainty involved — a component in a critical, life-safety application like an aircraft or elevator typically demands a much higher factor of safety than a low-stakes, easily replaceable part. This concept is fundamental across every branch of engineering, serving as the final check that translates raw stress calculations into confident, real-world design decisions. Engineers select an appropriate factor of safety based on industry codes, historical experience, and the specific risks and consequences associated with a given application, making it one of the most consequential judgment calls in the entire design process.

BEAAST
Engineering Decision Support System · Pro Tier
What is BEAAST?

BEAAST is a professional-grade engineering calculator and decision support tool. It is built for two audiences: working engineers who need accurate, auditable results — and students who need to understand the math behind every answer.

Every calculation is traceable. Every formula references an authoritative standard (ASME, NIST, ISO, CODATA). No black boxes.

How to Use
Calculator — Full scientific calculator. Type numbers, tap function keys, press Enter or = to solve. Press Esc to clear.
Convert — 20 unit categories with precision factors from NIST and ISO. Type a value, choose units, see all conversions instantly.
Formulas — Engineering and mathematics formula solvers across 10 disciplines. Click a formula card, enter known values, press Enter — BEAAST solves for the unknown and shows every step.
Why BEAAST Exists

Most calculators available online fall into one of two categories: bare-bones arithmetic tools that offer no context for the numbers they produce, or bloated academic software that buries a simple lookup behind a paywall or a clunky desktop install. BEAAST Pro was built to sit between those two extremes — a calculator fast enough for daily engineering work, but transparent enough that a student can actually learn from every result it produces.

The core idea is simple: a calculation is only as trustworthy as the standard it's built on. Every conversion factor, physical constant, and formula reference in BEAAST traces back to a named, citable source — NIST, CODATA, ISO, ASME, or an equivalent authority — rather than a number pulled from an unverified online table. When a result matters for a real design decision, you should be able to point to exactly where the underlying constant came from.

BEAAST also treats explanation as a first-class feature rather than an afterthought. Every formula in the reference library includes a full written explanation of what the formula does, why it works the way it does, and where it shows up in real engineering and scientific practice — not just the bare notation. The built-in AI tutor extends that same philosophy interactively: rather than simply returning an answer, it's designed to walk through the reasoning behind a step when you ask.

Who It's For

BEAAST is used by two overlapping groups. Engineering and physics students rely on it while working through coursework, using the step-by-step formula solver to check their own hand calculations and the reference library to actually understand a concept rather than just memorize it. Working engineers use it as a fast, standards-referenced sanity check during early-stage design — the kind of quick calculation that doesn't warrant opening a full CAD or FEA package, but still needs to be right.

Our Approach to Accuracy

Rather than hard-coding rounded approximations, BEAAST's constants and conversion factors are sourced directly from the latest published standards revisions — CODATA 2018 for physical constants, ISO 80000 for quantities and units, and IAU 2012 for astronomical constants. Where a standard has multiple accepted values depending on context (such as different gravitational acceleration conventions), the specific value used is documented on the relevant formula card.

Formula Disciplines
  • ◆ Calculus I & II
  • ◆ Linear Algebra
  • ◆ Discrete Math / CS
  • ◆ Classical Mechanics
  • ◆ Fluid Mechanics
  • ◆ Thermodynamics
  • ◆ Electrical Engineering
  • ◆ Structural Engineering
Unit Categories
  • ◆ Length, Area, Volume
  • ◆ Mass, Force, Pressure
  • ◆ Energy, Power, Torque
  • ◆ Temperature (ITS-90)
  • ◆ Speed, Flow, Viscosity
  • ◆ Density, Stress
  • ◆ Data Storage (SI + binary)
  • ◆ Live Currency (ECB-backed)
BEAAST AI Tutor

The built-in AI assistant explains any formula, step, or concept in plain language. Click Ask AI in the top bar, or use the Ask AI ↗ button on any formula step to get targeted help on exactly what confused you.

Copy any step and paste it into the chat for a focused, precise explanation.

Keyboard Shortcuts
Enter — Calculate / Solve
Esc — Clear all inputs
— Delete last character
0–9, . + − × ÷ — Type directly
BEAAST Pro · Conversion factors sourced from NIST, CODATA 2018, IAU 2012, ISO 80000 · All formula references cited on each card · Currency rates: European Central Bank via Frankfurter.app
Contact
Questions, bug reports, or feedback — we read every message
Send a Message
Name
Email
Message
Other Ways to Reach Us

Prefer to email directly? Reach us at beaastp@gmail.com.

Found an incorrect formula, a broken conversion factor, or a bug in the calculator? Let us know which formula or feature it is — we verify every reported issue against its cited standard before making a correction.

For questions about our Privacy Policy or how your data is handled, see the or reach out here directly.

History
No calculations yet.
Your history will appear here.
Online
BEAAST PRO
UTC
ENTER = solve  ·  ESC = clear  ·   ·   · 
BEAAST Tutor
Context: General
BEAAST Tutor · Ready Hi! Select any formula, work through the steps, then hit Ask AI ↗ on any step you want explained more clearly. I'll break it down simply and precisely.
Tip: use "Copy Step" on any step, then paste it here.
Settings
A  Size 15px
Settings are saved automatically to your browser.

Terms of Service

Effective Date: January 1, 2026  ·  Last Updated: June 2026

These Terms of Service ("Terms") govern your access to and use of BEAAST ("the Platform"), an Engineering Decision Support System operated for professional engineers, students, and computational professionals. By accessing or using BEAAST, you agree to be bound by these Terms in full.

1. Acceptance of Terms

By clicking "I Accept," accessing any feature of BEAAST, or continuing to use the Platform after any update to these Terms, you acknowledge that you have read, understood, and agreed to be legally bound by these Terms. If you do not agree, you must discontinue use immediately.

2. Description of Service

BEAAST provides the following tools under the Pro Tier:

  • A scientific and engineering calculator with full arithmetic and scientific functions
  • Unit conversion tools referencing NIST, CODATA 2018, IAU 2012, and ISO 80000 standards
  • Formula solvers across mathematics, engineering, and computer science disciplines
  • An AI-powered tutoring assistant ("BEAAST Tutor") powered by the Anthropic API
  • A live currency conversion module sourced from the European Central Bank

BEAAST is an engineering reference and educational tool. It is not a licensed professional engineering service and does not replace the judgment of a licensed professional engineer.

3. Accuracy and Disclaimer

While BEAAST sources all constants and conversion factors from authoritative references (NIST, ISO, CODATA, IAU), the Platform is provided "as is" and "as available." BEAAST makes no warranty, express or implied, that all results are free from error.

Important: BEAAST outputs must not be used as the sole basis for safety-critical engineering decisions, structural calculations, medical dosages, financial transactions, or any application where an error could result in harm, injury, loss of life, or financial loss without independent professional verification.

4. Intellectual Property

All content, design, code, formulas, and methodology within BEAAST are the intellectual property of BEAAST Systems. You may not reproduce, redistribute, decompile, reverse engineer, or create derivative works from any part of BEAAST without express written permission.

5. Limitation of Liability

To the maximum extent permitted by applicable law, BEAAST Systems shall not be liable for any direct, indirect, incidental, special, consequential, or punitive damages arising from your use of or inability to use the Platform, including but not limited to errors in calculation results, loss of data, or business interruption.

6. Governing Law

These Terms are governed by and construed in accordance with applicable laws. Any disputes arising under these Terms shall be resolved through binding arbitration before resort to litigation.

7. Changes to Terms

BEAAST reserves the right to modify these Terms at any time. Continued use of the Platform following any modification constitutes your acceptance of the revised Terms.