МатематикаМоя статистика
Тест по дифференциальным уравнениям
130 вопросов в 12 темах (лёгкий — 45, средний — 52, сложный — 33). Выберите темы, уровень и количество вопросов — к каждому ответу есть объяснение.
Обыкновенные дифференциальные уравнения: классификация, уравнения с разделяющимися переменными, линейные и точные уравнения, автономные уравнения, уравнения второго порядка, приложения, преобразование Лапласа и метод Эйлера. Вопросы на английском.
Все вопросы теста 130
Нажмите на вариант ответа, чтобы проверить себя, или «Показать ответ».
Classification10
What is the order of this differential equation?
y‴ + 2y′ = sin x- 1
- 3
- 2
- 4
The order is the highest derivative that appears. Here it is y‴, the third derivative, so the equation is third-order.
Which of these equations is linear in y?
- y′ + y² = x
- y·y″ = 1
- y′ = sin y
- y″ + x²y = eˣ
A linear equation has y and its derivatives only to the first power, with coefficients that depend on x alone. The x² in y″ + x²y = eˣ is fine. y², y·y″ and sin y all make the other equations nonlinear.
How is this equation classified?
(y′)² + y = x- First-order, nonlinear
- First-order, linear
- Second-order, nonlinear
- Second-order, linear
The only derivative is y′, so the equation is first-order. Squaring y′, as in (y′)², is not the same as y″, and it makes the equation nonlinear.
Which function is a solution of x·y′ = 2y?
- y = x² + 1
- y = e^(2x)
- y = x²
- y = x³
For y = x² we get x·y′ = x·2x = 2x² = 2y. For x² + 1 the left side is 2x² but the right side is 2x² + 2. For x³ we get 3x³ ≠ 2x³. For e^(2x) we get 2x·e^(2x) ≠ 2e^(2x).
Which of these is a partial differential equation rather than an ordinary one?
- dy/dt = t·y
- x²y″ + x·y′ + y = 0
- ∂u/∂t = ∂²u/∂x²
- y″ + y = sin t
An ODE has an unknown function of a single variable. In ∂u/∂t = ∂²u/∂x² (the heat equation) u depends on both t and x, and partial derivatives appear, so it is a PDE. Variable coefficients such as x² do not make an equation partial.
Which equation is first-order, linear and nonhomogeneous?
- y′ + x²y = cos x
- y′ + x²y = 0
- y′ + y² = cos x
- y″ + y = cos x
y′ + x²y = cos x has only y′ (first-order), y and y′ to the first power (linear), and a forcing term cos x that does not involve y (nonhomogeneous). With 0 on the right it would be homogeneous, y² makes it nonlinear, and y″ makes it second-order.
You rewrite this equation as a first-order system in the standard way (new unknowns for y and its derivatives). How many first-order equations do you get?
y‴ + x·y′ − y = sin x- 1
- 2
- 3
- 4
An n-th order equation becomes n first-order equations. With u₁ = y, u₂ = y′, u₃ = y″: u₁′ = u₂, u₂′ = u₃, u₃′ = sin x + u₁ − x·u₂. Answering 2 forgets the equation for the highest unknown u₃; the number of terms or the forcing does not matter.
x₀ = 0 is an ordinary point of this equation. A power series solution centered at 0 is guaranteed to converge for |x| < R. What is the largest R the theorem guarantees?
(x² + 4)·y″ + x·y′ + y = 0- R = 4
- R = 2
- R = ∞
- R = 1
Divide by P(x) = x² + 4. The singular points are the zeros of P, x = ±2i, and the guaranteed radius is the distance from x₀ = 0 to the nearest one, |2i| = 2. R = ∞ comes from looking only for real singular points; R = 4 forgets that x² = −4 gives |x| = 2, not 4.
The two-parameter family y = c₁eˣ + c₂e^(−x) is the general solution of which differential equation?
- y″ + y = 0
- y′ − y = 0
- y″ − y = 0
- y″ − 2y′ + y = 0
Two arbitrary constants are eliminated by differentiating twice: y″ = c₁eˣ + c₂e^(−x) = y, so y″ − y = 0. A first-order equation such as y′ − y = 0 can carry only one constant (it misses e^(−x)). y″ + y = 0 has cos x and sin x as solutions, and y″ − 2y′ + y = 0 has the double root 1, so e^(−x) gives 1 + 2 + 1 = 4 ≠ 0.
The Clairaut equation y = x·y′ − (y′)² has the family of lines y = Cx − C². Which solution is NOT in this family (the singular solution, the envelope of the lines)?
- y = −x²/4
- y = x²/2
- y = x²/4
- y = x²
Write p = y′ and differentiate y = xp − p²: p = p + (x − 2p)·p′, so p′ = 0 (the lines) or x = 2p. Then p = x/2 and y = x²/2 − x²/4 = x²/4. Check: y′ = x/2 and x·(x/2) − x²/4 = x²/4. −x²/4 comes from a sign slip in x = 2p; x²/2 keeps x·p but drops the −p² term; y = x² gives 2x² − 4x² = −2x².
Separable equations11
What is the general solution of dy/dx = xy?
- y = Ce^(x²/2)
- y = Ce^(x²)
- y = x²/2 + C
- y = Ceˣ
Separate the variables: dy/y = x dx. Integrating gives ln|y| = x²/2 + C, so y = Ce^(x²/2). Check: y′ = Cx·e^(x²/2) = xy.
Solve this initial value problem.
dy/dx = y², y(0) = 1- y = 1/(1 + x)
- y = eˣ
- y = 1/(1 − x)
- y = 1 + x
Separate: dy/y² = dx, which integrates to −1/y = x + C. From y(0) = 1 we get C = −1, so y = 1/(1 − x). Check: y′ = 1/(1 − x)² = y².
Which curve solves this initial value problem?
dy/dx = −x/y, y(0) = 2- y² − x² = 4
- x² + y² = 4
- x² + y² = 2
- y = 2 − x
Separate: y dy = −x dx, which integrates to y²/2 = −x²/2 + C, i.e. x² + y² = 2C. From y(0) = 2 we get x² + y² = 4. Differentiating implicitly gives 2x + 2y·y′ = 0, so y′ = −x/y.
You solve dy/dx = x·y² by dividing both sides by y². Which solution can this step lose?
- y = x²
- y = 2/x²
- y = 1
- The constant solution y ≡ 0
Dividing by y² assumes y ≠ 0. Yet y ≡ 0 satisfies the equation (0 = x·0), and the family y = −2/(x² + C) does not contain it for any C. Check the zeros of the factor you divide by separately.
Solve this initial value problem.
dy/dx = 2x(1 + y²), y(0) = 0- y = e^(x²) − 1
- y = tan(2x)
- y = tan(x²)
- y = sin(x²)
Separate: dy/(1 + y²) = 2x dx, which integrates to arctan y = x² + C. From y(0) = 0 we get C = 0, so y = tan(x²). Check: y′ = 2x·sec²(x²) = 2x(1 + tan²(x²)).
Solve this initial value problem.
dy/dx = y·cos x, y(0) = 2- y = 2e^(cos x)
- y = e^(sin x) + 1
- y = 2 + sin x
- y = 2e^(sin x)
Separate: dy/y = cos x dx, so ln|y| = sin x + C and y = Ce^(sin x). From y(0) = C = 2 we get y = 2e^(sin x). Check: y′ = 2cos x·e^(sin x) = y·cos x. e^(sin x) + 1 also gives y(0) = 2, but its derivative is cos x·e^(sin x) ≠ y·cos x: the constant from ln|y| multiplies, it does not add.
For x > 0, the substitution v = y/x makes this equation separable. What is its general solution?
dy/dx = 1 + y/x- y = ln x + C
- y = x·ln x + Cx
- y = x·ln x + C
- y = x + Cx²
With y = vx we have y′ = v + x·v′ = 1 + v, so x·v′ = 1 and v = ln x + C. Then y = vx = x·ln x + Cx. Check: y′ = ln x + 1 + C = 1 + y/x. Writing x·ln x + C forgets that the constant must be multiplied by x too.
Which of these equations is separable?
- y′ = x + y
- y′ = sin(xy)
- y′ = x² + y²
- y′ = e^(x + y)
Separable means y′ = g(x)·h(y). e^(x + y) = eˣ·eʸ factors, so e^(−y) dy = eˣ dx. x + y and x² + y² are sums, not products (y′ = x + y is linear and needs an integrating factor), and sin(xy) ≠ sin x·sin y does not factor.
Which function y(x) solves this initial value problem?
dy/dx = e^(x − y), y(0) = ln 2- y = ln(eˣ + 1)
- y = x + ln 2
- y = ln(1 + e^(−x))
- y = ln(3 − eˣ)
Separate: eʸ dy = eˣ dx, so eʸ = eˣ + C. From y(0) = ln 2: 2 = 1 + C, C = 1, and y = ln(eˣ + 1). Check: y′ = eˣ/(eˣ + 1) = e^(x − y). y = x + ln 2 comes from eʸ = 2eˣ (a multiplied constant instead of an added one): y′ = 1 but e^(x − y) = 1/2. ln(1 + e^(−x)) and ln(3 − eˣ) are decreasing, while the right side e^(x − y) is always positive (sign slips).
Which explicit function solves this initial value problem?
dy/dx = x/y, y(0) = −3- y = −√(x² + 9)
- y = √(x² + 9)
- y = −√(9 − x²)
- y = −√(x² + 3)
y dy = x dx gives y² = x² + C, and y(0) = −3 gives C = 9. Solving y² = x² + 9 for y, the initial value is negative, so take the minus branch: y = −√(x² + 9). Check: y′ = −x/√(x² + 9) = x/y. The plus branch has y(0) = 3; 9 − x² comes from a sign error (that curve solves y′ = −x/y); x² + 3 forgets to square the initial value.
Solve this logistic initial value problem.
dy/dt = y − y², y(0) = 1/2- y = 1/(1 + eᵗ)
- y = eᵗ/2
- y = 1/(1 + e^(−t))
- y = 1/(1 + e^(−2t))
Partial fractions: dy/(y(1 − y)) = (1/y + 1/(1 − y)) dy, so ln|y/(1 − y)| = t + C. y(0) = 1/2 gives C = 0, so y/(1 − y) = eᵗ and y = 1/(1 + e^(−t)), rising to 1. 1/(1 + eᵗ) loses the minus sign from ∫dy/(1 − y) and decreases; eᵗ/2 drops the −y² term (pure exponential growth); 1/(1 + e^(−2t)) solves y′ = 2y(1 − y).
Linear first-order equations11
What is an integrating factor for y′ + 2y = x?
- μ = e^(2x)
- μ = e^(−2x)
- μ = e^(x²)
- μ = 2x
For y′ + p(x)y = g(x), the integrating factor is μ = e^(∫p dx). Here p = 2, so μ = e^(2x), which turns the left side into (e^(2x)·y)′.
For x > 0, what is an integrating factor for y′ + (1/x)·y = x?
- μ = ln x
- μ = 1/x
- μ = eˣ
- μ = x
μ = e^(∫(1/x) dx) = e^(ln x) = x. Multiplying by x turns the left side into (x·y)′.
Solve this initial value problem.
y′ + y = 1, y(0) = 3- y = 3e^(−x)
- y = 1 + 2e^(−x)
- y = 1 + 3e^(−x)
- y = 1 + 2eˣ
The general solution is y = 1 + Ce^(−x). From y(0) = 1 + C = 3 we get C = 2. Check: y′ + y = −2e^(−x) + 1 + 2e^(−x) = 1.
What is the general solution of y′ − 2y = 4?
- y = 2 + Ce^(2x)
- y = −2 + Ce^(−2x)
- y = Ce^(2x) − 4x
- y = −2 + Ce^(2x)
The constant particular solution satisfies −2y = 4, so y = −2. The homogeneous solution is Ce^(2x). Check: y′ − 2y = 2Ce^(2x) − 2(−2 + Ce^(2x)) = 4.
For x > 0, what is the general solution of this equation?
x·y′ + 2y = 4x²- y = x² + C
- y = x² + C/x²
- y = 2x² + C/x²
- y = x⁴ + C/x²
Divide by x: y′ + (2/x)y = 4x. The integrating factor is μ = x², so (x²y)′ = 4x³ and x²y = x⁴ + C, giving y = x² + C/x². Check: x(2x − 2C/x³) + 2x² + 2C/x² = 4x².
Which substitution turns this Bernoulli equation into a linear one?
y′ + y/x = x·y³- v = y³
- v = y^(−2)
- v = y^(−3)
- v = 1/y
For y′ + p(x)y = q(x)yⁿ use v = y^(1−n). Here n = 3, so v = y^(−2). Multiplying the equation by −2y^(−3) gives v′ − (2/x)v = −2x, which is linear in v. Taking y^(−n) instead of y^(1−n) is the usual slip.
On (−π/2, π/2), what is the general solution of this equation?
y′ + (tan x)·y = sec x- y = −sin x + C·cos x
- y = tan x + C·sec x
- y = (x + C)·cos x
- y = sin x + C·cos x
μ = e^(∫tan x dx) = e^(−ln cos x) = sec x. Then (y·sec x)′ = sec²x, so y·sec x = tan x + C and y = sin x + C·cos x. Check: y′ + y·tan x = cos x − C·sin x + sin²x/cos x + C·sin x = 1/cos x. −sin x + C·cos x gives −sec x (a sign error), and (x + C)·cos x gives cos x instead of sec x.
For y′ + p(x)·y = g(x) with integrating factor μ(x) = e^(∫p dx), which formula gives the general solution?
- y = (1/μ)·∫μ·g dx + C
- y = ∫μ·g dx + C
- y = μ·(∫g/μ dx + C)
- y = (1/μ)·(∫μ·g dx + C)
Multiplying by μ gives (μy)′ = μg, so μy = ∫μg dx + C and the constant is divided by μ too: the homogeneous part is C/μ = C·e^(−∫p dx). Adding C outside the bracket is the classic slip (a constant does not solve the homogeneous equation); forgetting to divide by μ, or using μ upside down, gives a function that does not satisfy the equation.
As t → ∞, every solution of y′ + y = sin t approaches which function?
- (sin t + cos t)/2
- (sin t − cos t)/2
- −cos t
- (sin t)/2
Try y_p = A·sin t + B·cos t: y_p′ + y_p = (A − B)·sin t + (A + B)·cos t, so A − B = 1 and A + B = 0, so A = 1/2, B = −1/2. The general solution is (sin t − cos t)/2 + Ce^(−t), and the transient Ce^(−t) dies out. (sin t + cos t)/2 gives y′ + y = cos t (sign slip); −cos t solves y′ = sin t only; (sin t)/2 ignores the cos t term the derivative produces.
The input switches off at x = 1: g(x) = 1 for 0 ≤ x < 1 and g(x) = 0 for x ≥ 1. The solution y is continuous at x = 1. What is y(2)?
y′ + y = g(x), y(0) = 0- 1 − e^(−2) ≈ 0.865
- 1 − e^(−1) ≈ 0.632
- e^(−1) − e^(−2) ≈ 0.233
- e^(−1) ≈ 0.368
On [0, 1): y = 1 − e^(−x), so y(1) = 1 − e^(−1). For x ≥ 1: y′ = −y, so y = y(1)·e^(−(x − 1)) and y(2) = (1 − e^(−1))·e^(−1) = e^(−1) − e^(−2). 1 − e^(−2) ignores the switch-off; 1 − e^(−1) assumes y freezes once the input stops; e^(−1) restarts the decay from 1 instead of from y(1).
y₁ = x is a known solution of the Riccati equation y′ = 1 + x² − y². The substitution y = x + 1/v turns it into which linear equation for v?
- v′ + 2x·v = 1
- v′ − 2x·v = 1
- v′ − 2x·v = −1
- v′ + 2x·v = −1
y′ = 1 − v′/v², and 1 + x² − (x + 1/v)² = 1 − 2x/v − 1/v². Equating: −v′/v² = −2x/v − 1/v², so v′ = 2x·v + 1, i.e. v′ − 2x·v = 1. In general y = y₁ + 1/v gives v′ = −(q₁ + 2q₂y₁)·v − q₂; here q₁ = 0, q₂ = −1. The wrong signs come from mishandling −1/v² when differentiating 1/v or from the minus in front of y².
Exact equations10
When is M(x, y) dx + N(x, y) dy = 0 exact, assuming smooth M and N on a simply connected region?
- When ∂M/∂x = ∂N/∂y
- When M = N
- When ∂M/∂y = ∂N/∂x
- When ∂M/∂y = −∂N/∂x
The equation is exact when there is a function F with F_x = M and F_y = N. Mixed partial derivatives are equal, so this requires M_y = N_x. On a simply connected region that condition is also sufficient.
This equation is exact. What is its general solution?
(2xy + 3) dx + (x² + 4y) dy = 0- x²y + 3x + 2y² = C
- x²y + 3x + 4y² = C
- 2x²y + 3x + 2y² = C
- x²y + 2y² = C
It is exact because M_y = 2x = N_x. Integrating M with respect to x gives F = x²y + 3x + h(y). Then F_y = x² + h′(y) = x² + 4y, so h = 2y², and the solution is x²y + 3x + 2y² = C.
For which value of k is this equation exact?
(k·x·y² + 1) dx + 3x²y dy = 0- k = 2
- k = 3
- k = 6
- k = 3/2
M_y = 2kxy and N_x = 6xy. Setting them equal gives 2k = 6, so k = 3.
The equation y dx − x dy = 0 is not exact. Multiplying by which of these factors makes it exact?
- y²
- x
- xy
- 1/y²
After multiplying by 1/y² we have M = 1/y and N = −x/y², so M_y = −1/y² = N_x. The equation becomes d(x/y) = 0. With y², x or xy, M_y and N_x still differ.
Which of these equations is exact?
- (2x + y) dx + (x + 3y²) dy = 0
- (2x + y) dx + (2x + y) dy = 0
- (x + y²) dx + 2x dy = 0
- 3x²y dx + x² dy = 0
Compare M_y with N_x. For (2x + y) dx + (x + 3y²) dy: M_y = 1 = N_x, so it is exact (F = x² + xy + y³). The others give 1 vs 2, 2y vs 2, and 3x² vs 2x.
This equation is not exact. Which integrating factor μ(x) makes it exact?
(3xy + y²) dx + (x² + xy) dy = 0- μ = 1/x
- μ = x²
- μ = x
- μ = eˣ
M_y − N_x = (3x + 2y) − (2x + y) = x + y. Divided by N = x(x + y) this is 1/x, a function of x alone, so μ = e^(∫dx/x) = x. Check: (3x²y + xy²) dx + (x³ + x²y) dy has M_y = 3x² + 2xy = N_x. Getting 1/x means a sign error in the exponent.
The curves x²y + y³ = C are the solutions of which exact equation?
- (x² + 3y²) dx + 2xy dy = 0
- 2xy dx + 3y² dy = 0
- 2x dx + 3y² dy = 0
- 2xy dx + (x² + 3y²) dy = 0
For F(x, y) = x²y + y³ the exact equation is dF = F_x dx + F_y dy = 0, with F_x = 2xy and F_y = x² + 3y². Swapping M and N, or dropping the x² that x²y contributes to F_y, gives equations that are not even exact (M_y ≠ N_x). 2x dx treats x²y as if it were x².
This equation is not exact. Which integrating factor μ(y), depending on y alone, makes it exact?
y dx + (2x − y·eʸ) dy = 0- μ = y
- μ = 1/y
- μ = y²
- μ = x
M_y = 1 and N_x = 2. (N_x − M_y)/M = 1/y depends on y only, so μ = e^(∫dy/y) = y. Check: y² dx + (2xy − y²eʸ) dy has M_y = 2y = N_x. μ = 1/y is the sign slip in the exponent (it uses (M_y − N_x)/M); with y² you get M_y = 3y² vs N_x = 2y²; μ = x gives M_y = x vs N_x = 4x − yeʸ.
Solve this exact initial value problem.
(eˣ·sin y + 2x) dx + eˣ·cos y dy = 0, y(0) = π/2- eˣ·sin y + x² = 0
- eˣ·sin y + x² = 1
- eˣ·sin y = 1
- eˣ·cos y + x² = 1
M_y = eˣ·cos y = N_x, so it is exact. Integrating N in y gives F = eˣ·sin y + h(x), and F_x = eˣ·sin y + h′(x) = M gives h = x². At (0, π/2): F = 1·1 + 0 = 1. Setting C = 0 skips the initial condition; eˣ·sin y = 1 forgets h(x); eˣ·cos y integrates the wrong way and is 0 at the initial point.
For which N(x, y) is this equation exact?
(y·e^(xy) + 2x) dx + N(x, y) dy = 0- N = e^(xy) + h(y), h any function of y
- N = x·e^(xy) + h(y), h any function of y
- N = y·e^(xy) + h(y), h any function of y
- N = xy·e^(xy) + h(y), h any function of y
We need N_x = M_y = e^(xy) + xy·e^(xy). The potential is F = e^(xy) + x² (since F_x = M), so N = F_y = x·e^(xy), plus anything depending on y only. Check: (x·e^(xy))_x = e^(xy) + xy·e^(xy). e^(xy) gives N_x = y·e^(xy) (it forgets the chain-rule factor x); copying y·e^(xy) from M gives y²·e^(xy); xy·e^(xy) gives an extra xy² term.
Existence and uniqueness10
Consider the initial value problem y′ = f(x, y), y(x₀) = y₀. Which condition guarantees a unique solution near x₀ (the Picard–Lindelöf theorem)?
- f is linear in y
- f(x₀, y₀) ≠ 0
- f and ∂f/∂y are continuous in a rectangle around (x₀, y₀)
- f is bounded for all x and y
If f and ∂f/∂y are continuous near (x₀, y₀), the solution exists and is unique on some interval around x₀. f does not need to be linear.
How many solutions does this initial value problem have?
y′ = 3·y^(2/3), y(0) = 0- Exactly one: y ≡ 0
- None
- Exactly one: y = x³
- More than one, e.g. y ≡ 0 and y = x³
y ≡ 0 is a solution, and so is y = x³: y′ = 3x² = 3(x³)^(2/3). Uniqueness fails because ∂f/∂y = 2y^(−1/3) is not continuous at y = 0.
On what largest interval is the solution of this linear initial value problem guaranteed to exist?
y′ + y/(x − 2) = 1/x, y(1) = 5- (0, 2)
- (2, ∞)
- (−∞, 2)
- (0, ∞)
For a linear equation, the solution exists on the largest interval that contains x₀ = 1 and on which p(x) = 1/(x − 2) and g(x) = 1/x are continuous. They break down at x = 2 and x = 0, so the interval is (0, 2).
The right-hand side y² is smooth everywhere. What is the largest interval on which the solution of this problem exists?
y′ = y², y(0) = 2- (−∞, ∞)
- (−∞, 2)
- (−∞, 1/2)
- (−1/2, 1/2)
The solution is y = 2/(1 − 2x). Check: y′ = 4/(1 − 2x)² = y². It blows up at x = 1/2, so it exists only on (−∞, 1/2). The theorem guarantees existence only locally, even when f is smooth everywhere.
Consider y′ = x/(y − 2). Through which initial point does the Picard–Lindelöf theorem NOT guarantee a unique solution?
- (0, 2)
- (2, 0)
- (0, 0)
- (2, 3)
f = x/(y − 2) and ∂f/∂y = −x/(y − 2)² are continuous wherever y ≠ 2. The hypotheses fail only on the line y = 2, so (0, 2) is the bad point. x = 2 causes no trouble; (2, 0) mixes up the coordinates.
On what largest interval is the solution of this initial value problem guaranteed to exist?
(x − 3)·y″ + y′ + (ln x)·y = 0, y(1) = 0, y′(1) = 1- (0, ∞)
- (−∞, 3)
- (0, 3)
- (1, 3)
Divide by x − 3: p = 1/(x − 3) and q = ln x/(x − 3). Both are continuous for 0 < x < 3, and that interval contains x₀ = 1. The interval also extends to the left of x₀, so (1, 3) is too small.
p(x) and g(x) are continuous on an open interval I containing x₀. What does the existence theorem say about y′ + p(x)·y = g(x), y(x₀) = y₀?
- A unique solution exists only on some small interval around x₀
- A solution exists on I, but it may not be unique
- A solution exists on I unless it blows up first
- A unique solution exists on the whole interval I
For linear equations the theorem is global: the solution exists and is unique on all of I, and it cannot blow up inside I. The local-only answer is the general nonlinear statement (y′ = y² does blow up); linearity is exactly what removes that restriction.
Picard iteration for y′ = y, y(0) = 1 uses the rule below, starting from φ₀(x) = 1. What is φ₂(x)?
φₙ₊₁(x) = 1 + ∫₀ˣ φₙ(s) ds- 1 + x + x²/2
- 1 + x
- 1 + x + x²
- 1 + x + x²/2 + x³/6
φ₁ = 1 + ∫₀ˣ 1 ds = 1 + x. φ₂ = 1 + ∫₀ˣ (1 + s) ds = 1 + x + x²/2. The iterates are the Taylor polynomials of eˣ. 1 + x is φ₁, 1 + x + x²/2 + x³/6 is φ₃, and 1 + x + x² forgets the 1/2 from integrating s.
How many solutions does this boundary value problem have?
y″ + y = 0, y(0) = 0, y(π) = 0- Exactly one: y ≡ 0
- None
- Exactly two: y ≡ 0 and y = sin x
- Infinitely many: y = c·sin x for any c
The general solution is c₁cos x + c₂sin x. y(0) = 0 gives c₁ = 0, and y(π) = c₂·sin π = 0 holds for every c₂. The uniqueness theorem covers initial value problems (y and y′ at one point), not boundary conditions at two points, so expecting only y ≡ 0 is the mistake. Any multiple of a solution is a solution, so two is impossible.
f(y) = |y| is not differentiable at y = 0. How many solutions does y′ = |y|, y(0) = 0 have?
- Infinitely many, as for y′ = 3·y^(2/3)
- Exactly one: y ≡ 0
- None
- Two: y ≡ 0 and y = eˣ − 1
Continuity of ∂f/∂y is only a convenient sufficient condition. Uniqueness really needs f to be Lipschitz in y, and ||a| − |b|| ≤ |a − b| holds. So y ≡ 0 is the only solution. y^(2/3) fails because it is not Lipschitz at 0 (its slope is unbounded there). eˣ − 1 solves y′ = y + 1, not y′ = |y|.
Autonomous equations11
What makes a first-order equation dy/dt = f(t, y) autonomous?
- f is linear in y
- f does not depend explicitly on t
- f does not depend on y
- The equation has a constant solution
An autonomous equation has the form dy/dt = f(y), so the rate of change depends only on the current state, not on time. That is why its behavior can be read from a phase line.
What are the equilibrium solutions of dy/dt = y(3 − y)?
- y = 3 only
- y = 0 and y = −3
- y = 1 and y = 3
- y = 0 and y = 3
Equilibria are the zeros of f(y) = y(3 − y), which are y = 0 and y = 3.
For dy/dt = y(3 − y), how stable are the equilibria y = 0 and y = 3?
- y = 0 is stable, y = 3 is unstable
- Both are stable
- y = 0 is unstable, y = 3 is asymptotically stable
- Both are unstable
f′(y) = 3 − 2y. At y = 0, f′(0) = 3 > 0, so the equilibrium is unstable. At y = 3, f′(3) = −3 < 0, so it is asymptotically stable. Between 0 and 3, f > 0, and solutions rise toward 3.
Solve dy/dt = y² − 4 with y(0) = 0. What is the limit of y(t) as t → ∞?
- −2
- 2
- 0
- −∞
The equilibria are y = ±2. For −2 < y < 2, f(y) = y² − 4 < 0, so the solution starting at 0 decreases. It approaches y = −2, which is stable because f′(−2) = −4 < 0.
How is the equilibrium y = 1 of dy/dt = (y − 1)² classified?
- Asymptotically stable
- Unstable on both sides
- It is not an equilibrium
- Semi-stable
f(y) = (y − 1)² ≥ 0, so solutions increase on both sides of y = 1. Below 1 they move toward it, and above 1 they move away. That makes the equilibrium semi-stable.
How stable are the equilibria y = 0, y = 1 and y = 2 of this equation?
dy/dt = y(y − 1)(y − 2)- 0 and 2 are stable, 1 is unstable
- 0 and 2 are unstable, 1 is asymptotically stable
- All three are unstable
- 0 and 1 are stable, 2 is unstable
f(y) = y³ − 3y² + 2y, so f′(y) = 3y² − 6y + 2. f′(0) = 2 > 0 (unstable), f′(1) = −1 < 0 (asymptotically stable), f′(2) = 2 > 0 (unstable). At simple roots the stability alternates along the phase line.
A harvested population obeys dy/dt = y(4 − y) − h with a constant h ≥ 0. For which h are there no equilibria at all, so the population dies out from any start?
- h > 2
- h > 16
- h > 1
- h > 4
Equilibria solve y² − 4y + h = 0, with discriminant 16 − 4h. There are no real roots when h > 4. Equivalently, y(4 − y) has maximum 4 at y = 2. At h = 4 a single semi-stable equilibrium remains (a saddle-node bifurcation). h > 16 comes from forgetting the factor 4 in the discriminant.
f is smooth. Can a nonconstant solution of the scalar equation y′ = f(y) first increase and then decrease?
- Yes, if f changes sign
- Yes, near a stable equilibrium
- No, every nonconstant solution is strictly monotonic
- Only if f is periodic, as in y′ = sin y
If y′(t₀) = 0, then f(y(t₀)) = 0, so y(t₀) is an equilibrium, and by uniqueness the solution is that constant. A nonconstant solution therefore never has y′ = 0 and keeps one sign. Solutions approach equilibria monotonically; oscillation needs at least two dimensions (a system, e.g. a center).
Which equation has y = 1 as an asymptotically stable equilibrium and y = −1 as an unstable one?
- dy/dt = y² − 1
- dy/dt = 1 − y²
- dy/dt = y − y³
- dy/dt = (y − 1)²·(y + 1)
For f(y) = 1 − y², f′(y) = −2y: f′(1) = −2 < 0 (stable) and f′(−1) = 2 > 0 (unstable). y² − 1 reverses both. y − y³ has f′(±1) = 1 − 3 = −2, so both are stable. (y − 1)²(y + 1) has f′(1) = 0 and f ≥ 0 around 1, so y = 1 is only semi-stable.
A fish population with constant-effort (proportional) harvesting obeys this equation. At which positive equilibrium does it settle?
dP/dt = 2P(1 − P/100) − 0.5P- P = 50
- P = 25
- P = 75
- P = 100
For P > 0 divide by P: 2(1 − P/100) = 0.5, so P = 75. It is stable: f′(P) = 1.5 − P/25 gives f′(75) = −1.5 < 0. P = 100 ignores the harvest; P = 50 is K/2, where logistic growth is fastest; P = 25 solves 2P/100 = 0.5, dropping the 1.
For a parameter r > 0, which equilibria of dy/dt = r·y − y³ are asymptotically stable?
- Only y = 0
- y = √r and y = −√r
- y = 0 and y = √r
- None of the three equilibria
The equilibria are y = 0 and y = ±√r. f′(y) = r − 3y²: f′(0) = r > 0 (unstable) and f′(±√r) = r − 3r = −2r < 0 (stable). For r < 0 only y = 0 exists and it is stable, so at r = 0 it loses stability and two stable branches appear: a pitchfork bifurcation. "Only y = 0" is the r < 0 picture.
Second-order linear equations13
What is the general solution of this equation?
y″ − 5y′ + 6y = 0- y = c₁e^(−2x) + c₂e^(−3x)
- y = c₁e^(2x) + c₂e^(3x)
- y = c₁e^(2x) + c₂x·e^(3x)
- y = c₁eˣ + c₂e^(6x)
The characteristic equation is r² − 5r + 6 = (r − 2)(r − 3) = 0. Its roots are r = 2 and r = 3, which are real and distinct, so y = c₁e^(2x) + c₂e^(3x).
What is the Wronskian W(eˣ, e^(2x))?
- 3e^(3x)
- −e^(3x)
- 0
- e^(3x)
W = y₁y₂′ − y₁′y₂ = eˣ·2e^(2x) − eˣ·e^(2x) = e^(3x). It is never zero, so the two functions are linearly independent.
What is the general solution of this equation?
y″ + 4y′ + 4y = 0- y = c₁e^(−2x) + c₂e^(−2x)
- y = (c₁ + c₂x)e^(−2x)
- y = (c₁ + c₂x)e^(2x)
- y = c₁cos 2x + c₂sin 2x
The characteristic equation is r² + 4r + 4 = (r + 2)² = 0, so r = −2 is a repeated root. The second solution is x·e^(−2x), giving y = (c₁ + c₂x)e^(−2x). Writing c₁e^(−2x) + c₂e^(−2x) gives only one independent solution.
What is the general solution of this equation?
y″ + 2y′ + 5y = 0- y = e^(−2x)(c₁cos x + c₂sin x)
- y = eˣ(c₁cos 2x + c₂sin 2x)
- y = e^(−x)(c₁cos 2x + c₂sin 2x)
- y = c₁e^(−x) + c₂e^(2x)
The characteristic equation r² + 2r + 5 = 0 gives r = (−2 ± √(4 − 20))/2 = −1 ± 2i. With roots λ ± iμ, the solution is e^(λx)(c₁cos μx + c₂sin μx), so λ = −1 and μ = 2.
y₁ and y₂ solve y″ − 3y′ + q(x)·y = 0, and their Wronskian satisfies W(0) = 2. What is W(x)? (Use Abel's theorem.)
- W(x) = 2e^(3x)
- W(x) = 2e^(−3x)
- W(x) = 2
- W(x) = 6e^(3x)
Abel's theorem for y″ + p·y′ + q·y = 0 gives W(x) = W(0)·e^(−∫p dx). Here p = −3, so W(x) = 2e^(3x). The answer does not depend on q(x).
y₁ and y₂ both solve y″ + p(x)·y′ + q(x)·y = 0. Which function is guaranteed to be a solution too?
- y₁·y₂
- y₁ + 1
- y₁²
- 3y₁ − 2y₂
By the superposition principle, any linear combination c₁y₁ + c₂y₂ of solutions of a linear homogeneous equation is again a solution. Products and squares are not linear combinations, and adding a constant breaks the zero right-hand side unless q ≡ 0.
What is the general solution of this Cauchy–Euler equation?
x²y″ − 2x·y′ + 2y = 0, x > 0- y = c₁eˣ + c₂e^(2x)
- y = c₁x + c₂x²
- y = c₁x + c₂x·ln x
- y = c₁/x + c₂/x²
Try y = x^r: r(r − 1) − 2r + 2 = r² − 3r + 2 = 0, so r = 1 and r = 2. Check y = x²: x²·2 − 2x·2x + 2x² = 0. Using e^(rx) as for constant coefficients is the typical mistake; x·ln x appears only for a repeated root.
y₁ = x solves x²y″ − x·y′ + y = 0 for x > 0. Reduction of order (y = v·x) gives which second, independent solution?
- y₂ = x²
- y₂ = 1/x
- y₂ = x·ln x
- y₂ = ln x
With y = vx: y′ = v′x + v, y″ = v″x + 2v′. Substituting gives x³v″ + x²v′ = 0, so v″ = −v′/x, v′ = 1/x and v = ln x. Check y = x·ln x: y′ = ln x + 1, y″ = 1/x, and x − x(ln x + 1) + x·ln x = 0. (The Euler equation r² − 2r + 1 = 0 has the repeated root r = 1.)
What is the general solution of this third-order equation?
y‴ − y′ = 0- y = c₁ + c₂eˣ + c₃e^(−x)
- y = c₁eˣ + c₂e^(−x)
- y = c₁ + c₂x + c₃eˣ
- y = c₁ + c₂cos x + c₃sin x
The characteristic equation r³ − r = r(r − 1)(r + 1) = 0 has roots 0, 1, −1, and r = 0 gives the constant solution. A third-order equation needs three independent solutions, so dropping c₁ is the usual slip. c₂x would need a double root at 0; cos x and sin x would need r² + 1, i.e. y‴ + y′ = 0.
What is the general solution of this Cauchy–Euler equation for x > 0?
x²y″ + 3x·y′ + 5y = 0- y = e^(−x)·(c₁cos 2x + c₂sin 2x)
- y = x^(−1)·(c₁cos 2x + c₂sin 2x)
- y = x^(−1)·(c₁cos(2 ln x) + c₂sin(2 ln x))
- y = x^(−3/2)·(c₁cos((√11/2)·ln x) + c₂sin((√11/2)·ln x))
Try y = x^r: r(r − 1) + 3r + 5 = r² + 2r + 5 = 0, so r = −1 ± 2i. x^(−1 ± 2i) = x^(−1)·e^(±2i·ln x), which gives x^(−1)·cos(2 ln x) and x^(−1)·sin(2 ln x). e^(−x)(…) uses the constant-coefficient recipe; cos 2x forgets the ln x; the √11 answer uses r² + 3r + 5, forgetting that y″ gives r(r − 1), not r².
For which values of λ does this boundary value problem have nonzero solutions (eigenvalues)?
y″ + λy = 0, y(0) = 0, y(2) = 0- λₙ = n²π²/4, n = 1, 2, 3, …
- λₙ = n²π², n = 1, 2, 3, …
- λₙ = nπ/2, n = 1, 2, 3, …
- λₙ = −n²π²/4, n = 1, 2, 3, …
For λ ≤ 0 the solutions are linear or sinh/cosh, and only y ≡ 0 meets both conditions. For λ = μ² > 0, y(0) = 0 leaves y = c·sin μx, and sin 2μ = 0 gives μ = nπ/2, so λₙ = (nπ/2)² with eigenfunctions sin(nπx/2). n²π² is the answer for an interval of length 1; nπ/2 forgets that λ = μ²; negative λ gives only the zero solution.
x = 0 is a regular singular point of this equation. What are the roots of the indicial equation for a Frobenius solution y = Σ aₙx^(n + r)?
2x²y″ + x·y′ − (1 + x)·y = 0- r = −1 and r = 1/2
- r = 0 and r = 1
- r = (1 + √3)/2 and r = (1 − √3)/2
- r = 1 and r = −1/2
The lowest power of x gives 2r(r − 1) + r − 1 = 2r² − r − 1 = (2r + 1)(r − 1) = 0, so r = 1 and r = −1/2 (the −x·y term only enters the recurrence). Using 2r² instead of 2r(r − 1) gives 2r² + r − 1 = 0, roots −1 and 1/2. r = 0, 1 is the ordinary-point situation; (1 ± √3)/2 solves 2r² − 2r − 1 = 0, which drops the x·y′ term.
What is the general solution of this fourth-order equation?
y⁗ + 2y″ + y = 0- y = (c₁ + c₂x)·cos x + (c₃ + c₄x)·sin x
- y = c₁cos x + c₂sin x + c₃cos x + c₄sin x
- y = (c₁ + c₂x)·eˣ + (c₃ + c₄x)·e^(−x)
- y = c₁cos x + c₂sin x + c₃x + c₄
r⁴ + 2r² + 1 = (r² + 1)² = 0, so ±i are double roots. A repeated root needs extra factors x: x·cos x and x·sin x. Check y = x·cos x: y″ = −2sin x − x·cos x and y⁗ = 4sin x + x·cos x, so y⁗ + 2y″ + y = 0. Repeating cos x and sin x gives only two independent functions; e^(±x) comes from r² = 1 instead of r² = −1.
Nonhomogeneous equations12
Using undetermined coefficients, which trial form should you use for a particular solution of y″ + y = x²?
- y_p = Ax²
- y_p = Ax² + Bx + C
- y_p = x(Ax² + Bx + C)
- y_p = Ax³ + Bx² + Cx
For a polynomial of degree 2 you need the full polynomial Ax² + Bx + C, because y″ produces lower-degree terms. You multiply by x only when r = 0 is a characteristic root, and r² + 1 = 0 has no zero root. (The result is y_p = x² − 2.)
What is a particular solution of this equation?
y″ − y = 3e^(2x)- y_p = 3e^(2x)
- y_p = x·e^(2x)
- y_p = (3/5)e^(2x)
- y_p = e^(2x)
Try y_p = Ae^(2x). Then 4Ae^(2x) − Ae^(2x) = 3Ae^(2x) = 3e^(2x), so A = 1. No factor x is needed because 2 is not a root of r² − 1 = 0.
Which trial form for y_p works for y″ + 4y = sin 2x?
- y_p = A·sin 2x
- y_p = A·cos 2x + B·sin 2x
- y_p = x(A·cos 2x + B·sin 2x)
- y_p = A·x²·sin 2x
The forcing frequency 2 matches the roots ±2i of r² + 4 = 0. That means cos 2x and sin 2x already solve the homogeneous equation, so the trial needs an extra factor x. (This is resonance. The result is y_p = −(x/4)·cos 2x.)
What is a particular solution of this equation?
y″ − 3y′ + 2y = eˣ- y_p = −x·eˣ
- y_p = x·eˣ
- y_p = −eˣ
- y_p = −(1/2)x·eˣ
The characteristic roots are 1 and 2, so eˣ is a homogeneous solution and the trial is Axeˣ. Substituting gives A[(x + 2) − 3(x + 1) + 2x]eˣ = −Aeˣ = eˣ, so A = −1.
Use variation of parameters with y₁ = cos x and y₂ = sin x. Which is a particular solution of y″ + y = sec x on (−π/2, π/2)?
- y_p = x·cos x + sin x·ln|cos x|
- y_p = x·sin x − cos x·ln|cos x|
- y_p = x·sin x + cos x·ln|cos x|
- y_p = sin x·ln|sec x|
Here W = 1. Then u₁′ = −sin x·sec x = −tan x, so u₁ = ln|cos x|, and u₂′ = cos x·sec x = 1, so u₂ = x. This gives y_p = u₁y₁ + u₂y₂ = cos x·ln|cos x| + x·sin x.
y_p = x is a particular solution of y″ + y = x. What is the general solution?
- y = c₁cos x + c₂sin x + x
- y = c₁cos x + c₂sin x
- y = x + C
- y = c₁cos x + c₂sin x + c₃x
General solution = homogeneous solution + one particular solution: y = c₁cos x + c₂sin x + x. Without y_p you only solve y″ + y = 0. A free constant in front of y_p is wrong: c₃x solves the equation only when c₃ = 1.
Using undetermined coefficients, which trial form works for a particular solution of y″ − 2y′ + y = eˣ?
- y_p = A·eˣ
- y_p = A·x²·eˣ
- y_p = A·x·eˣ
- y_p = (Ax + B)·eˣ
r² − 2r + 1 = (r − 1)², so r = 1 is a double root and both eˣ and x·eˣ solve the homogeneous equation. The trial needs the factor x². Substituting gives 2A = 1, so y_p = (x²/2)·eˣ. A single factor x is enough only for a simple root.
For x > 0, use variation of parameters with y₁ = eˣ and y₂ = x·eˣ. Which is a particular solution of this equation?
y″ − 2y′ + y = eˣ/x- y_p = x·eˣ·ln x
- y_p = eˣ·ln x
- y_p = x²·eˣ·ln x
- y_p = −x·eˣ·ln x
W = y₁y₂′ − y₁′y₂ = e^(2x). u₁′ = −y₂g/W = −1, so u₁ = −x; u₂′ = y₁g/W = 1/x, so u₂ = ln x. Then y_p = −x·eˣ + x·eˣ·ln x, and −x·eˣ can be dropped because it solves the homogeneous equation. A sign slip in the formula for u₂′ gives −x·eˣ·ln x.
Which differential operator (D = d/dx) annihilates x·e^(3x), that is, turns it into 0?
- (D − 3)²
- D − 3
- (D + 3)²
- D² − 9
(D − 3) kills e^(3x), and (D − 3)^k kills x^(k−1)·e^(3x). Check: (D − 3)(x·e^(3x)) = e^(3x), and one more (D − 3) gives 0. D − 3 alone leaves e^(3x); D² − 9 = (D − 3)(D + 3) has 3 only as a simple root; (D + 3)² annihilates x·e^(−3x).
What is a particular solution of y″ + 3y′ = 6?
- y_p = 2
- y_p = x²
- y_p = 6x
- y_p = 2x
The characteristic equation r² + 3r = 0 has the root r = 0, so a constant already solves the homogeneous equation and the trial must be Ax. Then 3A = 6, so A = 2. A constant y_p gives 0, x² gives 2 + 6x, and 6x gives 18 (it forgets to divide by the coefficient 3).
Using undetermined coefficients, which trial form works for a particular solution of y″ + 4y = x·cos x?
- y_p = Ax·cos x
- y_p = (Ax + B)·cos x + (Cx + D)·sin x
- y_p = (Ax + B)·cos x
- y_p = x·[(Ax + B)·cos x + (Cx + D)·sin x]
A degree-1 polynomial times cos x needs full degree-1 polynomials in front of both cos x and sin x, because differentiating mixes them and lowers the degree. The homogeneous roots are ±2i and the forcing frequency is 1, so no extra factor x is needed; that factor is for frequency 2. (The result is y_p = (x/3)·cos x + (2/9)·sin x.)
The forcing below is a sum of two terms. Which function is a particular solution?
y″ − y = eˣ + x- y_p = (1/2)·eˣ − x
- y_p = (x/2)·eˣ − x
- y_p = (x/2)·eˣ + x
- y_p = x·eˣ − x
Split the forcing (superposition). eˣ solves the homogeneous equation (roots ±1), so try Ax·eˣ: (Ax·eˣ)″ − Ax·eˣ = 2A·eˣ, so A = 1/2. For x try Bx: −Bx = x, so B = −1. (1/2)·eˣ gives 0 because the factor x is missing; +x has the sign wrong; x·eˣ gives 2eˣ (it forgets to divide by 2).
Applications12
A substance decays by dy/dt = −k·y with k > 0. What is its half-life?
- k/ln 2
- 1/k
- ln 2/k
- 2/k
The solution is y = y₀e^(−kt). Setting e^(−kT) = 1/2 gives kT = ln 2, so T = ln 2/k.
An undamped spring-mass system m·x″ + k·x = 0 has m = 2 and k = 8. What is its natural angular frequency ω?
- 4
- 16
- 1/2
- 2
Divide by m: x″ + (k/m)x = 0, so ω = √(k/m) = √(8/2) = 2.
By Newton's law of cooling, dT/dt = −k(T − 20). The object starts at T(0) = 100°C and has cooled to 60°C after 10 minutes. What is its temperature after 20 minutes?
- 40°C
- 20°C
- 30°C
- 45°C
The solution is T − 20 = 80e^(−kt). At t = 10, T − 20 = 40, so e^(−10k) = 1/2. At t = 20, T − 20 = 80·(1/2)² = 20, so T = 40°C. The answer 20°C wrongly assumes linear cooling.
A tank holds 100 L of water. Brine with 2 g/L of salt flows in at 5 L/min, and the well-mixed solution flows out at 5 L/min. If Q(t) is the amount of salt in grams, which equation does it satisfy?
- dQ/dt = 10 − Q/20
- dQ/dt = 10 − 5Q
- dQ/dt = 2 − Q/20
- dQ/dt = 10 − Q/100
Salt flows in at 2 g/L · 5 L/min = 10 g/min. It flows out at the concentration (Q/100 g/L) times 5 L/min = Q/20 g/min. The volume stays at 100 L.
An undamped oscillator is driven at its natural frequency (resonance). Solve this initial value problem.
x″ + 4x = cos 2t, x(0) = 0, x′(0) = 0- x = (t/2)·sin 2t
- x = (1/4)·sin 2t
- x = (t/4)·cos 2t
- x = (t/4)·sin 2t
Check x = (t/4)·sin 2t: x″ = cos 2t − t·sin 2t, so x″ + 4x = cos 2t. Also x(0) = 0 and x′(0) = 0. The amplitude t/4 grows without bound, which is the signature of resonance.
A population follows the logistic equation dP/dt = 0.5·P·(1 − P/1000). At what population size is it growing fastest?
- P = 1000
- P = 250
- P = 100
- P = 500
The growth rate f(P) = 0.5P − 0.0005P² is a downward parabola with f′(P) = 0.5 − 0.001P = 0 at P = 500, half the carrying capacity K = 1000. At P = 1000 growth stops entirely.
A spring-mass system obeys x″ + c·x′ + 9x = 0 with c > 0. Which value of c makes it critically damped?
- c = 3
- c = 9
- c = 6
- c = 18
r² + cr + 9 = 0 has a repeated root when c² − 36 = 0, i.e. c = 6 (in general c² = 4mk). For c < 6 the motion is underdamped (decaying oscillations), for c > 6 overdamped. c = 3 forgets the factor 2 in 2√(mk).
An undamped oscillator is driven near, but not at, its natural frequency. Solve this initial value problem.
x″ + 16x = cos 3t, x(0) = 0, x′(0) = 0- x = (cos 4t − cos 3t)/7
- x = (cos 3t − cos 4t)/25
- x = (cos 3t − cos 4t)/7
- x = (t/8)·sin 4t
Try x_p = A·cos 3t: (16 − 9)A = 1, so A = 1/7. x(0) = 0 then forces −(1/7)cos 4t, and x′(0) = 0 holds automatically. The result equals (2/7)·sin(t/2)·sin(7t/2): a fast oscillation inside a slow envelope, i.e. beats. /25 uses 16 + 9; (t/8)·sin 4t is the resonance answer for forcing cos 4t.
A 2 kg object falls with linear air resistance: m·v′ = m·g − k·v, with g = 9.8 m/s² and k = 4 kg/s. What is its terminal velocity?
- 4.9 m/s
- 19.6 m/s
- 2.45 m/s
- 9.8 m/s
Terminal velocity is the equilibrium v′ = 0: v_T = m·g/k = 2·9.8/4 = 4.9 m/s. Solutions v = 4.9 + Ce^(−2t) approach it. 19.6 is m·g without dividing by k; 2.45 is g/k, forgetting the mass; 9.8 confuses velocity with acceleration.
An RL circuit obeys L·I′ + R·I = E with L = 2 H, R = 10 Ω, E = 20 V and I(0) = 0. What is I(t)?
- I = 2(1 − e^(−t/5))
- I = 10(1 − e^(−5t))
- I = 2(1 − e^(−5t))
- I = 2e^(−5t)
Divide by L: I′ + 5I = 10. The steady state is E/R = 2 A and the time constant is L/R = 0.2 s, so I = 2(1 − e^(−5t)). Check: 2·10e^(−5t) + 10·2(1 − e^(−5t)) = 20. e^(−t/5) inverts the rate (uses R/L as a time constant); 10 is E/L, not E/R; 2e^(−5t) violates I(0) = 0.
An account earns 5% interest compounded continuously and receives continuous deposits of 1000 dollars per year, starting from A(0) = 0. Which A(t) solves dA/dt = 0.05A + 1000?
- A = 1000e^(0.05t)
- A = 20000e^(0.05t)
- A = 20000(e^(0.05t) − 1)
- A = 1000t·e^(0.05t)
The equilibrium is A = −1000/0.05 = −20000, so A = −20000 + Ce^(0.05t), and A(0) = 0 gives C = 20000. Check: A′ = 1000e^(0.05t) = 0.05A + 1000. 1000e^(0.05t) and 20000e^(0.05t) start at a nonzero balance and drop the constant part; 1000t·e^(0.05t) has derivative 1000e^(0.05t) + 50t·e^(0.05t), which is not 0.05A + 1000.
Which family of curves is orthogonal to every parabola y = Cx²?
- x² − 2y² = K
- 2x² + y² = K
- x² + 2y² = K
- y = K/x²
Eliminate C: y′ = 2Cx = 2y/x. Orthogonal curves have the negative reciprocal slope, y′ = −x/(2y), so 2y dy = −x dx and y² = −x²/2 + c, i.e. x² + 2y² = K (ellipses). Check: 2x + 4y·y′ = 0 gives y′ = −x/(2y). x² − 2y² forgets the minus sign; 2x² + y² has slope −2x/y; y = K/x² flips only the exponent, not the slope.
Laplace transform10
What is the Laplace transform L{e^(at)} for s > a?
- 1/(s + a)
- s/(s − a)
- 1/(s − a)
- a/(s − a)
∫₀^∞ e^(−st)·e^(at) dt = ∫₀^∞ e^(−(s − a)t) dt = 1/(s − a). The integral converges only when s > a.
What is the inverse Laplace transform of 3/(s² + 9)?
- sin 3t
- 3·sin 3t
- cos 3t
- 3·cos 3t
L{sin bt} = b/(s² + b²). With b = 3 that is 3/(s² + 9), so the inverse transform is sin 3t.
Let Y(s) = L{y(t)}. What is L{y′(t)}?
- s·Y(s) − y′(0)
- Y(s) − y(0)
- s·Y(s) + y(0)
- s·Y(s) − y(0)
Integrating by parts gives L{y′} = s·Y(s) − y(0). This rule turns a linear initial value problem into an algebraic equation for Y(s). Similarly, L{y″} = s²Y − s·y(0) − y′(0).
Solve this initial value problem with the Laplace transform.
y′ + y = 1, y(0) = 0- y = 1 + e^(−t)
- y = 1 − e^(−t)
- y = e^(−t)
- y = 1 − eᵗ
Transforming gives sY + Y = 1/s, so Y = 1/(s(s + 1)) = 1/s − 1/(s + 1). Inverting gives y = 1 − e^(−t). Check: y′ + y = e^(−t) + 1 − e^(−t) = 1, and y(0) = 0.
Let u(t − c) be the unit step function (0 for t < c, 1 for t ≥ c). What is the inverse Laplace transform of e^(−2s)/s²?
- t·u(t − 2)
- (t − 2)²·u(t − 2)
- t·e^(−2t)
- (t − 2)·u(t − 2)
L⁻¹{1/s²} = t, and the shift theorem L{u(t − c)·f(t − c)} = e^(−cs)·F(s) shifts the argument too: (t − 2)·u(t − 2). t·u(t − 2) forgets the shift (its transform is e^(−2s)(1/s² + 2/s)). t·e^(−2t) confuses it with the s-shift, whose transform is 1/(s + 2)².
Use the convolution theorem L{f * g} = F(s)·G(s), where (f * g)(t) = ∫₀ᵗ f(τ)·g(t − τ) dτ. What is the inverse Laplace transform of 1/(s(s² + 1))?
- 1 − cos t
- sin t
- 1 − sin t
- t·sin t
1/s = L{1} and 1/(s² + 1) = L{sin t}, so the answer is (1 * sin)(t) = ∫₀ᵗ sin τ dτ = 1 − cos t. Partial fractions agree: 1/s − s/(s² + 1). sin t comes from multiplying the time functions 1·sin t, which is not what a product of transforms means.
What is the Laplace transform of the Dirac delta δ(t − 2)?
- 1
- e^(−2s)/s
- e^(−2s)
- e^(2s)
By the sifting property, ∫₀^∞ e^(−st)·δ(t − 2) dt = e^(−2s). The value 1 is L{δ(t)}, an impulse at t = 0. e^(−2s)/s is the transform of the unit step u(t − 2), and e^(2s) has the sign of the shift wrong.
With zero initial conditions, y″ + 3y′ + 2y = g(t) has transfer function H(s) = 1/(s² + 3s + 2). What is its impulse response h(t) = L⁻¹{H(s)}?
- h(t) = e^(−t) + e^(−2t)
- h(t) = eᵗ − e^(2t)
- h(t) = 1/2 − e^(−t) + (1/2)e^(−2t)
- h(t) = e^(−t) − e^(−2t)
1/((s + 1)(s + 2)) = 1/(s + 1) − 1/(s + 2), so h = e^(−t) − e^(−2t). It solves the equation with g = δ(t): h(0) = 0 and the impulse makes h′(0⁺) = 1. The plus sign is a partial-fraction slip; eᵗ − e^(2t) puts the poles at +1, +2; the last answer is the step response L⁻¹{H(s)/s}.
Use the rule L{t·f(t)} = −F′(s). What is L{t·sin t}?
- −2s/(s² + 1)²
- (s² − 1)/(s² + 1)²
- 1/(s²·(s² + 1))
- 2s/(s² + 1)²
F(s) = 1/(s² + 1), F′(s) = −2s/(s² + 1)², so L{t·sin t} = 2s/(s² + 1)². −2s/(s² + 1)² forgets the minus sign in the rule; (s² − 1)/(s² + 1)² is L{t·cos t}; 1/(s²(s² + 1)) multiplies L{t} by L{sin t}, but a product of functions is not a product of transforms.
f is periodic with period 2: f(t) = 1 for 0 ≤ t < 1 and f(t) = 0 for 1 ≤ t < 2 (a square wave). What is its Laplace transform?
- 1/(s·(1 + e^(−s)))
- (1 − e^(−s))/s
- 1/(s·(1 − e^(−s)))
- 1/(s·(1 − e^(−2s)))
For period T: L{f} = (1/(1 − e^(−Ts)))·∫₀ᵀ e^(−st)·f(t) dt. Here ∫₀¹ e^(−st) dt = (1 − e^(−s))/s and T = 2, so F = (1 − e^(−s))/(s(1 − e^(−2s))) = 1/(s(1 + e^(−s))), since 1 − e^(−2s) = (1 − e^(−s))(1 + e^(−s)). (1 − e^(−s))/s transforms only the first pulse; the other two drop the pulse factor 1 − e^(−s), and 1/(s(1 − e^(−s))) also uses period 1.
Numerical methods10
Which formula is one step of the (forward) Euler method for y′ = f(x, y) with step size h?
- yₙ₊₁ = yₙ + f(xₙ, yₙ)
- yₙ₊₁ = h·f(xₙ, yₙ)
- yₙ₊₁ = yₙ + h·f(xₙ, yₙ)
- yₙ₊₁ = yₙ + h·f(xₙ₊₁, yₙ₊₁)
Euler's method moves along the tangent line: the new value is the old value plus h times the slope at the current point. Using f(xₙ₊₁, yₙ₊₁) instead gives the implicit, backward Euler method.
Apply Euler's method with h = 0.1 to y′ = x + y, y(0) = 1. What approximation do you get for y(0.2) after two steps?
- 1.22
- 1.2
- 1.21
- 1.32
Step 1: y₁ = 1 + 0.1·(0 + 1) = 1.1. Step 2: y₂ = 1.1 + 0.1·(0.1 + 1.1) = 1.1 + 0.12 = 1.22. The exact value is 2e^(0.2) − 1.2 ≈ 1.2428.
Euler's method approximates y on a fixed interval [x₀, X]. If you halve the step size h, what happens to the global error, roughly?
- It is divided by 4
- It is halved
- It stays the same
- It doubles
The local error per step is O(h²), and about (X − x₀)/h steps add up, so the global error is O(h). Halving h therefore roughly halves the error.
The classical fourth-order Runge–Kutta method has global error O(h⁴). If you halve h, by roughly what factor does the error shrink?
- 2
- 16
- 4
- 8
With error ≈ C·h⁴, replacing h by h/2 multiplies the error by (1/2)⁴ = 1/16.
The improved Euler (Heun) method averages the slope at the start of a step and the slope at the Euler-predicted end. What is its global error order?
- O(h)
- O(h²)
- O(h³)
- O(h⁴)
Improved Euler is a second-order Runge–Kutta method: global error O(h²), so halving h cuts the error about 4 times. O(h³) is its local error per step; O(h) belongs to plain Euler and O(h⁴) to RK4.
Take one step of the improved Euler method with h = 0.1 for y′ = y, y(0) = 1. What approximation do you get for y(0.1)?
- 1.105
- 1.1
- 1.11
- 1.2
k₁ = f(0, 1) = 1. Predictor: 1 + 0.1·1 = 1.1, so k₂ = f(0.1, 1.1) = 1.1. Then y₁ = 1 + 0.1·(1 + 1.1)/2 = 1.105 (exact: e^0.1 ≈ 1.10517). 1.1 is plain Euler; 1.11 uses only the end slope instead of the average.
How many evaluations of f(x, y) does one step of the classical fourth-order Runge–Kutta method (RK4) need?
- 1
- 4
- 2
- 8
RK4 computes four slopes per step: k₁ at the start, k₂ and k₃ at the midpoint, k₄ at the end, and combines them as (k₁ + 2k₂ + 2k₃ + k₄)/6. Euler needs 1 evaluation and improved Euler 2. The weights 1, 2, 2, 1 add up to 6, not to a count of 8 evaluations.
Take ONE step of RK4 with the large step h = 1 for y′ = y, y(0) = 1. What approximation do you get for y(1)?
- ≈ 2.7083
- 2
- 2.5
- ≈ 2.7183
For y′ = y: k₁ = 1, k₂ = 1 + 1/2 = 1.5, k₃ = 1 + 1.5/2 = 1.75, k₄ = 1 + 1.75 = 2.75. y₁ = 1 + (1 + 3 + 3.5 + 2.75)/6 = 65/24 ≈ 2.7083 = 1 + 1 + 1/2 + 1/6 + 1/24. 2 is Euler, 2.5 is improved Euler, and 2.7183 is the exact e, which RK4 misses by about 0.01 at this step size.
Take one step of the backward (implicit) Euler method yₙ₊₁ = yₙ + h·f(xₙ₊₁, yₙ₊₁) with h = 0.25 for y′ = −2y, y(0) = 1. What is y₁?
- 0.5
- 2
- ≈ 0.6065
- ≈ 0.6667
y₁ = 1 + 0.25·(−2y₁), so 1.5·y₁ = 1 and y₁ = 2/3. Forward Euler gives 1 − 0.5 = 0.5; 2 comes from 1/(1 − 0.5), a sign slip when solving for y₁; 0.6065 is the exact value e^(−0.5).
The stiff problem y′ = −50y, y(0) = 1 is solved by forward Euler. For which step sizes h do the approximations yₙ decay to 0 like the true solution?
- 0 < h < 0.02
- 0 < h < 0.04
- 0 < h < 2
- Every h > 0
Each step multiplies by 1 − 50h, so yₙ = (1 − 50h)ⁿ → 0 exactly when |1 − 50h| < 1, i.e. 0 < h < 0.04. For 0.02 < h < 0.04 the values alternate in sign but still decay, so h < 0.02 is only the no-oscillation condition. h < 2 forgets the factor 50; "every h" is true for backward Euler, which is why implicit methods are used for stiff problems.
Systems of equations10
The matrix A of a 2×2 system x′ = Ax has eigenvalues 3 and −2. What kind of equilibrium is the origin?
- An unstable node
- A saddle point (unstable)
- An asymptotically stable node
- A center
Real eigenvalues of opposite signs: along one eigenvector solutions grow like e^(3t), along the other they decay like e^(−2t). Almost every trajectory eventually leaves, so the origin is a saddle and unstable. A node needs eigenvalues of the same sign.
What kind of equilibrium is the origin of this system?
x′ = y
y′ = −4x- An asymptotically stable spiral
- A saddle point
- A center (stable, but not asymptotically)
- An unstable spiral
A = [0 1; −4 0], so det(A − λI) = λ² + 4 = 0 and λ = ±2i. Purely imaginary eigenvalues give closed orbits: here 4x² + y² is constant, since its derivative 8xy + 2y·(−4x) = 0. Trajectories neither approach nor leave the origin. A spiral needs a nonzero real part.
What is the general solution of this system?
x′ = x + y
y′ = 4x + y- (x, y) = c₁(1, −2)e^(3t) + c₂(1, 2)e^(−t)
- (x, y) = c₁(2, 1)e^(3t) + c₂(2, −1)e^(−t)
- (x, y) = c₁(1, 2)e^(−3t) + c₂(1, −2)eᵗ
- (x, y) = c₁(1, 2)e^(3t) + c₂(1, −2)e^(−t)
det(A − λI) = (1 − λ)² − 4 = 0 gives λ = 3 and λ = −1. For λ = 3: −2a + b = 0, eigenvector (1, 2). For λ = −1: 2a + b = 0, eigenvector (1, −2). Check (1, 2)e^(3t): x′ = 3e^(3t) = e^(3t) + 2e^(3t). Each eigenvector must stay paired with its own eigenvalue.
A real 2×2 matrix A has trace −3 and determinant 2. What is the origin for the system x′ = Ax?
- An asymptotically stable node
- An asymptotically stable spiral
- A saddle point
- An unstable node
The characteristic equation is λ² − (trace)λ + det = λ² + 3λ + 2 = 0, so λ = −1 and λ = −2. trace² − 4·det = 1 > 0 gives real eigenvalues, det > 0 gives equal signs, trace < 0 makes both negative: a stable node. A spiral would need trace² < 4·det.
How do the trajectories of this system behave near the origin?
x′ = −x + 2y
y′ = −2x − y- They spiral inward counterclockwise
- They spiral inward clockwise
- They spiral outward clockwise
- They move on closed orbits clockwise
λ² + 2λ + 5 = 0 gives λ = −1 ± 2i. The real part −1 < 0 means solutions decay like e^(−t), so they spiral in. For the direction, look at (1, 0): the velocity is (−1, −2), pointing down, so the rotation is clockwise. The eigenvalues alone cannot tell the direction.
In this Lotka–Volterra predator–prey model, x is the prey and y the predator. At which equilibrium do both populations coexist (x > 0, y > 0)?
x′ = x(3 − y)
y′ = y(x − 2)- (x, y) = (2, 3)
- (x, y) = (3, 2)
- (x, y) = (0, 0)
- (x, y) = (−2, 3)
With x ≠ 0 and y ≠ 0, x′ = 0 forces y = 3 and y′ = 0 forces x = 2. Note that the prey equation fixes the predator level and vice versa, so (3, 2) swaps them. (0, 0) is the extinction equilibrium, not coexistence; −2 is a sign slip in x − 2 = 0.
What is the matrix exponential e^(At) for the matrix below?
A = [0 1; 0 0]- e^(At) = [1 t; 0 1]
- e^(At) = [1 0; t 1]
- e^(At) = [1 eᵗ; 1 1]
- e^(At) = [0 t; 0 0]
A² = 0, so the series e^(At) = I + At + A²t²/2 + … stops after two terms: I + At = [1 t; 0 1]. Check: its derivative [0 1; 0 0] equals A·e^(At). [1 eᵗ; 1 1] exponentiates entry by entry, which is not the matrix exponential; [0 t; 0 0] forgets the identity term; [1 0; t 1] is e^(Aᵀt).
Linearize this nonlinear system at the equilibrium (0, 0). What kind of equilibrium is it?
x′ = x + y²
y′ = sin x − 2y- An asymptotically stable node
- An unstable node
- A center
- A saddle point (unstable)
The Jacobian at (0, 0) is [1 0; 1 −2]: ∂(y²)/∂y = 2y = 0 and ∂(sin x)/∂x = cos 0 = 1. It is triangular, so the eigenvalues are 1 and −2, with opposite signs: a saddle. Both eigenvalues have nonzero real part, so the linearization is trustworthy here. Reading only the −2 gives a stable node; a sign slip giving eigenvalues 1 and 2 gives an unstable node; a center would need purely imaginary eigenvalues.
The matrix of this system has the double eigenvalue 2 with only one eigenvector direction, (1, −1). What is the general solution?
x′ = x − y
y′ = x + 3y- (x, y) = c₁(1, −1)e^(2t) + c₂(1, −1)t·e^(2t)
- (x, y) = c₁(1, −1)e^(2t) + c₂(1, 1)e^(2t)
- (x, y) = c₁(1, −1)e^(2t) + c₂[(1, −1)t + (0, 1)]e^(2t)
- (x, y) = c₁(1, −1)e^(2t) + c₂[(1, −1)t + (0, −1)]e^(2t)
trace 4 and det 4 give (λ − 2)² = 0. The second solution is (v·t + w)e^(2t) with (A − 2I)w = v: −w₁ − w₂ = 1, e.g. w = (0, −1). Check (t, −t − 1)e^(2t): x′ = (1 + 2t)e^(2t) = x − y, y′ = (−3 − 2t)e^(2t) = x + 3y. Without w, (t, −t)e^(2t) misses the 1 in x′; (1, 1) is not an eigenvector; w = (0, 1) has the wrong sign.
The linearization of this system at (0, 0) has eigenvalues ±i (a center), which is inconclusive. Using V(x, y) = x² + y², how is the origin classified?
x′ = −x³ + y
y′ = −x − y³- A center, as the linearization predicts
- Asymptotically stable
- Unstable
- Stable, but not asymptotically stable
Along solutions, V′ = 2x(−x³ + y) + 2y(−x − y³) = −2x⁴ − 2y⁴ < 0 away from the origin. V is positive definite, so V is a strict Lyapunov function and every nearby trajectory spirals in. Purely imaginary eigenvalues do not survive nonlinear terms: here the cubic terms make the origin attracting, so trusting the linear center is the mistake.
Как проходить тест
- Выберите темы и уровень — лёгкий уровень проверяет определения и задачи в одно действие, средний — стандартные вычисления, сложный — многошаговые задачи и теорию.
- Отвечайте касанием или с клавиатуры: 1–4 или A–D, Enter — следующий вопрос.
- Читайте объяснения — после ошибки разбор открывается сразу, после верного ответа его можно раскрыть кнопкой «Почему».
- Работайте над ошибками — «Повторить ошибки» в конце теста или режим «Только мои ошибки» потом: ответы запоминаются в этом браузере.
Незавершённый тест сохраняется — после перезагрузки страницы можно продолжить с того же вопроса.
Темы теста
- Classification 10
- Separable equations 11
- Linear first-order equations 11
- Exact equations 10
- Existence and uniqueness 10
- Autonomous equations 11
- Second-order linear equations 13
- Nonhomogeneous equations 12
- Applications 12
- Laplace transform 10
- Numerical methods 10
- Systems of equations 10
Другие тесты
Тест по линейной алгебре160 вопросовТест по теории вероятностей и статистике130 вопросовТест по SAS100 вопросовТест по языку R100 вопросовТест по LaTeX100 вопросовТест по системам компьютерной алгебры100 вопросовТест по Fortran120 вопросовТест по языку C100 вопросовТест по COBOL100 вопросовТест по MATLAB100 вопросовТест по PowerBuilder100 вопросовТест по UNIX100 вопросов
