Mathematics 307 Final Exam
Mathematics 307 Final Exam
solutions
Warning: I have not proofread these carefully. There may be typos and algebra mistakes.
1. For full credit for this question, express your answers in sigma () notation.
R
2
(a) Fact: ex dx cannot be expressed in terms of familiar functions. It has a Maclau2
rin series, though; find it. (First find the Maclaurin series for ex , then integrate.)
X
xn
x
Since e =
, then by substituting x2 for x, I get
n!
n=0
x2
X
(x2 )n
n=0
n!
X
(1)n x2n
n=0
n!
Now integrate:
Z
x2
dx =
X
(1)n x2n+1
n=0
n!(2n + 1)
+c .
(b) Use the definition of the Taylor series to find the Taylor series for sin x at x0 = /2.
The function in question is f (x) = sin x, and I know its derivatives: f 0 (x) = cos x,
f 00 (x) = sin x, f 000 (x) = cos x, and after that they repeat. Plug x0 = /2 into
each of these: f (x0 ) = 1, f 0 (x0 ) = 0, f 00 (x0 ) = 1, f 000 (x0 ) = 0, and after that they
repeat. So the pattern is: the even ones are zero, and the odd ones alternate 1, 1,
1, 1, etc. So the Taylor series is
X
f (n) (x0 )
n=0
n!
(x x0 )n = 1 +
0
1
0
(x /2) +
(x /2)2 + (x /2)3 + .
1!
2!
3!
After removing all of the terms that are zero (which are the odd powers of x /2),
I get
1
1
1
1 (x /2)2 + (x /2)4 (x /2)6 + .
2!
4!
6!
This is equal to
X
(1)n
(x /2)2n .
(2n)!
n=0
2. Solve the following equation using a power series about x0 = 0. Find the recurrence relation; also find the first four nonzero terms in each of two linearly independent solutions.
If possible, find the general term in those solutions.
(1 x)y 00 y = 0.
P
P
n
00
n2
Let y =
. Next I plug these in: the equation
n=0 an x . Then y =
n=0 n(n1)an x
becomes
X
X
(1 x)
n(n 1)an xn2
an xn = 0,
n=0
n=0
n(n 1)an x
n2
n=0
n(n 1)an x
n1
n=0
an xn = 0.
n=0
Now I reindex the first two sums so that the generic term involves xn , and the result is
(n + 2)(n + 1)an+2 x
n=2
(n + 1)nan+1 x
n=1
an xn = 0.
n=0
The n = 2 and n = 1 terms of the first sum are zero, as is the n = 1 term of the
second sum, so I can change all of these to be sums starting at n = 0. So I get
n=0
So for every n 0,
(n + 2)(n + 1)an+2 (n + 1)nan+1 an = 0,
and this gives the recursion relation
an+2 =
(n + 1)nan+1
an
+
,
(n + 2)(n + 1) (n + 2)(n + 1)
or (slightly simplified)
an+2 =
nan+1
an
+
.
n+2
(n + 2)(n + 1)
0a1
a0
a0
+
= .
2
21
2
a2 a1
a0 a1
+
=
+ .
3
6
6
6
Page 2
a0 2
a0 a1
a0 a1
a0
7a1 5
x + ( + )x3 + ( + )x4 + ( +
)x + .
2
6
6
8
12
12 120
y(0) = 1,
y 0 (0) = 0.
Page 3
X
(1)n n 2n
x .
(a)
n
2
n=0
Use the ratio test:
(n + 1)st term
(1)n+1 (n + 1)x2(n+1) /2n+1
(1)(n + 1)x2
= lim
= lim
lim
n
n
nth term n
(1)n nx2n /2n
2n
n + 1
|x2 |
.
=
lim
2 n n
The last limit is 1. We want the whole thing to be less than 1, so x2 /2 < 1, so
X
xn
.
(b)
n!n
n=1
This last limit is 0, so the whole thing is less than 1 no matter what x is. So the
radius of convergence is .
dy
= 1,
dt
y(1) = 2.
dt
.
t
y = 2 ln t + c.
(Strictly speaking, that should be 2c, but Ive renamed
my constant,as usual.) Now
apply the initial condition: when t = 1, y = 2: 2 = 2 ln 1 + c = c. So c should
be 4, and I want the plus sign, not the minus sign:
y = 2 ln t + 4 .
6. Do not solve the problems in parts (a)(d). Instead, identify the type of problem
(separable, second order linear homogeneous with constant coefficients, things like
that), and tell me what method (or methods) to use to solve it (integrating factor,
power series solution, etc.).
Page 4
Page 5