Differentials with linear equations

maiad
Messages
101
Reaction score
0

Homework Statement


Suppose that y(x) is the solution to the initial problem, y'=y(1-x), y(1)=e
find y(2)

Homework Equations


The Attempt at a Solution


This is my initial attempt:
\frac{dy}{dx}=y(1-x)
\frac{dy}{y}=(1-x)dx

i then integrated both side to get:
lny=-ln(1-x)+C

and here's the problem, if i plug in 1 to find c, ln(1-x) does not exist at that point...
 
Last edited:
Physics news on Phys.org
I tried another approach:
y'+yx=y
(yx)'=y

integrated both sides:
yx=\frac{1}{2}(y^{2}) +C

but with this approach i wasn't able to solve for y
 
maiad said:
\frac{dy}{y}=(1-x)dx

i then integrated both side to get:
lny=-ln(1-x)+C
First of all, you integrated the right hand side incorrectly. Remember, you're just integrating a polynomial.
 
maiad said:
I tried another approach:
y'+yx=y
(yx)'=y
Wait a minute, (yx)'=xy'+yx'=xy'+y, not y'+yx.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top