ODEs with Discontinuous Inputs - Differential Equations
- An RLC circuit with resistance , inductance , and capacitance is governed by the equation . If the circuit starts with zero charge and zero current, and a constant voltage of is applied at time , what is the charge on the capacitor for ? Answer: When you encounter RLC circuit problems with delayed inputs, you're dealing with shifted differential equations that require careful attention to initial conditions and the timing of the applied voltage. First, substitute the given values into the governing equation: , which simplifies to . The characteristic equation factors as , giving roots . Since the voltage is applied only for , you need . For , the circuit remains at rest with zero charge and current. At , the system "starts" responding to the constant voltage. The solution for takes the form , where the homogeneous solution is (shifted to start at ) and the particular solution is (since ). Applying initial conditions and gives and , yielding . Choice A incorrectly uses unshifted exponentials. Choice C has the wrong particular solution coefficient. Choice D has incorrect signs in the exponential terms, which would violate the initial conditions. Strategy tip: In delayed differential equation problems, always shift your time variable in both the exponentials and initial conditions to match when the input actually begins.
- A second-order system has the response for . What was the form of the discontinuous input that produced this response? Answer: A rectangular pulse of magnitude from to The first term represents the homogeneous response to initial conditions. The second term has the form of a response to a rectangular pulse input. The coefficient comes from the system's transfer function, and the factor indicates the pulse duration. Since the impulse response would be for this underdamped system, a unit rectangular pulse from to produces exactly the observed forced response term.
- The response of a mechanical system initially at rest to an external force is described by the displacement . What is the instantaneous change in velocity, , at time ? Answer: 1 The velocity is . For , the system is at rest, so and the velocity . Thus, . For , , so . We find the velocity by differentiating with respect to using the product rule: . To find the velocity just after the impulse, we evaluate this expression at . . The instantaneous change in velocity is . This jump in the first derivative is characteristic of the response of a second-order system to a Dirac delta impulse.
- A system is modeled by the initial value problem with , where the input is a single rectangular pulse of magnitude 1 for . What is the solution ? Answer: The forcing function can be written using Heaviside step functions as , which is for . Taking the Laplace transform of the ODE gives . With , we get . Solving for : . Using partial fractions, . So, . Let , whose inverse Laplace transform is . The solution is . Substituting gives .
- The convolution integral is used to find the response of where . What is the pattern of for large ? Answer: oscillates with decreasing amplitude, approaching zero When you encounter convolution problems involving impulse functions and differential equations, you're dealing with system response analysis. The key insight is understanding how the system's impulse response function behaves and how repeated impulses affect the overall response. First, solve the homogeneous equation . The characteristic equation gives , so is a repeated root. This means the impulse response function is , where is the unit step function. The forcing function represents alternating unit impulses at integer times: positive at and negative at Each impulse contributes a response that decays exponentially with the factor for . Since the exponential decay dominates and the system is stable (both characteristic roots have negative real parts), the overall response oscillates but with decreasing amplitude as increases. Choice A is wrong because the exponential decay dominates any polynomial growth. Choice C is incorrect because the responses from previous impulses don't completely die out between impulses, preventing true periodicity. Choice D fails because the system is stable—the negative characteristic roots ensure bounded responses. Remember: for stable linear systems (negative characteristic roots), bounded inputs always produce bounded outputs that eventually decay, regardless of oscillatory behavior in the forcing function.
- The solution to the initial value problem with is given by . If the input is a delayed step function , what is the resulting output ? Answer: When you encounter a differential equation with a delayed input function, you're working with convolution integrals where the limits of integration are crucial. The unit step function equals 0 for and 1 for , meaning the input "turns on" at . Since is zero when , the integral has no contribution until . For , the effective lower limit becomes , giving us: Evaluating this integral: Since this solution is valid only for , we multiply by , giving us answer C. Answer A incorrectly uses the undelayed step response formula. Answer B has the correct exponential form but missing the factor of that comes from the integration. Answer D represents only the homogeneous solution term and ignores the steady-state response. Key strategy: When dealing with delayed inputs in convolution integrals, always adjust your integration limits to account for when the input function is actually non-zero. The delay appears in both the exponential term and the unit step function.
- The transfer function represents a system subjected to the input . What is the steady-state behavior of the output as ? Answer: The output approaches zero asymptotically The poles of are at , both having negative real parts, making the system stable. The input has of step coefficients = , meaning the final value of the input is zero. For a stable system with zero final input value, the steady-state output approaches zero. This is confirmed by the final value theorem: .
- Consider the initial value problem , with , where the forcing function is a rectangular pulse of height 2 for , and 0 otherwise. Which expression correctly describes the solution ? Answer: The forcing function can be written using Heaviside functions as . Taking the Laplace transform of the ODE: . With , we get . Solving for : . The term corresponds to . For the other terms, let . Its inverse transform is . Applying the second shifting theorem, and . Combining everything gives the solution .
- The impulse response of a linear time-invariant system is . This is the solution to with zero initial conditions. What is the system's step response, i.e., the solution for an input of ? Answer: When you encounter problems connecting impulse and step responses, remember that these are fundamental relationships in linear systems theory. The step response is the integral of the impulse response. Since the impulse response is , the step response is found by integrating: To evaluate this integral, use integration by parts twice. Let and . After applying integration by parts twice (since the sine function cycles through derivatives), you get: Evaluating from 0 to : This confirms answer B is correct. A represents the derivative of the impulse response, not its integral. C is missing the sine term that appears when integrating . D simply multiplies the impulse response by the unit step, which doesn't give the step response—that's a common misconception about how these responses relate. Study tip: Remember the key relationship: step response = integral of impulse response. Practice integration by parts with exponential-trigonometric products, as they appear frequently in control systems problems. The pattern always yields both sine and cosine terms in the result.
- Find the solution to the initial value problem , with initial conditions and . Answer: When you encounter a differential equation with a Dirac delta function (impulse) on the right side, you're dealing with a forced oscillation problem that requires finding the impulse response of the system. The homogeneous equation has characteristic equation , giving . This means the natural frequency is , and the homogeneous solution involves and . For an impulse applied to this second-order system, the response is the impulse response function multiplied by the unit step function . The impulse response for with zero initial conditions is . With and , this gives . Using the identity , the solution becomes . Choice A incorrectly uses coefficient 1 instead of and doesn't account for the phase shift. Choice B has the correct coefficient but wrong sign—it misses the negative sign from the trigonometric identity. Choice C incorrectly uses cosine instead of sine, suggesting confusion about which trigonometric function appears in the impulse response. Remember: for impulse problems, always check your trigonometric identities carefully when simplifying the phase-shifted terms, as sign errors are common pitfalls.
- What is the solution to the initial value problem with initial conditions and ? Answer: When you encounter a differential equation with a delta function (impulse) and initial conditions, you're dealing with a problem that requires finding both the homogeneous solution and accounting for the impulse response. First, solve the homogeneous equation . The characteristic equation is , which factors as , giving roots and . So the homogeneous solution is . For the delta function , the solution has a jump discontinuity in the first derivative at . The jump magnitude equals the coefficient of (which is 1), so . Since , we have . Using initial conditions: and . Solving this system: from the first equation, . Substituting: , so , giving and . Therefore, , which is answer C. Answer A uses the wrong initial condition for . Answer B ignores the original initial conditions entirely. Answer D has the coefficients backwards. Key strategy: With impulse functions, always account for the jump discontinuity in the derivative—this changes your effective initial conditions for the homogeneous solution.
- Determine the solution to the initial value problem , given . Answer: When you encounter a differential equation with unit step functions and Dirac delta functions , you're dealing with piecewise forcing functions that "turn on" at specific times. The key insight is that each term contributes to the solution only after its activation time, and the form of each contribution depends on the type of function. For this first-order linear ODE , the homogeneous solution has integrating factor . The unit step acts like a constant forcing function starting at , producing a particular solution of the form that's "turned on" by multiplying by . The delta function creates an instantaneous impulse at , contributing a decaying exponential that begins at that moment, activated by . Choice B correctly captures both behaviors: . Choice A incorrectly uses instead of the shifted exponentials, missing that solutions should start fresh at their activation times. Choice C has the wrong decay rate for the delta impulse term—it should decay as , not . Choice D omits the unit step functions entirely, meaning the solution would be active for all rather than starting at the proper times. Remember: unit steps and delta functions create solutions that begin at their shift points, so your exponential decay should always be measured from those activation times.
- The Laplace transform of the solution to an initial value problem is given by . What is the solution ? Answer: When you encounter a Laplace transform with an exponential factor like , this signals a time shift (translation) in the original function. The key insight is recognizing how to handle both the exponential factor and the rational function separately. To find , you need to use the time-shifting property: if , then , where is the unit step function. First, identify . The inverse Laplace transform of this is , since . With the factor , this becomes by the time-shifting property. Looking at the wrong answers: Choice A incorrectly expands the hyperbolic cosine using exponentials but makes sign and algebra errors in the process. Choice B gives , which ignores the time shift—this would be correct if there were no factor. Choice C gives , which would correspond to , but our numerator has , not 1. Study tip: Always decompose problems with factors into two steps: find the inverse transform of the rational part first, then apply the time-shifting property. Remember that and .
- A system is modeled by the differential equation with . If the input is an impulse at time , , what is the impulse response ? Answer: When you encounter a differential equation with an impulse function (Dirac delta), you're dealing with finding the system's impulse response - how it reacts to a sudden, instantaneous input at time . To solve with zero initial conditions, start by finding the characteristic equation: . Using the quadratic formula: . This gives us complex roots with real part and imaginary part . For an impulse at , the response has the form of the homogeneous solution shifted by and multiplied by the unit step function . With complex roots , the impulse response is: . Looking at the wrong answers: Choice A uses cosine instead of sine - but impulse responses for second-order systems with zero initial conditions always involve sine, not cosine. Choice B has the exponential decay starting from rather than , ignoring the time shift in the impulse. Choice D has the wrong exponential decay rate ( instead of ) and wrong frequency (argument instead of ). Study tip: For impulse responses, remember that the time shift in the input () must appear consistently throughout the solution, and complex roots give responses involving for zero initial conditions.
- A system is modeled by the initial value problem , with initial conditions and . What is the system's response for ? Answer: Taking the Laplace transform of the equation gives . This simplifies to , so . Let . The inverse Laplace transform of is . According to the second shifting theorem, the inverse transform of is . Here, , so .
- The equation where represents a resonance condition with finite duration input. With initial conditions , , what is the maximum value of for ? Answer: For , we have resonance since the input frequency equals the natural frequency. The particular solution during this interval grows as . The complete solution for is . At : and . For , only the homogeneous solution exists: . The maximum value of for is .
- Solve the initial value problem with the initial condition . Answer: When you encounter a differential equation with a unit step function like , you need to solve it piecewise since the forcing function changes at . First, solve for where . The equation becomes , giving . Using the initial condition , we get , so for . For , where , the equation becomes . This is a first-order linear equation. The homogeneous solution is , and using the method of undetermined coefficients, the particular solution is . So the general solution is . To find , use continuity at . From the left: . From the right: . Therefore . This gives us , which is answer C. Answer A incorrectly uses instead of in the step function term. Answer B includes an unnecessary exponential term that would come from solving the shifted equation incorrectly. Answer D represents , which suggests confusion with the integrating factor method. Study tip: For piecewise differential equations, always check continuity at the switching point and remember that unit step functions "turn on" their argument at the specified time.
- A system is described by with . The input is a square wave starting at , given by . What is the solution on the interval ? Answer: When you encounter a differential equation with discontinuous forcing functions like unit step functions, you need to solve it piecewise and apply the principle of superposition. The key insight is that each unit step function "turns on" a new forcing term at specific times. For the interval , the forcing function simplifies to since and while in this interval. The solution consists of two parts: the response to from and the response to starting at . For with zero initial conditions, the solution is . When the forcing changes to at , this adds a response with the time shift reflecting when this forcing began. Therefore, for . Choice A omits the initial response from . Choice C ignores the effect of the step change at . Choice D incorrectly adds rather than subtracts the second term, missing that creates a negative contribution. Remember: with piecewise forcing functions, track each "switching point" separately and use superposition to combine all active responses, being careful with the signs of each contribution.
- An RLC circuit with inductance H, resistance , and capacitance F is initially inert (zero charge and current). At time seconds, a constant voltage of 1 V is applied. What is the charge on the capacitor for ? Answer: When analyzing RLC circuits with delayed voltage inputs, you need to set up and solve a second-order differential equation with shifted initial conditions. For this RLC circuit, Kirchhoff's voltage law gives us . With the given values (, , ) and voltage applied at , this becomes for . The solution has the form . The characteristic equation gives , so (repeated root). This yields . The particular solution for the constant forcing function is . Since the voltage starts at with zero initial charge and current, we use shifted conditions: and . Substituting transforms this to a problem starting at , giving us . Converting back: . Answer choice D is correct. Choice A has the wrong sign on the exponential term. Choice B ignores the time shift entirely, treating the voltage as applied from . Choice C includes an unnecessary unit step function and incorrect form. Study tip: Always identify when voltage sources are delayed and shift your time variable accordingly. The initial conditions must be applied at the moment the source turns on, not at .
- Find the solution to the initial value problem , with initial conditions and . Answer: To apply the second shifting theorem, we must write the forcing function in the form . Let , so . Thus, . The Laplace transform is . The transformed ODE is . So, where . Partial fraction decomposition gives . The inverse transform is . The final solution is .