๐Ÿฆ– Bellaziraptor

Practice Exam 4

Power Series & Taylor Expansions

Questions10
Time90 min
Points100
AllowedThe 7-series table
CoversUnit 4
1Interval of convergence10 pts

Find the radius and full interval of convergence of \(\displaystyle\sum_{n=1}^{\infty}\frac{(x+3)^n}{n^2\,4^n}\).

Solution
\[ \left|\frac{a_{n+1}}{a_n}\right| = \frac{|x+3|^{n+1}}{(n+1)^2\,4^{n+1}}\cdot\frac{n^2\,4^n}{|x+3|^n} = \frac{|x+3|}{4}\left(\frac{n}{n+1}\right)^2 \]
\[ L = \frac{|x+3|}{4} < 1 \;\Rightarrow\; |x+3| < 4 \;\Rightarrow\; \boldsymbol{R = 4},\ \text{center } {-3},\ \text{so } {-7} < x < 1 \]

Endpoints.

\(x = 1\): \(\sum 4^n/(n^2 4^n) = \sum 1/n^2\), a p-series with \(p = 2\). Converges.

\(x = -7\): \(\sum (-4)^n/(n^2 4^n) = \sum (-1)^n/n^2\). Converges absolutely.

\[ \text{Interval:}\quad \boldsymbol{[-7,\ 1]} \]

Note the pattern: an \(n^2\) in the denominator makes both endpoints converge, so the interval is closed. An \(n^1\) would have made it half-open (compare Unit 4, worked example 1). The power of \(n\) decides the endpoint behavior.

2Series by substitution8 pts

Find the Maclaurin series for \(x^2e^{-x}\) through the \(x^5\) term. State the radius of convergence.

Solution

Substitute \(-x\) into the exponential series:

\[ e^{-x} = 1 - x + \frac{x^2}{2} - \frac{x^3}{6} + \cdots \]

Multiply through by \(x^2\) โ€” multiplication by a power just shifts the exponents:

\[ x^2e^{-x} = x^2 - x^3 + \frac{x^4}{2} - \frac{x^5}{6} + \cdots \]

\(R = \infty\), unchanged: the exponential series converges everywhere, and multiplying by \(x^2\) cannot break that.

Why this beats the definition: computing five derivatives of \(x^2e^{-x}\) by the product rule is a long, error-prone slog. Substitute-and-multiply takes fifteen seconds.

3Taylor series off-center10 pts

Find the Taylor series for \(f(x) = 1/x\) centered at \(a = 1\), and give its interval of convergence.

Solution

Do not differentiate repeatedly. Force the expression into geometric form by writing \(x = 1 + (x-1)\):

\[ \frac{1}{x} = \frac{1}{1 + (x-1)} = \frac{1}{1 - [-(x-1)]} \]

That is \(1/(1-u)\) with \(u = -(x-1)\):

\[ \frac{1}{x} = \sum_{n=0}^{\infty}(-1)^n(x-1)^n = 1 - (x-1) + (x-1)^2 - \cdots \]

Convergence needs \(|u| < 1\), i.e. \(|x-1| < 1\):

\[ \text{Interval:}\quad \boldsymbol{(0,\ 2)} \]

Endpoints: at \(x = 0\) and \(x = 2\) the terms are \(\pm 1\) and do not go to zero, so both diverge by the \(n\)th-term test. The interval is open.

Makes sense: \(1/x\) blows up at \(x = 0\), which is distance 1 from the center โ€” so no series centered at 1 could possibly reach past it. The radius is always the distance to the nearest singularity.

4Integrate a series10 pts

Estimate \(\displaystyle\int_0^{0.5}\sin(x^2)\,dx\) to four decimal places, and justify the accuracy.

Solution

Substitute \(x^2\) into the sine series:

\[ \sin(x^2) = x^2 - \frac{x^6}{3!} + \frac{x^{10}}{5!} - \cdots \]

Integrate term by term:

\[ \int_0^{0.5}\sin(x^2)\,dx = \left[\frac{x^3}{3} - \frac{x^7}{42} + \frac{x^{11}}{1320} - \cdots\right]_0^{0.5} \]
TermValue
\((0.5)^3/3\)+0.0416667
\((0.5)^7/42\)−0.0001860
\((0.5)^{11}/1320\)+0.0000004
Total0.0414811
\[ \approx \boldsymbol{0.0415} \]

Accuracy justification: the series alternates with decreasing terms, so the error is smaller than the first omitted term. After the third term that bound is well under \(10^{-7}\) โ€” far tighter than the four decimals requested. Even truncating after two terms would have sufficed.

Note: \(\sin(x^2)\) has no elementary antiderivative. Series is not a shortcut here โ€” it is the method.

5Limit by series8 pts

Evaluate \(\displaystyle\lim_{x\to 0}\frac{e^{2x} - 1 - 2x}{x^2}\) using series.

Solution

Substitute \(2x\) into the exponential series:

\[ e^{2x} = 1 + 2x + \frac{(2x)^2}{2!} + \frac{(2x)^3}{3!} + \cdots = 1 + 2x + 2x^2 + \frac{4x^3}{3} + \cdots \]

Subtract the 1 and the \(2x\) โ€” that is exactly what the numerator does:

\[ e^{2x} - 1 - 2x = 2x^2 + \frac{4x^3}{3} + \cdots \]
\[ \frac{2x^2 + 4x^3/3 + \cdots}{x^2} = 2 + \frac{4x}{3} + \cdots \;\to\; \boldsymbol{2} \]

Watch the \((2x)^2 = 4x^2\): the substitution must go into every occurrence of \(x\), including inside the powers. Writing \(2x^2/2\) instead of \(4x^2/2\) gives 1 and is the standard slip on this problem.

6Error bound10 pts

Approximate \(e^{0.3}\) with the third-degree Maclaurin polynomial, and bound the error using Taylor’s theorem. Compare with the true value.

Solution
\[ T_3(0.3) = 1 + 0.3 + \frac{(0.3)^2}{2} + \frac{(0.3)^3}{6} = 1 + 0.3 + 0.045 + 0.0045 = \boldsymbol{1.34950} \]

Error bound. All derivatives of \(e^x\) are \(e^x\), increasing, so on \([0,\ 0.3]\) we can take \(M = e^{0.3} < 1.35\):

\[ |R_3| \le \frac{M}{4!}(0.3)^4 = \frac{1.35(0.0081)}{24} = \boldsymbol{4.6\times10^{-4}} \]

Check against truth: \(e^{0.3} = 1.349859\), so the actual error is

\[ |1.349859 - 1.349500| = 3.6\times10^{-4} \;\le\; 4.6\times10^{-4} \quad\checkmark \]

The bound holds and is not far off โ€” a healthy sign. A Taylor bound is always conservative (it assumes the worst-case derivative across the whole interval), so the actual error should come in below it. If yours ever comes in above, you have made an error somewhere.

7Binomial series10 pts

Expand \(1/\sqrt{1+x}\) through the \(x^3\) term using the binomial series, and state where it is valid.

Solution

This is \((1+x)^k\) with \(k = -1/2\):

\[ (1+x)^k = 1 + kx + \frac{k(k-1)}{2!}x^2 + \frac{k(k-1)(k-2)}{3!}x^3 + \cdots \]

Compute the coefficients one at a time:

  • \(x\):  \(k = -\tfrac{1}{2}\)
  • \(x^2\):  \(\left(-\tfrac{1}{2}\right)\left(-\tfrac{3}{2}\right)/2 = \left(\tfrac{3}{4}\right)/2 = \tfrac{3}{8}\)
  • \(x^3\):  \(\left(-\tfrac{1}{2}\right)\left(-\tfrac{3}{2}\right)\left(-\tfrac{5}{2}\right)/6 = \left(-\tfrac{15}{8}\right)/6 = -\tfrac{5}{16}\)
\[ \frac{1}{\sqrt{1+x}} = 1 - \frac{x}{2} + \frac{3x^2}{8} - \frac{5x^3}{16} + \cdots,\qquad |x| < 1 \]

Quick check at \(x = 0.1\): the series gives \(1 - 0.05 + 0.00375 - 0.0003125 = 0.953438\), and \(1/\sqrt{1.1} = 0.953463\). Agreement to five digits with three correction terms.

8Euler’s formula ยท EE12 pts

(a) Derive Euler’s formula from the Maclaurin series. (b) Use it to express \(\cos^3\theta\) as a sum of cosines of multiple angles. (c) What does that tell you about a cubic nonlinearity in an amplifier?

Solution

(a) Put \(x = i\theta\) into the exponential series and use \(i^2 = -1\):

\[ e^{i\theta} = 1 + i\theta - \frac{\theta^2}{2!} - i\frac{\theta^3}{3!} + \frac{\theta^4}{4!} + \cdots \]

Separate real and imaginary parts and recognize the two series:

\[ = \left(1 - \frac{\theta^2}{2!} + \frac{\theta^4}{4!} - \cdots\right) + i\left(\theta - \frac{\theta^3}{3!} + \cdots\right) = \boldsymbol{\cos\theta + i\sin\theta} \]

(b) Write \(\cos\theta = (e^{i\theta} + e^{-i\theta})/2\) and cube it. The binomial expansion gives four terms:

\[ \cos^3\theta = \frac{1}{8}\left(e^{3i\theta} + 3e^{i\theta} + 3e^{-i\theta} + e^{-3i\theta}\right) \]

Pair the conjugates back into cosines:

\[ = \frac{1}{8}(2\cos 3\theta + 6\cos\theta) = \boldsymbol{\frac{3}{4}\cos\theta + \frac{1}{4}\cos 3\theta} \]

Check at \(\theta = 0\): left side 1; right side 3/4 + 1/4 = 1. โœ“

(c) The engineering content. Feed a pure tone \(\cos\omega t\) into a device with a cubic term in its transfer characteristic, and the output contains both the original frequency and a component at \(3\omega\). A cubic nonlinearity generates third-harmonic distortion โ€” and, with two input tones, third-order intermodulation, the IP3 spec on every RF datasheet.

Note also that the fundamental picks up a 3/4 factor: the nonlinearity does not only add a harmonic, it also changes the gain at the original frequency. That is gain compression, the mechanism behind the 1 dB compression point. Both effects fall out of one trigonometric identity that you derived from a power series.

9Linearization ยท EE12 pts

A nonlinear device obeys \(i = 0.01v^2\) (amperes, volts) and is biased at \(V_Q = 2\) V. Find (a) the bias current, (b) the small-signal conductance and resistance, (c) the second-harmonic distortion for a 0.2 V amplitude signal.

Solution

(a) Bias current: \(I_Q = 0.01(2)^2 =\) 0.040 A = 40 mA.

(b) Small-signal parameters โ€” the first-order Taylor coefficient at the bias point:

\[ g = \left.\frac{di}{dv}\right|_{v=2} = \left.0.02v\right|_{v=2} = \boldsymbol{0.04\ \text{S}} \;\;\Rightarrow\;\; r = 1/g = \boldsymbol{25\ \Omega} \]

(c) Distortion. Put \(v = 2 + 0.2\cos\omega t\) into the exact law and expand:

\[ i = 0.01(2 + 0.2\cos\omega t)^2 = 0.01(4 + 0.8\cos\omega t + 0.04\cos^2\omega t) \]

Now use \(\cos^2\omega t = (1 + \cos 2\omega t)/2\):

\[ i = \left(0.04 + 0.0002\right) + 0.008\cos\omega t + 0.0002\cos 2\omega t \]

Read off the three pieces: a slightly shifted DC term, the fundamental, and a second harmonic.

\[ \mathrm{HD}_2 = \frac{0.0002}{0.008} = 0.025 = \boldsymbol{2.5\%} \]

General result worth keeping: for a pure square-law device, \(\mathrm{HD}_2 = \hat{V}/(4V_Q)\). Check: \(0.2/(4\times 2) = 0.025\) โœ“. Distortion scales linearly with signal amplitude and falls as you bias harder โ€” which is exactly why amplifiers trade quiescent power for linearity.

Note the DC term also shifted, from 0.0400 to 0.0402 A. A nonlinear device rectifies: applying an AC signal changes the average current. That is how a square-law detector works.

10Approximation ยท EE10 pts

An impedance magnitude is \(|Z| = \sqrt{R^2 + X^2}\). Show that for \(X \ll R\), \(|Z| \approx R + X^2/(2R)\), and evaluate the accuracy for \(R = 100\ \Omega\), \(X = 10\ \Omega\).

Solution

Factor out the big term โ€” this is the move that makes every approximation of this type work:

\[ |Z| = \sqrt{R^2 + X^2} = R\sqrt{1 + \left(\frac{X}{R}\right)^2} \]

Now the quantity inside is 1 + (small), so apply \(\sqrt{1+u} \approx 1 + u/2\) with \(u = (X/R)^2\):

\[ |Z| \approx R\left(1 + \frac{X^2}{2R^2}\right) = \boldsymbol{R + \frac{X^2}{2R}} \]

Numbers. With \(R = 100\), \(X = 10\):

\[ |Z|_{\text{approx}} = 100 + \frac{100}{200} = \boldsymbol{100.500\ \Omega} \]
\[ |Z|_{\text{exact}} = \sqrt{10000 + 100} = \sqrt{10100} = \boldsymbol{100.4988\ \Omega} \]

Error 0.0012 Ω, a relative error of about \(1.2\times10^{-5}\) โ€” and that is with \(X/R = 0.1\), which is not especially small.

Why engineers like this form: it shows the reactance contributes only at second order. A 10% reactive component changes the impedance magnitude by 0.5%. That is why a small series reactance can often be ignored in magnitude calculations โ€” while still mattering enormously for phase, which shifts by \(\arctan(0.1) \approx 5.7^\circ\).

Scoring

ScoreWhere you are
90–100Strong. This is the unit that pays off most later โ€” good place to be.
75–89Likely losing endpoint checks and substitution slips. Both are mechanical; drill them.
60–74Memorize the seven-series table properly, then redo Q2–Q5. Most of this unit is substitution into those.
< 60Go back to Building series from known ones. If you are differentiating \(n\) times to find a Taylor series, you are doing it the hard way.
Where the points usually go

Skipping the endpoint check (Q1, Q3); forgetting to substitute into every \(x\), so \((2x)^2\) becomes \(2x^2\) (Q5); and sign errors in the binomial coefficients, where three negatives must survive intact (Q7).

Review← Unit 4 notes NextUnit 5 →