Split View: 공업수학 시리즈 2편: 1차 미분방정식의 개념
공업수학 시리즈 2편: 1차 미분방정식의 개념
공업수학 시리즈 2편: 1차 미분방정식의 개념
1차 미분방정식은 공업수학의 출발점입니다. 이름이 낯설어 보여도 사실은 "어떤 양의 변화 속도를 알고 있을 때 원래 양의 움직임을 복원하는 문제"라고 생각하면 훨씬 친숙해집니다.
문제의식
현실 시스템은 대부분 정적인 값보다 변화 과정이 더 중요합니다. 현재 온도, 현재 전압, 현재 속도보다도 "얼마나 빨리 변하는가"가 시스템의 성질을 결정하는 경우가 많습니다. 미분방정식은 바로 이 변화 규칙을 수식으로 적어 놓은 것입니다.
1차 미분방정식은 최고차 미분이 한 번만 등장하는 식을 뜻합니다. 일반적으로 다음처럼 씁니다.
또는 더 직접적으로
여기서 는 독립변수, 는 미지함수, 는 그 변화율입니다.
해를 구한다는 것은 무엇인가
1차 미분방정식의 해를 구한다는 말은, 식을 만족하는 함수 를 찾는다는 뜻입니다.
예를 들어
를 만족하는 함수는
입니다. 미분해 보면 정말로 가 되기 때문입니다. 즉 미분방정식의 해는 하나의 숫자가 아니라 보통 함수 전체입니다.
왜 적분상수가 생기는가
미분은 정보를 일부 지웁니다. 를 미분해도 이고, 를 미분해도 입니다. 따라서 미분방정식을 거꾸로 푸는 과정에서는 잃어버린 정보를 상수 로 복원해야 합니다.
이 때문에 일반해는 보통
형태가 됩니다. 그리고 초기조건이나 경계조건이 주어지면 그때 가 결정됩니다.
초기값 문제의 의미
현실 문제에서는 현재 상태가 같이 주어지는 경우가 많습니다. 예를 들어
이면 일반해 에 을 넣어 을 얻고,
라는 특수해를 얻습니다.
이처럼 미분방정식과 초기조건이 함께 주어지는 문제를 초기값 문제라고 합니다. 공학에서는 회로를 켰을 때 초기 전압이 얼마인지, 시스템 시작 시 위치와 속도가 얼마인지 같은 정보가 이 역할을 합니다.
기울기장으로 보는 직관
식
은 좌표평면의 각 점에서 기울기를 알려줍니다. 이 정보를 화살표나 작은 선분으로 그리면 기울기장이 되고, 해는 그 기울기장을 따라가는 곡선이 됩니다.
예를 들어
에서는 가 큰 곳일수록 기울기가 가파르고, 근처에서는 거의 평평합니다. 그래서 해는 지수함수 꼴이 됩니다.
이 직관은 나중에 해를 정확히 구하기 어려운 문제에서도 매우 중요합니다. 손으로 완전히 못 풀더라도, 해가 증가하는지 감소하는지, 어느 값으로 빨려 들어가는지 정도는 읽어낼 수 있어야 하기 때문입니다.
대표 예제
다음 문제를 보겠습니다.
이 식은 현재 양의 절반 비율로 감소하는 현상을 나타냅니다. 일반해는
이고 초기조건을 대입하면
이므로
입니다.
이 해는 시간이 지날수록 값이 0에 가까워지는 감쇠 현상을 보여줍니다.
공학 응용
냉각 문제
어떤 물체의 온도가 주변 온도에 가까워지는 과정은 종종
처럼 모델링합니다. 현재 온도와 주변 온도의 차이가 클수록 더 빨리 식는다는 뜻입니다.
간단한 RC 회로
축전기의 전압 변화도 1차 미분방정식으로 시작합니다. 회로 해석에서 2차, 3차 시스템으로 가기 전에 가장 먼저 보는 전형적인 예시입니다.
서비스 트래픽 감쇠 모델
개발자 관점에서는 캐시 TTL 이후 감소하는 트래픽, 점차 안정화되는 큐 길이, 간단한 피드백 시스템도 비슷한 구조로 바라볼 수 있습니다.
자주 하는 실수
식과 해를 구분하지 못한다
미분방정식은 함수가 만족해야 할 규칙이고, 해는 그 규칙을 만족하는 함수입니다. 둘은 같은 것이 아닙니다.
초기조건을 너무 늦게 넣는다
일반해를 구한 뒤 특수해를 얻기 위해 초기조건을 넣는다는 흐름을 잊으면 계산이 자주 꼬입니다.
변화율과 함수값을 혼동한다
와 는 완전히 다른 정보입니다. 값이 크다고 변화율이 꼭 큰 것은 아니고, 반대로 값이 작아도 변화율은 클 수 있습니다.
한 줄 요약
1차 미분방정식은 "변화율의 규칙"으로부터 "함수의 시간에 따른 움직임"을 복원하는 문제입니다.
다음 편 예고
다음 글에서는 1차 미분방정식을 실제로 푸는 대표 방법인 변수분리법, 적분인자법, 완전미분방정식을 차례대로 정리하겠습니다.
참고자료
- Erwin Kreyszig, Advanced Engineering Mathematics, 10th Edition
- Dennis G. Zill, A First Course in Differential Equations
- Paul Dawkins, Differential Equations Notes
Engineering Math Series 2: Concepts of First-Order ODEs
Engineering Math Series 2: Concepts of First-Order ODEs
The first-order differential equation is the starting point of engineering mathematics. Although the name may seem unfamiliar, it becomes much more approachable if you think of it as "a problem of recovering the movement of a quantity when you know the rate of change of that quantity."
The Core Question
In most real-world systems, the process of change is more important than static values. Rather than the current temperature, current voltage, or current speed, it is often "how fast it changes" that determines the nature of the system. A differential equation is precisely this rule of change written as an equation.
A first-order differential equation means an equation where the highest-order derivative appears only once. It is generally written as
or more directly as
Here is the independent variable, is the unknown function, and is its rate of change.
What Does It Mean to Find a Solution
Finding the solution of a first-order differential equation means finding a function that satisfies the equation.
For example, the function that satisfies
is
because differentiating it indeed gives . In other words, the solution to a differential equation is usually not a single number but an entire function.
Why Does an Integration Constant Appear
Differentiation erases some information. Differentiating gives , and differentiating also gives . Therefore, when solving a differential equation in reverse, you must restore the lost information with a constant .
Because of this, the general solution usually has the form
And when initial conditions or boundary conditions are given, is then determined.
The Meaning of Initial Value Problems
In real-world problems, the current state is often given along with the equation. For example, if
then substituting into the general solution gives , and we obtain the particular solution
A problem where a differential equation and initial conditions are given together is called an initial value problem. In engineering, information such as the initial voltage when a circuit is turned on, or the position and velocity at system startup, plays this role.
Intuition Through Slope Fields
The equation
tells you the slope at each point on the coordinate plane. If you draw this information as arrows or small line segments, it becomes a slope field, and the solution is a curve that follows this slope field.
For example, in
the slope is steeper where is large, and nearly flat near . So the solution takes the form of an exponential function.
This intuition is very important even for problems where it is difficult to find the exact solution later. Even if you cannot solve it completely by hand, you should be able to read whether the solution is increasing or decreasing, or toward which value it is being pulled.
Representative Example
Consider the following problem.
This equation represents a phenomenon where the quantity decreases at half its current rate. The general solution is
Substituting the initial condition gives
so
This solution shows a decay phenomenon where the value approaches 0 as time passes.
Engineering Applications
Cooling Problems
The process of an object's temperature approaching the ambient temperature is often modeled as
This means that the greater the difference between the current temperature and the ambient temperature, the faster it cools.
Simple RC Circuits
The voltage change across a capacitor also begins as a first-order differential equation. This is the most typical first example seen before moving to second and third-order systems in circuit analysis.
Service Traffic Decay Model
From a developer's perspective, traffic decreasing after cache TTL, queue lengths gradually stabilizing, and simple feedback systems can all be viewed with a similar structure.
Common Mistakes
Not distinguishing between the equation and the solution
A differential equation is a rule that a function must satisfy, and the solution is a function that satisfies that rule. They are not the same thing.
Applying initial conditions too late
Forgetting the flow of first finding the general solution and then applying initial conditions to get the particular solution often leads to tangled calculations.
Confusing the rate of change with the function value
and are completely different pieces of information. A large value does not necessarily mean a large rate of change, and conversely, a small value can still have a large rate of change.
One-Line Summary
A first-order differential equation is a problem of recovering "the movement of a function over time" from "a rule about rates of change."
Next Post Preview
In the next post, we will go through the three main methods for actually solving first-order differential equations: separation of variables, integrating factor, and exact equations.
References
- Erwin Kreyszig, Advanced Engineering Mathematics, 10th Edition
- Dennis G. Zill, A First Course in Differential Equations
- Paul Dawkins, Differential Equations Notes