Skip to content
← All questions

How are c0c_0, c1c_1, and c2c_2 found for the quadratic approximation of exe^x at x=0x=0?

The coefficients are found sequentially by applying the three matching conditions at x=0x=0. First, substituting x=0x=0 into the polynomial and the function gives c0=1c_0=1. Second, differentiating both sides and evaluating at x=0x=0 gives c1=1c_1=1. Third, taking the second derivative and evaluating at x=0x=0 gives c2=1/2c_2=1/2.

Conditions

  • The approximation is centered at x=0x=0.
  • The target function is exe^x.
  • The approximating polynomial is c0+c1x+c2x2c_0+c_1x+c_2x^2.

Reasoning, step by step

  1. Match the function values at x=0x=0: c0+c1(0)+c2(0)2=e0=1c_0+c_1(0)+c_2(0)^2=e^0=1, which simplifies to c0=1c_0=1.
  2. Differentiate both sides to match slopes: d/dx(ex)=exd/dx(e^x)=e^x and d/dx(1+c1x+c2x2)=c1+2c2xd/dx(1+c_1x+c_2x^2)=c_1+2c_2x.
  3. Evaluate the derivative equality at x=0x=0: e0=c1+2c2(0)e^0=c_1+2c_2(0), which simplifies to c1=1c_1=1.
  4. Differentiate again to match concavities: d2/dx2(ex)=exd^2/dx^2(e^x)=e^x and d2/dx2(1+1x+c2x2)=2c2d^2/dx^2(1+1x+c_2x^2)=2c_2.
  5. Evaluate the second derivative equality at x=0x=0: e0=2c2e^0=2c_2, which simplifies to 1=2c21=2c_2, so c2=1/2c_2=1/2.
  6. Substitute the coefficients back to get exe^x ≈ 1+x+1/2x21+x+1/2x^2.

Example

The board shows the sequence from exe^x≈c0+c1x+c2x2c_0+c_1x+c_2x^2 to 1+c1x+c2x21+c_1x+c_2x^2, then 1+1x+c2x21+1x+c_2x^2, and finally 1+x+1/2x21+x+1/2x^2. The speaker explicitly plugs in x=0x=0, differentiates, plugs in zero again, differentiates again, and substitutes the found coefficients.

Common misconceptions

  • Substituting x=0x=0 before differentiating, which would erase the information needed to determine the higher coefficients.
  • Confusing the first derivative (slope) with the second derivative (concavity) when setting up the equations for c1c_1 and c2c_2.

Watch the explanation

Explore next

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.