Differential Equations Quiz: Systems In Matrix Form
Practice Systems In Matrix Form in Differential Equations with focused quiz questions that help you check what you know, review explanations, and build confidence with test-style prompts.
Question 1 / 9
0 of 9 answered
The matrix differential equation X′=103210012X+t20sint represents which system of scalar differential equations?
What this quiz covers
This quiz focuses on Systems In Matrix Form, giving you a quick way to practice the rules, question types, and explanations that matter most for Differential Equations.
How to use this quiz
Try each quiz question before looking at the correct answer. Use the explanations to review missed ideas, then come back to similar questions until the pattern feels familiar.
All questions
Question 1
The matrix differential equation X′=103210012X+t20sint represents which system of scalar differential equations?
Explanation: When you encounter a matrix differential equation like X′=AX+b(t), you're looking at a compact way to represent a system of coupled differential equations. To convert it back to scalar form, you need to perform the matrix multiplication and addition component by component.Let's work through this systematically. If X=xyz, then X′=x′y′z′. The right side becomes:103210012xyz+t20sint=x+2yy+z3x+2z+t20sint=x+2y+t2y+z3x+2z+sintThis gives us: x′=x+2y+t2, y′=y+z, z′=3x+2z+sint, which is answer C.Answer A incorrectly omits sint from the third equation. Answer B misplaces the forcing terms, putting t2 in the second equation instead of the first. Answer D omits t2 from the first equation entirely.Study tip: Always multiply the matrix and vector first, then add the forcing vector component-wise. Each row of the coefficient matrix corresponds to one scalar equation, and each component of the forcing vector gets added to its corresponding equation position.
Question 2
A coupled oscillator system is described by: m1dt2d2x1=−k1x1+k2(x2−x1), m2dt2d2x2=−k2(x2−x1)−k3x2. To convert this to matrix form, let y=x1x1′x2x2′. What is the correct coefficient matrix A such that y′=Ay?
Explanation: Converting the second-order system requires x1′=x1′ and x1′′=m1−k1x1+k2(x2−x1)=m1−(k1+k2)x1+k2x2. Similarly, x2′′=m2−k2(x2−x1)−k3x2=m2k2x1−(k2+k3)x2. Choice B incorrectly has k1−k2 instead of k1+k2. Choice C has k2−k3 instead of k2+k3. Choice D has the wrong sign for the coupling term m1k2.
Question 3
Consider the third-order differential equation y′′′−2y′′+3y′−y=e2t. Using the substitution y1=y, y2=y′, y3=y′′, which matrix equation represents this system?
Explanation: When you encounter a higher-order differential equation like this third-order equation, converting it to a first-order system using substitution is a fundamental technique. The key is systematically defining new variables for each derivative and then expressing their relationships.Starting with the substitution y1=y, y2=y′, y3=y′′, you need to find the derivatives of each new variable. From the definitions: y1′=y′=y2 and y2′=y′′=y3. For y3′=y′′′, you use the original equation. Since y′′′−2y′′+3y′−y=e2t, solving for y′′′ gives y′′′=2y′′−3y′+y+e2t=2y3−3y2+y1+e2t.This creates the system: y1′=y2, y2′=y3, y3′=y1−3y2+2y3+e2t. In matrix form, this becomes answer choice D.Choice A is wrong because the coefficient matrix has the identity structure in the wrong positions—the first two rows should have the "shift" pattern [0,1,0] and [0,0,1], not [1,0,0] and [0,1,0].Choice B has the correct matrix structure but incorrect signs in the bottom row: it shows [−1,3,−2] instead of [1,−3,2].Choice C places the forcing term e2t in the wrong position—it should be in the third component, not the second.Strategy tip: Always work systematically through the substitution, carefully tracking signs when solving for the highest derivative. The coefficient matrix follows a predictable pattern with the challenging part being the bottom row.
Question 4
The system dtdx=Ax where A=(acbd) represents the scalar system dtdx=3x−2y, dtdy=5x+y. What is det(A−λI)?
λ2+4λ+13
λ2−4λ+13 (correct answer)
λ2−4λ+3
λ2−4λ−13
Explanation: When you encounter a linear system of differential equations, you're typically working toward finding eigenvalues, which requires computing the characteristic polynomial det(A−λI).First, identify the coefficient matrix A from the given system. The equations dtdx=3x−2y and dtdy=5x+y give us:
A=(35−21)Next, form A−λI:
A−λI=(3−λ5−21−λ)Calculate the determinant:
det(A−λI)=(3−λ)(1−λ)−(−2)(5)=(3−λ)(1−λ)+10Expanding: 3−3λ−λ+λ2+10=λ2−4λ+13This matches answer choice B.Now for the wrong answers: Choice A (λ2+4λ+13) has the wrong sign on the middle term—this happens if you incorrectly expand (3−λ)(1−λ) or mix up the trace calculation. Choice C (λ2−4λ+3) gets the linear term right but miscalculates the constant term, likely forgetting to add the off-diagonal product (−2)(5)=−10. Choice D (λ2−4λ−13) makes sign errors in both the expansion and the off-diagonal calculation.Study tip: Remember that for a 2×2 matrix, the characteristic polynomial is always λ2−trace(A)λ+det(A). Here, trace = 3+1=4 and determinant = 3(1)−(−2)(5)=13, giving λ2−4λ+13.
Question 5
Consider the system of differential equations: dtdx=3x−2y+t, dtdy=x+4y−et. Which matrix form correctly represents this system?
dtd(xy)=(31−24)(xy)+(t−et) (correct answer)
dtd(xy)=(3124)(xy)+(t−et)
dtd(xy)=(31−24)(xy)+(tet)
dtd(xy)=(3−1−24)(xy)+(t−et)
Explanation: The correct matrix form is A. The coefficient matrix has entries from the coefficients of x and y: first row [3, -2] from 3x - 2y, second row [1, 4] from x + 4y. The forcing vector contains the non-homogeneous terms [t, -e^t]. Choice B incorrectly has +2 instead of -2. Choice C has +e^t instead of -e^t. Choice D has -1 instead of +1 in the coefficient matrix.
Question 6
A system of differential equations has the form dtdy=Py+q(t) where P is a 3×3 matrix and q(t) is a forcing vector. If the original system consists of one third-order equation y′′′+ay′′+by′+cy=f(t), which statement about the structure of P is correct?
P has the form 01−c00−b10−a and q(t)=00f(t)
P has the form 00−c10−b01−a and q(t)=00f(t) (correct answer)
P has the form 00−c10−b01−a and q(t)=f(t)00
P has the form 00c10b01a and q(t)=00f(t)
Explanation: When you encounter a higher-order differential equation that needs to be converted to a system, you're using a standard technique that transforms one nth-order equation into n first-order equations by introducing new variables.To convert y′′′+ay′′+by′+cy=f(t) into a first-order system, define y1=y, y2=y′, and y3=y′′. This gives us the relationships: y1′=y2, y2′=y3, and from the original equation, y3′=y′′′=−ay′′−by′−cy+f(t)=−ay3−by2−cy1+f(t).Writing this as dtdy=Py+q(t) where y=y1y2y3, we get the system with matrix P=00−c10−b01−a and forcing vector q(t)=00f(t). This confirms answer B is correct.Answer A has the wrong structure in the first two rows—the 1's are misplaced, disrupting the derivative relationships. Answer C places the forcing term f(t) in the wrong position; it should appear in the equation for y3′, not y1′. Answer D has the correct matrix structure but wrong signs—the coefficients in the bottom row should be negative, not positive.Remember: the companion matrix always has 1's on the superdiagonal, zeros elsewhere in the first n−1 rows, and the negative coefficients in the last row. The forcing term appears in the position corresponding to the highest derivative.
Question 7
The system dtdx=ax+by+f(t), dtdy=cx+dy+g(t) has the matrix representation X′=AX+F(t) where A=(24−31) and F(t)=(sintcost). What are the values of a, c, and g(t)?
a=2, c=4, g(t)=cost (correct answer)
a=2, c=−3, g(t)=cost
a=4, c=2, g(t)=sint
a=2, c=4, g(t)=sint
Explanation: From the matrix form A=(acbd)=(24−31), we read a=2 and c=4. The forcing vector F(t)=(f(t)g(t))=(sintcost) gives g(t)=cost. Choice B confuses c with b=−3. Choice C swaps a and c and confuses g(t) with f(t). Choice D has the correct a and c but wrong g(t).
Question 8
A population model tracks three species with interactions described by: dtdx=2x−xy+z, dtdy=xy−3y, dtdz=−z+2y. The linearization about the equilibrium point (1,2,4) gives which matrix form?
Explanation: When analyzing nonlinear systems of differential equations, linearization helps you understand local behavior near equilibrium points. You linearize by computing the Jacobian matrix of partial derivatives and evaluating it at the equilibrium point.For this system, you need to find the Jacobian matrix of the right-hand sides:
J=∂x∂(2x−xy+z)∂x∂(xy−3y)∂x∂(−z+2y)∂y∂(2x−xy+z)∂y∂(xy−3y)∂y∂(−z+2y)∂z∂(2x−xy+z)∂z∂(xy−3y)∂z∂(−z+2y)Computing the partial derivatives:
J=2−yy0−xx−3210−1Evaluating at the equilibrium point (1,2,4):
J(1,2,4)=2−220−11−3210−1=020−1−2210−1Answer D matches this calculation with the correct entry −2 in position (2,2). Answer A has −1 instead of −2 in this position. Answer B incorrectly keeps the original constant terms like 2 and −3 that should be removed during linearization. Answer C also has −3 instead of −2 in the (2,2) position.Remember: linearization requires computing partial derivatives of each equation with respect to each variable, then substituting the equilibrium values. Don't confuse this with simply copying coefficients from the original equations.
Question 9
A mechanical system with damping is governed by mx¨+cx˙+kx=F(t) where m=2, c=6, k=8, and F(t)=4cos(3t). Using the state variables x1=x and x2=x˙, which matrix form is correct?
Explanation: When converting a second-order differential equation to a first-order system, you're transforming one equation with higher derivatives into multiple equations with only first derivatives. This is essential for numerical methods and state-space analysis.Start by defining your state variables: x1=x and x2=x˙. This immediately gives you the first equation: x1˙=x2. For the second equation, you need x2˙=x¨, so solve the original equation for x¨:2x¨+6x˙+8x=4cos(3t)x¨=−3x˙−4x+2cos(3t)x2˙=−4x1−3x2+2cos(3t)This gives you the system in matrix form:
dtd(x1x2)=(0−41−3)(x1x2)+(02cos(3t))Option A has the correct matrix but wrong forcing term (forgot to divide F(t) by m). Option B forgot to divide all coefficients by m=2, keeping −8 and −6 instead of −4 and −3. Option D has the wrong matrix structure with 1 in the wrong position, breaking the fundamental relationship x1˙=x2.Study tip: Always divide the entire equation by the coefficient of the highest derivative first, then carefully track how each term transforms. The top row of your matrix should always be [0,1,0,...] for these standard conversions.