Skip to content

Split View: 공업수학 시리즈 4편: 2차 선형 미분방정식

|

공업수학 시리즈 4편: 2차 선형 미분방정식

공업수학 시리즈 4편: 2차 선형 미분방정식

1차 미분방정식이 "현재 상태의 변화율"을 다뤘다면, 2차 미분방정식은 가속도나 곡률까지 포함된 시스템을 다룹니다. 그래서 진동, 회로, 기계 시스템처럼 관성이 있는 현상을 설명할 때 자주 등장합니다.

표준형

가장 기본적인 2차 선형 미분방정식은 다음과 같습니다.

ay+by+cy=g(x)ay'' + by' + cy = g(x)

여기서 aa, bb, cc가 상수이고 g(x)g(x)가 외부 입력입니다. 먼저 외부 입력이 없는 동차식부터 보면

ay+by+cy=0ay'' + by' + cy = 0

이 됩니다.

왜 지수함수를 먼저 떠올릴까

상수계수 선형 방정식에서는 지수함수 y=erxy = e^{rx}를 넣어 보면 미분할 때 모양이 유지됩니다. 이 때문에

ar2+br+c=0ar^2 + br + c = 0

이라는 특성방정식이 나오고, 해의 구조는 이 2차 방정식의 근에 따라 결정됩니다.

세 가지 기본 경우

서로 다른 두 실근

근이 r1r_1, r2r_2이면

y=C1er1x+C2er2xy = C_1 e^{r_1x} + C_2 e^{r_2x}

입니다.

중근

근이 rr 하나로 겹치면

y=(C1+C2x)erxy = (C_1 + C_2 x)e^{rx}

입니다.

켤레복소근

근이 α±iβ\alpha \pm i\beta이면

y=eαx(C1cosβx+C2sinβx)y = e^{\alpha x}\left(C_1 \cos \beta x + C_2 \sin \beta x\right)

가 됩니다.

이 마지막 형태가 바로 감쇠 진동과 연결됩니다.

손으로 풀어보는 예제

다음 문제를 보겠습니다.

y3y+2y=0y'' - 3y' + 2y = 0

특성방정식은

r23r+2=0r^2 - 3r + 2 = 0

이고 인수분해하면

(r1)(r2)=0(r-1)(r-2) = 0

이므로 근은 r=1r=1, r=2r=2입니다. 따라서 일반해는

y=C1ex+C2e2xy = C_1 e^x + C_2 e^{2x}

입니다.

초기조건이

y(0)=1,y(0)=0y(0)=1, \quad y'(0)=0

이라면

C1+C2=1C_1 + C_2 = 1

C1+2C2=0C_1 + 2C_2 = 0

을 얻고, 풀면

C1=2,C2=1C_1 = 2, \quad C_2 = -1

이므로

y=2exe2xy = 2e^x - e^{2x}

가 됩니다.

공학 응용

질량-스프링-감쇠기 시스템의 자연응답은 보통

mx+cx+kx=0m x'' + c x' + kx = 0

으로 씁니다. 여기서

  • mm은 질량
  • cc는 감쇠 계수
  • kk는 스프링 상수

입니다.

회로에서는 같은 구조가

Lq+Rq+1Cq=0Lq'' + Rq' + \frac{1}{C}q = 0

처럼 RLC 회로에 나타납니다. 즉 기계 시스템과 전기 시스템이 같은 수학 구조를 공유합니다.

해를 해석하는 법

공업수학에서는 해를 구한 뒤 반드시 거동을 읽어야 합니다.

  • 지수함수 양의 실근이면 발산
  • 음의 실근이면 감쇠
  • 복소근이면 진동
  • 실수부가 음수인 복소근이면 감쇠 진동

즉 수식은 결국 시스템의 안정성과 응답 속도를 알려주는 도구입니다.

자주 하는 실수

특성방정식까지만 풀고 해를 잘못 쓴다

중근과 복소근의 해 형태는 서로 다릅니다. 근만 구하고 일반해 형태를 기계적으로 쓰면 틀리기 쉽습니다.

초기조건 적용에서 미분을 대충 한다

yy'를 정확히 구하지 않고 상수만 맞추려 하면 오차가 납니다. 일반해를 먼저 정리한 뒤 차분하게 미분하는 편이 안전합니다.

해의 의미를 읽지 않는다

공학 문제에서는 발산, 감쇠, 진동 여부가 핵심입니다. 계산만 끝내고 시스템 해석을 빼먹지 않는 습관이 중요합니다.

한 줄 요약

2차 선형 미분방정식은 특성방정식의 근을 통해 자연응답의 형태를 읽는 도구입니다.

다음 편 예고

다음 글에서는 2차 방정식을 실제 물리 시스템에 연결해 감쇠, 강제진동, 공진이 어떻게 나타나는지 살펴보겠습니다.

참고자료

  • Erwin Kreyszig, Advanced Engineering Mathematics, 10th Edition
  • Steven H. Strogatz, Nonlinear Dynamics and Chaos
  • MIT OpenCourseWare, Vibrations and Waves 관련 자료

Engineering Math Series 4: Second-Order Linear ODEs

Engineering Math Series 4: Second-Order Linear ODEs

While first-order differential equations dealt with "the rate of change of the current state," second-order differential equations handle systems that include acceleration or curvature. That is why they frequently appear when describing phenomena with inertia, such as vibration, circuits, and mechanical systems.

Standard Form

The most basic second-order linear differential equation is

ay+by+cy=g(x)ay'' + by' + cy = g(x)

where aa, bb, cc are constants and g(x)g(x) is the external input. Looking first at the homogeneous equation without external input,

ay+by+cy=0ay'' + by' + cy = 0

Why Think of Exponential Functions First

For constant-coefficient linear equations, substituting y=erxy = e^{rx} maintains the form under differentiation. This leads to

ar2+br+c=0ar^2 + br + c = 0

which is the characteristic equation, and the structure of the solution is determined by the roots of this quadratic equation.

Three Basic Cases

Two distinct real roots

If the roots are r1r_1 and r2r_2, then

y=C1er1x+C2er2xy = C_1 e^{r_1x} + C_2 e^{r_2x}

Repeated root

If the root rr is repeated, then

y=(C1+C2x)erxy = (C_1 + C_2 x)e^{rx}

Complex conjugate roots

If the roots are α±iβ\alpha \pm i\beta, then

y=eαx(C1cosβx+C2sinβx)y = e^{\alpha x}\left(C_1 \cos \beta x + C_2 \sin \beta x\right)

This last form is precisely what connects to damped oscillation.

Worked Example

Consider the following problem.

y3y+2y=0y'' - 3y' + 2y = 0

The characteristic equation is

r23r+2=0r^2 - 3r + 2 = 0

which factors as

(r1)(r2)=0(r-1)(r-2) = 0

so the roots are r=1r=1 and r=2r=2. Therefore the general solution is

y=C1ex+C2e2xy = C_1 e^x + C_2 e^{2x}

If the initial conditions are

y(0)=1,y(0)=0y(0)=1, \quad y'(0)=0

then

C1+C2=1C_1 + C_2 = 1

C1+2C2=0C_1 + 2C_2 = 0

Solving gives

C1=2,C2=1C_1 = 2, \quad C_2 = -1

so

y=2exe2xy = 2e^x - e^{2x}

Engineering Applications

The natural response of a mass-spring-damper system is typically written as

mx+cx+kx=0m x'' + c x' + kx = 0

where

  • mm is the mass
  • cc is the damping coefficient
  • kk is the spring constant

In circuits, the same structure appears as

Lq+Rq+1Cq=0Lq'' + Rq' + \frac{1}{C}q = 0

in an RLC circuit. In other words, mechanical systems and electrical systems share the same mathematical structure.

How to Interpret the Solution

In engineering mathematics, you must always read the behavior after finding the solution.

  • Positive real roots in the exponential mean divergence
  • Negative real roots mean decay
  • Complex roots mean oscillation
  • Complex roots with negative real part mean damped oscillation

In other words, the equations ultimately serve as tools that tell you about the stability and response speed of the system.

Common Mistakes

Writing the solution incorrectly after solving the characteristic equation

The solution forms for repeated roots and complex roots are different. If you mechanically write the general solution after only finding the roots, mistakes are easy.

Being careless with differentiation when applying initial conditions

If you do not compute yy' accurately and just try to match the constants, errors arise. It is safer to first organize the general solution and then differentiate carefully.

Not reading the meaning of the solution

In engineering problems, whether the solution diverges, decays, or oscillates is the key point. It is important to develop the habit of not skipping system analysis after completing the calculation.

One-Line Summary

Second-order linear ODEs are tools for reading the form of the natural response through the roots of the characteristic equation.

Next Post Preview

In the next post, we will connect second-order equations to real physical systems and examine how damping, forced oscillation, and resonance arise.

References

  • Erwin Kreyszig, Advanced Engineering Mathematics, 10th Edition
  • Steven H. Strogatz, Nonlinear Dynamics and Chaos
  • MIT OpenCourseWare, Vibrations and Waves materials