6. Nonhomogeneous Linear Equations

Mechanical Applications

Mechanical Applications in Nonhomogeneous Linear Equations

students, mechanical applications show how differential equations describe real motion in the physical world 🌍. In this lesson, you will see how forces such as springs, damping, and outside driving forces create a nonhomogeneous linear differential equation. The goal is to understand the main terms, solve typical models, and explain what the solution means in a real system.

Why mechanical systems lead to differential equations

A classic mechanical system is a mass attached to a spring. If the mass is pulled and released, it moves back and forth. If friction or air resistance is present, the motion gradually slows down. If a motor, wind, or repeated push acts on the system, the motion may continue to be influenced by that outside force.

The main idea is Newton’s second law:

$$m\frac{d^2x}{dt^2}=\text{sum of forces}$$

Here, $m$ is the mass and $x(t)$ is the displacement of the object from equilibrium. The function $x(t)$ tells how far the mass is from its rest position at time $t$.

For a spring, Hooke’s law gives the restoring force:

$$F_s=-kx$$

where $k>0$ is the spring constant. The negative sign means the spring pulls back toward equilibrium.

If damping is present, such as friction from a shock absorber, the damping force is often modeled by

$$F_d=-c\frac{dx}{dt}$$

where $c>0$ is the damping constant. If an external force acts on the system, it is usually written as $F(t)$.

Putting these together gives the standard mechanical model:

$$m\frac{d^2x}{dt^2}+c\frac{dx}{dt}+kx=F(t)$$

This is a linear nonhomogeneous differential equation because the left side is linear in $x$, $\frac{dx}{dt}$, and $\frac{d^2x}{dt^2}$, and the right side is not zero.

Understanding the terms in the model

students, each part of the equation has a physical meaning.

  • $m\frac{d^2x}{dt^2}$ represents inertia, or resistance to changes in motion.
  • $c\frac{dx}{dt}$ represents damping, which removes energy from the system.
  • $kx$ represents the spring force that tries to restore the object to equilibrium.
  • $F(t)$ represents the outside force pushing or pulling on the system.

When $F(t)=0$, the equation becomes homogeneous:

$$m\frac{d^2x}{dt^2}+c\frac{dx}{dt}+kx=0$$

This describes free motion with no external driving force. When $F(t)\neq 0$, the system is nonhomogeneous, which means outside influences are active.

The total solution of a nonhomogeneous equation is usually written as

$$x(t)=x_h(t)+x_p(t)$$

where $x_h(t)$ is the solution of the homogeneous equation and $x_p(t)$ is one particular solution of the full equation.

This idea is important in mechanics because the motion has two parts:

  1. the natural motion of the system, and
  2. the forced response caused by $F(t)$.

Undamped, damped, and driven motion

A simple starting model is the undamped, forced spring-mass system:

$$m\frac{d^2x}{dt^2}+kx=F(t)$$

If $F(t)=0$, the system oscillates forever in the ideal case. If $F(t)\neq 0$, the forcing can change the pattern of motion.

If damping is included,

$$m\frac{d^2x}{dt^2}+c\frac{dx}{dt}+kx=F(t),$$

then motion gradually loses energy unless the external force keeps supplying it. In real life, this is why a bouncing ball stops, a car suspension settles after a bump, and a door closer returns a door to rest 🚪.

A very important phenomenon is resonance. This happens when the driving force has a frequency close to the natural frequency of the system. In some cases, the oscillations can become very large. Engineers must avoid dangerous resonance in bridges, buildings, and machinery.

Solving a mechanical application: a basic example

Consider the equation

$$m\frac{d^2x}{dt^2}+c\frac{dx}{dt}+kx=F(t)$$

with constants $m=1$, $c=2$, $k=5$, and external force $F(t)=10\cos(2t)$. The model becomes

$$\frac{d^2x}{dt^2}+2\frac{dx}{dt}+5x=10\cos(2t)$$

To solve it, we first handle the homogeneous equation:

$$\frac{d^2x}{dt^2}+2\frac{dx}{dt}+5x=0$$

Its characteristic equation is

$$r^2+2r+5=0$$

which has roots

$$r=-1\pm 2i$$

So the complementary solution is

$$x_h(t)=e^{-t}\left(C_1\cos(2t)+C_2\sin(2t)\right)$$

Because the forcing term is $10\cos(2t)$, we try a particular solution of the form

$$x_p(t)=A\cos(2t)+B\sin(2t)$$

After substituting into the differential equation and matching coefficients, we obtain values for $A$ and $B$. The full solution is then

$$x(t)=x_h(t)+x_p(t)$$

This solution describes motion that combines a decaying natural oscillation with a steady forced response.

Initial conditions and physical meaning

In mechanics, differential equations are usually paired with initial conditions such as

$$x(0)=x_0, \qquad x'(0)=v_0$$

where $x_0$ is the initial displacement and $v_0$ is the initial velocity.

These conditions matter because they determine the specific motion of the object. For example, two masses with the same equation may move differently if one starts from rest and the other starts with a push.

Suppose a spring system begins at displacement $x_0=3$ and velocity $v_0=0$. Then the constants in the general solution are found by plugging in $t=0$ and using the equations for $x(0)$ and $x'(0)$. The result is a unique motion curve.

In physical terms, the initial conditions tell us how the system was set in motion. This is similar to a playground swing ⛓️: the same swing can behave differently depending on how hard it was pushed at the start.

Variation of parameters and mechanical forcing

Some forcing functions are easy to handle with undetermined coefficients, especially polynomials, exponentials, sines, and cosines. But in mechanics, the force might be more complicated, such as a force that changes with time in a nonstandard way. In those cases, variation of parameters is a useful method.

If we know two independent solutions $y_1(t)$ and $y_2(t)$ of the homogeneous equation, then a particular solution can be written as

$$y_p(t)=u_1(t)y_1(t)+u_2(t)y_2(t)$$

where $u_1(t)$ and $u_2(t)$ are functions found from the forcing term. This method works for many nonhomogeneous linear equations, including mechanical models.

The important connection is this: mechanical applications do not change the structure of the method. Instead, they give the equation a physical meaning. The functions describe how a real object reacts to real forces.

A real-world interpretation of the solution

The solution to a mechanical differential equation is not just a formula. It tells a story about motion.

  • If the exponential part decays, the system loses energy over time.
  • If the forcing term remains active, the motion may settle into a repeating pattern.
  • If resonance occurs, the amplitude may grow very large.
  • If damping is strong, oscillations may disappear quickly.

For example, a car suspension is designed so that after hitting a bump, the body of the car returns to rest quickly without bouncing too long. That behavior is modeled by a damped differential equation with an appropriate value of $c$.

In a building during an earthquake, engineers study how the forcing term from ground motion affects the structure. The model helps predict whether the motion stays small or becomes dangerous.

Conclusion

Mechanical applications connect differential equations to motion, force, and energy. students, the standard model

$$m\frac{d^2x}{dt^2}+c\frac{dx}{dt}+kx=F(t)$$

shows how mass, damping, spring force, and outside forcing work together. This topic belongs to nonhomogeneous linear equations because the external force makes the equation nonzero on the right-hand side. By solving the homogeneous part and finding a particular solution, we can describe both natural motion and forced motion. These models are essential in engineering, physics, and everyday technology 🔧.

Study Notes

  • Mechanical applications use differential equations to model systems like springs, shock absorbers, and vibrating machines.
  • The standard model is $m\frac{d^2x}{dt^2}+c\frac{dx}{dt}+kx=F(t)$.
  • $m$ is mass, $c$ is damping, $k$ is spring stiffness, and $F(t)$ is an external force.
  • When $F(t)=0$, the equation is homogeneous; when $F(t)\neq 0$, it is nonhomogeneous.
  • The total solution has the form $x(t)=x_h(t)+x_p(t)$.
  • Initial conditions such as $x(0)=x_0$ and $x'(0)=v_0$ determine the unique motion.
  • Undetermined coefficients works well for many common forcing functions.
  • Variation of parameters is useful when the forcing function is more complicated.
  • Damping reduces motion over time, while periodic forcing can sustain oscillations.
  • Resonance can produce large amplitudes when the driving frequency matches the natural frequency.

Practice Quiz

5 questions to test your understanding