Sachin S. answered 12/07/24
Top Scorer in AP Calculus and Several College Calculus Classes
Amongst other methods, you can solve this differential equation using separation of variables because it is algebraically possible to rearrange this differential equation with all the P terms on one side of the equation and all the x terms on the other.
To solve for P(x) using separation of variables, let's first call P'(x) = dP/dx , and then rewrite the original differential equation as:
dP/dx = 4P + a
Now, rearrange this such that all P terms are on one side of the equation, and all x terms on the other side:
dP/(4P+a)= dx
Now, integrate both sides:
∫dp/(4P+a) = ∫dx
which results in:
0.25ln(4P+a) + C1 = x + C2
Rearranging:
0.25ln(4P+a) = x + C2 - C1
For simplicity, we can replace C2 - C1 with another arbitrary constant C
0.25ln(4P+a) = x + C
Now, algebraically rearrange to solve for P:
P =(1/4)e4Ce4x - a/4
Because (1/4)e4C is just some constant, we can replace it with arbitrary constant C for simplicity, yielding our final solution for P(x)
P(x) = Ce4x - a/4
If you were given initial conditions, you could solve for the exact value of the constant C. Additionally, as a way to "check" that our P(x) is correct, you can always plug this P(x) solution back into the original differential equation to see if it holds up:
If we found that P(x) = Ce4x - a/4, then our proposed P'(x) = 4Ce4X
Now plug this into the original differential equation and simplify:
P'(x)=4P(x)+a
4Ce4X = 4 (Ce4x - a/4) + a
4Ce4X = 4 Ce4x - a + a
4Ce4X = 4 Ce4x
Hence, our solution P(x) = Ce4x - a/4 is correct
Niko Z.
That helps a lot, thank you! Got this and other similar problems perfectly12/07/24