Explicit Thin-Lens Solution
for an Arbitrary Four by Four Uncoupled
Beam Transfer Matrix
Abstract
In the design of beam transport lines, one often meets the problem of constructing a quadrupole lens system that will produce desired transfer matrices in both the horizontal and vertical planes. Nowadays this problem is typically approached with the help of computer routines, but searching for the numerical solution one has to remember that it is not proven yet that an arbitrary four by four uncoupled beam transfer matrix can be represented by using a finite number of drifts and quadrupoles (representation problem) and the answer to this question is not known not only for more or less realistic quadrupole field models but also for the both most commonly used approximations of quadrupole focusing, namely thick and thin quadrupole lenses. In this paper we make a step forward in resolving the representation problem and, by giving an explicit solution, we prove that an arbitrary four by four uncoupled beam transfer matrix actually can be obtained as a product of a finite number of thin-lenses and drifts.
I Introduction
In the design of beam transfer lines, one often encounters the problem of finding a combination of quadrupole lenses and field free spaces (drifts) that will produce particular transfer matrices in both the horizontal and the vertical planes. Nowadays this problem is typically approached with the help of computer routines which minimize the deviations from the desired matrices as function of the quadrupole strengths, lengths and distances between them. Although very sophisticated software became available for these purposes during the past decades, there is an important theoretical question which has not been answered yet and whose answer could affect the strategy and efficiency of numerical computations. Searching for a numerical solution, one has to remember that it is not proven yet that an arbitrary four by four uncoupled beam transfer matrix can be represented by using a finite number of drifts and quadrupoles (representation problem) and the answer to this question is not known not only for more or less realistic quadrupole field models but also for the both most commonly used approximations of quadrupole focusing, namely thick and thin quadrupole lenses.
In this paper we make a step forward in resolving the representation problem and prove that an arbitrary four by four uncoupled beam transfer matrix actually can be obtained as a product of a finite number of thin-lenses and drifts. Even though our proof uses more thin lenses than probably needed, we believe that the solution provided is not only of theoretical interest, but could also find some practical applications because it uses explicit analytical formulas connecting thin-lens parameters with the elements of the input beam transfer matrix.
Though the thin-lens kick is the simplest model of the quadrupole focusing, its role in accelerator physics can hardly be overestimated. The thin-lens quadrupole approximation reveals the analogy between light optics and charged particle optics and, if one takes into account difficulties of analytical manipulations with the next by complexity thick-lens quadrupole model Regenstreif_1 ; Regenstreif_2 , is an indispensable tool for understanding principles and limitations of the already available optics modules and for development of the new optics solutions (see, as good examples, papers BrownServranckx ; MontagueRuggiero ; Zotter ; Napoly ; dAmigoGuignard ).
The paper by itself is organized as follows. In Sec. II we introduce all needed notations and give the lower bound on the number of drifts and lenses which are required for a solution of the representation problem by providing an example of a matrix which cannot be obtained using five thin lenses and five independently variable drift spaces. This result is somewhat unexpected and up to some extent contradicts a rather widespread opinion that the typical problem can be solved by taking a number of parameters equal to the number of constraints available. We see that although the four by four uncoupled beam transfer matrix has only 6 degrees of freedom, there are matrices which cannot be represented not only by three thin lenses and three drifts (six parameters), but also by five thin lenses and five drifts (ten parameters). This example, the example provided by the matrix (27), other of our attempts (though omitted in this paper) to find thin-lens decompositions for particular beam transfer matrices and the properties of the explicit solution given below in this paper, lead us to the conjecture that in order to represent an arbitrary four by four uncoupled beam transfer matrix one needs at least six thin lenses if the distances between them can be varied (independently or not) or at least seven thin lenses if this variation is not allowed.
In Sec. III we prove that an arbitrary four by four uncoupled beam transfer matrix can be obtained as a product of a finite number of thin-lenses and drifts by giving an explicit solution of the thin-lens representation problem which uses equally spaced thin lenses. The core idea of our approach is the representation of the matrix of the thin-lens multiplet as a product of elementary matrices (the definition and the properties of the matrix can be found in Appendix A) with subsequent reduction of the initial 2D problem to two independent 1D problems. We use in this section the equally spaced thin-lens system because it allows one to make such a reduction with a minimum of technical details. The solution obtained utilizes 13 lenses if the spacing between them is fixed beforehand and 12 lenses if this distance can be used as an additional parameter. Thus, it uses six more lenses than the minimal number stated in our conjecture, but the setting of these six lenses depends only on the distance between lenses and therefore does not depend (at least directly) on the particular input beam transfer matrix.
In Sec. IV we consider the case of arbitrarily spaced thin lenses. First, we show that the solution of the representation problem presented in the previous section is still valid after some minor modifications. Next we study in greater detail the ways to transform the matrix of the drift-lens system to the product of the elementary matrices (see formulas (86)-(91) and (100)-(105) below). The representation of the matrix of the thin-lens multiplet as a product of elementary matrices (together with the multiplication formula (119)) is a useful new tool for the analytical study of the properties of thin-lens systems. It also gives some clarification of the question why the role of the variable drift spaces and the role of the variable lens strengths are different when they are used as fitting parameters.
This paper is mostly a theoretical paper and its main purpose is to turn the common believe that an arbitrary four by four uncoupled beam transfer matrix can be obtained as a product of a finite number of thin lenses and drifts into proven scientific fact. Still, both, the developed new technique for the analytical study of the properties of thin-lens multiplets and the explicit thin-lens solution presented in this paper, are of independent interest. To illustrate that, in Appendix B we apply our matrix approach to the study of four-lens beam magnification telescopes and find new, previously unknown analytical solutions for this important optics module. In Appendix C, we apply the explicit solution developed in this paper to the design of a beam line which allows an independent scan of horizontal and vertical phase advances while preserving the entrance and exit matching conditions for the Twiss parameters.
Besides that thin-lens blocks with decoupled transverse actions introduced in this paper are another point of general interest. Although the idea of decoupled tuning knobs by itself is not new in the field of accelerator physics (see, for example, Roser ; WalkerIrwinWoodley ), our approach is new and is not based on an iterative usage of small steps in the lens strengths obtained at each iteration by linearization.
II Statement of the problem and preliminary considerations
Let be an arbitrary four by four uncoupled beam transfer matrix and let the two by two symplectic matrices and be its horizontal and vertical focusing blocks, respectively. Let us denote by the transfer matrix of the one-dimensional thin lens of strength and by the transfer matrix of the one-dimensional drift space of length :
(5) |
The problem of representation of the matrix by a thin-lens system can then be written as
(6) |
where (here and later on) one has to take the upper sign in the combinations and together with the index and the lower sign together with the index .
Note that the drift-lens system presented on the left-hand side of Eq. (6) consists of equal numbers of drifts and lenses and the first element which the beam sees during its passage is a thin-lens. Alternatively, one can consider equation
(7) |
where the first element is a drift space, or one can use the drift-lens system with a nonequal number of drifts and lenses which starts and ends with a drift (or a lens), but for the moment this is not important.
There are many unanswered questions related to Eq. (6), the most interesting for us in this paper is the following: given a matrix , does there exist a number such that these equations have a solution? If the answer to this question is positive, could the number be chosen independently from the input matrix and, if it is also possible, what is the minimal required?
From a mathematical point of view, Eq. (6) is a system of eight polynomial equations in unknowns and for any polynomial system considered over an algebraically closed field of complex numbers there is an algorithmic way to answer the question if this system has infinitely many solutions or has a finite number of solutions, or has no solutions at all. This can be done by transforming the original system to a special form called a Grbner basis and, very loosely speaking, is an analogue of the Gaussian elimination process in linear algebra CoxLittleOshea . The Grbner basis can be computed in finitely many steps and, moreover, nowadays its calculation can be done with the help of symbolic manipulation programs like MATHEMATICA and MAPLE.
Unfortunately, we are interested in the real solutions of Eq. (6) constrained additionally by the requirements for the drift lengths to be nonnegative and therefore we cannot use all benefits provided by the Grbner basis theory. Nevertheless, the use of the Grbner basis approach, although it did not help us to solve the problem in general, it was very useful in providing examples of particular matrices which cannot be obtained using a certain number of thin lenses and drift spaces. For example, using the Grbner basis technique, it is possible to prove that the matrix with
(10) |
cannot be represented by five thin lenses and five variable drift spaces starting either from a lens like in Eq. (6) or from a drift like in Eq. (7).
This example, the example provided by the matrix (27), many other of our attempts to study the representation problem for particular beam transfer matrices, and the properties of the explicit solution given below in this paper lead us to the conjecture that in order to be able to represent an arbitrary four by four uncoupled beam transfer matrix one needs at least six thin lenses if the distances between them can be varied (independently or not) or at least seven thin lenses with nonzero drift spaces between them if this variation is not allowed.
To finish this section, let us note that in the above discussions we made no use of the fact that we are interested not in the general system of polynomial equations, but only in the polynomial system produced by a product of matrices with simple inversion properties:
(11) |
(12) |
This trick can be used for the elimination of a part of the unknowns from the original system by solving Eq. (12) with respect to the variables or one may even think to construct an iterative solution method which could be considered as matrix version of the method of successive elimination of unknowns Napoly ; ChaoIrwin . This method was developed especially to deal with the thin-lens multiplets and was used in ChaoIrwin in an attempt to characterize all uncoupled beam transfer matrices which can be obtained by using three thin lenses and three drift spaces. Unfortunately, however this approach did not give us any additional noticeable simplifications in the solution of the general representation problem.
III Solution of 2D problem using equally spaced thin lenses
In this section we will give an explicit solution of the thin-lens representation problem which uses equally spaced thin-lenses. Instead of Eq. (6) or Eq. (7), we will consider the system
(13) |
where as an elementary building block we take a thin lens sandwiched between two drift spaces
(14) |
If the block length , then one can represent the block transfer matrix in the form
(15) |
where
(18) |
and
(21) |
Note that the properties of the matrix (and other elementary matrices used in this paper) can be found in Appendix A.
Let us assume that in the system (13) all and all are equal to each other, i.e., that
(22) |
and let . The principle simplification that occurs in this case is that after the substitution of the representation (15) into Eq. (13) the matrices and cancel each other and we obtain
(23) |
where
(24) |
Equations (23) give the dimensionless form of Eq. (13) and, additionally, one sees that while the original system (13) is formed by the product of interleaved thin-lens and drift matrices (with neighboring drifts lumped together), the system (23) includes only matrices depending on unknowns (there are unknowns: lens strengths plus two variables characterizing the block length and the position of the lens inside the block) and of them are matrices.
Nevertheless, the system (23) is still too complicated to find easily its solutions (or even to prove their existence) for an arbitrary matrix and with the number of lenses equal to six or seven as required by our conjecture. Instead we will provide an explicit solution which utilizes 13 lenses if the parameters and are fixed and are independent from the input matrix , and 12 lenses if and can be varied. The main idea of our solution is the reduction of the 2D problem (23) to two independent or, more exactly, almost independent 1D problems by constructing thin-lens blocks which can act in the horizontal and the vertical planes similar to a single matrix, but whose actions for both planes can be chosen independently. At first we will consider a solution of the 1D problem in terms of matrices. As the next step we will introduce a four-lens block with decoupled transverse actions and then will give an explicit solution of the complete 2D problem. Besides that we will discuss the recipe for constructing lens blocks with decoupled transverse actions with more than four lenses.
Before giving the technical details let us consider one more example obtained with the help of the Grbner basis technique. Let us assume that and are fixed and let the matrix be such that the matrix in (23) is equal to the symplectic unit matrix:
(27) |
Then this matrix can not be represented by less than seven thin lenses and with seven lenses there are many solutions which geometrically can be viewed as six distinct parallel straight lines in the seven-dimensional space of lens strengths.
III.1 1D problem in terms of matrices
According to our plan we will prove in this subsection that every real symplectic matrix can be represented as a product of at most four matrices. First, we will consider the case of three matrices and will find that three matrices are insufficient for the representation of an arbitrary symplectic matrix. Next we will switch to the case of four matrices and will show that with four matrices a solution can always be found, but it is always nonunique.
Let us start with the case of three matrices, i.e., from the equation
(28) |
This matrix equation is, in fact, the system of the four equations for the four matrix elements
(33) |
and, as it is well known, due to symplecticity of the matrices on both sides of (28) these four equations should be equivalent to some system consisting of three equations only. In order to obtain such a system let us first substitute into the first equation of the system (33) and then plug in the equations three and four. Because in the resulting system
(38) |
the fourth equation is equal to the first equation multiplied by minus the third equation multiplied by , it can be omitted. Thus we obtain that the system of the four third order polynomial equations (33) is equivalent to the system
(42) |
which is linear in the unknowns , , and . Moreover, this system already has a triangular form and its solvability depends only on the solvability of the third equation with respect to the variable .
Elementary analysis shows that there are three possibilities for the solutions of the system (42). If , then there exists a unique solution
(43) |
If and (i.e if ), then there exists a one-parameter family of solutions:
(44) |
Finally, if and , then there is no solution at all.
Very loosely speaking, the condition defines the two-dimensional surface of singularities in the three-dimensional space of real symplectic matrices. This surface, in the next turn, contains the one-dimensional curve selected by the additional relation . If the matrix (represented as a point in our three-dimensional space) lies outside of the surface of singularities, then a solution for such a matrix exists and is unique. If the point representing the matrix belongs to the surface of singularities, then we either have many solutions or none depending on whether this point lies on the above defined one-dimensional curve or not.
Let us now turn our attention to the equation
(45) |
which includes four matrices. The equivalent to this equation system is given below:
(49) |
and the easiest way to obtain it is to substitute into the system (42) the elements of the matrix instead of the .
The system (49) is not linear anymore, but still has a triangular form and its solvability depends again only on the solvability of the third equation with respect to the variables and . Because the matrix is nondegenerated its elements and cannot be equal to zero simultaneously and therefore the expression considered as a function of cannot be equal to zero in more than one point. It means that the last equation in (49) always has solutions and a good way to understand their complete structure is to consider this equation as the equation of a curve on the plane . If this curve is a hyperbola with two separate branches, if it is a degenerate hyperbola consisting of two intersecting lines and , and, finally, if we have a single straight line . So we see that with the help of the four matrices a solution of our problem can always be found and is always nonunique.
III.2 Four-lens block with decoupled transverse actions
Let us denote by the following combination of four matrices:
(50) |
which in the original variables (13) includes four thin-lenses (four-lens block).
If one chooses and if one takes
(51) |
then the block matrix can be written as
(52) |
where is a diagonal scaling matrix,
(53) |
and
(54) |
(55) |
Since for any given value of and Eqs. (54) and (55) can be solved with respect to the variables and ,
(56) |
(57) |
the formula (52) gives the result which we were looking for. Both matrices and are similar to a single matrix (with an inessential minus sign) and both parameters and can be chosen independently, and then the setting of the first and the last lenses in the block is determined according to the formulas (56) and (57).
III.3 Reduction of 2D problem to two independent or almost independent 1D problems
Since with four matrices we always can solve the 1D problem, let us first consider a combination of four blocks of the type (52). Using (140), one can show that the total matrix of this 16 lens system can be written as follows:
(58) |
where
(59) |
and
(60) |
(61) |
Plugging this representation into Eq. (23) we obtain
(62) |
Let us choose arbitrary nonnegative and with and select for each four-lens block its own . This, in accordance with formula (51), gives us the setting of the eight lenses in our system and this completely determines the matrix on the right-hand side of Eq. (62). As the last step we take and as some solutions of two independent 1D problems of the type (45) and define the strengths of the remaining eight lenses using the formulas (60), (61), (56), and (57).
One sees that using four blocks with decoupled transverse actions the complete 2D problem can always be reduced to two easily solvable independent 1D problems. But do we really need four blocks for making such a reduction? The answer is no and the reason for this is as follows. We know that for most of the symplectic matrices the 1D problem can be solved with three matrices, which means that for most of the uncoupled beam transfer matrices the 2D problem can also be solved with three blocks. The problem is what to do with the rest? Happily it turns out that by appropriate choice of the parameters and one can always move the input matrix away from the region of unsolvability and, if the variation of and is not allowed, this can be done by using only one additional thin lens. Thus, we arrive at the solution announced in the Introduction, namely 13 lenses if the spacing between them is fixed and 12 lenses if this distance can be used as an additional parameter. Below we will consider in detail the case of 12 lenses (three blocks) with variable spacing and the check that the use of an additional lens for the fixed spacing also works we leave as an exercise for the interested reader.
In analogy with (58) the combination of three blocks can be written as
(63) |
where
(64) |
and
(65) |
(66) |
(67) |
Plugging again this representation into system (23) we obtain the equation
(68) |
We know that the sufficient condition for this equation to be solvable with respect to the unknowns is that the horizontal and vertical parts of the matrix on the right-hand side both have nonvanishing elements. The direct calculation gives us
(69) |
where are the elements of the input matrix .
Looking for a solution one can proceed further in the same manner as in the four block case with only one difference. At the first step one has to take not arbitrary nonnegative and , but such and that both and are nonzero, which due to symplecticity of the matrices and is always possible.
III.4 Recipe of construction of lens blocks with decoupled transverse actions
In this subsection we give the recipe for the construction of lens blocks with decoupled transverse actions. As we will see, this recipe works not only for the four-lens combination considered above, but is also applicable to blocks with a larger number of lenses.
Let us consider lens block with :
(70) |
and let us assume that the product of the inner matrices in our block takes the form
(73) |
Then, as one can show by direct multiplication, both matrices and become similar to a single P matrix (with an inessential minus sign possibly presented), namely
(74) |
where
(75) |
If for arbitrary given values of and Eq. (75) can be solved with respect to the variables and , then it will be exactly what we need, and the necessary and sufficient condition for such solvability is
(76) |
So, in order to construct the -lens block with the decoupled transverse actions, one has to solve two equations making the elements of the and parts of the product of the inner matrices equal to zero and one has to satisfy one additional inequality constraint (76).
The solution for the four-lens block was already given above and is unique up to a sign change (). Let us now consider the more complicated (but still analytically solvable) case of five lenses. In this situation all possible solutions which bring the product of the three inner matrices
(77) |
to the form (73) can be expressed as a function of parameters and as follows:
(78) |
(79) |
, and and are such that
(80) |
To complete the block construction we have to select from all these solutions a subset on which the functions
(81) |
satisfy the inequality (76). As one can check, this can be achieved simply by removing from the set (80) the endpoints of the given set intervals, i.e., by removing the points and . So we see that there are many solutions which allow us to construct from five lenses the block with decoupled transverse actions and for selecting one of them some additional optimization criteria could be involved.
Note that in the blocks constructed according to our recipe the setting of the internal lenses does not depend on the setting of the first and the last lenses and depends only on the geometrical block parameters (distances between the lenses), which will be seen more clearly in the following section where we will consider the case of arbitrarily spaced thin lenses.
Note also that the horizontal and the vertical matrices between the first and the last lenses in the block, when calculated using not the matrix notation, but the original variables in which Eq. (13) is written
(84) |
both have elements equal to zero (i.e. the phase advances between the first and the last lenses in the block are always multiples of ), but this alone without the inequality (76) satisfied does not give us the block with the decoupled transverse actions.
IV Generalization to the case of arbitrarily spaced thin lenses
When the distances between the lenses are not equal to each other, we immediately lose the advantage of the cancellation of matrices between the matrices after substitution of the representation (15) into Eq. (13). Nevertheless, as we will show below, this case can also be treated with the tools developed in the previous section.
Let us denote by the distance between the lenses with the indices and (). We start from the observation that for the following identity holds:
(85) |
which can be shown by direct multiplication and which requires that all and are positive. Note that in this identity and are the lower and upper triangular matrices with unit diagonal elements (see Appendix A for more details).
Let us now substitute the representation (15) into Eq. (13) and then plug in the corresponding places the right-hand side of the identity (85). After that the property (142) allows us to eliminate from the result all and matrices while shifting their arguments to the arguments of the neighboring matrices, and leaving us with a product consisting of alternating and matrices. Although the matrices cannot be eliminated completely, they can be moved either on the left or on the right-hand side of all matrices with the help of the property (140). As the last step we transfer all matrices from the left and right sides of the obtained solid block of the matrices to the right-hand side of our equation, hide them in the matrix and end up with the equation
(86) |
which already has the desired form. The detailed structure of the arguments and of the matrix depends on the particular ways how the individual matrices were moved (to the left or to the right sides) and is given below for the case when during transformations all matrices were moved to the left-hand side of the matrix block. Nevertheless, the expressions given below are general in the sense that they contain an arbitrary positive parameter , and with the proper choice of this parameter one can account for all possible ways of movement of the individual matrices:
(87) |
(88) |
(89) |
is an arbitrary positive parameter and, because we do not have lenses with indices and , we use the conventions that
(90) |
(91) |
Note that, if the parameter is taken to be a positive number or a dimensionless function of the thin-lens multiplet parameters (drift lengths and lens strengths), then Eq. (86) and the variables (88) are also dimensionless. One of the possible choices is to take for even as solution of the equation and for odd as solution of the equation . If the condition (22) holds, then the solution of these equations for both cases (even and odd ) is and the representation (86) turns into the representation (23) as one can expect.
Now in order to continue we need a lens block with the decoupled transverse actions and, as it is not difficult to check, the recipe given in the previous section is applicable without any changes. For the construction of the -lens block we still need to bring the product of the inner matrices to the form (73) while also satisfying the inequality constraint (76). For the four-lens case
(92) |
the two equations making the elements of the and parts of the product of the two inner matrices equal to zero are
(93) |
and have a solution
(94) |
(95) |
which again is unique up to a sign change (). The values for this solution are
(96) |
Both of them are positive and clearly satisfy the inequality (76). With this choice for and the total block matrix takes the form
(97) |
where
(98) |
Equation (98) is the analogy of the formulas (56) and (57) and for any given values and allow one to determine the corresponding lens strengths and . Thus, all results of the previous section concerning the reduction of the 2D problem to two 1D problems become applicable with some minor changes connected with the difference in the matrices and defined by the relations (24) and (87), respectively. Note that if, when placed in the beam line, the actual decoupling block starts from the lens with the index , one has simply to add to the indices and in all above formulas.
IV.1 Removing of superfluous parameters
Equation (13) contains parameters which specify the drift lengths () while only parameters, namely have a clear physical meaning and are independent. Let us have a closer look at formulas (86)-(91) and count how many superfluous parameters are still left in them and then show ways to remove them.
The superfluous parameters and are clearly present, either directly as the arguments of matrices or through the lengths of the first and the last building blocks and . And actually that is all. The presence of the other superfluous parameters through the values is completely imaginary. To show this let us note that these values can enter the main formulas (86)-(88) only through the values and and through the combinations . So if we choose to be independent from , then these parameters can enter in none of the combinations due to the recursion relation
(99) |
which follows from the recursion relation (89), and likewise they cannot enter the value because one can write that .
Thus, there are only two superfluous parameters, and , present in our formulas, either directly or through the values and . Do we need to remove them? In general not, because it is clear that none of the physically meaningful answers will depend on them and, in this sense, their absence in the final results (like in formulas (94) and (95)) could work as some indirect indicator of the correctness of the calculations. But from another point of view, it seems better not to have any superfluous parameters from which one can expect nothing except some possible additional complications.
The simplest way to remove the parameters and from the formulas (86)-(88) is to make them functions of the physically meaningful parameters. For example, one can take and . However, the way which we prefer is the modification of the formulas (86)-(88) in such a way that the superfluous parameters will disappear automatically. In doing so let us first present the final result and then make some remarks on how it can be obtained:
(100) |
(101) |
(102) |
(103) |
(104) |
(105) |
and is the symplectic unit matrix.
In order to obtain formulas (100)-(105) from formulas (86)-(91) let us first introduce the parameters and then assume that is chosen in such a way that does not depend on any superfluous parameter (for example, one simply can take ). After this one sees that the parameters and enter the left-hand side of Eq. (86) only through the matrices and . Because of the property (142) these matrices can be decomposed into the following products:
(106) |
(107) |
As the last step, one has to substitute these decompositions back into Eq. (86), transfer and to the right-hand side and, after some straightforward manipulations, arrive at the final result described in the above formulas (100)-(105).
Note that the whole story about the presence of the superfluous parameters is the result of our desire to have the expressions for the problem description (expressions (86)-(91)) which reduces to the highly symmetric expressions (23) and (24) in the limit of equal distances between thin lenses. If one does not require that, then, as we will outline below, it is possible to arrive at the representation (100)-(105) without using the identity (15).
(108) |
(109) |
we obtain
(110) |
where we have already introduced an arbitrary positive parameter . Now, assuming that all distances between lenses are positive and using (139), we can replace for each the matrix by the matrix with simultaneous adding to the arguments of the two neighboring P matrices the value . After these manipulations we arrive at the expression
(111) |
and the last step, which is still necessary in order to obtain formulas (100)-(105), is to move all matrices to the left in the left-hand side of Eq. (111) using the identity (140) with a subsequent transfer of the matrix from the left to the right-hand side of the obtained equality.
Acknowledgements.
The authors are thankful to Winfried Decking, Nina Golubeva and Helmut Mais for support and their interest in this work. The careful reading of the manuscript by Helmut Mais and his useful advices are gratefully acknowledged.Appendix A Elementary matrices and their properties
The elementary symplectic matrix which is defined as follows,
(114) |
and which we use extensively throughout this paper was found empirically by the usual trial and error method during attempts to reduce the problem of analytical study of thin-lens multiplets to some “more manageable” form. As we will see below, this matrix possesses many interesting properties not only by itself, but also in combination with the other elementary matrices. Although not widely known in the scientific community, it was no surprise, as we found later, that it was successfully used in some special area of abstract algebra Cohn .
In order to give an expression for the product of elementary matrices, let us first define a sequence of polynomials in the variables recursively by the following equations:
(115) |
(116) |
With these notations we assert that
(119) |
which is clear for and in the general case can be proven by induction. Because such induction can be made in two different ways, either by adding one more matrix from the left or from the right side, it is easy to see that the polynomials can also be defined by (115) and by the recursion relation
(120) |
(121) |
According to (119) we can write down the matrix of the product of any number of elementary matrices without making any matrix multiplications. In this connection let us note that the problem of deriving some recursion relations which allow one to obtain the transfer matrix of an arbitrary multiplet without actual matrix multiplications was also addressed in Regenstreif_1 .
It is clear that the matrix coincides with the symplectic unit matrix , i.e., that
(124) |
and the following relations between the matrices can be easily verified by direct multiplication:
(125) |
(126) |
(127) |
(128) |
(129) |
where is the identity matrix.
Let us now introduce three more elementary matrices. The diagonal (scaling) matrix
(132) |
and the lower and upper triangular matrices with unit diagonal elements
(137) |
Note that although the matrices and formally coincide with the matrices of the thin lens and the drift space, respectively, we have introduced them in order to distinguish the situations where matrix of lens or drift has physical meaning and where the usage of low or upper triangular matrix is simply the reflection of the mathematical technique used.
We have the following relations between the matrices , , and :
(138) |
(139) |
(140) |
(141) |
(142) |
(143) |
(144) |
Although these relations are elementary, they are basic for all results of this paper.
Appendix B Three Explicit Solutions for Four-Lens Telescopes
A telescope is a beam transport system which has diagonal transfer matrices in both transverse planes,
(147) |
where the numbers and are called magnifications (or de-magnifications, if convenient; negativity of horizontal/vertical magnification means that the horizontal/vertical image is inverted with respect to the original). It is an optics module which is important for many accelerator designs and its study has received considerable attention in the past (see, for example, papers BrownServranckx ; MontagueRuggiero ; Zotter ; Napoly ; Autin ). The minimum number of thin lenses required for a telescope to exist is believed to be four (though, to our knowledge, still no rigorous proof is available) and the corresponding four-lens telescope system of matrix equations in our notations can be written as follows:
(148) |
There are two explicit analytical solutions known for the system (148). The first solution is obtained when the astronomical telescope, consisting of two focusing lenses separated by the distance equal to the sum of their focal lengths, is generalized to the usage of magnetic doublets instead of optical lenses. This solution has the property that
(149) |
i.e. it always provides telescopes with equal negative magnifications in both transverse planes (see, for example MontagueRuggiero ). The second known analytical solution in the four-lens case is the solution for an inversor Autin , which is the name of the telescope with the horizontal and vertical magnifications being inverse of one another:
(150) |
Besides these two explicit solutions, all other studies of the four-lens telescopes (as well as telescopes constructed from larger number of lenses) are either purely numerical or semianalytical as in Zotter ; Napoly ; Autin , where in the first step the part of variables is eliminated from the system (148) analytically and, in the second step, the remaining equations are solved numerically. Since these remaining equations are not linear in the variables, they cannot be solved easily even numerically and, therefore, any new explicit solution of the system (148) is of interest. In this Appendix we provide new analytical solutions using tools and techniques developed in this paper.
Let us first transform the system (148) to the matrix representation (100)-(105). If we take in (105) as follows,
(151) |
then, after some straightforward manipulations, we obtain the equations
(152) |
where
(155) |
(156) |
The equivalent to the eight equations (152) system of the six independent equations was already obtained in the course of this paper. To get it, one simply has to substitute instead of and elements of the matrix instead of into the system (49). The resulting system can be further simplified taking into account the special form of the matrix . If , then Eq. (152) is equivalent to the system
(160) |
and if ( and can be zero or nonzero only simultaneously), then the equivalent system takes on the form
(164) |
It is intuitively clear that the two known analytical solutions for the four-lens telescopes are somehow connected with the symmetry relations (149) and (150), but it is not obvious, when looking directly at the telescope matrix (147), how to find other symmetry conditions, which could allow us to find new explicit solutions. One of the advantages of the matrix representation of Eq. (148) is that the form of the matrix in (152) gives us a useful hint that as such a symmetry condition one may try the condition
(165) |
This condition, in the next turn, can be considered as a combination of the following three cases:
(166) |
(167) |
(168) |
The condition (165) is satisfied if and only if at least one from the conditions (166)-(168) is true.
As we will see below, all three cases (166)-(168) are actually analytically solvable and, moreover, include as their parts both previously known solutions. But, before giving the details, let us make one more useful preparatory step.
As it is well known, the telescope matrix (147) is invariant under a scale transformation. It means that if the set
(169) |
is the solution of the system (148), then so is the set
(170) |
where is an arbitrary positive number. That allows us in all further considerations to set the length of the middle drift equal to one chosen unit of length
(171) |
B.1 Telescopes which start and end by lens
If the condition (166) is satisfied, then and the equivalent to the equations (152) system is the system (164). The necessary and sufficient conditions for this system to have solutions are that
(172) |
If these conditions are satisfied, then the solution is unique (with the precision up to the scale transformation (170)) and is given by the following formulas:
(173) |
(174) |
(175) |
(176) |
where we have used the notations
(179) |
As a partial case this solution includes a new inversor with zero entrance and exit drifts:
(180) |
(181) |
(182) |
B.2 Telescopes with equal magnifications in both transverse planes
Now we turn our attention to the condition (167) and will consider telescopes with equal magnification in both transverse planes:
(183) |
According to the result of the previous subsection, none of such telescopes can exist if and therefore the system under study is the system (160). By elementary analysis one can show that the necessary and sufficient conditions for the telescope with equal magnifications to exist are that
(184) |
If these conditions are satisfied, then all possible solutions can be expressed as follows:
(185) |
(186) |
(187) |
(188) |
where the free parameters are , and satisfying the inequality
(189) |
Let us divide the central interval into two parts of the lengths and respectively and prescribe these subintervals to the first and to the second doublet cells correspondingly. Comparing now the obtained above doublet settings with the settings provided by the generalization of the astronomical telescope, one can find that they coincide. But though this solution is already known, we still made a useful step. We proved that it is the only solution for the four-lens telescope with equal magnifications possible.
B.3 Telescopes with nonequal magnifications and special ratio of entrance and exit drifts
The remaining case to analyze is the case (168), which we will study under the additional assumptions that the length of the entrance drift is nonzero and that the horizontal and vertical magnifications are not equal to each other, because these situations were already considered in the previous subsections, i.e., we will study telescopes with nonequal magnifications and with the special ratio of the entrance and exit drifts given by the relation (168). The system for analysis is the system (160), and the necessary and sufficient conditions for such a telescope to exist are that . If these conditions are satisfied, then all possible solutions can be expressed as follows:
(190) |
(191) |
(192) |
(193) |
(194) |
(195) |
(196) |
where the are given by the formulas (179) and the free parameters are and satisfying the inequality
(197) |
The solution (190)-(196) has two continuous branches which are defined by the value of the parameter . In the limit the branch corresponding to
(198) |
survives and converges to the solution (173)-(176), and the other branch diverges with and going to infinity.
(199) |
(200) |
(201) |
(202) |
(203) |
Note that these inversors include the previously known solution for the inversor Autin as a partial case. To see that one has first to set and , where
(204) |
Appendix C FODO-Type Beam Line for Independent Scan of Horizontal and Vertical Phase Advances
In this Appendix we will apply the explicit solution developed in this paper to the design of a beam line which allows an independent scan of the horizontal and the vertical phase advances while preserving the entrance and exit matching conditions for the Twiss parameters. Even though the purely numerical approach to this problem could result in a smaller number of lenses than we will use, it is not an easy task. Besides the requirements to cover the specified range of phase advances and to preserve the entrance and exit matching condition, there are a number of additional constraints which one has to satisfy. They could include, for example, limitations on the lens strengths and limitations on the changes in the behavior of the betatron functions inside the beam line during the phase scan. For each lens, the outcome of the numerical optimization is a two-dimensional array of the lens settings corresponding to the chosen grid in the space of phase advances. Every change in the design specifications (which often happens during the design stage) results in the necessity to repeat all optimization procedures with no warranty that the new output will be close to the previous one even for relatively small changes in the input requirements.
The advantage of our approach is that most of the design problems can be addressed without resorting to unguided numerical calculations and that the lens settings required for obtaining the needed horizontal and vertical phase advances can be calculated according to explicit analytical formulas.
Note that our interest in this problem is motivated by the desire to have in the future the possibility for minimization of emittance growth due to coherent synchrotron radiation (CSR) at the European XFEL Facility XFEL by optimizing the phase advance between two bunch compressors chicanes.
Let us consider a FODO cell of the length which begins with a drift space of the length and let us assume that the first lens is horizontally focusing with the absolute value of its strength equal to the value
(205) |
It is a FODO cell with phase advance and its periodic Twiss parameters are as follows:
(206) |
Let us now take a string of six such FODO cells. Comparing the value (205) with the values (51), one sees that if we freeze the settings of the six lenses to their original FODO settings
(209) |
and allow the strengths of the remaining lenses to be variable parameters, then we will obtain the sequence of three four-lens blocks with decoupled transverse actions. We know that with the help of three blocks we can represent most of the uncoupled transfer matrices and let us see what range of phase advances our beam line can cover while preserving the periodic matching conditions (206) for the Twiss parameters. To keep this matching and, in the same time, to have predefined fractional parts of phase advances and , the overall transfer matrix of our beam line must have the form
(210) |
where
(213) |
and are the same as in (206), and is a rotation matrix
(216) |
Following now the procedure described in Sec. III of this paper, one finds that for all the matrix (210) can be represented by three blocks with decoupled transverse actions and that for all the solution for the lens strengths is unique. As concerning points where either or is equal to , there are many solutions, but it is possible to choose one of them such that on the whole set the lens strengths will be continuous functions of the phase advances. The final formulas for the lens settings can be summarized as follows:
(217) |
(218) |
(219) |
(220) |
where
(221) |
and
(222) |
(223) |
for , and
(224) |
for .
What is in particular interesting in this solution is the fact that, though with changing phase advances the setting of six lenses varies, only four independent tuning knobs are required ( and ).
If and/or approach the value , then the strengths of some lenses in our solution go to infinity, but if we restrict the region of our interest, for example, to the region , then the lens strengths remain bounded and satisfy the inequality
(225) |
which, in particular, means that in this phase advance region none of the lenses change its polarity in comparison with their original FODO settings. If, in addition, the scan of only is required with , then the inequality (225) is further relaxed to the inequality
(226) |
for , and to the inequality
(227) |
for .






Concerning the changes in the behavior of the betatron functions inside the beam line during the phase scan, then, for example, for all the betatron functions in each position along the beam line satisfy the inequalities
(228) |
where
(229) |
are the minimum and the maximum of the periodic FODO solution. In more details the behavior of the betatron functions along the beam line can be seen in Figs. 1-6, where they are drawn for the several values of taken on the borders of the considered area and for the FODO cell length chosen to be one meter.
The presented beam line for the scan of the phase advances is simple, rather elegant and, in the same time, can cover quite a range of phase advances with not very large changes in the lens strengths as compared to their original FODO settings. It can also be adopted to the needs of the European XFEL, where the linac between the two bunch compressors has exactly six FODO cells and two additional quadrupole groups (matching sections) are available at both linac ends.
Note that it is not necessary to keep the periodic matching conditions (206). Any two sets of Twiss parameters can be fixed at the beam line ends, but one has to remember that the choice of them will affect the position of singularities of the solution obtained with the help of the three blocks with decoupled transverse actions. To avoid singularities completely and/or to have additional knob for the control of the betatron functions inside the beam line, one can switch to the solution which utilizes four blocks or to the solution with three blocks plus one additional lens. As described in Sec. IV of this paper, the equal spacing of lenses can also be abandoned, if required.
References
- (1) E.Regenstreif, Phase-space transformation by means of quadrupole multiplets, CERN 67-6, March 1967.
- (2) E.Regenstreif, Possible and impossible phase-space transformations by means of alternating-gradient doublets and triplets, CERN 67-8, March 1967.
- (3) K.L.Brown, R.V.Servranckx, Optics modules for circular accelerator design, NIM A258, 1987.
- (4) B.W.Montague, F.Ruggiero, Apochromatic Focusing for Linear Colliders, CLIC-Note 37, May 1987.
- (5) B.Zotter, Design considerations for a chromatically corrected final focus for TeV colliders, CLIC-Note 64, June 1988.
- (6) O.Napoly, Thin lens telescopes for final focus systems, CERN/LEP-TH/89-69, CLIC Note 102, November 1989.
- (7) E.T.d’Amigo, G.Guignard, Analysis of generic insertions made of two symmetric triplets, CERN SL/98-014(AP), May 1998.
- (8) T.Roser, Decoupled Beam Line Tuning, AGS/AD/Tech. Note No. 357, January 1992.
- (9) N.J.Walker, J.Irwin, M.Woodley, Global Tuning Knobs for the SLC Final Focus, Proceedings of PAC’93, Washington, DC, USA.
- (10) D.Cox, J.Little, D.O’Shea, Ideals, Varieties, and Algorithms: An Introduction to Computational Algebraic Geometry and Computer Algebra, Undergraduate Texts in Mathematics. Springer, New York, 1992.
- (11) Y-Chiu Chao, J.Irwin, Solution of a three-thin-lens system with arbitrary transfer properties, SLAC-PUB-5834, October 1992.
- (12) P.M.Cohn, On the structure of the of a ring, Publ. Math. I.H.E.S., No.30, Paris, p.5-53 (1966).
- (13) B.Autin, C.Carli, T.D’Amico, O.Grbner, M.Martini, E.Wildner, Beam Optics: A program for analytical beam optics, CERN-98-06, August 1998.
- (14) M.Altarelli, R.Brinkmann et al. (Eds), XFEL: The European X-Ray Free-Electron Laser. Technical Design Report, DESY 2006-097, DESY, Hamburg, 2006.