Beruflich Dokumente
Kultur Dokumente
DIRECT INTEGRATION
Graham S McDonald
● Table of contents
● Begin Tutorial
c 2004 g.s.mcdonald@salford.ac.uk
Table of contents
1. Introduction
2. Theory
3. Exercises
4. Answers
5. Standard integrals
6. Tips on using solutions
Full worked solutions
Section 1: Introduction 3
1. Introduction
3
d2 y
dy
+ = x7 is an example of an ordinary differential equa-
dx2 dx
dy
tion (o.d.e.) since it contains only ordinary derivatives such as dx
∂y
and not partial derivatives such as ∂x .
The above example is a second order equation since the highest or-
d2 y
der of derivative involved is two (note the presence of the dx 2 term).
Toc JJ II J I Back
Section 1: Introduction 4
An o.d.e. is linear when each term has y and its derivatives only
appearing to the power one. The appearance of a term involving the
dy
product of y and dx would also make an o.d.e. nonlinear.
3
dy
In the above example, the term dx makes the equation nonlin-
ear.
Toc JJ II J I Back
Section 2: Theory 5
2. Theory
An ordinary differential equation of the following form:
dy
= f (x)
dx
Toc JJ II J I Back
Section 3: Exercises 6
3. Exercises
Click on Exercise links for full worked solutions (there are 8
exercises in total)
Exercise 1.
Show that y = 2e2x is a particular solution of the ordinary
d2 y dy
differential equation: − − 2y = 0
dx2 dx
Exercise 2.
Show that y = 7 cos 3x − 2 sin 2x is a particular solution of
d2 y
+ 2y = −49 cos 3x + 4 sin 2x
dx2
Exercise 3.
Show that y = A sin x + B cos x, where A and B are arbitrary
d2 y
constants, is the general solution of +y =0
dx2
Exercise 4.
dy
Derive the general solution of = 2x + 3
dx
Exercise 5.
d2 y
Derive the general solution of = − sin x
dx2
Exercise 6.
d2 y
Derive the general solution of = a, where a = constant
dt2
Exercise 7.
d3 y
Derive the general solution of = 3x2
dx3
Exercise 8.
d2 y
Derive the general solution of e−x =3
dx2
4. Answers
2
d y dy
1. HINT: Work out dx 2 and dx and then substitute your results,
4. y = x2 + 3x + C ,
5. y = sin x + Ax + B ,
6. y = 12 at2 + Ct + D ,
7. y = 1 5
20 x + C 0 x2 + Dx + E ,
8. y = 3ex + Cx + D .
Toc JJ II J I Back
Section 5: Standard integrals 10
5. Standard integrals
R R
f (x) f (x)dx f (x) f (x)dx
n xn+1 n 0 [g(x)]n+1
x n+1 (n 6= −1) [g (x)] g (x) n+1 (n 6= −1)
1 g 0 (x)
x ln |x| g(x) ln |g (x)|
x ax
e ex a x
ln a (a > 0)
sin x − cos x sinh x cosh x
cos x sin x cosh x sinh x
tan x − ln
|cos x| tanh x ln cosh x
cosec x ln tan x2 cosech x ln tanh x2
sec x ln |sec x + tan x| sech x 2 tan−1 ex
sec2 x tan x sech2 x tanh x
cot x ln |sin x| coth x ln |sinh x|
sin2 x x
2 −
sin 2x
4 sinh2 x sinh 2x
4 − x2
cos2 x x
2 +
sin 2x
4 cosh2 x sinh 2x
4 + x2
Toc JJ II J I Back
Section 5: Standard integrals 11
R R
f (x) f (x) dx f (x) f (x) dx
1 1
tan−1 x 1 1 a+x
a2 +x2 a a a2 −x2 2a ln a−x (0 < |x| < a)
1 1 x−a
(a > 0) x2 −a2 2a ln x+a (|x| > a > 0)
√
2 2
√ 1 sin−1 x √ 1 ln x+ aa +x (a > 0)
a2 −x2 a a2 +x2
√
2 2
(−a < x < a) √ 1 ln x+ xa −a (x > a > 0)
x2 −a2
√ a2
√ a2
h √ i
sinh−1 x a2 +x2
−1 x
x
a2 − x2 2 sin a a2 +x2 2 a + a2
√ i √ h √ i
a2
a2 −x2
− cosh−1
2 2
+x x
+ x xa2−a
a2 x2 −a2 2 a
Toc JJ II J I Back
Section 6: Tips on using solutions 12
● Use the solutions intelligently. For example, they can help you get
started on an exercise, or they can allow you to check whether your
intermediate results are correct.
● Try to make less use of the full solutions as you work your way
through the Tutorial.
Toc JJ II J I Back
Solutions to exercises 13
Toc JJ II J I Back
Solutions to exercises 14
Exercise 2.
To show that y = 7 cos 3x − 2 sin 2x is a particular solution of
d2 y
dx2 + 2y = −49 cos 3x + 4 sin 2x, work out the following:
dy
= −21 sin 3x − 4 cos 2x
dx
d2 y
= −63 cos 3x + 8 sin 2x
dx2
d2 y
∴ dx2 + 2y = −63 cos 3x + 8 sin 2x + 2(7 cos 3x − 2 sin 2x)
= (−63 + 14) cos 3x + (8 − 4) sin 2x
= −49 cos 3x + 4 sin 2x
= RHS
Notes • The equation is second order, so the general solution
would have two arbitrary (undetermined) constants.
• Notice how similar the particular solution is to the
Right-Hand-Side of the equation. It involves the
same functions but they have different coefficients i.e.
Toc JJ II J I Back
Solutions to exercises 15
y is of the form
a=7
“a cos 3x + b sin 2x”
b = −2
Return to Exercise 2
Toc JJ II J I Back
Solutions to exercises 16
Exercise 3.
dy
We need: dx = A cos x + B · (− sin x)
2
d y
dx2 = −A sin x − B cos x
2
d y
∴ dx2 +y = (−A sin x − B cos x) + (A sin x + B cos x)
= 0
= RHS
Since the differential equation is second order and the solution has
two arbitrary constants, this solution is the general solution.
Return to Exercise 3
Toc JJ II J I Back
Solutions to exercises 17
Exercise 4.
dy
This is an equation of the form = f (x), and it can be solved by
dx
direct integration.
Integrate both sides with respect to x:
Z Z
dy
dx = (2x + 3)dx
dx
Z Z
i.e. dy = (2x + 3)dx
1
i.e. y = 2 · x2 + 3x + C
2
2
i.e. y = x + 3x + C,
where C is the (combined) arbitrary constant that results from
integrating both sides of the equation. The general solution must
have one arbitrary constant since the differential equation is first
order.
Return to Exercise 4
Toc JJ II J I Back
Solutions to exercises 18
Exercise 5.
d2 y
This is of the form dx2 = f (x) , so we can solve for y by direct
integration.
Integrate both sides with respect to x:
Z
dy
= − sin xdx
dx
= −(− cos x) + A
Integrate again:
y = sin x + Ax + B
where A, B are the two arbitrary constants of the general solution
(the equation is second order).
Return to Exercise 5
Toc JJ II J I Back
Solutions to exercises 19
Exercise 6.
Integrate both sides with respect to t:
Z
dy
= a dt
dt
dy
i.e. = at + C
dt
Integrate again:
Z
y = (at + C)dt
1 2
i.e. y = at + Ct + D ,
2
where C and D are the two arbitrary constants required for the
general solution of the second order differential equation.
Return to Exercise 6
Toc JJ II J I Back
Solutions to exercises 20
Exercise 7.
Integrate both sides with respect to x:
d2 y
Z
= 3x2 dx
dx2
d2 y 1
i.e. = 3 · x3 + C
dx2 3
d2 y
i.e. = x3 + C
dx2
Integrate again:
Z
dy
= (x3 + C)dx
dx
dy x4
i.e. = + Cx + D
dx 4
Toc JJ II J I Back
Solutions to exercises 21
x4
Z
Integrate again: y = + Cx + D dx
4
1 1 5 1
i.e. y = · x + C · x2 + Dx + E
4 5 2
1 5 0 2
i.e. y = x + C x + Dx + E
20
Toc JJ II J I Back
Solutions to exercises 22
Exercise 8.
Multiplying both sides of the equation by ex gives:
d2 y
ex · e−x= ex · 3
dx2
d2 y
i.e. = 3ex
dx2
d2 y x
This is now of the form dx 2 = f (x), where f (x) = 3e , and the
Toc JJ II J I Back
Solutions to exercises 23
i.e. y = 3ex + Cx + D ,
where C and D are the two arbitrary constants of the general
solution of the original second order differential equation.
Return to Exercise 8
Toc JJ II J I Back