Calculus · Precalculus · AP Calculus

AI Calculus Solver for derivatives, integrals and limits

Calculus rewards seeing which rule applies and punishes the small algebra slip three lines later. This AI calculus solver names the rule at each step — chain rule, product rule, substitution, parts — and then checks the result independently: derivatives numerically, integrals by differentiating them back.

  • ✓ Integrals differentiated back
  • Rule named at every step
  • Limits at a point or ∞
  • Free, unlimited typing

What math problem do you want to solve?

Ctrl+V pastes a screenshot · Shift+Enter: new line (one equation per line)

Try

Typed problems our engine solves stay in your browser. Photos, screenshots, PDFs and AI-helped problems are processed by our AI service — privacy.

Calculus · Precalculus · AP Calculus · worked example✓ Verified
ddxx2sin⁡(x)\frac{d}{dx} x^{2} \sin(x)
Differentiate with respect to x
ddx[(x2)⋅sin⁡(x)]\frac{d}{dx} [(x ^ 2) \cdot \sin(x)]
Apply the product rule
((x2))′(sin⁡(x))+((x2))(sin⁡(x))′((x ^ 2))'(\sin(x)) + ((x ^ 2))(\sin(x))'
Find each part
f′=2x,g′=cos⁡(x)\displaystyle f' = 2x,\allowbreak g' = \cos(x)
2x⋅sin⁡(x)+x2cos⁡(x)2x \cdot \sin(x)+x^{2}\cos(x)Re-checked by a second engine
Calculus · Precalculus · AP Calculus · worked example✓ Verified
ddx3x+1\frac{d}{dx} \sqrt{3x+1}
Differentiate with respect to x
ddx[3⋅x+1]\frac{d}{dx} [\sqrt{3 \cdot x + 1}]
Apply the chain rule
ddx[3⋅x+1]=sqrt′(3⋅x+1)⋅ddx[3⋅x+1]\displaystyle \frac{d}{dx}[\sqrt{3 \cdot x + 1}] = sqrt'(3 \cdot x + 1) \cdot \frac{d}{dx}[3 \cdot x + 1]
Differentiate the outer and inner parts
outer: (12)⋅(3⋅x+1)−12,inner: 3\displaystyle \allowbreak \text{outer: } (\frac{1}{2}) \cdot (3 \cdot x + 1)^{-\frac{1}{2}},\allowbreak \quad \allowbreak \text{inner: } 3
(32)⋅(3x+1)−12(\frac{3}{2}) \cdot (3x+1)^{-\frac{1}{2}}Re-checked by a second engine
Calculus · Precalculus · AP Calculus · worked example✓ Verified
critical points of x2+y2\text{critical }\allowbreak \text{points }\allowbreak \text{of } x^{2} + y^{2}
Find the partial derivatives
∂f∂x=2x,∂f∂y=2y\displaystyle \frac{\partial f}{\partial x} = 2x,\allowbreak \quad \frac{\partial f}{\partial y} = 2y
Solve the linear system
2x=0,2y=0⇒(0,0)\displaystyle 2x = 0,\allowbreak \quad 2y = 0 \Rightarrow (0, 0)
Apply the second-derivative test
D=fxxfyy−fxy2=4D = f_{xx}f_{yy} - f_{xy}^2 = 4
local minimum at (0,0)\displaystyle \allowbreak \text{local minimum} \allowbreak \text{ at } (0, 0)Re-checked by a second engine

1 / 3

Worked calculus

Five calculus problems, rule by rule

The same engine you use above produced these steps. Watch for the step where the rule is named — that is the decision you have to make on a test.

Example 1 · Product rule

ddxx2sin⁡(x)\frac{d}{dx} x^{2} \sin(x)

Two functions multiplied together: differentiate one at a time, keep the other, and add.

2x⋅sin⁡(x)+x2cos⁡(x)2x \cdot \sin(x)+x^{2}\cos(x)
✓ Verified

Independent check

x=0.7:f′(0.7)=1.276677434 ≈ 1.276677434 (difference quotient)x = 0.7:\quad f'(0.7) = 1.276677434\ \approx\ 1.276677434\ \text{(difference quotient)}
x=1.7:f′(1.7)=2.999299767 ≈ 2.999299767 (difference quotient)x = 1.7:\quad f'(1.7) = 2.999299767\ \approx\ 2.999299767\ \text{(difference quotient)}
  1. Differentiate with respect to x
    ddx[(x2)⋅sin⁡(x)]\frac{d}{dx} [(x ^ 2) \cdot \sin(x)]
    This is the derivative to find.
  2. Apply the product rule
    ((x2))′(sin⁡(x))+((x2))(sin⁡(x))′((x ^ 2))'(\sin(x)) + ((x ^ 2))(\sin(x))'
    For f·g, the rule is f'g + fg'.
  3. Find each part
    f′=2x,g′=cos⁡(x)\displaystyle f' = 2x,\allowbreak g' = \cos(x)
    Differentiate the two factors separately.
  4. Put it together
    2x⋅(sin⁡(x))+((x2))⋅cos⁡(x)2x \cdot (\sin(x)) + ((x ^ 2)) \cdot \cos(x)
    Assemble f'g + fg'.
  5. Simplify
    2x⋅sin⁡(x)+x2cos⁡(x)2x \cdot \sin(x)+x^{2}\cos(x)
    Collect terms for the final answer.

Example 2 · Chain rule with a root

ddx3x+1\frac{d}{dx} \sqrt{3x+1}

Rewrite the root as a power of ½, then multiply by the derivative of the inside, 3x + 1.

(32)⋅(3x+1)−12(\frac{3}{2}) \cdot (3x+1)^{-\frac{1}{2}}
✓ Verified

Independent check

x=0.7:f′(0.7)=0.8519427514 ≈ 0.8519427514 (difference quotient)x = 0.7:\quad f'(0.7) = 0.8519427514\ \approx\ 0.8519427514\ \text{(difference quotient)}
x=1.7:f′(1.7)=0.6073322476 ≈ 0.6073322476 (difference quotient)x = 1.7:\quad f'(1.7) = 0.6073322476\ \approx\ 0.6073322476\ \text{(difference quotient)}
  1. Differentiate with respect to x
    ddx[3⋅x+1]\frac{d}{dx} [\sqrt{3 \cdot x + 1}]
    This is the derivative to find.
  2. Apply the chain rule
    ddx[3⋅x+1]=sqrt′(3⋅x+1)⋅ddx[3⋅x+1]\displaystyle \frac{d}{dx}[\sqrt{3 \cdot x + 1}] = sqrt'(3 \cdot x + 1) \cdot \frac{d}{dx}[3 \cdot x + 1]
    Differentiate the outer function, then multiply by the derivative of what is inside.
  3. Differentiate the outer and inner parts
    outer: (12)⋅(3⋅x+1)−12,inner: 3\displaystyle \allowbreak \text{outer: } (\frac{1}{2}) \cdot (3 \cdot x + 1)^{-\frac{1}{2}},\allowbreak \quad \allowbreak \text{inner: } 3
    Handle each layer on its own.
  4. Simplify
    (32)⋅(3x+1)−12(\frac{3}{2}) \cdot (3x+1)^{-\frac{1}{2}}
    Collect terms for the final answer.

Example 3 · u-substitution

∫2x(x2+1)3 dx\int 2x(x^{2}+1)^{3} \, dx

The 2x outside is exactly the derivative of the x² + 1 inside — the signal that substitution will work.

(14)⋅(x2+1)4+C(\frac{1}{4}) \cdot (x^{2}+1)^{4} + C
✓ Verified
  1. Integrate with respect to x
    ∫2x⋅((x2+1)3) dx\int 2x \cdot ((x^{2}+1)^{3}) \, dx
    This is the antiderivative to find.
  2. Find the antiderivative
    (14)⋅(x2+1)4(\frac{1}{4}) \cdot (x^{2}+1)^{4}
    Apply the standard integral rules.
  3. Add the constant of integration
    (14)⋅(x2+1)4+C(\frac{1}{4}) \cdot (x^{2}+1)^{4} + C
    Derivatives kill constants, so every antiderivative comes with an unknown + C.

Example 4 · Exponential integral

∫e2x dx\int e^{2x} \, dx

Reverse the chain rule: the 2 in the exponent becomes a factor of ½ in front.

(12)⋅e2x+C(\frac{1}{2}) \cdot e^{2x} + C
✓ Verified
  1. Integrate with respect to x
    ∫e2x dx\int e^{2x} \, dx
    This is the antiderivative to find.
  2. Apply the power rule for integrals
    ∫xndx=xn+1n+1+C dx\int x^{n} dx = \frac{x^{n+1}}{n+1} + C \, dx
    Raise the exponent by one, then divide by the new exponent.
  3. Add the constant of integration
    (12)⋅e2x+C(\frac{1}{2}) \cdot e^{2x} + C
    Derivatives kill constants, so every antiderivative comes with an unknown + C.

Example 5 · Limit at infinity

lim⁡x→∞3x2+1x2−5\lim_{x \to \infty} \frac{3x^{2}+1}{x^{2}-5}

Divide top and bottom by the highest power of x; every term with x left in a denominator fades to zero.

33
✓ Verified

When the degrees of the top and bottom match, the limit at infinity is the ratio of the leading coefficients — here 3 ÷ 1.

  1. Find the limit as x → oo
    lim(x→∞)3(x2)+1x2−5lim (x→\infty) \frac{3(x^{2})+1}{x^{2}-5}
    This is the limit to evaluate.
  2. Evaluate far out
    f(1010)≈3,f(1012)≈3\displaystyle f(10^{10}) ≈ 3,\allowbreak f(10^{12}) ≈ 3
    Far from zero the function settles toward its limiting value.

Reference

The rules the solver uses most

Every one of these appears as a tappable rule chip in the solver’s steps.

Power rule

ddxxn=nxn−1\frac{d}{dx}x^n = n x^{n-1}

Works for any real n, including negative and fractional powers.

Product rule

(uv)′=u′v+uv′(uv)' = u'v + uv'

Differentiate each factor in turn, keeping the other unchanged.

Quotient rule

(uv)′=u′v−uv′v2\left(\frac{u}{v}\right)' = \frac{u'v - uv'}{v^2}

Order matters in the numerator: derivative of the top first.

Chain rule

ddxf(g(x))=f′(g(x)) g′(x)\frac{d}{dx}f(g(x)) = f'(g(x))\,g'(x)

Outside derivative, inside left alone, times the inside derivative.

Integration by parts

∫u dv=uv−∫v du\int u\,dv = uv - \int v\,du

Choose u to be the factor that gets simpler when differentiated.

Fundamental theorem

∫abf(x) dx=F(b)−F(a)\int_a^b f(x)\,dx = F(b) - F(a)

Any antiderivative F works; the + C cancels.

Verification

How the AI calculus solver checks an answer

Calculus answers can look very different and still be equal — sin⁡2x\sin^2 x and −12cos⁡2x-\tfrac{1}{2}\cos 2x differ only by a constant, so both are valid antiderivatives of sin⁡2x\sin 2x. That makes checking by eye unreliable. The solver checks each kind of answer in the way that cannot be fooled by form:

  • Derivatives are compared against a numerical derivative (a finite difference) at many sample points.
  • Integrals are differentiated back and compared with the integrand — the definition of an antiderivative.
  • Limits are checked by evaluating the function closer and closer to the target point, or at larger and larger values for limits at infinity — the limit calculator shows that check line by line.

A correct answer in an unfamiliar form therefore still earns ✓ Verified, and an answer that only looks right does not. If your textbook shows a different form for a derivative, type simplify followed by the difference of the two answers: if it comes out as 0, they are the same. For an antiderivative, a constant is allowed — differentiate the textbook’s form with d/dx and compare it with the integrand.

Precalculus

Shaky on the algebra underneath?

Most calculus mistakes are algebra mistakes. A derivative is set up correctly and then lost to a sign error, or an integral substitution fails because (x2+1)3(x^2+1)^3 was expanded wrongly. If that sounds familiar, the precalculus skills below are worth ten minutes before the next problem set.

Factoring and cancelling are tested in almost every limit; exponent rules in every power-rule derivative; trig identities in most trig integrals. The algebra solver, trigonometry solver and logarithm calculator cover them with the same step-by-step working. When the calculus and the algebra arrive in the same question, type it as one problem into the AI math solver rather than splitting it across pages.

Preparing for the AP exam? The AP Calculus page covers the AB and BC units and how the free-response questions are scored.

Constrained extrema and quadratic critical points

A constrained maximum and an unconstrained critical point ask different questions. These two cases show the exact implemented scope, with their own checks.

Example 6 · All extrema on a sphere and a plane

Find the absolute maximum and minimum of xyz subject to x2+y2+z2=12 and x+y+z=0.\text{Find }\allowbreak \text{the }\allowbreak \text{absolute }\allowbreak \text{maximum }\allowbreak \text{and }\allowbreak \text{minimum }\allowbreak \text{of } xyz \text{ }\allowbreak \text{subject }\allowbreak \text{to } x^{2} + y^{2} + z^{2} = 12 \text{ }\allowbreak \text{and } x + y + z = 0.

Optimize a product subject to two polynomial equality constraints. Keep every permutation of the maximizing and minimizing points.

Maximum 42 at (22,−2,−2) and (−2,22,−2) and (−2,−2,22)\allowbreak \text{Maximum } 4\sqrt{2} \allowbreak \text{ at } \left(2\sqrt{2}, -\sqrt{2}, -\sqrt{2}\right) \allowbreak \text{ and } \left(-\sqrt{2}, 2\sqrt{2}, -\sqrt{2}\right) \allowbreak \text{ and } \left(-\sqrt{2}, -\sqrt{2}, 2\sqrt{2}\right)
Minimum −42 at (2,2,−22) and (2,−22,2) and (−22,2,2)\allowbreak \text{Minimum } -4\sqrt{2} \allowbreak \text{ at } \left(\sqrt{2}, \sqrt{2}, -2\sqrt{2}\right) \allowbreak \text{ and } \left(\sqrt{2}, -2\sqrt{2}, \sqrt{2}\right) \allowbreak \text{ and } \left(-2\sqrt{2}, \sqrt{2}, \sqrt{2}\right)
✓ Verified

Independent check

(2)2+(2)2+(−22)2−12=0,(2)+(2)+(−22)=0at (2,2,−22), where f(2,2,−22)=−42.(\sqrt{2})^{2} + (\sqrt{2})^{2} + (-2\sqrt{2})^{2} - 12 = 0,\quad (\sqrt{2}) + (\sqrt{2}) + (-2\sqrt{2}) = 0\quad \text{at } \left(\sqrt{2}, \sqrt{2}, -2\sqrt{2}\right)\text{, where } f\left(\sqrt{2}, \sqrt{2}, -2\sqrt{2}\right) = -4\sqrt{2}\text{.}
(22)2+(−2)2+(−2)2−12=0,(22)+(−2)+(−2)=0at (22,−2,−2), where f(22,−2,−2)=42.(2\sqrt{2})^{2} + (-\sqrt{2})^{2} + (-\sqrt{2})^{2} - 12 = 0,\quad (2\sqrt{2}) + (-\sqrt{2}) + (-\sqrt{2}) = 0\quad \text{at } \left(2\sqrt{2}, -\sqrt{2}, -\sqrt{2}\right)\text{, where } f\left(2\sqrt{2}, -\sqrt{2}, -\sqrt{2}\right) = 4\sqrt{2}\text{.}

The variables are real and both constraints apply. The feasible set is compact; all three maxima and all three minima are included.

  1. Set up the Lagrange equations
    L=xyz−λ(x2+y2+z2−12)−μ(x+y+z),∂L∂x=yz−λ(2x)−μ(1)=0,∂L∂y=xz−λ(2y)−μ(1)=0,∂L∂z=xy−λ(2z)−μ(1)=0,yz=λ(2x)+μ(1),xz=λ(2y)+μ(1),xy=λ(2z)+μ(1),x2+y2+z2−12=0,x+y+z=0\displaystyle L = xyz - \lambda\left(x^{2} + y^{2} + z^{2} - 12\right) - \mu\left(x + y + z\right),\allowbreak \quad \frac{\partial L}{\partial x} = yz - \lambda\left(2x\right) - \mu\left(1\right) = 0,\allowbreak \quad \frac{\partial L}{\partial y} = xz - \lambda\left(2y\right) - \mu\left(1\right) = 0,\allowbreak \quad \frac{\partial L}{\partial z} = xy - \lambda\left(2z\right) - \mu\left(1\right) = 0,\allowbreak \quad yz = \lambda\left(2x\right) + \mu\left(1\right),\allowbreak \quad xz = \lambda\left(2y\right) + \mu\left(1\right),\allowbreak \quad xy = \lambda\left(2z\right) + \mu\left(1\right),\allowbreak \quad x^{2} + y^{2} + z^{2} - 12 = 0,\allowbreak \quad x + y + z = 0
    At a constrained extremum the gradient of the function lines up with the gradient of the constraint, so ∇f = λ∇g + μ∇h: one equation per variable, plus the constraint itself.
  2. Eliminate λ and μ
    2x2y−2x2z−2xy2+2xz2+2y2z−2yz2=0\displaystyle 2x^{2}y - 2x^{2}z - 2xy^{2} + 2xz^{2} + 2y^{2}z - 2yz^{2} = 0
    The three gradients lie in one plane exactly when their determinant is zero; this removes λ and μ and leaves an equation in the variables only.
  3. Solve the system
    x+y+z=0,y2+yz+z2−6=0,yz2−2y+12⋅z3−z=0,z4−10z2+16=0,(z2−2)⋅(z2−8)=0\displaystyle x + y + z = 0,\allowbreak \quad y^{2} + yz + z^{2} - 6 = 0,\allowbreak \quad yz^{2} - 2y + \frac{1}{2} \cdot z^{3} - z = 0,\allowbreak \quad z^{4} - 10z^{2} + 16 = 0,\allowbreak \quad \left(z^{2}-2\right) \cdot \left(z^{2}-8\right) = 0
    Together with the constraint, these equations are equivalent to the original system. Solve the equation in z alone first (factored when possible), then substitute each root into the preceding equations to recover x and y.
  4. List the candidate points
    (2,2,−22) (λ=−22, μ=−2),(22,−2,−2) (λ=22, μ=−2),(−2,22,−2) (λ=22, μ=−2),(2,−22,2) (λ=−22, μ=−2),(−22,2,2) (λ=−22, μ=−2),(−2,−2,22) (λ=22, μ=−2)\displaystyle \left(\sqrt{2}, \sqrt{2}, -2\sqrt{2}\right)\ (\lambda = -\frac{\sqrt{2}}{2},\ \mu = -2),\allowbreak \quad \left(2\sqrt{2}, -\sqrt{2}, -\sqrt{2}\right)\ (\lambda = \frac{\sqrt{2}}{2},\ \mu = -2),\allowbreak \quad \left(-\sqrt{2}, 2\sqrt{2}, -\sqrt{2}\right)\ (\lambda = \frac{\sqrt{2}}{2},\ \mu = -2),\allowbreak \quad \left(\sqrt{2}, -2\sqrt{2}, \sqrt{2}\right)\ (\lambda = -\frac{\sqrt{2}}{2},\ \mu = -2),\allowbreak \quad \left(-2\sqrt{2}, \sqrt{2}, \sqrt{2}\right)\ (\lambda = -\frac{\sqrt{2}}{2},\ \mu = -2),\allowbreak \quad \left(-\sqrt{2}, -\sqrt{2}, 2\sqrt{2}\right)\ (\lambda = \frac{\sqrt{2}}{2},\ \mu = -2)
    These are the only points where an extremum can occur.
  5. Evaluate the function at each candidate
    f(2,2,−22)=(2)⋅(2)⋅(−22)=−42,f(22,−2,−2)=(22)⋅(−2)⋅(−2)=42,f(−2,22,−2)=(−2)⋅(22)⋅(−2)=42,f(2,−22,2)=(2)⋅(−22)⋅(2)=−42,f(−22,2,2)=(−22)⋅(2)⋅(2)=−42,f(−2,−2,22)=(−2)⋅(−2)⋅(22)=42\displaystyle f\left(\sqrt{2}, \sqrt{2}, -2\sqrt{2}\right) = (\sqrt{2}) \cdot (\sqrt{2}) \cdot (-2\sqrt{2}) = -4\sqrt{2},\allowbreak \quad f\left(2\sqrt{2}, -\sqrt{2}, -\sqrt{2}\right) = (2\sqrt{2}) \cdot (-\sqrt{2}) \cdot (-\sqrt{2}) = 4\sqrt{2},\allowbreak \quad f\left(-\sqrt{2}, 2\sqrt{2}, -\sqrt{2}\right) = (-\sqrt{2}) \cdot (2\sqrt{2}) \cdot (-\sqrt{2}) = 4\sqrt{2},\allowbreak \quad f\left(\sqrt{2}, -2\sqrt{2}, \sqrt{2}\right) = (\sqrt{2}) \cdot (-2\sqrt{2}) \cdot (\sqrt{2}) = -4\sqrt{2},\allowbreak \quad f\left(-2\sqrt{2}, \sqrt{2}, \sqrt{2}\right) = (-2\sqrt{2}) \cdot (\sqrt{2}) \cdot (\sqrt{2}) = -4\sqrt{2},\allowbreak \quad f\left(-\sqrt{2}, -\sqrt{2}, 2\sqrt{2}\right) = (-\sqrt{2}) \cdot (-\sqrt{2}) \cdot (2\sqrt{2}) = 4\sqrt{2}
    Substitute each point into f to compare the values.
  6. Compare the values
    Maximum 42 at (22,−2,−2) and (−2,22,−2) and (−2,−2,22);Minimum −42 at (2,2,−22) and (2,−22,2) and (−22,2,2)\displaystyle \allowbreak \text{Maximum } 4\sqrt{2} \allowbreak \text{ at } \left(2\sqrt{2}, -\sqrt{2}, -\sqrt{2}\right) \allowbreak \text{ and } \left(-\sqrt{2}, 2\sqrt{2}, -\sqrt{2}\right) \allowbreak \text{ and } \left(-\sqrt{2}, -\sqrt{2}, 2\sqrt{2}\right); \quad \allowbreak \text{Minimum } -4\sqrt{2} \allowbreak \text{ at } \left(\sqrt{2}, \sqrt{2}, -2\sqrt{2}\right) \allowbreak \text{ and } \left(\sqrt{2}, -2\sqrt{2}, \sqrt{2}\right) \allowbreak \text{ and } \left(-2\sqrt{2}, \sqrt{2}, \sqrt{2}\right)
    The feasible set is bounded and these are all of its critical points, so the largest value is the maximum and the smallest is the minimum.

Example 7 · Classify a quadratic critical point

critical points of x2+y2\text{critical }\allowbreak \text{points }\allowbreak \text{of } x^{2} + y^{2}

Set the two partial derivatives to zero, then use the Hessian to classify the stationary point. For one-variable foundational rules, use the derivative calculator.

local minimum at (0,0)\displaystyle \allowbreak \text{local minimum} \allowbreak \text{ at } (0, 0)
✓ Verified

Independent check

At (0,0):∂f/∂x=0 and ∂f/∂y=0, and D=4 with fxx=2.\text{At }(0, 0): \partial f/\partial x = 0\text{ and }\partial f/\partial y = 0,\text{ and }D = 4\text{ with }f_{xx} = 2.

This is the unconstrained quadratic x² + y² on the real plane. The engine reports a local minimum; this example does not establish arbitrary nonlinear critical-point coverage.

  1. Find the partial derivatives
    ∂f∂x=2x,∂f∂y=2y\displaystyle \frac{\partial f}{\partial x} = 2x,\allowbreak \quad \frac{\partial f}{\partial y} = 2y
    Critical points need both partial derivatives to be zero.
  2. Solve the linear system
    2x=0,2y=0⇒(0,0)\displaystyle 2x = 0,\allowbreak \quad 2y = 0 \Rightarrow (0, 0)
    Both equations are linear, so they solve exactly.
  3. Apply the second-derivative test
    D=fxxfyy−fxy2=4D = f_{xx}f_{yy} - f_{xy}^2 = 4
    D > 0 and f_xx > 0, so the surface cups upwards: a local minimum.
  4. Find the value
    f(0,0)=0f(0, 0) = 0
    Put the critical point into the function.

Checking stationary points and stating optimization limits

Checking every extremum on a sphere and a plane

(2)2+(2)2+(−22)2−12=0,(2)+(2)+(−22)=0at (2,2,−22), where f(2,2,−22)=−42.(\sqrt{2})^{2} + (\sqrt{2})^{2} + (-2\sqrt{2})^{2} - 12 = 0,\quad (\sqrt{2}) + (\sqrt{2}) + (-2\sqrt{2}) = 0\quad \text{at } \left(\sqrt{2}, \sqrt{2}, -2\sqrt{2}\right)\text{, where } f\left(\sqrt{2}, \sqrt{2}, -2\sqrt{2}\right) = -4\sqrt{2}\text{.}
(22)2+(−2)2+(−2)2−12=0,(22)+(−2)+(−2)=0at (22,−2,−2), where f(22,−2,−2)=42.(2\sqrt{2})^{2} + (-\sqrt{2})^{2} + (-\sqrt{2})^{2} - 12 = 0,\quad (2\sqrt{2}) + (-\sqrt{2}) + (-\sqrt{2}) = 0\quad \text{at } \left(2\sqrt{2}, -\sqrt{2}, -\sqrt{2}\right)\text{, where } f\left(2\sqrt{2}, -\sqrt{2}, -\sqrt{2}\right) = 4\sqrt{2}\text{.}
(−2)2+(22)2+(−2)2−12=0,(−2)+(22)+(−2)=0at (−2,22,−2), where f(−2,22,−2)=42.(-\sqrt{2})^{2} + (2\sqrt{2})^{2} + (-\sqrt{2})^{2} - 12 = 0,\quad (-\sqrt{2}) + (2\sqrt{2}) + (-\sqrt{2}) = 0\quad \text{at } \left(-\sqrt{2}, 2\sqrt{2}, -\sqrt{2}\right)\text{, where } f\left(-\sqrt{2}, 2\sqrt{2}, -\sqrt{2}\right) = 4\sqrt{2}\text{.}
(2)2+(−22)2+(2)2−12=0,(2)+(−22)+(2)=0at (2,−22,2), where f(2,−22,2)=−42.(\sqrt{2})^{2} + (-2\sqrt{2})^{2} + (\sqrt{2})^{2} - 12 = 0,\quad (\sqrt{2}) + (-2\sqrt{2}) + (\sqrt{2}) = 0\quad \text{at } \left(\sqrt{2}, -2\sqrt{2}, \sqrt{2}\right)\text{, where } f\left(\sqrt{2}, -2\sqrt{2}, \sqrt{2}\right) = -4\sqrt{2}\text{.}
(−22)2+(2)2+(2)2−12=0,(−22)+(2)+(2)=0at (−22,2,2), where f(−22,2,2)=−42.(-2\sqrt{2})^{2} + (\sqrt{2})^{2} + (\sqrt{2})^{2} - 12 = 0,\quad (-2\sqrt{2}) + (\sqrt{2}) + (\sqrt{2}) = 0\quad \text{at } \left(-2\sqrt{2}, \sqrt{2}, \sqrt{2}\right)\text{, where } f\left(-2\sqrt{2}, \sqrt{2}, \sqrt{2}\right) = -4\sqrt{2}\text{.}
(−2)2+(−2)2+(22)2−12=0,(−2)+(−2)+(22)=0at (−2,−2,22), where f(−2,−2,22)=42.(-\sqrt{2})^{2} + (-\sqrt{2})^{2} + (2\sqrt{2})^{2} - 12 = 0,\quad (-\sqrt{2}) + (-\sqrt{2}) + (2\sqrt{2}) = 0\quad \text{at } \left(-\sqrt{2}, -\sqrt{2}, 2\sqrt{2}\right)\text{, where } f\left(-\sqrt{2}, -\sqrt{2}, 2\sqrt{2}\right) = 4\sqrt{2}\text{.}

Classifying a quadratic critical point

At (0,0):∂f/∂x=0 and ∂f/∂y=0, and D=4 with fxx=2.\text{At }(0, 0): \partial f/\partial x = 0\text{ and }\partial f/\partial y = 0,\text{ and }D = 4\text{ with }f_{xx} = 2.

In the product example, each listed point satisfies both constraints and gives the stated objective value. The continuous objective on this compact feasible circle has extrema; the stationary-point derivation must enumerate the candidates before the values are compared.

The math engine supplies the actual checks above. Feasibility lines alone are not a universal proof that an optimization answer is complete, and a Hessian test for one quadratic does not establish general multivariable coverage.

DECLINED · Constant constrained objective

maximize x^2 + y^2 subject to x^2 + y^2 = 4 has objective 4 everywhere on the feasible circle. The current Lagrange path declines this degenerate certification case; this is not a claim that the problem has no extrema.

Supported constrained cases use exact polynomial equalities, at most three variables and one or two constraints, with recoverable coordinates and a valid boundedness or finite-set certificate. Non-polynomial objectives, general inequality-constrained optimization and arbitrary nonlinear critical points are not promised.

Linear inequality constraints are a different problem. The AI algebra solver has the separately scoped two-variable linear-programming examples; they are not a substitute for general constrained calculus.

FAQ

Frequently asked questions

Can the AI calculus solver show steps for derivatives?

Yes. Each derivative is broken into steps that name the rule used — power, product, quotient or chain — with the working for each part, then simplified. Type d/dx followed by the function.

Does it do integrals with + C?

Yes. Indefinite integrals include the constant of integration. Methods include the power rule, u-substitution and integration by parts, and every result is verified by differentiating it back.

How do I type a limit?

Write lim x->3 (x^2-9)/(x-3). For a limit at infinity use x->infinity. The solver tries direct substitution first and, if that gives 0/0, simplifies before trying again.

Is it good enough for AP Calculus or college calculus?

It covers the core of AP Calculus AB and the first semester of college calculus: limits, all the differentiation rules and standard integration techniques. Use it to check practice problems and study the steps — the AP Calculus page explains the exam format.

Why is my textbook’s answer different?

Calculus answers often have several equivalent forms, and antiderivatives can differ by a constant. If the solver’s answer is ✓ Verified, it is correct. To test your textbook’s antiderivative, differentiate it with d/dx — you should get back the function you integrated.

Can it do precalculus?

Yes — factoring, rational expressions, exponents and logarithms, functions, trig equations and identities. Precalculus problems use the same solver; see the algebra and trigonometry pages for examples.

Check a derivative before you hand it in

Type `d/dx`, `integrate` or `lim` into the box at the top and compare the steps with your own.