# எண்ணியல் வகைக்கெழுக் கணிப்பான்

> The first or second derivative of any function f(x) at a point, to about 20 significant digits by Richardson extrapolation, with the tangent line drawn.

ஊடாடும் பதிப்பு: https://www.calcopenly.com/ta/math/derivative-calculator
பாடப்பிரிவு: கணிதக் கணிப்பான்கள்

The derivative f′(x₀) is the slope of f at x₀, the limit of the central difference quotient [f(x₀ + h) − f(x₀ − h)]/2h as h shrinks to 0. The calculator evaluates that quotient for h = 0.1 × max(1, |x₀|) and repeated halvings, then combines the results by Richardson extrapolation (Ridders' method, Numerical Recipes §5.7), which cancels the h², h⁴, … error terms one at a time and reaches about 20 significant digits. The second derivative uses [f(x₀ + h) − 2f(x₀) + f(x₀ − h)]/h² the same way.

Use it to check a derivative worked out by hand, to find a rate of change where no formula is convenient, or to get a tangent line. The default, x² sin x at x = 1, has derivative 2 sin 1 + cos 1 ≈ 2.2232443 and tangent line y = 2.223244x − 1.381773.

Trig functions use radians. When the slopes from the left and right disagree, f has a corner there and the calculator reports that instead of a number.

## உள்ளீடுகள்

- **Function f(x)**: Use x as the variable, e.g. x^3 - 2x, exp(x), ln(x). Trig functions use radians here.
- **At x =**
- **வகைக்கெழு** (விருப்பங்கள்: First f′(x), Second f″(x))
- **Chart half-width**: The chart shows x₀ ± this much

## முடிவுகள்

- வகைக்கெழு — முதன்மை முடிவு
- f(x₀)
- Tangent line
- Estimated error

## சூத்திரம்

$$
\begin{gathered} f'(x) = \lim_{h \to 0}\frac{f(x+h) - f(x-h)}{2h} \\[10pt] f''(x) = \lim_{h \to 0}\frac{\delta^2 f}{h^2} \\[4pt] \delta^2 f = f(x+h) - 2f(x) + f(x-h) \end{gathered}
$$

## தீர்க்கப்பட்ட எடுத்துக்காட்டுகள்

### d/dx x³ at x = 2

- Function f(x): x^3
- At x =: 2
- வகைக்கெழு: First f′(x)
- **வகைக்கெழு: 12**
- **f(x₀): 8**
- **Tangent line: y = 12x − 16**
- சரிபார்ப்பின் மூலம்: 3x² = 12 at x = 2; tangent 8 + 12(x − 2)

### d/dx sin x at 0 (radians)

- Function f(x): sin(x)
- At x =: 0
- வகைக்கெழு: First f′(x)
- **வகைக்கெழு: 1**
- சரிபார்ப்பின் மூலம்: cos 0 = 1

### d/dx x²·sin x at 1

- Function f(x): x^2 * sin(x)
- At x =: 1
- வகைக்கெழு: First f′(x)
- **வகைக்கெழு: 2.223244275484**
- சரிபார்ப்பின் மூலம்: 2 sin 1 + cos 1 with sin/cos by Taylor series in Python decimal at 70 digits (hp.py)

### d/dx eˣ at 1

- Function f(x): exp(x)
- At x =: 1
- வகைக்கெழு: First f′(x)
- **வகைக்கெழு: 2.718281828459**
- சரிபார்ப்பின் மூலம்: e (Python Decimal(1).exp())

### Second derivative of ln x at 2

- Function f(x): ln(x)
- At x =: 2
- வகைக்கெழு: Second f″(x)
- **வகைக்கெழு: -0.25**
- சரிபார்ப்பின் மூலம்: −1/x² = −1/4 at x = 2

### Flat point: d/dx (x − 1)³ at 1

- Function f(x): (x-1)^3
- At x =: 1
- வகைக்கெழு: First f′(x)
- **வகைக்கெழு: 0**
- **f(x₀): 0**
- சரிபார்ப்பின் மூலம்: 3(x − 1)² = 0 at x = 1

## கேள்விகள்

### What is a derivative?

The derivative of f at x₀ is the slope of its graph there: the limit of [f(x₀ + h) − f(x₀)]/h as h approaches 0. For f(x) = x³ at x = 2 the slope is 3 × 2² = 12, so near x = 2 the function rises about 12 units for each unit of x. The line y = 12x − 16, which touches the curve at (2, 8), is the tangent there.

### How do you find a derivative numerically?

Evaluate a difference quotient with a small step h. The central quotient [f(x + h) − f(x − h)]/2h beats the one-sided [f(x + h) − f(x)]/h because its error shrinks like h² rather than h: for sin x at 0 with h = 0.1 it gives 0.998334 against the exact 1. A tiny h eventually fails through rounding error, so this calculator extrapolates from moderate steps instead.

### What does the second derivative tell you?

The second derivative f″(x) is the rate of change of the slope, so it measures curvature: positive where the graph bends upward, negative where it bends downward. For ln x, f″(x) = −1/x², so f″(2) = −0.25. Numerically it comes from [f(x + h) − 2f(x) + f(x − h)]/h². Where f″ changes sign the graph has an inflection point.

### How do you find the equation of a tangent line?

Use y = f(x₀) + f′(x₀)(x − x₀). For f(x) = x³ at x₀ = 2, f(2) = 8 and f′(2) = 12, so y = 8 + 12(x − 2) = 12x − 16. The tangent is also the best straight-line approximation to f near x₀: it estimates 2.1³ as 8 + 12 × 0.1 = 9.2, against the exact 9.261.

### Why does a function have no derivative at some points?

The slopes from the left and the right must agree. |x| at 0 has slope −1 from the left and +1 from the right, a corner, so it has no derivative there, even though the central quotient averages to 0. A jump, or a vertical tangent such as the cube root of x at 0, also rules one out. The calculator compares one-sided quotients and reports the corner.

### “எண்ணியல் வகைக்கெழுக் கணிப்பான்” எவ்வளவு துல்லியமானது?

துல்லியம் உங்கள் உள்ளீடுகளையும் முறையின் அனுமானங்களையும் சார்ந்தது. தசமக் கணக்கீடு 50 முக்கிய இலக்கங்களைப் பயன்படுத்துகிறது. ஆனால் மதிப்பீடுகள், எண் முறைகள், மூலத் தரவுகள் குறைந்த துல்லியத்தைக் கொண்டிருக்கலாம்; காட்டப்படும் மதிப்பை வட்டமிடுவது இந்த வரம்புகளை நீக்காது. சுயாதீன மூலங்களின் தீர்வுகளுடன் சரிபார்க்கப்பட்ட எடுத்துக்காட்டுகள்: 6. எடுத்துக்காட்டாக, “d/dx x³ at x = 2” என்பது 3x² = 12 at x = 2; tangent 8 + 12(x − 2) உடன் சரிபார்க்கப்படுகிறது.

### இந்த முறையின் மூலம் என்ன?

Press et al., Numerical Recipes (3rd ed.) §5.7 — numerical derivatives (Ridders' method); Wolfram MathWorld — Richardson Extrapolation.

## ஆதாரங்கள்

- Press et al., Numerical Recipes (3rd ed.) §5.7 — numerical derivatives (Ridders' method)
- [Wolfram MathWorld — Richardson Extrapolation](https://mathworld.wolfram.com/RichardsonExtrapolation.html)
