1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684
|
arXiv:1701.00109v1 [math.NA] 31 Dec 2016
ELASTIC SPLINES II: UNICITY OF OPTIMAL S-CURVES AND G2 REGULARITY OF SPLINES
Albert Borbely & Michael J. Johnson
Abstract. Given points P1, P2, . . . , Pm in the complex plane, we are concerned with the problem of finding an interpolating curve with minimal bending energy (i.e., an optimal interpolating curve). It was shown previously that existence is assured if one requires that the pieces of the interpolating curve be s-curves. In the present article we also impose the restriction that these s-curves have chord angles not exceeding /2 in magnitude. With this setup, we have identified a sufficient condition for the G2 regularity of optimal interpolating curves. This sufficient condition relates to the stencil angles {j }, where j is defined as the angular change in direction from segment [Pj-1, Pj ] to segment [Pj, Pj+1]. A distinguished angle ( 37) is identified, and we show that if the stencil angles satisfy |j | < , then optimal interpolating curves are globally G2.
As with the previous article, most of our effort is concerned with the geometric Hermite interpolation problem of finding an optimal s-curve which connects P1 to P2 with prescribed chord angles (, ). Whereas existence was previously shown, and sometimes uniqueness, the present article begins by establishing uniqueness when || , || /2 and | - | < .
1. Introduction
Given points P1, P2, . . . , Pm in the complex plane C with Pj = Pj+1, we are concerned with the problem of finding a fair curve which interpolates the given points. The present contribution is a continuation of [3] and so we adopt much of the notation used there. In particular, an interpolating curve is an absolutely-continuously differentiable function F : [a, b] C, with F non-vanishing, for which there exist times a = t1 < t2 < < tm = b such that F (tj) = Pj. We treat F as a curve consisting of m - 1 pieces; the j-th piece of F , denoted F[tj,tj+1], runs from Pj to Pj+1. It is known (see [2]) that there does not exist an interpolating curve with minimal bending energy, except in the trivial case when the interpolation points lie sequentially along a line. In [3], it was shown that existence is assured if one imposes the additional condition that each piece of the interpolating curve be an s-curve. Here, an s-curve is a curve which first turns monotonically at most 180 in one direction (either counter-clockwise or clockwise) and then turns monotonically at
1991 Mathematics Subject Classification. 41A15, 65D17, 41A05. Key words and phrases. spline, nonlinear spline, elastica, bending energy, curve fitting, interpolation. This work was supported and funded by Kuwait University, Research Project No. SM 01/14
Typeset by AMS-TEX
1
2
ELASTIC SPLINES II
most 180 in the opposite direction. Incidentally, a c-curve is an s-curve which turns in
only one direction, and a u-turn is a c-curve which turns a full 180. Associated with an
s-curve f : [a, b] C (see Fig. 1) are its breadth L = |f (b) - f (a)| and chord angles
(, ), defined by
=
arg
f
f (b)
(a) - f (a)
,
=
arg
f
f (b)
(b) -f
(a)
,
where arg is defined with the usual range (-, ].
Fig. 1 (a) optimal s-curve of Form 1
(b) optimal s-curve of Form 2
Note that although the chord angles are signed, our figures only indicate their magnitudes.
The chord angles (, ) of an s-curve necessarily satisfy
(1.1)
||, || < and | - | .
Defining
A(P1, P2, . . . , Pm)
to be the set of all interpolating curves whose pieces are s-curves, the main result of [3] is
that A(P1, P2, . . . , Pm) contains a curve (called an elastic spline) with minimal bending
energy. Most of the effort in [3] is devoted to proving the existence of optimal s-curves.
Specifically, it is shown that given distinct points P, Q and angles (, ) satisfying (1.1),
the set of all s-curves from P to Q with chord angles (, ) contains a curve with minimal
bending energy.
Denoting the bending energy of such an optimal s-curve by
1 L
E(,
),
it is also shown that E(, ) depends continuously on (, ). In the constructive proof
of existence, all optimal s-curves are described, but uniqueness is only proved in the case
when the optimal curve is a c-curve, but not a u-turn. An optimal s-curve is of Form 1
(resp. Form 2) if it does not (resp. does) contain a u-turn. Optimal s-curves of Form 1
are either line segments or segments of rectangular elastica (see Fig. 1 (a)) while those of
Form 2 (see Fig. 1 (b)) contain a u-turn of rectangular elastica along with, possibly, line
segments and a c-curve of rectangular elastica.
Elastic splines were computed in a computer program Curve Ensemble, written in con-
junction with [9], and it was observed that the fairness of elastic splines can be significantly
degraded when pieces of Form 2 arise. As a remedy, it was suggested that elastic splines
be further restricted by requiring that chord angles of pieces satisfy
(1.2)
|| , ||
2
.
This additional restriction, which is stronger than (1.1), also greatly simplifies the numerical computation and theoretical development, and for these reasons, we have elected to
UNICITY OF OPTIMAL S-CURVES AND G2 REGULARITY OF SPLINES
3
adopt this restriction and so define
A/2(P1, P2, . . . , Pm)
to be the set of curves in A(P1, P2, . . . , Pm) whose pieces have chord angles satisfying (1.2). Curves in A/2(P1, P2, . . . , Pm) with minimal bending energy are called restricted elastic splines.
In Section 3, we show that if (1.2) holds and (, ) {(/2, -/2), (-/2, /2)}, then the optimal s-curve from P to Q, with chord angles (, ), is unique and of Form 1. The omitted cases correspond to u-turns (see Fig. 2 (a)) which fail to be unique only because one can always extend a u-turn with line segments without affecting optimality. Nevertheless, the u-turn of rectangular elastica (see Fig. 2 (b)) is the unique C optimal s-curve when (, ) {(/2, -/2), (-/2, /2)}. We mention, belatedly, that the optimality of the u-turn of rectangular elastica was first proved by Linner and Jerome [11].
Fig. 2 (a) optimal u-turn
(b) u-turn of rectangular elastica.
With unicity of optimal s-curves in hand, we can then appeal to the framework developed
in [9] for assistance in proving existence and G2-regularity of restricted elastic splines. The
following will be proved in Section 4.
Proposition 1.1. The set A/2(P1, P2, . . . , Pm) contains a curve Fopt with minimal bend-
ing energy. Moreover, if F A/2(P1, P2, . . . , Pm) has minimal bending energy, then each piece of F is G2.
Remark. When discussing geometric curves, the notions of geometric regularity, G1 and G2, are preferred over the more familiar notions of parametric regularity, C1 and C2. A curve F has G1 regularity if its unit tangent direction changes continuously with respect to arclength and it has G2 regularity if, additionally, its signed curvature changes continuously with arclength. By our definition of curve (given at the outset), all curves are G1, but not necessarily G2.
The main concern of the present contribution is to identify conditions under which a restricted elastic spline Fopt will be globally G2. This direction of inquiry is motivated by a result of Lee & Forsyth [10] (see also Brunnett [4]) which says that if an interpolating curve
F has bending energy which is locally minimal (i.e., minimal among all `nearby' interpolating curves), then F is globally G2. The proofs in [10] and [4] employ variational calculus,
but we prefer the constructive approach of [9] for its clarity and generality. We now explain our results on G2 regularity assuming that Fopt is a curve in A/2(P1, P2, . . . , Pm) having minimal bending energy. Note that it does not follow from Proposition 1.1 that Fopt is globally G2 because it is possible for the signed curvature to have jump discontinuities
across the interior nodes P2, P3, . . . , Pm-1. The following is a consequence of Theorem 4.4.
4
ELASTIC SPLINES II
Corollary
1.2.
If
the
chord
angles
at
interior
nodes
are
all
(strictly)
less
than
2
in
magnitude, then Fopt is globally G2.
Proposition 1.1 and Corollary 1.2 are analogous to results of Jerome and Fisher [7, 8, 5] in that first additional constraints are imposed in order to ensure existence of an optimal curve, and then it is shown that if these additional constraints are inactive, the optimal curve is globally G2 and its pieces are segments of rectangular elastica. These results are a good start, but they are not entirely satisfying because they shed no light on whether one can expect the added constraints to be inactive.
Our experience using the program Curve Ensemble is that the hypothesis of Corollary 1.2 holds when the interpolation points {Pj} impose only mild changes in direction. This vague idea can be quantified in terms of the stencil angles {j} (see Fig. 3), defined by
j
:=
arg
Pj+1 Pj -
- Pj Pj-1
,
j = 2, 3, . . . , m - 1.
Fig. 3 the stencil angle j
Fig. 4 a globally G2 restricted elastic spline
The following is a consequence of Theorem 4.6.
Corollary 1.3. Let ( 37) be the positive angle defined in (4.2). If the stencil angles satisfy |j| < for j = 2, 3, . . . , m - 1, then the hypothesis of Corollary 1.2 holds and consequently Fopt is globally G2.
For example, the stencil angles in Fig. 4 are all less than and therefore it follows from Corollary 1.3 that the shown restricted elastic spline is globally G2.
An outline of the remainder of the paper is as follows. In Section 2, we summarize some notation from [3] which is needed here, and then in Section 3, as mentioned above, we address the unicity of optimal s-curves. The proofs of our results on G2 regularity are complicated by the fact that they are obtained by combining a variety of related results, and so, for the sake of readability, we will `prove' these results in Section 4, but leave the proofs of two key identities, namely (4.1) and (4.3), to later sections. Furthermore, the proofs given in Section 4 make essential use of the framework established in [9], and so Section 4 begins by defining a basic curve method, called Restricted Elastic Splines, which fits into the framework of [9]. Identities (4.1) and (4.3) are proved in sections 7 and 8, but these proofs require a great deal of preparation (sections 5,6) relating to the chord angles of parametrically defined segments of rectangular elastica. In addition to supporting the proofs in sections 7,8, the preparations done in sections 5,6 are also useful in the efficient numerical computation of restricted elastic splines.
UNICITY OF OPTIMAL S-CURVES AND G2 REGULARITY OF SPLINES
5
2. Summary of Notation
The present contribution uses the same notation as in [3]; we summarize it here. As mentioned above, a curve is a function f : [a, b] C whose derivative f is absolutely
continuous and non-vanishing. The bending energy of f is defined by
f
2
:=
1 4
L
2 ds,
0
where L denotes the arclength of f and its signed curvature (the unusual factor 1/4
is used to simplify some formulae related to rectangular elastica). Let g : [c, d] C
be another curve. We say that f and g are equivalent if they have the same arclength
parametrizations. They are directly similar if there exists a linear transformation T (z) =
c1z+c2 (c1, c2 C) such that f and T g are equivalent; if |c1| = 1, they are called directly
congruent. The notions of similar and congruent are the same except that T is allowed
to have the form T (z) = c1z + c2, where z denotes the complex conjugate of z.
As mentioned earlier, we call f an s-curve if it first turns monotonically at most
180 in one direction and then turns at most 180 in the opposite direction. An s-curve
which turns in only one direction is called a c-curve and a c-curve which turns a full
180 is called a u-turn. A non-degenerate s-curve is called a left-right s-curve if it
first turns clockwise and then turns counter-clockwise; otherwise it is called a right-left
s-curve. S-curves are often associated with a geometric Hermite interpolation problem,
and so to facilitate this we employ the unit tangent vectors u = (f (a), f (a)/|f (a)|) and
v = (f (b), f (b)/|f (b)|) to say that f connects u to v. If g : [c, d] C is a curve
satisfying (g(c), g(c)/|g(c)|) = (f (b), f (b)/|f (b)|), then f g denotes the concatenated
curve which, for the sake of clarity, is assumed to have the arclength parametrization.
Most of the s-curves which we will encounter are segments of rectangular elastica; our
preferred parametrization is R(t)
=
sin t+i (t), where (t) is defined by
d dt
=
sin2 t , 1 + sin2 t
(0) = 0. One easily verifies that is odd and satisfies (t + ) = d + (t), where d := ().
Since the sine function is odd and 2-periodic, we conclude that R(t) is odd and satisfies
R(t + 2) = i 2d + R(t). For later reference, we mention the following.
|R(t)| =
1
,
1 + sin2 t
R(t) |R(t)|
=
cos t
1 + sin2 t + i sin2 t,
R[a,b]
2
=
1 4
b
(t)2|R(t)| dt = (b) - (a),
a
(t) = 2 sin t,
where R[a,b] denotes the restriction of R to the interval [a, b].
6
ELASTIC SPLINES II
3. Unicity of optimal s-curves
Let , (-, ] and set u = (0, ei) and v = (1, ei). The set S(, ), defined to be the set of all s-curves connecting u to v, was intensely studied in [3], and it is easy to verify that S(, ) is non-empty if and only if (, ) F , where
F := {(, ) : || , || < and | - | }.
It is shown in [3] that if S(, ) is non-empty, then S(, ) contains a curve with minimal bending energy; that is, there exists a curve fopt S(, ) such that fopt 2 f 2 for
all f S(, ). The bending energy of fopt is denoted
(3.1)
E(, ) := fopt 2, (, ) F .
Let Sopt(, ) denote the set of all arclength parameterized curves in S(, ) whose bending
energy is minimal. In [3], every curve in Sopt(, ) is `described', but uniqueness is only
established in a few cases. In the present section, we obtain uniqueness results (Theorem
3.1)
for
the
case
when
(, )
belongs
to
the
square
[-
2
,
2
]2
(note
that
[-
2
,
2
]2
is
the
largest square of the form [-, ]2 which is contained in F ).
Theorem
3.1.
Assume
(,
)
[-
2
,
2
]2.
Then
Sopt(, )
contains a
unique
C
curve
c1(, ). Moreover, the following hold.
(i) If | - | < , then Sopt(, ) = {c1(, )}.
(ii) If | - | = , then every curve in Sopt(, ) is C2.
(iii) If (, ) = (0, 0), then there exist t1 < t2 < t1 + 2 such that c1(, ) is directly
similar to R[t1,t2].
Since the bending energy of a curve is invariant under translations, rotations, reflections
and reversals (of orientation), when proving items (i) and (ii), we can additionally assume,
without loss of generality, that ||. This reduction is also valid for item (iii) since
R[t1+,t2+] is directly congruent to reflections of R[t1,t2] and R[-t2,-t1] is directly congruent to the reversal of R[t1,t2]. Our proof of Theorem 3.1 uses some definitions and results from [3] which are posed assuming
(3.2)
(0, ), || , > - .
In [3, section 5], the following functions of := [ - , ] (-, 0) are introduced:
y1
:=
y1()
:=
1 2
- sin d
0
y2
:=
y2()
:=
1 2
- sin d
0
G()
:=
-
1 sin
(y1
+
y2)2
()
:=
cos
+
sin y1 + y2
(
sin( - ) +
q()
:=
- sin y1 + y2
sin( - ))
UNICITY OF OPTIMAL S-CURVES AND G2 REGULARITY OF SPLINES
7
If 0, then all curves in S(, ) are non-degenerate right-left s-curves and so the same is true of Sopt(, ). In contrast, if < 0 then S(, ) contains right c-curves as well as non-degenerate s-curves (both right-left and left-right). Nevertheless, it turns out that
the curves in Sopt(, ) are all of the same flavor. The discriminating factor, when < 0, is the quantity ():
If () > 0, then all curves in Sopt(, ) are non-degenerate right-left s-curves, while if () 0, then the unique curve in Sopt(, ) is a right c-curve.
Regarding the latter case, we have the following which follows from [3, Theorem 6.2].
Theorem 3.2. Let (3.2) be in force and assume that < 0 and () 0. Then there exists a unique C curve c(, ) such that Sopt(, ) = {c(, )}. Furthermore, there exist - < t1 < t2 0 such that c(, ) is directly similar to R[t1,t2].
The following lemma and proposition are consequences of [3, Lemma 5.11] and [3, Corollary 5.12 and Remark 5.10], respectively.
Lemma 3.3. Assume (3.2). The function G : (0, ) is continuously differentiable,
has
a
minimum
value
Gmin,
and
satisfies
d d
G(
)
=
1 q(
)2
(
)
for
all
.
Proposition 3.4. Let (3.2) be in force and in case < 0, assume () > 0. Suppose that there exists , with > - , such that G is uniquely minimized at (i.e., G() = Gmin and G() > Gmin for all \{}). Then () = 0 and there exists a unique C curve c(, ) such that Sopt(, ) = {c(, )}. Moreover, E(, ) = Gmin and c(, ) is directly similar to R[t1,t2], where - < t1 < 0 < t2 < are uniquely determined by arg R(t1) = - and arg R(t2) = - .
Remark. That the above conditions arg R(t1) = - and arg R(t2) = - do determine - < t1 < 0 < t2 < uniquely can be verified by first noting that arg R(t) decreases continuously from to 0, as t runs from - to 0, and then increases continuously back up to as t runs from 0 to . Now, since (3.2) holds, , and > - , it follows that 0 < - < and 0 - < . What remains is to show that 0 < - . If 0, then 0 < - is clear since < 0. If < 0, then we cannot have = because () > 0 while () = 0; therefore, 0 < - .
We now begin the proof of Theorem 3.1, and, as mentioned above, it suffices to prove the theorem in the canonical case when (, ) [-/2, /2]2 satisfy ||. We begin with two specific cases.
Proof of Theorem 3.1 in case (, ) = (0, 0). In this case, it is easy to verify that Sopt(0, 0) contains only the line segment from 0 to 1.
Proof of
S
(
2
,
-
2
Theorem
3.1
in
case
(,
)
=
(
2
) is a right u-turn and it is shown
,
-
2
).
By definition of an s-curve,
in [3, sections 3,4] that every curve
every curve
in
Sopt(
2
,
-
in
2
)
is either directly similar to R[-,0] or else equals [0, iq] f [1 + iq, 1] where q > 0 and f is
directly similar to R[-,0] (here, [0, iq] and [1 + iq, 1] denote line segments). Among these,
the only where c(
curve
2
,
-
2
which is C is the first one, and ) is the arclength parameterized
ctuhrevreefoinreSS(o2p,t-( 22,)-w2h)ichCis d=ire{cct(ly2
,
-
2
)},
similar
to R[-,0]. Since the signed curvature of R[-,0] vanishes at the endpoints, it follows that
all
curves
in
Sopt(
2
,
-
2
)
are
C2,
which
proves
item
(ii).
8
ELASTIC SPLINES II
Having proved Theorem 3.1 in these two specific cases, we proceed assuming that
(3.3)
(0, /2], || , > -/2,
and we note that (3.3) implies (3.2).
Lemma 3.5. Assume (3.3) and let . The following hold. (i) If (, ) = (/2, /2) and -/2 , then () < 0. (ii) If (, ) = (/2, /2), then (-/2) = 0 but there exists > 0 such that () < 0 for all (-/2, -/2 + ]. (iii) If () = 0 and -/2 < < , then () > 0.
Proof. We first note that y1 > 0, y2 0, and is continuous on . And since both sin( - ) and sin( - ) are positive for in the interior o := ( - , ) (-, 0), it follows that is C1 on o. Defining H() := y1 + y2, , we have
H
()
=
-
1 2
sin( - ) +
sin( - ) ,
H ( )
=
1 4
cos( - ) + cos( - ) sin( - ) sin( - )
and it follows that H is C1 on and C2 on o. Moreover, we note that H is positive on , while H() < 0 for all except when - = = = /2. We can express in
terms of H as
(3.4)
()H() = cos H() - 2 sin H(), ,
and then differentiation yields (3.5) ()H() + ()H() = - sin H() - cos H() - 2 sin H(), o.
We first prove (i): Assume (, ) = (/2, /2) and -/2. Then H() > 0, cos 0, H() < 0 and sin < 0, and it follows easily from (3.4) that () < 0. We next prove (ii): Assume (, ) = (/2, /2). Then = [-/2, 0) and it is clear from the definition of that (-/2) = 0. In order to prove (ii), it suffices to show that () - as -/2+. Now, H(-/2) > 0, H(-/2) = 0, but H() - as -/2+. It therefore follows from (3.5) that () - as -/2+. Lastly, we prove (iii): Assume () = 0 and -/2 < < . Since () = 0 and cos > 0,
it follows from the definition of that y1 + y2 = - tan sin( - ) + sin( - ) ; that is, H() = 2 tan H(). Substituting this into (3.5) then yields
()H() = - sin (2 tan H() + 2H()) - cos H()
= - 1 tan (4 sin H() + 4 cos H()) - cos H() 2
Since H(), -H(), - sin , and cos are positive, in order to prove that () > 0, it suffices to show that 4 sin H() + 4 cos H() is nonnegative. Using the above formulations for H() and H() and the identity cos(x + y) = cos x cos y - sin x sin y,
UNICITY OF OPTIMAL S-CURVES AND G2 REGULARITY OF SPLINES
9
it is easy to verify that 2 sin H() + 4 cos H() = cos + cos . Hence,
sin(-)
sin(-)
4 sin H() + 4 cos H() = 2 sin H() + cos + cos > 0.
sin(-)
sin(-)
Proof of Theorem 3.1 in case (3.3) holds and < 0. If () 0, then Theorem 3.1 is an immediate consequence of Theorem 3.2; so assume that () > 0. Note that = [ - , ] and, by Lemma 3.5 (i), () < 0 for all [ - , -/2]. Since is continuous and () > 0, it follows that there exists (-/2, ) such that () = 0. It follows from Lemma 3.5 (iii) that is the only (-/2, ) where vanishes. Therefore, () < 0 for [ - , ) and () > 0 for (, ]. It now follows from Lemma 3.3 that G is uniquely minimized at and we obtain Theorem 3.1 as a consequence of Proposition 3.4.
Proof of Theorem 3.1 in case (3.3) holds and 0. Note that = [ - , 0). It follows from Lemma 3.5 (i) and (ii), and the continuity of , that there exists > 0 such that () < 0 for all ( - , -/2 + ]. From the definition of , it is clear that lim0- () = 1, and hence there exists (-/2 + , 0) such that () = 0. As in the previous case, it follows from Lemma 3.3 that G is uniquely minimized at and we obtain Theorem 3.1 as a consequence of Proposition 3.4.
This completes the proof of Theorem 3.1.
4. The Restricted Elastic Spline and Proofs of Main Results
Although written specifically for s-curves which connect u = (0, ei) to v = (1, ei),
Theorem 3.1 easily extends to general configurations (u, v). To see this, let u = (P1, d1)
and v = (P2, d2) be two unit tangent vectors with distinct base points P1 = P2. The
chord
angles
(, )
determined
by
(u, v)
are
=
arg
d1 P2-P1
and
=
arg
d2 P2-P1
.
With
S(u, v) denoting the set of s-curves which connect u to v, and defining T (z) := (P2 -
P1)z + P1, we see that S(u, v) is in one-to-one correspondence with S(, ) (defined in
Section 3): f S(, ) if and only if T f S(u, v). Moreover, with L := |P2 - P1|,
we have
f
2=
1 L
T f
2.
Now, let us assume that ||, || /2 and let c1(, ) be
the optimal arc-length parametrized curve described in Theorem 3.1. Then T c1(, ) is
an optimal curve in S(u, v) having constant speed L (not necessarily 1), and so we define
c(u, v) to be the arclength parametrized curve which is equivalent to T c1(, ). With
Sopt(u, v) denoting the set of arclength parametrized curves in S(u, v) having minimal
bending energy, Theorem 3.1 translates immediately into the following.
Corollary
4.1.
Let
(u, v)
be
a
configuration
with
chord
angles
(, )
[-
2
,
2
]2.
Then
c(u, v) is the unique C curve in Sopt(u, v). Moreover, the following hold.
(i) If | - | < , then Sopt(u, v) = {c(u, v)}.
(ii) If | - | = , then every curve in Sopt(u, v) is C2.
(iii) c(u, v) is directly similar to c1(, ) and
c(u, v)
2
=
1 L
c1(, )
.
In the framework of [9], the curves {c(u, v)} are called basic curves and the mapping (u, v) c(u, v) is called a basic curve method. We define the energy of basic curves
10
ELASTIC SPLINES II
to be the bending energy. In [9], it is assumed that the basic curve method and energy
are translation and rotation invariant, and this allows one's attention to be focused on the
(canonical) case where u = (0, ei) and v = (L, ei), L > 0. The resulting basic curve
and energy functional are denoted cL(, ) and EL(, ). In our setup, we have the two
additional
properties
that
cL(, )
is
equivalent
to
Lc1(, )
and
EL(, )
=
1 L
E1(,
),
where the latter holds because
EL(, ) :=
cL(, ) 2 =
Lc1(, )
2
=
1 L
c1(, )
2
=
1 L
E1
(,
).
In the language of [9], we would say that the basic curve method is scale invariant and
the energy functional is inversely proportional to scale. This special case is addressed in
detail in [9, sec. 3], and it allows us to focus our attention on the case L = 1 where we
have,
for
(,
)
[-
2
,
2
]2,
the
optimal
curve
c1(,
)
as
described
in
Theorem
3.1
and
its
energy E1(, ) =
c1(, )
2.
Note
that
E1(, ) = E(, )
for
(, )
[-
2
,
2
]2,
where
E(, ) is defined in (3.1). The distinction between E1 and E is that the domain of E1 is
[-
2
,
2
]2,
while
the
domain
of
E
is
the
larger
set
F
(defined
just
above
(3.1)).
In
[3,
sec.
7], it is shown that E is continuous on F and it therefore follows that E1 is continuous on
[-
2
,
2
]2.
The framework of [9] is concerned with the set A/2(P1, P2, . . . , Pm) consisting of all
interpolating curves whose pieces are basic curves, and the energy of such an interpolating
curve F = c(u1, u2) c(u2, u3) c(um-1, um) is define to be the sum of the energies
of its constituent basic curves: Energy(F ) :=
m-1 j=1
c(uj , uj+1) 2 =
F 2. Note that
A/2(P1, P2, . . . , Pm) is a subset of A/2(P1, P2, . . . , Pm) and energy in both sets is defined to be bending energy. Since E1 is continuous on [-/2, /2]2, it follows from [9, Th. 2.3]
that there exists a curve in A/2(P1, P2, . . . , Pm) with minimal bending energy.
Remark. Whereas curves in A(P1, P2, . . . , Pm) with minimal bending energy are called
elastic splines, such curves in A/2(P1, P2, . . . , Pm) are called restricted elastic splines. The following lemma will be needed in our proof of Proposition 1.1.
Lemma 4.2. Given F A/2(P1, P2, . . . , Pm), let u1, u2, . . . , um be the unit tangent vectors, with base-points P1, P2, . . . , Pm, determined by F , and define
F := c(u1, u2) c(u2, u3) c(um-1, um) A/2(P1, P2, . . . , Pm).
Then
F 2
2
F.
The proof of the lemma is simply that the j-th piece of F has bending energy at least c(uj, uj+1) 2 because it belongs to S(uj, uj+1) while c(uj, uj+1) belongs to Sopt(uj, uj+1).
Proof of Proposition 1.1. Since A/2(P1, P2, . . . , Pm) is a subset of A/2(P1, P2, . . . , Pm) and the former contains a curve with minimal bending energy, it follows immediately from
Lemma 4.2 that the latter contains a curve with minimal bending energy. Now, assume
F A/2(P1, P2, . . . , Pm) has minimal bending energy, and let F be as in Lemma 4.2. Then F 2 = F 2 and we must have F[tj,tj+1] 2 = c(uj , uj+1) 2 for j = 1, 2, . . . , m - 1.
UNICITY OF OPTIMAL S-CURVES AND G2 REGULARITY OF SPLINES
11
Hence F[tj,tj+1] is equivalent to a curve in Sopt(uj, uj+1) and it follows from Theorem 3.1 that F[tj,tj+1] is G2.
The following definition is taken from [9, sec. 3].
Definition. Let F A/2(P1, P2, . . . , Pm) have minimal bending energy and let (j, j+1) be the chord angles of the the j-th piece of F . We say that F is conditionally G2 if F is G2 across Pj whenever the two chord angles associated with node Pj satisfy |j|, |j| < /2.
Let a(f ) and b(f ) denote, respectively, the initial and terminal signed curvatures of a curve f . The following result is an amalgam of [9, Th. 3.3 and Th. 3.5].
Theorem 4.3. If there exists a constant R such that
(4.1)
-a(c1(,
))
=
E1(,
)
and
b(c1(,
))
=
E1(,
)
for
all
(,
)
[-
2
,
2
]2
with
|
-
|
<
,
then
minimal
energy
curves
in
A/2(P1,
P2,
.
.
.
,
Pm)
are conditionally G2.
Remark.
Although [9, Th.
3.3]
is
stated
assuming
that
(4.1)
holds
for
all
(,
)
[-
2
,
2
]2,
the given proof remains valid under the weaker assumption that (4.1) holds for all (, )
[-
2
,
2
]2
with
|
-
|
<
.
In the following sections, culminating in Theorem 7.1, we will show that condition (4.1)
holds with = 2. Together, Theorem 4.3 and Theorem 7.1 imply that minimal energy
curves in A/2(P1, P2, . . . , Pm) are conditionally G2; we can now prove that this also holds for the larger set A/2(P1, P2, . . . , Pm).
Theorem 4.4. Let F A/2(P1, P2, . . . , Pm) have minimal bending energy. Then F is G2 across Pj (i.e., b(F[tj-1,tj]) = a(F[tj,tj+1])) whenever the two chord angles associated
with node Pj satisfy |j|, |j| < /2.
Proof. Let F A/2(P1, P2, . . . , Pm) be as in Lemma 4.2, and let j {2, 3, . . . , m - 1} be such that |j|, |j| < /2. By Theorem 4.3 and Theorem 7.1, F is G2 across Pj. The chord angles of the j-th piece of F are (j, j+1) and since |j| < /2, we must have |j+1 - j| < and it follows from Corollary 4.1 (i) that the j-th piece of F is equivalent
to the j-th piece of F . Similarly, since |j | < /2, the (j - 1)-th piece of F is equivalent
to the (j - 1)-th piece of F . We therefore have
b(F[tj-1,tj ]) = b(F[tj-1,tj ]) = a(F[tj,tj+1]) = a(F[tj ,tj+1]).
For t (0, ], let the chord angles of R[0,t] be denoted (0, t) and (0, t) (these definitions will be extended in Section 5). In Corollary 5.5, we show that there exists a unique t (0, )
12
ELASTIC SPLINES II
such
that
(0, t)
=
2
.
Let
(see
Fig.
5)
denote
the
positive
angle
defined
by
(4.2)
:=
2
-
(0, t)
.
Fig. 5
Our main result on G2 regularity is obtained as a consequence of the following theorem which is essentially [9, Theorem 5.1] but specialized to the present context.
Theorem
4.5.
Suppose
that
for
every
[-
2
,
2
]
there
exists ,
with
| |
2
-
,
such that
(4.3)
sign
E1
(,
)
= sign( - )
for
all
satisfying
||
2
and
| - | < .
Let F A/2(P1, P2, . . . , Pm) be a curve with minimal bending energy. If Pj is a point where the stencil angle j satisfies |j| < , then the two chord angles associated with node Pj satisfy |j|, |j| < /2 and, consequently, F is G2 across node Pj.
Proof. Employing the symmetry E1(, ) = E1(, ), conditions (i) and (ii) in the hypothesis of [9, Theorem 5.1] reduce simply to the single condition
(4.4)
sign
E1(,
)
= sign( - )
for
all
||
2
.
and therefore Theorem 4.5, with (4.3) replaced by (4.4), is an immediate consequence of [9,
Theorem 5.1]. Note that the only distinction between (4.3) and (4.4) is that (4.3) is mute
when (, ) equals (/2, -/2) or (-/2, /2). With a slight modification (specifically: rather than showing that f () > 0 and f (2 -) < 0, one instead shows that there exists > 0 such that f () > 0 for - < < and f () < 0 for 2 - < < 2 - + ), the proof of [9, Theorem 5.1] also proves Theorem 4.5.
Remark. The appearance of (4.3), rather than (4.4), in Theorem 4.5 is simply a conse-
quence
of
the
fact
that
E1(,
)
=
0
when
(, )
equals
(/2, -/2)
or
(-/2, /2).
This distinction is not without consequence. In [9, Theorem 5.1], the conclusion is obtained
when i , while in Theorem 4.5 we require i < . In Section 8, we prove that (4.3) holds and we therefore obtain the conclusion of Theorem
4.5 regarding minimal energy curves in A/2(P1, P2, . . . , Pm). We will now show that the same holds for the larger set A/2(P1, P2, . . . , Pm).
UNICITY OF OPTIMAL S-CURVES AND G2 REGULARITY OF SPLINES
13
Theorem 4.6. Let F A/2(P1, P2, . . . , Pm) have minimal bending energy. Then F is G2 across Pj whenever the stencil angle satisfies |j| < .
Proof. Let F A/2(P1, P2, . . . , Pm) be as in Lemma 4.2, and let j {2, 3, . . . , m - 1} be
such that |j| < . It follows from Theorem 4.5 and Section 9 that the two chord angles
at
node
Pj
satisfy
|j | , |j|
<
2
,
and
therefore,
by
Theorem
4.4,
F
is
G2
across
Pj .
5. The chord angles of R[t1,t2]
In this section and the next, we establish relations between the parameters (t1, t2),
with t1 < t2, and the chord angles (, ) of the segment R[t1,t2] of rectangular elastica (defined in Section 2). Our primary purpose in this section is to prove Theorem 5.3 and
Corollary 5.4.
Recall
from
Section
2
that
the
chord
angles
are
given
by
:=
(t1,
t2)
=
arg
R (t1 ) R(t2 )-R(t1 )
and
:=
(t1, t2)
=
arg
R (t2 ) R(t2 )-R(t1
)
.
We mention that since (t) is increasing, it follows
that the chord angles (t1, t2) and (t1, t2) never equal (i.e., the branch cut in the
definition of arg is never crossed).
Fig. 9 notation for R[t1,t2] Assuming t1 < t2, we introduce the following notation (see Fig. 9):
x := sin(t2) - sin(t1), := (t2) - (t1), l := |R(t2) - R(t1)|,
whereby l2 = (x)2 + ()2 and R[t1,t2] 2 = . We refer to the quantity l R[t1,t2] 2 as the normalized bending energy of R[t1,t2] because this would be the resultant bending energy if R[t1,t2] were scaled by the factor 1/l. Note that if R[t1,t2] is similar to a curve in Sopt(, ) (defined in Section 3), then we have
E(, ) = l R[t1,t2] 2 = l.
Let Q denote the mapping (t1, t2) (, ) so that
(, ) = Q(t1, t2).
14
ELASTIC SPLINES II
We leave it to the reader to verify the following formulae for partial derivatives (these are valid for any sufficiently smooth curve):
(5.1)
t1
=
|R(t1)|
sin l
+
(t1)
t1
=
|R(t1)|
sin l
t2
=
-|R(t2)|
sin l
t2
=
|R(t2)|
- sin l
+ (t2)
The determinant of DQ :=
t1
t2
is therefore given by
t1 t2
(5.2)
det(DQ) = |R(t1)||R(t2)|
(t1)(t2)
+
(t2
)
sin l
-
(t1)
sin l
.
Let the cross product in C be defined by (u1 + iv1) (u2 + iv2) := u1v2 - v1u2. Noting that l|R(t1)| sin = (R(t2) - R(t1)) R(t1) = - cos t1 + (t1)x and l|R(t2)| sin = (R(t2) - R(t1)) R(t2) = - cos t2 + (t2)x, the generic formulation in (5.2) can be
written specifically as:
(5.3)
det(DQ) =
4 sin t1 sin t2
+ 2 sin t2
1 + sin2 t1 1 + sin2 t2 l2 1 + sin2 t2
- l2
2 sin t1 1 + sin2 t1
- cos t2 + (t2)x .
- cos t1 + (t1)x
Note that if both sin t1 = 0 and sin t2 = 0, then det(DQ) = 0.
Lemma 5.1. Suppose (t1, t2) belongs to the first or third set defined in Theorem 5.3. If sin t1 sin t2 = 0, then det(DQ) < 0.
Proof. We prove the lemma assuming t1 = 0 < t2 < since the proof in the other three cases is similar. Since (0) = 0 and > 0, it follows from (5.3) that det(DQ) =
2 sin t2 (-) < 0. l2 1 + sin2 t2
If sin t1 sin t2 = 0, then (5.3) can be factored as
(5.4)
det(DQ) = l2
2 1 + sin2 t1
1 + sin2 t2
sin t1 sin t2 W (t1, t2),
where
W (t1, t2) := 2 +
(x)2
+
cos t2
1 + sin2 t2 sin t2
-
cos t1
1 + sin2 t1 . sin t1
Note that the sign of det(DQ) is the same as that of sin t1 sin t2 W (t1, t2).
Lemma 5.2. If sin t1 sin t2 = 0, then
W t1
=
1 + sin2 t1 ()2
cos t1 sin t1
-
sin t1x
2
0,
1 + sin2 t1
and
W t2
=-
1 + sin2 t2 ()2
cos t2 sin t2
-
sin t2x
2
0.
1 + sin2 t2
UNICITY OF OPTIMAL S-CURVES AND G2 REGULARITY OF SPLINES
15
Proof.
We only prove the result
pertaining to
W t1
since the proof of the other is the same,
mutatis mutandis. Direct differentiation yields
W t1
=
-2(t1)+
-2x
cos t1 + ()2
(x)2(t1)
- sin2 t1 -
which then simplifies to
1 + sin2 t1
+
cos2 t1 sin2 t1
1+sin2 t1
- cos2 t1
sin2 t1
1 + sin2 t1 ,
W t1
=
-2 cos t1x
+
sin2 t1 (x)2
1+sin2 t1
()2
+
1 + sin2 sin2 t1
t1
-
1 + sin2 t1 1 + sin2 t1
=
-2 cos t1x
+
sin2 t1 (x)2
1+sin2 t1
()2
+
cos2
t1 1 sin2
+ t1
sin2
t1
.
A simple computation then shows that this last expression can be factored as stated in the lemma.
Theorem 5.3. There exists a unique t (0, ) such that W (-t, t) = 0. Moreover
det(DQ) < 0 on the following sets:
(i) {(t1, t2) : - t1 < t2 0, (t1, t2) = (-, 0)}, (ii) {(t1, t2) : -t < t1 < 0 < t2 < t} (iii) {(t1, t2) : 0 t1 < t2 , (t1, t2) = (0, )}, (iv) {(t1, t2) : - t < t1 < < t2 < + t}
Proof. For - < t1 < 0 < t2 < , the function W (t1, t2) is analytic in both t1 and t2, and
consequently, it follows from Lemma 5.2 that W (t1, t2) is increasing in t1 and decreasing in
t2. Furthermore, the function W (-t, t) is analytic and decreasing for t (0, ). Note that
if
-
2
t1
particular,
< 0 < t2 W (-t, t) >
2
,
then
sin
t1
<
0 for all t (0,
0 and
2
].
It
it is
is clear easy to
(from verify
(5.4)) that W (t1, (by inspection of
t2) > 0. In (5.4)) that
limt- W (-t, t) = -, and so it follows that there exists a unique t (0, ) such that
W (-t, t) = 0.
If (t1, t2) belongs to set (ii), then W (t1, t2) > W (-t, t2) > W (-t, t) = 0 and since sin t1 sin t2 < 0, it follows that det(DQ) < 0. This proves that det(DQ) < 0 for all (t1, t2)
in set (ii).
We will show that det(DQ) < 0 for all (t1, t2) in set (i). This has already been proved in Lemma 5.1 if 0 = t1 < t2 < or 0 < t1 < t2 = , so assume 0 < t1 < t2 < . As
above, the function W (t, t2) is analytic and increasing for t (0, t2). It is easy to see (by
inspection of (5.4)) that limtt- 2 W (t, t2) = 0, and therefore W (t, t2) < 0 for all t (0, t2); in particular, W (t1, t2) < 0. Since sin t1 sin t2 > 0, we have det(DQ) < 0. This completes
the proof that det(DQ) < 0 for all (t1, t2) in set (i).
Finally, if (t1, t2) belongs to set (iii) or set (iv), then (t1 - , t2 - ) belongs to set (i) or set (ii) and det(DQ(t1, t2)) = det(DQ(t1 - , t2 - )) < 0.
16
ELASTIC SPLINES II
Corollary 5.4. Let
2
.
Moreover,
(0, t)
t is
(0, ) be increasing
as defined for t (0,
in t]
Theorem 5.3. Then t and decreasing for t
>
2
and
[t, ].
(0,
t)
>
Proof.
Since
W (-t, t) > 0
for
t
(0,
2
],
it
is
clear
that
t
>
2
.
Since
W (-t, t) = 0,
it
follows from (5.4) that det(DQ(-t, t)) = 0, and therefore, by (5.1), we must have
(-t)(t)
+
(t)
sin((-t, t)) l(-t, t)
-
(-t)
sin((-t, t l(-t, t)
))
=
0.
From the definition of and it is clear that (-t, t) = (-t, t) > 0 and (t) =
-(-t)
>
0,
so
the
above
equality
reduces
to
(t)
-
2 sin((-t, t)) l(-t, t)
= 0.
From the
symmetry of the curve R one has sin((-t, t)) = sin((0, t)) and l(-t, t) = 2l(0, t)
which
yields
(t
)
-
sin((0,t l(0,t)
))
=
0.
It
now follows
from (5.1) that
t2
(0,
t)
=
0.
Moreover,
the uniqueness of t (0, ) shows (running the above argument backwards) that t = t
is the unique increasing on
t (0, ) (0, t] and
where
t2
(0,
t)
decreasing on [t
= 0. This implies that the , ]. Consequently, (0, t) >
function (0, ) =
(0,
2
.
t)
is
Corollary 5.5.
There
exists
a
unique
t
(0, t)
such
that
(0, t)
=
2
.
Moreover, we have
(0, t) <
2
for
all
0<t<t
and
(0, t) >
2
for
all
t < t < .
Proof.
Since
limt0+ (0, t) = 0, (0, t) >
2
,
and
(0,
)
=
2
,
the
result
follows immedi-
ately from Corollary 5.4.
6. Unicity of Parameters
For
(, )
[-
2
,
2
]2
,
recall
that
c1(, )
is
the
unique
C
s-curve in Sopt(, ).
In
Theorem 3.1 (iii), it is shown that if (, ) = (0, 0), then there exist t1 < t2 < t1 + 2
such that c1(, ) is directly similar to R[t1,t2]. In this section, we are concerned with the
unicity of the parameters (t1, t2). The rectangular elastic curve R is periodic in the sense
that R(t + 2) = i2d + R(t), and it follows that R[t1,t2] is directly congruent to R[t1,t2] whenever (t1, t2) = (t1, t2)+k(2, 2) for some integer k; in particular Q(t1, t2) = Q(t1, t2). With the identification (t1, t2) (t1, t2), the half-plane Y := {(t1, t2) : t1 t2} becomes a half-cylinder, with boundary t1 = t2, and we adopt the view that Q is defined on the
interior of the cylinder Y .
In this section, we will prove the following.
Theorem
6.1.
For
all
(, )
[-
2
,
2
]2\{(0,
0)},
there
exists
a
unique
(t1, t2)
in
the
cylinder Y such that t1 < t2 < t1 + 2 and R[t1,t2] is an s-curve with chord angles (, ).
Theorem 6.2. Let t1 < t2 < t1 + 2 be such that R[t1,t2] is an s-curve with chord angles
(, )
[-
2
,
2
]2.
Then
R[t1 ,t2 ]
is
directly
similar
to
c1(, ).
We define the following subsets of the interior of Y :
U0 := {(t1, t2) : - t1 < t2 0} U2 := {(t1, t2) : 0 t1 < t2 }
V1 V3
:= :=
{(t1, t2) {(t1, t2)
: :
- t1 < 0 t1 <
0 < t2 } < t2 2}
.
UNICITY OF OPTIMAL S-CURVES AND G2 REGULARITY OF SPLINES
17
These sets are pairwise disjoint subsets of the cylinder Y , and for t1 < t2, it is easy to verify that R[t1,t2] is a right c-curve if and only if (t1, t2) U0, a non-degenerate rightleft s-curve if and only if (t1, t2) V1, a left c-curve if and only if (t1, t2) U2, and a non-degenerate left-right s-curve if and only if (t1, t2) V3.
The restriction t1 < t2 < t1 + 2 eliminates (-, ) from V1 and (0, 2) from V3, and we therefore have the following as a consequence of Theorem 3.1 (iii).
Proposition 6.3.
For
all
(,
)
[-
2
,
2
]2\{(0,
0)},
there
exists
(t1, t2) U0 V1 U2 V3\{(-, ), (0, 2)} such that c1(, ) is directly similar to R[t1,t2].
In particular, we have the following corollary.
Corollary
6.4.
For
all
(,
)
[-
2
,
2
]2
\{(0,
0)},
there
exists
(t1, t2) U0 V1 U2 V3\{(-, ), (0, 2)} such that Q(t1, t2) = (, ).
We intend to show that the pair (t1, t2) is unique, but before beginning the proof of this, we will harmlessly replace V1, V3 with smaller sets U1, U3, defined below.
With t as defined in Corollary 5.5, we define
U1 := {(t1, t2) : -t t1 < 0 < t2 t} U3 := {(t1, t2) : - t t1 < < t2 + t} .
Lemma 6.5. If (t1, t2) belongs to V1\U1 or V3\U3 and satisfies t2 - t1 < 2, then (, )
[-
2
,
2
]2.
Proof. We will only prove the lemma for V1\U1 since the proof for V3\U3 is similar. Let
(t1, t2) V1\U1 satisfy t2 - t1 < 2. We can assume, without loss of generality, that
t2 -t1, since the remaining case t2 < -t1 is similar.
We
will
show
that
>
2
.
If t2 = -t1, then we must have t < t2 < and, by symmetry, = (0, t2); hence
=
(0, t2)
>
2
by
Corollary
5.5.
So assume t2 > -t1, which implies t < t2 .
The chord [R(t1), R(t2)] must intersect the negative x-axis, since otherwise we would have
t2
-t1.
Therefore,
>
(0, t2)
>
2
.
As a consequence of the lemma, the set U0 V1 U2 V3 in Corollary 6.4 can be replaced with U := U0 U1 U2 U3:
Corollary
6.6.
For
all
(, )
[-
2
,
2
]2\{(0,
0)},
there
exists
(t1, t2)
U
such
that
Q(t1, t2) = (, ).
Fig. 10 (a) the sets U0, U1, U2, U3
(b) the set U and its boundary 0
18
ELASTIC SPLINES II
In Fig. 10(a), the sets U0, U1, U2, U3 are depicted on the fundamental domain - t1 < of the cylinder Y , and their union U is depicted in Fig. 10(b). The set U is bounded
below by the line 0 := {(t1, t2) : t1 = t2} (which is not contained in U ) and above by the staircase path := [T1, T2, . . . , T9] (which is contained in U ). Here, T1 = (-, t - ), T2 = (-, 0), T3 = (-t, 0), T4 = (-t, t), and Ti = Ti-4 + (, ) for i = 5, 6, 7, 8, 9. Note that on the cylinder Y , the vertical half line starting from 0 and passing through T9 is identified with the same, but passing through T1; in particular T9 is identified with T1.
At present, Q is defined and is C on the interior of the cylinder Y . On the boundary
of Y (the line 0), we define Q to be (0, 0); in other words, we define (t, t) := 0 and (t, t) := 0 for all t R.
Lemma 6.7. Q is continuous on the cylinder Y .
Proof. We will show that |(t1, t2)|+|(t1, t2)| 2(t2-t1) whenever t1 < t2. It is generally
true that the absolute sum of the chord angles is bounded by the absolute turning angle
of the curve.
In the present context, this means that || + ||
t2 t1
|(t)|
|R(t)|
dt.
Since |(t)| = |2 sin t| 2 and |R(t)| = 1/ 1 + sin2 t 1, the desired inequality is
immediate.
Fig. 11 (a) the image := Q()
(b) the parameters -t < t1 < t0 < 0
Fig.
11
(a)
depicts
the
image
:=
Q()
where
Qi
:=
Q(Ti)
are
given
by
Q1
=
(,
-
2
),
Q2
=
(
2
,
-
2
),
Q3
=
(
2
,
-),
Q4
=
(
2
,
2
),
and
Qi
=
-Qi-4
for
i
=
5, 6, 7, 8, 9;
here
:= |(0, t)|. The staircase path consists of eight segments [Ti, Ti+1], i = 1, 2, . . . , 8, and
it is apparent in Fig. 11(a) that their images {Q([Ti, Ti+1])} belong to eight non-overlapping
unbounded
rectangles
{ri}.
Specifically,
r1
:=
[,
2
]
(-,
-
2
],
r2
:=
[
2
,
)
[-
2
,
-],
r3
:=
[
2
,
)
[-,
2
],
r4
:=
[-,
2
]
[
2
,
),
and
ri
:=
-ri-4
for
i
=
5, 6, 7, 8.
Lemma. For i = 1, 2, . . . , 8, Q is injective on [Ti, Ti+1] and maps the interior of [Ti, Ti+1] into the interior of ri.
Proof.
Let us first consider the case i = 4, where r4
=
[-,
2
][
2
,
).
Along the segment
[T4, T5] (see Fig. 10(b)), t1 ranges from -t to 0, while t2 = t is fixed. At the endpoints, we
have (-t, t) it is clear (see
=
(-t, t) =
2
and
(0, t)
Fig. 11(b)) that (t1, t) >
= -, (0, t) =
(20,atn)d=(2t.1
Since , t) <
(t) (t1,
< 0 for t (-, 0),
0)
=
(0, -t1)
<
2
for t1 (-t, 0).
UNICITY OF OPTIMAL S-CURVES AND G2 REGULARITY OF SPLINES
19
Recall
from
(5.1)
that
t1
=
|R(t1)|
sin
+ (t1)
.
Note
that
if
t1
(-t, 0) and
(t1, t)
0, then
t1
< 0.
From this, one easily deduces that there exists t0 (-t, 0) such that
(t1, t) > 0 for t1 (-t, t0) and (t1, t) < 0 for t1 (t0, 0]. Furthermore, (t1, t) is
decreasing
for
t1
[t0, 0],
and
therefore
we
have
(t1, t)
(-,
2
)
for
t1
(-t, 0).
This
completes the proof that Q maps the interior of [T4, T5] into the interior of r4. We will now
show
that
Q
is
injective
on
[T4, T5].
Recall
from
(5.1)
that
t1
=
|R(t1)|
sin
and hence
(t1, t) is increasing when is positive (i.e., for t1 [-t, t0)) and (t1, t) is decreasing
when is negative (i.e., for t1 (t0, 0]). Consequently, Q is injective on [T4, T5]. This
proves the lemma in the case i = 4 and the cases i = 3, 7, 8 follow by symmetry.
We
next
consider
the
case
i
=
5,
where
r5
=
[-
2
,
-]
[
2
,
).
Along
the
segment
[T5, T6]
(see Fig. 10(b)), t1 = 0 is fixed while t2 ranges from t to . It is shown in Corollary 5.5
that (0, t2) >
2
for all t2 (t, ).
Recall from (5.1) that
t2
=
-|R
(t2)|
sin
.
Since
(0, t2)
>
0,
it
follows
that
t2
<
0
for
all
t2
[t, ]
and
hence
(0, t2)
is
decreasing
for
t2 [t, ]. Consequently, Q is injective on [T5, T6], and since (0, t) = - and (0, ) =
-
2
,
it
also
follows
that
Q
maps
the
interior
of
[T5, T6]
into
the
interior
of
r5.
This
proves
the lemma for the case i = 5 and the cases 1, 2, 6 follow by symmetry.
Proposition 6.8. The following hold.
(i) Q is continuous on U 0. (ii) In the interior of U , Q is C and its Jacobian is nonzero.
(iii) Q(0) = {(0, 0)} and Q(t1, t2) = (0, 0) for all (t1, t2) U (iv) Q is injective on .
Proof. Item (i) is a consequence of Lemma 6.7, and (ii) is proved in Theorem 5.3. The
first assertion in (iii), Q(0) = {(0, 0)}, holds by definition. It is easy to verify that if f is an s-curve with chord angles (, ) = (0, 0), then f is a line segment. But R[t1,t2] is never a line segment because the signed curvature of R only vanishes at times k, k Z. Since
R[t1,t2] is an s-curve for all (t1, t2) U , we obtain the second assertion in (iii). Since the rectangles r1, r2, . . . , r8 are non-overlapping, we obtain (iv) as a consequence of the above lemma.
On the basis of Proposition 6.8, we have the following, which is proved in the Appendix.
Theorem 6.9. Q is injective on U .
Remark. The proof of Theorem 6.9 can be extended to show that Q is injective on the larger set U obtained with U1 and U3 defined with t in place of t.
We can now easily prove Theorems 6.1 and 6.2.
Proof of Theorem 6.1.
Let
(, )
[-
2
,
2
]2\{(0,
0)}.
It follows from Corollary 6.6 and
Theorem 6.9 that there exists a unique (t1, t2) U such that Q(t1, t2) = (, ); this
establishes existence. Now, if (t1, t2) Y is such that t1 < t2 < t1 + 2 and R[t1,t2] is an s-curve with chord angles (, ), then it follows from Lemma 6.5 and the observations
made above Proposition 6.3 that (t1, t2) U , whence follows uniqueness.
Proof of Theorem 6.2. Assume t1 < t2 < t1 + 2 and that R[t1,t2] is an s-curve. From the observations above Proposition 6.3, it follows that (t1, t2), as a point on the cylinder Y , belongs to U0 V1 U2 V3\{(-, ), (0, 2)}. Assume that the chord angles (, )
20
ELASTIC SPLINES II
of R[t1,t2]
belong
to
[-
2
,
2
].
As
mentioned
in
the
proof
of
Proposition 6.8
(iii), we must
have (, ) = (0, 0) and therefore, by Proposition 6.3, there exists (t1, t2) U0 V1
U2 V3\{(-, ), (0, 2)} such that c1(, ) is directly similar to R[t1,t2]. Since Q(t1, t2) = (, ) = Q(t1, t2), it follows from Theorem 6.1 that (t1, t2) = (t1, t2) (in the cylinder Y )
and therefore R[t1,t2] is directly congruent to R[t1,t2]; hence R[t1,t2] is directly similar to
c1(, ).
7. Proof of Condition (4.1)
In this section we prove that condition (4.1) holds with = 2:
Theorem 7.1.
For
all
(0, 0)
[-
2
,
2
]2\{(-
2
,
2
),
(
2
,
-
2
)},
(7.1)
[-a(c1(0, 0)), b(c1(0, 0))] = 2E1(0, 0).
Proof.
Fix
(0,
0)
[-
2
,
2
]2
\{(-
2
,
2
),
(
2
,
-
2
)}.
We first address the easy case (0, 0) =
(0, 0), where c1(0, 0) is a line segment. In the proof of [3, Prop. 7.6], it is shown that there
exists a constant C such that E1(, ) = E(, ) C(tan2 + tan tan + tan2 ) for
all (, ) [-/3, /3]2. From this it easily follows that E1(0, 0) = [0, 0], and since the
line segment c1(0, 0) has 0 curvature, we obtain (7.1) for the case (0, 0) = (0, 0).
We
proceed
assuming
(0, 0)
[-
2
,
2
]2\{(-
2
,
2
),
(
2
,
-
2
),
(0,
0)}.
It
follows
from
Corol-
lary 6.6 that there exists (1, 2) U such that Q(1, 2) = (0, 0). The restriction
(0,
0)
{(-
2
,
2
),
(
2
,
-
2
)}
ensures
that
(1,
2)
{(0,
),
(-,
0)},
and
consequently,
it
follows from Theorem 5.3 that DQ(1, 2) is nonsingular. Since Q is C on the interior
of the cylinder Y (defined in Section 6), it follows that there exists an open neighborhood
N of (1, 2) such that Q is injective on N , DQ is nonsingular on N , Q(N ) is an open neighborhood of (0, 0), and Q-1 is C on Q(N ). We define E : Q(N ) [0, ) as
follows. For (, ) Q(N ),
E(, ) := l R[t1,t2] 2, where (t1, t2) := Q-1(, ) and l := |R(t1) - R(t2)| .
Claim.
If
(, )
Q(N )
[-
2
,
2
]2,
then
E(, )
=
E1(, )
and
c1(, )
is
directly
congruent
to
1 l
R[t1
,t2
]
.
proof.
Assume
(,
)
Q(N
)[-
2
,
2
]2.
Since Q(t1, t2) = (, ), it follows from Theorems
6.1 and 6.2 that c1(, ) is directly similar to R[t1,t2]. Consequently, c1(, ) is directly
congruent
to
1 l
R[t1
,t2
]
and
E1(, )
:=
c1(, ) 2 = E(, ), as claimed.
We recall, from Section 2, that the curvature of R is given by (t) = 2 sin t, and hence
a(c1(, )) = 2l sin t1 and b(c1(0, 0)) = 2l sin t2. So with the claim in view, in order to establish (7.1) it suffices to show that
(7.2)
[-l sin t1, l sin t2] = E(, ), for all (, ) Q(N ).
UNICITY OF OPTIMAL S-CURVES AND G2 REGULARITY OF SPLINES
21
The bending energy of R[t1,t2] (see Section 2) is given by R[t1,t2]) 2 = (t2) - (t1) =: , and hence E(, ) = l. Defining E : N [0, ) by E(t1, t2) := l, we have E = E Q, and therefore, since DQ is nonsingular on N , (7.2) is equivalent to
[-l sin t1, l sin t2]DQ = E(t1, t2), for all (t1, t2) N.
This can be written explicitly as
(7.3)
-l
sin
t1
t1
+
l
sin
t2
t1
=
t1
(l
)
-l
sin
t1
t2
+
l
sin
t2
t2
=
t2
(l
)
Using (5.1) and the formulae above (5.3) the first equality is proved as follows.
-l
sin
t1
t1
+
l
sin
t2
t1
=
|R(t1)| sin x - l sin t1|R(t1)|(t1)
=
(-
cos
t1
+
(t1)x)
x l
-
2l(t1)
=
(-
cos
t1
+
(t1)x)
x l
-
x2
+ l
2
(t1)
-
l(t1)
=
- - cos t1x - l
(t1)
-
l(t1)
=
t1
(l).
We omit the proof of the second equality since it is very similar.
Corollary
7.2.
E1
is C
on
[-
2
,
2
]2\{(-
2
,
2
),
(
2
,
-
2
),
(0,
0)}
Proof.
Fix
(0, 0)
[-
2
,
2
]2\{(-
2
,
2
),
(
2
,
-
2
),
(0,
0)}
and
let
N
and
E
be
as
in
the
proof above. Then E is C on Q(N ), an open neighborhood of (0, 0). The desired
conclusion is now a consequence of the Claim in the above proof.
8. Proof of Condition (4.3)
In this section,
,
with
| |
2
we prove condition - , such that
(4.3);
namely
that
for
every
[-
2
,
2
]
there
exists
(8.1)
sign
E1(,
)
= sign( - ) for
all
satisfying
||
2
and
| - | < .
With Theorem 6.9 in view, we treat the mapping Q as a bijection between U and Q(U ),
which
(by
Corollary
6.6)
contains
[-
2
,
2
]2\{(0,
0)}.
Let
[-
2
,
2
]
be
fixed.
For the
sake of clarity our proof is broken into three -dependent cases.
Case
1:
0
<
2
.
22
ELASTIC SPLINES II
Set
B
=
[-
2
,
2
]\{
-
}.
It
follows
from
Corollary
7.2
that
the
function
E1(, )
is C on B, and, from Theorem 7.1, we have that
E1
(,
)
=
1 2
b(c1
(,
)).
Note
that if (t1, t2) = Q-1(, ), then R[t1,t2] is directly similar to c1(, ), and consequently
sign
E1(,
)
= sign(sin t2) since the signed curvature of R(t) is (t) = 2 sin t.
Fig. 12 the parameter -t
Fig. 13 the parameter -t2
By Theorem 5.3 and symmetry, there exists a unique -t [-t, 0) such that (-t, 0) = .
Set := (-t, 0) < 0 and note that R[-t,0] (see Fig. 12) has chord angles (, ) while
sign
E1
(,
)
= sign(sin 0) = 0. Furthermore, we have | | = |(0, t)| (0, t) =
2
-
,
and
it
is
shown
in
[3,
Lemma
6.3]
that
| |
=
|(0, t)|
<
(0, t)
=
.
Claim:
If
B
is
such
that
E1
(,
)
=
0,
then
= .
proof.
Assume B
is such
that
E1
(,
)
=
0.
Set (t1, t2) = Q-1(, ).
Then t2
equals
either 0 or (since sin t2 = 0 and (t1, t2) U ). If t2 = 0, then (t1, t2) U0 and it follows
from Theorem 5.3 and symmetry that t1 = -t and hence = . On the other hand,
if t2 = then (t1, t2) U0 and it follows that = (t1, t2) < 0 which is a contradiction;
hence the claim.
Note that R[-t,t] has chord angles (, ) and hence sign
E1
(,
)
= sign(sin t) >
0. Since > 0 > , it follows from continuity that sign
E1
(,
)
> 0 for B with
> .
Now, in order to complete the proof (of Case I), it suffices to show that there exists B
such that sign
E1
(,
)
<
0.
Since
(-t, 0)
=
(0, t)
>
2
,
it
follows
that
there
exists -t2 (-t, 0) such that (-t, -t2) = . Set := (-t, -t2) < 0 (see Fig. 13).
It
is
easy
to
verify
that
||
<
2
and
therefore
B.
Note that sign
E1
(,
)
=
sign(sin(-t2) < 0. This completes the proof for Case I.
Case
II:
-
2
<
0
This case
follows
from
Case I and
the symmetry
E1(, )
=
E1(-, -).
Case III: = 0.
Set
0
:=
0.
It
is
shown
in
Theorem
7.1
that
E1
(0,
0)
=
0.
Claim:
If
[-
2
,
2
]
is
such
that
E1
(0,
)
=
0,
then
=
0.
proof.
By way of contradiction,
assume
[-
2
,
2
]\{0}
is
such
that
E1
(0,
)
=
0.
Set
(t1, t2) = Q-1(0, ). Then t2 equals either 0 or . If t2 = 0, then t1 [-, 0) and it follows
UNICITY OF OPTIMAL S-CURVES AND G2 REGULARITY OF SPLINES
23
that > 0, which is a contradiction. On the other hand, if t2 = , then t1 [0, ) and it follows that < 0, which again is a contradiction; hence the claim.
The
symmetry
E1(0, )
=
E1(0, -)
ensures
that
E1
(0,
-
)
=
-
E1
(0,
)
and
there-
fore
it
suffices
to
show
that
E1
(0,
)
>
0
for
all
(0,
2
].
Define g() := E1(0, ),
[0,
2
]
so
that
g()
=
E1
(0,
).
Then g
is
continuous
on
[0,
2
]
and
is
C
on
(0,
2
].
oIstingfno(0l(lg,o2w)]s,=ftrh1oemonnwt(he0e,wc2ol]auialmdndhthatahvteissEcigo1n(m0(p,gl2e))tie<ss ntEohn1e(z0pe,rr0oo)oaf=nodf0,ctohwnehsfiitcanhnatliscoaansce(o0. n, t2r]a.dIifctsiiognn;(tgh)er=efo-r1e
9. Appendix
The goal of this section is to prove Theorem 6.9. The proof that Q is injective on U uses ideas from the proof of the Hadamard-Caccioppoli theorem, which states [1, Th. 1.8, page 47]
Theorem (Hadamard-Caccioppoli). Let M, N be metric spaces and F C(M, N ) be proper and locally invertible on all of M . Suppose that M is arcwise connected and N is simply connected. Then F is a homeomorphism from M to N .
Unfortunately, not all the conditions of the Hadamard-Caccioppoli theorem are satisfied, for Q is not locally invertible on 0. To remedy this we are going to use results needed in the proof the Hadamard-Caccioppoli theorem [1, Th. 1.6, page 47].
Let M, N be metric spaces. For a map F C(M, N ) denote by = {u M : F is not locally invertible at u} the singular set of F and for v N denote by [v] the cardinal number of the set F -1(v).
Theorem 9.1. [1, Th. 1.6, page 47] Let F C(M, N ) be proper. Then [v] is constant on every connected component of N - F ().
In our case M = U 0, F = Q and N = Q(M ). The properties of Q are summarized in Proposition 6.8.
Let us recall from Section 6 that M is topologically an annulus, the boundary M consists of two curves 0 and the staircase curve depicted in Fig. 10 (b). Since M is compact Q will be proper (Q-1(K) is compact if K is compact). Q(0) = {(0, 0)} and Q() = (depicted in Fig. 10 (a)) is a simple closed curve ((iv) of Proposition 6.8) and Q is injective on .
First we will show that Q maps M onto the union of the interior of and and it maps the interior of M onto the interior of minus the point (0, 0).
Since is a Jordan curve it has an interior. Let us denote by N0 = { interior of } .
Proposition 9.2. N = N0 and Q(M - {, 0}) = N - {(0, 0)} .
Proof. Claim 1. If x intM , then Q(x) N0 (where intM = M - {, 0}). Suppose it is not true and there is a point x intM such that Q(x) / N0.
By Proposition 6.8 the Jacobian of Q is not zero at the points of intM therefore it is an open mapping, that is Q(intM ) is an open set. The indirect assumption means that
24
ELASTIC SPLINES II
Q(intM ) has a point outside N0 and since it is a bounded set (obvious from the definition of Q) it must have a boundary point y outside N0. Let xn intM be a sequence such that lim Q(xn) = y. Passing on to a subsequence if necessary we can assume that xn is convergent with lim xn = x. Clearly x / {, 0} since Q(0) = (0, 0) and Q() = . Since the Jacobian of Q at x is not zero therefore it maps an open neighborhood of x onto an open neighborhood of Q(x) = y, which is a contradiction.
Claim 2. If x intM , then Q(x) N0 - {, (0, 0)}. Item (iii) of Proposition 6.8 states that Q(x) = (0, 0). Since Q is a local diffeomorphism at x ((ii) Proposition 6.8) if Q(x) that would imply that there is a point y intM near x such that Q(y) / N0. That would be in contradiction with Claim 1.
Claim 3. The map Q : M N0 is onto. Since Q(0) = (0, 0), Q() = and Q(M ) compact if Q(M ) = N0 there has to be a boundary point u of Q(M ) such that u Q(M ) - ( {(0, 0)}). To find u one has to connect a point inside the image different from (0, 0) to a point of N0 which is outside Q(M ) with a curve avoiding both the point (0, 0) and the curve . On this curve one can find u.
Let x intM be a point such that Q(x) = u. Since Q is a local diffeomorphism at x, u = Q(x) cannot be a boundary point of the image. This leads to a contradiction and the claim is proved.
Therefore we have N = N0 and the Proposition is proved.
Proposition 9.3. For any v , Q-1(v) consists of one single point.
Proof. Since Q() = it is clear that Q-1(v) is not empty. From the Previous Proposition it follows that if x, y Q-1(v), then both x, y . Since Q is injective on ((iv) Theorem 7.8) it implies that x = y
To show that the singular set of Q (the set of points where Q is not locally invertible) is 0 only, we need the following:
Proposition 9.4. Q is locally invertible at every point of .
The proof will rely on the fact [6, Lemma 3, page 239] that proper local homeomorphisms are covering maps, therefore they have the unique path-lifting property. The precise statement is as follows.
Proposition 9.5. [6, Lemma 3] Let X, Y be two Hausdorff spaces and let Y be pathwise connected. Any surjective, proper local homeomorphism f : X Y must be a covering projection.
Proof of Proposition 9.4. Let x be any point and set y = Q(x) . Choose < dist(, (0, 0)) small enough such that N B(y, ) is connected therefore simply connected. Here B(y, ) denotes the closed ball of radius centered around y. Since the boundary of N is a piecewise differentiable curve one can find such .
Let > 0 be chosen such that Q(M B(x, ) B(y, ). Such exists because Q is continuous at x. It is enough to show that Q is one-to-one on M B(x, ) since a continuous, one-to-one map between compact subsets of R2 has a continuous inverse.
Suppose it is not true. Then there are points x1 = x2 M B(x, ) such that Q(x1) = Q(x2). From the previous propositions (Proposition 9.3 and Proposition 9.2) it follows that x1, x2 / . Let h : [0, 1] intM B(x, ) be a curve connecting x1 to x2 and set g = Q(h).
UNICITY OF OPTIMAL S-CURVES AND G2 REGULARITY OF SPLINES
25
Then g is a closed curve in intN B(y, ) which is simply connected. Note that intN B(y, ) does not contain (0, 0). Therefore, there is a homotopy H : [0, 1] [0, 1] N B(y, ) such that H(0, t) = g(t) and H(s, 0) = H(s, 1) = H(1, t) = Q(x1) for all s, t [0, 1].
The map Q : intM intN - {(0, 0)} is proper (Proposition 9.2) and since the Jacobian of Q is not zero, it is a local homeomorphism, hence by Proposition 9.5 it is a covering map. This means that we can lift H (the image of H avoids the point (0, 0)) to a homotopy H : [0, 1] [0, 1] intM with the property that Q(H (s, t)) = H(s, t). This implies that H (s, 0) = x1 and H (s, 1) = x2 for all s [0, 1], therefore we have curve t H (1, t) in intM connecting x1 to x2 such that the image of this curve by Q is one point Q(x1). This contradicts the fact that Q is a local homeomorphism on intM .
Proof of Theorem 6.9. We have already proved that Q is proper. Since Q is locally invertible at the points of intM (the Jacobian of Q is not zero) and at the points of (Proposition 9.4) we see that the singular set of Q is 0 only and since Q(0) = {(0, 0)} from Theorem 9.1 we obtain that for all v N - {(0, 0)} [v] is constant. Since Q is injective on and if u M - {, 0} then Q(u) / we obtain that [v] = 1 for all v , therefore [v] = 1 for all v N - {(0, 0)}. This means that Q is injective on U and the proof of Theorem 6.9 is complete.
References
1. A. Ambrosetti & G. Prodi, A Primer of Nonlinear Analysis (1993), Cambridge University Press. 2. G. Birkhoff & C.R. de Boor, Piecewise polynomial interpolation and approximation, Approximation
of Functions, Proc. General Motors Symposium of 1964, H.L. Garabedian ed., Elsevier, New York and Amsterdam, 1965, pp. 164-190. 3. A. Borbely & M.J. Johnson, Elastic Splines I: Existence, Constr. Approx. 40 (2014), 189218. 4. G.H. Brunnett, Properties of minimal-energy splines, Curve and surface design, SIAM, Philadelphia PA, 1992, pp. 3-22. 5. S.D. Fisher & J.W. Jerome, Stable and unstable elastica equilibrium and the problem of minimum curvature, J. Math. Anal. Appl. 53 (1976), 367376. 6. Chung-Wu Ho, A note on proper maps, Proc. Amer. Math. Soc.. 51 (1975), 237-241. 7. J.W. Jerome, Minimization problems and linear and nonlinear spline functions I: Existence, SIAM J. Numer. Anal. 10 (1973), 808819. 8. J.W. Jerome, Interpolating Curves of Prescribed Length and Minimum Curvature, Proc. Amer. Math. Soc. 51 (1975), 6266. 9. M.J. Johnson, H.S. Johnson, A constructive framework for minimal energy planar curves, Appl. Math. Comp. 276 (2016), 172181. 10. E.H. Lee & G.E. Forsyth, Variational study of nonlinear spline curves, SIAM Rev. 15 (1975), 120133. 11. A. Linner & J.W. Jerome, A unique graph of minimal elastic energy, Trans. Amer. Math. Soc. 359 (2007), 20212041.
Department of Mathematics, Faculty of Science, Kuwait University, P.O. Box 5969, Safat 13060, Kuwait
E-mail address: borbely.albert@gmail.com, yohnson1963@hotmail.com
|