 Application Center - Maplesoft

# Classroom Tips and Techniques: Caustics for a Plane Curve

You can switch back to the summary page by clicking here. Classroom Tips and Techniques: Caustics for a Plane Curve Robert J. Lopez

Emeritus Professor of Mathematics and Maple Fellow

Maplesoft  Introduction A caustic is the envelope of lines reflected from a plane curve. If a line from a fixed point P to a point Q on a curve C "reflects" in such a way that the angle of incidence with the normal to C equals the angle of reflection, then the envelope of all such lines emanating from P and reflecting at C is called a caustic.   In an earlier article (Sliders for Parameter-Dependent Curves) we showed several ways Maple could produce graphs of parameter-dependent curves. In particular, we used sliders to control the parameters in the limaçon and in the conchoid of a plane curve. In this article, we examine the caustics of a plane curve, and show how Maple can be used to visualize the parameter-dependence of such curves.

Parametric Representation of a Caustic Let P: be a fixed point not on the plane curve C that is given by . Let Q on C have coordinates . (See Figure 1.) Then is a vector from Q to P. The component of U along n, the normal to C at Q, is , and its orthogonal complement is . The reflection of U across n is then An equation for L, the line along V, is , or . The envelope of all such lines L is defined parametrically as by the equations .

Imagining C to be concave up, we take its normal at Q as . The caustic is now completely determined by and the point P. Although Maple can provide explicit expressions for and , these expressions are very large and unwieldy. As we attempt to draw caustics for some test curves, we find that it is more efficient to apply to each specific function the calculations just detailed. >

Figure 1   The curve C, the points P and Q, and the vectors U, n (red), (green) and (gold) A General Representation of a Caustic Table 1 summarizes the calculations needed for obtaining the general parametric expressions for a caustic. The Student LinearAlgebra package is used to coerce the dot product operator to treat all quantities as real, thereby preventing Maple from applying conjugation.

 • Tools_Load Package: Student Linear Algebra

 • Define the normal n. • Define the vector U from Q to P. • Obtain , the projection of U on n. • Obtain V, the reflection of U across n. • Obtain , a simplified version of the left-hand side of the equation . • Obtain the envelope of the family of lines L defined by . Since this expression will contain both D and diff, convert all derivatives to a single form (diff).  • Extract and . Table 1   General representation of a caustic

The reader is free to inspect the expressions for and . They are too large to include here. Alternatively, we evaluate for the parabola and P: .  =  The caustic of even a parabola is a complicated curve, as suggested by Figure 2, a graph of just .  Figure 2   Graph of for the caustic of  A Tool for Caustic Curves The following tool, built with Embedded Components, provides the caustic for a given curve and fixed point. As the fixed point, indicated by the green dot in the figure, is dragged about the plotting window, the corresponding caustic curve is superimposed (in red) on the black graph of the given curve. Vertical bounds are critical since the parametric representations of the caustics can, for small values of the parameter, have remarkably large values.  The code for any component can be seen by selecting "Component Properties" from the Context Menu for the component. The "Initial Caustic" button serves as an initializer; press it after making changes in the data. The fixed point P returns to the geometric center of the plot window, and the corresponding caustic is displayed.        As we designed and tested this tool, we used , and as test cases. As the fixed point is moved across the curve C, the caustic that results can assume some very complicated shapes. Visualizing the Reflections Given the unusual shapes some caustics assume, it behooved us to verify that these curves were indeed tangent to the lines of reflection. We considered controlling the reflected line with a slider as per the devices detailed in the earlier article (Sliders for Parameter-Dependent Curves), but opted instead for a simpler approach afforded by the animate command. The code in Table 2 generates a caustic for a given fixed point; the resulting graph is used as a background for the animation of the line of reflection. Table 2   Code that graphs a caustic for a given fixed point Figure 2 contains the animation of the (blue) line of reflection for a given caustic. The slider in the animation toolbar will control the movement of the line across the caustic. At each point along the caustic, the blue line is tangent. Hence, the caustic is the envelope of all such lines.   Figure 3   Animation of the line of reflection

The commands that generate Figures 1-3 are hidden in the table cells that contain the figures. Legal Notice: © Maplesoft, a division of Waterloo Maple Inc. 2012. Maplesoft and Maple are trademarks of Waterloo Maple Inc. This application may contain errors and Maplesoft is not liable for any damages resulting from the use of this material. This application is intended for non-commercial, non-profit use only. Contact Maplesoft for permission if you wish to use this application in for-profit activities. 