SlideShare a Scribd company logo
The Divergence Theorem of Gauss Using separation of variables to solve the diffusion equation Group 12F Will Maisey, Emily Speed, Rob Lister, Nick Stott
Recap (Heat Equation): The heat equation (a specified type of diffusion equation) is an important partial differential equation which describes the distribution of heat (or variation in temperature) in a given region over time. For a function u(x,y,z,t) of three spatial variables (x,y,z) and the time variable t, the heat equation is; Or equivalently; Where α is a constant.
Guillaume François Antoine, Marquis de l’Hôpital  (1661-1704) Guillaume François Antoine a French mathematician, otherwise known as Guillaume de l’Hôpital, was the first to use the method of separation of variables.  l'Hôpital was born in Paris, France. He initially had planned a military career, but poor eyesight caused him to switch to mathematics. He solved the brachistochrone problem. His name is perhaps best known for the rule for calculating the limiting value of a fraction whose numerator and denominator either both approach zero or both approach infinity, however, he is presumed not to be the discoverer of the rule.
Guillaume François Antoine, Marquis de l’Hôpital  (1661-1704) He is also the author of the first European textbook on differential calculus, l'Analyse des Infiniment Petits pour l'Intelligence des Lignes Courbes.  In 1694 he forged a deal with Johann Bernoulli. The deal was that l'Hôpital paid Bernoulli 300 Francs a year to tell him of his discoveries, which l'Hôpital described in his book. In 1704, after l'Hôpital's death, Bernoulli revealed the deal to the world, claiming that many of the results in l'Hôpital's book were due to him. The widespread story that l'Hôpital tried to get credit for inventing de l'Hôpital's rule is false: he published his book anonymously, acknowledged Bernoulli's help in the introduction, and never claimed to be responsible for the rule.
Separation of Variables: Separation of Variables is a method of solving O.D.Es or P.D.Es, whereby an equation of two variables is ‘separated’ into a product of two equations. This can be split into independent ordinary differential equations which we can solve. u(x,t) X(x) T(t)
Separation of Variables: Once separated and applied to the original equation, the result can be written solely in terms of each variable on either side of the equality sign. This tends to include derivative terms. The only way the equality can hold in terms of different variables is if the two sides are equal to a constant. This is usually denoted λ.  X(x) = T(t) = λ
Separation of Variables: This lambda can then be incorporated into each side to form two separate O.D.E’s. X(x) - λ = 0		 T(t) - λ = 0 The two equations are solved separately. It is important to remember that separation of variables was used at the beginning, and so the two final equations must be written as a product. The final solution is then back in the form u(x,t).
Separation of variables to solve the diffusion equation: The diffusion equation for heat flow is: The question we are posed is: Solving the diffusion equation for temp u(x,t) in a 1d bar with insulated  Ends                                      and initial temperature So we will consider the equation With an example similar to that shown opposite 
Separation of variables to solve the diffusion equation: Solution: We can re-write U(x,t) = X(x)T(t),  x being the space variable [0,L] and t the time variable t ≥ 0 So Given substituting U(x,t) into the heat equation we get: So as for two differential equations to be equal they must both equal the same constant, here that is -λ.
Separation of variables to solve the diffusion equation: So      For the solution to hold we require λ>0 Therefore solving for X we see that: And solving for T we see that: Using our boundary conditions and the fact that we do not require a trivial solution, we can see that: And
Separation of variables to solve the diffusion equation: We can hence see that the general form of U(X,T) is: We can solve for the coefficients, using the initial condition:  to obtain the solution.
Fourier Series: Using Fourier Series, we can determine the coefficients: For n≥1, it would be better solved if we split it into 2 integrals:
Fourier Series: However, first we must determine A0:
Fourier Series: Using the product rule, for the first integral:
Fourier Series: And for the second integral:
Fourier Series: Summing the two together gives us An: So therefore we obtain:
Our Solution: So therefore, we can determine the solution as: The validity of this solution  can be checked using Maple, using a sufficient size for L:
Maple: In order to give a graphical representation, we must give L a Numerical value (so Maple can recognise it as a constant). So say, L = 10, and n ranging from 1 to infinity: Inputting into Maple: We obtain:
Maple: Finally, using the plot function: The following graph is produced: This is the function:  So as f(x)=g(x) as L=10, the solution  is valid.
Thank you for listening

More Related Content

What's hot

Asymptotes and holes 97
Asymptotes and holes 97Asymptotes and holes 97
Asymptotes and holes 97swartzje
 
Lecture co2 math 21-1
Lecture co2 math 21-1 Lecture co2 math 21-1
Lecture co2 math 21-1
Lawrence De Vera
 
Topic 8 (Writing Equations Of A Straight Lines)
Topic 8 (Writing Equations Of A Straight Lines)Topic 8 (Writing Equations Of A Straight Lines)
Topic 8 (Writing Equations Of A Straight Lines)florian Manzanilla
 
X2 T01 09 geometrical representation of complex numbers
X2 T01 09 geometrical representation of complex numbersX2 T01 09 geometrical representation of complex numbers
X2 T01 09 geometrical representation of complex numbersNigel Simmons
 
Solving one step equations
Solving one step equationsSolving one step equations
Solving one step equations
Ita Rodriguez
 
Lab 7 -RAM and ROM, Xilinx, Digelent BASYS experimentor board
Lab 7 -RAM and ROM, Xilinx, Digelent BASYS experimentor boardLab 7 -RAM and ROM, Xilinx, Digelent BASYS experimentor board
Lab 7 -RAM and ROM, Xilinx, Digelent BASYS experimentor board
Katrina Little
 
POWERPOINT (SETS & FUNCTIONS).pdf
POWERPOINT (SETS & FUNCTIONS).pdfPOWERPOINT (SETS & FUNCTIONS).pdf
POWERPOINT (SETS & FUNCTIONS).pdf
MaryAnnBatac1
 
Greatest integer function
Greatest integer functionGreatest integer function
Greatest integer function
Neil MacIntosh
 
Graphing linear equations
Graphing linear equationsGraphing linear equations
Graphing linear equations
mathisthenewcool
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
blaircomp2003
 
Transformations of functions
Transformations of functionsTransformations of functions
Transformations of functions
Victoria Ball
 
Different types of functions
Different types of functionsDifferent types of functions
Different types of functions
Katrina Young
 
Reportaje modelo -El movimiento del 10 de junio de 1971. testimonios
Reportaje modelo -El movimiento del 10 de junio de 1971. testimoniosReportaje modelo -El movimiento del 10 de junio de 1971. testimonios
Reportaje modelo -El movimiento del 10 de junio de 1971. testimonios
Escuela de Periodismo Carlos Septién García
 
Laws of boolean algebra
Laws of boolean algebraLaws of boolean algebra
Laws of boolean algebra
ArunaDevi63
 
Team process report some thoughts
Team process report   some thoughtsTeam process report   some thoughts
Team process report some thoughtsMashego Kelebogile
 
Lesson 8: Basic Differentiation Rules (Section 21 slides)
Lesson 8: Basic Differentiation Rules (Section 21 slides)Lesson 8: Basic Differentiation Rules (Section 21 slides)
Lesson 8: Basic Differentiation Rules (Section 21 slides)Matthew Leingang
 
Conic Sections- Circle, Parabola, Ellipse, Hyperbola
Conic Sections- Circle, Parabola, Ellipse, HyperbolaConic Sections- Circle, Parabola, Ellipse, Hyperbola
Conic Sections- Circle, Parabola, Ellipse, Hyperbola
Naman Kumar
 
Exponential and logarithmic functions
Exponential and logarithmic functionsExponential and logarithmic functions
Exponential and logarithmic functionsNjabulo Nkabinde
 

What's hot (20)

Asymptotes and holes 97
Asymptotes and holes 97Asymptotes and holes 97
Asymptotes and holes 97
 
Lecture co2 math 21-1
Lecture co2 math 21-1 Lecture co2 math 21-1
Lecture co2 math 21-1
 
Topic 8 (Writing Equations Of A Straight Lines)
Topic 8 (Writing Equations Of A Straight Lines)Topic 8 (Writing Equations Of A Straight Lines)
Topic 8 (Writing Equations Of A Straight Lines)
 
X2 T01 09 geometrical representation of complex numbers
X2 T01 09 geometrical representation of complex numbersX2 T01 09 geometrical representation of complex numbers
X2 T01 09 geometrical representation of complex numbers
 
Solving one step equations
Solving one step equationsSolving one step equations
Solving one step equations
 
Lab 7 -RAM and ROM, Xilinx, Digelent BASYS experimentor board
Lab 7 -RAM and ROM, Xilinx, Digelent BASYS experimentor boardLab 7 -RAM and ROM, Xilinx, Digelent BASYS experimentor board
Lab 7 -RAM and ROM, Xilinx, Digelent BASYS experimentor board
 
Conic sections
Conic sectionsConic sections
Conic sections
 
POWERPOINT (SETS & FUNCTIONS).pdf
POWERPOINT (SETS & FUNCTIONS).pdfPOWERPOINT (SETS & FUNCTIONS).pdf
POWERPOINT (SETS & FUNCTIONS).pdf
 
MEAN VALUE THEOREM
MEAN VALUE THEOREMMEAN VALUE THEOREM
MEAN VALUE THEOREM
 
Greatest integer function
Greatest integer functionGreatest integer function
Greatest integer function
 
Graphing linear equations
Graphing linear equationsGraphing linear equations
Graphing linear equations
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
Transformations of functions
Transformations of functionsTransformations of functions
Transformations of functions
 
Different types of functions
Different types of functionsDifferent types of functions
Different types of functions
 
Reportaje modelo -El movimiento del 10 de junio de 1971. testimonios
Reportaje modelo -El movimiento del 10 de junio de 1971. testimoniosReportaje modelo -El movimiento del 10 de junio de 1971. testimonios
Reportaje modelo -El movimiento del 10 de junio de 1971. testimonios
 
Laws of boolean algebra
Laws of boolean algebraLaws of boolean algebra
Laws of boolean algebra
 
Team process report some thoughts
Team process report   some thoughtsTeam process report   some thoughts
Team process report some thoughts
 
Lesson 8: Basic Differentiation Rules (Section 21 slides)
Lesson 8: Basic Differentiation Rules (Section 21 slides)Lesson 8: Basic Differentiation Rules (Section 21 slides)
Lesson 8: Basic Differentiation Rules (Section 21 slides)
 
Conic Sections- Circle, Parabola, Ellipse, Hyperbola
Conic Sections- Circle, Parabola, Ellipse, HyperbolaConic Sections- Circle, Parabola, Ellipse, Hyperbola
Conic Sections- Circle, Parabola, Ellipse, Hyperbola
 
Exponential and logarithmic functions
Exponential and logarithmic functionsExponential and logarithmic functions
Exponential and logarithmic functions
 

Similar to Diffusion Equation Separation Of Variables (if you\'re bored)

Fourier series
Fourier seriesFourier series
Fourier series
kishor pokar
 
Fourier series
Fourier seriesFourier series
Fourier series
kishanbhaimayani
 
7 Heat Equation-2.pdf
7 Heat Equation-2.pdf7 Heat Equation-2.pdf
7 Heat Equation-2.pdf
ShehbazAli22
 
Series solutions airy's equation
Series solutions airy's equationSeries solutions airy's equation
Series solutions airy's equation
Tarun Gehlot
 
Top School in india
Top School in indiaTop School in india
Top School in india
Edhole.com
 
B.tech top schools in india
B.tech top schools in indiaB.tech top schools in india
B.tech top schools in india
Edhole.com
 
HT3_Unsteady State Heat Transfer_f.pptx
HT3_Unsteady State Heat Transfer_f.pptxHT3_Unsteady State Heat Transfer_f.pptx
HT3_Unsteady State Heat Transfer_f.pptx
VaishaleeApoorva
 
Clarke fourier theory(62s)
Clarke   fourier theory(62s)Clarke   fourier theory(62s)
Clarke fourier theory(62s)
apsitachi
 
Transient heat conduction
Transient heat conductionTransient heat conduction
Transient heat conduction
Ahmadreza Aminian
 
427962671-HT3-Unsteady-State-Heat-Transfer-f-pptx-Lipika-Mam-Ppt.pptx
427962671-HT3-Unsteady-State-Heat-Transfer-f-pptx-Lipika-Mam-Ppt.pptx427962671-HT3-Unsteady-State-Heat-Transfer-f-pptx-Lipika-Mam-Ppt.pptx
427962671-HT3-Unsteady-State-Heat-Transfer-f-pptx-Lipika-Mam-Ppt.pptx
KajalMIshra63
 
The wave equation
The wave equationThe wave equation
The wave equation
Dhaval Jalalpara
 
Video lecture in India
Video lecture in IndiaVideo lecture in India
Video lecture in India
Edhole.com
 
La Reglas de L'hospital
La Reglas de L'hospitalLa Reglas de L'hospital
La Reglas de L'hospital
Gregory Zuñiga
 
Thermodynamic relations, Clausius Clapreyon equation , joule thomson coefficient
Thermodynamic relations, Clausius Clapreyon equation , joule thomson coefficientThermodynamic relations, Clausius Clapreyon equation , joule thomson coefficient
Thermodynamic relations, Clausius Clapreyon equation , joule thomson coefficient
PEC University Chandigarh
 
Flash distillation
Flash distillationFlash distillation
Flash distillation
Luis Alfredo Jiménez C.
 
Partial Differential Equations, 3 simple examples
Partial Differential Equations, 3 simple examplesPartial Differential Equations, 3 simple examples
Partial Differential Equations, 3 simple examples
Enrique Valderrama
 

Similar to Diffusion Equation Separation Of Variables (if you\'re bored) (20)

Fourier series
Fourier seriesFourier series
Fourier series
 
Fourier series
Fourier seriesFourier series
Fourier series
 
7 Heat Equation-2.pdf
7 Heat Equation-2.pdf7 Heat Equation-2.pdf
7 Heat Equation-2.pdf
 
Notes pde pt3
Notes pde pt3Notes pde pt3
Notes pde pt3
 
Series solutions airy's equation
Series solutions airy's equationSeries solutions airy's equation
Series solutions airy's equation
 
Top School in india
Top School in indiaTop School in india
Top School in india
 
B.tech top schools in india
B.tech top schools in indiaB.tech top schools in india
B.tech top schools in india
 
HT3_Unsteady State Heat Transfer_f.pptx
HT3_Unsteady State Heat Transfer_f.pptxHT3_Unsteady State Heat Transfer_f.pptx
HT3_Unsteady State Heat Transfer_f.pptx
 
Intro
IntroIntro
Intro
 
Clarke fourier theory(62s)
Clarke   fourier theory(62s)Clarke   fourier theory(62s)
Clarke fourier theory(62s)
 
Transient heat conduction
Transient heat conductionTransient heat conduction
Transient heat conduction
 
427962671-HT3-Unsteady-State-Heat-Transfer-f-pptx-Lipika-Mam-Ppt.pptx
427962671-HT3-Unsteady-State-Heat-Transfer-f-pptx-Lipika-Mam-Ppt.pptx427962671-HT3-Unsteady-State-Heat-Transfer-f-pptx-Lipika-Mam-Ppt.pptx
427962671-HT3-Unsteady-State-Heat-Transfer-f-pptx-Lipika-Mam-Ppt.pptx
 
The wave equation
The wave equationThe wave equation
The wave equation
 
Video lecture in India
Video lecture in IndiaVideo lecture in India
Video lecture in India
 
La Reglas de L'hospital
La Reglas de L'hospitalLa Reglas de L'hospital
La Reglas de L'hospital
 
Thermodynamic relations, Clausius Clapreyon equation , joule thomson coefficient
Thermodynamic relations, Clausius Clapreyon equation , joule thomson coefficientThermodynamic relations, Clausius Clapreyon equation , joule thomson coefficient
Thermodynamic relations, Clausius Clapreyon equation , joule thomson coefficient
 
Lecture14n
Lecture14nLecture14n
Lecture14n
 
Flash distillation
Flash distillationFlash distillation
Flash distillation
 
Partial Differential Equations, 3 simple examples
Partial Differential Equations, 3 simple examplesPartial Differential Equations, 3 simple examples
Partial Differential Equations, 3 simple examples
 
Fourier series
Fourier seriesFourier series
Fourier series
 

Diffusion Equation Separation Of Variables (if you\'re bored)

  • 1. The Divergence Theorem of Gauss Using separation of variables to solve the diffusion equation Group 12F Will Maisey, Emily Speed, Rob Lister, Nick Stott
  • 2. Recap (Heat Equation): The heat equation (a specified type of diffusion equation) is an important partial differential equation which describes the distribution of heat (or variation in temperature) in a given region over time. For a function u(x,y,z,t) of three spatial variables (x,y,z) and the time variable t, the heat equation is; Or equivalently; Where α is a constant.
  • 3. Guillaume François Antoine, Marquis de l’Hôpital (1661-1704) Guillaume François Antoine a French mathematician, otherwise known as Guillaume de l’Hôpital, was the first to use the method of separation of variables. l'Hôpital was born in Paris, France. He initially had planned a military career, but poor eyesight caused him to switch to mathematics. He solved the brachistochrone problem. His name is perhaps best known for the rule for calculating the limiting value of a fraction whose numerator and denominator either both approach zero or both approach infinity, however, he is presumed not to be the discoverer of the rule.
  • 4. Guillaume François Antoine, Marquis de l’Hôpital (1661-1704) He is also the author of the first European textbook on differential calculus, l'Analyse des Infiniment Petits pour l'Intelligence des Lignes Courbes. In 1694 he forged a deal with Johann Bernoulli. The deal was that l'Hôpital paid Bernoulli 300 Francs a year to tell him of his discoveries, which l'Hôpital described in his book. In 1704, after l'Hôpital's death, Bernoulli revealed the deal to the world, claiming that many of the results in l'Hôpital's book were due to him. The widespread story that l'Hôpital tried to get credit for inventing de l'Hôpital's rule is false: he published his book anonymously, acknowledged Bernoulli's help in the introduction, and never claimed to be responsible for the rule.
  • 5. Separation of Variables: Separation of Variables is a method of solving O.D.Es or P.D.Es, whereby an equation of two variables is ‘separated’ into a product of two equations. This can be split into independent ordinary differential equations which we can solve. u(x,t) X(x) T(t)
  • 6. Separation of Variables: Once separated and applied to the original equation, the result can be written solely in terms of each variable on either side of the equality sign. This tends to include derivative terms. The only way the equality can hold in terms of different variables is if the two sides are equal to a constant. This is usually denoted λ. X(x) = T(t) = λ
  • 7. Separation of Variables: This lambda can then be incorporated into each side to form two separate O.D.E’s. X(x) - λ = 0 T(t) - λ = 0 The two equations are solved separately. It is important to remember that separation of variables was used at the beginning, and so the two final equations must be written as a product. The final solution is then back in the form u(x,t).
  • 8. Separation of variables to solve the diffusion equation: The diffusion equation for heat flow is: The question we are posed is: Solving the diffusion equation for temp u(x,t) in a 1d bar with insulated Ends and initial temperature So we will consider the equation With an example similar to that shown opposite 
  • 9. Separation of variables to solve the diffusion equation: Solution: We can re-write U(x,t) = X(x)T(t), x being the space variable [0,L] and t the time variable t ≥ 0 So Given substituting U(x,t) into the heat equation we get: So as for two differential equations to be equal they must both equal the same constant, here that is -λ.
  • 10. Separation of variables to solve the diffusion equation: So For the solution to hold we require λ>0 Therefore solving for X we see that: And solving for T we see that: Using our boundary conditions and the fact that we do not require a trivial solution, we can see that: And
  • 11. Separation of variables to solve the diffusion equation: We can hence see that the general form of U(X,T) is: We can solve for the coefficients, using the initial condition: to obtain the solution.
  • 12. Fourier Series: Using Fourier Series, we can determine the coefficients: For n≥1, it would be better solved if we split it into 2 integrals:
  • 13. Fourier Series: However, first we must determine A0:
  • 14. Fourier Series: Using the product rule, for the first integral:
  • 15. Fourier Series: And for the second integral:
  • 16. Fourier Series: Summing the two together gives us An: So therefore we obtain:
  • 17. Our Solution: So therefore, we can determine the solution as: The validity of this solution can be checked using Maple, using a sufficient size for L:
  • 18. Maple: In order to give a graphical representation, we must give L a Numerical value (so Maple can recognise it as a constant). So say, L = 10, and n ranging from 1 to infinity: Inputting into Maple: We obtain:
  • 19. Maple: Finally, using the plot function: The following graph is produced: This is the function: So as f(x)=g(x) as L=10, the solution is valid.
  • 20. Thank you for listening