(
x
lo
g
x
)
d
x
d
y
+
y
=
2
x
lo
g
x
,
x
≥
1
Let
y
(
x
)
be the solution of the above differential equation, then
y
(
e
)
is equal to :
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Sir i can't understand getting value of C =2
Log in to reply
Can you tell me how you get value of C (constan)
Log in to reply
Normally we would be given some initial condition in order to identify a unique value for C , but in this case all we have to work with is that the given DE should apply for x ≥ 1 . Now as x → 1 from the right we have lo g ( x ) → 0 , so the general solution for y won't be defined at x = 1 , but we can at least try and find C so that the x → 1 + lim y is a finite value. As discussed in my solution, the only suitable value that does this is C = 2 , with which x → 1 + lim y = 0 , which is consistent with the original DE, (as long as d y / d x is finite at x = 1 , which is in fact the case). So we could just say that y = 2 x − lo g ( x ) 2 x − 2 for x > 1 , and then set y ( 1 ) = 0 to ensure that y is defined and continuous for x ≥ 1 .
Sorry that this explanation was long-winded, but determining the behavior of y at x = 1 is the tricky part of the problem.
Problem Loading...
Note Loading...
Set Loading...
It can be assumed that lo g ( x ) refers to the natural logarithm.
For the moment we will just look at the case where x > 1 . For this domain, we can divide through by x lo g ( x ) without worrying about division by zero. The linear DE then becomes
d x d y + x lo g ( x ) 1 y = 2 .
We then have an integrating factor of
e ∫ x lo g ( x ) 1 d x = e lo g ( lo g ( x ) ) = lo g ( x ) ,
where the integral was solved using the substitution u = lo g ( x ) . Multiplying through by lo g ( x ) gives us the equation
lo g ( x ) d x d y + x y = 2 lo g ( x )
⟹ d x d ( y lo g ( x ) ) = 2 lo g ( x )
⟹ y lo g ( x ) = 2 x ( lo g ( x ) − 1 ) + C ⟹ y = 2 x − lo g ( x ) 2 x − C ,
for some constant C , where the integration of lo g ( x ) was done by parts, (see comments for explanation).
Now for this solution to be valid as x → 1 we will require that ( 2 x − C ) → 0 at this value to deal with the division by zero issue. This gives us C = 2 , and thus the general solution
y = 2 x − lo g ( x ) 2 x − 2 , for which y ( e ) = 2 e − 1 2 e − 2 = 2 .
Comments: Note that lim x → 1 ( 2 x − lo g ( x ) 2 x − 2 ) = lim x → 1 ( 2 − x 1 2 ) = 2 − 2 = 0 ,
where L'Hopital's rule was used to evaluate the limit of the fractional term. Thus our choice of C = 2 gives us a unique function y ( x ) defined for x ≥ 1 , for any other choice of C would have made y indeterminate at x = 1 .
For the integration by parts solution, let u = lo g ( x ) and d v = d x . Then d u = x 1 d x and v = x , and so
∫ lo g ( x ) d x = x lo g ( x ) − ∫ x ∗ x 1 d x = x ( lo g ( x ) − 1 ) + C .