Equation of circle (standard form)

Equation of a circle in standard form.

Equation of a circle which is centered at origin (0,0), with radius r, is given in standard form as:

\dpi{120} x^{2}+y^{2}=r^{2}

Above equation can also be obtained using distance formula between points (0,0) and (x,y) . Distance between these two points is ‘r’

Equation of a circle in center-radius form is given as:

Equation of a circle with center (h,k) and radius r is written in standard form as:

\dpi{120} \left ( x-h \right )^{2}+\left ( y-k \right )^{2}=r^{2}

Lets work on some problems based on circle:

 

Write the equation of a circle with center (-1,2) and radius as 5.

Here we have center (h,k) as (-1,2) and radius r= 5.

Now plugin these values into standard center -radius form of circle.

\dpi{120} \left ( x-h \right )^{2}+\left ( y-k \right )^{2}=r^{2}

\dpi{120} \left ( x- -1 \right )^{2}+\left ( y-2 \right )^{2}=5^{2}

\dpi{120} \left ( x+1 \right )^{2}+\left ( y-2 \right )^{2}=25

To get the general form of circle, we just need to expand the squares

\dpi{120} x^{2}+2x+1 +y^{2}-4y+4 =25

\dpi{120} x^{2}+2x +y^{2}-4y+5 =25

 

How do you find the equation of a circle with center at the origin and passing through (-2, -3)?

Since  the circle is centered at origin so  we have center (h,k) as (0,0).

Now plugin given point  (-2,-3) as (x,y)  and (0,0) as center (h,k) into standard form.

\dpi{120} \left ( x-h \right )^{2}+\left ( y-k \right )^{2}=r^{2}

\dpi{120} \left ( -2-0 \right )^{2}+\left ( -3-0 \right )^{2}=r^{2}

\dpi{120} \left ( -2 \right )^{2}+\left ( -3 \right )^{2}=r^{2}

\dpi{120} 4+9=r^{2}

\dpi{120} 13=r^{2}

Finally , we can write circle equation as,

\dpi{120} x^{2}+y^{2}= 13

 

State the coordinates of center and  measure of radius for the circle whose equation is given as {\color{Red} \left ( x-2 \right )^{2}+\left ( y+3 \right )^{2}=9}

Rewriting the given equation as , \left ( x-2 \right )^{2}+\left ( y--3 \right )^{2}=9

Comparing the given circle equation with standard form \dpi{120} \left ( x-h \right )^{2}+\left ( y-k \right )^{2}=r^{2}

we get  h = 2

k = -3

and  r^{2}=9

r=\pm \sqrt{9}

r = 3 , as radius measure can’t be negative so we drop negative sign and get  r= 3

Therefore, the center of given circle is (2,-3) and radius = 3

 

Find equation of a circle with the  diameter that has end points at (0,1) and (2,5).

We know that mid point of diameter is the center of circle. So first we find center of circle using mid point formula.

(h,k) = \left ( \frac{x_{1}+x{_{2}}}{2},\frac{y_{1}+y_{2}}{2} \right )

(h,k) = \left ( \frac{0+2}{2},\frac{1+5}{2} \right )

(h,k) = (1,3)

Next step is to find radius which can be found two ways,

firstly, using distance formula on end points of diameter and making it half  and

secondly , using distance formula on center and any end point of diameter.

Since second way is shorter so lets use this way.

Using distance formula on center (1,3) and end point (0,1) which is easier to use out of these two end points.

D=\sqrt{(x_{1}-x_{2})^{2}+(y_{1}-y_{2})^{2}}

D=\sqrt{(1-0)^{2}+(3-1)^{2}}

D=\sqrt{(1)^{2}+(2)^{2}}

D=\sqrt{1+4}= \sqrt{5}

Since distance D is the radius r, we can plugin coordinates of center (h,k) and radius r into standard form

\dpi{120} \left ( x-h \right )^{2}+\left ( y-k \right )^{2}=r^{2}

\dpi{120} \left ( x-1 \right )^{2}+\left ( y-3 \right )^{2}=(\sqrt{5})^{2}

\dpi{120} \left ( x-1 \right )^{2}+\left ( y-3 \right )^{2}=5

 

 

 

Two boats leave the same dock

Two boats leave the same dock at the same time, one travelling due west at 9 miles per hour and the other due north at 15 miles per hour. How many miles apart are the boats after three hours?

Solution: To get the answer of this question , it would be better to sketch it first. Use the fact that 4 directions are perpendicular to each other.

Step 1 : Find distances travelled by boats using the given rates. These distances are the two legs  of right triangle.

Distance = speed * time

First leg = 15 *3 = 45 miles

Second leg= 9*3= 27 miles

Using Pythagorean for  this right triangle, we find the longest side.

H^{2}=(45)^{2}+(27)^{2}

H^{2}=2754

H=\sqrt{2754}

H= 52.4785… ≈ 52.48 miles

After 3 hours , boats are 52.48 miles apart.

 

Inscribed Angle problems

Inscribed angle

An inscribed angle has a vertex on a circle and sides (arms)  which are the chords of circle.

An intercepted arc has end points on the sides of an inscribed angle and lies in the interior of inscribed angle.

In the above figure ∠QRS is the inscribed angle and  arc QS is the intercepted arc.

Inscribed Angle theorem:

If an angle is inscribed in a circle, then the measure of angle equals one half the measure of intercepted arc.

\angle QRS = \frac{1}{2} \times m \widehat{QS}

 

Here are some problems on inscribed angle theorem:

 

In the figure below ΔABC is inscribed in the circle. Find the measure of arc AC.

Solution:

Here ∠ABC is the inscribed angle and arc AC is the intercepted arc.

That means to find arc AC, we need to find ∠ABC first.

∠ABC + 80+45 = 180          [    using triangle’s angle sum property   ]

∠ABC  = 180-125

∠ABC  = 55

\angle ABC = \frac{1}{2} \times m \widehat{AC}         [  Using inscribed angle theorem  ]

55 = \frac{1}{2} \times m \widehat{AC}

2\times 55 = m \widehat{AC}

110 = m \widehat{AC}

Therefore measure of arc AC is 110º.

 

In the figure below, points A, B, C and D are on the circle. The measure of arc AB is 65 and measure of arc BC is 70 . Find measure of angle ADC.

Solution: We know that

\angle ADB = \frac{1}{2} \times m \widehat{AB}                    [ using inscribed angle theorem  ]

\angle ADB = \frac{1}{2} \times 65 = 32.5

Similarly,

\angle BDC = \frac{1}{2} \times m \widehat{BC}

\angle BDC = \frac{1}{2} \times 70 = 35

\angle ADC= \angle ADB +\angle BDC

\angle ADC= 32.5 +35 = 67.5

 

Theorem : The angle at the centre is twice the angle at the circumference subtended by the same arc.

 

In the figure given below find angle FHG.

Solution:  We know that the angle at the centre is twice the angle at the circumference subtended by the same arc. Therefore to find angle FHG we need to first find angle at the center intercepted by arc GF.

\angle HEG +\angle HEF + \angle FEG = 360              [ complete angle around a point is 360 ]

153 + 125 + \angle FEG = 360

\angle FEG = 360-278 = 82

∠FEG at the center would be twice of ∠FHG at the circumference as they both are subtended by same arc GF.

\angle FEG = 2\angle FHG

82 = 2\angle FHG

41 = \angle FHG

\angle FHG=41^{\circ}

 

Theorem : If two inscribed angles of a circle intercept the same arc , then the angles are congruent.

 

In the following figure , find angle D and C

Solution:  Since angle D and C both are intercepted by same arc TS , so their measures would be equal.

3x-5=2x+15

3x-2x=15+5

x= 20

Angle D = 3x-5 = 3(20)-5 = 55

Angle C = 2x+15 = 2(20)+15 = 55

Therefore measure of  each angle C and D is 55.

Thales Theorem

This is a special  case of inscribed angle theorem, an important theorem of circle geometry. This theorem can be stated in  any of the following ways:

If three points A, B, and C lie on the circumference of a circle, where the line AC is the diameter of the circle, then the angle ABC is a right angle (90°)

OR

The diameter of a circle always subtends a right angle to any point on the circle.

OR

An inscribed angle of a triangle intercepts a diameter or semicircle if and only if  the angle is a right angle.

Here is an interesting and very easy proof of Thales theorem:

To prove this we use following two facts:

– Sum of all angles of a triangle is 180.

– Base angles of an isosceles triangle are equal.

 

In this circle  we have :

\overline{OA}=\overline{OB}=\overline{OC}                     reason being  all are radii of same circle.

\angle OAB=\angle OBA =\alpha               reason being base angles of isosceles triangle OAB

Similarly ,

\angle OBC=\angle OCB =\beta              reason being base angles of isosceles triangle OBC

Also, \angle ABC=\alpha +\beta

Since sum of all angles of a triangle is 180 , so

\angle ABC+\angle BCA +\angle CAB = 180

(\alpha +\beta )+\beta +\alpha = 180

2(\alpha +\beta )= 180

(\alpha +\beta )= 90

\therefore \angle ABC= 90^{\circ}

 

Here are some examples on Thales Theorem:

1. In the given circle FH is a diameter passing through its center J. Find x and angle HFG.

Since FH is a diameter so using Thales theorem, FGH would be a right triangle with right angle at point G.

Therefore we can apply triangle’s angle sum property,

\angle HFG +\angle FGH +\angle FHG = 180

4x+2 +90 +9x-3 = 180

4x+9x+2-3+90 = 180

13x+89 = 180

13x = 91

x = 7

\therefore \angle HFG = 4x+2 = 4(7)+2= 30

\angle HFG = 30^{\circ}

 

2. In the given circle, find the measure of angle PQR . Assume point R is the center of the circle.

Since R is given center of circle, PS would be the diameter of the circle.

Therefore applying Thales theorem for triangle PQS, angle PQS would be a right angle.

\angle PQS=90

Since RS = RQ  (radii of same circle) , base angles of isosceles triangle RQS would be equal.

\angle RQS=\angle RSQ = 24

Also

\angle PQS = \angle PQR +\angle RQS

90 = \angle PQR + 24

66 = \angle PQR

Hence the measure of angle PQR = 66

 

3. In the circle shown, BC is a diameter with center A.  Given m∠ABE = 26 and  m∠ADB=18     

   Find  a)  m∠DAB   b)  m∠BAE    c) m∠DAE

Since A is the center of circle, so AB=AD=AE , as all are radii of same circle.

Therefore ABD is an isosceles triangle and hence base angles would be equal.

\angle ADB=\angle ABD = 18

Using triangle’s angle sum property,

\angle ABD +\angle ADB +\angle DAB = 180

18+18 +\angle DAB = 180

\angle DAB = 180-(18+18)

\angle DAB = 144^{\circ}

b)  Using  exactly same concept for triangle ABE,  we have

\angle AEB=\angle ABE = 26

Using triangle’s angle sum property,

\angle ABE +\angle AEB +\angle BAE = 180

26+26 +\angle BAE = 180

\angle BAE = 180-(26+26)

\angle BAE = 128^{\circ}

c) We see that three angles make a complete angle of 360 at point A.

\angle DAB +\angle BAE +\angle DAE = 360

144 +128 +\angle DAE = 360

\angle DAE = 360-(144 +128)

\angle DAE = 88^{\circ}

 

4. In the figure below, O is the center of circle and AD is a diameter.

a. Find 𝑚∠𝐴OB.
b. If 𝑚∠BOC ∶ 𝑚∠𝐶OD = 6:5 , what is 𝑚∠𝐵OC?

Since  OB = OD   being radii of same circle,

\therefore \angle OBD = \angle ODB    as base angles of isoscele triangles are equal.

\therefore \angle OBD = \angle ODB=24

Using exterior angle property of triangles, exterior angle is equal to sum of opposite interior angles.

\therefore ext\angle AOB = 24+24= 48

b.

\angle BOD = 180-48= 132

\angle BOD= \angle BOC+\angle COD

These two angles are given in the ratio  6 : 5

\therefore 6x+5x= 132

11x=  132

x= 12

\angle BOC = 6x = 6*12 = 72

\angle BOC = 72^{\circ}

 

 

 

 

 

 

In the given circle, suppose arcRQT = 106 and m

In the given circle, suppose  {\color{Red} m\widehat{RQT}=106^{\circ}}   and  {\color{Red} m\angle QRS = 73^{\circ}}   Find the following.

Solution:

We know that,

Measure of inscribed angle = 1/2 × measure of intercepted arc

\therefore \angle RST = \frac{1}{2}\times \widehat{RQT}

\therefore \angle RST = \frac{1}{2}\times 106 = 53^{\circ}

Now look at the definition of cyclic quadrilateral.

cyclic quadrilateral is a four sided shape that can be inscribed into a circle. Each vertex of the quadrilateral lies on the circumference of the circle and is connected by four chords.

Therefore given quadrilateral  STQR is a cyclic quadrilateral.

And using the property of cyclic quadrilateral  ‘The opposite angles of a cyclic quadrilateral have a total of

we can easily find the remaining two angles.

\angle RST +\angle RQT =180

53 +\angle RQT =180

\angle RQT =180-53=127^{\circ}

Similarly

\angle QTS =180-73=107^{\circ}

\mathbf{m\angle RQT =127^{\circ}}

\mathbf{m\angle QTS =107^{\circ}}

Circles: Central angle, Chords and Arcs

In the given circle , QS is a diameter. Suppose  \dpi{120} {\color{Red} m \widehat{QR}= 44^{\circ}}  and \dpi{120} {\color{Red} m\angle QRT = 57^{\circ}} . Find the following.

Solution:  We know that,

Measure of inscribed angle = 1/2 × measure of intercepted arc

\therefore \angle QSR = \frac{1}{2}\times \widehat{QR}

\angle QSR = \frac{1}{2}\times 44= 22^{\circ}

Also \angle QRT = \frac{1}{2}\times \widehat{QT}

57 = \frac{1}{2}\times \widehat{QT}

\widehat{QT}= 57\times 2=114^{\circ}

Since QS is given diameter of the circle , Therefore arc QTS is a semicircle measuring 180.

\widehat{ST}=\widehat{QTS}-\widehat{QT}

\widehat{ST}=180-114=66

Again using Inscribed angle and intercepted arc theorem, we can find angle \angle SRT=\frac{1}{2}\times \widehat{ST}

\angle SRT=\frac{1}{2}\times66 =33^{\circ}

\angle SRQ=57+33=90^{\circ}

Using  angle sum property of triangles, we know that sum of all angles of a triangle is 180

So we can easilt find third missing angle.

\angle RQS=180-(22+90)=68^{\circ}

\mathbf{\angle SRT = 33^{\circ}}

\mathbf{\angle RQS = 68^{\circ}}

 

 

 

Finding expressions for sine and cosine graphs.

Determine the formula for cosine function graphed below.

 

Solution: First we write general equation of cosine function.

Y = A cos(B(x-D))+C

First we draw a mid line ( dashed line) passing horizontally  through the middle of this graph and follow  the procedure given below.

 

  1. look at the  distance of  max or min point of this graph from this midline. This will give you  amplitude  A= 4
  2. Look at the distance of mid line (dashed one) from x axis. This gives you vertical shift C =4
  3. Look at the period which is the distance between either two consecutive max points or two min points. Then use formula B=\frac{2\pi }{period}
  4. Here  distance between two max points (period) = 7-1= 6.
  5. B=\frac{2\pi }{6} = \frac{\pi }{3}
  6. Phase shift is the horz shift. Here graph is shifted to right horizontally by 1 unit  so D=1
  7. Finally plugin all the values of A,B,C and D into general cosine  fucntion and we get
  8. Y = 4 cos(\frac{\pi }{3}(x-1))+4

 

 

Solved worksheets for AP calculus

Homogeneous Differential Equations

What is homogeneous differential equation?

If a first order, first degree differential equation is expressible in the form

\dpi{120} \mathbf{\frac{dy}{dx}=\frac{f(x,y)}{g(x,y)}}

where f(x,y) and g(x,y) are homogeneous functions of the same degree, then  it is called a homogeneous differential equation.

Such type of equations can be reduced to variable separable form by some suitable substitution  like y=vx.

What is homogeneous function?

A function f(x,y) is called a homogeneous function of degree n if

\dpi{120} \mathbf{f(\lambda x,\lambda y)=\lambda ^{n}f(x,y)}

For example ,

\dpi{120} f(x,y)=x^{2}-y^{2}+5xy

is a homogeneous function of degree 2 because

\dpi{120} f(\lambda x,\lambda y)=\lambda ^{2}x^{2}-\lambda ^{2}y^{2}+5\lambda x\lambda y=\lambda ^{2}f(x,y)

 

Example1: Solve the differential equation    (x+y)dy+(x-y)dx=0  given that y=1 when x=1.

Solution:  (x+y)dy+(x-y)dx=0

\frac{dy}{dx}=\frac{y-x}{x+y}

Here both numerator y-x and denominator x+y  are functions of degree 1 , therefore this is homogeneous differential equation.

Using substitution,  y=vx

\frac{dy}{dx}=v+x\frac{dv}{dx}

Original  DE get changed  to,

v+x\frac{dv}{dx}=\frac{vx-x}{x+vx}

Dividing numerator and denominator with x and subtracting v we get,

x\frac{dv}{dx}=\frac{v-1}{1+v}-v

x\frac{dv}{dx}=\frac{v-1-v^{2}-v}{1+v}

x\frac{dv}{dx}=\frac{-(v^{2}+1)}{1+v}

\frac{v+1}{v^{2}+1}dv =\frac{-dx}{x}

\int \frac{v+1}{v^{2}+1}dv =\int \frac{-dx}{x}

\int \frac{v}{v^{2}+1}dv +\int \frac{1}{v^{2}+1}dv=-\int \frac{dx}{x}

\frac{1}{2}\int \frac{2v}{v^{2}+1}dv +\int \frac{1}{v^{2}+1}dv=-\int \frac{dx}{x}

\frac{1}{2}ln(v^{2}+1)+tan^{-1}(v)=-ln|x|+C

ln(v^{2}+1)+2ln|x|+2tan^{-1}(v)=2C

ln(v^{2}+1)+lnx^{2}+2tan^{-1}(v)=2C

ln[(v^{2}+1)x^{2}]+2tan^{-1}(v)=2C

Plugin back v as y/x, we get expression as

ln[(\frac{y^{2}}{x^{2}}+1)x^{2}]+2tan^{-1}(\frac{y}{x})= K where K=2C

ln(y^{2}+x^{2})+2tan^{-1}(\frac{y}{x})= K

Using given condition that y=1 when x=1 we get,

ln(1+1)+2tan^{-1}(1)= K

ln(2)+2(\frac{\pi }{4})= K

ln(2)+\frac{\pi }{2}= K

Using value of constant K we get the solution as,

ln(y^{2}+x^{2})+2tan^{-1}(\frac{y}{x})= ln(2)+\frac{\pi }{2}

 

Example2: Solve the following differential equation.

{\color{Red} (4 x^{4}+x^{3}y+y^{4})dx-x^{4}dy=0}

Solution:

(4 x^{4}+x^{3}y+y^{4})dx=x^{4}dy

(4 x^{4}+x^{3}y+y^{4})dx=x^{4}dy

\frac{dy}{dx}=\frac{(4 x^{4}+x^{3}y+y^{4})}{x^{4}}

Substitute y=vx   and we get the above equation transformed as,

v+x\frac{dv}{dx}=\frac{(4 x^{4}+x^{4}v+v^{4}x^{4})}{x^{4}}

v+x\frac{dv}{dx}= 4+v+v^{4}

x\frac{dv}{dx}= 4+v^{4}

\frac{dv}{4+v^{4}}= \frac{dx}{x}

\int \frac{dv}{4+v^{4}}= \int \frac{dx}{x}

\int \frac{dv}{2^{2}+(v^{2})^{2}}= \int \frac{dx}{x}

\frac{1}{2}tan^{-1}\left ( \frac{v^{2}}{2} \right )=ln|x|+C

Plugin back v=y/x

\frac{1}{2}tan^{-1}\left ( \frac{y^{2}}{2x^{2}} \right )=ln|x|+C

 

Example3: Solve the following homogeneous differential equation

{\color{Red} xsin\left ( \frac{y}{x} \right )\frac{dy}{dx}=ysin\left ( \frac{y}{x} \right )+x}

Solution:

\frac{dy}{dx}=\frac{ysin\left ( \frac{y}{x} \right )+x}{ x sin\left ( \frac{y}{x} \right )}

Substitute y=vx  and we get the above equation transformed as,

v+x\frac{dv}{dx}=\frac{(vx) sin\left ( \frac{vx}{x} \right )+x}{ x sin\left ( \frac{vx}{x} \right )}

v+x\frac{dv}{dx}=\frac{(vx) sin\left ( v\right )+x}{ x sin\left (v \right )}

v+x\frac{dv}{dx}=\frac{ x(v sin\left ( v\right )+1)}{ x sin\left (v \right )}

v+x\frac{dv}{dx}=\frac{ v sin\left ( v\right )+1}{ sin\left (v \right )}

x\frac{dv}{dx}=\frac{ v sin\left ( v\right )+1}{ sin\left (v \right )}-v

x\frac{dv}{dx}=\frac{ v sin\left ( v\right )+1-vsin(v)}{ sin\left (v \right )}

x\frac{dv}{dx}=\frac{ 1}{ sin\left (v \right )}

sin(v)dv= \frac{dx}{x}

\int sin(v)dv= \int \frac{dx}{x}

-cos(v) = ln|x|+C

cos(y/x)=-ln|x|-C

 

Sometimes a homogeneous differential equation is  expressible in the form,

\dpi{120} \frac{dx}{dy}=\frac{f(x,y)}{g(x,y)}

In such a situation, we substitute x=vy  and proceed same way .

 

Example4: Solve

\dpi{120} {\color{Red} 2ye^{\frac{x}{y}}dx +(y-2xe^{\frac{x}{y}})dy=0}

Solution:

\frac{dx}{dy}=\frac{2xe\frac{x}{y}-y}{2ye^{\frac{x}{y}}}

Let x=vy, then

\frac{dx}{dy}=v+y\frac{dv}{dy}

And the given DE can be rewritten as,

v+y\frac{dv}{dy}=\frac{2vye^{v}-y}{2ye^{v}}

y\frac{dv}{dy}=\frac{2ve^{v}-1}{2e^{v}}-v

y\frac{dv}{dy}=\frac{2ve^{v}-1-2ve^{v}}{2e^{v}}

y\frac{dv}{dy}=\frac{-1}{2e^{v}}

2e^{v}dv=-\frac{1}{y}dy

\int 2e^{v}dv=-\int \frac{1}{y}dy

2e^{v}=- \ln (y)+lnC

2e^{\frac{x}{y}}=ln|\frac{c}{y}|

 

 

 

 

Practice problems:

Solve the following homogeneous differential equations.

1. 2xy\frac{dy}{dx}=x^{2}+y^{2}

2.  xyln\left (\frac{x}{y} \right )dx+\left ( y^{2}-x^{2} ln\left ( \frac{x}{y} \right )\right )dy=0

3.  xdy-ydx=\sqrt{x^{2}+y^{2}}dx

Solve the following initial value problem

4. x(x^{2}+3y^{2})dx+y(y^{2}+3x^{2})dy=0 ;y(1)=1

 

 

 

 

 

 

Answers:

1. x=c(x^{2}-y^{2})

2. \frac{x^{2}}{y^{2}}\left ( ln\left ( \frac{x}{y}\right )-\frac{1}{2} \right )+lny^{2}=c

3. {y+\sqrt{x^{2}+y^{2}}}= cx^{2}

4. x^{4}+6x^{2}y^{2}+y^{4}=8

First order Linear Differential Equations

What is first order Linear differential Equation?

A differential equation is linear if the dependent variable ‘y’ and its derivative appear only in first degree. The general form of  a linear differential equation of first order is,

\dpi{120} \mathbf{\frac{dy}{dx}+Py =Q}

Where P and Q are  functions of x(or constants).

For example,

\dpi{120} \frac{dy}{dx}+2y=x^{3}

\dpi{120} \frac{dy}{dx}+2y= sinx

are linear differential equations.

How to solve linear differential equations?

This type of differential equations are solved when they are  multiplied  by a factor, called integration factor because by multiplication of this factor the left hand side becomes exact differential of some function.

Integrating factor is given as,

\dpi{120} I.F = e^{\int pdx}

Its solution is written as,

\dpi{120} \mathbf{y (I.F)= \int Q (I.F) dx +C}

Following examples illustrates the procedure.

 

Example1:Solve the following Linear differential equation.

\dpi{120} {\color{Red} \frac{dy}{dx}-\frac{y}{x}=2x^{2}, x>0}

Solution:

\dpi{120} \frac{dy}{dx}+\left (\frac{-1}{x} \right )y =2x^{2}

here P= -1/x  and Q=2x^2

\dpi{120} I.F = e^{\int pdx}=e^{\int \left ( \frac{-1}{x} \right )dx}

\dpi{120} I.F =e^{-lnx}=e^{lnx^{-1}}=x^{-1}=\frac{1}{x}

Plugin these values into the formula

y (I.F)= \int Q (I.F) dx +C

y (\frac{1}{x})= \int 2x^{2} \left (\frac{1}{x} \right ) dx +C

y (\frac{1}{x})= \int 2x dx +C

y (\frac{1}{x})= x^{2} +C

y= x^{3} +Cx

 

Example2: Solve the following initial value problem

{\color{Red} \frac{dy}{dx}+\frac{2x}{x^{2}+1}y=\frac{1}{(x^{2}+1)^{2}} ;y(0)=0}

Solution: This is a linear differential equation where,

P=\frac{2x}{x^{2}+1} ; Q=\frac{1}{(x^{2}+1)^{2}}

Integrating factor

\dpi{120} I.F = e^{\int pdx}=e^{\int \left ( \frac{2x}{x^{2}+1} \right )dx}

\dpi{120} I.F = e^{ln(x^{2}+1)}=x^{2}+1

Using formula,

y (I.F)= \int Q (I.F) dx +C

y (x^{2}+1)= \int \frac{1}{(x^{2}+1)^{2}}\left (x^{2}+1\right )dx +C

y (x^{2}+1)= \int \frac{1}{(x^{2}+1)}dx +C

y (x^{2}+1)= tan^{-1}(x) +C

Using initial condition y(0)=0

0(0+1)=tan^-1(0)+C

0=C

y (x^{2}+1)= tan^{-1}(x)

y = \frac{tan^{-1}(x)}{x^{2}+1}

Differential Equations reducible to linear form:

Some differential equations are not separable  or linear but they can be transformed to linear form after a suitable substitution. Here is an example.

Example3 : Solve the following differential equation.

{\color{Red} 2xe^{2y}\frac{dy}{dx}=3x^{4}+e^{2y}}

Solution:  This equation seems complex  to solve but after reducing  it would be an easy linear differential equation.

Let u=e^2y

\frac{du}{dx}=2e^{2y}\frac{dy}{dx}

Using  this we get the original differential equation transformed to

x\frac{du}{dx}= 3x^{4}+u

rewriting this  as general form of linear differential equation

\frac{du}{dx}+\frac{-1}{x}u= 3x^{4}

P=\frac{-1}{x}; Q=3x^{4}

\dpi{120} I.F = e^{\int pdx}=e^{\int \left ( \frac{-1}{x} \right )dx}

\dpi{120} I.F =e^{-lnx}=e^{lnx^{-1}}=x^{-1}=\frac{1}{x}

Plugin these values into the formula

y (I.F)= \int Q (I.F) dx +C

u(\frac{1}{x})= \int 3x^{3} \left (\frac{1}{x} \right ) dx +C

u (\frac{1}{x})= \int 3x^{2} dx +C

u (\frac{1}{x})= x^{3} +C

Plugin back u as e^2y

e^{2y}= x^{4} +Cx

y=\frac{1}{2}ln(x^{4}+Cx)

When y is independent variable instead of x.

Example4:Solve the following differential equation.

{\color{Red} ydx-(x+2y^{2})dy=0}

Solution:

ydx=(x+2y^{2})dy

\frac{dx}{dy}=\frac{(x+2y^{2})}{y}

\frac{dx}{dy}=\frac{x}{y}+2y

\frac{dx}{dy}+\frac{-1}{y}x=2y

here P=-1/y  and Q= 2y

\dpi{120} I.F = e^{\int pdy}=e^{\int \left ( \frac{-1}{y} \right )dy}

\dpi{120} I.F =e^{-lny}=e^{lny^{-1}}=y^{-1}=\frac{1}{y}

Plugin these values into the formula

x (I.F)= \int Q (I.F) dy +C

x(\frac{1}{y})= \int 2y \left (\frac{1}{y} \right ) dy +C

x (\frac{1}{y})= \int 2 dy +C

x (\frac{1}{y})= 2y +C

x=y(2y+C)

 

Example5:A tank initially contains 100 gal of water in which is dissolved 2 lb of salt. Salt-water solution containing 1 lb of salt for every 4 gal of solution enters the tank at a rate of 5 gal per minute. Solution leaves the tank at the same rate, allowing for a constant
solution volume in the tank.

a)Use an analytic method to determine the eventual salt content in the tank.

b) Find the concentration of salt when t —>∞.  Check and see how reasonable is your answer.

Solution: The key idea to solve this kind of differential equations is that ‘The rate of change of salt concentration in a tank is equal to the rate at which salt enters the tank minus the rate at which  salt leaves the tank’.

let x(t) represents the pounds of salt present in the tank at time t.

Then   dx/dt= rate in- rate out

Rate in:

Concentration of the solution entering the tank=(1/4) lb/gal

Rate at which solution is entering = 5 gal/min

Rate at which salt enters the tank = 1/4 *5 = (5/4) lb/min

Rate out :

Assuming perfect mixing, the concentration of salt in the solution is found by dividing the amount of salt by the volume of solution.

so the concentration of solution leaving the tank = (x/100) lb/gal

Rate at which solution is leaving = 5 gal/min

Rate at which salt leaves the tank= (x/100)*5= 5x/100 =x/20 lb/min

Initially there is 2 lb of salt present in the tank so x(0)=2 lb

So differential equation can be modeled as,

\frac{dx}{dt}=\frac{5}{4}-\frac{1}{20}x ; x(0)=2

\frac{dx}{dt}+\frac{1}{20}x=\frac{5}{4}

here P= 1/20 ,  Q=5/4

\dpi{120} I.F = e^{\int pdt}=e^{\int \left ( \frac{1}{20} \right )dt}

\dpi{120} I.F = e^{ \frac{t}{20} }

Plugin the values into the formula

x (I.F)= \int Q (I.F) dt +C

x (e^{\frac{t}{20}})= \int \frac{5}{4} (e^{\frac{t}{20}}) dt +C

x (e^{\frac{t}{20}})= \frac{5}{4} \left [20(e^{\frac{t}{20}}) \right ] +C

x (e^{\frac{t}{20}})= 25(e^{\frac{t}{20}}) +C

x = 25 +Ce^{\frac{-t}{20}}

Using initial condition x(0)=2,  we get

2 = 25 +Ce^{0}

C=-23

b) Concentration of salt at any time t is given as,

c(t)= x(t)/100

c(t) = \frac{25 -23e^{\frac{-t}{20}}}{100}

Eventual concentration can be found  as,

\lim_{t\rightarrow \infty }c(t) = \lim_{t\rightarrow \infty }\frac{25 -23e^{\frac{-t}{20}}}{100}= \frac{25-0}{100}=\frac{1}{4}  lb/gal

This answer is quite reasonable as the concentration of solution entering the tank is same 0.25 lb/gal

 

 

 

 

 

Practice problems:

Solve the following linear differential equations\

1.(1+x^{2})\frac{dy}{dx}+y=e^{tan^{-1}(x)}

2. \sqrt{1-x^{2}}\frac{dy}{dx}+y=1 ; y(0)=4

3. 2xy\frac{dy}{dx}+2y^{2}= 3x-6          Hint : u=y^2

4.\sqrt{1-y^{2}}dx=(sin^{-1}y-x)dy ; y(0)=0

5. A tank contains 100 gal of pure water. At time zero, sugar-water solution containing 0.2 lb of sugar per gal enters the tank at a rate of 3 gal per minute. Simultaneously, a drain is opened at the bottom of the tank allowing sugar-solution to leave the tank at
3 gal per minute. Assume that the solution in the tank is kept perfectly mixed at all times. Find the amount of sugar present in the tank at time t.

 

 

 

 

 

Answers:

  1. y=tan^{-1}(x)-1 +Ce^{-tan^{-1}(x)}
  2. y=1+3e^{-sin^{-1}(x)}
  3. y^{2}x^{2}=x^{3}-3x^{2}+C
  4.  x-sin^{-1}y+1=e^{sin^{-1}y}: y\in (-1,1)
  5.  S(t)= 20\left (1-e^{\frac{-3t}{100}} \right )