Answer :
The general solution to the first order linear differential equation dy/dx = -k (y-30) using the integrating factor method is y = 30 + 60e^(-2x).
First, rewrite the equation in the standard form: dy/dx + ky = k * 30.
Here, P(x) = k and Q(x) = 30k.
To find the solution using the integrating factor method:
- Identify the integrating factor, which is given by IF = e^(∫P(x) dx) = e^(∫k dx) = e^(kx).
- Multiply the entire differential equation by the integrating factor: e^(kx) * dy/dx + e^(kx) * k * y = e^(kx) * 30k.
- Notice that the left-hand side is the derivative of (y * e^(kx)): d/dx (y * e^(kx)) = e^(kx) * 30k.
- Integrate both sides with respect to x: ∫ d/dx (y * e^(kx)) dx = ∫ 30k * e^(kx) dx.
- This simplifies to: y * e^(kx) = 30 * e^(kx) + C, where C is the constant of integration.
- Solving for y, we get: y = 30 + Ce^(-kx).
Next, use the initial conditions to find C and k:
- Using y(0) = 90: 90 = 30 + C * e^(0)
- Therefore, C = 60.
- Using y(1) = 38.1: 38.1 = 30 + 60e^(-k)
- Therefore, 8.1 = 60e^(-k), which gives e^(-k) = 0.135 and hence k ≈ 2.
Thus, the general solution is y = 30 + 60e^(-2x).