solve for y

**Answer 1**

By P2, do you mean P^2? By “solve for y”, do you mean “solve for P?” In this case, it’s just a breakable ODE:

dP/dt = P – P^2

1/(P – P^2)dP = dt

∫1/(P – P^2)dP = ∫dt

∫1/(P – P^2)dP = t + c, where c is a constant

To do the left integral, use the method of partial fractions. PP^2 factors for P(1-P), so we want to rewrite 1/(PP^2) as A/P+B/(1-P) for some constants A and B. So we have:

1/[P(1-P)] = A/P + B/(1-P)

A(1-P) + PA = 1

When P is 1, we have A(1-1)+B(1)=1, or B=1.

When P is 0, we have A(1-0)+B(0)=1, or A=1.

Thus, we can rewrite 1/(PP^2) as 1/P+1/(1-P).

By integrating the left side of the ODE, we have:

∫1/(P – P^2)dP

∫[1/P + 1/(1-P)]dP

∫(1/P)dP + ∫1/(1-P)dP

ln(P) + ∫1/(1-P)dP

To make the second integral, make a substitution u:

u = 1-P, du = -dP

ln(P) – ∫(1/u)du

ln(P) – ln(u)

ln(P) – ln(1-P)

in[P/(1-P)]

Plugging this back into the ODE, we have:

in[P/(1-P)] = t + c

e^ln[P/(1-P)] = e^(t + c)

P/(1-P) = e^t * e^c

P/(1-P) = ke^t, where k is a constant equal to e^c

P = (1-P)ke^t

P = ke^t – Pke^t

P + Pke^t = ke^t

P(1 + ke^t) = ke^t

P = ke^t / (1 + ke^t)

P = e^t/(1/k + e^t)

P = e^t / (d + e^t), where d is a constant equal to 1/k

So the general solution for ODE is P = e^t / (d + e^t), where d is a constant.

Edit:

@Paul, ln(PP^2) is not a primitive of 1/(PP^2).

Edit:

Who voted against my answer, do you want to explain why? I’m pretty sure I did everything right, but if I made a mistake, I’d like to know where.

**answer 2**

Do you mean to P?

dP/P(1 – P) = dt

Integration on both sides:

-ln|1 – P| + ln|P| = t + C

P/(1 – P) = Ce^

Related Posts

How to become a Fundraising Manager?
How do I become a fundraiser? If you want to become a fundraising manager, this profession comes with great responsibilities. Let us know more about How to Become a Fundraising Manager? and some other related details. If you want to become a fundraising manager, this profession comes with great responsibilities. The responsibility of fundraising managers is to oversee all fundraising functions for the company or organizations they work for. It can be said that behind a successful business there is the expert hand of the fundraiser. Thanks to their advice, the company makes a profit.Who is a fundraising manager?A fundraising manager is a person who has leadership quality and holds a senior position in a fundraising or development company. Fundraising and fundraising have a little difference. a fund development manager has the role of strategically directing fundraising, while fundraising means raising money for the business. The manager's job is to develop and execute strategies for the organization the manager works for. they also involve the varieties of strategic planning of fundraising actions. Proper planning and visualization of fundraising campaigns is also handled by the fundraising manager. A manager's job varies from day to day depending on the type of fundraising Read more

How to Become a Jet Engine Mechanic?
How to become a jet engine mechanic? The job of the jet engine mechanic of the era is to check and maintain the aircraft equipment and repair if there is a problem with the aircraft and to operate the aircraft properly and in good condition. completely safe. Let us know more about Jet Engine MEchanics in this article. The jet engine mechanic's job for the day is to check and maintain aircraft equipment and repair if there is a problem with the aircraft and to operate the aircraft properly and safely. security. includes responsibilities to inspect the aircraft and maintain aircraft maintenance. They are experts in repairing and identifying the problem by seeing the symptoms on the aircraft. They may be involved in work on small planes, large planes and helicopters.Responsibilities of a Jet Engine MechanicJet mechanics have to inspect and examine different components of the plane to see if they are working properly or not.They should also check the landing gear and hydraulics, and see if there are any cracks, breaks, leaks, and other common issues on an aircraft.The jet mechanic must be able to read and explain the aircraft maintenance issue and other aircraft technical issues.While servicing an Read more

How to Become a Radiologist?
How to become a radiologist? Do you also aspire to become a radiologist? This is the right article for you then. You can know everything about, How to become a radiologist? and intriguing details related to it.How to become a radiologist?If you're interested in sitting in a darkened room, looking at x-rays, and steering the patient away from what's causing the problem, a radiologist should do all of those things. Let's clear up people's false perspective on radiology myths and give them a clear thinking about radiology. a patient comes to radiology unless and unless the disease is related to the depth of the skin that you cannot see with your eyes.What do radiologists do?Radiologists are experts at explaining the meaning of diagnostic images. They know the power of this machine, which takes a diagnostic image and treats the disease. The radiologist will guide the patient, explaining in detail where the problem is in the body and how to treat it only at an early stage.Why prefer radiology and myth?As the radiology can reach the part inside the body which the doctor can reach easily without using a sharp knife with the help of the radiology, the problem can be Read more

How to Become a Kindergarten Teacher Assistant?
How to become a nursery assistant? Are you also interested in the field of teaching, but do not have any experience? You can then earn some by being an assistant professor. Let us know, "How to Become a Kindergarten Teacher Assistant?" and details about it. Kindergarten teacher aides are also known as teacher aides, paraprofessionals, or educational aides who work with kindergarten teachers to make the lesson more effective and the outcome more effective. The assistant kindergarten teacher guides the student by working with him individually or in small groups of teachers to reinforce his concept. Assistant teachers should be concerned about students in the playground, on buses and in the cafeteria. As we know, children at this age are taught to understand things easily and have more energy because they are impulsive, so the job of kindergarten teacher assistant is much more stressful. but this stress is expected by the reward of seeing or observing the progress of the children in the classes and at the end of the year. The purpose of the childminder:The role of the assistant kindergarten teacher is to make every effort to see the progress of each student under the direction of the main Read more