Differential Equations

A LevelAQAEdexcelOCR

Differential Equations

A differential equation is an equation with a derivative term in it, such as dydxdfrac{dy}{dx}.

We can solve them by treating dydxdfrac{dy}{dx} as a fraction then integrating once we have rearranged.

They are often used to model real life scenarios, in which case it might use xx and tt, rather than yy and xx, where tt represents time.

A LevelAQAEdexcelOCR

Solving Differential Equations

All differential equations at A-level have the form dydx=f(x)g(y)dfrac{dy}{dx}=f(x)g(y)

We can treat dydxdfrac{dy}{dx} as a fraction and rearrange:

dydx=f(x)g(y)dfrac{dy}{dx}=f(x)g(y)

1g(y)dydx=f(x)dfrac{1}{g(y)}dfrac{dy}{dx}=f(x)

1g(y)dy=f(x)dxdfrac{1}{g(y)}dy=f(x)dx

Now that it is in this form, we can integrate the left side with respect to yy and integrate the right side with respect to xx.

1g(y)dy=f(x)dxintdfrac{1}{g(y)}dy=int f(x)dx

Once we have integrated we can get our final answer by rearranging to get yy in terms of xx.

The answer will include a +c+c from the integration (you only need to include this on one side). Sometimes the question will contain extra information to help you determine the value of cc.

Note: We cannot usually treat dydxdfrac{dy}{dx} as a normal fraction, but we can in this case.

A LevelAQAEdexcelOCR

Real-Life Problems

Sometimes, you will be required to form a differential equation based on a real life problem.

Example: The rate at which the size of a goldfish, SS, is increasing is inversely proportional to the current size of the goldfish. Form a differential equation for this scenario.

dSdtdfrac{dS}{dt} is the rate of change of SS (the size of the goldfish) with respect to tt (time). This is inversely proportional to SS. Hence:

dSdt=kSdfrac{dS}{dt}=dfrac{k}{S} for some constant kk.

As we can see from the example, real life differential equations often do not use xx and yy, but other variables. However, they can be solved in the same way.

Real life problems will also sometimes contain extra information to help you determine the constant of integration. If a question involving time provides a “starting condition” as this extra information, this is the value of the parameter when t=0t=0.

You may also be asked to list limitations of modelling a real life problem with a differential equation. These could include:

  • Not enough information (if no information to determine the value of constants is provided)
  • The model could break down at very large or very small values.
  • The appropriateness of the model (for example a continuous variable to monitor a population which is discrete would be a drawback).
  • Any other things that have not been included (will vary based on the question and the context).
A LevelAQAEdexcelOCR
A LevelAQAEdexcelOCR

Example 1: Differential Equations

Find the solution to dydx=24y2sin(x)dfrac{dy}{dx}=24y^{2}sin(x).

[2 marks]

dydx=24y2sin(x)dfrac{dy}{dx}=24y^{2}sin(x)

124y2dydx=sin(x)dfrac{1}{24y^{2}}dfrac{dy}{dx}=sin(x)

124y2dy=sin(x)dxdfrac{1}{24}y^{-2}dy=sin(x)dx

124y2dy=sin(x)dxintdfrac{1}{24}y^{-2}dy=int sin(x)dx

124y1=cos(x)+c-dfrac{1}{24}y^{-1}=-cos(x)+c

124y=cos(x)+cdfrac{1}{24y}=cos(x)+c

124(cos(x)+c)=ydfrac{1}{24(cos(x)+c)}=y

y=124cos(x)+cy=dfrac{1}{24cos(x)+c}

Note: Since cc is an arbitrary constant, multiplication by 2424 does not change that it is an arbitrary constant, so we can still just write +c+c.

A LevelAQAEdexcelOCR

Example 2: Real-Life Problems

The population PP of a herd of sheep increases according to dPdt=0.2Pdfrac{dP}{dt}=0.2P where tt is in years. There are 1515 sheep at t=0t=0. Find PP in terms of tt.

[3 marks]

dPdt=0.2Pdfrac{dP}{dt}=0.2P

1PdPdt=0.2dfrac{1}{P}dfrac{dP}{dt}=0.2

1PdP=0.2dtdfrac{1}{P}dP=0.2dt

1PdP=0.2dtintdfrac{1}{P}dP=int0.2dt

ln(P)=0.2t+cln(P)=0.2t+c

P=e0.2t+cP=e^{0.2t+c}

P=ece0.2tP=e^{c}e^{0.2t}

Since cc is a constant, ece^{c} is a constant, which we commonly call AA.

P=Ae0.2tP=Ae^{0.2t}

At t=0t=0, P=15P=15

15=Ae0.2×015=Ae^{0.2times0}

15=Ae015=Ae^{0}

A=15A=15

P=15e0.2tP=15e^{0.2t}

A LevelAQAEdexcelOCR

Differential Equations Example Questions

Question 1: Solve dydx=4cos(x)eydfrac{dy}{dx}=4cos(x)e^{y}

[2 marks]

A Level AQAEdexcelOCR

dydx=4cos(x)eydfrac{dy}{dx}=4cos(x)e^{y}

 

eydydx=4cos(x)e^{-y}dfrac{dy}{dx}=4cos(x)

 

eydy=4cos(x)dxe^{-y}dy=4cos(x)dx

 

eydy=4cos(x)dxbegin{aligned}int e^{-y}dy=int4cos(x)dxend{aligned}

 

ey=4sin(x)+c-e^{-y}=4sin(x)+c

 

ey=4sin(x)+ce^{-y}=-4sin(x)+c

 

y=ln(c4sin(x))-y=ln(c-4sin(x))

 

y=ln(c4sin(x))y=-ln(c-4sin(x))

MME Premium Laptop

Save your answers with

MME Premium

Gold Standard Education

Question 2: Solve dydx=3y34xy3dfrac{dy}{dx}=3y^{3}-4xy^{3}

[3 marks]

A Level AQAEdexcelOCR

dydx=3y34xy3dfrac{dy}{dx}=3y^{3}-4xy^{3}

 

dydx=y3(34x)dfrac{dy}{dx}=y^{3}(3-4x)

 

1y3dydx=34xdfrac{1}{y^{3}}dfrac{dy}{dx}=3-4x

 

y3dy=(34x)dxy^{-3}dy=left( 3-4xright) dx

 

y3dy=(34x)dxbegin{aligned}int y^{-3}dy=intleft( 3-4xright) dxend{aligned}

 

12y2=3x2x2+c-dfrac{1}{2}y^{-2}=3x-2x^{2}+c

 

12y2=2x23x+cdfrac{1}{2y^{2}}=2x^{2}-3x+c

 

12(2x23x+c)=y2dfrac{1}{2(2x^{2}-3x+c)}=y^{2}

 

y2=14x26x+cy^{2}=dfrac{1}{4x^{2}-6x+c}

 

y=14x26x+cy=dfrac{1}{sqrt{4x^{2}-6x+c}}

MME Premium Laptop

Save your answers with

MME Premium

Gold Standard Education

Question 3: A company advertises their soft drinks on the sides of bus stops in London. They believe that the number of sales NN increases with the number of advertisments aa, according to dNda=0.05Ndfrac{dN}{da}=0.05N. Before the company started advertising on bus stops, they had had 10001000 sales. Find NN in terms of aa.

[3 marks]

A Level AQAEdexcelOCR

dNda=0.05Ndfrac{dN}{da}=0.05N

 

1NdNda=0.05dfrac{1}{N}dfrac{dN}{da}=0.05

 

1NdN=0.05dadfrac{1}{N}dN=0.05da

 

1NdN=0.05dabegin{aligned}intdfrac{1}{N}dN=int0.05daend{aligned}

 

ln(N)=0.05a+cln(N)=0.05a+c

 

N=e0.05a+cN=e^{0.05a+c}

 

N=ece0.05aN=e^{c}e^{0.05a}

 

N=Ae0.05aN=Ae^{0.05a}

 

At a=0a=0, N=1000N=1000

 

1000=Ae0.05×01000=Ae^{0.05times0}

 

1000=Ae01000=Ae^{0}

 

A=1000A=1000

 

N=1000e0.05aN=1000e^{0.05a}

MME Premium Laptop

Save your answers with

MME Premium

Gold Standard Education

Question 4: A colony of bacteria in a petri dish increase in population in direct proportion to the current population. Given that at time 00 there is 11 bacterium, and at time 99 there are 6868 bacteria, find the population as a function of time.

[4 marks]

A Level AQAEdexcelOCR

Call population PP and time tt.

 

dPdtPdfrac{dP}{dt}propto P

 

dPdt=kPdfrac{dP}{dt}=kP

 

1PdPdt=kdfrac{1}{P}dfrac{dP}{dt}=k

 

1PdP=kdtdfrac{1}{P}dP=kdt

 

1PdP=kdtintdfrac{1}{P}dP=int kdt

 

ln(P)=kt+cln(P)=kt+c

 

P=ekt+cP=e^{kt+c}

 

P=ecektP=e^{c}e^{kt}

 

P=AektP=Ae^{kt}

 

At t=0t=0, P=1P=1

 

1=Aek×01=Ae^{ktimes0}

 

1=Ae01=Ae^{0}

 

A=1A=1

 

P=ektP=e^{kt}

 

At t=9t=9, P=68P=68

 

68=e9k68=e^{9k}

 

9k=ln(68)9k=ln(68)

 

k=ln(68)9k=dfrac{ln(68)}{9}

 

P=eln(68)9tP=e^{frac{ln(68)}{9}t}

MME Premium Laptop

Save your answers with

MME Premium

Gold Standard Education

Additional Resources

Site Logo

Exam Tips Cheat Sheet

A Level
Site Logo

Formula Booklet

A Level

Specification Points Covered

G6 – Construct simple differential equations in pure mathematics and in context
H7 – Evaluate the analytical solution of simple first order differential equations with separable variables, including finding particular solutions
H8 – Interpret the solution of a differential equation in the context of solving a problem, including identifying limitations of the solution; includes links to kinematics