Sci.Int.(Lahore)23(3),163-166,2011, ISSN 1013-5316; CODEN: SINTE 8 163 APPLICATION OF NEW VARIATIONAL METHOD USING HAMILTONIAN FOR NONLINEAR OSCILLATORS WITH DISCONTINUITIES Muhammad Aslam Noor a , Waseem Asghar Khan a, b noormaslam@hotmail.com waseemasg@gmail.com a: Department of mathematics, COMSATS Institute of Information Technology, Sector-H-8/1, Islamabad 44000, Pakistan b: Department of Basic Sciences & Humanity, HITEC University Taxila Cantt. ABSTRACT: In this paper, we used Hamiltonian for nonlinear oscillators with discontinuities. The maximal relative error for the frequency obtained by new variational method compared with the exact solution indicates the remarkable precision of this method. Some examples are given to illustrate the effectiveness and convenience of the method. Keywords: Nonlinear oscillator; Variational principle, Hamiltonian, Analytical approximate solution . 1. INTRODUCTION There are many approaches for approximating solutions to nonlinear oscillatory systems. The most widely studied approximation methods are the perturbation methods [24]. The simplest and perhaps one of the most useful of these approximation methods is the LindstedtPoincare´ perturbation method, whereby the solution is analytically expanded in the power series of a small parameter [20]. To overcome this limitation, many new perturbative techniques have been developed. Modified LindstedtPoincare´ techniques [2123], the homotopy perturbation method [24 30] or linear delta expansion [3133] are only some examples of them. A recent detailed review of asymptotic methods for strongly nonlinear oscillators can be found in [16]. The harmonic balance method is another procedure for determining analytical approximations to the periodic solutions of differential equations by using a truncated Fourier series representation [17-20,3442]. This method can be applied to nonlinear oscillatory systems where the nonlinear terms are not small and no perturbation parameter is required. In this research, we used new variational method using Hamiltonian [43] for nonlinear oscillators with discontinuities. We observe from the results that this method is very simple, easy to apply, and gives a very good accuracy even with the first-order approximation and simplest trial functions. Comparison made with other known results show that te method provides a mathematical tool to the determination of limit cycles of more complex nonlinear oscillators. Suppose nonlinear oscillator () 0, u fu   (1) with initial conditions (0) and (0) 0. u A u It is easy to establish a variational principle for equation (1), which reads [1] /4 2 0 1 () () , 2 T Ju u Fu dt (2) where T is period of the oscillator, ( ). F fu u In our previous study [1], variational approach to nonlinear oscillators was suggested, where the trial-function is chosen as cos , u A t ϖ (3) where ϖ is frequency. Substituting Eq. (3) into Eq. (2) results in /4 2 2 2 0 1 sin ( cos ) . 2 T J A t FA t dt ϖ ϖ ϖ (4) According to Ref. [1], the frequencyamplitude relationship can be obtained from the following equation 0. J A (5) Explanation of Eq. (5) was given in Ref. [2]. This variational method for nonlinear oscillators have been used by many authors [36]. In this Letter we will develop a new variational method for nonlinear oscillators using Hamiltonian. 2. Hamiltonian In the functional (2), 2 1 2 u is kinetic energy and F (u) potential energy, so the functional (2) is the least Lagrangian action, from which we can immediately obtain its Hamiltonian, which reads 2 0 1 () constant , 2 H u Fu H (6) or 2 0 1 () 0. 2 u Fu H (7) Equation (6) implies that the total energy keeps unchanged during the oscillation. In our previous work [7], u = A cosωt was used as a trial function and it was substituted to Eq. (7) to obtain a residual 2 2 2 0 1 () sin ( cos ) . 2 Rt A t FA t H ϖ ϖ ϖ (8) Locating at some a special point, i.e., ωt = π/4, and setting R(t =π/4ω ) = 0, we can obtain an approximate frequency amplitude relationship of the studied nonlinear oscillator. Such treatment is much simple and has been widely used by engineers [815]. The accuracy of such location method, however, strongly depends upon the chosen location point. To overcome the shortcoming of the energy balance method, in this Letter we suggest a new approach based on Hamiltonian. From Eq. (6), we have