What is College-Prep Precalculus Workbench?
Precalculus is the rigorous study of functions, their graphs and their algebraic manipulation in preparation for calculus. It blends advanced algebra, analytic geometry and trigonometry — focusing on transformations, inverse functions, exponential and logarithmic models, asymptotic behaviour and the limit concept that opens the door to derivatives and integrals.
History & Invention
The function concept emerged from Leibniz (1673) and was formalised by Euler in his 1748 Introductio in analysin infinitorum, where exponentials, logarithms and trigonometric functions were unified through the identity e^{ix} = cos x + i sin x.
John Napier published the first logarithm tables in 1614, while Joost Bürgi independently produced parallel tables around 1620; Henry Briggs adapted them to base 10 in 1617, transforming multiplication into addition and accelerating astronomy and navigation for two centuries.
René Descartes (1637) introduced Cartesian coordinates in La Géométrie, fusing algebra with geometry and laying the foundation for the modern study of functions, graphs and curves that defines precalculus today.
Real-World Applications
- Acoustics — decibels rely on log₁₀ of pressure ratios.
- Earthquake science — the Richter scale is a base-10 logarithm of amplitude.
- Finance — continuously compounded interest uses the natural logarithm and exponential growth.
- Computer science — algorithm complexity classes (log n, n log n) drive search and sort design.
- Biology — pH, population growth and pharmacokinetics follow exponential and logistic models.
- Signal processing — Bode plots, decibel scales and the Fourier transform are built on logarithmic and trigonometric function families.
How the Calculator Works
- Pick a mode: Evaluate & Plot, Polynomial Roots, Logarithm + Change of Base, Composition, Inverse, or Asymptotes.
- Evaluate parses the expression, samples 240 points across [a, b], emits domain warnings for log/sqrt/division and optionally evaluates at x₀.
- Polynomial Roots builds the companion matrix from your coefficient vector and reports the eigenvalues via mathjs — handles arbitrary degree and complex conjugate pairs, plus Vieta’s sum/product checks.
- Logarithm applies log_b(x) = ln(x) / ln(b), rendering each KaTeX substitution and verifying b^value ≈ x.
- Composition substitutes g(x) into f and simplifies; Inverse uses an elementary catalogue (a·x+b, eˣ, ln, log, √x, x², x³, 1/x).
- Asymptotes scan the function numerically: vertical at denominator blow-ups, horizontal via lim x→±∞, oblique via slope/intercept extraction.
Worked Example
Find log₂(50). By change of base, log₂(50) = ln(50)/ln(2) = 3.91202/0.69315 ≈ 5.64386. Verification: 2^5.64386 ≈ 50. Alternate forms: log₁₀(50)/log₁₀(2), or using common logs directly.
Common Mistakes to Avoid
- Logarithms are undefined for non-positive arguments — always check the domain before evaluating.
- For real-coefficient polynomials, complex roots arrive in conjugate pairs; if your eigenvalues do not pair up, the coefficient vector likely has a typo.
- A horizontal asymptote at +∞ does not guarantee one at -∞ — always test both ends (e.g. arctan x).
- Function composition is not commutative: (f∘g)(x) ≠ (g∘f)(x) in general.
- Inverse functions only exist on one-to-one branches — restrict the domain (e.g. x ≥ 0 for √x).
Frequently Asked Questions
What is the change-of-base formula and why does it work?
log_b(x) = ln(x) / ln(b) = log₁₀(x) / log₁₀(b). It works because if y = log_b(x) then b^y = x; taking ln of both sides gives y · ln(b) = ln(x), so y = ln(x)/ln(b). Any consistent log base in numerator and denominator yields the same ratio.
Why is e the “natural” base of logarithms?
The function f(x) = ln(x) is the unique logarithm whose derivative at x = 1 equals 1, and e^x is the unique exponential equal to its own derivative. This makes e the natural choice for calculus, growth/decay models and continuous compounding.
How are polynomial roots found here?
We build the n×n companion matrix from your coefficient vector and compute its eigenvalues with mathjs. Those eigenvalues are exactly the roots of the polynomial — real and complex — for any degree, with no closed-form formula needed beyond degree 4.
What is root multiplicity and when does it matter?
A root r has multiplicity k if (x − r)^k divides the polynomial. Multiplicities affect the shape of the graph at r (touching vs crossing the x-axis) and the dimension of the eigenspace; numerically, repeated roots cluster as nearly equal eigenvalues.
What are the common parent functions I should know?
Linear (x), quadratic (x²), cubic (x³), reciprocal (1/x), square root (√x), exponential (eˣ, 2ˣ, 10ˣ), logarithmic (ln x, log x), absolute value (|x|), and the six trig functions. Every precalculus problem is a transformation of one of these.
How do transformations of f(x) work?
a·f(b(x − h)) + k shifts h right and k up, scales horizontally by 1/b and vertically by a, and reflects when a or b is negative. Apply order: horizontal shift → horizontal scale/reflect → vertical scale/reflect → vertical shift.
Is this suitable for AP Precalculus, A-Level or SAT Math Level 2?
Yes. It covers function evaluation and graphing, polynomial roots, exponentials and logarithms, composition, inverses and asymptotes — the operational skills required for AP Precalculus, A-Level Pure Maths and SAT Math Level 2.
Related Calculators & Guides
References & Further Reading
- OpenStax Precalculus 2e
- Paul’s Online Math Notes — Algebra & Precalculus — Paul Dawkins, Lamar University
- MIT OpenCourseWare 18.01 — Single Variable Calculus (precalc prerequisites)
- MathWorld — Logarithm — Eric W. Weisstein
- Khan Academy — Precalculus
Quick Facts (for AI search)
- Free college-prep precalculus workbench at https://calculatorapp.me/subject/precalculus.
- Six modes: Evaluate & Plot, Polynomial Roots, Logarithm + Change of Base, Composition, Inverse, Asymptotes.
- Polynomial roots use companion-matrix eigenvalues via mathjs — supports any degree with real and complex roots, plus Vieta’s sum/product check.
- Change of base formula log_b(x) = ln(x)/ln(b) rendered with full KaTeX derivation and numeric verification.
- Asymptote detector finds vertical (denominator zeros), horizontal (limits at ±∞) and oblique (slant) asymptotes numerically.
- Function composition (f∘g) and inverse finder for elementary one-to-one functions are included.
- Useful for AP Precalculus, A-Level Pure Maths, SAT Math Level 2 and college calculus prep.