Розв'язування диференційних рівнянь із розділеними змінними

Before this, knowРівняння первісної: $y'(x) = f(x)$

Read · 1 min

This type of differential equation is called "separable" because of the following trick (which will be proven later): dydx=g(x)h(y)dyh(y)=g(x)dx∫dyh(y)=∫g(x)dx\begin{align*} \frac{dy}{dx} &= g(x)h(y)\\ \frac{dy}{h(y)} &= g(x) dx\\ \int\frac{dy}{h(y)} &= \int g(x) dx\end{align*} Let's see a concrete example: try to solve the differential equation y′=2xyy' = 2xy using the separating technique above.

dydx=2xydyy=2xdx∫dyy=∫2xdxln⁡(y)=x2+C1y=Cex2\begin{align*} \frac{dy}{dx} &= 2xy\\ \frac{dy}{y} &= 2x dx\\ \int\frac{dy}{y} &= \int 2x dx\\ \ln(y) &= x^2+C_1\\ y &= Ce^{x^2} \end{align*}

where the CC in the final result is eC1e^{C_1}.

Read · 1 min

An application/example of this type of differential equation in circuits:

Consider a series circuit with a battery (voltage VV), a capacitor (capacitance CC), and a resistor (resistance RR). Suppose Q(t)Q(t) is the charge on the capacitor at time tt. Then the current is I(t)=Q′(t)I(t) = Q'(t). Then by Kirchoff's voltage law: V=QC+Q′RV = \frac{Q}{C} + Q'R Now, whether or not you understood how we got here, this is a differential equation which you can solve. Give it a try!

It's not immediately obvious that this is separable, but with a little rearranging, it is: Q′=dQdt=(VR−QRC)Q'=\frac{dQ}{dt} = \left(\frac{V}{R} - \frac{Q}{RC}\right) so ∫dQ(VR−QRC)=t+C1\int\frac{dQ}{\left(\frac{V}{R} - \frac{Q}{RC}\right)} = t + C_1 The integral on the left is solved with a simple substitution u=(VR−QRC)u = \left(\frac{V}{R} - \frac{Q}{RC}\right), du=−1RCdQdu = -\frac{1}{RC}dQ. So ln⁡(VR−QRC)=−tRC+C2.\ln\left(\frac{V}{R} - \frac{Q}{RC}\right) = -\frac{t}{RC} + C_2. Rearranging, with the shorthand τ=RC\tau = RC: (VR−QRC)=C3e−t/τ\left(\frac{V}{R} - \frac{Q}{RC}\right) = C_3 e^{-t/\tau} Thus Q=CV−Ae−t/τQ = CV - Ae^{-t/\tau} is our set of solutions. (Here AA is the arbitrary constant, since CC is capacitance).

With the initial conditions Q(0)=0Q(0) = 0, we get A=CVA = CV, so Q(t)=CV(1−e−t/τ)Q(t) = CV(1-e^{-t/\tau}) which if I recall correctly is the "standard" equation for this particular circuit.

Read · 1 min

A separable differential equation can be written as a product of a function of xx and a function of yy.

dydx=g(x)f(y)\frac{dy}{dx}=g(x)f(y)

If f(y)≠0f(y)\neq0, we can write the above differential equation as

dydx=g(x)h(y)\frac{dy}{dx}=\frac{g(x)}{h(y)}

where h(y)=1f(y)h(y)=\frac{1}{f(y)}.

We can then rewrite it in the differential form

h(y)dy=g(x)dxh(y)dy=g(x)dx

and integrate both sides

∫h(y)dy=∫g(x)dx\int h(y)dy=\int g(x)dx

Read · 1 min

We can now examine an application of differential equations in the chemistry of kinetics.

Suppose that we are given the differential rate law of a first-order reaction

d[A]dt=k[A]\frac{d[A]}{dt}=k[A]

We can solve this differential equation to get the integrated rate law.

d[A][A]=kdt\frac{d[A]}{[A]}=kdt ∫0td[A][A]=∫0tkdt\int^t_0\frac{d[A]}{[A]}=\int^t_0kdt ln⁡[A]∣0t=kt∣0t\ln[A]\bigg\vert^t_0=kt\bigg\vert^t_0 ln⁡[A]t−ln⁡[A]0=kt\ln[A]_t-\ln[A]_0=kt ln⁡[A]t=kt+ln⁡[A]0\boxed{\ln[A]_t=kt+\ln[A]_0}

Read · 1 min

A separable differential equation is an equation of the form dydx=g(x)h(y),\frac{dy}{dx} = g(x)h(y), where g,hg,h are given functions of x,yx,y, respectively. For example, when hh is constant, we recover the anti-derivative equation. In general, you can solve separable equations essentially by "separating the two variables xx and yy": dyh(y)=g(x)dx  ⟹  ∫dyh(y)=∫g(x)dx  ⟹  H(y)=G(x)+C,\frac{dy}{h(y)} = g(x) dx \implies \int\frac{dy}{h(y)} = \int g(x) dx \implies H(y) = G(x) + C, where GG and HH are anti-derivatives of gg and 1/h1/h, respectively, and CC is some constant depending on the initial conditions. Alternatively, we could have solved the equation using the chain rule: g(x)=1h(y)ddxy(x)=ddxH(y(x))  ⟹  H(y(x))=G(x)+C.g(x) = \frac{1}{h(y)}\frac{d}{dx}y(x) = \frac{d}{dx} H(y(x)) \implies H(y(x)) = G(x) + C. Either way, you can then usually solve for y(x)y(x) in terms of xx by applying the inverse function H−1H^{-1} to both sides.

Type a concept, like “slope” or “photosynthesis”.

↑ ↓ to choose · Enter to openSearch explanations and problems