What Is Quadratic Approximation?
Quadratic approximation is the estimate of a function near a point by the unique parabola that has the same value, the same first derivative and the same second derivative as at . It is the tangent line from the tangent line equation plus one correction term built from the second derivative, and it is the degree 2 member of the family of Taylor polynomials.
The formula is
Every symbol has one job:
Symbol | Meaning |
|---|---|
The base point (also called the center), where you know exactly | |
The nearby input you want to estimate at | |
The step away from the base point, often written | |
The height of the curve at | |
The slope of the curve at | |
The bend (concavity) of the curve at | |
The quadratic approximation of at |
Two conditions matter. The function must be twice differentiable at , so that exists, and must be close to . "Close" has no fixed size; it depends on how fast the third derivative is changing, which the error section below makes precise.
How Do You Find A Quadratic Approximation Step By Step?
Finding a quadratic approximation takes four steps, and the order matters only in the last one.
Pick the base point. Choose close to the input you care about and where is easy to compute exactly. For , choose , not . Actually, (which is ) sits even closer, but keeps the arithmetic in whole numbers and the error is already tiny.
Compute three numbers. Evaluate , and .
Build . Substitute the three numbers into .
Evaluate at the step. Put in the actual , so the step is , and compute.
Written with the step , the same formula reads
This form shows the structure at a glance: a constant, a term proportional to , and a term proportional to . When is small, is much smaller, which is exactly why the new term is a correction rather than a rewrite.
Where Does The 1/2 In The Quadratic Approximation Formula Come From?
The is there so that the parabola has the same second derivative as . Without it, the parabola would bend twice as hard as the curve.
Test the formula on a function that is already a parabola. Take with base point :
So the coefficient of is half the second derivative. That 2 appears because differentiating twice gives 2, and the cancels it. A good approximation of a parabola should be the parabola itself, and with the in place it is.
Check it the other way. Differentiate twice:
At , the values give , and . Three matching conditions pin down exactly one parabola, and that parabola is . (For a degree polynomial the same argument produces a denominator of factorial, which is why the Taylor coefficients carry 2, 6, 24 and so on.)
How Is Quadratic Approximation Different From Linear Approximation?
Linear approximation keeps the value and the slope; quadratic approximation also keeps the bend. Linear approximation is , so
The added term is positive when (the curve bends up, so the tangent line sits below it) and negative when . The quadratic term therefore corrects the direction in which the tangent line is wrong.
The table compares both estimates on four functions, each with a step of 0.5 or less. Every value was recomputed in SymPy and rounded to 4 decimal places.
Estimate | Base point | True value | Error of | Error of | ||
|---|---|---|---|---|---|---|
In every row the quadratic error is roughly 8 to 300 times smaller. The cosine row is the most telling: the tangent line at 0 is the flat line , which knows nothing about the curve falling away, while captures it.
The price is one more derivative and one more term. For hand estimates, quadratic approximation is usually the sweet spot; going to degree 3 or 4 adds accuracy but the arithmetic quickly stops being something you would do on paper.
What Does Quadratic Approximation Look Like On A Graph?
On a graph, the quadratic approximation is the best-fit parabola at the base point: it touches the curve, leaves at the same angle and curls the same way. The tangent line only touches and leaves at the same angle.
A classic homework request is to find the local quadratic approximation of at . The three numbers are , and , so
The graph makes the difference obvious. The tangent line runs flat across the top of the cosine hump, while the parabola opens downward and hugs the hump for a good distance on both sides.
The sign of also decides what the base point is. With , a positive makes an upward parabola, so is a local minimum; a negative one makes it a downward parabola, so is a local maximum. That is the second derivative test seen through the quadratic approximation: the test reads the shape of the best-fit parabola.
What Are The Standard Quadratic Approximations Near Zero?
Near the formula simplifies to , and a handful of results come up so often that they are worth knowing on sight. Each one is the start of the function's Maclaurin series, cut after the term.
Function | Quadratic approximation near 0 | |||
|---|---|---|---|---|
The last row is the start of the binomial series, and it contains several others as special cases ( gives the square-root row, with replaced by gives the row).
Notice that and get no term. Both are odd functions, so every even derivative at 0 is zero; their quadratic approximation equals their linear approximation, and the first real correction is cubic.
How Accurate Is Quadratic Approximation?
The error of a quadratic approximation shrinks like the cube of the step: halve the distance from the base point and the error drops by a factor of about 8. That is the precise sense in which it beats the tangent line, whose error shrinks only like the square.
Taylor's theorem gives the exact statement. If has a continuous third derivative between and , then
for some number between and . This is the Lagrange form of the remainder. You rarely know , but if for every between and , then
Apply it to with . Every derivative of is , which is at most on , so
The actual error is , inside the bound, as it must be.
The cube law is easy to see in a table for at :
Step | Error of | Error of |
|---|---|---|
From to the linear error falls by about 4 (the square law) and the quadratic error by about 8 (the cube law).
A related question students post: if you use for , what is the maximum error? The same reasoning applies one level up. That polynomial is also the degree 6 approximation (the coefficient is zero), so the remainder involves the seventh derivative, which is bounded by 1:
The actual worst error, at , is .
There is one honest warning. Far from the base point, the quadratic approximation can be worse than the linear one. For at , estimating gives but , against a true value of . The extra term is only guaranteed to help when the step is small.
How Do You Find The Quadratic Approximation Of A Function Of Two Variables?
For a function near , the quadratic approximation keeps the value, both first partial derivatives and all three second partial derivatives. With and :
where every derivative is evaluated at . The middle term carries a 2 because and are equal and both contribute. That 2 is the piece even experienced users of the formula second-guess, and writing the two mixed terms out separately once is the surest way to remember it. Geometrically, the tangent plane becomes a curved surface (a bowl, a dome or a saddle).
A common request is the quadratic approximation of near the origin. The values at are:
So
At this gives , against the true . The surface is a saddle: it curves up in the direction and down in the direction.
Another posted question asks for the best quadratic approximation of near . The derivatives at the origin are , , , , and , so
At it gives , matching the true value to 4 decimal places.
The three second partials form a 2 by 2 table called the Hessian matrix, which is where multivariable optimization picks up the story.
Examples Of Quadratic Approximation
Example 1
Use the quadratic approximation of at to estimate .
The true value is , so the error is about .
Final answer:
Example 2
Estimate using a quadratic approximation at .
A first attempt often looks like this. With :
Now the second derivative goes straight in as the coefficient, forgetting the :
Compare with the plain tangent line, , and the true value . The "improved" estimate is off by , which is worse than the tangent line's . Adding information should not make an estimate worse, so the correction is twice too big.
The rescue is the :
Final answer: , correct to 4 decimal places.
Example 3
Find the quadratic approximation of near , and use it to estimate .
The true value is ; the linear estimate is off by .
Final answer: , and
Example 4
Estimate with a quadratic approximation centered at .
The derivative formulas for sine hold only in radians, so convert the step first. One degree is radians, so and .
The true value is . The quadratic error is about one millionth; the linear estimate is off by about . The first instinct here is to use (one degree) in the formula, which produces nonsense like , a sine value above 1.
Final answer:
Example 5
Find the quadratic approximation of at and explain why it equals the linear approximation.
Because , the parabola degenerates into the tangent line itself. The error is still cubic, because , so it is about . At , and .
Final answer: ; a zero second derivative at the base point removes the quadratic term.
Example 6
Use the quadratic approximation of at to take one step toward the minimum of .
The parabola is easy to minimize: set .
The true minimum of is at (where ), and one step moved from 2 to 1.4167. Repeating the step from the new point is exactly Newton's method for optimization: the update is the vertex of the quadratic approximation.
Final answer: the vertex of is
Why Does Quadratic Approximation Matter If The Tangent Line Already Works?
The tangent line fails completely whenever the slope at the base point is zero, and nature is full of those points. The real reason the quadratic term exists: "near a flat point, the bend is the whole story."
At a flat point, the linear estimate predicts no change. If , then for every . Any real change near lives entirely in the term.
Relativity at everyday speeds is a flat point. The time-dilation factor , with , has slope zero at , so its tangent line is : no effect. Its quadratic approximation is .
That one term predicts the GPS clock drift. A GPS satellite moves at about 14,000 km/h, according to the Ohio State University relativity and GPS notes. That is m/s, so , and over 86,400 seconds in a day this gives microseconds. The same source quotes about 7 microseconds per day for the special-relativity slowdown.
The same term is classical kinetic energy. Multiply by and you get . The familiar is the quadratic approximation of relativistic energy, a point HyperPhysics at Georgia State University derives from the binomial expansion.
Every minimum and maximum in physics, economics and engineering is a flat point too. That is why the cost of a production run, the potential energy of a stretched molecular bond and the error of a machine-learning model near its best fit are all modelled, first, by a parabola.
Where Is Quadratic Approximation Used In Real Life?
Quadratic approximation is the default model wherever a quantity sits near its best, worst or resting value.
Optimization and machine learning: second-order methods replace the loss function by its quadratic approximation and jump to that parabola's (or paraboloid's) lowest point, as Example 6 showed in one variable.
Pendulums and springs: for a pendulum, turns the potential energy into a parabola, which is what makes small swings behave like simple harmonic motion.
Chemistry: the energy of a molecule near its stable shape is approximated by a quadratic in the atomic displacements, which gives vibration frequencies.
Economics: profit near a maximum, or utility near an optimum, is modelled by its second-order expansion to study how sensitive the optimum is.
Numerical integration: Simpson's rule integrates a parabola through three points instead of a straight line through two, which is why it beats the trapezoidal rule on smooth curves.
Physics: the low-speed limit of relativity (the GPS and kinetic-energy calculations above) is a quadratic approximation.
Where Do Students Trip Up On Quadratic Approximation?
Three mistakes account for most wrong answers, and each one has a quick check.
Mistake 1: Dropping The 1/2
Where it slips in: Building after the derivatives are done, especially when is an awkward fraction.
Don't do this: Write . For at this gives , worse than the tangent line.
The correct way: Write the before substituting anything: . Then check that .
The memorizer is most at risk here: the formula is held as a string of symbols, so a missing looks no different from a correct line. The habit that fixes it is the parabola test from earlier. If your formula would not reproduce exactly, it is wrong.
Mistake 2: Using Degrees Instead Of Radians
Where it slips in: Any trigonometric estimate, such as or .
Don't do this: Use for a one-degree step. The rule is only true when is in radians.
The correct way: Convert the step: per degree. A quick check is size: a one-degree change can never move a sine value by more than about .
Mistake 3: Trusting The Approximation Far From The Base Point
Where it slips in: Choosing a convenient base point that is not close, such as for .
Don't do this: Assume is always better than . For , while and the true value is .
The correct way: Pick the nearest point where is known exactly, and check the step against the error bound before trusting the answer.
The rusher tends to fall into this one: the formula is applied the moment a base point is spotted, without asking whether is small. The real-world version of Mistake 3 is classical kinetic energy, , which is the quadratic approximation of relativistic energy and works only for small . For an electron at , the classical formula gives , while the true kinetic energy is , more than three times larger. That is why particle accelerators are designed with the full relativistic formula (HyperPhysics explains the comparison).
Practice Problems On Quadratic Approximation
Find the quadratic approximation of at and use it to estimate .
Find the quadratic approximation of at and estimate .
Find the quadratic approximation of at and estimate .
Find the quadratic approximation of at , estimate , and state the exact error.
Find the quadratic approximation of from , then bound its error with the Lagrange remainder.
Find the quadratic approximation of near .
Answer to Question 1: , so ; true value .
Answer to Question 2: , so ; true value .
Answer to Question 3: , , , so and ; true value .
Answer to Question 4: , so ; true value , and the error is exactly .
Answer to Question 5: ; the bound is , and the actual error is .
Answer to Question 6: .
What To Remember About Quadratic Approximation
Quadratic approximation estimates near by , the parabola matching value, slope and bend.
The makes the parabola's second derivative equal , and leaving it out can make the estimate worse than the tangent line.
The error shrinks like the cube of the step, bounded by .
At a flat point the tangent line predicts no change, and the quadratic term carries the whole effect.
Far from the base point, or for trigonometric inputs in degrees, the approximation can fail badly.
Where To Go From Here
Work through practice problems 1 to 6; if the derivatives come out right but the estimate is off, return to the section on where the 1/2 comes from, and if the trigonometric answers look wrong, check the radians step in Example 4.
Read More
Was this article helpful?
Your feedback helps us write better content
