Gauth

Calculus

Calculus Solver with Step-by-Step Answers

Derivatives, integrals, limits, and series worked line by line, with the rule that justifies each line named as it is used.

Solve a calculus problem now

First solution free

Calculus questions are rarely lost on the calculus. They are lost on the algebra underneath it: a sign dropped when a bracket is subtracted, a factor of left behind because the inner derivative was forgotten, an antiderivative that is right except for the constant. The working here is deliberately granular for that reason — the differentiation of a product is split from the chain rule applied inside it, so you can see which half broke.

Type the function however is convenient: x^2 sin(3x), integral of x*e^(2x), lim (sin 5x)/(2x) as x->0. If your course requires a specific technique, say so, and the solution takes that route even when another is shorter.

What this solver handles

  • Derivatives by power, product, quotient, and chain rule, including nested compositions three layers deep.
  • Implicit differentiation, logarithmic differentiation, and related rates with the constraint equation stated first.
  • Indefinite and definite integrals by substitution, with limits converted rather than substituted back.
  • Integration by parts, including repeated applications and the circular case that has to be solved algebraically.
  • Limits at a point and at infinity, one-sided limits, and the indeterminate forms that need algebra before L'Hopital applies.
  • Curve sketching: critical points, the first and second derivative tests, inflection points, and asymptotes.
  • Optimisation and applied maxima, with the domain of the physical variable made explicit.
  • Areas between curves, volumes by discs, washers, and shells, and arc length.
  • Sequences and series: convergence tests, power series, Taylor and Maclaurin expansions.

Bracket generously when you type. sin x^2 could mean the sine of or the square of , and the two have entirely different derivatives. Give the limits with the variable on a definite integral, say which index a series starts at, and name the variable you are differentiating with respect to when more than one letter appears. Ambiguity in the question is the one error the working cannot catch, because the solution will be perfectly correct for the problem it was handed.

Three problems, worked

One from each half of a first course, plus the limit that motivates the second derivative of the cosine. Each is short enough to follow without a pencil and long enough to show where the rule is actually invoked.

Worked example

  1. 1

    This is a product of two functions of x, so the product rule applies. Label the factors before differentiating anything.

  2. 2

    The derivative of u is straightforward. The derivative of v needs the chain rule: differentiate the sine, then multiply by the derivative of the inside.

  3. 3

    Assemble with the product rule: derivative of the first times the second, plus the first times the derivative of the second.

  4. 4

    Tidy the second term. The factor of 3 is the inner derivative — losing it is the single most common error on this type.

Answer

Worked example

  1. 1

    A polynomial multiplied by an exponential: parts, with the polynomial as u because differentiating it makes it simpler.

  2. 2

    Differentiate u and integrate dv. The one-half comes from the chain rule running backwards on the exponential.

  3. 3

    Apply the parts formula: uv minus the integral of v du.

  4. 4

    The remaining integral has no x attached, which is the point of the choice. Integrate it directly.

  5. 5

    Subtract, and add the constant. Differentiating the result gives one-half e^(2x) + x e^(2x) − one-half e^(2x), which collapses back to the integrand.

Answer

Worked example

  1. 1

    Substitute first, always. Both numerator and denominator go to zero, so the expression is indeterminate and the limit is not yet decided.

  2. 2

    Zero over zero permits L'Hopital's rule. Differentiate the top and the bottom separately — this is not the quotient rule.

  3. 3

    Substituting again still gives zero over zero, so the rule applies a second time.

  4. 4

    Now substitution works: cosine of zero is 1.

  5. 5

    Sanity check with the Maclaurin series. Near zero, cos x is approximately 1 − x²/2, so the numerator is about x²/2 and the ratio is about one-half — independent of x, which is exactly why the limit exists.

Answer

Calculus answers are unusually cheap to verify, which makes skipping the verification an expensive habit. An antiderivative can be differentiated: doing that to gives , and the two halves cancel to leave the original integrand. That confirms the result no matter how the parts were chosen.

A limit can be sampled instead. Putting into the third problem gives 0.4996, near enough to one half to settle any doubt about applying the rule twice. A derivative can be checked the same way, against a difference quotient with a small step. None of these is a proof, but each takes under a minute and catches the arithmetic slips that cost most of the marks lost on a calculus paper.

Choosing an integration technique

Differentiation is an algorithm; integration is a search. The difference is why students can differentiate anything after a fortnight and still stall on integrals in month three. Narrow the search by looking at the shape of the integrand before touching it, and back out of a branch quickly when the new integral is worse than the old one.

Which technique should you try first?

What does the integrand look like?

If two branches look plausible, spend thirty seconds on the cheaper one. Substitution costs one line to test: write down , compute , and see whether the rest of the integrand is a constant multiple of it. Parts costs a full application before you know.

Where students go wrong

The missing inner derivative

is . The factor of 3 is the derivative of the inside, and dropping it is the most common single error in first-year calculus. A quick guard: if the inside is anything other than plain , there must be an extra factor in your answer.

Differentiating a product factor by factor

The derivative of is not . Derivatives do not distribute over multiplication. If you ever doubt it, test with : the true derivative is , while multiplying the derivatives gives 1.

Applying L'Hopital to a form that is not indeterminate

The rule needs zero over zero or infinity over infinity. For plain substitution gives 1, but differentiating top and bottom gives , which diverges. Always substitute before reaching for the rule.

Substituting without moving the limits

After changing variable in a definite integral, the numbers on the integral sign refer to , not . Either convert them using the substitution or convert the antiderivative back before evaluating. Doing neither produces a plausible-looking number that is wrong, which is worse than an obvious error. The same care applies to one-sided limits, where the direction of approach changes with the substitution.

Find the slip in this quotient rule

One of these lines is wrong. Click it.

Three of those four are algebra errors wearing calculus notation, which is the usual pattern at this level: the rule is known and the execution slips. The exception is L'Hopital, where a valid rule is applied in a situation that does not license it. If integrals specifically keep stalling, the trouble is method selection rather than technique, and the guide to choosing an integration method walks down each branch including the ones worth abandoning early.

Formulas worth knowing cold

Calculus reference

Tap any formula with a derivation to see where it comes from.

Differentiation

Integration

Limits and series

Practice

Four to try

Answers are checked here — nothing is sent anywhere.

  1. 1
  2. 2
  3. 3
  4. 4

Frequently asked questions

Is the calculus solver free?
The first solution is free with no account. A free account then gives three solutions a day, which covers a normal problem set spread over a week. Gauth Plus is $11.99 a month with a three-day free trial and removes the daily limit.
Does it show the steps or just the answer?
Each line names the rule it used — chain rule on the inner function, parts with u equal to the polynomial, L'Hopital because the form was zero over zero. An antiderivative with no working attached is worth almost nothing on a marked script.
Can it do definite integrals and change the limits?
Yes. On a substitution it converts the limits to the new variable rather than substituting back, and both routes are shown when they differ in difficulty.
Will it handle implicit differentiation and related rates?
Yes. Implicit problems keep the dy/dx factors visible at every step, and related-rates solutions state the relationship between the variables before differentiating with respect to time.
Can I ask why a particular technique was chosen?
Ask a follow-up on the step. Answering why parts beat substitution on a given integrand is usually more valuable than the antiderivative itself, and follow-ups do not use up your quota.
Does it cover sequences and series?
Convergence tests, radius of interval of convergence, and Taylor or Maclaurin expansions are covered, with the reason a particular test was chosen stated before it is applied.

Keep going

Gauth AIAsk me for any help!