Calculus Solver With Steps

In calculus the final number is worth the least. The marks are in the working: which rule you used, the inner derivative you remembered, the + C you kept. Here's what a good step-by-step solution looks like, with five worked examples you can check yourself.

The short answer

A calculus solver with steps shows how the answer was reached: the rule applied on each line, what it does to the expression, and a check at the end, such as differentiating an antiderivative to get the integrand back. Whether you call it a calculus problem solver or a derivative and integral solver with steps, that check is what separates a useful tool from an answer printer. You can scan the problem with your camera, type it, or upload a photo, and Socratic Solve returns the working line by line in rendered math notation.

Below are five worked examples covering limits, derivatives, integrals and a word problem, each ending with a check.

Five worked calculus examples, with steps

Try each one on paper first, then compare your lines to these.

1. Limits: factoring and a standard limit

(a) lim as x → 2 of (x² − 4) / (x − 2)

  1. Try direct substitution: (4 − 4) / (2 − 2) = 0/0. That's indeterminate, not "undefined", so you need another route.
  2. Factor the numerator (difference of squares): x² − 4 = (x − 2)(x + 2).
  3. Cancel the common factor: for x ≠ 2, (x − 2)(x + 2) / (x − 2) = x + 2.
  4. Now substitute: 2 + 2 = 4.

Check: plug in a value close to 2. At x = 2.01: (4.0401 − 4) / 0.01 = 4.01. The outputs approach 4, so the limit is 4.

(b) lim as x → 0 of sin(5x) / x

  1. Substitution gives 0/0 again.
  2. Use the standard limit lim as θ → 0 of sin(θ)/θ = 1. Rewrite: sin(5x)/x = 5 · sin(5x)/(5x).
  3. Let θ = 5x. As x → 0, θ → 0, so the limit is 5 · 1 = 5.

Check with L'Hôpital's rule: differentiate top and bottom separately: 5cos(5x) / 1, which is 5 at x = 0. Numerically, sin(0.05)/0.01 ≈ 4.998. All three agree: the limit is 5.

2. Derivatives: product rule and chain rule

(a) Product rule: d/dx [x² sin(3x)]

  1. Identify the two factors: u = x² and v = sin(3x).
  2. Differentiate each: u′ = 2x. For v, use the chain rule: v′ = cos(3x) · 3 = 3cos(3x).
  3. Apply (uv)′ = u′v + uv′: 2x sin(3x) + x² · 3cos(3x).
  4. Tidy up: 2x sin(3x) + 3x² cos(3x).

Check: at x = 1 the formula gives 2sin(3) + 3cos(3) ≈ −2.6877 (calculator in radians). A difference quotient, (f(1.001) − f(0.999)) / 0.002, gives the same −2.6877.

(b) Chain rule: d/dx [(3x² + 1)⁵]

  1. Outer function: something to the 5th power. Its derivative is 5(something)⁴.
  2. Inner function: 3x² + 1, with derivative 6x.
  3. Multiply outer derivative by inner derivative: 5(3x² + 1)⁴ · 6x.
  4. Simplify: 30x(3x² + 1)⁴.

Check: at x = 1, 30 · 1 · 4⁴ = 7,680. The difference quotient at x = 1 gives about 7,680.06, which matches.

3. Integral by u-substitution: ∫ x(x² + 1)⁴ dx

  1. Pick u as the inside of the power: u = x² + 1.
  2. Find du: du = 2x dx, so x dx = du/2.
  3. Substitute: ∫ u⁴ · (du/2) = (1/2) ∫ u⁴ du.
  4. Integrate: (1/2) · u⁵/5 = u⁵/10.
  5. Substitute back and add the constant: (x² + 1)⁵/10 + C.

Check by differentiating: d/dx [(x² + 1)⁵/10] = 5(x² + 1)⁴ · 2x / 10 = x(x² + 1)⁴. That's the original integrand, so the antiderivative is right. This check works on every indefinite integral.

4. Definite integral: ∫₀¹ 2x(x² + 1)³ dx

  1. Substitute u = x² + 1, so du = 2x dx and the integrand becomes u³ du.
  2. Change the limits to u values: when x = 0, u = 1; when x = 1, u = 2.
  3. Integrate: ∫₁² u³ du = [u⁴/4] from 1 to 2.
  4. Evaluate: 16/4 − 1/4 = 15/4 = 3.75.

Check: go back to x instead of changing limits. The antiderivative is (x² + 1)⁴/4, and (2⁴ − 1⁴)/4 = 15/4. Same value. A definite integral has no + C, because it cancels when you subtract.

5. Optimization word problem: fencing along a river

A farmer has 200 m of fencing to build a rectangular pen along a straight river. No fence is needed on the river side. What dimensions give the largest area?

  1. Name the variables: let x be each side perpendicular to the river. The side parallel to the river is then 200 − 2x.
  2. Write the quantity to maximize: A(x) = x(200 − 2x) = 200x − 2x², with 0 < x < 100.
  3. Differentiate and set to zero: A′(x) = 200 − 4x = 0, so x = 50.
  4. Confirm it's a maximum: A″(x) = −4, which is negative, so x = 50 is a maximum.
  5. Answer the question asked: the pen is 50 m by 100 m, with an area of 5,000 m².

Check: try nearby values. x = 49 gives 49 × 102 = 4,998 m², and x = 51 gives 51 × 98 = 4,998 m². Both are smaller than 5,000, so 50 m is the best choice. Note the last step: the question asked for dimensions, so "x = 50" alone would lose a mark.

Solve your calculus problem, with the working

Download Socratic Solve free and scan your calculus homework now.

Download on the App Store Get it on Google Play

The calculus mistakes that cost the most marks

Most lost calculus marks come from a short list of repeat errors.

MistakeWrongRight
Forgetting the chain rule's inner derivatived/dx sin(3x) = cos(3x)d/dx sin(3x) = 3cos(3x)
Dropping + C∫ 2x dx = x²∫ 2x dx = x² + C
Sign errors with trigd/dx cos x = sin xd/dx cos x = −sin x, and ∫ sin x dx = −cos x + C
Not changing limits in u-substitution∫₀¹ 2x(x² + 1)³ dx = [u⁴/4] from 0 to 1 = 1/4Limits become 1 to 2: [u⁴/4] from 1 to 2 = 15/4
Product rule as product of derivativesd/dx (x² sin x) = 2x cos xd/dx (x² sin x) = 2x sin x + x² cos x
Calculator in degree modesin(0.01)/0.01 ≈ 0.0175 in degreesIn radians it's ≈ 1.0000, matching lim sin(x)/x = 1

The last one catches strong students. Every trig derivative rule assumes radians. In degree mode, sin(x)/x near zero approaches π/180 ≈ 0.01745 instead of 1, and every numeric check you do will look wrong. Set your calculator to radians before a calculus test.

How to photograph or type calculus so a solver reads it

Typing works well for short problems. Plain phrasing with parentheses is enough: "integral of x^2 from 0 to 3", "derivative of x^2 sin(3x)", or "limit of (x^2-4)/(x-2) as x approaches 2".

How to read a step-by-step calculus solution

  1. Attempt it first. Even a few lines show you where you got stuck, and that line is the one to study.
  2. Name the rule on each line. "Chain rule, inner derivative 6x." "Substituted u = x² + 1." "Changed limits." If you can't name a step, that's your gap.
  3. Find the first line where you differ. In calculus it's usually a missing inner derivative or a sign, and everything after it is correct method on wrong numbers.
  4. Cover the solution and redo it. Solve from a blank page, then compare.
  5. Do a similar problem with new numbers. Swap sin(3x) for cos(4x), or 200 m of fencing for 360 m. If you can do the variation without help, you've learned the method.
  6. Run the check yourself. Differentiate the antiderivative, test a nearby value, or plug in numbers. If a solution doesn't include a check, add one.
Grade tip: when you write working on paper, keep the "obvious" lines, like setting u = x² + 1 or writing A′(x) = 0. Rubrics often award a mark for the setup. Make sure everything you hand in is working you understand, and follow your school's policy on AI tools.

Using Socratic Solve as your calculus solver with steps

Socratic Solve covers calculus alongside algebra, geometry, trig, logarithms and linear algebra, plus physics, chemistry, biology and more. Scan a printed or handwritten problem, type it, or upload a photo, and the solution comes back step by step in real rendered notation. Every problem is saved to your History, tagged by subject and searchable, so you can line up five chain rule problems and spot the pattern. It's on iPhone, iPad and Android, with free credits to start.

If your calculus is shaky because the algebra underneath it is, start with the algebra solver with steps guide, since factoring and exponents show up on almost every line of calculus. For a side-by-side look at different apps, see the best homework helper apps.

FAQ

What is the best calculus solver with steps?
Look for one that names the rule on every line (product rule, chain rule, substitution), keeps the + C on indefinite integrals, changes the limits when it substitutes, and ends with a check. Socratic Solve covers calculus and shows step-by-step solutions in rendered math notation for problems you scan, type, or upload as a photo.
How do I check a derivative or an integral myself?
For an integral, differentiate your answer: you should get back the original integrand exactly. For a derivative, compare it with a difference quotient such as (f(1.001) − f(0.999)) / 0.002 on a calculator. For a limit, plug in a value very close to the target and see if the output approaches your answer.
Can I type a calculus problem instead of taking a photo?
Yes. Write it in plain words with parentheses, for example "integral of x^2 from 0 to 3", "derivative of (3x^2+1)^5" or "limit of (x^2-4)/(x-2) as x approaches 2". The camera is usually faster for long expressions with fractions and bounds.
Is using a calculus solver cheating?
It depends on how you use it and on your school's rules. Studying a worked solution to learn a method, or checking work you have already finished, is studying. Copying steps you don't understand into graded work is not. Always follow your school's academic integrity policy.