Double values not adding properly
Is floating point math broken?
Let $A$ be a UFD. Assume that $a,b \in A$ are relatively prime, $c \in A$ and $a | bc$. To prove that $a|c$, is the following approach correct (or do you have to use some type of prime factorization argument)?  By the relatively prime assumption, $\gcd(a,b)$ is a unit. Call that unit $u \in A^{\times}$. Then we can write $u = ax + by$ for some $x,y \in A$. But then, $c = c \cdot u = c(ax+by)=cax+cby$. However, it is clear that $a|cax$ and the fact that $a|bc$ implies $a|cby$. Thus, $a|cax+cby=c$. Disable two column mode for separate part I am writing a document using the report class in two column mode, but I need a \section to spread across both columns, but how can I set that?  Something like  \documentclass[10pt,danish,a4paper,twoside,twocolumn]{report} \input{preamble.tex} \begin{document}  % This section should spread over both columns \section{Name}  \lipsum[1-3] \end{document} Dimensionality of null space when Trace is Zero This is the fourth part of a four-part problem in Charles W. Curtis's book entitled Linear Algebra, An Introductory Approach (p. 216).  I've succeeded in proving the first three parts, but the most interesting part of the problem eludes me.  Part (a) requires the reader to prove that $\operatorname{Tr}{(AB)} = \operatorname{Tr}{(BA)}$, which I was able to show by writing out each side of the equation using sigma notation.  Part (b) asks the reader to use part (a) to show that similar matrices have the same trace.  If $A$ and $B$ are similar, then  $\operatorname{Tr}{(A)} = \operatorname{Tr}{(S^{-1}BS)}$  $= \operatorname{Tr}(BSS^{-1})$  $= \operatorname{Tr}(B)$,  which completes part (b).  Part (c) asks the reader to show that the vector subspace of matrices with trace equal to zero have dimension $n^2 - 1$.  Curtis provides the hint that the map from $M_n(F)$ to $F$ is a linear transformation.  From this, I used the theorem that $\dim T(V) + \dim n(T) = \dim V$ to obtain the dimension of the null space.  Part (d), however, I'm stuck on.  It asks the reader to show that subspace described in part (c) is generated by matrices of the form $AB - BA$, where $A$ and $B$ are arbitrary $n \times n$ matrices.  I tried to form a basis for the subspace, but wasn't really sure what it would look like since an $n \times n$ matrix has $n^2$ entries in it, but the basis would need $n^2 - 1$ matrixes.  I also tried to think of a linear transformation whose image would have the form of $AB - BA$, but this also didn't help me.  I'm kind of stuck...  Many thanks in advance! I suspected that installing xfce4 cause some issues in Ubuntu so I removed them using apt-get remove xfce4 xfce4-goodeis.  But when I ran 'dpkg -l' I still can see some libraries and packages for xfce4:  $ dpkg -l | grep -i xfce rc  libexo-1-0:amd64                              0.10.2-2                                 amd64        Library with extensions for Xfce rc  libgarcon-1-0                                 0.2.1-1                                  amd64        freedesktop.org compliant menu implementation for Xfce rc  libxfce4ui-1-0                                4.11.0-0ubuntu1~ppa0.13.10.1             amd64        widget library for Xfce - Gtk+2 variant rc  libxfce4ui-common                             4.11.0-0ubuntu1~ppa0.13.10.1             all          common files for libxfce4ui rc  libxfce4util6                                 4.10.1-1                                 amd64        Utility functions library for Xfce4 rc  libxfcegui4-4                                 4.10.0-2                                 amd64        Basic GUI C functions for Xfce4 rc  libxfconf-0-2                                 4.10.0-2                                 amd64        Client library for Xfce4 configure interface rc  mousepad                                      0.3.0-2                                  amd64        simple Xfce oriented text editor rc  thunar                                        1.6.3-1ubuntu1                           amd64        File Manager for Xfce rc  xfce4-appfinder                               4.10.1-1                                 amd64        Application finder for the Xfce4 Desktop Environment rc  xfce4-clipman                                 2:1.2.3-2ubuntu1                         amd64        clipboard history utility rc  xfce4-mixer                                   1:4.10.0-1ubuntu2                        amd64        Xfce mixer application rc  xfce4-notes                                   1.7.7-3ubuntu2                           amd64        Notes application for the Xfce4 desktop rc  xfce4-panel                                   4.10.1-1ubuntu1                          amd64        panel for Xfce4 desktop environment rc  xfce4-power-manager                           1.2.0-2ubuntu1                           amd64        power manager for Xfce desktop rc  xfce4-session                                 4.10.1-1ubuntu1                          amd64        Xfce4 Session Manager rc  xfce4-settings                                4.11.1-0ubuntu1~ppa0.13.10.1             amd64        graphical application for managing Xfce settings rc  xfce4-terminal                                0.6.2-3ubuntu1.1                         amd64        Xfce terminal emulator rc  xfce4-volumed                                 0.2.0-0ubuntu1                           amd64        volume keys daemon rc  xfdesktop4                                    4.11.2-0ubuntu1~ppa0.13.10.1             amd64        xfce desktop background, icons and root menu manager rc  xfwm4                                         4.11.1-0ubuntu1~ppa0.13.10.1             amd64        window manager of the Xfce project   I copy-pasted all these packages\libraries to form an apt-get remove command to remove all of these dependencies, and the command ran normally, but running dpkg -l | grep -i xfce showed these dependencies again !  Why are these dependencies still installed ? Limit as $x\to 2$ of $\frac{\cos(\frac \pi x)}{x-2} $ Why did Tony Stark leave his armor to explore the castle in Sokovia? In Avengers: Age Of Ultron, Tony Stark is the first member of the Avengers to get inside Baron von Strucker's castle, where he takes down a room full of soldiers before stepping out of his suit and travelling down a secret passage.  Why does he take off his suit in the middle of an enemy base when it might have protected him against Scarlet Witch's magic, or at the very least helped him better search the passageway with Jarvis' HUD? Unable to mount NTFS external hard drive I'm a bit confused in describing 1.5hrs in words.   Is writing one and a half an hour correct or should it be one and half hour?  E.g:     I'll see you there in one and a half an hour.     OR       I'll see you there in one and half hour.   Or is there any other correct way of writing this? How to programmatically remove a field from a node? What regular expression will match valid international phone numbers? How to add a browser tab icon (favicon) for a website? I would like to put an address in my document as follows:  |                             | |                     Name    | |                     Street #| |                     City    | |                     ZIP     | |                             |   where the | mark the left and right page borders. I would like the items of the address (Name, Street etc.) to be left-flushed, but the box right-flushed so that the longest item touches the right page border.  Is there a simple way to accomplish this? "Lunch" vs. "dinner" vs. "supper" — times and meanings? I've seen cases where a noon-time meal is referred to as dinner, and the evening meal is called supper. There's also lunch around noon followed by dinner in the evening. Is there a particular difference between dinner and supper, or a circumstance where lunch becomes dinner? Why do you cast downvotes on answers? Is it possible to connect two monitors on a laptop, one through HDMI and the other through DisplayPort? For example the Alienware m17x offers 3 connections, HDMI, DisplayPort, and VGA. Is it possible to connect two independent external monitors, one through the DisplayPort and one through the HDMI port? I have a very large folder that I am trying to create a tar archive of. The issue is I don't have enough extra free space to store the entire archive so I want to create say 100-200GB chunks of the archive at a time and transfer those individually to cloud storage. I need to be able to control when new chunks are created so my HDD doesn't fill up but all of the commands i've found to create split tarballs always create it all at once, in the same directory. The closest solution I found was from  but all the responses base the archives on number of files, not size which is important for my use case as my file sizes are unevenly distributed. Behaviour of increment and decrement operators in Python I am trying to install a Ralink wifi adapter in Ubuntu Desktop 14.04.  The system is not detecting the wifi.   lsusb lists the device as:  Bus 002 Device 004: ID 148f:7601 Ralink Technology, Corp.  I have the rt2800 USB driver listed in "/etc/modules"; Following some instructions on the web, I tried this command:  echo 148F 7601 | sudo tee /sys/bus/usb/drivers/rt2800usb/new_i  lsmod | grep rt2800 returns the following:  rt2800usb              26581  0  rt2x00usb              20041  1 rt2800usb rt2800lib              83150  1 rt2800usb rt2x00lib              48886  3 rt2x00usb,rt2800lib,rt2800usb mac80211              545990  3 rt2x00lib,rt2x00usb,rt2800lib crc_ccitt              12627  1 rt2800lib What does "no long range" mean on the soulknife rogue subclass mean? How do I add reCaptcha to a custom form? I need to add a reCaptcha to my form; creating the form then adding the form ID to the reCaptcha settings did nothing.