Function composition
Enter two functions and evaluate f(g(x)) and g(f(x)) at your chosen value.
Enter your own math expressions, follow the worked steps, and check your answer. The lecture reference is here when you need it.
Explore the toolkit →Open a lecture to browse its definitions, identities, graph properties, and differentiation formulas.
f: S → T assigns each x ∈ S exactly one output f(x); Domain(f) = S; Range(f) = {f(x) : x ∈ S}
Denominator ≠ 0; even-root radicand ≥ 0; logarithm argument > 0
(g ∘ f)(x) = g(f(x)); require x ∈ Domain(f) and f(x) ∈ Domain(g)
f⁻¹(f(x)) = x; f(f⁻¹(y)) = y; Domain(f⁻¹) = Range(f)
The inverse exists as a function when f is one-to-one (horizontal-line test). Its graph reflects the graph of f across y = x.
Even: f(−x) = f(x) (y-axis symmetry); odd: f(−x) = −f(x) (origin symmetry)
If lim f(x) = L and lim g(x) = M: lim(f ± g) = L ± M; lim(cf) = cL; lim(fg) = LM
lim(f/g) = L/M when M ≠ 0; lim[f(x)]ⁿ = Lⁿ
limₓ→ₐ f(x) = L exists exactly when limₓ→ₐ⁻ f(x) = limₓ→ₐ⁺ f(x) = L
f is continuous at a iff f(a) is defined and limₓ→ₐ f(x) = f(a)
A removable discontinuity has a limit but a missing or mismatched point value; a jump has unequal one-sided limits; an infinite discontinuity has a one-sided limit that diverges.
For n > 0: limₓ→∞ 1/xⁿ = 0 and limₓ→−∞ 1/xⁿ = 0
sin θ = opposite/hypotenuse; cos θ = adjacent/hypotenuse; tan θ = sin θ/cos θ
csc θ = 1/sin θ; sec θ = 1/cos θ; cot θ = cos θ/sin θ = 1/tan θ
sin²x + cos²x = 1; sec²x = 1 + tan²x; csc²x = 1 + cot²x
sin(a ± b) = sin a cos b ± cos a sin b; cos(a ± b) = cos a cos b ∓ sin a sin b
tan(a ± b) = (tan a ± tan b)/(1 ∓ tan a tan b)
sin(2x) = 2sin x cos x; cos(2x) = cos²x − sin²x = 2cos²x − 1 = 1 − 2sin²x
sin²x = [1 − cos(2x)]/2; cos²x = [1 + cos(2x)]/2; tan(2x) = 2tan x/(1 − tan²x)
sin x: D = ℝ, R = [−1,1], period 2π, odd; cos x: D = ℝ, R = [−1,1], period 2π, even
tan x: D = ℝ \ {π/2 + kπ}, R = ℝ, period π, odd; cot x: D = ℝ \ {kπ}, R = ℝ, period π, odd
sec x: D = ℝ \ {π/2 + kπ}, R = (−∞,−1] ∪ [1,∞), period 2π, even
csc x: D = ℝ \ {kπ}, R = (−∞,−1] ∪ [1,∞), period 2π, odd; k ∈ ℤ
aᵐaⁿ = aᵐ⁺ⁿ; aᵐ/aⁿ = aᵐ⁻ⁿ; (aᵐ)ⁿ = aᵐⁿ; a⁻ⁿ = 1/aⁿ; (ab)ˣ = aˣbˣ
cosh x = (eˣ + e⁻ˣ)/2; sinh x = (eˣ − e⁻ˣ)/2; tanh x = sinh x/cosh x
coth x = cosh x/sinh x; sech x = 1/cosh x; csch x = 1/sinh x
cosh²x − sinh²x = 1; sinh(2x) = 2sinh x cosh x; cosh(2x) = cosh²x + sinh²x
sinh²x = [cosh(2x) − 1]/2; cosh²x = [cosh(2x) + 1]/2; tanh(2x) = 2tanh x/[1 + tanh²x]
sinh: D=ℝ, R=ℝ (odd); cosh: D=ℝ, R=[1,∞) (even); tanh: D=ℝ, R=(−1,1) (odd)
coth: D=ℝ\{0}, R=(−∞,−1)∪(1,∞); sech: D=ℝ, R=(0,1]; csch: D=ℝ\{0}, R=ℝ\{0}
Hyperbolic functions are not periodic; cosh and sech are even, while sinh, tanh, coth and csch are odd.
arcsin: D = [−1,1], R = [−π/2,π/2]; arccos: D = [−1,1], R = [0,π]
arctan: D = ℝ, R = (−π/2,π/2); inverse-trig graphs are non-periodic
sin(arcsin x) = x; arcsin(sin x) = x only for x ∈ [−π/2,π/2]
cos(arccos x) = x; arccos(cos x) = x only for x ∈ [0,π]
tan(arctan x) = x; arctan(tan x) = x only for −π/2 < x < π/2
arccsc x = arcsin(1/x); arcsec x = arccos(1/x); arccot x = π/2 − arctan x (principal range (0,π))
Notation: sin⁻¹x means arcsin x; 1/sin x means csc x.
aˣ ↔ logₐx, where a > 0 and a ≠ 1; Domain(logₐx) = (0,∞), Range = ℝ
ln(eˣ) = x; eˡⁿˣ = x for x > 0; ln(xy) = ln x + ln y
ln(x/y) = ln x − ln y; ln(xʳ) = r ln x; Domain(ln x) = (0,∞), Range = ℝ
arsech x = arcosh(1/x); arcsch x = arsinh(1/x); arcoth x = artanh(1/x)
f′(x) = limₕ→₀ [f(x + h) − f(x)]/h, if the limit exists
Tangent at x = a: y − f(a) = f′(a)(x − a)
Differentiability implies continuity; continuity alone does not guarantee differentiability.
(cf)′ = cf′; (f ± g)′ = f′ ± g′; (fg)′ = f′g + fg′
(f/g)′ = (f′g − fg′)/g²; [f(g(x))]′ = f′(g(x))g′(x)
(c)′ = 0; (xⁿ)′ = nxⁿ⁻¹; (√x)′ = 1/(2√x); (aˣ)′ = aˣ ln a; (ln x)′ = 1/x
(sin x)′ = cos x; (cos x)′ = −sin x; (tan x)′ = sec²x; (cot x)′ = −csc²x
(sec x)′ = sec x tan x; (csc x)′ = −csc x cot x
(sinh x)′ = cosh x; (cosh x)′ = sinh x; (tanh x)′ = sech²x; (coth x)′ = −csch²x
(sech x)′ = −sech x tanh x; (csch x)′ = −csch x coth x
(arcsin x)′ = 1/√(1−x²); (arccos x)′ = −1/√(1−x²); (arctan x)′ = 1/(1+x²)
(arccot x)′ = −1/(1+x²); (arcsec x)′ = 1/[|x|√(x²−1)]; (arccsc x)′ = −1/[|x|√(x²−1)]
(arsinh x)′ = 1/√(1+x²); (arcosh x)′ = 1/√(x²−1); (artanh x)′ = 1/(1−x²)
(arcoth x)′ = 1/(1−x²); (arsech x)′ = −1/[x√(1−x²)]; (arcsch x)′ = −1/[|x|√(1+x²)]
Use |x| > 1 for arcsec/arccsc, x > 1 for arcosh, |x| < 1 for artanh, |x| > 1 for arcoth, 0 < x < 1 for arsech, and x ≠ 0 for arcsch.
For an implicit relation, differentiate both sides with respect to x, treat y as a function of x, then solve for y′.
If x = g(t), y = h(t): dy/dx = (dy/dt)/(dx/dt), when dx/dt ≠ 0
y′ = dy/dx; y″ = d²y/dx²; y⁽ⁿ⁾ = dⁿy/dxⁿ
Take ln of both sides, simplify with logarithm laws, differentiate implicitly, then solve for y′.
For y ≠ 0: y′/y = d/dx[ln|y|]
If y = (uᵃvᵇ)/(wᶜ), then y′/y = a(u′/u) + b(v′/v) − c(w′/w)
Example: y = xˡⁿˣ (x > 0) ⇒ y′ = 2y ln(x)/x
f(x) = f(a) + f′(a)(x−a)/1! + f″(a)(x−a)²/2! + f‴(a)(x−a)³/3! + ···
Maclaurin is the Taylor series at a = 0. The series represents f where it converges.
e³ˣ = 1 + 3x + 9x²/2! + 27x³/3! + ···
Use any supported expression, open the worked steps, then check your answer. The lecture list is a reference—not a limit on what you can enter.
Enter two functions and evaluate f(g(x)) and g(f(x)) at your chosen value.
Enter any supported f(x), the approach value, and direction. Compare nearby values and review the method.
Compare f(a) with the one-sided limits to explore the behavior near a point.
Check a domain value, estimate the range over an interval, and explore symmetry.
Evaluate trigonometric and reciprocal functions, exponentials, logarithms, and hyperbolic functions.
Evaluate inverses of linear, exponential, trigonometric, and hyperbolic functions.
Apply core and inverse-function rules, then evaluate the first, second, or third derivative at a point.
Use d/dx[ln|y|] = y′/y to differentiate products, quotients, and variable powers.
Build a Taylor polynomial about a, or a Maclaurin polynomial when a = 0.
Estimate dy/dx for an implicit relation F(x,y)=0 at a chosen point.
Find dy/dx for x(t) and y(t) at a chosen parameter value.
Choose a function to see its graph and key properties. Inverse trigonometric graphs use the principal branches from Lecture 4.
ⓘ Enter expressions using x, + − * / ^, and parentheses. Supported functions include trigonometric, inverse, logarithmic, exponential, and hyperbolic functions. Worked steps explain the method; answer checking compares the final value. Limits, continuity, and range are numerical estimates, not symbolic proofs.