Professional Documents
Culture Documents
MATH1231 1241 Lab Test 1
MATH1231 1241 Lab Test 1
MATH1231 1241 Lab Test 1
We cannot guarantee that our answers are correct - please notify us of any errors or typos
at academics@unswmathsoc.org, or on our Facebook page. There are sometimes multiple
methods of solving the same question. You may also be able to leave your final answers
unsimplified (check your answer using the preview button next to the input box).
Question 1
The following integral can be evaluated using a trigonometric or hyperbolic trigono-
metric substitution.
Z
dx
3 .
(16 + x2 ) 2
In order to remove the fractional power, which substitutions should you try? Choose
at least one circular trigonometric substitution and one hyperbolic trigonometric sub-
stitution.
1. x = 4 cosh u 4. x = 4 tan u
2. x = 4 sin u 5. x = 4 sinh u
3. x = 4 sec u 6. x = 4 tanh u
To remove the fractional power, note that we are trying to remove the 2 in the denominator
of that power. Hence, we need to apply a substitution that ends up with a trigonometric
function squared. Note the following two identities:
Hence,
16 + 16 tan2 u = 16 sec2 u 16 + 16 sinh2 u = 16 cosh2 u
= (4 sec u)2 , = (4 cosh u)2 .
x = 4 tan u, x = 4 sinh u.
Using the product to sum formula cos(a) cos(b) = 12 (cos(a + b) + cos(a − b)) , we obtain the
following
Z Z
1
cos(7x) cos(2x)dx = (cos(9x) + cos(5x))dx
2
1 sin(9x) sin(5x)
= + + C.
2 9 5
Find this integral and the following coefficients: a9 , a10 , a11 , a12 , a13
Using the Pythagorean identity sin2 x = 1 − cos2 x and letting u = cos x, we have
Z Z
7 8
3
sin x cos xdx = − cos8 x 1 − cos2 x (− sin x) dx
Z
cos8 x 1 − 3 cos2 x + 3 cos4 x − cos6 x (− sin x) dx
=−
Z
=− u8 (1 − 3u2 + 3u4 − u6 )du
Z
=− u8 − 3u10 + 3u12 − u14 du
u9 3 3 1
=− + u11 − u13 + u15 + C
9 11 13 15
1 9 3 11 3 1
= − cos x + cos x − cos13 x + cos15 x + C.
9 11 13 15
Ans:
a9 = −1/9
a10 = 0
a11 = 3/11
a12 = 0
a13 = −3/13
Find this integral and the following coefficients: a9 , a10 , a11 , a12 , a13
Using the Pythagorean identity cos2 x = 1 − sin2 x and letting u = sin x, we have
Z Z
8 7
3
sin x cos xdx = sin8 x 1 − sin2 x cos xdx
Z
sin8 x 1 − 3 sin2 x + 3 sin4 x − sin6 x cos xdx
=
Z
= u8 (1 − 3u2 + 3u4 − u6 )du
Z
= u8 − 3u10 + 3u12 − u14 du
u9 3 3 1
= − u11 + u13 − u15 + C
9 11 13 15
1 9 3 11 3 1
= sin x − sin x + sin13 x − sin15 x + C.
9 11 13 15
Ans:
a9 = 1/9
a10 = 0
a11 = −3/11
a12 = 0
a13 = 3/13
Re
Let In = 1 (20 + ln x)n dx. Then the recurrence relation becomes In = 21n e − 20n − nIn−1 .
Hence, we have
Z e
(20 + ln x)2 dx = I2
1
1
120 − 325e−1
Z
4 −x
x e dx =
0 5
= 24 − 65e−1 .
R1 2n
Let In = 0 (1 − x2 )n dx. Then our recurrence relation becomes In = I .
2n+1 n−1
Substitute n = 9 into the recurrence relation to get
18
I9 = I8
19
18 16
= I7
19 17
65536
= , using the given condition.
230945
Ans: 2048/6435
R1 4n
Let In = 0 (1 − x4 )n dx. Then our recurrence relation becomes In = I .
4n+1 n−1
Substitute n = 8 into the recurrence relation to get
32
I8 = I7
33
32 28
= I6
33 29
8388608
= , using the given condition.
15862275
Ans: 65536/116025
R1 4n
Let In = 0 (1 − x4 )n dx. Then our recurrence relation becomes In = I .
4n+1 n−1
Substitute n = 8 into the recurrence relation to get
32
I8 = I7
33
32 28
= I6
33 29
32 28 24
= I5 .
33 29 25
R1 8192
Now I5 = 0
(1 − x4 )5 dx = 13923
and thus,
32 28 24 8192
I8 = ·
33 29 25 13923
8388608
= .
15862275
Ans: 8388608/15862275
R1 2n
Let In = 0 (1 − x2 )n dx. Then our recurrence relation becomes In = I .
2n+1 n−1
Substitute n = 9 into the recurrence relation to get
18
I9 = I8
19
18 16
= I7
19 17
18 16 14
= I6 .
19 17 15
R1 1024
Now I6 = 0
(1 − x2 )6 dx = 3003
and thus,
18 16 14 1024
I9 = ·
19 17 15 3003
65536
= .
230945
Ans: 65536/230945
Re
Let In = 1 (ln x)n dx. Then our recurrence relation becomes In = e − nIn−1 .
Substitute n = 10 into the recurrence relation to get
I10 = e − 10I9
= e − 10 (e − 9I8 ) .
Re
Now I8 = 1
(ln x)8 dx = −40320 + 14833e and thus,
R1
Let In = 0 xn e−x dx. Then our recurrence relation becomes In = −e−1 + nIn−1 .
Substitute n = 8 into the recurrence relation to get
I8 = −e−1 + 8I7
= −e−1 + 8 −e−1 + 7I6 .
R1
Now I6 = 0
x6 e−x dx = 720 − 1957e−1 and thus,
= −109601e−1 + 40320.
z = −x3 − 4y 2
at the point (x, y, z) = (−1, −3, −35) and enter your answer in the box below using
Maple syntax.
∂z ∂z
As z = −x3 − 4y 2 , we get the partial derivatives ∂x = −3x2 , and ∂y = −8y.
Hence, normal vector n to the tangent plane to the surface is given by
∂z
∂x
(x 0 , y0 )
∂z
n = ∂y (x0 , y0 )
−1
−3x2
= −8y
−1
−3(−1)2
= −8(−3)
−1
−3
= 24 .
−1
We first take the partial derivative of F with respect to x before taking the partial derivative
of that with respect to y. We have
∂F
= 3x2 y + 2xy + 3y 2 + 42x5 y 6 + 6ex .
∂x
Hence,
∂ 2F
= 3x2 + 2x + 6y + 252x5 y 5 .
∂x∂y
Note that in this case, taking the partial derivative of F with respect to y first would still
produce the same result. To be more technical, the second order partial derivatives commute
if all second order partial derivatives exist and are continuous (see Clairaut’s Theorem).
Find the partial derivations of F in terms of x, y and g and enter your answers in the
boxes below using Maple notation.
∂F ∂F ∂u
=
∂x ∂u ∂x
= f ′ (u) · 20x3
= 20x3 g −5y 6 + 5x4 ,
and
∂F ∂F ∂u
=
∂y ∂u ∂y
= f ′ (u) · −30y 5
Let z be a function of x and y (both in cm) and you are given the following information.
The measured values of x and y are −1cm and −4cm and each measurement is made
with an error with magnitude at most 0.02cm.
Furthermore, you are given that at (x, y) = (−1, −4),
∂z ∂z
= 2 and = −2.
∂x ∂y
Use the total differential approximation to estimate the maximum possible error in
the calculated value of z and enter your answer in the box below. Do not enter units.
∂z ∂z
|∆z| ≈ ∆x + ∆y
∂x ∂y
∂z ∂z
≤ |∆x| + |∆y| ,
∂x ∂y
where the last line is obtained through the triangle inequality. Here, we have |∆x| ≤ 0.02,
∂z ∂z
|∆y| ≤ 0.02, ∂x = 2 and ∂y = −2. Hence, |∆z| ⪅ 2 · 0.02 + 2 · 0.02 = 0.08.
Ans: 0.08
Let z = 4x3 + 3y 3 where x and y are functions of t. When t = 1, you are given that
dx dy
x = 2, y = −2, = −4 and =1
dt dt
dz
Find dt
when t = 1 and enter your answer in the box below.
∂z ∂z
As z = 4x3 + 3y 3 , we get ∂x = 12x2 and ∂y
= 9y 2 .
Applying the chain rule, we have
dz ∂z dx ∂z dy
= +
dt ∂x dt ∂y dt
dx dy
= 12x2 + 9y 2 .
dt dt
Ans: -156
∂z ∂z
= −4 and = 1.
∂x ∂y
If x is increased by 0.06 and y is decreased by 0.07, use the total differential approxi-
mation to estimate the change in z and enter your answer in the box below.
Ans: -0.31
Question 1
Select all of the statements below that are true.
1) There are infinitely many sets of 8 vectors in R5 that do not span R5 .
2) There is a set of 6 vectors in R4 that spans R4 .
3) There is a set of 8 vectors in R6 that is linearly independent.
4) There is a set of 5 vectors in R7 that is linearly dependent.
5) There is a set of 5 vectors in R7 that does not span R7 .
6) There is a set of 9 vectors in R6 that spans R6 .
For the first statement, we can consider how two vectors can be scalar multiples of each
other, spanning a line through the origin rather than a plane through the origin. This means
that a set of 8 vectors could be contained in a single vector line through the origin, not
spanning R5 . As these 8 vectors can be placed anywhere on a line, it leads to infinitely many
sets of 8 vectors that do not span R5 .
The second statement can be verified through considering any set of 6 vectors including the
basis for R4 , As the basis of R4 is 4 vectors, it is then possible to have a set of 6 vectors in
R4 that spans R4 .
The third statement can be verified with the understanding that the maximal set of linearly
independent vectors has a size of the dimension of the space. This means that a linearly
independent set of vectors in R6 must have 6 or fewer elements, making it impossible to have
a set of 8 vectors that satisfies it.
The fourth statement can be verified through the understanding that linearly dependence is
determined by the ability of any vector to be expressed as a linear combination of the others,
this includes if one vector is a scalar multiple of another. With this we can demonstrate that
any vector set with more than 1 vector in it can be linearly dependent. Thus there is a set
of 5 vectors in R7 that is linearly dependent.
The fifth statement can be verified through an understanding similar to the first statement,
we know there are an infinite quantity of sets of 5 vectors in R7 that do not span R7 .
The sixth statement can be verified similarly to the third statement, this is as a set that
Thus the answer determines that statements 1,2,4,5 and 6 are true.
Let S = {v1 , v2 , ..., vn } be a set of vectors in a vector space V with scalar field F .
Select the correct definition for span(S) from the choices below.
1. span(S) = {x ∈ V : x = λ1 v1 + λ2 v2 + ... + λn vn for λ1 , λ2 , ..., λn ∈ V }
2. span(S) = {x ∈ V : x = λ1 v1 + λ2 v2 + ... + λn vn for λ1 = λ2 = ... = λn = 0}
3. span(S) = {x ∈ V : x = λ1 v1 + λ2 v2 + ... + λn vn for λ1 , λ2 , ..., λn ∈ F }
4. span(S) = {x ∈ V : if x = λ1 v1 + λ2 v2 + ... + λn vn for λ1 , λ2 , ..., λn ∈ V then
λ1 = λ2 = ...λn = 0}
5. span(S) = {x ∈ V : if x = λ1 v1 + λ2 v2 + ... + λn vn for λ1 , λ2 , ..., λn ∈ F then
λ1 = λ2 = ...λn = 0}
The span of a set of vectors is determined by all possible linear combinations of the included
vectors. This requires λ to be an element of the scalar field F, the only option that satisfies
these conditions is the third statement.
Linear independence of a set of vectors is defined as the inability of any vector to be expressed
as a linear combination of the other vectors. This is equivalent to stating that the linear
combination resulting in the zero vector is only achieved when all coefficients are 0. Thus,
the answer is 4.
Let S = {v1 , v2 , ..., vn } be a set of vectors in a vector space V over a scalar field F
Select the correct definition of span(S) from the choices below.
1. For any vector x ∈ span(S), if there are scalars λ1 , λ2 , ..., λn ∈ F such that x =
λ1 v1 + λ2 v2 + ... + λn vn then λ1 = λ2 = ... = λn = 0.
2. For every vector x ∈ span(S), there are unique scalars λ1 , λ2 , ..., λn ∈ F such that
x = λ1 v1 + λ2 v2 + ... + λn vn .
3. If there are scalars λ1 , λ2 , ..., λn ∈ F such that λ1 v1 + λ2 v2 + ... + λn vn = 0 then
λ1 = λ2 = ... = λn = 0.
4. For every vector x ∈ span(S), there are scalars λ1 , λ2 , ..., λn ∈ F such that x =
λ1 v1 + λ2 v2 + ... + λn vn .
Similarly to Question 2, the span of a vector set is defined by all possible linear combinations
of the contained vectors. However, the important distinction this question addresses is
whether the scalars used in the linear combination are unique from each other, this is not
the case. Thus the answer is the fourth statement.
A = {(x, y, z) ∈ R3 : 3x + 5y − 5z = 0}
B = {(x, y, z) ∈ R3 : (x, y, z) = λ(1, 0, −2) + µ(0, 6, −3) and − 5x + 4y + 9z = 0}
C = {p ∈ P3 : p(x) = x3 + ax2 + c where a, b, c are real numbers}
• Set A can be illustrated as a plane in R3 that passes through the origin, hence it
satisfies the conditions for a subspace of R3 .
• Set B is the intersection of two planes at a line in R3 that pass through the origin,
hence it satisfies the conditions for a subspace of R3 .
• Set C requires that the coefficient of x3 is 1, this means that addition of any two
elements in C results in a coefficient of x3 is that is 2, and hence demonstrates that
closure under addition does not hold, hence C is not a subspace of P3 .
A = {(x, y, z) ∈ R3 : 7x − 7y − 7z = 0}
B = {(x, y, z) ∈ R3 : (x, y, z) = λ(−4, 0, −6) + µ(0, −7, 7) and − 4x + 2y − 3z = 5}
C = {p ∈ P3 : p(−4) = p(3) = 3}
Similarly to Question 5, we see A is a plane through the origin and B is the intersection
of two planes, one of which does not pass through the origin. Hence A is a subspace of R3
whereas B is not as it does not contain the zero vector.
Inspecting set C reveals that the set does not achieve closure under addition. This is as
fixing p(−4) and p(3) to a non-zero value leads to the following analysis: p, q ∈ C =⇒
(p + q)(−4) = p(−4) + q(−4) = 6 ̸= 3. Thus, C is not a subspace of P3
Hence, only statement 1 is true.
A = {(x, y, z) ∈ R3 : 3x + 5y − 9z = 2}
B = {(x, y, z) ∈ R3 : (x, y, z) = λ(8, 0, −3) + µ(0, −5, 5) and 2x − 2y − 6z = 5}
C = {p ∈ P3 : p(x) = ax3 + bx + c where a, b, c are real numbers}
By a similar graphical analysis, set A is a plane not passing through the origin. Similarly, B
is the intersection of two plane, one of which does not pass through the origin. Thus both
are not a subspace of R3 .
Set C is described as any possible polynomial up to a degree of 3, We can map this to a set
of R3 through the mutual independence of the different powers of x. In other words, we can
express it as any vector ⟨a, b, c⟩. Thus, C is a subspace of and even spans P3 .
Hence, only statement 3 is true.
A = {(x, y, z) ∈ R3 : −5x + y − z = 0}
B = {(x, y, z) ∈ R3 : (x, y, z) = λ(9, 0, 5) + µ(0, 2, −8) and 2x + 2y − 5z = 5}
C = {p ∈ P3 : p(−4) = p(5) = 0}
Similarly to the previous questions, A is a plane through the origin and hence a subspace of
R3 , whereas B is a line not passing through the origin and hence not a subspace.
Applying similar logic from Question 7, we can identify that C is a set of polynomials
whose properties achieve closure under both addition and scalar multiplication, satisfying
all requirements to be a subspace of P3 .
Hence, the statements 1 and 3 are true.
Set A depicts a plan with restrictions on its x and y values, forming a parallelogram with
defined edges. This manner of set cannot achieve closure under addition or scalar multipli-
cation as it cannot form a span of any non-zero vectors. Hence, A is not a subspace.
Similarly to the previous questions, B can be recognised as a line through the origin as it is
the intersection of two planes that pass through the origin and is hence a subspace.
By the same reasoning as in Question 5, we conclude that C is not a subspace as it does not
demonstrate closure under operations.
Thus, only statement 2 is true.
A = {(x, y, z) ∈ R3 : 9x − 2y − 9z = 0}
B = {(x, y, z) ∈ R3 : (x, y, z) = (1, 2, −2) + λ(1, 0, −1) + µ(0, 2, 1)
and − 2x + 7y − 2z = 0}
C = {p ∈ P3 : p(x) = x3 + ax2 + bx + c where a, b, c are real numbers }
Answer:
a) Using addition we can see that for all values the RHS will always be ≥ 0, so we can say
that S is closed under vector addition
b) We can find a valid counter example to prove that it is not closed. For example, ⟨1, 2, 3⟩
and λ = −1. This will result in −(1 − 2 · 2 + 3 · 3) = −6 ≱ 0 which is clearly not closed.
S = {x = (x1 , x2 , x3 ) ∈ R3 : x3 − x1 x2 = 0}.
Answer:
a) We can find a valid counter example to prove that it is not closed. Consider ⟨1, 1, 1⟩ and
⟨1, 2, 2⟩. This will result in 3 − 2 · 3 = −3 ̸= 0 which is clearly not closed.
b) In the general case, we can see that multiplication by λ of the vector ⟨x1 , x2 , x3 ⟩ will result
in λ · x3 − λ2 · x1 x2 = 0. Finding a counter example is made easy, as we can see that in most
cases x3 ̸= λx1 x2 given our base condition x3 ̸= λx1 x2 . For example, ⟨1, 1, 1⟩ and λ = 3
gives 3 − 9 ̸= 0
a) We can find a valid counter example to prove that it is not closed. Consider ⟨1, 1, 1⟩ and
⟨4, 1, 2⟩. This will result in 9 − 5 · 2) = −1 ̸= 0 which is clearly not closed.
b) In the general case, we can see that multiplication by λ of the vector ⟨x1 , x2 , x3 ⟩ will result
in
λ2 · x3 − λ2 · x1 x2 = 0
λ 2 · x3 = λ 2 · x1 x2 .
Given our base condition x3 = x1 x2 we can see that for all values of ⟨x1 , x2 , x3 ⟩ and λ the
equation is consistent so we can see it is closed.
(a) We can find a valid counterexample to prove that it is not closed under addition.
Consider ⃗x = ⟨1, 0, 1⟩ and ⃗y = ⟨1, 0, −1⟩. It is easy to see that ⃗x, ⃗y ∈ S and that
⃗x + ⃗y = ⟨2, 0, 0⟩. However, we see that |0| − |2| − |0| = −2 ̸= 0. Hence, ⃗x + ⃗y ̸∈ S,
which implies that S is not closed under addition.
(b) Let λ ∈ R and let ⃗x = ⟨x1 , x2 , x3 ⟩ ∈ S. We see that λ⃗x = ⟨λx1 , λx2 , λx3 ⟩ and so,
Hence, for any λ ∈ R, we see that λ⃗x ∈ S, which implies that S is closed under scalar
multiplication.
a) We can find a valid counter example to prove that it is not closed. Consider ⟨1, 1, 2⟩ and
⟨6, 1, 7⟩. This will result in 9 − 7 − 22 = −2 ̸= 0 which is clearly not closed.
b) We can find a valid counter example to prove that it is not closed. Consider ⟨1, 1, 2⟩ and
λ = 2. This will result in 4 − 2 − 22 = −2 ̸= 0 which is clearly not closed.
a) We can find a valid counter example to prove that it is not closed. Consider ⟨1, 1, 1⟩ and
⟨8, 1, 2⟩. This will result in 27 − 9 · 32 = −54 ̸= 0 which is clearly not closed.
b) In the general case, we can see that multiplication by λ of the vector ⟨x1 , x2 , x3 ⟩ will result
in
λ3 · x3 − λ · x1 · λ2 x22 = 0
λ3 · x3 = λ3 · x1 x22 .
Given our base condition x33 = x1 x22 we can see that for all values of ⟨x1 , x2 , x3 ⟩ and λ the
equation is consistent so we can see it is closed.
a) Find A, an augmented matrix (with no bar), for the problem of deciding when
x = (x, y, z) ∈ span{v1 , v2 , v3 }
b) Now use this matrix to determine what condition(s), if any, are required on x, y, z
such that
x = (x, y, z) ∈ span{v1 , v2 , v3 }
a) To form the augmented matrix we simply need to insert the column vectors into the
matrix in order to form A:
2 −3 2 x
3 −3 2 y
5 −3 2 z
a) Find A, an augmented matrix (with no bar), for the problem of deciding when
x = (x, y, z, t) ∈ span{v1 , v2 , v3 }
b) Now use this matrix to determine what condition(s), if any, are required on x, y,
z and t such that
x = (x, y, z, t) ∈ span{v1 , v2 , v3 }
a) To form the augmented matrix we simply need to insert the column vectors into the
matrix in order to form A:
−1 −3 −2 x
3
1 −2 y
−5 −5 0 z
4 −4 −8 t
Maple syntax: <<-1, 3, -5, 4>|<-3, 1, -5, 4>|<-2, -2, 0, -8>|<x, y, z, t>>
r1 (t) = 1 + 3t + 5t2 ,
r2 (t) = 2 + 3t + t2 ,
r3 (t) = 5 + 8t + 4t2 ,
q(t) = 1 + t + t2
µ1 r1 + µ2 r2 + µ3 r3 = q
0 0 0 −3
(d) If they are linearly independent, provide a linear combination of p1 and p2 that
equals p3 .
If they are linear independent, provide a linear combination of p1 , p2 and p3 that
equals q.
(a) To establish the linear system of equations equating powers of t, we map P2 to R3 such
that a + bt + ct2 7→ (a, b, c). We can then enter our column vectors into a matrix to
5 1 4 1
(b) To determine the linear independence of the three polynomials, the row reduced matrix
must have leading columns in the relevant positions, this being all columns apart from
the final column as the final column represents the augmented outcome of a linear
combination. Thus, as the third column is not leading this set of polynomials are not
linearly independent.
r1 (t) = 1 + 3t + t2 ,
r2 (t) = 3 + 10t + 2t2 ,
r3 (t) = 1 + t + 4t2 ,
q(t) = 1 + 7t − t2 .
µ1 r1 + µ2 r2 + µ3 r3 = q
0 0 1 2
(d) If they are linearly independent, provide a linear combination of p1 and p2 that
equals p3 .
If they are linear independent, provide a linear combination of p1 , p2 and p3 that
equals q.
1 2 4 −1