DIFFERENTIAL EQUATION find y given the differential equation (x+1)dy/dx = y with condition y(4)=10
Hmm this appears to be separable. So let's move some things around.
There is a process that allows us to write the dx differential on the other side. For our purposes, we can simply think of this as multiplication, even though that's not exactly accurate. :)\[\large (x+1)dy=ydx\]
Now we'll move the y term over with the dy, and the x term over to the side with the dx.\[\large \frac{dy}{y}=\frac{dx}{x+1}\]
And now we integrate! Yay!
\[\large \int\limits \frac{dy}{y}=\int\limits \frac{dx}{x+1}\]
\[\large \ln y = \ln(x+1)+c\]Confused about anything yet? Understand why we only write a +C on one side?
I approached the question wrong before
+C is what i need to solve right?
the initial condition
Yes, the initial condition allows you to find your C :)
We don't want to find this C though. We want to manipulate the problem a little more BEFORE we solve for C.
If we exponentiate both sides (Write them with a base of e) we get,\[\large e^{\ln y} = e^{\ln(x+1)+c}\]
the exponential and logarithm are INVERSE operations of one another, so on the left, they'll cancel out nicely.\[\large y = e^{\ln(x+1)+c}\]
then its y=(x+1)+c right?
No. the right side you can't pull that little tricky I'm afraid, because of the +c attached to the log.
ok thx for pointing thst out
We have to do a little something involving exponents before we can do that little magic trick.
Recall this exponential law?\[\huge a^{b+c} \quad = \quad a^b\cdot a^c\]
im guessin we do e^(ln(x+1) + e^c or am i doing it wrong
e^(ln(x+1) * e^c
Applying this law lets us rewrite the right side,\[\huge y = e^{\ln(x+1)}\cdot e^c\]You're on the right track, just be careful with the operation you put when you brought it down. Ah yes good good c:
NOW we're allowed to pull that little inverse tricky on the first part.
e^c = c right
since its an arbitrary constant?
Yes, very good. e^c=C Given that C must be larger than 0.
i get c = 5
but the answer says y=2(x+1)
Yah you should get 2, how did you get 5? I think you made a silly mistake maybe.
\[\large y=Ce^{\ln(x+1)} \quad \rightarrow \quad y=C(x+1)\] \[\large y(4)=10 \quad \rightarrow \quad 10=C(4+1)\]
its multiplied by c
how come?
Because of the Exponential Law that we applied, we wrote it as multiplication of bases. Remember the e term?
oh i see
You have to be careful with problems like this, because the constant can change from addition to multiplication, depending on what you do to the problem.
i always make mistakes like that
Heh :3 practice!
I got it thx alot
np.
Join our real-time social learning platform and learn together with your friends!