Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgContentJComments has a deprecated constructor in /var/www/astarmathsandphysics/plugins/content/jcomments/jcomments.php on line 25 Call Stack: 0.0000 362584 1. {main}() /var/www/astarmathsandphysics/index.php:0 0.0443 1212048 2. Joomla\CMS\Application\SiteApplication->execute() /var/www/astarmathsandphysics/index.php:49 0.0443 1212048 3. Joomla\CMS\Application\SiteApplication->doExecute() /var/www/astarmathsandphysics/libraries/src/Application/CMSApplication.php:267 0.1821 4127272 4. Joomla\CMS\Application\SiteApplication->dispatch() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:233 0.1834 4155064 5. Joomla\CMS\Component\ComponentHelper::renderComponent() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:194 0.1842 4172776 6. Joomla\CMS\Component\ComponentHelper::executeComponent() /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:356 0.1844 4203296 7. require_once('/var/www/astarmathsandphysics/components/com_content/content.php') /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:381 0.1853 4226016 8. ContentController->execute() /var/www/astarmathsandphysics/components/com_content/content.php:42 0.1853 4226016 9. ContentController->display() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:710 0.2715 4912128 10. ContentController->display() /var/www/astarmathsandphysics/components/com_content/controller.php:113 0.2751 5104280 11. Joomla\CMS\Cache\Controller\ViewController->get() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:663 0.2757 5125208 12. ContentViewArticle->display() /var/www/astarmathsandphysics/libraries/src/Cache/Controller/ViewController.php:102 0.2862 5326880 13. Joomla\CMS\Plugin\PluginHelper::importPlugin() /var/www/astarmathsandphysics/components/com_content/views/article/view.html.php:189 0.2862 5327136 14. Joomla\CMS\Plugin\PluginHelper::import() /var/www/astarmathsandphysics/libraries/src/Plugin/PluginHelper.php:182

## Solving Differential Equations Using Separation of Variables

The separation of variables method is a technique for solving partial differential equations subject to boundary conditions and is used to solve problems where

The partial differential equation to be solved is linear and homogeneous.

The boundary conditions are of the formwhereare constants.

The solution obeys the initial condition

I will illustrate the method with an example.

(1)

We look for solutions of the form

Substitution into the original differential equation givesDivide byto givesThe left hand side is a function of t only and the right hand side is a function of x only. Since x and t are independent variables, we must have that both sides are constant. Suppose that both sides equal k. We can write

andor(2)

Ifthe solution to the first isThis solution tends to infinity astends to infinity so we must havePutthen the two equations (2) becomewith solutionsso all solutions take the formsinceare arbitrary. We now fit these solutions to the boundary conditions.

Since the original equation is linear, any linear combination of these solutions is also a solution. We can write the most general solution to (1) as

We now fit these solutions to the initial condition

In general fitting the most general solutionto the initial condition will involve finding the coefficients of a Fourier series.